i18n: 替换硬编码文本为多语言配置
替换了多个组件中的硬编码文字,新增完善多语言翻译词条,包括通用、聊天、预约日期、门店等模块的翻译内容
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</view>
|
||||
<view class="search" @click="$util.redirectTo('/pages_tool/goods/search')" :style="{ height: menuButtonInfo.height - 2 + 'px', lineHeight: menuButtonInfo.height - 2 + 'px' }">
|
||||
<text class="iconfont icon-sousuo3"></text>
|
||||
<text>请输入商品名称</text>
|
||||
<text>{{ $lang('goods.searchGoods') }}</text>
|
||||
</view>
|
||||
<view :style="{ 'width': capsuleWidth }"></view>
|
||||
</view>
|
||||
@@ -36,9 +36,9 @@
|
||||
<view v-if="data.navStyle == 4" class="content-wrap" :class="{ 'have-back': isBack && isBackShow }" @click="chooseOtherStore()">
|
||||
<text class="iconfont icon-dizhi" :style="{ color: data.textNavColor }"></text>
|
||||
<view v-if="globalStoreInfo && globalStoreInfo.store_id" class="title-wrap" :style="{ color: data.textNavColor }">{{ globalStoreInfo.store_name }}</view>
|
||||
<view v-else class="title-wrap" :style="{ color: data.textNavColor }">定位中...</view>
|
||||
<view v-else class="title-wrap" :style="{ color: data.textNavColor }">{{ $lang('store.locating') }}</view>
|
||||
<text class="iconfont icon-right" :style="{ color: data.textNavColor }"></text>
|
||||
<view class="nearby-store-name" :style="{ color: data.textNavColor }">附近门店</view>
|
||||
<view class="nearby-store-name" :style="{ color: data.textNavColor }">{{ $lang('store.nearbyStore') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user