|
@@ -10,7 +10,8 @@
|
|
|
<view class="li-item hot-item">
|
|
|
<view style="display: flex" class="text_oneLine hot-new" @click="themeDetails(item, '主题热度榜')">
|
|
|
<text class="text_oneLine title" style="display: inline"> # {{ item.IndustryName }} </text>
|
|
|
- <image class="new-img" v-if="item.IsNew" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png"></image>
|
|
|
+ <!-- <image class="new-img" v-if="item.IsNew" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png"></image> -->
|
|
|
+ <image class="hot-icon" v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/hot_report.png" mode=""></image>
|
|
|
</view>
|
|
|
<text :class="item.IsFollw ? 'cancel-attention' : 'attention'" @click="isAttention(item, '主题')">{{ item.IsFollw ? "取消关注" : "+ 关注" }}</text>
|
|
|
</view>
|
|
@@ -49,31 +50,25 @@ export default {
|
|
|
tabBarList: [
|
|
|
{
|
|
|
name: "更新时间",
|
|
|
- value: 1,
|
|
|
+ value: 2,
|
|
|
},
|
|
|
{
|
|
|
name: "主题热度",
|
|
|
- value: 2,
|
|
|
+ value: 1,
|
|
|
},
|
|
|
],
|
|
|
};
|
|
|
},
|
|
|
- watch: {
|
|
|
- page_no:{
|
|
|
- handler(val){
|
|
|
- console.log(val);
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
mixins: [mixinsAuthorTheme],
|
|
|
methods: {
|
|
|
- // tab bar 切换
|
|
|
- tabBarSwitchHandel(item) {
|
|
|
- this.tabBarActive = item.value;
|
|
|
- },
|
|
|
//主题热度/近期更新更多
|
|
|
async getDataList() {
|
|
|
- const res = await Research.researchHotList({ ChartPermissionId: 31, ThemeType: 1 });
|
|
|
+ const res = await Research.researchHotList({
|
|
|
+ ChartPermissionId: 31,
|
|
|
+ PageSize: this.pageSize,
|
|
|
+ CurrentIndex: this.page_no,
|
|
|
+ ThemeType: this.tabBarActive,
|
|
|
+ });
|
|
|
if (res.Ret === 200) {
|
|
|
this.status = res.Data.Paging.IsEnd ? "nomore" : "loadmore";
|
|
|
if (this.refresh) {
|
|
@@ -89,6 +84,7 @@ export default {
|
|
|
|
|
|
<style lang="scss" scope>
|
|
|
.theme-hot-content {
|
|
|
+ padding-bottom: 30rpx;
|
|
|
@import "../components/cssAuthorTheme.scss";
|
|
|
}
|
|
|
</style>
|