161 lines
2.9 KiB
Vue
161 lines
2.9 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: 36rpx;"> </view>
|
|
</view>
|
|
<view @click="clickEvent(2)">
|
|
积分明细
|
|
<view :class="[active==2?'xian':'']" style="left: 36rpx;"> </view>
|
|
</view>
|
|
</view>
|
|
<view class="listStyle">
|
|
<!-- <image :src="require('')" 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: [],
|
|
form:{
|
|
page:1,
|
|
pageSize:10,
|
|
memberId:''
|
|
}
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.getlist()
|
|
},
|
|
methods: {
|
|
getlist() {
|
|
// member/queryMemberAccount
|
|
// get
|
|
|
|
// memberId string 必需 示例值: 11
|
|
// page string 必需 示例值: 1
|
|
// pageSize string
|
|
|
|
},
|
|
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> |