【前端】云工厂的纸掌柜app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.2 KiB

<template>
<view class="empty-area">
<image class="icon" src="/static/imgs/client-detail/no-data-icon.png"></image>
<view class="text-row">
<view>还没有纸品快去</view>
<view class="btn" @tap="nativeTo">添加</view>
</view>
</view>
</template>
<script>
import { go2 } from '@/utils/hook.js'
export default {
props: {
title: {
type: String,
default: null
}
},
data() {
return {}
},
methods: {
// 按钮点击事件
nativeTo() {
let params = {
title: '添加纸品'
}
go2('add-paper', params)
}
}
}
</script>
<style lang="scss" scoped>
.empty-area {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
margin-top: 25%;
.icon {
width: 560rpx;
height: 320rpx;
}
.text-row {
display: flex;
flex-direction: row;
font-size: 30rpx;
color: #333333;
letter-spacing: 0;
text-align: center;
font-weight: 400;
}
.btn {
font-size: 32rpx;
color: #007aff;
letter-spacing: 0;
text-align: center;
font-weight: 400;
text-decoration: underline;
}
}
</style>