fix: 行业标签只显示二级,精选新闻显示评分
This commit is contained in:
parent
9934aba290
commit
a0ae694e84
|
|
@ -6,7 +6,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="tag-box">
|
<view class="tag-box">
|
||||||
<view v-for="(item, index) in topConceptList" :key="index" class="tag">
|
<view v-for="(item, index) in topConceptList" :key="index" class="tag">
|
||||||
{{ item.content.split("-")[1] }}
|
{{ item.content?.split("-")[1] }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tag-content">
|
<view class="tag-content">
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@
|
||||||
v-for="(item, index) in industryList"
|
v-for="(item, index) in industryList"
|
||||||
:class="['tag', { 'tag-active': active === index }]"
|
:class="['tag', { 'tag-active': active === index }]"
|
||||||
@click="handleClickTag(index, item)"
|
@click="handleClickTag(index, item)"
|
||||||
>{{ item.content }}</view
|
>
|
||||||
|
{{ item.content?.split("-")[1] }}
|
||||||
|
</view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
<view class="tag-content" @click="goDetail(oneData)">
|
<view class="tag-content" @click="goDetail(oneData)">
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@
|
||||||
<view class="news-top">
|
<view class="news-top">
|
||||||
<view class="time">{{ news.timeStr }}</view>
|
<view class="time">{{ news.timeStr }}</view>
|
||||||
<view class="source">
|
<view class="source">
|
||||||
<!-- <view class="star" :style="{ width: `${4 * 20}rpx` }"></view> -->
|
<view class="star" v-if="news.score" :style="{ width: `${(news.score/2) * 20}rpx` }"></view>
|
||||||
<view class="t-1">来自</view>
|
<view class="t-1">来自</view>
|
||||||
<view class="t-2">中国证券报</view>
|
<view class="t-2">中国证券报</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue