<template>
|
<view class="container">
|
<view class="list-item">
|
<view class="list-header">
|
<text class="name">会员卡</text>
|
<text>NO 23564</text>
|
</view>
|
<view class="list-content">
|
<text>
|
¥<text class="ml-10">565,6789</text>
|
</text>
|
</view>
|
<view class="list-footer">
|
<text>赠送金额 ¥ 5656</text>
|
<text>有效期:2025-10-20</text>
|
</view>
|
</view>
|
<view class="list-item">
|
<view class="list-header">
|
<text class="name">会员卡</text>
|
<text>NO 23564</text>
|
</view>
|
<view class="list-content">
|
<text>
|
¥<text class="ml-10">565,6789</text>
|
</text>
|
</view>
|
<view class="list-footer">
|
<text>赠送金额 ¥ 5656</text>
|
<text>有效期:2025-10-20</text>
|
</view>
|
</view>
|
</view>
|
</template>
|
|
<script>
|
export default{
|
components:{
|
|
},
|
data(){
|
return {
|
|
}
|
},
|
methods:{
|
|
}
|
}
|
</script>
|
|
<style>
|
.container{
|
padding: 10px 10px;
|
}
|
.list-item{
|
background: #F0AD4E;
|
color: #FFFFFF;
|
font-size: 14px;
|
padding: 12px 15px;
|
border-radius: 4px;
|
margin-bottom: 10px;
|
}
|
.list-header{
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
.list-header .name{
|
font-size: 18px;
|
font-weight: bold;
|
}
|
.list-content{
|
padding: 20px 0;
|
font-size: 30px;
|
}
|
.list-footer{
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
</style>
|