refactor(ns-contact): 替换硬编码文本为多语言配置

将页面中硬编码的客服相关文本替换为国际化语言包调用,实现多语言支持
This commit is contained in:
2026-06-22 10:03:11 +08:00
parent 315bdc71ff
commit 02644e1959

View File

@@ -29,10 +29,10 @@
<uni-popup ref="servicePopup" type="center">
<view class="service-popup-wrap">
<view class="head-wrap" @click="$refs.servicePopup.close()">
<text>联系客服</text>
<text>{{ $lang('chat.customerService') }}</text>
<text class="iconfont icon-close"></text>
</view>
<view class="body-wrap">{{ siteInfo.site_tel ? '请联系客服,客服电话是' + siteInfo.site_tel : '抱歉,商家暂无客服,请线下联系' }}
<view class="body-wrap">{{ siteInfo.site_tel ? $lang('chat.contactService') + siteInfo.site_tel : $lang('chat.noService') }}
</view>
</view>
</uni-popup>