返回样式

This commit is contained in:
zhangyc
2022-12-16 15:17:27 +08:00
parent 7b7fe8568d
commit 12fa1b661b
13 changed files with 204 additions and 32 deletions

View File

@@ -7,13 +7,23 @@
<div>{{ sName }}</div>
<div style="margin-left: 6px; margin-right: 6px">/</div>
<div style="font-weight: 700; font-size: 16px">投票详情</div>
<!--
<div class="preNext">
<button class="btn btn01"></button>
<span class="content" style="margin-left: 6px">上一个</span>
<span class="content" style="margin-left: 31px">下一个</span>
<button class="btn btn02" style="margin-left: 6px"></button>
</div>
-->
<div class="return">
<div style="display: flex">
<img
class="img2" style="margin-right:22px;"
src="../../assets/image/return.png"
/>
<div class="text">返回</div>
</div>
</div>
</div>
<!-- 面包屑导航 -->
<div class="debateTitle">投票{{ dataInfo?.voteName }}</div>
@@ -217,7 +227,16 @@ const submitVote = () => {
line-height: 24px;
position: relative;
}
.return{
position: absolute;
right: 10%;
.text{
text-align: center;
display: flex;
flex-direction: row;
align-items: center;
}
}
.preNext {
position: absolute;
right: 0px;