diff --git a/components.d.ts b/components.d.ts index 6ec3ac5..e6aff74 100644 --- a/components.d.ts +++ b/components.d.ts @@ -22,6 +22,7 @@ declare module 'vue' { ElInput: typeof import('element-plus/es')['ElInput'] ElOption: typeof import('element-plus/es')['ElOption'] ElRadio: typeof import('element-plus/es')['ElRadio'] + ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElRow: typeof import('element-plus/es')['ElRow'] ElSelect: typeof import('element-plus/es')['ElSelect'] diff --git a/src/api/login.js b/src/api/login.js index 8bf8acb..b1da2e1 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -88,7 +88,7 @@ export function GetPostion (params){ params.isFilter = true return new Promise((resolve, reject) => { http({ - url:'/api/mobile/account/shop/merch/baidu/place/v2/suggestion', + url:'/api/mobile/shop/merch/baidu/place/v2/suggestion', method:'get', params, }).then(res=>{ @@ -148,7 +148,7 @@ export function merchApply(params){ } console.log("这是数据",form); http({ - url:'/api/mobile/account/shop/merch/apply', + url:'/api/mobile/shop/merch/apply', method:'post', data:form }).then(res=>{ diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 6b60936..b32cd3d 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -76,16 +76,16 @@ html{ width: 100%; height: 70px; background-color: #fff; - box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); + box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1); z-index: 1000; } .header-list .el-row{ width: 100%; - max-width: 1200px; + max-width: 1440px; margin: auto; } .header-top { - max-width: 1200px; + max-width: 1440px; width: 100%; height: 70px; margin: auto; @@ -101,8 +101,8 @@ html{ } .logo a { background: url("../../assets/image/xiaofa_logo.png"); - width: 60px; - height: 60px; + width: 48px; + height: 48px; display: inline-block; background-size: contain; outline: none; @@ -117,12 +117,12 @@ html{ } .header-menu { display: flex; - justify-content: center; } .header-menu li { margin: 0 30px; list-style: none; position: relative; + color: #333; } .header-menu a { @@ -131,7 +131,6 @@ html{ } .header-menu li span { font-size: 16px; - font-weight: 700; } /* 伪元素添加下滑选中线 */ .header-menu li:hover span{ @@ -157,6 +156,7 @@ html{ .header-right { display: flex; + justify-content: flex-end; } .header-right .start { @@ -170,14 +170,11 @@ html{ margin-right: 20px; } .header-right .login .login-button { - border-radius: 20px; } .header-right .logout { margin-right: 20px; } .header-right .logout .logout-button { - background-color: red; - border-radius: 20px; border: none; } diff --git a/src/views/HeadMenu.vue b/src/views/HeadMenu.vue index b051290..b08b018 100644 --- a/src/views/HeadMenu.vue +++ b/src/views/HeadMenu.vue @@ -3,7 +3,7 @@
- + @@ -19,18 +19,18 @@
- + 免费开店
- + 退出登录
diff --git a/src/views/start/start.vue b/src/views/start/start.vue index a49c64d..0cf5cca 100644 --- a/src/views/start/start.vue +++ b/src/views/start/start.vue @@ -1,17 +1,14 @@ - \ No newline at end of file + diff --git a/vite.config.ts b/vite.config.ts index 0a4b767..23a092f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ // base:'./', plugins: [ vue(), - vueDevTools(), + // vueDevTools(), AutoImport({ resolvers: [ElementPlusResolver()], }),