Procházet zdrojové kódy

提交一次,然后更改项目配置

reghao před 4 roky
rodič
revize
299ae17fb3
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 2 0
      .gitignore
  2. 2 3
      src/layout/index.vue

+ 2 - 0
.gitignore

@@ -2,3 +2,5 @@
 node_modules/
 node_modules/
 
 
 .idea/
 .idea/
+
+dist/

+ 2 - 3
src/layout/index.vue

@@ -36,6 +36,7 @@
         <span style="cursor:pointer" @click="goToHome()">{{ this.$store.state.webInfo.name }}</span>
         <span style="cursor:pointer" @click="goToHome()">{{ this.$store.state.webInfo.name }}</span>
       </v-toolbar-title>
       </v-toolbar-title>
       <v-text-field
       <v-text-field
+        v-model="keyword"
         flat
         flat
         solo-inverted
         solo-inverted
         hide-details
         hide-details
@@ -94,13 +95,10 @@
       >
       >
         <v-icon left dark>mdi-account</v-icon> 登录
         <v-icon left dark>mdi-account</v-icon> 登录
       </v-btn>
       </v-btn>
-
     </v-app-bar>
     </v-app-bar>
 
 
     <v-main>
     <v-main>
-
       <router-view />
       <router-view />
-
     </v-main>
     </v-main>
   </div>
   </div>
 </template>
 </template>
@@ -115,6 +113,7 @@ export default {
   data: () => ({
   data: () => ({
     userInfo: {},
     userInfo: {},
     drawer: true,
     drawer: true,
+    keyword: '',
     items: [
     items: [
       { icon: 'mdi-home', text: '首页', link: '/' },
       { icon: 'mdi-home', text: '首页', link: '/' },
       { icon: 'mdi-trending-up', text: '时下流行', link: '/hot' },
       { icon: 'mdi-trending-up', text: '时下流行', link: '/hot' },