From 2d3276fce97e33f5c7f04a74632e18ebb01c3a4d Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期一, 15 四月 2024 17:30:16 +0800
Subject: [PATCH] 音频优化1

---
 packageDomain/pages/sampleBookList/applicationForm/index.wxml |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/packageDomain/pages/sampleBookList/applicationForm/index.wxml b/packageDomain/pages/sampleBookList/applicationForm/index.wxml
index 99a28eb..cd6769b 100644
--- a/packageDomain/pages/sampleBookList/applicationForm/index.wxml
+++ b/packageDomain/pages/sampleBookList/applicationForm/index.wxml
@@ -1,10 +1,11 @@
-<view class="container">
-  <t-tabs t-class="t-tabs" defaultValue="{{active}}" split="{{false}}" bind:change="tabClick">
+<view class="container" style="height:calc(100% + {{keyboardHeight ? (keyboardHeight + 'px'):'100%'}});padding-bottom:calc(180rpx +  {{keyboardHeight ?  120 + 'px':0}}) ">
+  <t-tabs t-class="t-tabs" defaultValue="{{active}}" split="{{false}}" bind:change="tabClick" show-bottom-line="false">
     <t-tab-panel label="绾歌川鏍蜂功" value="0" />
     <t-tab-panel label="鐢靛瓙鏍蜂功" value="1" />
   </t-tabs>
   <view class="page-content">
-    <view class="content">
+    <view class="con-bg"></view>
+    <scroll-view class="scroll content" scroll-y>
       <view class="bookListBox">
         <view class="tips">
           <rich-text space="emsp" nodes="{{description}}" class="content" />
@@ -57,19 +58,19 @@
           <view class="item">
             <text class="label">濮撳悕锛�</text>
             <view class="item-content">
-              <t-input placeholder="璇疯緭鍏ョ湡瀹炲鍚�" borderless value="{{contactInfo.fullName}}" bindchange="onFullNameInput" />
+              <t-input placeholder="璇疯緭鍏ョ湡瀹炲鍚�" borderless value="{{contactInfo.fullName}}" bindchange="onFullNameInput" adjust-position="{{isIos?false:true}}" bindkeyboardheightchange="bindkeyboardheightchange" data-class="form-input-1" />
             </view>
           </view>
           <view class="item">
             <text class="label">鑱旂郴鐢佃瘽锛�</text>
             <view class="item-content">
-              <t-input placeholder="杈撳叆鑱旂郴鐢佃瘽" borderless value="{{contactInfo.phone}}" type="number" tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onPhoneInput" />
+              <t-input placeholder="杈撳叆鑱旂郴鐢佃瘽" borderless value="{{contactInfo.phone}}" type="number" tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onPhoneInput" adjust-position="{{isIos?false:true}}" bindkeyboardheightchange="bindkeyboardheightchange" data-class="form-input-2" />
             </view>
           </view>
           <view class="item">
             <text class="label">璇︾粏鍦板潃锛�</text>
             <view class="item-content">
-              <t-input placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" borderless value="{{contactInfo.detailedAddress}}" bindchange="onAddressInput" />
+              <t-input placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" borderless value="{{contactInfo.detailedAddress}}" bindchange="onAddressInput" adjust-position="{{isIos?false:true}}" bindkeyboardheightchange="bindkeyboardheightchange" data-class="form-input-3" />
             </view>
           </view>
         </view>
@@ -77,6 +78,6 @@
       <view class="btn-area">
         <button class="submit" bindtap="submit">鎻愪氦</button>
       </view>
-    </view>
+    </scroll-view>
   </view>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1