细节优化、魔方汇率符号同步优化

master
gongfuxiang 2023-11-30 23:28:12 +08:00
parent 7ee1e06511
commit bb57f4df34
3 changed files with 7 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<view class="padding-horizontal-main tc" :data-value="(listItem.goods_url || null) !== null ? listItem.goods_url : ''" @tap="url_event">
<image :src="(listItem.images || null) !== null ? listItem.images : ''" mode="heightFix" class="swiper-img border-radius-sm"> </image>
<view class="price tc single-text">
<text class="sales-price va-m text-size-xss va-b">{{ currency_symbol }}</text>
<text class="sales-price va-m text-size-xss va-b">{{ propCurrencySymbol }}</text>
<text class="sales-price va-m text-size-xs">{{ listItem.min_price }}</text>
</view>
</view>
@ -46,6 +46,10 @@
export default {
name: 'recommend-hot',
props: {
propCurrencySymbol: {
type: String,
default: app.globalData.data.currency_symbol,
},
propData: {
type: Object,
default: () => {
@ -65,7 +69,6 @@
return {
theme_view: app.globalData.get_theme_value_view(),
data_goods_list: [],
currency_symbol: app.globalData.data.currency_symbol,
};
},
mounted() {

View File

@ -150,7 +150,7 @@
<!-- 魔方 - 插件 -->
<block v-if="pv.plugins == 'magic' && (plugins_magic_data || null) != null">
<component-magic-list :propData="plugins_magic_data"></component-magic-list>
<component-magic-list :propData="plugins_magic_data" :propCurrencySymbol="currency_symbol"></component-magic-list>
</block>
</block>
</block>

View File

@ -13,7 +13,7 @@
</view>
<view class="content margin-top">
<block v-for="(fv, fi) in content_list" :key="fi">
<view v-if="(item[fv.field] || null) != null" class="single-text margin-top-sm">
<view v-if="(item[fv.field] || null) != null" class="margin-top-sm">
<text class="cr-grey margin-right-xl va-m">{{ fv.name }}</text>
<block v-if="fv.field == 'images'">
<block v-for="(iv, ix) in item[fv.field]" :key="ix">