From 3452957db97194772a663542f7c0f6e1d3311451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Tue, 8 Oct 2024 18:29:23 +0800 Subject: [PATCH 01/19] =?UTF-8?q?=E6=9B=B4=E6=96=B010.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integral/service/impl/IntegralSettingsServiceImpl.java | 3 +++ .../com/fuint/business/integral/vo/IntegralSettingsVo.java | 1 + gasStation-uni/pagesMy/signIn/index.vue | 5 +++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java index 8d873940f..1449dc5b5 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/service/impl/IntegralSettingsServiceImpl.java @@ -396,9 +396,11 @@ public class IntegralSettingsServiceImpl implements IntegralSettingsService { Pattern pattern = Pattern.compile("\\d+"); Matcher matcher = pattern.matcher(integralDetail.getChangeReason()); StringBuilder numbers = new StringBuilder(); + StringBuilder classColor = new StringBuilder(); numbers.append(0); while (matcher.find()) { numbers.append(matcher.group()); + classColor.append(matcher.group()); } if (StrUtil.isEmpty(numbers)) { integralSettingsVo.setSignInDays("0"); @@ -408,6 +410,7 @@ public class IntegralSettingsServiceImpl implements IntegralSettingsService { numbers.deleteCharAt(0); } integralSettingsVo.setSignInDays(numbers.toString()); + integralSettingsVo.setClassColor(Integer.parseInt(classColor.toString())); } else { integralSettingsVo.setSignInDays("0"); } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/vo/IntegralSettingsVo.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/vo/IntegralSettingsVo.java index 5321cee1f..c9bf026f2 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/vo/IntegralSettingsVo.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/integral/vo/IntegralSettingsVo.java @@ -17,6 +17,7 @@ import java.util.List; public class IntegralSettingsVo{ private String signInDays; private List integralSettings; + private Integer classColor; } diff --git a/gasStation-uni/pagesMy/signIn/index.vue b/gasStation-uni/pagesMy/signIn/index.vue index b8c113af8..1157fa2df 100644 --- a/gasStation-uni/pagesMy/signIn/index.vue +++ b/gasStation-uni/pagesMy/signIn/index.vue @@ -10,7 +10,7 @@ + :class="{'acv_w' : (index + 1) <= wIndex }"> {{item.integralName}} {{item.integral}}积分 @@ -147,7 +147,7 @@ this.equityShow = false }, setIndex(index, data) { - this.wIndex = index + // this.wIndex = index this.integral = data.integral }, getList() { @@ -161,6 +161,7 @@ if (res.code == 200) { this.list = res.data.integralSettings this.signInDays = res.data.signInDays + this.wIndex = res.data.classColor } }) }, From 58812b980176121cd71a1b268efe3bfc8a254422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Tue, 8 Oct 2024 18:37:33 +0800 Subject: [PATCH 02/19] =?UTF-8?q?=E6=9B=B4=E6=96=B010.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gasStation-uni/pagesMy/signIn/index.vue | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/gasStation-uni/pagesMy/signIn/index.vue b/gasStation-uni/pagesMy/signIn/index.vue index 1157fa2df..7b8890c08 100644 --- a/gasStation-uni/pagesMy/signIn/index.vue +++ b/gasStation-uni/pagesMy/signIn/index.vue @@ -97,20 +97,22 @@ }, methods: { goSignIn() { - request({ - url: 'business/integral/integralSettings/signInFunction', - method: 'post', - data: { - storeId: uni.getStorageSync("storeId"), - chainStoreId: uni.getStorageSync("chainStoreId") - } - }).then((res) => { - if (res.code == 200) { - console.log(res, 108); - this.show = true - this.getList() - } - }) + if (this.isSignIn == true) { + request({ + url: 'business/integral/integralSettings/signInFunction', + method: 'post', + data: { + storeId: uni.getStorageSync("storeId"), + chainStoreId: uni.getStorageSync("chainStoreId") + } + }).then((res) => { + if (res.code == 200) { + console.log(res, 108); + this.show = true + this.getList() + } + }) + } }, // 判断是否签到 getIsSignIn() { From 7ed57397c06af9600bf582553ff9c36195c76dd1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Wed, 9 Oct 2024 09:11:59 +0800 Subject: [PATCH 03/19] 10.9 --- fuintCashierWeb/src/views/details/index.vue | 19 ++++++------- .../details/userInfoOrder/couponList.vue | 8 ++++-- .../details/userInfoOrder/goodsOrder.vue | 25 +++++++++++++++-- .../userInfoOrder/growthValueRecord.vue | 25 +++++++++++++++-- .../views/details/userInfoOrder/oilOrder.vue | 25 +++++++++++++++-- .../details/userInfoOrder/oilStorageCard.vue | 27 ++++++++++++++++--- .../details/userInfoOrder/pointsRecord.vue | 25 +++++++++++++++-- .../details/userInfoOrder/storedCard.vue | 26 +++++++++++++++--- 8 files changed, 155 insertions(+), 25 deletions(-) diff --git a/fuintCashierWeb/src/views/details/index.vue b/fuintCashierWeb/src/views/details/index.vue index ad163c5b6..f1d9882d4 100644 --- a/fuintCashierWeb/src/views/details/index.vue +++ b/fuintCashierWeb/src/views/details/index.vue @@ -2112,6 +2112,15 @@ export default { display: flex; align-items: center; } +.gang{ + width: 2px; + height: 14px; + background: #FF9655; +} +.g-class{ + font-size: 14px; + margin-left: 6px; +} .sm-box{ font-size: 14px; color: #333333; @@ -2125,15 +2134,7 @@ export default { .rsw{ width: 25%; } -.gang{ - width: 2px; - height: 14px; - background: #FF9655; -} -.g-class{ - font-size: 14px; - margin-left: 6px; -} + .info-box{ display: flex; width: 100%; diff --git a/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue b/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue index f267c1f39..51179eb8c 100644 --- a/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue +++ b/fuintCashierWeb/src/views/details/userInfoOrder/couponList.vue @@ -1,5 +1,5 @@