chengjie vor 3 Monaten
Ursprung
Commit
d778070a53
2 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  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 1272
       if (list[i].Selected)
1273 1273
         selectedCount++;
1274 1274
     }
1275
-    let isShowSelectThis=false;
1276
-    if (selectedCount>0)
1277
-      isShowSelectThis=true;
1278 1275
     that.setData({
1279 1276
       List:list,
1280 1277
       SelectedCount:selectedCount,
1281
-      IsShowSelectThis:isShowSelectThis,
1282 1278
     });
1283 1279
   },
1284 1280
   showMultipleOther: function (event) {

+ 4 - 1
pages/main/mainlist.wxml

@@ -141,9 +141,12 @@
141 141
           
142 142
         </view>
143 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 145
         <image src="../images/ArrowUp1.png" class="ArrowUp1"></image>选择到这里
146 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 150
     </block>
148 151
     <view class="panelMore" wx:if="{{HasPage && CardType!=-2}}" bindtap='gotoNextPage' data-id="{{List[List.length-1].MiaoguoCardID}}"
149 152
       data-iscollect="{{IsCollect}}" data-folderid="{{FolderID}}" data-istoday="{{IsToday}}">更多</view>