fix: 修复多组件内语言包文件名路径不一致问题

将所有组件内引用的语言包路径从驼峰式改为短横线命名格式,保持代码中引用与实际语言包文件命名统一
This commit is contained in:
2026-07-03 10:45:34 +08:00
parent 1e0a06850a
commit f05eebad43
11 changed files with 114 additions and 114 deletions

View File

@@ -12,7 +12,7 @@
</view>
<image v-else class="left-img" :src="$util.img(value.titleStyle.leftImg)" mode="heightFix" show-menu-by-longpress></image>
<view class="head-content" v-if="value.titleStyle.style == 'style-1'"
:style="{ color: value.titleStyle.textColor }">{{ $lang('components-diy.diyBargain.freeGet') }}</view>
:style="{ color: value.titleStyle.textColor }">{{ $lang('components-diy.diy-bargain.freeGet') }}</view>
<view class="head-right"
:style="{ fontSize: value.titleStyle.moreFontSize * 2 + 'rpx', color: value.titleStyle.moreColor }"
@tap.stop="$util.redirectTo('/pages_promotion/bargain/list')">
@@ -44,19 +44,19 @@
:src="$util.img('public/uniapp/bargain/progress_bar_01.png')" show-menu-by-longpress/>
</view>
</view>
<view class="num" v-if="item.is_bargaining">
{{ $lang('components-diy.diyBargain.bargained') }}
<text>¥{{ (item.price - item.curr_price).toFixed(2) }}</text>
{{ $lang('components-diy.diyBargain.onlyDiff') }}
<text>¥{{ item.curr_price }}</text>
</view>
<view class="num" v-else>
{{ $lang('components-diy.diyBargain.minBargainTo') }}
<text>¥{{ item.floor_price }}</text>
</view>
<view class="num" v-if="item.is_bargaining">
{{ $lang('components-diy.diy-bargain.bargained') }}
<text>¥{{ (item.price - item.curr_price).toFixed(2) }}</text>
{{ $lang('components-diy.diy-bargain.onlyDiff') }}
<text>¥{{ item.curr_price }}</text>
</view>
<view class="num" v-else>
{{ $lang('components-diy.diy-bargain.minBargainTo') }}
<text>¥{{ item.floor_price }}</text>
</view>
</view>
<view class="progress" v-if="value.style == 'style-3'">
{{ $lang('components-diy.diyBargain.minBargainTo') }}
{{ $lang('components-diy.diy-bargain.minBargainTo') }}
<text class="num">¥{{ item.floor_price }}</text>
</view>
<view class="price-wrap">
@@ -75,7 +75,7 @@
color: value.btnStyle.theme == 'diy' ? value.btnStyle.textColor : '',
borderRadius: value.btnStyle.aroundRadius * 2 + 'rpx'
}">
{{ item.is_bargaining ? $lang('components-diy.diyBargain.continueBargain') : value.btnStyle.text }}
{{ item.is_bargaining ? $lang('components-diy.diy-bargain.continueBargain') : value.btnStyle.text }}
</button>
</view>
</view>
@@ -96,7 +96,7 @@
<view class="num"
v-if="value.saleStyle.control && value.template == 'horizontal-slide' && value.style != 'style-2'"
:style="{ color: value.theme == 'diy' ? value.saleStyle.color : '' }">
{{ $lang('components-diy.diyBargain.soldCount', { num: item.sale_num }) }}
{{ $lang('components-diy.diy-bargain.soldCount', { num: item.sale_num }) }}
</view>
</view>
<view :class="['content', { 'multi-content': value.nameLineMode == 'multiple' }]"
@@ -141,7 +141,7 @@
<view class="num"
v-if="value.saleStyle.control && value.template == 'horizontal-slide' && value.style != 'style-2'"
:style="{ color: value.theme == 'diy' ? value.saleStyle.color : '' }">
{{ $lang('components-diy.diyBargain.soldCount', { num: item.sale_num }) }}
{{ $lang('components-diy.diy-bargain.soldCount', { num: item.sale_num }) }}
</view>
</view>
<view :class="['content', { 'multi-content': value.nameLineMode == 'multiple' }]"