Merge branch 'main' of http://122.51.230.86:3000/dianliang/oil-station
This commit is contained in:
commit
db50b79180
@ -7,8 +7,12 @@
|
|||||||
<view class="r-num">{{ cardBalance.points || 0 }}</view>
|
<view class="r-num">{{ cardBalance.points || 0 }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tab-bs">
|
<view class="tab-bs">
|
||||||
<view class="w_box" @click="show1 = true">类型筛选 <u-icon name="arrow-down-fill"></u-icon> </view>
|
<view class="w_box" @click="show1 = true">类型筛选
|
||||||
<view class="w_box" @click="show = true">全部时间 <u-icon name="arrow-down-fill"></u-icon> </view>
|
<u-icon name="arrow-down-fill"></u-icon>
|
||||||
|
</view>
|
||||||
|
<view class="w_box" @click="show = true">全部时间
|
||||||
|
<u-icon name="arrow-down-fill"></u-icon>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bai_box" v-for="(item,index) in pointsList" :key="index">
|
<view class="bai_box" v-for="(item,index) in pointsList" :key="index">
|
||||||
<view class="left-img">
|
<view class="left-img">
|
||||||
@ -76,13 +80,14 @@
|
|||||||
</view> -->
|
</view> -->
|
||||||
<u-datetime-picker :show="show" v-model="value1" mode="year-month" @cancel="cancel1"
|
<u-datetime-picker :show="show" v-model="value1" mode="year-month" @cancel="cancel1"
|
||||||
@confirm="confirm1"></u-datetime-picker>
|
@confirm="confirm1"></u-datetime-picker>
|
||||||
<u-picker :show="show1" :columns="columns" @cancel="cancel" @confirm="confirm"></u-picker>
|
<u-picker :show="show1" :columns="columns" @cancel="cancel" keyName="label" @confirm="confirm"></u-picker>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import request from '../../utils/request'
|
import request from '../../utils/request'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -98,8 +103,44 @@
|
|||||||
show1: false,
|
show1: false,
|
||||||
value1: Number(new Date()),
|
value1: Number(new Date()),
|
||||||
columns: [
|
columns: [
|
||||||
['全部类型', '消费有礼', '充值有礼', '积分兑换', '开卡有礼', '邀请有礼', '生日有礼', '推荐会员充值有礼',
|
[{
|
||||||
'推荐会员推荐有礼', '每日签到', '大转盘抽奖', '九宫格抽奖'
|
label: '全部类型',
|
||||||
|
value: null
|
||||||
|
}, {
|
||||||
|
label: '消费有礼',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '充值有礼',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '积分兑换',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '开卡有礼',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '邀请有礼',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '生日有礼',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '推荐会员充值有礼',
|
||||||
|
value: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '推荐会员推荐有礼',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '每日签到',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '大转盘抽奖',
|
||||||
|
value: ''
|
||||||
|
}, {
|
||||||
|
label: '九宫格抽奖',
|
||||||
|
value: ''
|
||||||
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
queryParams: {
|
queryParams: {
|
||||||
@ -167,9 +208,9 @@
|
|||||||
confirm(e) {
|
confirm(e) {
|
||||||
this.queryParams.pageNo = 1
|
this.queryParams.pageNo = 1
|
||||||
if (e.value[0] == '全部类型') {
|
if (e.value[0] == '全部类型') {
|
||||||
this.queryParams.type = ""
|
this.queryParams.type = null
|
||||||
} else {
|
} else {
|
||||||
this.queryParams.type = e.value[0]
|
this.queryParams.type = e.value[0].type
|
||||||
}
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
this.show1 = false
|
this.show1 = false
|
||||||
|
Loading…
Reference in New Issue
Block a user