refactor(article): 调整编辑信息显示位置并添加二校信息

将编辑信息从顶部移至底部,并添加二校信息显示。同时调整相关元素的间距,使布局更合理。
This commit is contained in:
34701892@qq.com 2025-11-20 18:47:59 +08:00
parent 6dcc946e1c
commit ea590f45b6
1 changed files with 15 additions and 3 deletions

View File

@ -7,10 +7,10 @@
<text class="text">{{ props.data.tag }}</text> <text class="text">{{ props.data.tag }}</text>
</view> </view>
<view class="name" v-if="props.data.editor"> <!-- <view class="name" v-if="props.data.editor">
<text class="text">编辑:</text> <text class="text">编辑:</text>
<text class="text">{{ props.data.editor }}</text> <text class="text">{{ props.data.editor }}</text>
</view> </view> -->
<view class="time" :class="{ mohu: !isLogin }">{{ props.data.publishTime }}</view> <view class="time" :class="{ mohu: !isLogin }">{{ props.data.publishTime }}</view>
</view> </view>
@ -72,7 +72,19 @@
> >
</view> --> </view> -->
<view class="r_etf"> <view class="author" style="justify-content: flex-start; margin-top: -30rpx">
<view class="name">
<text class="text">编辑:</text>
<text class="text">{{ props.data.editor }}</text>
</view>
<view class="name" style="margin-left: 40rpx">
<text class="text">二校:</text>
<text class="text">{{ props.data.secondReviewer }}</text>
</view>
</view>
<view class="r_etf" style="margin-top: 80rpx">
<text class="etf_title">AI关联标的</text> <text class="etf_title">AI关联标的</text>
<view class="etfs"> <view class="etfs">
<view v-for="item in data.etfs" class="etf_item"> <view v-for="item in data.etfs" class="etf_item">