From 901c4bdd52140d4a70bd053abb8b33c224d991ec Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:38:46 +0800 Subject: [PATCH 01/11] =?UTF-8?q?fix:=20=E6=8A=BD=E5=A5=96=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8=E6=A0=87=E7=AD=BE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/pages/marketing/lottery/addGoods.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/admin/src/pages/marketing/lottery/addGoods.vue b/template/admin/src/pages/marketing/lottery/addGoods.vue index decf2880e..1ceaccf61 100644 --- a/template/admin/src/pages/marketing/lottery/addGoods.vue +++ b/template/admin/src/pages/marketing/lottery/addGoods.vue @@ -223,7 +223,7 @@ export default { let keys = Object.keys(this.editData); keys.forEach((item) => { this.formValidate[item] = this.editData[item]; - if (item === 'coupon_title') { + if (item === 'coupon_title' && this.editData[item]) { this.couponName.push({ title: this.editData[item], id: this.editData.coupon_id, From b7be6716a5e20a118a2e738bc65aa62ca81e2b10 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:39:15 +0800 Subject: [PATCH 02/11] =?UTF-8?q?improve:=20=E5=95=86=E5=93=81=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=89=B9=E9=87=8F=E8=AE=BE=E7=BD=AE=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/pages/product/productAdd/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/admin/src/pages/product/productAdd/index.vue b/template/admin/src/pages/product/productAdd/index.vue index 9c7b14351..1721ff892 100644 --- a/template/admin/src/pages/product/productAdd/index.vue +++ b/template/admin/src/pages/product/productAdd/index.vue @@ -294,7 +294,7 @@ > - +
-
+
From 995cd2c39f27c6056ceb7e93ec00f62dfc853932 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:40:57 +0800 Subject: [PATCH 05/11] =?UTF-8?q?improve:=20=E6=BB=91=E5=8A=A8=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../annex/components/verify/verifySlider/verifySlider.vue | 4 ++-- .../components/verify/verifySlider/verifySliderPc.vue | 8 ++++---- .../pages/users/components/verify/verifySlider/index.vue | 4 ++-- .../components/verify/verifySlider/verifySliderPc.vue | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/template/uni-app/pages/annex/components/verify/verifySlider/verifySlider.vue b/template/uni-app/pages/annex/components/verify/verifySlider/verifySlider.vue index c7faeaf65..eb289a2bb 100644 --- a/template/uni-app/pages/annex/components/verify/verifySlider/verifySlider.vue +++ b/template/uni-app/pages/annex/components/verify/verifySlider/verifySlider.vue @@ -392,13 +392,13 @@ bottom: 0px; width: 100%; height: 30px; - background-color: rgb(231, 27, 27, .5); + background-color: rgb(197, 150, 63, 0.5); line-height: 30px; color: #fff; } .suc-bg { - background-color: rgba(92, 184, 92, .5); + background-color: rgb(197, 150, 63, 0.5); filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5CB85C, endcolorstr=#7f5CB85C); } diff --git a/template/uni-app/pages/annex/components/verify/verifySlider/verifySliderPc.vue b/template/uni-app/pages/annex/components/verify/verifySlider/verifySliderPc.vue index e1338bc1c..770935571 100644 --- a/template/uni-app/pages/annex/components/verify/verifySlider/verifySliderPc.vue +++ b/template/uni-app/pages/annex/components/verify/verifySlider/verifySliderPc.vue @@ -11,7 +11,7 @@ {{ tipWords }} + :class="passFalg ? 'suc-bg' : 'err-bg'">{{ tipWords }} @@ -123,7 +123,7 @@ export default { data() { return { secretKey: "", // 后端返回的加密秘钥 字段 - passFlag: "", // 是否通过的标识 + passFalg: "", // 是否通过的标识 backImgBase: "", // 验证码背景图片 blockBackImgBase: "", // 验证滑块的背景图片 backToken: "", // 后端返回的唯一token值 @@ -491,13 +491,13 @@ export default { bottom: 0px; width: 100%; height: 30px; - background-color: rgb(231, 27, 27, .5); + background-color: rgb(197, 150, 63, 0.5); line-height: 30px; color: #fff; } .suc-bg { - background-color: rgba(92, 184, 92, .5); + background-color: rgb(197, 150, 63, 0.5); filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5CB85C, endcolorstr=#7f5CB85C); } diff --git a/template/uni-app/pages/users/components/verify/verifySlider/index.vue b/template/uni-app/pages/users/components/verify/verifySlider/index.vue index c7faeaf65..4581bab9f 100644 --- a/template/uni-app/pages/users/components/verify/verifySlider/index.vue +++ b/template/uni-app/pages/users/components/verify/verifySlider/index.vue @@ -392,13 +392,13 @@ bottom: 0px; width: 100%; height: 30px; - background-color: rgb(231, 27, 27, .5); + background-color: rgb(197, 150, 63, 0.5);; line-height: 30px; color: #fff; } .suc-bg { - background-color: rgba(92, 184, 92, .5); + background-color: rgb(197, 150, 63, 0.5);; filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5CB85C, endcolorstr=#7f5CB85C); } diff --git a/template/uni-app/pages/users/components/verify/verifySlider/verifySliderPc.vue b/template/uni-app/pages/users/components/verify/verifySlider/verifySliderPc.vue index e1338bc1c..39160aeaf 100644 --- a/template/uni-app/pages/users/components/verify/verifySlider/verifySliderPc.vue +++ b/template/uni-app/pages/users/components/verify/verifySlider/verifySliderPc.vue @@ -11,7 +11,7 @@ {{ tipWords }} + :class="passFalg ? 'suc-bg' : 'err-bg'">{{ tipWords }} @@ -123,7 +123,7 @@ export default { data() { return { secretKey: "", // 后端返回的加密秘钥 字段 - passFlag: "", // 是否通过的标识 + passFalg: "", // 是否通过的标识 backImgBase: "", // 验证码背景图片 blockBackImgBase: "", // 验证滑块的背景图片 backToken: "", // 后端返回的唯一token值 @@ -491,13 +491,13 @@ export default { bottom: 0px; width: 100%; height: 30px; - background-color: rgb(231, 27, 27, .5); + background-color: rgb(197, 150, 63, 0.5);; line-height: 30px; color: #fff; } .suc-bg { - background-color: rgba(92, 184, 92, .5); + background-color: rgb(197, 150, 63, 0.5);; filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5CB85C, endcolorstr=#7f5CB85C); } From 12cb5beaa648b8377b1cc84d1c71f88ba75174f3 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:41:12 +0800 Subject: [PATCH 06/11] =?UTF-8?q?style:=20=E9=A6=96=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index/diy/components/activeParty.vue | 392 +++++++++--------- 1 file changed, 197 insertions(+), 195 deletions(-) diff --git a/template/uni-app/pages/index/diy/components/activeParty.vue b/template/uni-app/pages/index/diy/components/activeParty.vue index c58474a3e..b74265e68 100644 --- a/template/uni-app/pages/index/diy/components/activeParty.vue +++ b/template/uni-app/pages/index/diy/components/activeParty.vue @@ -1,195 +1,197 @@ - - - - - \ No newline at end of file + + + + + From f00ecc75a632320814fd7ac3f2735b32d7f080a0 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:41:44 +0800 Subject: [PATCH 07/11] =?UTF-8?q?improve:=20=E7=A7=AF=E5=88=86=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E4=BD=93=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/users/user_sgin_list/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/uni-app/pages/users/user_sgin_list/index.vue b/template/uni-app/pages/users/user_sgin_list/index.vue index 100ffed19..02625a131 100644 --- a/template/uni-app/pages/users/user_sgin_list/index.vue +++ b/template/uni-app/pages/users/user_sgin_list/index.vue @@ -10,7 +10,7 @@ {{$t(itemn.title)}} {{itemn.add_time}} - +{{itemn.number}} + +{{itemn.number}} From 799e7cec5d963c071ba3a1fab2e0a835756ec01b Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:42:08 +0800 Subject: [PATCH 08/11] =?UTF-8?q?feat:=20=E7=A7=AF=E5=88=86=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=B7=BB=E5=8A=A0=E9=99=90=E5=88=B6=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../points_mall/integral_goods_details.vue | 2363 +++++++++-------- 1 file changed, 1186 insertions(+), 1177 deletions(-) diff --git a/template/uni-app/pages/points_mall/integral_goods_details.vue b/template/uni-app/pages/points_mall/integral_goods_details.vue index 795d816b8..89d3c2441 100644 --- a/template/uni-app/pages/points_mall/integral_goods_details.vue +++ b/template/uni-app/pages/points_mall/integral_goods_details.vue @@ -1,1178 +1,1187 @@ - - - - - From dba9ce48aab9d7681c18e33425254bf3cf0ce86a Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:42:25 +0800 Subject: [PATCH 09/11] =?UTF-8?q?fix:=20app=E7=99=BB=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/user/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/uni-app/pages/user/index.vue b/template/uni-app/pages/user/index.vue index 57c2effb7..0eaa34a76 100644 --- a/template/uni-app/pages/user/index.vue +++ b/template/uni-app/pages/user/index.vue @@ -52,7 +52,7 @@ - + {{$t('请点击授权')}} From 9ba5b5332f5fd9a123794857141b842163fafe71 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 12:22:13 +0800 Subject: [PATCH 10/11] =?UTF-8?q?fix:=20=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/order_addcart/order_addcart.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/template/uni-app/pages/order_addcart/order_addcart.vue b/template/uni-app/pages/order_addcart/order_addcart.vue index 046e54633..bcbd84a81 100644 --- a/template/uni-app/pages/order_addcart/order_addcart.vue +++ b/template/uni-app/pages/order_addcart/order_addcart.vue @@ -706,18 +706,19 @@ addCart: function(index) { let that = this; let item = that.cartList.valid[index]; - item.cart_num = Number(item.cart_num) + 1; + let lastnum = Number(item.cart_num) + 1 let productInfo = item.productInfo; - if (productInfo.hasOwnProperty('attrInfo') && item.cart_num >= item.productInfo.attrInfo.stock) { - item.cart_num = item.productInfo.attrInfo.stock; + if (productInfo.hasOwnProperty('attrInfo') && lastnum >= item.productInfo.attrInfo.stock) { + lastnum = item.productInfo.attrInfo.stock; item.numAdd = true; item.numSub = false; } else { item.numAdd = false; item.numSub = false; } - that.setCartNum(item.id, item.cart_num, function(data) { + that.setCartNum(item.id, lastnum, (data) => { that.cartList.valid[index] = item; + item.cart_num = Number(item.cart_num) + 1; that.getCartNum(); that.switchSelect(); }); From dca65c5610db69e8a3ec9440ec01c1f79d66cb73 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 12:22:29 +0800 Subject: [PATCH 11/11] =?UTF-8?q?style:=20diy=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/components/mobilePageDiy/home_product.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/admin/src/components/mobilePageDiy/home_product.vue b/template/admin/src/components/mobilePageDiy/home_product.vue index 4f08b641a..0d4ab04ae 100644 --- a/template/admin/src/components/mobilePageDiy/home_product.vue +++ b/template/admin/src/components/mobilePageDiy/home_product.vue @@ -53,7 +53,7 @@ class="label" :style="'border:1px solid ' + labelColor + ';color:' + labelColor" :class="priceShow ? '' : 'on'" - v-if="couponShow && item.checkCoupon" + v-if="couponShow" > 券 @@ -408,6 +408,7 @@ export default { text-align center line-height 18px font-size 11px + border-radius 3px &.on margin-left 0;