Rorschach 3 年之前
父节点
当前提交
d8cbe250de
共有 1 个文件被更改,包括 2 次插入1 次删除
  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>
   <!-- 调用组件 -->