123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <view class="empty-box">
- <image :src="imgHost + '/statics/images/empty-box.png'"></image>
- <view class="txt">{{title || $t(`暂无记录`)}}</view>
- </view>
- </template>
- <script>
- import {HTTP_REQUEST_URL} from '@/config/app';
- export default{
- props: {
- title: {
- type: String,
- default: '',
- },
- },
- data(){
- return{
- imgHost:HTTP_REQUEST_URL
- }
- }
- }
-
- </script>
- <style lang="scss">
- .empty-box{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-top: 200rpx;
- image{
- width: 414rpx;
- height: 240rpx;
- }
- .txt{
- font-size: 26rpx;
- color: $uni-color-tip;
- }
- }
- </style>
|