This commit is contained in:
lixuan
2022-12-06 18:14:56 +08:00
parent f8543b24e7
commit 5c968e561a
7 changed files with 453 additions and 76 deletions

View File

@@ -4,7 +4,7 @@
<div class="img" :class="marginTopExtra?'margin-extra':''">
<image :src="baseUrl+'empty.png'" mode="widthFix"></image>
</div>
<p>这里没有相关记录哦~</p>
<p :style="{padding: contentTitle?'0 50px':''}">{{contentTitle?contentTitle:'这里没有相关记录哦~'}}</p>
</div>
</template>
<script>
@@ -14,11 +14,16 @@
marginTopExtra:{
type:Boolean,
default: true
},
contentTitle:{
type:String,
default:''
}
},
data() {
return {
baseUrl: this.global.imgURL
}
}