From 47c9ffc2d96616af096a52c336f076c75805a855 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Mon, 11 Mar 2024 15:59:18 +0800 Subject: [PATCH] bug --- .../pagesHome/oilRecharge/oilRecharge.vue | 53 ++++++++++++++----- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue index 60e688cc0..6900484de 100644 --- a/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue +++ b/gasStation-uni/pagesHome/oilRecharge/oilRecharge.vue @@ -89,19 +89,26 @@ - - + + + {{item.discountActiveDescribe || ''}} + + + + + - 油品:{{item.type}} - - 油号:{{item.oilType}} - - 单价¥{{item.incomeLitres}}元/升 - 总价¥{{item.rechargeBalance}}元 - - 升数:{{item.incomeLitres}}L - + {{item.oilType}} + + 国标油价{{item.gbPrice}}¥/L + 本站油价{{item.oilPrice}}¥/L + 锁价{{item.lockupPrice}}¥/L + 总升数{{item.incomeLitres || 0}}L + 总价¥{{item.rechargeBalance}} @@ -230,6 +237,7 @@ shuomingFList: [], columns: [], actList: [], + cardList: [], autoplay: true, interval: 3000, duration: 500, @@ -261,16 +269,17 @@ console.log('11111111111111', this.cardRecordId); if (option.id == 0) { this.getValueCars(); + this.activen() } if (option.id == 1) { console.log("囤油"); this.getFuelCars(); + this.getFuelCarList() } }, onShow() { this.getStaffList() - this.activen() }, methods: { @@ -625,6 +634,18 @@ } }) }, + //囤油卡 + getFuelCarList() { + request({ + url: 'business/marketingActivity/cardFuelDiesel/appletList?storeId='+uni.getStorageSync("storeId"), + method: 'get', + }).then(res => { + if (res.code == 200) { + console.log(res,111); + this.cardList = res.data + } + }) + }, //礼品卡兑换 exchangeGift() { request({ @@ -822,6 +843,12 @@ //color: #e2e2e2; text-align: center; } + .min-size1 { + font-size: 12px; + //color: #e2e2e2; + text-align: center; + margin: 0 5px; + } .actbox { border: 1px solid #1678ff;