Rorschach пре 3 година
родитељ
комит
1c034741d0
3 измењених фајлова са 12 додато и 8 уклоњено
  1. 1 1
      pages/activity/rule/rule.wxss
  2. 8 4
      pages/index/index.js
  3. 3 3
      pages/index/index.wxml

+ 1 - 1
pages/activity/rule/rule.wxss

@@ -6,6 +6,6 @@
 }
 .rule-bg {
   width: 100%;
-  height: 4047rpx;
+  height: 5007rpx;
   display: block;
 }

+ 8 - 4
pages/index/index.js

@@ -1115,12 +1115,16 @@ Page({
    * 跳转到活动页
    */
   goToActivity() {
-    // httpRequestApi.postActEvent('BANNER').success(res => {
-    //   console.log('活动banner', res)
-    // })
+    httpRequestApi.postActEvent('BANNER').success(res => {
+      console.log('活动banner', res)
+    })
     wx.navigateTo({
-      url: `../activity/goodList/goodList`
+      // url: `../activity/index/index`
+      url: `../activity/rule/rule`
     });
+    // wx.navigateTo({
+    //   url: `../activity/goodList/goodList`
+    // });
   },
   /**
    * banner点击

+ 3 - 3
pages/index/index.wxml

@@ -45,11 +45,11 @@
       <text>资源</text>
     </view>
   </view>
-  <!--
+  
   <view hidden="{{gradeActivity === 'PRIMARY_SENIOR_GRADE' || gradeActivity === 'PRESCHOOL' || 0 != myIndex}}" class="activity-img" bindtap="goToActivity">
-    <image src="http://reader-wx.ai160.com/images/reader/activity/banner1.jpg"></image>
+    <image src="http://reader-wx.ai160.com/images/reader/activity/banner.jpg"></image>
   </view>
-  -->
+ 
   <!-- <view hidden="{{(!isIos && isVip) || 0 != myIndex }}" class="activity-img" bindtap="bannerTap">
     <image src="http://reader-wx.ai160.com/images/reader/pay/{{isIos ? 'ios_banner' : 'android_banner'}}.jpg"></image>
   </view>