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.
45 lines
691 B
45 lines
691 B
3 weeks ago
|
<template>
|
||
|
<view class="wanl-empty">
|
||
|
<view class="wanl-empty-tag">
|
||
|
<text class="wanl-empty-text">{{text}}</text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: "wanlLiveTip",
|
||
|
props: {
|
||
|
text: {
|
||
|
type: String,
|
||
|
default: ''
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.wanl-empty{
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
.wanl-empty-tag{
|
||
|
background-color: rgba(255,100,0,.3);
|
||
|
height: 80rpx;
|
||
|
padding-right: 50rpx;
|
||
|
padding-left: 50rpx;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
border-radius: 100px;
|
||
|
}
|
||
|
.wanl-empty-text{
|
||
|
font-size: 32rpx;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
</style>
|