From a16af0091ca22bfed4c52e701c5f39028e554ca9 Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Thu, 13 Oct 2022 19:21:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9D=E7=A6=81=E8=AF=A6=E6=83=85=E5=8A=A0?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/prohibited/details.vue | 67 +++++++++++++++++++++++++++-- 1 file changed, 64 insertions(+), 3 deletions(-) diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index cb461ad..bb589c7 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -68,6 +68,22 @@ + + + + + + + + {{dealword(subitem)[1]}} + + + @@ -328,6 +344,26 @@ }, methods: { + // 对话加命中标签 + dealTypes(type) { + if (type) { + let tem = type.split(',') + return tem + } else { + return [] + } + }, + // 对话加命中标签 + dealword(type) { + if (type) { + let a = type.split('-') + let rest = type.substring(2).split('-').join(',') + let arr = [a[0], rest] + return arr + } else { + return [] + } + }, // 获取违禁词 findTabooWords() { this.$u.get('/customer/findTabooWords', { @@ -1142,13 +1178,38 @@ color: #333333; } } + // 违禁正则标签 + .newmark { + margin: 30rpx 0 10rpx 120rpx; + .mark-item { + display: flex; + flex-wrap: wrap; + margin-bottom: 12rpx; + + .markicon { + width: 30rpx; + height: 30rpx; + margin-right: 12rpx; + } + + .marktext { + font-size: 24rpx; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3E50E8; + min-height: 30rpx; + line-height: 30rpx; + max-width: 420rpx; + text-align: left; + word-break: break-all; + } + } + } .text { - margin: 50upx 30upx; + margin: 0 30upx; display: flex; align-items: center; - - .avatar { margin-right: 24rpx; width: 64upx;