ssfg 5 лет назад
Родитель
Сommit
ba466031bb

+ 1 - 0
pages/index/index.js

@@ -173,6 +173,7 @@ Page({
   },
   onReady: function () {},
   async onShow() {
+    // console.log("我调用了onShow")
     const sessionKey = await tools.checkSessionAndLogin();
     this.getBanner(sessionKey);
     this.getjjLength(sessionKey);

+ 1 - 1
pages/index/index.wxml

@@ -39,7 +39,7 @@
 	</view> -->
 	<view class="xczs">
 		<view class="zb1" wx:for="{{xczsArr}}" wx:for-index="idx" wx:for-item="item" bindtap="turnDetails" id="{{idx}}" wx:key="idx">
-			<image src='{{item.img}}' mode="widthFix" class="show1"></image>
+			<image src='{{item.img}}' mode="aspectFill" class="show1"></image>
 			<!-- <van-image fit="fill" width="338rpx" height="260rpx" lazy-load src='{{item.img}}' /> -->
 			<view class="grayblock">
 				<view class="show_text">{{item.name}}</view>

+ 1 - 1
pages/myClass/myClass.js

@@ -177,7 +177,7 @@ Page({
         sessionKey: sessionKey
       },
       success:  (res) =>{
-        console.log(res.data.data, "我是返回是否有班级")
+        console.log(res.data.code, "我是返回是否有班级")
         if (res.data.code == 0) {
           this.setData({
             classInfo: res.data.data

+ 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月02日-2020年07月09日参加学习完成规定培训内容,准予结业,特发此证。</view>
+			<view class="byzc">李欣桐同志于2020年07月08日-2020年07月13日参加学习完成规定培训内容,准予结业,特发此证。</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月02日-2020年07月09日参加学习完成规定培训内容,准予结业,特发此证。</view>
+			<view class="byzc">李欣桐同志于2020年07月08日-2020年07月13日参加学习完成规定培训内容,准予结业,特发此证。</view>
 			<!-- <view class="byzc">{{studentName}}同志于{{classInfo.beginDate}}-{{classInfo.endDate}}参加学习完成规定培训内容,准予结业,特发此证。</view> -->
 		</view>
 	</van-popup>

+ 1 - 0
pages/zbDetails/zbDetails.js

@@ -106,6 +106,7 @@ Page({
         console.log(e, "11111111111111111")
         this.setData({
           url: e.data.pullUrl.flvUrl,
+          // url: e.data.pullUrl.rtmpUrl,
           title: e.data.course.courseName,
           message: e.data.course.courseInfo,
           playTimes: e.data.course.playTimes