diff --git a/pages.json b/pages.json index cc6d14a..21d73af 100644 --- a/pages.json +++ b/pages.json @@ -331,6 +331,12 @@ "style": { "navigationBarTitleText" : "" } + }, + { + "path": "activity/jitoumi", + "style": { + "navigationBarTitleText" : "水八仙之首—苏州芡实 (鸡头米)" + } } ] }], diff --git a/pages/index/index.vue b/pages/index/index.vue index b5307cf..c202818 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -31,7 +31,6 @@ - @@ -203,6 +202,8 @@ }, // 广告跳转 gotoBannerDetail(item) { + + if (this.SHFlag) { return } // 1产品详情 2功能模块 3外部链接 4外部小程序 switch (item.jump_type){ diff --git a/subPackages/activity/agriculturalProd.vue b/subPackages/activity/agriculturalProd.vue index 0e9ec6e..e033532 100644 --- a/subPackages/activity/agriculturalProd.vue +++ b/subPackages/activity/agriculturalProd.vue @@ -16,7 +16,7 @@ - + diff --git a/subPackages/activity/jitoumi.vue b/subPackages/activity/jitoumi.vue new file mode 100644 index 0000000..df786ab --- /dev/null +++ b/subPackages/activity/jitoumi.vue @@ -0,0 +1,218 @@ + + + + + \ No newline at end of file diff --git a/subPackages/food/detail.vue b/subPackages/food/detail.vue index de4b2b5..047d56d 100644 --- a/subPackages/food/detail.vue +++ b/subPackages/food/detail.vue @@ -236,7 +236,7 @@ }, goMap () { - if (!this.info.lat || !this.info.lon) { + if (!this.info.scene_lat || !this.info.scene_lon) { uni.showToast({ title: '暂未配置地理位置', icon: 'none' @@ -245,13 +245,13 @@ } uni.openLocation({ - latitude: Number(this.info.lat), - longitude: Number(this.info.lon), - name: this.info.title, - address: this.info.address, - success: function () { - console.log('success'); - } + latitude: Number(this.info.scene_lat), + longitude: Number(this.info.scene_lon), + name: this.info.scene_name, + address: this.info.scene_address, + // success: function () { + // console.log('success'); + // } }); },