This commit is contained in:
cun-nan 2024-03-11 13:29:22 +08:00
parent a389ac5d43
commit 17e470d9c4
2 changed files with 16 additions and 5 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 || ''}} {{item.discountActiveDescribe || ''}}
</view> </view>
</swiper-item>
</swiper>
<!-- <view class="box_s" v-for="(item,index) in actList" :key="index">
{{item.discountActiveDescribe || ''}}
</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>
@ -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]