diff --git a/api/admin.js b/api/admin.js index 0908c65..a86ab71 100644 --- a/api/admin.js +++ b/api/admin.js @@ -234,4 +234,10 @@ export function computeRefundPrice(merId,data) { */ export function scanUpload(field,token,data) { return request.post(`scan_upload/image/${field}/${token}`,data, { login: true }); +} +/** + * 查询商户信息 + */ +export function getAdminInfo(merId) { + return request.get(`server/${merId}/store/info`, {}, { login: true }); } \ No newline at end of file diff --git a/pages.json b/pages.json index 1de6754..5d5982c 100644 --- a/pages.json +++ b/pages.json @@ -673,6 +673,12 @@ "navigationBarTitleText": "商家管理" } }, + { + "path": "shopInfo/index", + "style": { + "navigationBarTitleText": "商家信息" + } + }, { "path": "orderDetail/index", "style": { diff --git a/pages/admin/business/index.vue b/pages/admin/business/index.vue index 0181ee5..560ef46 100644 --- a/pages/admin/business/index.vue +++ b/pages/admin/business/index.vue @@ -74,7 +74,7 @@ if(this.service.is_goods){ list.push({ title: '基本信息', - url: '/pages/product/list/index?mer_id=' + merId, + url: '/pages/admin/shopInfo/index?mer_id=' + merId, icon: 'haiyuefont haiyue-info' }); } diff --git a/pages/admin/shopInfo/index.vue b/pages/admin/shopInfo/index.vue new file mode 100644 index 0000000..3f72053 --- /dev/null +++ b/pages/admin/shopInfo/index.vue @@ -0,0 +1,408 @@ + + + + + + + diff --git a/pages/shop/index.vue b/pages/shop/index.vue index b1684d9..f2eed5a 100644 --- a/pages/shop/index.vue +++ b/pages/shop/index.vue @@ -17,7 +17,7 @@ - + {{item.category_name}} @@ -39,7 +39,6 @@ - {{item.service_score}}分 营业时间:{{item.config.mer_take_time.join('-')}}