Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/home/index.vue
aaa 3 years ago
parent
commit
9805a5106d
3 changed files with 112 additions and 184 deletions
  1. 102 181
      package-lock.json
  2. 9 2
      src/App.vue
  3. 1 1
      src/views/home/index.vue

File diff suppressed because it is too large
+ 102 - 181
package-lock.json


+ 9 - 2
src/App.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div :class="{ fullscreen: isFullscreen }">
     <template>
       <transition name="router-fade" mode="out-in">
         <keep-alive>
@@ -17,7 +17,9 @@
 export default {
   name: "app",
   data() {
-    return {};
+    return {
+      isFullscreen: false // 是否全屏
+    };
   }
 };
 </script>
@@ -30,4 +32,9 @@ export default {
 .router-fade-leave-to {
   opacity: 0;
 }
+.fullscreen {
+  .van-nav-bar {
+    background-color: red;
+  }
+}
 </style>

+ 1 - 1
src/views/home/index.vue

@@ -8,7 +8,7 @@
       bind:click-right=""
     >
     </van-nav-bar> -->
-    <div class="dropdown-div">
+    <div v-show="activeTabName === 0" class="dropdown-div">
       <van-dropdown-menu active-color="#1989fa">
         <van-dropdown-item
           v-model="engineeringWorkChooseValue"

Some files were not shown because too many files changed in this diff