Commit 5ecb573c by 李伟康

修改缺省样式

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