diff --git a/common/js/data.js b/common/js/data.js
index 9c3db58..ac1879e 100644
--- a/common/js/data.js
+++ b/common/js/data.js
@@ -50,7 +50,13 @@ const myInfo = {
id: 1,
title: '您的一笔订单金额已到帐',
ifHasNoReadNotice: true
- }
+ },
+ rate: '4.5',
+ balance: '200',
+ door24h: true,
+ warranty72h: true,
+ certification: true,
+ deposit: false
}
const myTeamInfo = {
@@ -356,6 +362,72 @@ const servDetail = {
serialCode: '20211007859098945',
createTime: '2021-10-07 16:15:46'
}
+
+const goodsList = [{
+ id: 1,
+ picUrl: '',
+ name: '高温清洗油烟机清洗服务',
+ comments: '侧吸式T形机油烟机清洗服务',
+ servArea: ['惠州市'],
+ salePrice: 165,
+ groupBuyDate: ["", ""],
+ isGoldenServ: true
+}, {
+ id: 1,
+ picUrl: '',
+ name: '高温清洗油烟机清洗服务',
+ comments: '侧吸式T形机油烟机清洗服务',
+ servArea: ['惠州市'],
+ salePrice: 165,
+ groupBuyDate: ["2021-03-20 20:10:10", "2021-05-10 10:10:10"],
+ isGoldenServ: false
+}, {
+ id: 1,
+ picUrl: '',
+ name: '高温清洗油烟机清洗服务',
+ comments: '侧吸式T形机油烟机清洗服务',
+ servArea: ['惠州市'],
+ salePrice: 165,
+ groupBuyDate: ["2021-03-20 20:10:10", "2021-05-10 10:10:10"],
+ isGoldenServ: false
+}, {
+ id: 1,
+ picUrl: '',
+ name: '高温清洗油烟机清洗服务',
+ comments: '侧吸式T形机油烟机清洗服务',
+ servArea: ['惠州市'],
+ salePrice: 165,
+ groupBuyDate: ["2021-03-20 20:10:10", "2021-05-10 10:10:10"],
+ isGoldenServ: false
+}]
+
+const areaObj = {
+ provinceList: [{
+ id: 1,
+ name: '广东省'
+ }],
+ cityList: [{
+ id: 1,
+ name: '深圳市'
+ }],
+ districtList: [{
+ id: 1,
+ name: '宝安区'
+ }],
+ streetList: [{
+ id: 1,
+ name: '松岗镇'
+ }],
+ communityList: [{
+ id: 1,
+ name: '意乐小区'
+ }]
+};
+
+const specsList = [{
+ id: 1,
+ name: '电脑式'
+}]
export default {
moduleBarInfos,
@@ -370,5 +442,8 @@ export default {
order,
myOrders,
timeRangeList,
- servDetail
+ servDetail,
+ goodsList,
+ areaObj,
+ specsList
}
diff --git a/common/js/request.js b/common/js/request.js
index 3f59cea..a562f16 100644
--- a/common/js/request.js
+++ b/common/js/request.js
@@ -110,5 +110,9 @@ export default {
// 页面存储用户登录有效信息,以便其他页面调用
uni.setStorageSync('userProfile', userInfo);
return true;
- }
+ },
+ getCurUserInfo() {
+ let userProfile = uni.getStorageSync('userProfile');
+ return userProfile;
+ },
}
diff --git a/components/uni-combox/my-uni-combox.vue b/components/uni-combox/my-uni-combox.vue
index 434ee05..f73b965 100644
--- a/components/uni-combox/my-uni-combox.vue
+++ b/components/uni-combox/my-uni-combox.vue
@@ -207,7 +207,7 @@
border: 1px solid #EBEEF5;
border-radius: 6px;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
- z-index: 2;
+ z-index: 3;
padding: 4px 0;
}
diff --git a/pages.json b/pages.json
index 854d42d..55ef2b3 100644
--- a/pages.json
+++ b/pages.json
@@ -1,6 +1,7 @@
{
"pages": [{
- "path": "pages/index/index"
+ // "path": "pages/index/index"
+ "path": "pages/my/new-serv"
}],
"subPackages": [{
"root": "pages/area-proxy/",
diff --git a/pages/index/index.vue b/pages/index/index.vue
index f79515f..577b9df 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,23 +1,26 @@
-
+
+
+
+
diff --git a/pages/my/goods-manage.vue b/pages/my/goods-manage.vue
new file mode 100644
index 0000000..bb7c90b
--- /dev/null
+++ b/pages/my/goods-manage.vue
@@ -0,0 +1,214 @@
+
+
+
+
+ 返回
+ 商品管理
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{good.name}}
+ {{good.salePrice}}
+ {{good.comments}}
+ 服务城市:{{good.servArea}}
+ 团购日期:
+
+
+
+
+
+
+ 金牌服务
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 社区入驻
+
+
+
+
+
+ 你可选择一个物业/楼盘作为入驻的社区,则你所有服务或商品将展示在该社区。社区服务属于一公里范围便利服务内容,你必须选择你驻点所在地入驻,以便提供快捷便利的社区服务。
+ 社区入驻:
+
+
+
+
+
+
+
+ 注:未创建的社区可在商城端创建再行入驻
+
+
+ 新增社区上架
+ 确认入驻社区
+
+
+
+
+
+
+
+
+
diff --git a/pages/my/new-serv.vue b/pages/my/new-serv.vue
new file mode 100644
index 0000000..ae9c0ed
--- /dev/null
+++ b/pages/my/new-serv.vue
@@ -0,0 +1,69 @@
+
+
+
+
+ 返回
+ 服务上架
+
+
+
+
+
+
+
+
+
diff --git a/style/default.css b/style/default.css
index 5d15ea4..23c93a0 100644
--- a/style/default.css
+++ b/style/default.css
@@ -244,6 +244,10 @@
.big-icon {
font-size: 111rpx !important;
}
+
+.middle-icon {
+ font-size: 65rpx !important;
+}
.line-input {
width: 100%;