Commit ebde6ce4036e7257d1a85236236ff8fbc6b62256
1 parent
e93f44fc
测肤排版细节优化
Showing
2 changed files
with
9 additions
and
7 deletions
packageD/pages/AI-test-skin/success_result/goods.wxml
@@ -9,9 +9,9 @@ | @@ -9,9 +9,9 @@ | ||
9 | <!-- 显示正确的商品价格 --> | 9 | <!-- 显示正确的商品价格 --> |
10 | <view style="display: flex;justify-content: space-between;"> | 10 | <view style="display: flex;justify-content: space-between;"> |
11 | <block wx:if="{{(item.prom_price>0 || item.prom_integral>0) && item.prom_id>0 && item.prom_type!=7 && item.prom_type!=10}}"> | 11 | <block wx:if="{{(item.prom_price>0 || item.prom_integral>0) && item.prom_id>0 && item.prom_type!=7 && item.prom_type!=10}}"> |
12 | - <text wx:if="{{item.prom_integral}}"><text class="fs35" style="font-weight: bold;">{{item.prom_integral}}</text>积分</text> | ||
13 | - <text wx:if="{{item.prom_integral && item.prom_price}}">+</text> | ||
14 | <text wx:if="{{item.prom_price}}" class="bold">¥{{item.shop_price}}</text> | 12 | <text wx:if="{{item.prom_price}}" class="bold">¥{{item.shop_price}}</text> |
13 | + <text wx:if="{{item.prom_integral && item.prom_price}}">+</text> | ||
14 | + | ||
15 | </block> | 15 | </block> |
16 | <block wx:else> | 16 | <block wx:else> |
17 | <block wx:if="{{s_filter.is_has_rank(rank_switch,item)}}"> | 17 | <block wx:if="{{s_filter.is_has_rank(rank_switch,item)}}"> |
@@ -36,4 +36,5 @@ | @@ -36,4 +36,5 @@ | ||
36 | 36 | ||
37 | <view class="mm"><text class="iconfont icon-gouwuche"></text></view> | 37 | <view class="mm"><text class="iconfont icon-gouwuche"></text></view> |
38 | </view> | 38 | </view> |
39 | + <view wx:if="{{item.prom_integral}}"><text style="font-weight: bold;">{{item.prom_integral}}</text>积分</view> | ||
39 | </view> | 40 | </view> |
40 | \ No newline at end of file | 41 | \ No newline at end of file |
packageD/pages/AI-test-skin/success_result/success_result.wxss
@@ -384,13 +384,15 @@ page { | @@ -384,13 +384,15 @@ page { | ||
384 | font-size: 28rpx; | 384 | font-size: 28rpx; |
385 | } | 385 | } |
386 | 386 | ||
387 | -.analyse_classify_foot .product_item { | ||
388 | - display: flex; | 387 | +.analyse_classify_foot .product_item:nth-child(1) { |
389 | margin-right: 30rpx; | 388 | margin-right: 30rpx; |
389 | +} | ||
390 | +.analyse_classify_foot .product_item{ | ||
391 | + display: flex; | ||
390 | flex-direction: column; | 392 | flex-direction: column; |
391 | border-radius: 30rpx; | 393 | border-radius: 30rpx; |
392 | width: 40%; | 394 | width: 40%; |
393 | - padding: 5%; | 395 | + padding: 5% ; |
394 | background-color: #fff; | 396 | background-color: #fff; |
395 | } | 397 | } |
396 | 398 | ||
@@ -592,8 +594,7 @@ page { | @@ -592,8 +594,7 @@ page { | ||
592 | .xc-coupon-frame { | 594 | .xc-coupon-frame { |
593 | width: 100%; | 595 | width: 100%; |
594 | max-height: 560rpx; | 596 | max-height: 560rpx; |
595 | - overflow: auto; | ||
596 | - | 597 | + /* overflow: auto; */ |
597 | } | 598 | } |
598 | 599 | ||
599 | .xc-coupon-frame .rel:not(:first-child) { | 600 | .xc-coupon-frame .rel:not(:first-child) { |