|
|
|
@ -1,10 +1,10 @@ |
|
|
|
<template> |
|
|
|
<view class="empty-box" style="margin: 100rpx 0;text-align: center;"> |
|
|
|
<view class="empty-image"> |
|
|
|
<image :src="src" mode="aspectFill" style="margin: 0 auto;width: 360rpx;height: 252rpx;"></image> |
|
|
|
<image :src="src" mode="aspectFill" style="margin: 0 auto;width: 520rpx;"></image> |
|
|
|
</view> |
|
|
|
<view class="content m-text-center m-m-t-20"> |
|
|
|
<view class="m-font-32" style="color: #333333;">{{ text }}</view> |
|
|
|
<view class="m-font-32" style="color: #777777;">{{ text }}</view> |
|
|
|
</view> |
|
|
|
<button class="m-m-t-32 empty-button" v-if="showButton" @click="$emit('clickButton')">{{ buttonTitle }}</button> |
|
|
|
</view> |
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
export default { |
|
|
|
name:"d-empty", |
|
|
|
name:"lf-empty", |
|
|
|
props: { |
|
|
|
text: { |
|
|
|
type: String, // 空消息提示语 |
|
|
|
|