refactor: 替换多页面国际化文本为硬编码中文内容
移除项目内大部分$lang()国际化调用,替换为直接中文文本,统一前端展示文案
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</view>
|
||||
<view class="eval-star" v-if="!isEvaluate">
|
||||
<view class="star-box">
|
||||
<view class="star-title color-base-bg-before">{{ $lang('evaluate.matchDescription') }}</view>
|
||||
<view class="star-title color-base-bg-before">描述相符</view>
|
||||
<view class="rate-box"><sx-rate :value="goodsEvalList[index].scores" :index="index"
|
||||
@change="setStar" /></view>
|
||||
<view class="grade-li">
|
||||
@@ -26,11 +26,11 @@
|
||||
: ''
|
||||
"></view>
|
||||
<view class="font-size-tag color-base-text"
|
||||
v-if="goodsEvalList[index].explain_type == '1'">{{ $lang('evaluate.good') }}</view>
|
||||
v-if="goodsEvalList[index].explain_type == '1'">好评</view>
|
||||
<view class="font-size-tag color-base-text"
|
||||
v-if="goodsEvalList[index].explain_type == '2'">{{ $lang('evaluate.medium') }}</view>
|
||||
v-if="goodsEvalList[index].explain_type == '2'">中评</view>
|
||||
<view class="font-size-tag color-base-text"
|
||||
v-if="goodsEvalList[index].explain_type == '3'">{{ $lang('evaluate.bad') }}</view>
|
||||
v-if="goodsEvalList[index].explain_type == '3'">差评</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -39,12 +39,12 @@
|
||||
<view class="eval-text">
|
||||
<view class="text-box">
|
||||
<block v-if="!isEvaluate">
|
||||
<textarea :placeholder="$lang('evaluate.inputPlaceholder')" v-model="goodsEvalList[index].content"
|
||||
<textarea placeholder="请在此处输入您的评价" v-model="goodsEvalList[index].content"
|
||||
maxlength="200" />
|
||||
<text class="maxSize">{{ goodsEvalList[index].content.length }}/200</text>
|
||||
</block>
|
||||
<block v-else>
|
||||
<textarea :placeholder="$lang('evaluate.additionalInputPlaceholder')" v-model="goodsEvalList[index].again_content"
|
||||
<textarea placeholder="请在此处输入您的追评" v-model="goodsEvalList[index].again_content"
|
||||
maxlength="200" />
|
||||
<text class="maxSize">{{ goodsEvalList[index].again_content.length }}/200</text>
|
||||
</block>
|
||||
@@ -69,9 +69,9 @@
|
||||
<view class="all-election" @click="isAll()" v-if="!isEvaluate">
|
||||
<view class="iconfont color-base-text"
|
||||
:class="isAnonymous ? 'icon-yuan_checked color-base-text' : 'icon-yuan_checkbox'"></view>
|
||||
<text>{{ $lang('evaluate.anonymous') }}</text>
|
||||
<text>匿名</text>
|
||||
</view>
|
||||
<view class="action-btn"><button type="primary" @click="save()">{{ $lang('evaluate.submit') }}</button></view>
|
||||
<view class="action-btn"><button type="primary" @click="save()">提交</button></view>
|
||||
</view>
|
||||
<loading-cover ref="loadingCover"></loading-cover>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user