|
|
|
@ -10,6 +10,8 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="fixed-header-box"></view> |
|
|
|
|
<button @click="testTemplate">测试模板消息</button> |
|
|
|
|
|
|
|
|
|
<view class="slider-banner banner"> |
|
|
|
|
<swiper indicatorDots="true" v-if="banner.length > 0" autoplay circular> |
|
|
|
|
<block v-for="(item, bannerIndex) in banner" :key="bannerIndex"> |
|
|
|
@ -279,6 +281,14 @@
|
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
...mapActions(["getLocation"]), |
|
|
|
|
testTemplate() { |
|
|
|
|
console.log('测试') |
|
|
|
|
// 调用订阅 |
|
|
|
|
wx.requestSubscribeMessage({ |
|
|
|
|
tmplIds: [''], |
|
|
|
|
success(res) {} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
goRoll(item) { |
|
|
|
|
if (item.uniapp_url) { |
|
|
|
|
this.$yrouter.push(item.uniapp_url) |
|
|
|
|