|
@@ -26,8 +26,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="panel-group panel-group-1">
|
|
<view class="panel-group panel-group-1">
|
|
<u-panel title="精彩视频" link="https://www.productronicachina.com.cn/for-journalists-impression-videos">
|
|
<u-panel title="精彩视频" link="https://www.productronicachina.com.cn/for-journalists-impression-videos">
|
|
- <u-swiper :items="videos" useComponentName="videoSwiper" :height="360" :autoplay="false" :border-radius="10" :image-width="508"
|
|
|
|
- :image-height="286" next-margin="100rpx" />
|
|
|
|
|
|
+ <u-swiper :items="videos" useComponentName="videoSwiper" :height="360" :autoplay="false" :border-radius="10"
|
|
|
|
+ :image-width="508" :image-height="286" next-margin="100rpx" />
|
|
</u-panel>
|
|
</u-panel>
|
|
<u-panel title="精彩图集" link="https://www.productronicachina.com.cn/for-journalists-impression-videos">
|
|
<u-panel title="精彩图集" link="https://www.productronicachina.com.cn/for-journalists-impression-videos">
|
|
<view class="album">
|
|
<view class="album">
|
|
@@ -50,7 +50,7 @@
|
|
<template v-slot="{ scope }">
|
|
<template v-slot="{ scope }">
|
|
<view class="partners">
|
|
<view class="partners">
|
|
<template v-for="(item, index) in scope">
|
|
<template v-for="(item, index) in scope">
|
|
- <view class="partner" :key="index">
|
|
|
|
|
|
+ <view class="partner" :key="index" @tap="onLogoClick(item)">
|
|
<image :src="item.url" />
|
|
<image :src="item.url" />
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -76,13 +76,13 @@
|
|
<template v-slot="{ scope }">
|
|
<template v-slot="{ scope }">
|
|
<view class="partners">
|
|
<view class="partners">
|
|
<template v-for="(item, index) in scope">
|
|
<template v-for="(item, index) in scope">
|
|
- <view class="partner" :key="index">
|
|
|
|
|
|
+ <view class="partner" :key="index" @tap="onLogoClick(item)">
|
|
<image :src="item.url" />
|
|
<image :src="item.url" />
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
- </u-swiper>
|
|
|
|
|
|
+ </u-swiper>
|
|
</u-panel>
|
|
</u-panel>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -221,6 +221,11 @@
|
|
this.part1 = res.data.module4.part1.logo
|
|
this.part1 = res.data.module4.part1.logo
|
|
this.part2 = res.data.module4.part2.logo
|
|
this.part2 = res.data.module4.part2.logo
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ onLogoClick(item) {
|
|
|
|
+ if (item.url) {
|
|
|
|
+ this.navigateTo(item.href)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|