diff --git a/.gitignore b/.gitignore
index 7f32e4b..1f4db68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
.vscode
-node_modules
\ No newline at end of file
+node_modules
+unpackage
\ No newline at end of file
diff --git a/App.vue b/App.vue
index 1b2489c..91b6b40 100644
--- a/App.vue
+++ b/App.vue
@@ -1,18 +1,18 @@
+/*每个页面公共css */
+@import 'uview-ui/index.scss';
+
diff --git a/common/http.api.js b/common/http.api.js
index aa1fa72..b7fac75 100644
--- a/common/http.api.js
+++ b/common/http.api.js
@@ -8,7 +8,7 @@ const install = (Vue, vm) => {
return vm.$u.get("Streaming/getLiveSpec")
},
login({member_name,member_password}){
- return vm.$u.post("Login/login",{member_name,member_password})
+ return vm.$u.get("/Login/expertLogin",{member_name,member_password})
},
createLivesp({spec_name}){
return vm.$u.post("Streaming/createLivesp",{spec_name})
@@ -21,7 +21,19 @@ const install = (Vue, vm) => {
},
liveStreamList(){
return vm.$u.post("Streaming/liveStreamList")
- }
+ },
+ // 获取订单列表
+ getorderlist(){
+ return vm.$u.get("/Order/orderList")
+ },
+ // 获取轮播图列表
+ getswiper(){
+ return vm.$u.get("/Order/orderList")
+ },
+ // 商家登陆
+ shoplogin(obj){
+ return vm.$u.get("/Login/storeLogin",obj)
+ },
}
// 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下
vm.$u.api = api;
diff --git a/common/http.interceptor.js b/common/http.interceptor.js
index 5b4e2b9..4d23618 100644
--- a/common/http.interceptor.js
+++ b/common/http.interceptor.js
@@ -1,7 +1,7 @@
const install = (Vue, vm) => {
// 此为自定义配置参数,具体参数见上方说明
Vue.prototype.$u.http.setConfig({
- baseUrl: 'https://dmmall.sdbairui.com//storeapi',
+ baseUrl: 'https://dmmall.sdbairui.com/storeapi',
loadingText: '努力加载中~',
loadingTime: 800,
originalData: true,
diff --git a/package-lock.json b/package-lock.json
index 5f7bbf4..46ce289 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6,13 +6,8 @@
"dependencies": {
"uview-ui": {
"version": "1.5.2",
-<<<<<<< HEAD
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.5.2.tgz",
"integrity": "sha512-FV9G+gZTAZKEE2m85ahIbIRiC/fdzTl+eNXDIMBoyc9b+fQWQhEtmAfu6huu7AtKuTI6gfqaYn6WGcmqYvr76w=="
-=======
- "resolved": "https://registry.npm.taobao.org/uview-ui/download/uview-ui-1.5.2.tgz?cache=0&sync_timestamp=1594781920423&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuview-ui%2Fdownload%2Fuview-ui-1.5.2.tgz",
- "integrity": "sha1-4jDud0TIBjMJe74GU+IyvJSyAwk="
->>>>>>> fa383397b331ec0091096becf886f978cc1277fc
}
}
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 08b2f6d..fc85544 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,31 +1,35 @@
-
-
-
+
-
+
-
-
-
+
-
-
-
+
-
-
-
+
@@ -34,41 +38,37 @@
选择骑手
- {{ worker.company + " " + worker.name }}
-
+ {{ worker.company + ' ' + worker.name }}
+
-
+
请选择
投诉简介
-
+
- 确定
+ 确定
-
-
-
+
-
-
-
+
-
- 发布
+
+ 发布
@@ -84,45 +84,50 @@
-
+
直播
-
-
+
+
图文
-
+
视频
-
+
\ No newline at end of file
+
diff --git a/pages/login/login.vue b/pages/login/login.vue
index daf7028..4c79254 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -2,355 +2,425 @@
-
+
+ 德铭阳光在线-商家端
- 德铭阳光在线-商家端
- 账号登录
-
-
-
+
+
+ 商家登录
+
+
+ 达人登录
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- {{login}}
+
+
diff --git a/static/image/index/close.png b/static/image/index/close.png
new file mode 100644
index 0000000..cc1c185
Binary files /dev/null and b/static/image/index/close.png differ
diff --git a/static/image/index/live.png b/static/image/index/live.png
new file mode 100644
index 0000000..f01d90e
Binary files /dev/null and b/static/image/index/live.png differ
diff --git a/static/image/index/photo.png b/static/image/index/photo.png
new file mode 100644
index 0000000..8c1ae36
Binary files /dev/null and b/static/image/index/photo.png differ
diff --git a/static/image/index/publish.png b/static/image/index/publish.png
new file mode 100644
index 0000000..8c30bac
Binary files /dev/null and b/static/image/index/publish.png differ
diff --git a/static/image/index/swiper.png b/static/image/index/swiper.png
new file mode 100644
index 0000000..b1f6b57
Binary files /dev/null and b/static/image/index/swiper.png differ
diff --git a/static/image/index/video.png b/static/image/index/video.png
new file mode 100644
index 0000000..d55e0dd
Binary files /dev/null and b/static/image/index/video.png differ