mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 09:26:44 +08:00
style(underwriting): 调整提交按钮样式
- 将提交按钮的样式从单独的组件移至容器组件 - 统一设置按钮底部距离为10px - 设置按钮宽度为90% - 添加水平居中变换 - 移除重复的样式定义 - 优化样式作用域穿透写法
This commit is contained in:
@@ -16,5 +16,11 @@ export default {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
|
::v-deep .submit-btn {
|
||||||
|
bottom: 10px;
|
||||||
|
width: 90%;
|
||||||
|
transform: translateX(5%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -35,11 +35,5 @@ export default {
|
|||||||
.alert-warning {
|
.alert-warning {
|
||||||
background-color: #fef2d3;
|
background-color: #fef2d3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit-btn {
|
|
||||||
bottom: 10px;
|
|
||||||
width: 90%;
|
|
||||||
transform: translateX(5%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -112,11 +112,3 @@ export default {
|
|||||||
<Button block class="bottom-btn submit-btn mt20" color="#E9322E">提交预核保</Button>
|
<Button block class="bottom-btn submit-btn mt20" color="#E9322E">提交预核保</Button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.submit-btn {
|
|
||||||
bottom: 10px;
|
|
||||||
width: 90%;
|
|
||||||
transform: translateX(5%);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user