diff --git a/buyer/src/api/member.js b/buyer/src/api/member.js index efa6255a..9ecdbb50 100644 --- a/buyer/src/api/member.js +++ b/buyer/src/api/member.js @@ -457,23 +457,21 @@ export function memberMsgList (params) { * 设置消息为已读 * @param {String} messageId 消息id */ - export function readMemberMsg (params) { + export function readMemberMsg (id) { return request({ - url: `/buyer/member/message`, + url: `/buyer/member/message/${id}`, method: Method.PUT, - needToken: true, - params + needToken: true }); } /** * 删除会员消息 * @param {String} messageId 消息id */ - export function delMemberMsg (params) { + export function delMemberMsg (id) { return request({ - url: `/buyer/member/message`, + url: `/buyer/member/message/${id}`, method: Method.DELETE, - needToken: true, - params + needToken: true }); } diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index 6fe90b0b..c3161388 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -17,15 +17,15 @@ export default { * @description api请求基础路径 */ api_dev: { - // common: 'http://192.168.0.109:8890', - // buyer: 'http://192.168.0.109:8888', - // seller: 'http://192.168.0.109:8889', - // manager: 'http://192.168.0.109:8887' + common: 'http://192.168.0.100:8890', + buyer: 'http://192.168.0.100:8888', + seller: 'http://192.168.0.100:8889', + manager: 'http://192.168.0.100:8887' - common: 'https://common-api.pickmall.cn', - buyer: 'https://buyer-api.pickmall.cn', - seller: 'https://store-api.pickmall.cn', - manager: 'https://admin-api.pickmall.cn' + // common: 'https://common-api.pickmall.cn', + // buyer: 'https://buyer-api.pickmall.cn', + // seller: 'https://store-api.pickmall.cn', + // manager: 'https://admin-api.pickmall.cn' }, api_prod: { common: 'https://common-api.pickmall.cn', diff --git a/buyer/src/pages/Merchant.vue b/buyer/src/pages/Merchant.vue index 78085e6f..a3cfc9c8 100644 --- a/buyer/src/pages/Merchant.vue +++ b/buyer/src/pages/Merchant.vue @@ -9,10 +9,12 @@

{{storeMsg.storeName || 'xx店铺'}}

-

+

+
+
+ {{storeCollected?'已收藏店铺':'收藏店铺'}} + 联系客服
-
{{storeCollected?'已收藏店铺':'收藏店铺'}}
- 联系客服
@@ -183,15 +185,25 @@ export default { position: relative; width: 100%; background-color: #666; - padding: 10px; + padding: 4px; color: #fff; >div{ display: flex; width: 1200px; margin: 0 auto; align-items: center; - >div{ + + img { + width: 80px; + } + + >div:nth-child(2){ margin-left: 10px; + flex: 1; + } + + >div:nth-child(3){ + width: 200px; } } img { @@ -202,14 +214,11 @@ export default { } p:nth-child(2){ font-size: 14px; + max-height: 40px; + max-width: 400px; } } -.store-collect{ - margin-left: 750px!important; - &:hover{ - cursor: pointer; - } -} + .store-category { background-color: #005aa0; color: #fff; diff --git a/buyer/src/pages/forgetPassword.vue b/buyer/src/pages/forgetPassword.vue index 322c6e50..2de0d5a0 100644 --- a/buyer/src/pages/forgetPassword.vue +++ b/buyer/src/pages/forgetPassword.vue @@ -1,14 +1,13 @@