|
@@ -66,22 +66,31 @@
|
|
|
<view class="industry" v-if="tradeList">
|
|
|
<view class="industry-top">
|
|
|
<view class="img-top-box">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/industry-ico.png"></image>
|
|
|
+ <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/industry-ico.png"></image>
|
|
|
<text>行业综述</text>
|
|
|
</view>
|
|
|
<view> </view>
|
|
|
</view>
|
|
|
- <view class="industry-box" @click="isClickHandle(item.CategoryId)" v-for="item in tradeList" :key="item.CategoryId">
|
|
|
- <view class="box-left">
|
|
|
- {{ item.MatchTypeName }}
|
|
|
- <text v-if="item.IsRed"></text>
|
|
|
- </view>
|
|
|
- <view class="box-right">
|
|
|
- <text>{{ item.UpdateTime }}</text>
|
|
|
- <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
|
|
|
+ <view class="global_card_content report_formcard_content">
|
|
|
+ <view class="industry-box" @click="isClickHandle(item.CategoryId)" v-for="item in tradeList" :key="item.CategoryId">
|
|
|
+ <view class="box-left">
|
|
|
+ {{ item.MatchTypeName }}
|
|
|
+ <text v-if="item.IsRed"></text>
|
|
|
+ </view>
|
|
|
+ <view class="box-right">
|
|
|
+ <text>{{ item.UpdateTime }}</text>
|
|
|
+ <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="industry-top">
|
|
|
+ <view class="img-top-box">
|
|
|
+ <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/company_ico.png"></image>
|
|
|
+ <text>公司速览</text>
|
|
|
+ </view>
|
|
|
+ <view> </view>
|
|
|
+ </view>
|
|
|
<view v-if="labelListData.length" :class="[labelListData.length > 9 ? 'label-content-column' : 'label-content']">
|
|
|
<view @click="strategyLabelHadel(item)" :class="['item', item.Stock.length > 6 && 'item-size', 'text_oneLine']" v-for="item in labelListData" :key="item.ArticleId">
|
|
|
{{ item.Stock }}
|
|
@@ -92,38 +101,30 @@
|
|
|
<view style="height: 12rpx" v-if="!tradeList"></view>
|
|
|
<view class="industry-top industry-sticky">
|
|
|
<view class="img-top-box">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/property_ico.png" style="height: 50rpx"></image>
|
|
|
+ <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/property_ico.png" style="height: 50rpx"></image>
|
|
|
<text class="text-sub">细分产业</text>
|
|
|
</view>
|
|
|
<view class="checkbox-content">
|
|
|
- <van-checkbox-group class="checkbox-ui" :value="deepCoverFocus" @change="checkboxChange">
|
|
|
- <van-checkbox style="margin-right: 30rpx" name="cover" icon-size="14" shape="square">深度覆盖</van-checkbox>
|
|
|
- <van-checkbox name="focus" icon-size="14" shape="square">推荐关注</van-checkbox>
|
|
|
- </van-checkbox-group>
|
|
|
+ <view :class="['item', item.isAct && 'act-item']" v-for="item in deepCoverList" :key="item.value" @click="checkboxChange(item)">{{ item.lable }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 需要循环的地方 -->
|
|
|
- <view class="forindustry" v-for="item in industryList" :key="item.IndustrialManagementId">
|
|
|
+ <view class="forindustry global_card_content" v-for="item in industryList" :key="item.IndustrialManagementId" @click="goIndustryReport(item.IndustrialManagementId)">
|
|
|
+ <image class="image-box" v-if="item.IsNew" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/new_report.png"></image>
|
|
|
+ <image class="image-box" v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/trip_icon.png"></image>
|
|
|
<!-- 火锅底料这个位置 -->
|
|
|
<view class="industry-content">
|
|
|
- <view class="industry-box-left" @click="reportFllow(item.IndustrialManagementId)">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/attention_act.png" v-if="item.IsFollow"></image>
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/attention_icon.png" v-else></image>
|
|
|
+ <view class="industry-box-left">
|
|
|
+ <view class="industry-follw global_content_center" @click.stop="reportFllow(item.IndustrialManagementId)"> {{ item.IsFollow ? "取消关注" : "+关注" }} </view>
|
|
|
+ <view class="global_title">{{ item.IndustryName }} </view>
|
|
|
</view>
|
|
|
- <view class="industry-box-right" @click="goIndustryReport(item.IndustrialManagementId)">
|
|
|
- <view class="ndustry-box-read">
|
|
|
- <text>{{ item.IndustryName }}</text>
|
|
|
- <image class="hot-icon" v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/hot_report.png" mode=""></image>
|
|
|
- <image v-if="item.IsNew" src="https://hzstatic.hzinsights.com/cygx/icon/new_report.png" mode=""></image>
|
|
|
- </view>
|
|
|
- <view class="ndustry-box-arrow">
|
|
|
- <text v-if="item.IsRed" class="read"></text>
|
|
|
- <text class="ndustry-box-text">{{ item.UpdateTime }}</text>
|
|
|
- <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
|
|
|
- </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="content-box" @click="goIndustryReport(item.IndustrialManagementId)">
|
|
|
+ <view class="content-box">
|
|
|
<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
|
|
@@ -134,14 +135,14 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<block v-if="item.IndustrialSubjectList">
|
|
|
- <view v-if="item.IndustryVideo" style="display: flex; flex-wrap: wrap; width: 420rpx">
|
|
|
- <view v-for="val in item.IndustrialSubjectList.slice(0, 4)" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</view>
|
|
|
+ <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 global_content_center text_oneLine">{{ val.SubjectName }}</view>
|
|
|
</view>
|
|
|
- <block v-if="item.IndustryVideo && item.IndustrialSubjectList.length > 4">
|
|
|
- <view v-for="val in item.IndustrialSubjectList.slice(4)" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</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 global_content_center">{{ val.SubjectName }}</view>
|
|
|
</block>
|
|
|
<block v-if="!item.IndustryVideo">
|
|
|
- <view v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</view>
|
|
|
+ <view v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId" class="text-box global_content_center text_oneLine">{{ val.SubjectName }}</view>
|
|
|
</block>
|
|
|
</block>
|
|
|
</view>
|
|
@@ -223,6 +224,18 @@ export default {
|
|
|
totalPage: "",
|
|
|
matchTypeName: "",
|
|
|
deepCoverFocus: [], //深度覆盖 //推荐关注
|
|
|
+ deepCoverList: [
|
|
|
+ {
|
|
|
+ value: "cover",
|
|
|
+ lable: "深度覆盖",
|
|
|
+ isAct: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "focus",
|
|
|
+ lable: "推荐关注",
|
|
|
+ isAct: false,
|
|
|
+ },
|
|
|
+ ],
|
|
|
isScrollShow: false,
|
|
|
goFollowShow: false,
|
|
|
accounts: "",
|
|
@@ -507,8 +520,15 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
//点击了checkbox
|
|
|
- checkboxChange(e) {
|
|
|
- this.deepCoverFocus = e.detail;
|
|
|
+ checkboxChange(item) {
|
|
|
+ item.isAct = !item.isAct;
|
|
|
+ let arr = [];
|
|
|
+ this.deepCoverList.forEach((key) => {
|
|
|
+ if (key.isAct) {
|
|
|
+ arr.push(key.value);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ this.deepCoverFocus = arr;
|
|
|
this.page_no = 1;
|
|
|
this.getIndustryList();
|
|
|
},
|
|
@@ -728,10 +748,9 @@ export default {
|
|
|
flex-wrap: wrap;
|
|
|
flex-direction: column;
|
|
|
overflow: hidden;
|
|
|
- padding: 30rpx 30rpx 0;
|
|
|
+ padding: 20rpx 30rpx 0;
|
|
|
overflow-x: auto;
|
|
|
- height: 258rpx;
|
|
|
- margin: 20rpx 0 0;
|
|
|
+ height: 164rpx;
|
|
|
background-color: #fff;
|
|
|
justify-content: space-between;
|
|
|
&::after {
|
|
@@ -745,14 +764,14 @@ export default {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- margin-right: 40rpx;
|
|
|
- margin-bottom: 10px;
|
|
|
- width: 170rpx;
|
|
|
- height: 46rpx;
|
|
|
- background: #f5f5f5;
|
|
|
- box-shadow: 0px 2rpx 9rpx 0rpx rgba(0, 0, 0, 0.16), inset 0rpx 4rpx 4rpx 0rpx rgba(255, 255, 255, 0.49);
|
|
|
- border-radius: 65rpx;
|
|
|
- font-size: 26rpx;
|
|
|
+ margin-right: 12rpx;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+ width: 180rpx;
|
|
|
+ height: 52rpx;
|
|
|
+ background: #e5efff;
|
|
|
+ border-radius: 150rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: $uni-color-new;
|
|
|
}
|
|
|
.label-content .item,
|
|
|
.label-content-column .item-size {
|