作者 LiFangYin-lfy

外部链接

... ... @@ -70,10 +70,14 @@ Page({
url: '/pages/Vmore4SList/Vmore4SList?home=1'
})
},
linkWebview() {
linkWebview(e) {
let index = e.currentTarget.dataset.index
if (index == 0) {
wx.navigateTo({
url: '/pages/webview/webview?url=' + 'http://h5.goorcar.com/'
url: '/pages/webview/webview?url=' + 'https://h5.goorcar.com/'
})
}
},
addLoveCared() { // 去添加车辆
let that = this
... ...
... ... @@ -70,7 +70,7 @@
<swiper class="banner" indicator-color="{{indicator}}" indicator-active-color="{{indicatorActive}}" circular='{{circular}}' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}">
<swiper-item wx:for="{{homeLoop}}" wx:key="index" wx:for-index="index" wx:for-item="item">
<navigator class="ims" hover-class="none">
<image src="{{item.img}}" bindtap="linkWebview" />
<image src="{{item.img}}" bindtap="linkWebview" data-index="{{index}}" />
</navigator>
</swiper-item>
</swiper>
... ...