diff --git a/env/.env.dev b/env/.env.dev index 7729bb7..f15b960 100644 --- a/env/.env.dev +++ b/env/.env.dev @@ -8,9 +8,9 @@ VITE_API_URL = '/proxyApi' # VITE_proxyTarget = 'http://10.40.92.74:8080' #盛旭 # VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅 -VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超 +# VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超 # VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务 -# VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务 +VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务 # VITE_proxyTarget = 'http://192.168.2.72:28080' # 盛旭 # VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型) diff --git a/src/assets/img/home/swiper05.png b/src/assets/img/home/swiper05.png new file mode 100644 index 0000000..fcb90b9 Binary files /dev/null and b/src/assets/img/home/swiper05.png differ diff --git a/src/components/header/index.vue b/src/components/header/index.vue index 99f4b2d..0bccdb9 100644 --- a/src/components/header/index.vue +++ b/src/components/header/index.vue @@ -110,7 +110,7 @@ $bus.on('callBackText', (val) => { // 角色切换按钮 const onRolesCheck = () => { - isRolesSelect.value = true + isRolesSelect.value = !isRolesSelect.value } // 选择角色 const onSelectRoles = (type: number) => { @@ -160,87 +160,97 @@ const isMyInfoPage = () => {
- @@ -253,26 +263,34 @@ const isMyInfoPage = () => { left: 0; z-index: 999; - .header-user-info { - background-color: #f5f5f5; - } - /* 头部个人信息部分 */ .header-box { - height: 37px; + height: 47px; display: flex; align-items: center; - justify-content: flex-end; + justify-content: space-between; + + .header-right { + display: flex; + align-items: center; + justify-content: flex-end; + } } .header-item { - height: 37px; + height: 47px; display: flex; align-items: center; color: #6d6d6d; font-size: 14px; cursor: pointer; + .line { + width: 1px; + height: 15px; + background-color: #666655; + } + .user-name:hover { color: #6d6d6d; } @@ -283,7 +301,7 @@ const isMyInfoPage = () => { a { padding: 0 20px; - border-right: 1px solid #666655; + // border-right: 1px solid #666655; } a:hover { diff --git a/src/layout/header.vue b/src/layout/header.vue index 09ae145..4f807b0 100644 --- a/src/layout/header.vue +++ b/src/layout/header.vue @@ -156,7 +156,7 @@ $bus.on('callBackText', (val) => { // 角色切换按钮 const onRolesCheck = () => { if (isAdmin.value) return - isRolesSelect.value = true + isRolesSelect.value = !isRolesSelect.value } // 选择角色 const onSelectRoles = (type: number) => { diff --git a/src/views/cart/index.vue b/src/views/cart/index.vue index f3d605c..0048e89 100644 --- a/src/views/cart/index.vue +++ b/src/views/cart/index.vue @@ -1,5 +1,7 @@