| | |
| | | <template> |
| | | <view class="no-record" v-if="isShow"> |
| | | <image src="../../static/images/no-data.png" :class="size==='mini'?'mini-img':'normal-img'" mode="widthFix"></image> |
| | | <view class="no-record" :class="size==='mini'?'mini':''" v-if="isShow"> |
| | | <image src="../../static/images/no-data.png" mode="widthFix"></image> |
| | | <text>{{txt}}</text> |
| | | </view> |
| | | </template> |
| | |
| | | text-align: center; |
| | | font-size: 14px; |
| | | color: rgb(171, 177, 204); |
| | | margin-top: 30%; |
| | | padding-top: 30%; |
| | | } |
| | | .no-record.mini{ |
| | | padding-top: 0; |
| | | } |
| | | .no-record image{ |
| | | display: block; |
| | | margin: 0 auto 10px; |
| | | } |
| | | .normal-img{ |
| | | width: 160px; |
| | | } |
| | | .mini-img{ |
| | | .no-record.mini image{ |
| | | width: 100px; |
| | | } |
| | | </style> |