Merge remote-tracking branch 'origin/master'

This commit is contained in:
齐天大圣 2024-03-11 14:08:09 +08:00
commit ac40dd0fee
5 changed files with 30 additions and 18 deletions

View File

@ -162,7 +162,7 @@
chainStoreId: '', chainStoreId: '',
indicatorDots: true, indicatorDots: true,
autoplay: true, autoplay: true,
interval: 3500, interval: 3000,
duration: 500, duration: 500,
joinmsg: '', joinmsg: '',
msg: "1", msg: "1",

View File

@ -18,9 +18,17 @@
</view> </view>
<!-- 储值充值 --> <!-- 储值充值 -->
<view class="boxback" v-if="actinput == 0"> <view class="boxback" v-if="actinput == 0">
<view class="box_s" v-for="(item,index) in actList" :key="index"> <swiper class="swiper" style="width: 100%;height: 70px;" circular
:autoplay="autoplay" :interval="interval" :vertical="true" :duration="duration">
<swiper-item class="conttainer-box" v-for="(item,index) in actList" :key="index">
<view class="box_s">
{{item.discountActiveDescribe || ''}}
</view>
</swiper-item>
</swiper>
<!-- <view class="box_s" v-for="(item,index) in actList" :key="index">
{{item.discountActiveDescribe || ''}} {{item.discountActiveDescribe || ''}}
</view> </view> -->
<!-- <view style="display: flex; align-items: center; justify-content: space-around;"> <!-- <view style="display: flex; align-items: center; justify-content: space-around;">
<view class="" @click="types = 0"> <u-button type="primary" text="自定义金额"></u-button></view> <view class="" @click="types = 0"> <u-button type="primary" text="自定义金额"></u-button></view>
<view class="" @click="types = 1"> <u-button type="primary" :plain="true" text="金额选项"></u-button> <view class="" @click="types = 1"> <u-button type="primary" :plain="true" text="金额选项"></u-button>
@ -66,14 +74,14 @@
<view class="anniu" @click="addValueCarRecords()"> <view class="anniu" @click="addValueCarRecords()">
<text>立即充值</text> <text>立即充值</text>
</view> </view>
<view class="dibu" @click="goRechargeRecords()"> <view class="dibu" @click="goRechargeRecords(1)">
<view class="">充值记录</view> <view class="">充值记录</view>
<uni-icons type="right" color="#1678ff" size="14"></uni-icons> <uni-icons type="right" color="#1678ff" size="14"></uni-icons>
</view> </view>
<view class="box-hui"> <view class="box-hui">
<view style="margin-bottom: 15px;">服务说明</view> <view style="margin-bottom: 15px;">服务说明</view>
<view class="huisize">1.该服务为储蓄卡直充服务仅限本站使用</view> <view class="huisize">1.该服务为电子储值卡直充服务仅限本站使用</view>
<view class="huisize">2.请确认充值类型正确后再付款一经充值不支持退款 </view> <view class="huisize">2.请确认充值类型正确后再付款一经充值不支持退款 </view>
</view> </view>
</view> </view>
@ -122,14 +130,14 @@
<view class="anniu" @click="addFuleCarRecords()"> <view class="anniu" @click="addFuleCarRecords()">
<text>立即充值</text> <text>立即充值</text>
</view> </view>
<view class="dibu" @click="goRechargeRecords()"> <view class="dibu" @click="goRechargeRecords(2)">
<view class="">充值记录</view> <view class="">充值记录</view>
<uni-icons type="right" color="#1678ff" size="14"></uni-icons> <uni-icons type="right" color="#1678ff" size="14"></uni-icons>
</view> </view>
<view class="box-hui"> <view class="box-hui">
<view style="margin-bottom: 15px;">服务说明</view> <view style="margin-bottom: 15px;">服务说明</view>
<view class="huisize">1.该服务为储蓄卡直充服务仅限本站使用</view> <view class="huisize">1.该服务为电子囤油卡直充服务仅限本站使用</view>
<view class="huisize">2.请确认充值类型正确后再付款一经充值不支持退款 </view> <view class="huisize">2.请确认充值类型正确后再付款一经充值不支持退款 </view>
</view> </view>
</view> </view>
@ -222,6 +230,9 @@
shuomingFList: [], shuomingFList: [],
columns: [], columns: [],
actList: [], actList: [],
autoplay: true,
interval: 3000,
duration: 500,
taplist: [{ taplist: [{
title: '金额选项' title: '金额选项'
}, },
@ -270,7 +281,7 @@
}).then(res => { }).then(res => {
if (res.code == 200) { if (res.code == 200) {
console.log(res); console.log(res,111);
this.actList = res.data this.actList = res.data
} }
}) })
@ -582,7 +593,7 @@
this.cardValueList = [] this.cardValueList = []
if (res.code == 200) { if (res.code == 200) {
this.cardValueList = res.data.records this.cardValueList = res.data.records
console.log(res.data.records); console.log(res.data.records,22);
this.xzindex(0, res.data.records[0].rechargeBalance, res.data.records[0].fringeBenefit, this.xzindex(0, res.data.records[0].rechargeBalance, res.data.records[0].fringeBenefit,
res.data.records[0].giftBalance, res.data.records[0].points, res.data.records[0] res.data.records[0].giftBalance, res.data.records[0].points, res.data.records[0]
.growthValue, res.data.records[0] .growthValue, res.data.records[0]
@ -637,9 +648,9 @@
console.log(res) console.log(res)
}) })
}, },
goRechargeRecords() { goRechargeRecords(val) {
uni.navigateTo({ uni.navigateTo({
url: '/pagesMy/Recharge/Recharge' url: '/pagesMy/Recharge/Recharge?index='+val
}) })
}, },
// //

View File

@ -27,6 +27,8 @@
<view class="right-box"> <view class="right-box">
<view class="title">{{item.couponName}}</view> <view class="title">{{item.couponName}}</view>
<view class="hui-size">{{item.couponContent}}</view> <view class="hui-size">{{item.couponContent}}</view>
<view class="hui-size">使用条件:{{item.couponContent}}</view>
<view class="hui-size">使用说明:{{item.instruction}}</view>
<view class="dis-bt"> <view class="dis-bt">
<view class="hui-size">有效期{{item.endTime || ''}}</view> <view class="hui-size">有效期{{item.endTime || ''}}</view>
<view class="anniu" v-if="item.couponType == '优惠券'" <!-- <view class="anniu" v-if="item.couponType == '优惠券'" <!--
@ -95,8 +97,6 @@
name: '兑换券' name: '兑换券'
}, { }, {
name: '洗车券' name: '洗车券'
}, {
name: '洗车卡'
}] }]
} }

View File

@ -91,8 +91,12 @@
components: { components: {
}, },
onLoad() { onLoad(e) {
if (e.index){
console.log(e.index);
this.tindex = e.index
this.tapindex(e.index)
}
}, },
onShow() { onShow() {
this.getAllOrderList(); this.getAllOrderList();

View File

@ -75,9 +75,6 @@
{ {
text: "洗车券" text: "洗车券"
}, },
{
text: "洗车卡"
},
] ]