123456789101112131415161718192021222324252627282930313233343536373839 |
- <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 {
- 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>
|