diff --git a/jiuyi2/App.vue b/jiuyi2/App.vue
index 6553fd87..c7cfd3bc 100644
--- a/jiuyi2/App.vue
+++ b/jiuyi2/App.vue
@@ -1,122 +1,124 @@
\ No newline at end of file
diff --git a/jiuyi2/api/mine.js b/jiuyi2/api/mine.js
index 6eac9571..aa487d3f 100644
--- a/jiuyi2/api/mine.js
+++ b/jiuyi2/api/mine.js
@@ -404,7 +404,7 @@ const mine = {
method: 'POST',
})
},
-
+
/**
* 解锁他人评论
* @param {Object} param
@@ -416,6 +416,45 @@ const mine = {
method: 'POST',
})
},
+
+ /**
+ * 修改账号
+ * @param {Object} param
+ */
+ updateAccount(param) {
+ return util.request({
+ url: `/user/home/update/account`,
+ data: param.data,
+ method: 'POST',
+ load: true,
+ })
+ },
+
+ /**
+ * 修改手机号
+ * @param {Object} param
+ */
+ updatePhone(param) {
+ return util.request({
+ url: `/user/login/updatePhone`,
+ data: param.data,
+ method: 'POST',
+ load: true,
+ })
+ },
+
+ /**
+ * 修改登录密码
+ * @param {Object} param
+ */
+ updatePassword(param) {
+ return util.request({
+ url: `/user/login/updatePassword`,
+ data: param.data,
+ method: 'POST',
+ load: true,
+ })
+ },
}
export default mine
\ No newline at end of file
diff --git a/jiuyi2/api/shop.js b/jiuyi2/api/shop.js
index 3170fbde..80c4d1a7 100644
--- a/jiuyi2/api/shop.js
+++ b/jiuyi2/api/shop.js
@@ -240,9 +240,9 @@ const shop = {
*/
merchant(param) {
return util.request({
- url: `/shopify/merchant`,
+ url: `/shopify/appMerInfoApi/getMerDetail`,
method: 'GET',
- path: param.path,
+ query: param.query,
load: true,
})
},
diff --git a/jiuyi2/components/footerMenu/footerMenu.vue b/jiuyi2/components/footerMenu/footerMenu.vue
index 98132eb0..5e20aafa 100644
--- a/jiuyi2/components/footerMenu/footerMenu.vue
+++ b/jiuyi2/components/footerMenu/footerMenu.vue
@@ -224,20 +224,21 @@ function handleAlert(ev) {
// 获取未读消息数量
function getNoReadNum() {
- // 验证sdk是否准备完毕
- let isReady = uni.$chat.isReady();
- if (!isReady) {
- setTimeout(function () {
- getNoReadNum();
- }, 800);
- return
+ if (userinfo.value.isRealName) {
+ // 验证sdk是否准备完毕
+ let isReady = uni.$chat.isReady();
+ if (!isReady) {
+ setTimeout(function () {
+ getNoReadNum();
+ }, 800);
+ return
+ }
+
+ // #ifdef APP
+ const unreadCount = uni.$chat.getTotalUnreadMessageCount();
+ noReadNum.value = +unreadCount > 99 ? '99+' : unreadCount;
+ // #endif
}
-
- // #ifdef APP
- const unreadCount = uni.$chat.getTotalUnreadMessageCount();
- noReadNum.value = +unreadCount > 99 ? '99+' : unreadCount;
- // #endif
-
}
diff --git a/jiuyi2/components/shop/detail/footerMenu.vue b/jiuyi2/components/shop/detail/footerMenu.vue
index 3b92574e..6be67cd5 100644
--- a/jiuyi2/components/shop/detail/footerMenu.vue
+++ b/jiuyi2/components/shop/detail/footerMenu.vue
@@ -89,23 +89,26 @@ function handleBuy() {
// 客服
function toCustomer() {
- api.shop.getCustomerService({ merchantId: props.detail.merId }).then(rs => {
- if (rs.code == 200) {
- let param = {};
- param.type = 'C2C'
- param.name = `${props.detail.merName}`
- param.msgId = `${rs.data.serviceId}`
- param.isCustomer = true
-
- util.toChat(param)
-
- uni.navigateTo({
- url: util.setUrl('/pages/news/chat/chat', param)
- })
- } else {
- util.alert(rs.msg)
- }
+ uni.navigateTo({
+ url: util.setUrl('/pages/mine/setting/feedback')
})
+ // api.shop.getCustomerService({ merchantId: props.detail.merId }).then(rs => {
+ // if (rs.code == 200) {
+ // let param = {};
+ // param.type = 'C2C'
+ // param.name = `${props.detail.merName}`
+ // param.msgId = `${rs.data.serviceId}`
+ // param.isCustomer = true
+
+ // util.toChat(param)
+
+ // uni.navigateTo({
+ // url: util.setUrl('/pages/news/chat/chat', param)
+ // })
+ // } else {
+ // util.alert(rs.msg)
+ // }
+ // })
}
@@ -116,7 +119,7 @@ function toCustomer() {
-
- 修改账号
- {{userinfo.account}}
+
+ 修改账号
+
+ {{ userinfo.account }}
+
+
-
- 绑定手机号
- {{userinfo.phoneNumber}}
+
+ 修改手机号
+
+ {{ userinfo.phoneNumber }}
+
+
@@ -189,7 +195,7 @@
-
+
登录密码
@@ -222,7 +228,7 @@
好友验证方式
- {{allowType[allowTypeIndex].name}}
+ {{ allowType[allowTypeIndex].name }}
@@ -247,17 +253,17 @@
-
+
关于我们
-
+
用户协议
-
+
隐私政策
@@ -265,7 +271,7 @@
版本号
- {{appVersion}}
+ {{ appVersion }}
@@ -287,27 +293,27 @@
\ No newline at end of file
diff --git a/jiuyi2/pages/mine/setting/updateAccount.vue b/jiuyi2/pages/mine/setting/updateAccount.vue
new file mode 100644
index 00000000..16e85d3b
--- /dev/null
+++ b/jiuyi2/pages/mine/setting/updateAccount.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+ 账号
+
+
+
+
+
+ 提交
+
+
+
+
\ No newline at end of file
diff --git a/jiuyi2/pages/mine/setting/updatePhoneNum.vue b/jiuyi2/pages/mine/setting/updatePhoneNum.vue
new file mode 100644
index 00000000..27ab5390
--- /dev/null
+++ b/jiuyi2/pages/mine/setting/updatePhoneNum.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+ 手机号
+
+
+
+
+
+
+ 验证码
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
\ No newline at end of file
diff --git a/jiuyi2/pages/mine/userinfo.vue b/jiuyi2/pages/mine/userinfo.vue
index 77950510..b442422f 100644
--- a/jiuyi2/pages/mine/userinfo.vue
+++ b/jiuyi2/pages/mine/userinfo.vue
@@ -1,132 +1,144 @@
@@ -156,7 +168,7 @@
账号
- {{user.account}}
+ {{ user.account }}
@@ -171,7 +183,7 @@
生日
- {{user.birthday}}
+ {{ user.birthday }}
请选择
@@ -182,7 +194,7 @@
请选择
- {{gender[genderIndex].name}}
+ {{ gender[genderIndex].name }}
@@ -195,6 +207,14 @@
+
+ 邮箱
+
+
+
+
+
+
个性签名
@@ -213,26 +233,26 @@
\ No newline at end of file
diff --git a/jiuyi2/pages/news/group-chat/index.vue b/jiuyi2/pages/news/group-chat/index.vue
index 73632f91..e692657e 100644
--- a/jiuyi2/pages/news/group-chat/index.vue
+++ b/jiuyi2/pages/news/group-chat/index.vue
@@ -1,141 +1,151 @@
@@ -148,7 +158,7 @@
- {{item.remark || item.userNickname}}
+ {{ item.remark || item.userNickname }}
@@ -163,7 +173,7 @@
- 下一步
+ 下一步
@@ -199,26 +209,26 @@
\ No newline at end of file
diff --git a/jiuyi2/pages/shop/store/index.vue b/jiuyi2/pages/shop/store/index.vue
index 3e80c3d6..bb9d5819 100644
--- a/jiuyi2/pages/shop/store/index.vue
+++ b/jiuyi2/pages/shop/store/index.vue
@@ -1,68 +1,198 @@
@@ -71,25 +201,24 @@
-
+
-
-
+
- 店铺名称
+ {{ detail.name }}
@@ -101,7 +230,7 @@
- 123关注
+ {{ detail.followNum }}关注
@@ -109,13 +238,14 @@
-
-
- 关注
+
+
+ 已
+ 关注
-
+
客服
@@ -126,14 +256,46 @@
-
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+ ¥
+ {{ item.price }}
+
+
+ 销量:{{ item.sales }}
+
+
+
+
+
\ No newline at end of file