新增销售记录轮播逻辑
parent
ce3107cc38
commit
42c4efd5be
|
|
@ -842,7 +842,7 @@ button[disabled].bg-grey {
|
|||
/* 添加标准属性以增加兼容性 */
|
||||
line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-word;
|
||||
word-break: break-all;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
|
@ -854,7 +854,7 @@ button[disabled].bg-grey {
|
|||
/* 添加标准属性以增加兼容性 */
|
||||
line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-word;
|
||||
word-break: break-all;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
<componentDiyAsk v-else-if="item.key == 'ask'" :propIndex="get_prop_index(item)" :propKey="item.id + index" :propValue="item.com_data"></componentDiyAsk>
|
||||
<componentDiyAskTabs v-else-if="item.key == 'ask-tabs'" :propIndex="get_prop_index(item)" :propKey="item.id + index" :propValue="item.com_data" :propTop="get_diy_prop_top(item.com_data)" :propScrollTop="scroll_top" :propCustomNavHeight="get_diy_custom_nav_height(item.com_data)" :propIsTabsUseSafeDistance="getPropIsTabsUseSafeDistance"></componentDiyAskTabs>
|
||||
<componentDiyActivity v-else-if="item.key == 'activity'" :ref="'diy_goods_buy' + index" :propDiyIndex="index" :propIndex="get_prop_index(item)" :propKey="item.id + index" :propValue="item.com_data" @goods_buy_event="goods_buy_event"></componentDiyActivity>
|
||||
<componentDiySalerecords v-else-if="item.key == 'salerecords'" :propIndex="get_prop_index(item)" :propKey="item.id + index" :propValue="item.com_data"></componentDiySalerecords>
|
||||
<!-- 工具组件 -->
|
||||
<componentDiyFloatWindow v-else-if="item.key == 'float-window'" :propKey="item.id + index" :propValue="item.com_data"></componentDiyFloatWindow>
|
||||
<componentDiyTitle v-else-if="item.key == 'title'" :propKey="item.id + index" :propIndex="get_prop_index(item)" :propValue="item.com_data"></componentDiyTitle>
|
||||
|
|
@ -137,6 +138,7 @@
|
|||
import componentDiyAsk from '@/components/diy/ask';
|
||||
import componentDiyAskTabs from '@/components/diy/ask-tabs';
|
||||
import componentDiyActivity from '@/components/diy/activity';
|
||||
import componentDiySalerecords from '@/components/diy/salerecords'
|
||||
import componentDiyTabsCarousel from '@/components/diy/tabs-carousel';
|
||||
import componentDataTabs from '@/components/diy/data-tabs';
|
||||
import componentGoodsList from '@/components/goods-list/goods-list';
|
||||
|
|
@ -202,6 +204,7 @@
|
|||
componentDiyAsk,
|
||||
componentDiyAskTabs,
|
||||
componentDiyActivity,
|
||||
componentDiySalerecords,
|
||||
componentDiyTabsCarousel,
|
||||
componentDataTabs,
|
||||
componentGoodsList,
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@
|
|||
},
|
||||
propNewList: {
|
||||
type: Array,
|
||||
default: []
|
||||
default: () => ([])
|
||||
},
|
||||
propIsUseAuto: {
|
||||
type: Boolean,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<view v-if="['1', '2', '3'].includes(form.content.theme)" class="flex-1">
|
||||
<view class="flex-row align-c jc-c ht-auto gap-16" :class="position_class" :style="text_style + 'justify-content:' + form.content.indicator_location || 'center'">
|
||||
<template v-if="['2', '3'].includes(form.content.theme)">
|
||||
<view v-if="form.content.logo.length > 0" class="logo-outer-style re flex-row align-c">
|
||||
<view v-if="form.content.logo.length > 0" class="logo-outer-style re flex-row align-c" :data-value="form.content.link.page" @tap.stop="url_event">
|
||||
<template v-if="form.style.up_slide_logo && form.style.up_slide_logo.length > 0">
|
||||
<!-- 有上滑logo的处理逻辑 -->
|
||||
<view v-if="(propScrollTop - 5) / (header_top + 33) < 1" class="logo-style" :style="up_slide_old_logo_style">
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
</template>
|
||||
</view>
|
||||
</template>
|
||||
<view v-if="['1', '2', '3'].includes(form.content.theme) && !isEmpty(form.content.title)">{{ form.content.title }}</view>
|
||||
<view v-if="['1', '2', '3'].includes(form.content.theme) && !isEmpty(form.content.title)" :data-value="form.content.link.page" @tap.stop="url_event">{{ form.content.title }}</view>
|
||||
<template v-if="['3'].includes(form.content.theme) && !is_search_alone_row">
|
||||
<view class="flex-1 fw-n">
|
||||
<componentDiySearch :propValue="form" :propIsPageSettings="true"></componentDiySearch>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view :class="['oh img_wh', propClass]" :style="empty_outer_style + propStyle">
|
||||
<image :src="img_url" :mode="propImgFit" :style="empty_style + 'display: block;'" />
|
||||
<image :src="img_url" :mode="propImgFit" :style="empty_style + 'display: block;'" @error="error_change"/>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -68,6 +68,13 @@
|
|||
img_url: img_url,
|
||||
});
|
||||
},
|
||||
error_change() {
|
||||
this.setData({
|
||||
empty_outer_style: 'background: #f4fcff;display:flex;align-items: center;justify-content: center;',
|
||||
empty_style: `${this.propErrorStyle}`,
|
||||
img_url: this.default_image,
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue