From d90ab960f659da61d2904a7789045d64b2a7fe3b Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Sat, 7 May 2022 19:12:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9D=E7=A6=81=E5=A3=B0=E7=BA=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/prohibited/details.vue | 42 ++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index 5d8f27f..6fd6519 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -44,7 +44,8 @@ - + + {{ item.speaker | toCapital }} @@ -52,7 +53,7 @@ - {{ item.username }} + {{item.username}} {{ item.speaker | toCapital }} {{conversionTiame(item.bg/1000)}} @@ -99,7 +100,8 @@ :data-speaker="item.speaker"> - + + {{ item.speaker | toCapital }} @@ -304,6 +306,38 @@ }, methods: { + SPEAKERSTYLE(index) { + let obj = { + color: '', + } + switch (index) { + case 1: + obj.color = '#60CBEC'; + break; + case 2: + obj.color = '#EC8B47'; + break; + case 3: + obj.color = '#4F861E'; + break; + case 5: + obj.color = '#4980C8'; + break; + case 6: + obj.color = '#60CBEC'; + break; + case 7: + obj.color = '#EC8B47'; + break; + case 8: + obj.color = '#4F861E'; + break; + default: + obj.color = '#9F61C8'; + break; + } + return obj + }, // 获取违禁词 findTabooWords() { this.$u.get('/customer/findTabooWords', { @@ -1246,7 +1280,7 @@ .content { margin-left: 0; margin-right: 30upx; - margin: 0 30upx; + // margin: 0 30upx; } .play {