|
@@ -5,8 +5,6 @@ interface Props {
|
|
|
autoHideDelay?: number
|
|
|
icon?: string
|
|
|
iconSize?: string
|
|
|
- highlightText1?: string
|
|
|
- highlightText2?: string
|
|
|
width?: string
|
|
|
}
|
|
|
|
|
@@ -15,8 +13,6 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
autoHide: true,
|
|
|
autoHideDelay: 10000,
|
|
|
icon: '/static/icons/gift.png',
|
|
|
- highlightText1: '',
|
|
|
- highlightText2: '',
|
|
|
width: '600rpx',
|
|
|
})
|
|
|
|
|
@@ -108,7 +104,7 @@ defineExpose({
|
|
|
class="absolute bottom-full left-1/2 mb-20rpx transform rounded-full bg-black bg-opacity-80 px-20rpx py-12rpx text-24rpx text-white -translate-x-1/2"
|
|
|
:style="{ width }"
|
|
|
>
|
|
|
- <view class="flex items-center">
|
|
|
+ <view class="flex items-end justify-center">
|
|
|
<image
|
|
|
v-if="icon"
|
|
|
:src="icon"
|
|
@@ -116,13 +112,6 @@ defineExpose({
|
|
|
/>
|
|
|
<view class="text-center">
|
|
|
<text>{{ $t('productDetail.fullRefundText') }} </text>
|
|
|
- <text class="text-[var(--wot-color-theme)]">
|
|
|
- {{ highlightText1 }}
|
|
|
- </text>
|
|
|
- <text> {{ $t('productDetail.redEnvelopeRewards') }} </text>
|
|
|
- <text class="text-[var(--wot-color-theme)]">
|
|
|
- {{ highlightText2 }}
|
|
|
- </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 倒三角箭头 -->
|