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/teacherCertification/index.wxml |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/packageDomain/pages/teacherCertification/index.wxml b/packageDomain/pages/teacherCertification/index.wxml
index 9fb3d69..18eec56 100644
--- a/packageDomain/pages/teacherCertification/index.wxml
+++ b/packageDomain/pages/teacherCertification/index.wxml
@@ -1,5 +1,5 @@
 <view class="container">
-  <view class="content">
+  <scroll-view class="scroll content" scroll-y>
     <view class="tips"> 浠呴檺瀛︽牎鏈绋嬩换璇炬暀甯堢敵璇凤紱璇蜂笂浼犳湁鏁堝湪鑱屾暀甯堝伐浣滆瘉灏嗘湁鍔╀簬瀹℃牳銆� </view>
     <view class="body-loading" wx:if="{{skeletonLoding}}">
       <t-loading theme="circular" size="40rpx" class="wrapper" />
@@ -19,13 +19,13 @@
         <view class="from-item">
           <view class="label"> 瀛︽牎锛� </view>
           <view class="item-content">
-            <t-input placeholder="璇疯緭鍏ュ鏍�" borderless adjust-position="false" value="{{teacherInfo.schoolName}}" disabled="{{!editState}}" bindchange="onSchoolNameInput" />
+            <t-input placeholder="璇疯緭鍏ュ鏍�" borderless value="{{teacherInfo.schoolName}}" disabled="{{!editState}}" bindchange="onSchoolNameInput" />
           </view>
         </view>
         <view class="from-item">
           <view class="label"> 鐪熷疄濮撳悕锛� </view>
           <view class="item-content">
-            <t-input placeholder="璇疯緭鍏ョ湡瀹炲鍚�" borderless adjust-position="false" value="{{teacherInfo.fullName}}" disabled="{{!editState}}" bindchange="onFullNameInput" />
+            <t-input placeholder="璇疯緭鍏ョ湡瀹炲鍚�" borderless value="{{teacherInfo.fullName}}" disabled="{{!editState}}" bindchange="onFullNameInput" />
           </view>
         </view>
         <view class="from-item">
@@ -43,31 +43,31 @@
         <view class="from-item">
           <view class="label"> 浠绘暀璇剧▼锛� </view>
           <view class="item-content">
-            <t-input placeholder="璇疯緭鍏ヤ换鏁欒绋�" borderless adjust-position="false" value="{{teacherInfo.courseName}}" bindchange="onCourseNameInput" disabled="{{!editState}}" />
+            <t-input placeholder="璇疯緭鍏ヤ换鏁欒绋�" borderless value="{{teacherInfo.courseName}}" bindchange="onCourseNameInput" disabled="{{!editState}}" />
           </view>
         </view>
         <view class="from-item">
           <view class="label"> 鎵嬫満鍙凤細 </view>
           <view class="item-content">
-            <t-input placeholder="杈撳叆鎵嬫満鍙风爜" borderless adjust-position="false" value="{{teacherInfo.phone}}" type="number" tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onPhoneInput" disabled="{{!editState}}" />
+            <t-input placeholder="杈撳叆鎵嬫満鍙风爜" borderless value="{{teacherInfo.phone}}" type="number" tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onPhoneInput" disabled="{{!editState}}" />
           </view>
         </view>
         <view class="from-item">
           <view class="label"> 搴ф満锛� </view>
           <view class="item-content">
-            <t-input placeholder="杈撳叆搴ф満鍙�" borderless value="{{teacherInfo.telphone}}" adjust-position="false" tips="{{telphoneError ? '搴ф満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onTelphoneInput" disabled="{{!editState}}" />
+            <t-input placeholder="杈撳叆搴ф満鍙�" borderless value="{{teacherInfo.telphone}}" tips="{{telphoneError ? '搴ф満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onTelphoneInput" disabled="{{!editState}}" />
           </view>
         </view>
         <view class="from-item">
           <view class="label"> 閭锛� </view>
           <view class="item-content">
-            <t-input placeholder="杈撳叆閭" borderless adjust-position="false" value="{{teacherInfo.email}}" tips="{{emailError ? '閭杈撳叆涓嶆纭�' : ''}}" bindchange="onEmailInput" disabled="{{!editState}}" />
+            <t-input placeholder="杈撳叆閭" borderless value="{{teacherInfo.email}}" tips="{{emailError ? '閭杈撳叆涓嶆纭�' : ''}}" bindchange="onEmailInput" disabled="{{!editState}}" />
           </view>
         </view>
         <view class="from-item">
           <view class="label"> 璇︾粏鍦板潃锛� </view>
           <view class="item-content">
-            <t-input placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" borderless adjust-position="false" value="{{teacherInfo.detailedAddress}}" bindchange="onAddressInput" disabled="{{!editState}}" />
+            <t-input placeholder="璇疯緭鍏ヨ缁嗗湴鍧�" borderless value="{{teacherInfo.detailedAddress}}" bindchange="onAddressInput" disabled="{{!editState}}" />
           </view>
         </view>
       </view>
@@ -99,7 +99,7 @@
         <button class="submit" bindtap="submit">鎻愪氦</button>
       </view>
     </view>
-  </view>
+  </scroll-view>
   <view class="popupBox">
     <t-popup visible="{{protocolShow}}" bind:visible-change="onVisibleChange" placement="center">
       <view class="block">

--
Gitblit v1.9.1