xuqiang 4 anni fa
parent
commit
f2abd9c108
1 ha cambiato i file con 13 aggiunte e 2 eliminazioni
  1. 13 2
      src/pages/Home.vue

+ 13 - 2
src/pages/Home.vue

@@ -18,7 +18,7 @@
                 <div class="box-top">
                     <div class="box-img" @click="showSeries('series')">
                         <p class="box-top-img"><img src="../static/imgs/home_icon_qihuan@3x.png" alt="" /></p>
-                        <p class="box-top-sp">切换卡</p>
+                        <p class="box-top-sp">切换卡牌种类</p>
                     </div>
                 </div>
 
@@ -99,6 +99,17 @@ export default {
             columns: []
         };
     },
+    // watch: {
+    //     search: {
+    //         handler: function(newVal) {
+    //             console.log(newVal);
+    //             if (newVal) {
+    //                 console.log(111);
+    //                 this.getData();
+    //             }
+    //         }
+    //     }
+    // },
     computed: {
         bgImg() {
             let info = [...this.columns].find(item => {
@@ -308,7 +319,7 @@ export default {
         margin-left: 20px;
     }
     .box-top {
-        width: 100px;
+        width: 130px;
         height: 36px;
         background: rgba(255, 255, 255, 0.16);
         border-radius: 8px;