diff --git a/src/components/header.vue b/src/components/header.vue index 9c7e1ea..7b52f2e 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -3,28 +3,45 @@
- - +
+ + +
+
+ + +
+
+ + +
+
+ + - - +
+
+ + - - - - - - - - - +
泸县
泸县
+ v-for="( item, index ) in [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] ">泸县
@@ -93,7 +110,7 @@ const choseTownFn = (id) => { height: 6vh; align-items: center; justify-content: space-between; - background-image: url('/static/index/TIT.png'); + background-image: url('/static/index/LOGO.png'); background-color: #000C14; background-size: cover; @@ -110,11 +127,25 @@ const choseTownFn = (id) => { align-items: center; margin-left: 120px; width: 50vw; + height: 100%; + // background-color: white; .tab-li { - width: 13%; - margin-right: 10px; + width: 8vw; + border-left: 1px solid #4AB9D0; + text-align: center; cursor: pointer; + height: 1.5vh; + position: relative; + // background-color: red; + + .tab-img { + position: absolute; + top: 50%; + left: 50%; + transform: (translate(-50%, -50%)); + + } } } diff --git a/src/router/index.js b/src/router/index.js index c6083d1..d3fe8f2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -16,7 +16,28 @@ const routes= [ name: 'commodity', component:()=>import('@/view/commodity.vue'), }, - + { + path: '/Businesses', + name: 'commBusinessesodity', + component:()=>import('@/view/Businesses.vue'), + }, + { + path: '/storeLogin', + name: 'storeLogin', + component:()=>import('@/view/storeLogin.vue'), + }, + { + path: '/order', + name: 'order', + component:()=>import('@/view/order.vue'), + }, + { + path: '/finance', + name: 'finance', + component:()=>import('@/view/finance.vue'), + }, + + ] const router = createRouter({ diff --git a/src/view/Businesses.vue b/src/view/Businesses.vue new file mode 100644 index 0000000..55791fd --- /dev/null +++ b/src/view/Businesses.vue @@ -0,0 +1,181 @@ + + + + + + + \ No newline at end of file diff --git a/src/view/commodity.vue b/src/view/commodity.vue index a5c9024..5d49748 100644 --- a/src/view/commodity.vue +++ b/src/view/commodity.vue @@ -1,14 +1,25 @@