From d35a07311be7034e28cf60e198d28791a3cdd3d3 Mon Sep 17 00:00:00 2001 From: From-wh Date: Tue, 28 Mar 2023 18:11:17 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/activity/goods_seckill/index.vue | 5 +- .../pages/goods/components/lottery/index.vue | 194 +++---- .../goods_comment_con/lottery_comment.vue | 2 +- .../pages/goods/lottery/grids/index.vue | 2 +- .../pages/goods/lottery/grids/record.vue | 488 +++++++++--------- .../goods/order_pay_status/payLottery.vue | 2 +- .../uni-app/pages/goods_cate/goods_cate2.vue | 8 +- .../visualization/components/popular.vue | 14 +- .../pages/users/promoter-list/index.vue | 4 +- .../uni-app/pages/users/user_coupon/index.vue | 7 +- .../pages/users/user_payment/index.vue | 18 +- 11 files changed, 386 insertions(+), 358 deletions(-) diff --git a/template/uni-app/pages/activity/goods_seckill/index.vue b/template/uni-app/pages/activity/goods_seckill/index.vue index 55fe22129..f1c199f26 100644 --- a/template/uni-app/pages/activity/goods_seckill/index.vue +++ b/template/uni-app/pages/activity/goods_seckill/index.vue @@ -30,7 +30,7 @@ {{item.title}} - {{$t(`¥`)}} + {{$t(`¥`)}} {{item.price}} {{$t(`¥`)}}{{item.ot_price}} @@ -180,8 +180,8 @@ } .noCommodity { - background-color: #fff; padding-bottom: 30rpx; + padding: 200rpx 0; .emptyBox{ text-align: center; padding-top: 20rpx; @@ -317,7 +317,6 @@ .flash-sale .list .item .text .money { font-size: 30rpx; - color: #E93323; } .flash-sale .list .item .text .money .num { diff --git a/template/uni-app/pages/goods/components/lottery/index.vue b/template/uni-app/pages/goods/components/lottery/index.vue index e81cddd1b..c02fa6bb3 100644 --- a/template/uni-app/pages/goods/components/lottery/index.vue +++ b/template/uni-app/pages/goods/components/lottery/index.vue @@ -1,94 +1,102 @@ - - - - - diff --git a/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue b/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue index 3cd5c4001..87c8e74ae 100644 --- a/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue +++ b/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue @@ -28,7 +28,7 @@ - diff --git a/template/uni-app/pages/goods/lottery/grids/index.vue b/template/uni-app/pages/goods/lottery/grids/index.vue index 692514969..99dc68aeb 100644 --- a/template/uni-app/pages/goods/lottery/grids/index.vue +++ b/template/uni-app/pages/goods/lottery/grids/index.vue @@ -16,7 +16,7 @@ - diff --git a/template/uni-app/pages/goods/lottery/grids/record.vue b/template/uni-app/pages/goods/lottery/grids/record.vue index f2b530168..d699cafb9 100644 --- a/template/uni-app/pages/goods/lottery/grids/record.vue +++ b/template/uni-app/pages/goods/lottery/grids/record.vue @@ -1,244 +1,246 @@ - - - - - diff --git a/template/uni-app/pages/goods/order_pay_status/payLottery.vue b/template/uni-app/pages/goods/order_pay_status/payLottery.vue index e84fcb063..9ea7a407f 100644 --- a/template/uni-app/pages/goods/order_pay_status/payLottery.vue +++ b/template/uni-app/pages/goods/order_pay_status/payLottery.vue @@ -31,7 +31,7 @@ - diff --git a/template/uni-app/pages/goods_cate/goods_cate2.vue b/template/uni-app/pages/goods_cate/goods_cate2.vue index 0965258fb..73903dc27 100644 --- a/template/uni-app/pages/goods_cate/goods_cate2.vue +++ b/template/uni-app/pages/goods_cate/goods_cate2.vue @@ -521,10 +521,16 @@ if ( that.attr.productAttr.length && productSelect === undefined - ) + ) { return that.$util.Tips({ title: that.$t(`该产品没有更多库存了`) }); + } + if (that.attr.productSelect.cart_num <= 0) { + return that.$util.Tips({ + title: that.$t(`最少添加 1 件商品`) + }); + } } let q = { product_id: id, diff --git a/template/uni-app/pages/index/visualization/components/popular.vue b/template/uni-app/pages/index/visualization/components/popular.vue index b4779bbd5..05f862e3e 100644 --- a/template/uni-app/pages/index/visualization/components/popular.vue +++ b/template/uni-app/pages/index/visualization/components/popular.vue @@ -232,10 +232,13 @@ } -