Commit c50415496e5bca358d8800f6e0f983cb99991a63
1 parent
9c7eb919
去参团界面修改
Showing
2 changed files
with
20 additions
and
11 deletions
pages/team/team_show/team_show.wxml
... | ... | @@ -256,13 +256,14 @@ |
256 | 256 | <view class="b_num" hidden="{{ismend==1}}" style="margin-top: 20rpx"> |
257 | 257 | <view>购买数量</view> |
258 | 258 | <view class="count"> |
259 | - <view class='{{minusStatus}}' bindtap="bindMinus" class="sub">-</view> | |
259 | + <view bindtap="{{num <= 1 ? '':'bindMinus'}}" class="sub {{num <= 1 ? 'active':''}}">-</view> | |
260 | + <!-- <view class='{{minusStatus}}' bindtap="bindMinus" class="sub">-</view> --> | |
260 | 261 | <input bindblur="bindManual" class="xc-val-fream" type="number" value="1">1</input> |
261 | 262 | <view bindtap="bindPlus" class="add">+</view> |
262 | 263 | </view> |
263 | 264 | </view> |
264 | 265 | |
265 | - <view class="clear"></view> | |
266 | + <!-- <view class="clear"></view> --> | |
266 | 267 | |
267 | 268 | </view> |
268 | 269 | </view> | ... | ... |
pages/team/team_show/team_show.wxss
... | ... | @@ -1057,10 +1057,10 @@ page { |
1057 | 1057 | height: 45rpx; |
1058 | 1058 | } |
1059 | 1059 | |
1060 | -.pt_qd { | |
1060 | +/* .pt_qd { | |
1061 | 1061 | margin-top: 40rpx; |
1062 | 1062 | height: auto; |
1063 | -} | |
1063 | +} */ | |
1064 | 1064 | |
1065 | 1065 | .spec-cart-btn.w100 { |
1066 | 1066 | width: 100%; |
... | ... | @@ -1119,8 +1119,9 @@ page { |
1119 | 1119 | } |
1120 | 1120 | |
1121 | 1121 | .pt_qd { |
1122 | - margin-top: 40rpx; | |
1123 | - height: auto; | |
1122 | + /* margin-top: 40rpx; | |
1123 | + height: auto; */ | |
1124 | + padding: 20rpx; | |
1124 | 1125 | } |
1125 | 1126 | |
1126 | 1127 | .spec-cart-btn.w100 { |
... | ... | @@ -1260,7 +1261,7 @@ page { |
1260 | 1261 | font-size: 32rpx; |
1261 | 1262 | box-sizing: border-box; |
1262 | 1263 | border-radius: 20rpx; |
1263 | - height: 72%; | |
1264 | + /* height: 72%; */ | |
1264 | 1265 | } |
1265 | 1266 | |
1266 | 1267 | .spec-model .pding { |
... | ... | @@ -1326,15 +1327,17 @@ page { |
1326 | 1327 | display: flex; |
1327 | 1328 | font-size: 30rpx; |
1328 | 1329 | color: #333; |
1330 | + justify-content: space-between; | |
1329 | 1331 | } |
1330 | 1332 | |
1331 | 1333 | .count { |
1332 | - position: fixed; | |
1334 | + /* position: fixed; */ | |
1333 | 1335 | display: flex; |
1334 | 1336 | height: 50rpx; |
1335 | 1337 | border: 1rpx solid #000; |
1336 | 1338 | font-size: 28rpx; |
1337 | - right: 30rpx; | |
1339 | + /* right: 30rpx; */ | |
1340 | + /* justify-content: space-between; */ | |
1338 | 1341 | } |
1339 | 1342 | |
1340 | 1343 | |
... | ... | @@ -1946,8 +1949,8 @@ page { |
1946 | 1949 | } |
1947 | 1950 | |
1948 | 1951 | .pt_qd { |
1949 | - margin-top: 40rpx; | |
1950 | - height: auto; | |
1952 | + /* margin-top: 40rpx; | |
1953 | + height: auto; */ | |
1951 | 1954 | } |
1952 | 1955 | |
1953 | 1956 | .spec-cart-btn.w100 { |
... | ... | @@ -2174,3 +2177,8 @@ page { |
2174 | 2177 | } |
2175 | 2178 | |
2176 | 2179 | .no_store{color:#d60021; font-size: 26rpx;} |
2180 | + | |
2181 | +.sub.active { | |
2182 | + /* background-color: #ddd; */ | |
2183 | + color: #ccc; | |
2184 | +} | ... | ... |