pujiaming hace 2 años
padre
commit
e86f9c4499
Se han modificado 3 ficheros con 33 adiciones y 5 borrados
  1. 4 4
      .env.development
  2. 28 0
      src/global.scss
  3. 1 1
      src/views/search.vue

+ 4 - 4
.env.development

@@ -1,8 +1,8 @@
 VITE_ENV = 'development',
 # VITE_PROJECT_NAME = 朱雀游戏中心
 VITE_PROJECT_NAME = 游戏中心
-# VITE_API_HOST = http://gm.coolpad.nkfzs.com/api/web
-VITE_API_HOST = http://gm.rose.nei.nkfzs.com/api/web
+VITE_API_HOST = http://gm.coolpad.nkfzs.com/api/web
+# VITE_API_HOST = http://gm.rose.nei.nkfzs.com//api/web
 # VITE_API_HOST = http://gm.nkfzs.com/api/web
-# VITE_LOGO: 'QingQue'
-VITE_LOGO: 'KuPai'
+VITE_LOGO: 'QingQue'
+# VITE_LOGO: 'KuPai'

+ 28 - 0
src/global.scss

@@ -476,3 +476,31 @@
         }
     }
 }
+@media (orientation: portrait ){
+    //竖屏CSS 
+    .main-wrap{
+        .search_cont{
+            .search_key{
+                // display: none!important;
+            }
+        }
+        .test{
+            display: block;
+
+        }
+    }
+   }
+@media ( orientation: landscape ){
+    //横屏CSS 
+    #header{
+        .wrap{
+            .mob-search{
+                display: none!important;
+            }
+            .user .el-dropdown-link{
+                width: 7rem!important;
+            }
+        }
+    }
+    
+}

+ 1 - 1
src/views/search.vue

@@ -39,7 +39,7 @@
         <el-divider v-else>没有更多了</el-divider>
       </div>
     </ul>
-    <van-empty v-else description="No Data" />
+    <van-empty v-else description="暂无数据" />
   </div>
 </template>