oil-station/gasStation-uni/pagesMy/integral/integral.vue

195 lines
4.1 KiB
Vue
Raw Normal View History

2024-08-16 18:26:19 +08:00
<template>
2024-09-18 17:24:51 +08:00
<view class="centenr">
<view class="Candywrapper">
<view class="card_box">
<view style="margin: 13px 0px;">当前积分</view>
<view class="r-num">123456.98</view>
</view>
<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="show = true">全部时间 <u-icon name="arrow-down-fill"></u-icon> </view>
2024-08-16 18:26:19 +08:00
</view>
2024-09-18 17:24:51 +08:00
<view class="bai_box">
<view class="left-img">
<image src="../../static/icon/hyxf.png" mode=""></image>
</view>
<view style="width: 85%;">
<view class="right-box">
<view class="l-text">会员消费</view>
<view class="r-text">-199.00</view>
2024-08-16 18:26:19 +08:00
</view>
2024-09-18 17:24:51 +08:00
<view class="right-box">
<view class="">储值卡</view>
<view class="">余额123456.98</view>
2024-08-16 18:26:19 +08:00
</view>
2024-09-18 17:24:51 +08:00
<view class="right-box">
<view class="">中建锦绣二期站</view>
<view class="">2024-09-09 16:45:09</view>
2024-08-16 18:26:19 +08:00
</view>
</view>
</view>
2024-09-18 17:24:51 +08:00
<view class="bai_box">
<view class="left-img">
<image src="../../static/icon/hycz.png" mode=""></image>
</view>
<view style="width: 85%;">
<view class="right-box">
<view class="l-text">会员消费</view>
<view class="r-text">-199.00</view>
</view>
<view class="right-box">
<view class="">储值卡</view>
<view class="">余额123456.98</view>
2024-08-16 18:26:19 +08:00
</view>
2024-09-18 17:24:51 +08:00
<view class="right-box">
<view class="">中建锦绣二期站</view>
<view class="">2024-09-09 16:45:09</view>
</view>
</view>
</view>
<view class="bai_box">
<view class="left-img">
<image src="../../static/icon/jfdh.png" mode=""></image>
2024-08-16 18:26:19 +08:00
</view>
2024-09-18 17:24:51 +08:00
<view style="width: 85%;">
<view class="right-box">
<view class="l-text">会员消费</view>
<view class="r-text">-199.00</view>
</view>
<view class="right-box">
<view class="">储值卡</view>
<view class="">余额123456.98</view>
</view>
<view class="right-box">
<view class="">中建锦绣二期站</view>
<view class="">2024-09-09 16:45:09</view>
2024-08-16 18:26:19 +08:00
</view>
</view>
</view>
2024-09-18 17:24:51 +08:00
<u-datetime-picker :show="show" v-model="value1" mode="datetime" @cancel="cancel1"></u-datetime-picker>
<u-picker :show="show1" :columns="columns" @cancel="cancel"></u-picker>
2024-08-16 18:26:19 +08:00
</view>
</view>
</template>
<script>
export default {
data() {
return {
2024-09-18 17:24:51 +08:00
show: false,
show1: false,
value1: Number(new Date()),
columns: [
['中国', '美国', '日本']
],
2024-08-16 18:26:19 +08:00
}
},
methods: {
2024-09-18 17:24:51 +08:00
cancel() {
this.show1 = false
2024-08-16 18:26:19 +08:00
},
2024-09-18 17:24:51 +08:00
cancel1() {
this.show = false
2024-08-16 18:26:19 +08:00
}
}
}
</script>
<style scoped lang="scss">
2024-09-18 17:24:51 +08:00
.centenr {
width: 100%;
height: 100vh;
background: #F9F9F9;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.Candywrapper {
background: #F9F9F9;
box-sizing: border-box;
padding: 10px;
}
.card_box {
2024-08-16 18:26:19 +08:00
width: 100%;
2024-09-18 17:24:51 +08:00
height: 90px;
background: url('../../static/imgs/jf.png') no-repeat;
background-size: 100% 100%;
2024-08-16 18:26:19 +08:00
box-sizing: border-box;
2024-09-18 17:24:51 +08:00
padding: 10px;
color: #fff;
font-size: 14px;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.r-size {
2024-08-16 18:26:19 +08:00
width: 100%;
display: flex;
align-items: center;
2024-09-18 17:24:51 +08:00
justify-content: flex-end;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.r-num {
font-weight: 600;
font-size: 20px;
color: #FFFFFF;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.tab-bs {
width: 100%;
2024-08-16 18:26:19 +08:00
display: flex;
align-items: center;
justify-content: space-between;
2024-09-18 17:24:51 +08:00
background: #fff;
margin: 15px auto;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.w_box {
width: 50%;
display: flex;
align-items: center;
justify-content: center;
2024-08-16 18:26:19 +08:00
box-sizing: border-box;
2024-09-18 17:24:51 +08:00
padding: 15px;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.bai_box {
width: 100%;
box-sizing: border-box;
padding: 15px 10px;
background: #fff;
display: flex;
align-items: center;
justify-content: space-between;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.left-img {
margin-right: 10px;
2024-08-16 18:26:19 +08:00
2024-09-18 17:24:51 +08:00
image {
width: 40px;
height: 40px;
}
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.right-box {
2024-08-16 18:26:19 +08:00
width: 100%;
2024-09-18 17:24:51 +08:00
display: flex;
align-items: center;
2024-08-16 18:26:19 +08:00
justify-content: space-between;
font-size: 12px;
2024-09-18 17:24:51 +08:00
color: #666666;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.l-text {
font-size: 16px;
color: #333333;
margin-bottom: 5px;
font-weight: bold;
2024-08-16 18:26:19 +08:00
}
2024-09-18 17:24:51 +08:00
.r-text {
font-size: 16px;
color: #333333;
margin-bottom: 5px;
font-weight: bold;
2024-08-16 18:26:19 +08:00
}
</style>