12345678910111213141516171819202122232425262728293031323334353637383940 |
- <template>
- <view class="d-flex a-center j-center flex-column nothing animated fadeIn fast" :style="getHeight" >
- <view class="icon iconfont icon-meiyoudingdan"></view>
- <view class="text">这里什么也没有哦~</view>
- </view>
- </template>
- <script>
- export default{
- computed: {
- getHeight() {
- let height = uni.getSystemInfoSync().windowHeight - uni.upx2px(180);
- return `height: ${height}px;`;
- }
- },
- }
- </script>
- <style>
- .nothing{
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- height: 700upx;
- }
- .nothing>view{
- line-height: 1;
- }
- .nothing>view.icon{
- /* color: #66A3FF; */
- color: #989898;
- font-size: 260upx;
- }
- .nothing>view.text{
- font-size: 28upx;
- color: #989898;
- }
- </style>
|