|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="app_container">
|
|
|
|
|
|
|
+ <div class="main_container">
|
|
|
<!-- 顶部科目选择区域 -->
|
|
<!-- 顶部科目选择区域 -->
|
|
|
<div class="section" v-if="electiveFormItm?.label">
|
|
<div class="section" v-if="electiveFormItm?.label">
|
|
|
<div class="section_title">{{electiveFormItm?.label}}:</div>
|
|
<div class="section_title">{{electiveFormItm?.label}}:</div>
|
|
@@ -282,19 +282,18 @@ onMounted( async()=>{
|
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
-.app_container {
|
|
|
|
|
|
|
+.main_container {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
gap:calc(32 * var(--app-rpx));
|
|
gap:calc(32 * var(--app-rpx));
|
|
|
-
|
|
|
|
|
- overflow: auto;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- min-height: 100vh;
|
|
|
|
|
- background-color: #ffffff;
|
|
|
|
|
-
|
|
|
|
|
- // 44px塌陷 ___原因未找到———— 待完善
|
|
|
|
|
- padding:calc(30 * var(--app-rpx)) calc(19 * var(--app-rpx)) calc((84 + 20 + 44) * var(--app-rpx)); /* 为底部按钮留出空间 */
|
|
|
|
|
|
|
|
|
|
|
|
+ background-color: #ffffff !important;
|
|
|
|
|
+
|
|
|
|
|
+ // 浏览器端的底部 工具栏高度 90 * var(--app-rpx))
|
|
|
|
|
+ // 手机微信 工具栏高度 不影响 __ 待完善
|
|
|
|
|
+ padding:calc(30 * var(--app-rpx))
|
|
|
|
|
+ calc(19 * var(--app-rpx))
|
|
|
|
|
+ calc((84 + 90 + 20) * var(--app-rpx)) !important; /* 为底部按钮留出空间 */
|
|
|
> * {
|
|
> * {
|
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
|
}
|
|
}
|
|
@@ -372,6 +371,7 @@ onMounted( async()=>{
|
|
|
/* --- 底部按钮 --- */
|
|
/* --- 底部按钮 --- */
|
|
|
.bottom_action_bar {
|
|
.bottom_action_bar {
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
|
|
+ // position: sticky;
|
|
|
bottom: 0;
|
|
bottom: 0;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
width: 100%;
|
|
width: 100%;
|