oil-station/pos-uni/pagesHome/MemberRecharge/list.vue
2024-08-16 18:26:19 +08:00

135 lines
2.4 KiB
Vue

<template>
<view class="content">
<view class="container">
<headers :titles="titles"><u-icon name="arrow-left" color="#fff" size="22"></u-icon></headers>
<view class="box_" v-for="(item,index) in 8" :key="index">
<view class="h-box">
<view class="d-s">
<view class="t-size">会员名称</view>
<view class="h-size">景园</view>
</view>
<view class="lan-size">充值成功</view>
</view>
<view class="h-box">
<view class="d-s">
<view class="t-size">手机号</view>
<view class="h-size">138****9968</view>
</view>
<view class="lan-size">充值金额500.00</view>
</view>
<view class="h-box">
<view class="d-s">
<view class="t-size">账户余额</view>
<view class="h-size">932.88</view>
</view>
<view class="hui-size">2024/05/10 11:58</view>
</view>
</view>
</view>
</view>
</template>
<script>
import headers from '../../components/header/headers.vue'
export default {
data() {
return {
titles: "充值记录",
}
},
onShow() {
// this.actList = ["1", "1", "1", "1", "1", ]
// this.status = "nomore" 底部刷新结束
},
onPullDownRefresh() {
console.log("刷新");
uni.stopPullDownRefresh()
},
onReachBottom() {
// this.show = true
setTimeout(() => {
console.log("加载执行");
}, 2000)
},
components: {
headers
},
methods: {
goback() {
uni.navigateBack()
}
}
}
</script>
<style scoped lang="scss">
.content {
background: #F8F8F8;
// background: linear-gradient(180deg, #B2D2FC 0%, #B2D2FC 14%, rgba(255, 255, 255, 0.84) 24%, rgba(255, 255, 255, 0.84) 100%);
height: 100vh;
}
.container {
width: 100%;
background: #F8F8F8;
box-sizing: border-box;
padding-top: 88px;
}
.img-box {
image {
width: 100%;
height: 100%;
}
}
.box_ {
background: #FFFFFF;
width: 95%;
border-radius: 8px 8px 8px 8px;
box-sizing: border-box;
padding: 15px;
margin: 15px auto;
}
.h-box {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin: 10px auto;
}
.d-s {
display: flex;
align-items: center;
}
.hui-size {
font-weight: 500;
font-size: 14px;
color: #999999;
}
.lan-size {
font-weight: bold;
font-size: 14px;
color: #0864E9;
}
.t-size {
font-weight: 500;
font-size: 14px;
color: #333333;
}
.h-size {
font-weight: bold;
font-size: 14px;
color: #333333;
}
</style>