Files
ckb-SuperAdmin/Backend/src/components/layout/WelcomeModule.vue
2025-03-18 14:39:17 +08:00

58 lines
1006 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="welcome-box">
<div class="famous-box">
<img src="~@/assets/image/chat.png" width="300" />
<p v-if="text">
{{ text }}
</p>
<p v-else>
不是井里没有水而是你挖的不够深<br />
不是成功来得慢而是你努力的不够多<br />
加油吧 ......
</p>
</div>
</div>
</template>
<script>
export default {
props: {
text: {
type: String,
default: ''
}
},
components: {},
data() {
return {}
},
created() {},
methods: {},
}
</script>
<style lang="less" scoped>
.welcome-box {
height: 100%;
width: 100%;
.famous-box {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
font-size: 24px;
user-select: none;
p {
width: 100%;
font-weight: 300;
text-align: center;
font-size: 15px;
color: #b9b4b4;
margin-top: -30px;
}
}
}
</style>