refactor(文章组件): 调整编辑信息显示位置并添加二校信息
将编辑信息从顶部移动到文章底部,并新增二校人员信息显示。同时注释掉 RankListMini 组件中的导航代码
This commit is contained in:
parent
64db654c41
commit
82f40c41cd
|
|
@ -162,9 +162,9 @@ function goDetail(item) {
|
|||
let userType = props.userParams.userType || "";
|
||||
console.log("🚀 ~ goDetail ~ userType:", userType);
|
||||
|
||||
uni.navigateTo({
|
||||
url: `/pages/detail/indexNewsInfo?id=${item.news_id}&phone=${phone}&userType=${userType}`,
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/detail/indexNewsInfo?id=${item.news_id}&phone=${phone}&userType=${userType}`,
|
||||
// });
|
||||
|
||||
// if (judgeRuntimeEnv().isWxMiniWebview) {
|
||||
let shareUrl =
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@
|
|||
<text class="text">中国证券报</text>
|
||||
</view>
|
||||
|
||||
<view class="name" v-if="props.data.editor">
|
||||
<!-- <view class="name" v-if="props.data.editor">
|
||||
<text class="text">编辑:</text>
|
||||
<text class="text">{{ props.data.editor }}</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="time">{{ props.data.publishTime }}</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -68,6 +68,17 @@
|
|||
v-html="props.data.content"
|
||||
></rich-text>
|
||||
</view>
|
||||
<view class="author" style="margin-bottom: 20rpx; display: flex; justify-content: flex-start; gap: 40rpx">
|
||||
<view class="name" v-if="props.data.editor">
|
||||
<text class="text">编辑:</text>
|
||||
<text class="text">{{ props.data.editor }}</text>
|
||||
</view>
|
||||
|
||||
<view class="name" v-if="props.data.secondReviewer">
|
||||
<text class="text">二校:</text>
|
||||
<text class="text">{{ props.data.secondReviewer }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view
|
||||
class="articleDes"
|
||||
|
|
|
|||
Loading…
Reference in New Issue