From 3f19fc8c154d4c72eb58913453355eb09de9dcf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 11 Aug 2021 17:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=97=E9=93=BA=E8=90=A5?= =?UTF-8?q?=E4=B8=9A=E6=89=A7=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/store.js | 16 ++++++++++ manifest.json | 4 +-- pages.json | 5 +++ pages/product/licencePhoto.vue | 56 ++++++++++++++++++++++++++++++++++ pages/product/shopPage.vue | 8 ++++- 5 files changed, 86 insertions(+), 3 deletions(-) create mode 100644 pages/product/licencePhoto.vue diff --git a/api/store.js b/api/store.js index 56b41eb..9b6b2ec 100644 --- a/api/store.js +++ b/api/store.js @@ -38,3 +38,19 @@ export function getstoreList(params) { method: Method.GET, }); } + + +/** + * 营业执照 + * @param id + */ + export function getLicencePhoto(id) { + return http.request({ + url: `/store/get/licencePhoto/${id}`, + method: Method.GET, + }); +} + + + + diff --git a/manifest.json b/manifest.json index 777f3ba..d69ffb3 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "lili商城", "appid" : "__UNI__C100675", "description" : "", - "versionName" : "4.0.26", - "versionCode" : 4000026, + "versionName" : "4.0.28", + "versionCode" : 4000028, "transformPx" : false, "app-plus" : { "compatible" : { diff --git a/pages.json b/pages.json index 0c3f55d..c0a7383 100644 --- a/pages.json +++ b/pages.json @@ -340,6 +340,11 @@ "navigationBarTitleText": "", "navigationStyle": "custom" } + },{ + "path": "licencePhoto", + "style": { + "navigationBarTitleText": "营业执照" + } },{ "path": "shopPageGoods", "style": { diff --git a/pages/product/licencePhoto.vue b/pages/product/licencePhoto.vue new file mode 100644 index 0000000..72efc3a --- /dev/null +++ b/pages/product/licencePhoto.vue @@ -0,0 +1,56 @@ + + + + + \ No newline at end of file diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index 7001052..1d76353 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -8,8 +8,9 @@
-
+
{{ storeInfo.storeName || ''}} +
{{ storeInfo.collectionNum || 0 }}关注
@@ -154,6 +155,11 @@ export default { }, methods: { + getStoreLicencePhoto() { + uni.navigateTo({ + url: `/pages/product/licencePhoto?id=${this.storeId}`, + }); + }, /** * 初始化信息 */