添加地址UI修改 — review by 李其昌
Showing
4 changed files
with
12 additions
and
11 deletions
1 | <view wx:if="{{hasAddress}}"> | 1 | <view wx:if="{{hasAddress}}"> |
2 | <view class="addressHasItem"> | 2 | <view class="addressHasItem"> |
3 | + <view class='line'></view> | ||
3 | <view class="addressHasIconContainer"> | 4 | <view class="addressHasIconContainer"> |
4 | <image class="addressHasIcon" src="{{addressIcon}}" mode='aspectFill'></image> | 5 | <image class="addressHasIcon" src="{{addressIcon}}" mode='aspectFill'></image> |
5 | </view> | 6 | </view> |
1 | +.line { | ||
2 | + background-color: #EEEEEE; | ||
3 | + height: 2rpx; | ||
4 | + margin-top: 20rpx; | ||
5 | +} | ||
6 | + | ||
1 | .addressIcon { | 7 | .addressIcon { |
2 | width: 40rpx; | 8 | width: 40rpx; |
3 | height: 40rpx; | 9 | height: 40rpx; |
@@ -12,10 +18,11 @@ | @@ -12,10 +18,11 @@ | ||
12 | } | 18 | } |
13 | 19 | ||
14 | .addressNoItem { | 20 | .addressNoItem { |
15 | - display: block; | ||
16 | - margin-left: auto; | ||
17 | - margin-right: auto; | ||
18 | - text-align: center; | 21 | + display: flex; |
22 | + align-items: center; | ||
23 | + justify-content: center; | ||
24 | + margin-top: 60px; | ||
25 | + margin-bottom: 80px; | ||
19 | } | 26 | } |
20 | 27 | ||
21 | .addressHasIconContainer { | 28 | .addressHasIconContainer { |
@@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
2 | <!-- <view class="orderContainer"> --> | 2 | <!-- <view class="orderContainer"> --> |
3 | <scroll-view scroll-y class="orderContainer"> | 3 | <scroll-view scroll-y class="orderContainer"> |
4 | <text class='message-title'>确认订单</text> | 4 | <text class='message-title'>确认订单</text> |
5 | - <view class='line'></view> | ||
6 | <addressCell hasAddress="{{hasAddress}}" address="{{address}}" bindaddressevent="chooseAddress"></addressCell> | 5 | <addressCell hasAddress="{{hasAddress}}" address="{{address}}" bindaddressevent="chooseAddress"></addressCell> |
7 | <productCell productInfo="{{good}}"></productCell> | 6 | <productCell productInfo="{{good}}"></productCell> |
8 | <priceCell promotionFormulaList="{{promotionFormulaList}}" damagesDesc="{{damagesDesc}}"></priceCell> | 7 | <priceCell promotionFormulaList="{{promotionFormulaList}}" damagesDesc="{{damagesDesc}}"></priceCell> |
@@ -12,12 +12,6 @@ | @@ -12,12 +12,6 @@ | ||
12 | font-weight: bold; | 12 | font-weight: bold; |
13 | } | 13 | } |
14 | 14 | ||
15 | -.line { | ||
16 | - background-color: #EEEEEE; | ||
17 | - height: 2rpx; | ||
18 | - margin-top: 20rpx; | ||
19 | -} | ||
20 | - | ||
21 | .pay-bottom-root { | 15 | .pay-bottom-root { |
22 | width: 100%; | 16 | width: 100%; |
23 | height: 200rpx; | 17 | height: 200rpx; |
-
Please register or login to post a comment