|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="container-roadshow-item">
|
|
|
- <view class="title">
|
|
|
+ <view class="title" @click="goDetails">
|
|
|
<text class="text_twoLine">{{ list.Title }}</text>
|
|
|
</view>
|
|
|
<view class="cover-item" :style="{ 'background-image': 'url(' + list.BackgroundImg + ')' }">
|
|
@@ -22,11 +22,7 @@
|
|
|
<view :class="['identification', list.Type != 1 && 'identification-video']"> </view>
|
|
|
<image
|
|
|
class="identification-img"
|
|
|
- :src="
|
|
|
- list.Type == 1
|
|
|
- ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/video-iocn.png'
|
|
|
- : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/audio-icon.png'
|
|
|
- "
|
|
|
+ :src="list.Type == 1 ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/video-iocn.png' : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/audio-icon.png'"
|
|
|
></image>
|
|
|
</view>
|
|
|
<view class="title-share">
|
|
@@ -34,11 +30,7 @@
|
|
|
<image @click="myLeavingMessageHandler(list)" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/leaving_message.png"></image>
|
|
|
<image
|
|
|
@click="isCollectionHandeler(list)"
|
|
|
- :src="
|
|
|
- list.IsCollect
|
|
|
- ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png'
|
|
|
- : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png'
|
|
|
- "
|
|
|
+ :src="list.IsCollect ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/collected_icon.png' : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/not_collected.png'"
|
|
|
></image>
|
|
|
<button class="share-icon" open-type="share" :data-item="list">
|
|
|
<image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/multimedia/share-btn-icon.png"></image>
|
|
@@ -49,12 +41,7 @@
|
|
|
<audioModule :showAudioPop.sync="showAudioPop" />
|
|
|
</view>
|
|
|
<videoModule :showVideoPop.sync="showVideoPop" :curVideoId="curVideoId" :videoPopList="videoPopList" />
|
|
|
- <modalDialog
|
|
|
- :isShowhasPermission="isShowhasPermission"
|
|
|
- :applyForIsShow="applyForIsShow"
|
|
|
- :jurisdictionList="jurisdictionList"
|
|
|
- :hasPermission="hasPermission"
|
|
|
- />
|
|
|
+ <modalDialog :isShowhasPermission="isShowhasPermission" :applyForIsShow="applyForIsShow" :jurisdictionList="jurisdictionList" :hasPermission="hasPermission" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -185,13 +172,7 @@ export default {
|
|
|
async myLeavingMessageHandler(item) {
|
|
|
await this.$store.dispatch("showLoginModal");
|
|
|
uni.navigateTo({
|
|
|
- url:
|
|
|
- "/activityPages/generationAsk/generationAsk?id=" +
|
|
|
- (item.Type == 3 ? item.Id : item.ActivityId) +
|
|
|
- "&type=文章&roadshow=" +
|
|
|
- item.Type +
|
|
|
- "&roadshowTitle=" +
|
|
|
- item.Title,
|
|
|
+ url: "/activityPages/generationAsk/generationAsk?id=" + (item.Type == 3 ? item.Id : item.ActivityId) + "&type=文章&roadshow=" + item.Type + "&roadshowTitle=" + item.Title,
|
|
|
});
|
|
|
},
|
|
|
|
|
@@ -199,6 +180,16 @@ export default {
|
|
|
async isCollectionHandeler(item) {
|
|
|
this.$emit("isCollectionHandeler", item);
|
|
|
},
|
|
|
+ // 跳转
|
|
|
+ goDetails() {
|
|
|
+ console.log(this.list);
|
|
|
+ if (this.list.Type == 3) {
|
|
|
+ // 跳转产业资源包
|
|
|
+ uni.navigateTo({ url: "/reportPages/IndustryReport/IndustryReport?id=" + this.list.Id });
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({ url: "/activityPages/activityDetail/activityDetail?id=" + this.list.ActivityId });
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|