@@ -1,6 +1,6 @@
<template>
<view class="fs-empty-box" :style="{padding: padding}">
- <image :src="src" mode="widthFix" style="width: 400rpx;"></image>
+ <image :src="src" mode="widthFix" :style="{width: imageWidth}"></image>
<view class="content">{{text}}</view>
</view>
</template>
@@ -20,6 +20,10 @@ const props = defineProps({
padding: {
type: String,
default: '200rpx 30rpx'
+ },
+ imageWidth: {
+ type: String,
+ default: '400rpx'
}
})
</script>
@@ -16,7 +16,7 @@
v-if="showClose"
class="fs-notice-bar-close"
:color="color"
- type="icon-error"
+ type="icon-close-circle"
@click="handleClose">
</fs-icon>