refactor(merch): 替换硬编码文本为国际化语言包
1. 将商品详情页的"立即咨询"替换为$lang('merch.consultNow')
2. 新增商品相关国际化文案并替换原有硬编码字符串
3. 统一使用多语言函数处理页面文本内容
This commit is contained in:
@@ -99,8 +99,7 @@
|
||||
parseFloat(showPrice(item)).toFixed(2).split('.')[1] }}</text>
|
||||
</view>
|
||||
<view class="discount-price" v-else>
|
||||
<text class="price price-style large">{{ $lang('Make') ? $lang('Make') : '立即咨询'
|
||||
}}</text>
|
||||
<text class="price price-style large">{{ $lang('merch.consultNow') }}</text>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -193,8 +192,7 @@
|
||||
parseFloat(showPrice(item)).toFixed(2).split('.')[1] }}</text>
|
||||
</view>
|
||||
<view class="discount-price" v-else>
|
||||
<text class="price price-style large">{{ $lang('Make') ? $lang('Make') : '立即咨询'
|
||||
}}</text>
|
||||
<text class="price price-style large">{{ $lang('merch.consultNow') }}</text>
|
||||
</view>
|
||||
<view class="member-price-tag"
|
||||
v-if="item.member_price && item.member_price == showPrice(item)">
|
||||
|
||||
Reference in New Issue
Block a user