150 lines
2.7 KiB
Vue
150 lines
2.7 KiB
Vue
<template>
|
||
<!-- 账单明细 -->
|
||
<view>
|
||
<view class="bild">
|
||
<view class="bildLeft">
|
||
<text>充值金额</text>
|
||
<view>12</view>
|
||
</view>
|
||
<view class="bildRight">
|
||
<text>剩余次数(次)</text>
|
||
<view>12</view>
|
||
</view>
|
||
</view>
|
||
<view class="navTop">
|
||
<view @click="clickEvent(1)">
|
||
充值
|
||
<view :class="[active==1?'xian':'']" style="left: 8rpx;"> </view>
|
||
</view>
|
||
<view @click="clickEvent(2)">
|
||
消费
|
||
<view :class="[active==2?'xian':'']" style="left: 8rpx;"> </view>
|
||
</view>
|
||
</view>
|
||
<view class="listStyle">
|
||
<image :src="require('./1.png')" style="width: 76rpx;height: 76rpx;float: left;" mode=""></image>
|
||
<view class="listrigth">
|
||
<view>尚美养储值卡</view>
|
||
<view>2023-04-21 10:32:44</view>
|
||
</view>
|
||
<view class="listrigth2">
|
||
<view>尚美养储值卡2</view>
|
||
<view>2023-04-21 10:32:44</view>
|
||
</view>
|
||
</view>
|
||
<view class="listStyle">
|
||
<image :src="require('./1.png')" style="width: 76rpx;height: 76rpx;float: left;" mode=""></image>
|
||
<view class="listrigth">
|
||
<view>尚美养储值卡</view>
|
||
<view>2023-04-21 10:32:44</view>
|
||
</view>
|
||
<view class="listrigth2">
|
||
<view>尚美养储值卡</view>
|
||
<view>2023-04-21 10:32:44</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
active: 1,
|
||
list: []
|
||
}
|
||
},
|
||
onLoad() {
|
||
this.getlist()
|
||
},
|
||
methods: {
|
||
getlist() {
|
||
|
||
},
|
||
clickEvent(i) {
|
||
this.active = i
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style scoped lang="less">
|
||
.bild {
|
||
height: 488rpx;
|
||
background-image: url('https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/czmxbg.png');
|
||
display: flex;
|
||
justify-content: space-around;
|
||
align-items: center;
|
||
|
||
.bildLeft,
|
||
.bildRight {
|
||
font-weight: 400;
|
||
font-size: 32rpx;
|
||
|
||
>view,
|
||
>text {
|
||
text-align: center;
|
||
color: rgba(255, 255, 255, 0.7);
|
||
}
|
||
|
||
>view {
|
||
margin-top: 34rpx;
|
||
font-weight: bold;
|
||
}
|
||
}
|
||
}
|
||
|
||
.navTop {
|
||
display: flex;
|
||
justify-content: space-around;
|
||
align-items: center;
|
||
color: #fff;
|
||
margin-top: -50rpx;
|
||
padding: 0 120rpx;
|
||
|
||
>view {
|
||
position: relative;
|
||
|
||
.xian {
|
||
width: 58rpx;
|
||
height: 6rpx;
|
||
background: #F1CB66;
|
||
border-radius: 2rpx 2rpx 2rpx 2rpx;
|
||
position: absolute;
|
||
bottom: -6rpx;
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
.listStyle {
|
||
padding: 28rpx;
|
||
width: 100%;
|
||
|
||
.listrigth,
|
||
.listrigth2 {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding-left: 32rpx;
|
||
}
|
||
|
||
.listrigth {
|
||
>view {
|
||
font-weight: bold;
|
||
font-size: 32rpx;
|
||
color: #333333;
|
||
}
|
||
}
|
||
|
||
.listrigth2 {
|
||
margin-top: 6rpx;
|
||
|
||
>view {
|
||
font-weight: 500;
|
||
font-size: 24rpx;
|
||
color: #666666;
|
||
}
|
||
}
|
||
}
|
||
</style> |