diff --git a/api/farmer.js b/api/farmer.js
new file mode 100644
index 0000000..0828822
--- /dev/null
+++ b/api/farmer.js
@@ -0,0 +1,19 @@
+import request from "@/utils/request";
+
+export function getFarmerShop(id) {
+ return request.get("/countyFamous/farmerShop/" + id)
+}
+
+export function setFarmerShopZan(data) {
+ return request.post("/countyFamous/farmerShop/zan", data)
+}
+
+export function getFarmerShopNews(data) {
+ return request.get("/countyFamous/farmerShop/news", data)
+}
+
+
+export function getFarmerShopQualification(data) {
+ return request.get("/countyFamous/farmerShop/qualification", data)
+}
+
diff --git a/pages.json b/pages.json
index 20741c1..c5c74ee 100644
--- a/pages.json
+++ b/pages.json
@@ -405,6 +405,13 @@
"navigationStyle": "custom"
}
},
+ {
+ "path": "inn/farmerStore",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },
{
"path": "inn/innGoodList",
"style": {
diff --git a/pagesInn/inn/farmerStore.vue b/pagesInn/inn/farmerStore.vue
new file mode 100644
index 0000000..f0fd3b8
--- /dev/null
+++ b/pagesInn/inn/farmerStore.vue
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ store.name }}
+
+
+ {{ store.cityName }}
+
+
+
+
+
+
+
+
+
+ {{ store.ownerName }}/店主
+
+ 保证金:{{ store.guaranteeValue }}元
+
+
+
+
+
+ {{ store.zan }}
+
+
+
+ {{ store.zan }}
+
+
+
+
+
+ {{ store.favoriteCount }}
+
+
+
+
+
+
+
+
+ {{ store.content }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ store.address }}
+
+
+
+
+ 导航
+
+
+
+ 客服
+
+
+
+
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.productName }}
+
+
+ ¥{{ item.productPrice }}
+
+
+
+
+
+
+ 店主还没有上传内容哦~
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.createTime ? item.createTime.replace(/-/g, '.').substr(0, 10) : '' }}
+
+
+
+
+ {{ item.pv }}
+
+
+
+
+ {{ item.zan }}
+
+
+
+
+
+
+
+ 店主还没有上传内容哦~
+
+
+
+
+
+
+
+
+
+
+
+ 店主还没有上传内容哦~
+
+
+
+
+
+
+
+ 店主还没有上传内容哦~
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pkg_product/views/famousQianxianShop.vue b/pkg_product/views/famousQianxianShop.vue
index 597c7ec..b94c4ae 100644
--- a/pkg_product/views/famousQianxianShop.vue
+++ b/pkg_product/views/famousQianxianShop.vue
@@ -734,7 +734,7 @@ export default {
return
}
uni.navigateTo({
- url: '/pagesInn/inn/innHome?id=' + item.farmerShopId + '&isQianxian=1'
+ url: '/pagesInn/inn/farmerStore?id=' + item.farmerShopId + '&isQianxian=1&from=famous&isFarmer=1'
})
},
load() {