diff --git a/src/main.ts b/src/main.ts index 0cefb63..1c1e135 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,14 +51,12 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) { const useThemeStore = themeStore() useThemeStore.initTheme() const ua = navigator.userAgent.toLowerCase() - -// console.log(ua,'ua'); - const isMobile = /iphone|android|ipad|mobile/.test(ua) - if (isMobile) { console.log('手机端') - + // location.href = import.meta.env.VITE_APP_MOBILE_URL } else if (!isMobile) { console.log('电脑端') + // location.href = import.meta.env.VITE_APP_PC_URL + } diff --git a/src/styles/index.scss b/src/styles/index.scss index 9b4f157..956d436 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -9,8 +9,8 @@ --el-color-primary: #0BD7C6; } .container-1420{ - width: 375px; - margin: 0 auto; + // width: 375px; + // margin: 0 auto; // background-color: #c2acac; } .container-100{