fix(article page): adjust language resource path for article pages
统一文章列表和详情页的多语言key路径,将原有通用语言项改为文章模块专属的语言配置
This commit is contained in:
@@ -2,17 +2,17 @@
|
|||||||
<view class="page" :style="themeColor">
|
<view class="page" :style="themeColor">
|
||||||
<view class="help-title">{{ detail.article_title }}</view>
|
<view class="help-title">{{ detail.article_title }}</view>
|
||||||
<view class="help-meta" v-if="detail.is_show_release_time == 1">
|
<view class="help-meta" v-if="detail.is_show_release_time == 1">
|
||||||
<text class="help-time">{{ $lang('publishTime') }} {{ $util.timeStampTurnTime(detail.create_time) }}</text>
|
<text class="help-time">{{ $lang('article.detail.publishTime') }} {{ $util.timeStampTurnTime(detail.create_time) }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="help-content"><rich-text :nodes="content"></rich-text></view>
|
<view class="help-content"><rich-text :nodes="content"></rich-text></view>
|
||||||
<view class="bottom-area">
|
<view class="bottom-area">
|
||||||
<view v-if="detail.is_show_read_num == 1">
|
<view v-if="detail.is_show_read_num == 1">
|
||||||
{{ $lang('readCount') }}
|
{{ $lang('article.detail.readCount') }}
|
||||||
<text class="price-font">{{ detail.read_num + detail.initial_read_num }}</text>
|
<text class="price-font">{{ detail.read_num + detail.initial_read_num }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="detail.is_show_dianzan_num == 1">
|
<view v-if="detail.is_show_dianzan_num == 1">
|
||||||
<text class="price-font">{{ detail.dianzan_num + detail.initial_dianzan_num }}</text>
|
<text class="price-font">{{ detail.dianzan_num + detail.initial_dianzan_num }}</text>
|
||||||
{{ $lang('likedSuffix') }}
|
{{ $lang('article.detail.likedSuffix') }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<loading-cover ref="loadingCover"></loading-cover>
|
<loading-cover ref="loadingCover"></loading-cover>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="empty-wrap"><ns-empty :text="$lang('emptyText')" :isIndex="false"></ns-empty></view>
|
<view v-else class="empty-wrap"><ns-empty :text="$lang('article.list.emptyText')" :isIndex="false"></ns-empty></view>
|
||||||
</block>
|
</block>
|
||||||
</mescroll-uni>
|
</mescroll-uni>
|
||||||
<loading-cover ref="loadingCover"></loading-cover>
|
<loading-cover ref="loadingCover"></loading-cover>
|
||||||
|
|||||||
Reference in New Issue
Block a user