苏荣斌 3 rokov pred
rodič
commit
2e99404b25

+ 2 - 0
pages/repairs/detail.js

@@ -26,6 +26,8 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
+    
+    console.log(options)
     this.setData({
       repairsId: options.repairsId
     })

+ 1 - 1
pages/repairs/detail.wxml

@@ -46,7 +46,7 @@
         disabled="true" value="{{values.deviceSn}}" /> -->
         <input placeholder-class="phcolor" class="tui-input" placeholder="请输入设备号" name="deviceSn" type="text"
         value="{{values.deviceSn}}" data-name="values.deviceSn" catchinput="inputedit" bindblur="inputedit"/>
-    </view>
+    </view> 
   </tui-list-cell>
   <tui-list-cell hover="{{false}}">
     <view class="tui-line-cell">

+ 2 - 2
pages/store/index.wxml

@@ -14,9 +14,9 @@
       <block wx:for="{{storeList}}">
       <view>
         <view class="margin-sm padding-sm radius shadow-warp store-list-row" bindtap="toDetail" data-id="{{item.id}}">
-          <view style="width:100%;">
+          <view style="width:100%;"> 
             <view class="padding-bottom-sm store-name">{{item.storeName}}</view>
-            <view class="store-mobile">{{item.storeTel}}</view>
+            <view class="store-mobile">{{item.storePrincipalPhone}}</view>
           </view>
           <view class="store-img">
             <image src="../../static/images/my/ico_hotel@3x.png"></image>

+ 10 - 4
project.config.json

@@ -21,19 +21,25 @@
     "checkSiteMap": true,
     "uploadWithSourceMap": true,
     "compileHotReLoad": false,
-    "useMultiFrameRuntime": false,
+    "lazyloadPlaceholderEnable": false,
+    "useMultiFrameRuntime": true,
     "useApiHook": true,
+    "useApiHostProcess": true,
     "babelSetting": {
       "ignore": [],
       "disablePlugins": [],
       "outputPath": ""
     },
     "useIsolateContext": true,
-    "useCompilerModule": true,
-    "userConfirmedUseCompilerModuleSwitch": false,
+    "userConfirmedBundleSwitch": false,
     "packNpmManually": false,
     "packNpmRelationList": [],
-    "useApiHostProcess": true
+    "minifyWXSS": true,
+    "disableUseStrict": false,
+    "showES6CompileOption": false,
+    "useCompilerPlugins": false,
+    "ignoreUploadUnusedFiles": true,
+    "minifyWXML": true
   },
   "compileType": "miniprogram",
   "libVersion": "2.14.4",

+ 2 - 2
utils/util.js

@@ -30,8 +30,8 @@ const utils = {
   
   interfaceUrl: function () {
     //接口地址
-    return "http://automatapi.mengguohotel.com/";
-    // return "http://127.0.0.1:8111/";
+    // return "http://automatapi.mengguohotel.com/";
+     return "http://127.0.0.1:8111/";
   },
   toast: function (text, duration, success) {
     wx.showToast({