diff --git a/src/project/biaopin/AppVillageHead/AppVillageHead.vue b/src/project/biaopin/AppVillageHead/AppVillageHead.vue index ee5ea2fd..406a435e 100644 --- a/src/project/biaopin/AppVillageHead/AppVillageHead.vue +++ b/src/project/biaopin/AppVillageHead/AppVillageHead.vue @@ -76,7 +76,7 @@ 热点话题
-
{{indexs+1}}.{{items.tag}}
+
{{indexs+1}}.{{items.tag}}
@@ -103,6 +103,20 @@ + +
+
+ 热点话题 +
+
+
+
{{item.user_name}}{{item.room_name}}
+
{{item.msg_send_time}}
+
{{item.content}}
+
+
+
+
@@ -138,6 +152,8 @@ export default { scrollTop: 0, scrollHeight: '', preveHeight: '', + showMask: false, + tagList: [] } }, computed: { @@ -306,6 +322,18 @@ export default { innerAudioContext.onStop(() => { this.messageList[index].isPlay = false }) + }, + getTagList(tag) { + this.$http.post(`/app/appmasssendingtaskbaidu/logsByTag?tag=${tag}`).then(res => { + if(res.code == 0) { + this.tagList = res.data + if(this.tagList.length) { + this.showMask = true + }else { + this.$u.toast('暂未查询到热点话题信息') + } + } + }) } }, } @@ -448,7 +476,7 @@ export default { line-height: 60px; font-family: PingFangSC-Regular; font-size: 28px; - color: #222; + color: #0D63F2; span { display: inline-block; margin-right: 16px; @@ -577,5 +605,55 @@ export default { } } } + .mask-content { + padding: 32px 32px 8px 32px; + box-sizing: border-box; + .mini-title { + line-height: 44px; + font-family: PingFangSC-Medium; + font-weight: 500; + font-size: 32px; + margin-bottom: 16px; + span { + display: inline-block; + width: 8px; + height: 32px; + background: #3975C6; + border-radius: 4px; + margin-right: 16px; + vertical-align: middle; + } + } + .list-info { + max-height: 800px; + overflow-y: scroll; + } + .item { + font-family: PingFangSC-Regular; + margin-bottom: 32px; + padding-left: 20px; + .name { + font-size: 28px; + color: #222; + line-height: 40px; + margin-bottom: 8px; + } + .time { + line-height: 28px; + font-size: 20px; + color: #999; + margin-bottom: 8px; + } + .content { + display: inline-block; + line-height: 44px; + font-size: 32px; + color: #333; + background: #C7E7FE; + border-radius: 8px 8px 8px 0; + padding: 14px 12px 14px 20px; + } + } + } }