Commit 5ecb573c by 李伟康

修改缺省样式

1 parent a18ab15f
<template>
<div class="nothing text-center">
<div class="nothing">
<img
:src="image"
class="image"
......@@ -11,8 +11,8 @@
<script type='text/ecmascript-6'>
export default {
name: 'Nothing',
props:{
image:String
props: {
image: String
},
data () {
return {
......@@ -27,10 +27,14 @@ export default {
<style scoped lang='scss'>
.nothing {
display: flex;
padding-top: 103px;
flex-direction: column;
font-size: 12px;
color: #666666;
align-items: center;
box-sizing: border-box;
background-color: #fff;
.image {
width: 266px;
height: 133px;
......
......@@ -76,7 +76,10 @@
</scroll-view>
</template>
<template v-else>
<nothing image="https://img01.glsx.com.cn/weapp/resource/scrm-mobile/psd/index-nothing.png">暂无可用素材组</nothing>
<nothing
class="nothing-box"
image="https://img01.glsx.com.cn/weapp/resource/scrm-mobile/psd/index-nothing.png"
>暂无可用素材组</nothing>
</template>
</template>
</div>
......@@ -262,6 +265,9 @@ export default {
}
}
}
.nothing-box {
height: calc(100vh - 180px);
}
}
.input-tab {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!