diff --git a/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html b/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html index eefe286..f8a391f 100644 --- a/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html @@ -10,13 +10,48 @@ layout("/layouts/platform_h5.html"){ box-shadow: 0 8px 12px #ebedf0; text-align: center !important; } - .info-container { - margin-bottom: 60px; + .activity-info-sheet { + height: 90vh; + height: 90dvh; + max-height: 90vh; + max-height: 90dvh; } - .button { - position: fixed; - bottom: 0; + .activity-info-sheet .van-action-sheet__content { + display: flex; + min-height: 0; + overflow: hidden; + } + .activity-info-sheet .info-container { + display: flex; + flex: 1; + min-width: 0; + min-height: 0; + flex-direction: column; + } + .activity-info-sheet .info-body { + flex: 1; + min-height: 0; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + } + /* PDF内部使用百分比高度,必须提供明确的预览高度;外层正文仍可滚动查看封面和全文。 */ + .activity-info-sheet .info-preview { + height: 60vh; + height: 60dvh; + min-height: 260px; + } + .activity-info-sheet .info-preview > div { + height: 100%; + } + .activity-info-sheet .info-preview .content img { + max-width: 100%; + height: auto; + } + .activity-info-sheet .button { + flex-shrink: 0; width: 100%; + padding-bottom: env(safe-area-inset-bottom); + background: #fff; } .info-img { display: block; @@ -27,7 +62,7 @@ layout("/layouts/platform_h5.html"){