-
我的老乡
-
-
-
+ 我的卡券
+
+
+
+
+ -
+
+
¥{{ item.balance / 100 }}
+
卡券(元)
+
+
+
{{ item.couponName }}
+
+ 有效期至{{ item.pastDueTime }}
+
+
+ {{ item.typeName }}
+ {{ item.state1 }}
+
+
@@ -47,6 +115,7 @@ export default {
padding-bottom: 16px;
justify-content: space-between;
border-bottom: 1px solid rgba(77, 87, 94, 0.1);
+ margin-top: 16px;
margin-bottom: 16px;
span {
font-size: 20px;
@@ -68,4 +137,95 @@ export default {
}
}
}
+.cardbox {
+ ul {
+ li.used {
+ // 已使用和已过期的样式
+ background: #eeeeee;
+ border: 1px solid #cccccc;
+ > div:nth-of-type(1) {
+ h1 {
+ color: #999999;
+
+ span {
+ color: #999999;
+ }
+ }
+ p {
+ color: #999999;
+ }
+ }
+
+ > div:nth-of-type(4) {
+ background: #cccccc;
+ }
+ }
+ li {
+ // display: flex;
+ // justify-content: space-between;
+ // align-items: center;
+ position: relative;
+ margin-bottom: 16px;
+ height: 102px;
+ // width: 790px;
+ background-color: #fff1e7;
+ border: 1px solid #ff6a00;
+ border-radius: 8px;
+ div {
+ float: left;
+
+ vertical-align: middle;
+ // flex: 1;
+ }
+ > div:nth-of-type(1) {
+ margin-left: 52px;
+ margin-top: 16px;
+ color: #ff6a00;
+ h1 {
+ color: #ff6a00;
+ font-size: 44px;
+ font-weight: bold;
+ line-height: 44px;
+ span {
+ font-size: 32px;
+ }
+ }
+ p {
+ font-size: 16px;
+ text-align: right;
+ }
+ }
+ > div:nth-of-type(2) {
+ margin-top: 24px;
+ margin-left: 83px;
+ p:first-child {
+ font-size: 20px;
+ color: #4d575e;
+ }
+ p:last-child {
+ font-size: 16px;
+ color: #999999;
+ }
+ }
+ > div:nth-of-type(3) {
+ margin-top: 40px;
+ margin-left: 80px;
+ font-size: 16px;
+ color: #666666;
+ }
+ > div:nth-of-type(4) {
+ margin-top: 38px;
+ width: 68px;
+ height: 28px;
+ font-size: 14px;
+ line-height: 28px;
+ float: right;
+ color: #fff;
+ background: #ff6a00;
+ text-align: center;
+ border-radius: 96px 0px 0px 96px;
+ }
+ }
+ }
+}
diff --git a/src/components/userinfo/usercenter/components/myintegral.vue b/src/components/userinfo/usercenter/components/myintegral.vue
index 3834a2d..b00c6f9 100644
--- a/src/components/userinfo/usercenter/components/myintegral.vue
+++ b/src/components/userinfo/usercenter/components/myintegral.vue
@@ -1,5 +1,52 @@
- 我的积分
+
-
+
diff --git a/src/components/userinfo/usercenter/components/townsman.vue b/src/components/userinfo/usercenter/components/townsman.vue
index 65bf7e0..c2512dc 100644
--- a/src/components/userinfo/usercenter/components/townsman.vue
+++ b/src/components/userinfo/usercenter/components/townsman.vue
@@ -11,11 +11,28 @@
{{ text }}
+