From e8edbd8f6af545a80ef580be9f5234c9e70d8681 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Sat, 25 Nov 2023 18:35:23 +0800 Subject: [PATCH] sd --- src/components/header.vue | 65 ++++++++--- src/router/index.js | 23 +++- src/view/Businesses.vue | 181 ++++++++++++++++++++++++++++ src/view/commodity.vue | 102 ++++++++++++---- src/view/finance.vue | 179 ++++++++++++++++++++++++++++ src/view/index.vue | 149 +++++++++++------------- src/view/option.js | 20 ++-- src/view/order.vue | 177 ++++++++++++++++++++++++++++ src/view/storeLogin.vue | 220 +++++++++++++++++++++++++++++++++++ src/view/townDetail.vue | 3 +- static/index/LOGO.png | Bin 0 -> 67713 bytes static/storeLogin/SPFKPH.png | Bin 0 -> 14886 bytes static/storeLogin/SPJGPH.png | Bin 0 -> 36517 bytes static/storeLogin/SPSL.png | Bin 0 -> 205401 bytes static/storeLogin/SPXSPH.png | Bin 0 -> 36330 bytes 15 files changed, 984 insertions(+), 135 deletions(-) create mode 100644 src/view/Businesses.vue create mode 100644 src/view/finance.vue create mode 100644 src/view/order.vue create mode 100644 src/view/storeLogin.vue create mode 100644 static/index/LOGO.png create mode 100644 static/storeLogin/SPFKPH.png create mode 100644 static/storeLogin/SPJGPH.png create mode 100644 static/storeLogin/SPSL.png create mode 100644 static/storeLogin/SPXSPH.png 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 @@