Rorschach 3 years ago
parent
commit
d8cbe250de
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/index/index.wxml

+ 2 - 1
pages/index/index.wxml

@@ -45,7 +45,8 @@
       <text>资源</text>
     </view>
   </view>
-  <view hidden="{{gradeActivity === 'PRIMARY_SENIOR_GRADE' || gradeActivity === 'PRESCHOOL' || 0 != myIndex}}" class="activity-img" bindtap="goToActivity">
+  <!-- <view hidden="{{gradeActivity === 'PRIMARY_SENIOR_GRADE' || gradeActivity === 'PRESCHOOL' || 0 != myIndex}}" class="activity-img" bindtap="goToActivity"> -->
+  <view hidden="{{0 != myIndex}}" class="activity-img" bindtap="goToActivity">
     <image src="http://reader-wx.ai160.com/images/reader/activity/banner.jpg"></image>
   </view>
   <!-- 调用组件 -->