From 3d73fb33c46aada16a6060adcd4ea14bb33b6b2a Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 09 四月 2024 10:39:11 +0800
Subject: [PATCH] 详情页tabs样式优化,答题添加页面退出拦截,合并代码

---
 packageDomain/pages/sampleBookList/applicationForm/index.wxss |   40 ++++++++++++++++++++++++----------------
 1 files changed, 24 insertions(+), 16 deletions(-)

diff --git a/packageDomain/pages/sampleBookList/applicationForm/index.wxss b/packageDomain/pages/sampleBookList/applicationForm/index.wxss
index e7c8141..1627d37 100644
--- a/packageDomain/pages/sampleBookList/applicationForm/index.wxss
+++ b/packageDomain/pages/sampleBookList/applicationForm/index.wxss
@@ -1,5 +1,5 @@
 page {
-  background-color: #f0f2f5;
+  background-color: #f0f2f5 !important;
 }
 
 .container {
@@ -7,22 +7,20 @@
   height: 100vh;
 }
 
-.page-header {
-  width: 100%;
-  position: fixed;
-  top: 0;
-  left: 0;
-  z-index: 1;
-}
 
 .page-content {
-  padding-top: 96rpx;
+  margin-top: -30rpx;
+}
+
+.con-bg {
+  height: 30rpx;
+  background: #fff;
+  width: 100%;
 }
 
 .content {
-  height: calc(100vh - env(safe-area-inset-bottom) - 96rpx);
   box-sizing: border-box;
-  overflow-y: auto;
+  height: calc(100vh - env(safe-area-inset-bottom) - 96rpx);
 }
 
 .t-tabs__track {
@@ -31,8 +29,13 @@
 }
 
 .t-tabs {
-  margin-top: 20rpx;
+  padding-top: 20rpx;
   background: none !important;
+  width: 100%;
+  position: fixed;
+  top: 0rpx;
+  left: 0;
+  z-index: 1
 }
 
 .t-tabs__wrapper {
@@ -74,7 +77,7 @@
   background: #fff;
   min-height: 200rpx;
   border-radius: 10rpx;
-  margin-top: -30rpx;
+
   padding: 60rpx 40rpx 40rpx 40rpx;
 }
 
@@ -187,13 +190,18 @@
   flex: 1;
 }
 
-.weui-input {
-  height: 60rpx;
+.item-content .t-input {
+  padding: 0 !important;
+}
+
+.t-input__placeholder {
+  font-size: 28rpx !important
 }
 
 .btn-area {
-  margin: 40rpx 0;
+  margin: 40rpx;
   padding: 0 40rpx;
+  padding-bottom: 60rpx;
 }
 
 .submit {

--
Gitblit v1.9.1