|
@@ -57,7 +57,7 @@
|
|
|
<text v-if="item.IsRed"></text>
|
|
|
</view>
|
|
|
<view class="box-right">
|
|
|
- <text>{{ item.UpdateTime }}更新</text>
|
|
|
+ <text>{{ item.UpdateTime }}</text>
|
|
|
<u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -70,7 +70,7 @@
|
|
|
<image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/property_ico.png" style="height: 50rpx"></image>
|
|
|
<text class="text-sub">细分产业</text>
|
|
|
</view>
|
|
|
- <van-dropdown-menu active-color="#333333">
|
|
|
+ <!-- <van-dropdown-menu active-color="#333333">
|
|
|
<van-dropdown-item id="menuItem" @open="isscroll" :title="overallArrangementName">
|
|
|
<view class="menu-items">
|
|
|
<view class="menu-items-box" @click="overallBtn(index, item)" v-for="(item, index) in overallArrangement" :key="item.id">
|
|
@@ -87,27 +87,32 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</van-dropdown-item>
|
|
|
- </van-dropdown-menu>
|
|
|
- <view class="new-recommend">
|
|
|
+ </van-dropdown-menu> -->
|
|
|
+ <!-- <view class="new-recommend">
|
|
|
<text :class="[pitchOnId == item.id ? 'items-act' : '']" v-for="(item, index) in pitchOn" :key="item.id" @click="pitchClick(item, index)">{{ item.name }}</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
+ <checkbox-group class="checkbox-content">
|
|
|
+ <label style="margin-right:30rpx"> <checkbox value="cb" color="#3385FF" style="transform:scale(0.6)" />深度覆盖 </label>
|
|
|
+ <label> <checkbox value="cb" color="#3385FF" style="transform:scale(0.6)" />推荐关注</label>
|
|
|
+ </checkbox-group>
|
|
|
</view>
|
|
|
<!-- 需要循环的地方 -->
|
|
|
<view class="forindustry" v-for="item in industryList" :key="item.IndustrialManagementId">
|
|
|
<!-- 火锅底料这个位置 -->
|
|
|
<view class="industry-content">
|
|
|
<view class="industry-box-left" @click="reportFllow(item.IndustrialManagementId)">
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/top_ico.png" v-if="item.IsFollow"></image>
|
|
|
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/top_no_ico.png" v-else></image>
|
|
|
+ <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>
|
|
|
<view class="industry-box-right" @click="goIndustryReport(item.IndustrialManagementId)">
|
|
|
<view class="ndustry-box-read">
|
|
|
<text>{{ item.IndustryName }}</text>
|
|
|
- <image v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/ammunition_ico.png" mode=""></image>
|
|
|
+ <image v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/host_report.png" mode=""></image>
|
|
|
+ <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/new_icon.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>
|
|
|
+ <text class="ndustry-box-text">{{ item.UpdateTime }}</text>
|
|
|
<u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -176,17 +181,17 @@ export default {
|
|
|
backgroundImage: "none",
|
|
|
},
|
|
|
tabBarsTow: [],
|
|
|
- pitchOn: [
|
|
|
- {
|
|
|
- name: "最新",
|
|
|
- id: "NewTime",
|
|
|
- },
|
|
|
- {
|
|
|
- name: "关注度",
|
|
|
- id: "Recommend",
|
|
|
- },
|
|
|
- ],
|
|
|
- pitchOnId: "NewTime",
|
|
|
+ // pitchOn: [
|
|
|
+ // {
|
|
|
+ // name: "最新",
|
|
|
+ // id: "NewTime",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: "关注度",
|
|
|
+ // id: "Recommend",
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // pitchOnId: "NewTime",
|
|
|
//pitchOnName: '按最近更新排序',
|
|
|
isNum: 1,
|
|
|
strategyIndex: "",
|
|
@@ -207,20 +212,20 @@ export default {
|
|
|
haveData: true,
|
|
|
totalPage: "",
|
|
|
matchTypeName: "",
|
|
|
- overallArrangement: [
|
|
|
- {
|
|
|
- name: "新布局产业",
|
|
|
- id: "1",
|
|
|
- isShow: false,
|
|
|
- },
|
|
|
- {
|
|
|
- name: "深度研究产业",
|
|
|
- id: "2",
|
|
|
- isShow: false,
|
|
|
- },
|
|
|
- ],
|
|
|
- overallArrangementId: "",
|
|
|
- overallArrangementName: "全部产业",
|
|
|
+ // overallArrangement: [
|
|
|
+ // {
|
|
|
+ // name: "新布局产业",
|
|
|
+ // id: "1",
|
|
|
+ // isShow: false,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: "深度研究产业",
|
|
|
+ // id: "2",
|
|
|
+ // isShow: false,
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // overallArrangementId: "",
|
|
|
+ // overallArrangementName: "全部产业",
|
|
|
isScrollShow: false,
|
|
|
isGuideShow: false,
|
|
|
limitIsShow: false, //限免显示隐藏
|
|
@@ -323,16 +328,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//点击产业报告的筛选条件
|
|
|
- pitchClick(item) {
|
|
|
- this.pitchOnName = item.name;
|
|
|
- this.OrderColumn = item.id;
|
|
|
- if (this.pitchOnId !== item.id) {
|
|
|
- this.pitchOnId = item.id;
|
|
|
- }
|
|
|
- this.page_no = 1;
|
|
|
- this.status = "loadmore";
|
|
|
- this.getIndustryList();
|
|
|
- },
|
|
|
+ // pitchClick(item) {
|
|
|
+ // this.pitchOnName = item.name;
|
|
|
+ // this.OrderColumn = item.id;
|
|
|
+ // if (this.pitchOnId !== item.id) {
|
|
|
+ // this.pitchOnId = item.id;
|
|
|
+ // }
|
|
|
+ // this.page_no = 1;
|
|
|
+ // this.status = "loadmore";
|
|
|
+ // this.getIndustryList();
|
|
|
+ // },
|
|
|
//获取报告所有品种接口
|
|
|
getTradeList() {
|
|
|
Reports.getTradeList({
|
|
@@ -350,8 +355,8 @@ export default {
|
|
|
OrderColumn: this.OrderColumn,
|
|
|
PageSize: this.pageSize,
|
|
|
CurrentIndex: this.page_no,
|
|
|
- IsNewLabel: this.overallArrangementId.includes(1) ? "1" : "0",
|
|
|
- IsDeepLabel: this.overallArrangementId.includes(2) ? "1" : "0",
|
|
|
+ // IsNewLabel: this.overallArrangementId.includes(1) ? "1" : "0",
|
|
|
+ // IsDeepLabel: this.overallArrangementId.includes(2) ? "1" : "0",
|
|
|
}).then((res) => {
|
|
|
// this.industryList=res.Data.List
|
|
|
this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
|
|
@@ -433,41 +438,41 @@ export default {
|
|
|
this.tabBarsTow[this.strategyIndexTwo].IsRed = is;
|
|
|
},
|
|
|
/* 新布局产业选项*/
|
|
|
- overallBtn(index, item) {
|
|
|
- this.overallArrangement.forEach((key) => {
|
|
|
- if (key.id == item.id) {
|
|
|
- key.isShow = !key.isShow;
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+ // overallBtn(index, item) {
|
|
|
+ // this.overallArrangement.forEach((key) => {
|
|
|
+ // if (key.id == item.id) {
|
|
|
+ // key.isShow = !key.isShow;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
/* 新布局产业选项确定按钮 */
|
|
|
- replacementConfirm() {
|
|
|
- const arr = [];
|
|
|
- const arrName = [];
|
|
|
- this.overallArrangement.forEach((key) => {
|
|
|
- if (key.isShow) {
|
|
|
- arr.push(key.id);
|
|
|
- arrName.push(key.name);
|
|
|
- }
|
|
|
- });
|
|
|
- this.overallArrangementId = arr.join(",");
|
|
|
- this.overallArrangementName = arrName.join(",") || "全部产业";
|
|
|
- this.page_no = 1;
|
|
|
- this.status = "loadmore";
|
|
|
- this.getIndustryList();
|
|
|
- this.selectComponent("#menuItem").toggle();
|
|
|
- },
|
|
|
+ // replacementConfirm() {
|
|
|
+ // const arr = [];
|
|
|
+ // const arrName = [];
|
|
|
+ // this.overallArrangement.forEach((key) => {
|
|
|
+ // if (key.isShow) {
|
|
|
+ // arr.push(key.id);
|
|
|
+ // arrName.push(key.name);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // this.overallArrangementId = arr.join(",");
|
|
|
+ // this.overallArrangementName = arrName.join(",") || "全部产业";
|
|
|
+ // this.page_no = 1;
|
|
|
+ // this.status = "loadmore";
|
|
|
+ // this.getIndustryList();
|
|
|
+ // this.selectComponent("#menuItem").toggle();
|
|
|
+ // },
|
|
|
/* 新布局产业选项重置按钮 */
|
|
|
- replacementBtn() {
|
|
|
- this.OrderColumn = "NewTime";
|
|
|
- this.pitchOnId = "NewTime";
|
|
|
- this.overallArrangement.forEach((key) => (key.isShow = false));
|
|
|
- this.overallArrangementName = "全部产业";
|
|
|
- },
|
|
|
+ // replacementBtn() {
|
|
|
+ // this.OrderColumn = "NewTime";
|
|
|
+ // this.pitchOnId = "NewTime";
|
|
|
+ // this.overallArrangement.forEach((key) => (key.isShow = false));
|
|
|
+ // this.overallArrangementName = "全部产业";
|
|
|
+ // },
|
|
|
/* 判断页面滚动 */
|
|
|
- isscroll: Debounce(function () {
|
|
|
- this.isScrollShow = true;
|
|
|
- }),
|
|
|
+ // isscroll: Debounce(function () {
|
|
|
+ // this.isScrollShow = true;
|
|
|
+ // }),
|
|
|
/* 搜索 */
|
|
|
async goSearch() {
|
|
|
await this.$store.dispatch("checkHandle", "/reportPages/reportSearch/reportSearch?id=报告");
|
|
@@ -475,15 +480,15 @@ export default {
|
|
|
/* 初始 */
|
|
|
initList() {
|
|
|
if (this.tabAct_id && this.strategyIndex !== 4 && this.strategyIndex !== 5) {
|
|
|
- this.OrderColumn = "NewTime";
|
|
|
- this.pitchOnId = "NewTime";
|
|
|
- this.overallArrangementName = "全部产业";
|
|
|
- this.overallArrangementId = "";
|
|
|
+ // this.OrderColumn = "NewTime";
|
|
|
+ // this.pitchOnId = "NewTime";
|
|
|
+ // this.overallArrangementName = "全部产业";
|
|
|
+ // this.overallArrangementId = "";
|
|
|
this.page_no = 1;
|
|
|
this.refresh = true;
|
|
|
this.getIndustryList();
|
|
|
this.getTradeList();
|
|
|
- this.overallArrangement.forEach((key) => (key.isShow = false));
|
|
|
+ // this.overallArrangement.forEach((key) => (key.isShow = false));
|
|
|
}
|
|
|
this.strategyIndex == 4 ? this.getstrategyAll() : (this.tabAct_idTwo = "");
|
|
|
if (this.isScrollShow) {
|