空白页面

This commit is contained in:
shijingjing
2023-03-20 08:32:07 +08:00
parent 02abd08424
commit ec8bb6daf0
6 changed files with 121 additions and 3 deletions

View File

@@ -0,0 +1,42 @@
<template>
<div class="AppEmpty">
<div class="card">
<img class="emptyImg" :src="emptyImg" :class="noPermit ? 'small-img' : ''">
<div class="emptyName" v-html="desName"></div>
</div>
</div>
</template>
<script>
export default {
name: 'AppEmpty',
props: {
img: { default: "./mdpi_img-jianshezhong.png" },
noPermit: Boolean,
desName: {
default: '丰收号',
type: String
}
},
}
</script>
<style lang="scss" scoped>
.AppEmpty {
width: 100vw;
height: 100vh;
padding: 32px;
.card {
width: 100%;
height: 80vh;
background: #FFF;
.emptyImg {
width: 300px;
height: 310px;
margin-top: 52px;
}
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -20,10 +20,10 @@
</div>
<div class="card">
<img class="card-left" src="./img/img-fengshouyinhang.png" alt="">
<img class="card-left" src="./img/img-fengshouyinhang.png" @click="$linkTo('/mods/newFarmerBank/newFarmerBank')" alt="">
<div class="card-right">
<img src="./img/img-fengduxinnongren.png" alt="">
<img src="./img/ic-jiaoyuhuzhu.png" alt="">
<img src="./img/img-fengduxinnongren.png" alt="" @click="$linkTo('./mods/newFarmer/newFarmer')">
<img src="./img/ic-jiaoyuhuzhu.png" alt="" @click="$linkTo('./mods/helpEachOther/helpEachOther')">
</div>
</div>
<AiLogin ref="login"/>

View File

@@ -0,0 +1,22 @@
<template>
<div class="helpEachOther">
<AiEmpty img="./../AppEmpty/mdpi_img-jianshezhong.png"></AiEmpty>
</div>
</template>
<script>
export default {
name: "helpEachOther",
appName: "家庭教育互助惠",
data() {
return {
}
},
onShow() {}
}
</script>
<style>
</style>

View File

@@ -0,0 +1,23 @@
<template>
<div class="newFarmer">
<AiEmpty img="./../AppEmpty/mdpi_img-jianshezhong.png"></AiEmpty>
</div>
</template>
<script>
export default {
components: { AiEmpty },
name: 'newFarmer',
appName: '丰收新农人',
data() {
return {
}
},
}
</script>
<style>
</style>

View File

@@ -0,0 +1,31 @@
<template>
<div class="newFarmerBank">
<AppEmpty></AppEmpty>
</div>
</template>
<script>
import AppEmpty from '../AppEmpty/AppEmpty.vue'
export default {
name: "newFarmerBank",
appName: "丰收银行",
components: { AppEmpty },
data() {
return {
}
},
methods: {
},
onShow() {
uni.setNavigationBarTitle({
title: '建设中'
});
},
}
</script>
<style>
</style>