From 90b09add4ebe0b245c467bff8372f49b8fe3fb6e Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期四, 11 七月 2024 11:42:49 +0800
Subject: [PATCH] bitian

---
 packageDomain/pages/sampleBookList/applicationForm/index.wxml |   37 +++++++++++++++++--------------------
 1 files changed, 17 insertions(+), 20 deletions(-)

diff --git a/packageDomain/pages/sampleBookList/applicationForm/index.wxml b/packageDomain/pages/sampleBookList/applicationForm/index.wxml
index 4024024..9958e41 100644
--- a/packageDomain/pages/sampleBookList/applicationForm/index.wxml
+++ b/packageDomain/pages/sampleBookList/applicationForm/index.wxml
@@ -1,11 +1,11 @@
-<view class="container">
+<view class="container" style="height:calc(100vh + {{keyboardHeight ? (keyboardHeight + 'px'):'0'}});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="con-bg"></view>
-    <view class="content">
+    <scroll-view class="scroll content" scroll-y>
       <view class="bookListBox">
         <view class="tips">
           <rich-text space="emsp" nodes="{{description}}" class="content" />
@@ -24,7 +24,7 @@
                       <view class="name">{{item.title}}</view>
                       <view class="author">浣滆�咃細{{item.author}}</view>
                       <view class="author">ISBN:{{item.isbn}}</view>
-                      <view class="author">鍑虹増鏃堕棿:{{item.publicationDate}}</view>
+                      <view class="author" wx:if="{{item.publicationDate}}">鍑虹増鏃堕棿:{{item.publicationDate}}</view>
                     </view>
                   </view>
                 </t-cell>
@@ -33,14 +33,13 @@
             </view>
           </view>
           <view wx:if="{{bookList.length == 0}}" class="empyt">
-            <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
+            <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> -->
+            <empty />
           </view>
         </view>
       </view>
       <view class="formBox">
-        <view class="title">
-          鎺堣鎯呭喌
-        </view>
+        <view class="title"> 鎺堣鎯呭喌 </view>
         <view class="teachingInfo">
           <view class="item">
             <text class="label">瀛︽牎锛�</text>
@@ -51,26 +50,24 @@
             <text>{{teacherInfo.courseName}}</text>
           </view>
         </view>
-        <view class="title" wx:if="{{active =='0'}}">
-          鏀惰揣浜烘儏鍐�
-        </view>
+        <view class="title" wx:if="{{active =='0'}}"> 鏀惰揣浜烘儏鍐� </view>
         <view class="receiverInfo" wx:if="{{active =='0'}}">
-          <view class="item">
-            <text class="label">濮撳悕锛�</text>
+          <view class="item form-input-1">
+            <text class="label"><text class="icon">*</text>濮撳悕锛�</text>
             <view class="item-content">
-              <t-input placeholder="璇疯緭鍏ョ湡瀹炲鍚�" borderless adjust-position="false" value="{{contactInfo.fullName}}" bindchange="onFullNameInput" />
+              <t-input placeholder="璇疯緭鍏ョ湡瀹炲鍚�" borderless value="{{contactInfo.fullName}}" bindchange="onFullNameInput" adjust-position="{{isIos?false:true}}" bindkeyboardheightchange="bindkeyboardheightchange" bindblur="changeParam" data-class="form-input-1" />
             </view>
           </view>
-          <view class="item">
-            <text class="label">鑱旂郴鐢佃瘽锛�</text>
+          <view class="item form-input-2">
+            <text class="label"><text class="icon">*</text>鑱旂郴鐢佃瘽锛�</text>
             <view class="item-content">
-              <t-input placeholder="杈撳叆鑱旂郴鐢佃瘽" borderless adjust-position="false" 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" bindblur="changeParam" data-class="form-input-2" />
             </view>
           </view>
-          <view class="item">
-            <text class="label">璇︾粏鍦板潃锛�</text>
+          <view class="item form-input-3">
+            <text class="label"><text class="icon">*</text>璇︾粏鍦板潃锛�</text>
             <view class="item-content">
-              <t-input placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" borderless adjust-position="false" value="{{contactInfo.detailedAddress}}" bindchange="onAddressInput" />
+              <t-input placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" borderless value="{{contactInfo.detailedAddress}}" bindchange="onAddressInput" adjust-position="{{isIos?false:true}}" bindkeyboardheightchange="bindkeyboardheightchange" bindblur="changeParam" data-class="form-input-3" />
             </view>
           </view>
         </view>
@@ -78,6 +75,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