123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <template>
- <!-- <view class="box" :style="{'background':bcolor,'paddingTop':pt}"> -->
- <view class="box" :style="{'background':bcolor}">
- <image src="../../static/empty.png" mode=""></image>
- <view class="" style="font-size: 26rpx;color:#aaa">
- {{tipTxt}}~
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "empty",
- data() {
- return {
- };
- },
- props: {
- bcolor: {
- type: String,
- default: ''
- },
- pt: {
- type: String,
- default: '50%'
- },
- tipTxt: {
- type: String,
- default: '暂无数据'
- }
- },
- onLoad() {
- console.log(this.bcolor, '132423325');
- }
- }
- </script>
- <style lang="scss" scoped>
- image {
- width: 200rpx;
- height: 200rpx;
- }
- .box {
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- // background: red;
- height: 300rpx;
- }
- </style>
|