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}`, + }); + }, /** * 初始化信息 */