| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <template>
- <div class="app-empty">
- <div class="app-empty-center">
- <div class="app_empty_img">
- <image :src="`${constant.hostUrl}/image/common/no_data_hua.png`" mode="widthFix"></image>
- </div>
- <div class="app-empty-title">
- <span class="empty_noData">{{ title }}</span>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: 'AppWrapperEmpty',
- props: {
- type: {
- type: String,
- default: 'noData'
- },
- pictureHeight: {
- type: String,
- default: ''
- },
- title: {
- type: String,
- default: '暂无数据'
- },
- content: {
- type: String,
- default: ''
- },
- isEmpty: {
- type: Boolean,
- default: false
- },
- isLoading: {
- type: Boolean,
- default: false
- },
- finished: {
- type: Boolean,
- default: false
- },
- isTitle: {
- type: Boolean,
- default: true
- }
- },
- computed: {
- },
- data() {
- return {}
- }
- }
- </script>
- <style lang="scss" scoped>
- .app-empty {
- width: 100%;
- display: flex;
- align-items: center;
- & .app-empty-center {
- width: 100%;
- }
- & .app_empty_img {
- width: 100%;
- margin-top:100upx;
- text-align: center;
- & image {
- margin:0 auto;
- width:260upx;
- }
- }
- & .app-empty-title {
- display: flex;
- flex-direction: column;
- align-items: center;
- font-size: 32upx;
- color: #cccccc;
- margin-top:30upx;
- & span {
- font-weight: 400;
- & + span {
- font-weight: initial;
- margin-top: 10upx;
- font-size: 26upx;
- }
- }
- & .empty_noData {
- font-size: 26upx;
- }
- }
- }
- </style>
|