This commit is contained in:
yanran200730
2021-12-08 18:34:42 +08:00
parent a97e35644e
commit 087bc7aca4

View File

@@ -91,9 +91,15 @@
<span>添加问题</span> <span>添加问题</span>
</div> </div>
<div class="add-form__footer"> <div class="add-form__footer">
<div> <div class="add-form__footer--item-wrapper">
<span @click="toPreview">预览</span> <div class="add-form__footer--item">
<span @click="toSetting">设置</span> <image :src="`${$cdn}sass/preview.png`">
<span @click="toPreview">预览</span>
</div>
<div class="add-form__footer--item">
<image :src="`${$cdn}sass/setting.png`">
<span @click="toSetting">设置</span>
</div>
</div> </div>
<div @click="onConfirm">立即发布</div> <div @click="onConfirm">立即发布</div>
</div> </div>
@@ -626,7 +632,7 @@ export default {
height: 112px; height: 112px;
text-align: center; text-align: center;
div { & > div {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -646,19 +652,37 @@ export default {
} }
span { span {
flex: 1;
height: 100%;
line-height: 112px;
color: #333333;
font-size: 32px;
&:active {
background: #eee;
}
} }
} }
} }
.add-form__footer--item-wrapper {
.add-form__footer--item {
display: flex;
align-items: center;
flex-direction: column;
flex: 1;
image {
display: block;
width: 48px;
height: 48px;
margin: 0 auto;
}
span {
display: block;
text-align: center;
color: #999;
font-size: 28px;
&:active {
background: #eee;
}
}
}
}
.add-form__btn { .add-form__btn {
display: flex; display: flex;
align-items: center; align-items: center;