From 31a5566dd7ff56a3405ce79a764cd9e3d63154c9 Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Wed, 23 Dec 2020 16:21:11 +0800
Subject: [PATCH] 排行榜
---
hive-app/pages/member/membershipCard.vue | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/hive-app/pages/member/membershipCard.vue b/hive-app/pages/member/membershipCard.vue
index d7a1e41..444ccd5 100644
--- a/hive-app/pages/member/membershipCard.vue
+++ b/hive-app/pages/member/membershipCard.vue
@@ -15,9 +15,9 @@
<text>有效期:2025-10-20</text>
</view>
</view>
- <view class="list-item">
+ <view class="list-item" v-for="item in 2">
<view class="list-header">
- <text class="name">会员卡</text>
+ <text class="name">双11拓客卡</text>
<text>NO 23564</text>
</view>
<view class="list-content">
@@ -54,12 +54,23 @@
padding: 10px 10px;
}
.list-item{
- background: #F0AD4E;
color: #FFFFFF;
font-size: 14px;
- padding: 12px 15px;
- border-radius: 4px;
+ padding: 20px 18px;
+ border-radius: 16px;
margin-bottom: 10px;
+ }
+ .list-item:nth-child(2n+1){
+ background: url(../../static/images/card-bg2.png) no-repeat;
+ background-size: cover;
+ }
+ .list-item:nth-child(2n+2){
+ background: url(../../static/images/card-bg3.png) no-repeat;
+ background-size: cover;
+ }
+ .list-item:nth-child(1){
+ background: url(../../static/images/card-bg1.png) no-repeat;
+ background-size: cover;
}
.list-header{
display: flex;
@@ -71,7 +82,7 @@
font-weight: bold;
}
.list-content{
- padding: 20px 0;
+ padding: 24px 0;
font-size: 30px;
}
.list-footer{
--
Gitblit v1.9.1