y595705120 1 рік тому
батько
коміт
040c1289f1

+ 1 - 1
pages/exam/collection/index.js

@@ -89,8 +89,8 @@ Page({
           if(list[i].select != list[i].result){
             skip = true
           }
+          mselect[list[i].answerId] = list[i].select;
         }
-        mselect[list[i].answerId] = list[i].select;
       }
     }else{
       if( select!= result) skip = true;

+ 1 - 0
pages/exam/index/index.wxml

@@ -13,6 +13,7 @@
       </swiper-item>
     </swiper>
   </view>
+  <!-- <ad unit-id="adunit-21433e65243fe5ff"></ad> -->
 
   <view wx:if="{{!userInfo.identify}}" >
     <view style="text-align:center;margin:50rpx"> 

+ 2 - 0
pages/index/index.wxml

@@ -17,6 +17,8 @@
   </view>
 </view>
 
+<!-- <ad unit-id="adunit-7cfbe6afa1f6b0d3"></ad> -->
+
 <!-- <view class="f-header m-t">
   <image src="/assets/h1.png"></image>
   <view class="tit-box">

+ 4 - 0
pages/post/post.wxml

@@ -21,5 +21,9 @@
   <view class="wxParse artical-content">
     <rich-text nodes="{{info.content}}" space="emsp" bindtap="preview"></rich-text>
   </view>
+
+  <view class="tc mt20" wx:if="{{info.video}}">
+    <ad unit-id="adunit-21433e65243fe5ff"></ad>
+  </view>
 </view>
 

+ 1 - 1
project.config.json

@@ -47,7 +47,7 @@
     "minifyWXML": true
   },
   "compileType": "miniprogram",
-  "libVersion": "2.8.0",
+  "libVersion": "2.30.2",
   "appid": "wx701d6e0be4d00ae7",
   "projectname": "ndjsxh",
   "simulatorType": "wechat",