...
|
...
|
@@ -174,7 +174,7 @@ |
|
|
<wx-open-launch-weapp id="launch-btn" username="gh_8a71dfc6644b">
|
|
|
<script type="text/wxtag-template">
|
|
|
<style>.programImg{width: 80px;height: 53px;}</style>
|
|
|
<image class="programImg" src="http://chemai.qiniu.brotop.cn/uploads/20210525/128514b45518f76f98d6e19f932bee9c.png"></image>
|
|
|
<image class="programImg" src="https://h5.goorcar.com/static/image/jinruxiaochenxgu_img.png"></image>
|
|
|
</script>
|
|
|
</wx-open-launch-weapp>
|
|
|
</view>
|
...
|
...
|
@@ -486,13 +486,14 @@ |
|
|
}
|
|
|
},
|
|
|
onLoad(e) {
|
|
|
uni.setStorageSync('token', '8c37bcf6-3690-49a3-949e-fb1e4abbdcb1')
|
|
|
// uni.setStorageSync('token', '8c37bcf6-3690-49a3-949e-fb1e4abbdcb1')
|
|
|
if (e.id != undefined) {
|
|
|
this.id = e.id
|
|
|
this.share.img = e.image
|
|
|
this.share.title = e.title
|
|
|
this.share.content = e.content
|
|
|
}
|
|
|
|
|
|
//公众号轮播图列表
|
|
|
/* this.$request('/api/gzh_banner/index').then((res)=>{
|
|
|
this.list = res.data
|
...
|
...
|
@@ -562,14 +563,14 @@ |
|
|
},
|
|
|
onShow() {
|
|
|
// 判断是否在微信浏览器中
|
|
|
// if(!this.isWechat()){
|
|
|
// uni.showToast({
|
|
|
// title:'请在微信内置浏览器里打开!',
|
|
|
// icon:'none',
|
|
|
// duration:3000
|
|
|
// })
|
|
|
// return
|
|
|
// }
|
|
|
if(!this.isWechat()){
|
|
|
uni.showToast({
|
|
|
title:'请在微信内置浏览器里打开!',
|
|
|
icon:'none',
|
|
|
duration:3000
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
//判断用户是否登录
|
|
|
if (uni.getStorageSync('token') == '') {
|
|
|
this.checkWeChatCode()
|
...
|
...
|
|