|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="fs-empty-box" :style="{padding: padding}">
|
|
<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 class="content">{{text}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
@@ -20,6 +20,10 @@ const props = defineProps({
|
|
|
padding: {
|
|
padding: {
|
|
|
type: String,
|
|
type: String,
|
|
|
default: '200rpx 30rpx'
|
|
default: '200rpx 30rpx'
|
|
|
|
|
+ },
|
|
|
|
|
+ imageWidth: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: '400rpx'
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
</script>
|
|
</script>
|