13 changed files with 136 additions and 71 deletions
@ -0,0 +1,50 @@
|
||||
<template> |
||||
<view class="cs-empty" :style="{ marginTop: marginTop + 'rpx' }"> |
||||
<image |
||||
class="empty-image" |
||||
src="/static/images/emty.png" |
||||
mode="aspectFit" |
||||
/> |
||||
<text class="empty-text">{{ text }}</text> |
||||
<slot></slot> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
name: 'cs-empty', |
||||
props: { |
||||
// 显示的文字 |
||||
text: { |
||||
type: String, |
||||
default: '暂无数据' |
||||
}, |
||||
// 上边距 |
||||
marginTop: { |
||||
type: Number, |
||||
default: 0 |
||||
} |
||||
} |
||||
} |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
.cs-empty { |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
background-color: #fff; |
||||
height: 856rpx; |
||||
border-radius: 24rpx; |
||||
gap: 24rpx; |
||||
.empty-image { |
||||
width: 158rpx; |
||||
height: 158rpx; |
||||
} |
||||
.empty-text { |
||||
font-size: 32rpx; |
||||
color: #99a1b7; |
||||
} |
||||
} |
||||
</style> |
@ -1,21 +1,22 @@
|
||||
// 应用全局配置
|
||||
module.exports = { |
||||
// baseUrl: 'http://188.188.3.166:48080',
|
||||
// baseUrl: 'http://188.188.5.188:48080',
|
||||
// baseUrl: 'https://hb.jzce.com',
|
||||
baseUrl: 'http://188.188.3.232:48080', |
||||
// baseUrl: 'http://localhost:48080',
|
||||
baseApi: '/admin-api', |
||||
imgUrl: 'https://hb.jzce.com', |
||||
// 应用信息
|
||||
appInfo: { |
||||
// 应用名称
|
||||
name: "nature-secure-miniapp", |
||||
name: 'nature-secure-miniapp', |
||||
// 应用版本
|
||||
version: "1.0.0", |
||||
version: '1.0.0', |
||||
// 应用logo
|
||||
logo: "/static/logo.png", |
||||
logo: '/static/logo.png', |
||||
// 官方网站
|
||||
site_url: "", |
||||
site_url: '', |
||||
// 政策协议
|
||||
agreements: [] |
||||
} |
||||
agreements: [], |
||||
}, |
||||
} |
Loading…
Reference in new issue