diff --git a/service-uniapp-client/pages.json b/service-uniapp-client/pages.json
index b650b3d..6beea02 100644
--- a/service-uniapp-client/pages.json
+++ b/service-uniapp-client/pages.json
@@ -173,6 +173,13 @@
{
"navigationBarTitleText" : "钱包提现"
}
+ },
+ {
+ "path" : "pages/mine/merchant",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
],
"globalStyle": {
diff --git a/service-uniapp-client/pages/index/center.vue b/service-uniapp-client/pages/index/center.vue
index ea8f04d..eade11f 100644
--- a/service-uniapp-client/pages/index/center.vue
+++ b/service-uniapp-client/pages/index/center.vue
@@ -96,6 +96,13 @@
+
+
+
+ 商家入驻
+
+
+
@@ -183,6 +190,13 @@
})
},
+ // 跳转页面
+ toUrl(){
+ uni.navigateTo({
+ url: '/pages/mine/merchant'
+ })
+ },
+
//跳转我的钱包页面
clickWallet() {
uni.navigateTo({
diff --git a/service-uniapp-client/pages/mine/merchant.vue b/service-uniapp-client/pages/mine/merchant.vue
new file mode 100644
index 0000000..cf1ff8b
--- /dev/null
+++ b/service-uniapp-client/pages/mine/merchant.vue
@@ -0,0 +1,320 @@
+
+
+
+
+
+
+
+
+
+
+ 商家招募
+
+ 打造专业的技术服务
+ 立即联系我们>>
+
+
+
+
+
+
+ 商家姓名
+
+
+
+
+ 联系方式
+
+
+
+
+ 请上传营业执照
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/service-uniapp-client/pages/mine/setting.vue b/service-uniapp-client/pages/mine/setting.vue
index 4d7ab29..4962bfe 100644
--- a/service-uniapp-client/pages/mine/setting.vue
+++ b/service-uniapp-client/pages/mine/setting.vue
@@ -164,7 +164,7 @@
.item-line .before {
width: 8rpx;
height: 30rpx;
- background: #4fd3bc;
+ background: #6e3009;
border-radius: 4rpx;
margin: 15rpx 12rpx 15rpx 0;
}
@@ -194,7 +194,7 @@
width: 596rpx;
height: 90rpx;
line-height: 90rpx;
- background: linear-gradient(180deg, #6fdfbe, #5ac796);
+ background: linear-gradient(178deg, #ffe6ed, #ecb978);
border-radius: 46rpx;
margin: 40rpx auto;
@@ -203,7 +203,7 @@
font-family: PingFang SC, PingFang SC-Regular;
font-weight: 400;
text-align: center;
- color: #ffffff;
+ color: #6e3009;
}
}
\ No newline at end of file
diff --git a/service-uniapp-client/plugins/api.js b/service-uniapp-client/plugins/api.js
index d8cce6e..75494a6 100644
--- a/service-uniapp-client/plugins/api.js
+++ b/service-uniapp-client/plugins/api.js
@@ -84,8 +84,11 @@ const config = {
getTenRealName : { url : '/order/getTenRealName' , method : 'GET' , auth : true},
//获取我推荐的技师记录
getTenFans : { url : '/order/getTenFans' , method : 'GET' , auth : true },
- //立即支付
+ //待支付订单,立即支付
immediatelyPay : { url : '/order/immediatelyPay' , method : 'POST' , auth : true },
+
+ //商家入驻
+ addOrUpdateShop : { url : '/post/addOrUpdateShop' , method : 'POST' , auth : true },
diff --git a/service-uniapp-technician/pages.json b/service-uniapp-technician/pages.json
index d819f5f..9e3691a 100644
--- a/service-uniapp-technician/pages.json
+++ b/service-uniapp-technician/pages.json
@@ -18,6 +18,12 @@
"navigationBarTitleText": ""
}
},
+ {
+ "path": "pages/mine/setting",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
{
"path": "pages/login/login",
"style": {
diff --git a/service-uniapp-technician/pages/index/center.vue b/service-uniapp-technician/pages/index/center.vue
index ea8e3ad..df357ed 100644
--- a/service-uniapp-technician/pages/index/center.vue
+++ b/service-uniapp-technician/pages/index/center.vue
@@ -11,10 +11,12 @@
{{ userInfo.notes }}
-
-
+
+
+
+
@@ -107,6 +109,12 @@
}
})
},
+ //跳转设置页面
+ toSetting() {
+ uni.navigateTo({
+ url: '/pages/mine/setting'
+ })
+ },
getConfig() {
this.$api('getConfig', {}, res => {
if (res.code == 200) {
diff --git a/service-uniapp-technician/pages/index/order.vue b/service-uniapp-technician/pages/index/order.vue
index e0b36cd..322f0f6 100644
--- a/service-uniapp-technician/pages/index/order.vue
+++ b/service-uniapp-technician/pages/index/order.vue
@@ -33,22 +33,22 @@
-
+
- {{ completedQuantity }}
+
已完成
- {{ confirmedQuantity }}
+
待确认
- {{ numberOfVisits }}
+
待上门
@@ -313,6 +313,14 @@
background-color: #f3f3f3;
font-family: PingFang SC;
}
+
+ .Quantity{
+ &>view{
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+ }
.rr {
height: 52rpx;
diff --git a/service-uniapp-technician/pages/mine/setting.vue b/service-uniapp-technician/pages/mine/setting.vue
new file mode 100644
index 0000000..923f64c
--- /dev/null
+++ b/service-uniapp-technician/pages/mine/setting.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改昵称
+
+
+ 用户昵称
+
+
+ 立即修改
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/service-uniapp-technician/plugins/api.js b/service-uniapp-technician/plugins/api.js
index db5857a..baf6338 100644
--- a/service-uniapp-technician/plugins/api.js
+++ b/service-uniapp-technician/plugins/api.js
@@ -108,6 +108,8 @@ const config = {
queryTerProject : { url : '/ter/queryTerProject' , method : 'POST' , auth : true },
//技师端-提现
giveWithdrawal : { url : '/order/giveWithdrawal' , method : 'POST' , auth : true },
+ //修改用户信息
+ editUserInfo : { url : '/ter/updateUser' , method : 'POST' , auth : true },
}
diff --git a/service-uniapp-technician/static/icons/icon8.png b/service-uniapp-technician/static/icons/icon8.png
index b7206a1..1097450 100644
Binary files a/service-uniapp-technician/static/icons/icon8.png and b/service-uniapp-technician/static/icons/icon8.png differ