wang_xy 1 年之前
父節點
當前提交
64fee587f9
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      songhua-ui/src/views/index/index.vue

+ 4 - 4
songhua-ui/src/views/index/index.vue

@@ -105,8 +105,8 @@
           <!--通知公告选项卡开始-->
           <div class="region_tab2">
             <div class="div_tab2">
-              <a @click="tabClick(1)">游船视图</a>
-              <a @click="tabClick(2)">游客视图</a>
+              <a @click="tabClick(1)" v-bind:class="regionInShowOne?'df_on':''">游船视图</a>
+              <a @click="tabClick(2)" v-bind:class="regionInShowTwo?'df_on':''">游客视图</a>
             </div>
             <div class="regionIn_tab2 one" v-if="regionInShowOne">
               <div class="bor">
@@ -246,8 +246,8 @@ export default {
       moreMeunSmalLeft_1:false,
       moreMeunSmalLeft_2:false,
       moreMeunSmalLeft_3:false,
-      regionInShowOne:true,
-      regionInShowTwo:false,
+      regionInShowOne:false,
+      regionInShowTwo:true,
     }
   },
   created() {