chengjie 3 月之前
父節點
當前提交
d778070a53
共有 2 個文件被更改,包括 4 次插入5 次删除
  1. 0 4
      pages/main/mainlist.js
  2. 4 1
      pages/main/mainlist.wxml

+ 0 - 4
pages/main/mainlist.js

@@ -1272,13 +1272,9 @@ Page({
1272
       if (list[i].Selected)
1272
       if (list[i].Selected)
1273
         selectedCount++;
1273
         selectedCount++;
1274
     }
1274
     }
1275
-    let isShowSelectThis=false;
1276
-    if (selectedCount>0)
1277
-      isShowSelectThis=true;
1278
     that.setData({
1275
     that.setData({
1279
       List:list,
1276
       List:list,
1280
       SelectedCount:selectedCount,
1277
       SelectedCount:selectedCount,
1281
-      IsShowSelectThis:isShowSelectThis,
1282
     });
1278
     });
1283
   },
1279
   },
1284
   showMultipleOther: function (event) {
1280
   showMultipleOther: function (event) {

+ 4 - 1
pages/main/mainlist.wxml

@@ -141,9 +141,12 @@
141
           
141
           
142
         </view>
142
         </view>
143
       </scroll-view>
143
       </scroll-view>
144
-      <view class="SelectThisCss FlexRow" wx:if="{{IsShowSelectThis}}" catch:tap="selectThisFunc">
144
+      <view class="SelectThisUpCss FlexRow" wx:if="{{IsShowSelectThisUp}}" catch:tap="selectThisFunc">
145
         <image src="../images/ArrowUp1.png" class="ArrowUp1"></image>选择到这里
145
         <image src="../images/ArrowUp1.png" class="ArrowUp1"></image>选择到这里
146
       </view>
146
       </view>
147
+      <view class="SelectThisUpCss SelectThisDownCss FlexRow" wx:if="{{IsShowSelectThisDown}}" catch:tap="selectThisFunc">
148
+        <image src="../images/ArrowDown1.png" class="ArrowUp1"></image>选择到这里
149
+      </view>
147
     </block>
150
     </block>
148
     <view class="panelMore" wx:if="{{HasPage && CardType!=-2}}" bindtap='gotoNextPage' data-id="{{List[List.length-1].MiaoguoCardID}}"
151
     <view class="panelMore" wx:if="{{HasPage && CardType!=-2}}" bindtap='gotoNextPage' data-id="{{List[List.length-1].MiaoguoCardID}}"
149
       data-iscollect="{{IsCollect}}" data-folderid="{{FolderID}}" data-istoday="{{IsToday}}">更多</view>
152
       data-iscollect="{{IsCollect}}" data-folderid="{{FolderID}}" data-istoday="{{IsToday}}">更多</view>