Commit e8f4453e084fb7334fb55fdce78ecb35ecb5df9c
1 parent
de5ceeae
跳转和积分样式调整
Showing
4 changed files
with
14 additions
and
3 deletions
packageE/pages/giftpack/giftpacklistshop/giftpacklistshop.js
| @@ -404,6 +404,11 @@ Page({ | @@ -404,6 +404,11 @@ Page({ | ||
| 404 | 404 | ||
| 405 | } else { | 405 | } else { |
| 406 | getApp().my_warnning(res.data.msg, 0, _this2); | 406 | getApp().my_warnning(res.data.msg, 0, _this2); |
| 407 | + | ||
| 408 | + setTimeout(()=>{ | ||
| 409 | + getApp().goto('/pages/index/index/index') | ||
| 410 | + },2000) | ||
| 411 | + | ||
| 407 | return false; | 412 | return false; |
| 408 | } | 413 | } |
| 409 | } | 414 | } |
pages/giftpack/giftpacklist/giftpacklist.js
| @@ -605,6 +605,11 @@ Page({ | @@ -605,6 +605,11 @@ Page({ | ||
| 605 | 605 | ||
| 606 | } else { | 606 | } else { |
| 607 | getApp().my_warnning(res.data.msg, 0, _this2); | 607 | getApp().my_warnning(res.data.msg, 0, _this2); |
| 608 | + | ||
| 609 | + setTimeout(()=>{ | ||
| 610 | + getApp().goto('/pages/index/index/index') | ||
| 611 | + },2000) | ||
| 612 | + | ||
| 608 | return false; | 613 | return false; |
| 609 | } | 614 | } |
| 610 | } | 615 | } |
pages/goods/goodsInfo/goodsInfo.wxml
| @@ -273,10 +273,10 @@ | @@ -273,10 +273,10 @@ | ||
| 273 | <view class="goods-price"> | 273 | <view class="goods-price"> |
| 274 | <!-- 价格显示 --> | 274 | <!-- 价格显示 --> |
| 275 | <view class="co-red flex jc_sb ai-center"> | 275 | <view class="co-red flex jc_sb ai-center"> |
| 276 | - <view class="market-price" style="overflow: hidden; height: 66rpx;display: flex; align-items: flex-end;"> | ||
| 277 | - <image class="rel_img" src="{{iurl}}/miniapp/images/integral/integral_red.png"></image> | 276 | + <view class="market-price" style="overflow: hidden; height: 66rpx;display: flex; align-items: flex-end;line-height: normal;"> |
| 277 | + <image class="rel_img" style="display: block;top:12rpx" src="{{iurl}}/miniapp/images/integral/integral_red.png"></image> | ||
| 278 | <block wx:if="{{prom_integral}}"> | 278 | <block wx:if="{{prom_integral}}"> |
| 279 | - <text style="position: relative;top:10rpx">{{prom_integral}}</text> | 279 | + <text style="display: block;font-size:58rpx; line-height: 58rpx;position: relative;top:8rpx ">{{prom_integral}}</text> |
| 280 | <text class="rel_txt">积分</text> | 280 | <text class="rel_txt">积分</text> |
| 281 | </block> | 281 | </block> |
| 282 | <text class="rel_txt" wx:if="{{prom_integral && prom_price}}">+</text> | 282 | <text class="rel_txt" wx:if="{{prom_integral && prom_price}}">+</text> |
pages/goods/goodsInfo/goodsInfo.wxss
| @@ -3803,6 +3803,7 @@ button.custom-service::after { | @@ -3803,6 +3803,7 @@ button.custom-service::after { | ||
| 3803 | .goods-price .rel_txt { | 3803 | .goods-price .rel_txt { |
| 3804 | /* position: relative; top: 32rpx; */ | 3804 | /* position: relative; top: 32rpx; */ |
| 3805 | font-size: 30rpx; | 3805 | font-size: 30rpx; |
| 3806 | + line-height: 30rpx; | ||
| 3806 | } | 3807 | } |
| 3807 | 3808 | ||
| 3808 | .goods-price .rel_img { | 3809 | .goods-price .rel_img { |