guhongwei há 4 anos atrás
pai
commit
9c63c7624a
1 ficheiros alterados com 10 adições e 2 exclusões
  1. 10 2
      src/views/statistics/detail.vue

+ 10 - 2
src/views/statistics/detail.vue

@@ -5,7 +5,7 @@
         <template #header>
           <span>{{ quest.name }}</span>
           [<span>完成度:</span><span>{{ questionAnswer.percentage }}%</span> <span>已答:</span><span>{{ questionAnswer.yesAnswer }}</span> <span>未答:</span
-          ><span @click="nostuBtn()">{{ questionAnswer.noAnswer }}</span
+          ><span @click="nostuBtn()" class="nostu">{{ questionAnswer.noAnswer }}</span
           >]
         </template>
         <el-tabs v-model="tabs" :stretch="true" type="card">
@@ -263,4 +263,12 @@ export default {
 };
 </script>
 
-<style lang="less" scoped></style>
+<style lang="less" scoped>
+.nostu {
+  color: #ff0000;
+  font-weight: bold;
+}
+.nostu:hover {
+  cursor: pointer;
+}
+</style>