| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <template>
- <view>
- <view class="top-menu">
- <view class="">
- <text>1600</text>
- <text>会员数量</text>
- </view>
- <view class="">
- <text>1600.00</text>
- <text>积分总价值</text>
- </view>
- </view>
- <view class="padding-20 text-bold text-xl">
- <text>会员列表</text>
- </view>
- <view class="card">
- <view class="flex">
- <view class="area1 title">
- 会员名称
- </view>
- <view class="area2 title">
- 积分数
- </view>
- <view class="area3 title">
- 价值
- </view>
- </view>
- <view class="item" v-for="(item,index) in 4" :key="index">
- <view class="area1 flex text-bold">
- <image class="img-avatar" src="https://thirdwx.qlogo.cn/mmopen/vi_32/q6EwR5U6zFp8bYbUWb9HmFc5Q3R88x13Q0ZtOcVK5lO8AmtibQDRcuMA2Y7CmyuMCr6icceM3QibIKN2icAAxSvjpA/132"></image>
- <view class="center padding-left-10">
- <text>会员 123456</text>
- </view>
- </view>
- <view class="area2 center text-bold text-lg" style="justify-content: flex-start;margin-left: 10rpx;color: #F37A1E;">
- <image class="img-points" src="../../static/icon/points-value.png"></image>
- <text class="margin-left-10">-100</text>
- </view>
-
- <view class="area3 center text-lg" >
- <text class="text-price text-bold">10</text>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- .top-menu {
- border-radius: 20rpx;
- margin: 30rpx 20rpx;
- padding: 50rpx;
- display: flex;
- justify-content: space-around;
- background-image: linear-gradient(to right, #272A46, #30355D);
- view {
- display: flex;
- flex-direction: column;
- text-align: center;
- text:first-child {
- margin-bottom: 10rpx;
- color: #FFFFFF;
- font-weight: 800;
- font-size: 40rpx;
- }
- text:last-child {
- font-size: 26rpx;
- color: #D0D4EE;
- }
- }
- }
- .card {
- width: 100%;
- background-color: #FFFFFF;
- padding: 30rpx;
- font-size: 26rpx;
- .text-area {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- }
- .title {
- padding-left: 20rpx;
- color: #666666;
- }
- .area1 {
- width: 50%;
- }
- .area2 {
- width: 30%;
- }
- .area3 {
- width: 20%;
- }
- .item {
- padding: 30rpx 20rpx;
- display: flex;
- border-bottom: 1rpx solid #DDDDDD;
- .img-avatar {
- width: 70rpx;
- height: 70rpx;
- border-radius: 50%;
- }
- .img-points {
- width: 35rpx;
- height: 35rpx;
- }
- }
- }
- </style>
|