|
@@ -1,133 +1,26 @@
|
|
|
<template>
|
|
|
<view class="container-report-page">
|
|
|
<view class="content-list">
|
|
|
- <block v-if="reportPageData.ListHzResource.length">
|
|
|
- <view class="resource global_title">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/zybico.jpg"></image>
|
|
|
- <text>弘则资源包</text>
|
|
|
+ <view class="list-ui" v-for="(item, index) in reportPageData.ListHzResource" :key="item.IndustrialManagementId" @click.stop="themeDetails(item)">
|
|
|
+ <view v-if="index % 2 == 0">
|
|
|
+ <Industrialsource :list="item" />
|
|
|
</view>
|
|
|
- <text style="height: 1rpx; background: #ececec"></text>
|
|
|
- <view class="global_card_content list-ui" v-for="item in reportPageData.ListHzResource" :key="item.IndustrialManagementId" @click.stop="themeDetails(item)">
|
|
|
- <view class="industry-content">
|
|
|
- <view class="industry-box-left">
|
|
|
- <image
|
|
|
- class="follw-image"
|
|
|
- @click.stop="reportFllow(item.IndustrialManagementId, '弘则')"
|
|
|
- :src="item.IsFollw ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/collected_icon.png' : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/not_collected.png'"
|
|
|
- ></image>
|
|
|
- <view class="global_title">{{ item.IndustryName }} </view>
|
|
|
- </view>
|
|
|
- <view class="ndustry-box-tiem global_content_center">
|
|
|
- <text v-if="item.IsRed" class="read"></text>
|
|
|
- <text class="ndustry-box-text">{{ item.UpdateTime }}</text>
|
|
|
- <u-icon name="arrow-right" color="#333" size="28"></u-icon>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="read-more">
|
|
|
- <view class="industry-video-item" @click.stop="handelVideoPlay(item)" :style="{ 'background-image': 'url(' + item.IndustryVideo.BackgroundImg + ')' }" v-if="item.IndustryVideo">
|
|
|
- 5min
|
|
|
- <br />
|
|
|
- 逻辑解析
|
|
|
- <view class="industry-video-icon">
|
|
|
- <image src="https://hzstatic.hzinsights.com/cygx/video-right-top-icon.svg"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <block v-if="item.IndustrialSubjectList">
|
|
|
- <view v-if="item.IndustryVideo" style="display: flex; flex-wrap: wrap; width: 502rpx">
|
|
|
- <view v-for="val in item.IndustrialSubjectList.slice(0, 6)" :key="val.IndustrialSubjectId" class="text-box text_oneLine">{{ val.SubjectName }}</view>
|
|
|
- </view>
|
|
|
- <block v-if="item.IndustryVideo && item.IndustrialSubjectList.length > 6">
|
|
|
- <view v-for="val in item.IndustrialSubjectList.slice(6)" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</view>
|
|
|
- </block>
|
|
|
- <block v-if="!item.IndustryVideo">
|
|
|
- <view v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId" class="text-box text_oneLine">{{ val.SubjectName }}</view>
|
|
|
- </block>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
- <block v-if="reportPageData.ListYxResource.length">
|
|
|
- <view class="resource global_title">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/zybico.jpg"></image>
|
|
|
- <text>买方研选主题</text>
|
|
|
- </view>
|
|
|
- <text style="height: 1rpx; background: #ececec"></text>
|
|
|
- <view class="global_card_content list-ui" v-for="item in reportPageData.ListYxResource" :key="item.IndustrialManagementId" @click.stop="themeDetails(item)">
|
|
|
- <view class="industry-content">
|
|
|
- <view class="industry-box-left">
|
|
|
- <image
|
|
|
- class="follw-image"
|
|
|
- @click.stop="reportFllow(item.IndustrialManagementId, '研选')"
|
|
|
- :src="item.IsFollw ? 'https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/collected_icon.png' : 'https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/not_collected.png'"
|
|
|
- ></image>
|
|
|
- <view class="global_title">{{ item.IndustryName }} </view>
|
|
|
- </view>
|
|
|
- <view class="ndustry-box-tiem global_content_center">
|
|
|
- <text class="ndustry-box-text">{{ item.UpdateTime }}</text>
|
|
|
- <u-icon name="arrow-right" color="#333" size="28"></u-icon>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="read-more" v-if="item.IndustrialSubjectList">
|
|
|
- <view v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId" class="text-box text_oneLine">{{ val.SubjectName }}</view>
|
|
|
- </view>
|
|
|
+ <view v-if="index % 2 !== 0">
|
|
|
+ <Industrialsource :list="item" />
|
|
|
</view>
|
|
|
- </block>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="content-report">
|
|
|
- <block v-if="reportPageData.ListYxReport.length">
|
|
|
- <view class="resource global_title">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/report_Yx.png"></image>
|
|
|
- <text>买方研选报告</text>
|
|
|
- </view>
|
|
|
- <text style="height: 1rpx; background: #ececec"></text>
|
|
|
- <view class="global_card_content content-item" v-for="item in reportPageData.ListYxReport" :key="item.ArticleId">
|
|
|
- <view class="item-user" v-if="item.NickName">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/user_report.png"></image>
|
|
|
- <text> {{ item.NickName }}</text>
|
|
|
- </view>
|
|
|
- <view class="title-content-box">
|
|
|
- <view v-if="item.ArticleTypeName" class="tag global_content_center">{{ item.ArticleTypeName }}</view>
|
|
|
- <view class="item-title global_title" @click="goDetailReport(item)">
|
|
|
- {{ item.Title }}
|
|
|
- <block v-if="item.List.length">
|
|
|
- <text @click.stop="themeDetails(item, val)" class="item-industry" v-for="val in item.List" :key="val.IndustrialManagementId"> # {{ val.IndustryName }} </text>
|
|
|
- </block>
|
|
|
- <block v-if="item.SpecialTags.length">
|
|
|
- <text class="item-industry" style="color: #90aeda" v-for="val in item.SpecialTags.split(',')" :key="val"> # {{ val }} </text>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="item-more">
|
|
|
- <text>{{ item.PublishDate }}</text>
|
|
|
- <view class="global_pv-ollect">
|
|
|
- <view>
|
|
|
- <image class="pv" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/examine_icon.png"></image>
|
|
|
- {{ item.Pv }}
|
|
|
- </view>
|
|
|
- <view @click="collectClick(item, 'ListYxReport')">
|
|
|
- <image v-if="item.IsCollect" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/collect_act.png"></image>
|
|
|
- <image v-else src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/collect_ico.png"></image>
|
|
|
- {{ item.CollectNum }}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
<block v-if="reportPageData.ListHzReport.length">
|
|
|
- <view class="resource global_title">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/report_Hz.png"></image>
|
|
|
- <text>弘则报告</text>
|
|
|
- </view>
|
|
|
<text style="height: 1rpx; background: #ececec"></text>
|
|
|
<view class="global_card_content content-item" v-for="item in reportPageData.ListHzReport" :key="item.ArticleId">
|
|
|
<view class="item-title global_title">
|
|
|
+ <text :class="['tag', item.ResourceObj == 'articlevmp' && 'tag-hz']" v-if="['articleyx', 'articlevmp'].includes(item.ResourceObj)">{{
|
|
|
+ item.ResourceObj == "articleyx" ? "买方研选" : item.ResourceObj == "articlevmp" ? "弘则报告" : ""
|
|
|
+ }}</text>
|
|
|
<text style="display: inline; margin-right: 10rpx" @click="goDetailReport(item)"> {{ item.Title }} </text>
|
|
|
<text class="item-industry" v-for="key in item.List" :key="key.IndustrialManagementId" @click="themeDetails(key)">#{{ key.IndustryName }} </text>
|
|
|
</view>
|
|
|
- <!-- <view class="item-more">
|
|
|
- <text>{{ item.PublishDate }}</text>
|
|
|
- </view> -->
|
|
|
<view class="item-more">
|
|
|
<text>{{ item.PublishDate }}</text>
|
|
|
<view class="global_pv-ollect">
|
|
@@ -171,8 +64,10 @@
|
|
|
import { Report, Reports, purchaserApi } from "@/config/api";
|
|
|
import videoModule from "@/components/videoModule/index";
|
|
|
import modalDialog from "@/components/modalDialog.vue";
|
|
|
+import Industrialsource from "./industrialsource.vue";
|
|
|
+
|
|
|
export default {
|
|
|
- components: { videoModule, modalDialog },
|
|
|
+ components: { videoModule, modalDialog, Industrialsource },
|
|
|
props: {
|
|
|
reportPageData: {
|
|
|
type: Object,
|
|
@@ -343,12 +238,16 @@ export default {
|
|
|
<style scoped lang="scss">
|
|
|
.container-report-page {
|
|
|
background-color: $uni-bg-color;
|
|
|
- padding: 0 24rpx;
|
|
|
+ padding: 0 24rpx 50rpx;
|
|
|
.content-list {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ flex-wrap: wrap;
|
|
|
.list-ui {
|
|
|
- background-color: #fff;
|
|
|
- margin-top: 2rpx;
|
|
|
- margin-bottom: 20rpx;
|
|
|
+ width: 49%;
|
|
|
+ &:first-child {
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
}
|
|
|
.item-title {
|
|
|
display: flex;
|
|
@@ -442,6 +341,20 @@ export default {
|
|
|
color: #376cbb;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
+ .tag {
|
|
|
+ display: inline-block !important;
|
|
|
+ padding: 0 20rpx;
|
|
|
+ color: #928563;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 500;
|
|
|
+ border-radius: 38rpx;
|
|
|
+ background-color: #f2e8cc;
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
+ .tag-hz {
|
|
|
+ color: #bc372b;
|
|
|
+ background-color: #f2dacb;
|
|
|
+ }
|
|
|
}
|
|
|
.item-user {
|
|
|
display: flex;
|