diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue b/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue index f886a660..fec1c690 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue @@ -16,17 +16,11 @@ - 使用规则 + 优惠券使用规则 - - 优惠方式 - - - @@ -34,14 +28,16 @@ - - 优惠券使用规则: - {{ cell }} + + + 优惠券使用规则: + {{ cell }} + - - - 优惠券优惠方式: - {{ cell }} + + 优惠券优惠方式: + {{ cell }} + @@ -97,7 +93,6 @@ state.totalPages = userCoupo.otherData?.totalPages; state.couponList = state.couponList.concat(userCoupo.data?.map(((item : any) => { item['showRules'] = false; - item['showDiscount'] = false; return item; }))); uni.hideLoading(); @@ -128,15 +123,8 @@ /** 查看使用规则 */ const handleToggleRules = (index : number) => { - state.couponList[index].showDiscount = false; state.couponList[index].showRules = !state.couponList[index].showRules; } - - /** 查看优惠方式 */ - const handleToggleDiscount = (index : number) => { - state.couponList[index].showRules = false; - state.couponList[index].showDiscount = !state.couponList[index].showDiscount; - }