diff --git a/components/coupon-pop/coupon-pop.vue b/components/coupon-pop/coupon-pop.vue
index 5591576..0fc3c94 100644
--- a/components/coupon-pop/coupon-pop.vue
+++ b/components/coupon-pop/coupon-pop.vue
@@ -23,7 +23,7 @@
- 恭喜抽中超神赏品!赠送{{ruleData.level_text}}
+ 恭喜抽中贵重赏品!赠送{{ruleData.level_text}}
diff --git a/pages/shouye/index.vue b/pages/shouye/index.vue
index 87554e7..f24e552 100644
--- a/pages/shouye/index.vue
+++ b/pages/shouye/index.vue
@@ -195,15 +195,15 @@
id: 9,
title: '枫岚赏'
},
-
+ {
+ id: 12,
+ title: '连击赏'
+ },
{
id: 8,
title: '领主赏'
},
- {
- id: 12,
- title: '冲冲赏'
- },
+
// {
// id: 3,
// title: '擂台赏'
diff --git a/pages/shouye/ranking.vue b/pages/shouye/ranking.vue
index d5791dc..d31e955 100644
--- a/pages/shouye/ranking.vue
+++ b/pages/shouye/ranking.vue
@@ -1,43 +1,55 @@
-
-
- 排行榜
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 30天流水消费排行
-
+
+
+
-
-
+ style="display: flex; flex-direction: row; align-items: center; margin-top:30rpx; border-radius: 14rpx; padding-top: 15rpx; padding-bottom: 15rpx;"
+ :style="{backgroundColor: setBgColor(index)}">
+
+
+
-
-
+
+
-
-
+
+
-
- {{index}}
+
+ {{index+1}}
-
-
+
+
+
{{item.nickname}}
- ID:{{item.user_id}}
-
- ¥{{item.price}}
+
+ {{item.price}}
@@ -53,6 +65,7 @@
return {
advert: [], //轮播图
list: [],
+ colors: ['#F8DE61', '#E0E0E0', '#E5967F', '#424145'],
}
},
onLoad() {
@@ -78,14 +91,25 @@
}
}
})
- }
+ },
+
+ setBgColor(index) {
+ if (index == 0) {
+ return this.colors[index];
+ } else if (index == 1) {
+ return this.colors[index];
+ } else if (index == 2) {
+ return this.colors[index];
+ } else {
+ return this.colors[3];
+ }
+ },
}
}