ssfg 5 년 전
부모
커밋
b75eebeac3
5개의 변경된 파일15개의 추가작업 그리고 15개의 파일을 삭제
  1. 2 1
      pages/index/index.wxss
  2. 1 1
      pages/myClass/myClass.wxml
  3. 1 1
      pages/myMission/myMission.wxml
  4. 2 3
      pages/zbDetails/zbDetails.js
  5. 9 9
      utils/util.js

+ 2 - 1
pages/index/index.wxss

@@ -154,13 +154,14 @@
 
 .zb1 {
   width: 338rpx;
-  height: 283rpx;
+  height: 253rpx;
   margin-right: 20rpx;
   margin-bottom: 10rpx;
   border-radius: 10rpx;
   overflow: hidden;
   float: left;
   position: relative;
+  /* border: 1px solid red; */
 }
 
 .show1 {

+ 1 - 1
pages/myClass/myClass.wxml

@@ -79,7 +79,7 @@
 	<van-popup show="{{ showzs }}" bind:close="onClose1">
 		<view style="position:relative">
 			<image src='/images/zsbj.jpg' mode='aspectFill' class="zsbj"></image>
-			<view class="byzc">李欣桐同志于2020年07月07日-2020年07月09日参加学习完成规定培训内容,准予结业,特发此证。</view>
+			<view class="byzc">李欣桐同志于2020年07月02日-2020年07月09日参加学习完成规定培训内容,准予结业,特发此证。</view>
 			<!-- <view class="byzc">{{studentName}}同志于{{classInfo.beginDate}}-{{classInfo.endDate}}参加学习完成规定培训内容,准予结业,特发此证。</view> -->
 		</view>
 	</van-popup>

+ 1 - 1
pages/myMission/myMission.wxml

@@ -66,7 +66,7 @@
 	<van-popup show="{{ showzs }}" bind:close="onClose1">
 		<view style="position:relative">
 			<image src='/images/zsbj.jpg' mode='aspectFill' class="zsbj"></image>
-			<view class="byzc">李欣桐同志于2020年07月07日-2020年07月09日参加学习完成规定培训内容,准予结业,特发此证。</view>
+			<view class="byzc">李欣桐同志于2020年07月02日-2020年07月09日参加学习完成规定培训内容,准予结业,特发此证。</view>
 			<!-- <view class="byzc">{{studentName}}同志于{{classInfo.beginDate}}-{{classInfo.endDate}}参加学习完成规定培训内容,准予结业,特发此证。</view> -->
 		</view>
 	</van-popup>

+ 2 - 3
pages/zbDetails/zbDetails.js

@@ -137,7 +137,6 @@ Page({
     })
   },
   socketConnect(sessionKey) {
-    console.log(sessionKey, "我执行了")
     var _this = this;
     var newSessionkey = encodeURIComponent(sessionKey);
     wx.connectSocket({
@@ -222,7 +221,7 @@ Page({
       wx.sendSocketMessage({
         data: msg
       })
-    } else {}
+    }
   },
   // 心跳
   startHeart(sessionKey) {
@@ -331,7 +330,7 @@ Page({
     })
     const sessionKey = await tools.checkSessionAndLogin();
     this.getZbArr(sessionKey);
-    this.socketConnect(sessionKey);
+    // this.socketConnect(sessionKey);
     // wx.checkSession({
     //   success: () => {
     //     console.log("我有缓存")

+ 9 - 9
utils/util.js

@@ -9,15 +9,15 @@ const globalData = {
   publicUrl2: 'https://sqdx.windd.cn',
   publicUrl3: 'https://sqdx.windd.cn',
   publicSocketUrl: 'wss://sqdx.windd.cn'
-  // 本地
-  // publicUrl: 'http://10.16.4.19:80', //luyu
-  // publicUrl2: 'http://10.16.4.19:80', //huyubo
-  // publicUrl3: 'http://10.16.4.19:80', //zxq
-  // publicSocketUrl: 'ws://10.16.4.19:80'
-    // 本地
-  // publicUrl: 'http://10.16.10.139:8090', //luyu
-  // publicUrl2: 'http://10.16.10.139:8090', //huyubo
-  // publicUrl3: 'http://10.16.10.139:8090', //zxq
+  // 本地huyubo
+  // publicUrl: 'http://10.16.4.19:8090',
+  // publicUrl2: 'http://10.16.4.19:8090', 
+  // publicUrl3: 'http://10.16.4.19:8090',
+  // publicSocketUrl: 'ws://10.16.4.19:8090'
+    // 本地luyu 
+  // publicUrl: 'http://10.16.10.139:8090',
+  // publicUrl2: 'http://10.16.10.139:8090', 
+  // publicUrl3: 'http://10.16.10.139:8090', 
   // publicSocketUrl: 'ws://10.16.10.139:8090'
 };
 module.exports = {