Browse Source

修改bug

zhanghongrui 2 years ago
parent
commit
8d663eefaf

+ 1 - 1
base/httputil.js

@@ -1,5 +1,5 @@
 // let BASE_Server = "http://127.0.0.1:8329"
-  //  let BASE_Server = "https://192.168.1.100:18080"
+    //let BASE_Server = "https://192.168.1.100:18080"
 let BASE_Server = "https://sookajs.top:18080"
 
 

+ 1 - 0
pages/xunjianmore/xunjianmore.js

@@ -33,6 +33,7 @@ Page({
     }
   }, 
   getXunjianMoreListSuccess(res){
+    console.log("@@@",res)
     this.setData({
       pictureBasePath: res.data.pictureBasePath + "/",
       mapdata: res.data.xunjianimgMap,

+ 3 - 2
pages/xunjianmore/xunjianmore.wxml

@@ -12,8 +12,9 @@
         <view class="txt_wz">
           <text class="">{{index+1}}、{{item.busItemName}}</text>
           <view class="span_vi">
-            <span class="yellow" wx:if="{{item.itemsTypeValue}}">{{item.itemsTypeValue}}</span>
-            <span class="yellow">{{item.riskStatusValue}}</span>
+            <span class="green" wx:if="{{item.itemsTypeValue==null}}">合格</span>
+            <span class="yellow" wx:else="{{item.itemsTypeValue}}">{{item.itemsTypeValue}}</span>
+            <span class="yellow" wx:if="{{item.itemsTypeValue!=null}}">{{item.riskStatusValue}}</span>
           </view>
           <!-- <view class="qy_txt">{{item.busEnterpriseName}}</view> -->
 

+ 1 - 1
project.private.config.json

@@ -1,7 +1,7 @@
 {
   "projectname": "sooka_edyj_minapp",
   "setting": {
-    "compileHotReLoad": true,
+    "compileHotReLoad": false,
     "urlCheck": false
   },
   "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",