lhl 3 lat temu
rodzic
commit
3bfb134469
3 zmienionych plików z 12 dodań i 12 usunięć
  1. 11 11
      src/App.vue
  2. BIN
      src/assets/img/logo2.png
  3. 1 1
      src/components/topLogo/TopLogo.vue

+ 11 - 11
src/App.vue

@@ -29,17 +29,17 @@ export default {
   	// }
   },
   methods: {
-  	  isMobile() {
-  	  	if(/android/i.test(navigator.userAgent)) {
-  	  		//document.write("This is Android'browser.");//这是Android平台下浏览器
-  	  		return true;
-  	  	}
-  	  	if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
-  	  		//document.write("This is iOS'browser.");//这是iOS平台下浏览器
-  	  		return true;
-  	  	}
-  	  	return false;
-  	  }
+  	  // isMobile() {
+  	  // 	if(/android/i.test(navigator.userAgent)) {
+  	  // 		//document.write("This is Android'browser.");//这是Android平台下浏览器
+  	  // 		return true;
+  	  // 	}
+  	  // 	if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
+  	  // 		//document.write("This is iOS'browser.");//这是iOS平台下浏览器
+  	  // 		return true;
+  	  // 	}
+  	  // 	return false;
+  	  // }
   }
 }
 </script>

BIN
src/assets/img/logo2.png


+ 1 - 1
src/components/topLogo/TopLogo.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="top">
-    <div class="logo"><img src="../../assets/img/logo1.png" alt="" /></div>
+    <div class="logo"><img src="../../assets/img/logo2.png" alt="" /></div>
   </div>
 </template>