liuyu 4 سال پیش
والد
کامیت
f6b15bb8fe
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      src/views/live/roomDetail.vue

+ 9 - 0
src/views/live/roomDetail.vue

@@ -75,6 +75,9 @@
       </van-tab>
     </van-tabs>
     <van-popup v-model="showQuest" position="bottom">
+      <van-col :span="24" class="questtitle">
+        <span>{{ questInfo.name }}</span>
+      </van-col>
       <van-col class="questpopup" :span="24" v-for="(item, index) in questInfo.question" :key="index">
         <p style="margin:5px 0;">
           {{ index + 1 }}({{ item.type == '0' ? '单选' : item.type == '1' ? '多选' : item.type == '2' ? '问答' : '未识别' }})、{{ item.topic }}
@@ -572,6 +575,12 @@ export default {
 .questpopup div {
   padding: 8px 0 0 5px;
 }
+.questtitle {
+  padding: 8px 0 0 5px;
+  text-align: center;
+  font-size: 18px;
+  font-weight: bold;
+}
 .questbtn {
   text-align: center;
   padding: 10px 0 15px 0;