You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
manghe/pages/index/diy/components/blankPage.vue

45 lines
738 B

<template>
<view v-show="!isSortType">
<view class="blankPage" :style="'height:'+ heightConfig*2 +'rpx;'" v-if="heightConfig>0">
<view class="bankCon" :style="'background-color:'+ bgColor +';'"></view>
</view>
</view>
</template>
<script>
export default {
name: 'blankPage',
props: {
dataConfig: {
type: Object,
default: () => {}
},
isSortType:{
type: String | Number,
default:0
}
},
data() {
return {
bgColor:this.dataConfig.bgColor.color[0].item,
heightConfig:this.dataConfig.heightConfig.val
};
},
created() {},
methods: {
}
}
</script>
<style lang="scss">
.blankPage{
.bankCon{
width: 100%;
height: 100%;
background-color: blue;
}
}
</style>