瀏覽代碼

修改textarea

YY 2 年之前
父節點
當前提交
da8e458043

+ 0 - 5
pages/schAdmin/coach/add.less

@@ -17,11 +17,6 @@
             .value {
                 flex-grow: 1;
                 color: var(--blackColor);
-
-                textarea {
-                    position: static;
-                    width: 73vw;
-                }
             }
         }
     }

+ 3 - 3
pages/schAdmin/coach/add.wxml

@@ -47,19 +47,19 @@
                         <view class="content">
                             <view class="label">教练简介:</view>
                             <view class="value">
-                                <textarea name="brief" value="{{form.brief}}" auto-height maxlength="-1" placeholder="请输入教练简介" />
+                                <input name="brief" value="{{form.brief}}" auto-height maxlength="-1" placeholder="请输入教练简介" />
                             </view>
                         </view>
                         <view class="content">
                             <view class="label">过往荣誉:</view>
                             <view class="value">
-                                <textarea name="honor" value="{{form.honor}}" auto-height maxlength="-1" placeholder="请输入过往荣誉" />
+                                <input name="honor" value="{{form.honor}}" auto-height maxlength="-1" placeholder="请输入过往荣誉" />
                             </view>
                         </view>
                         <view class="content">
                             <view class="label">教学经历:</view>
                             <view class="value">
-                                <textarea name="exp" value="{{form.exp}}" auto-height maxlength="-1" placeholder="请输入教学经历" />
+                                <input name="exp" value="{{form.exp}}" auto-height maxlength="-1" placeholder="请输入教学经历" />
                             </view>
                         </view>
                     </view>

+ 0 - 4
pages/schAdmin/coach/add.wxss

@@ -18,10 +18,6 @@
   flex-grow: 1;
   color: var(--blackColor);
 }
-.main .one .content .value textarea {
-  position: static;
-  width: 73vw;
-}
 .main .btn {
   text-align: center;
   margin: 5vw 0 0 0;

+ 0 - 4
pages/schAdmin/school/info.less

@@ -13,10 +13,6 @@
                 flex-grow: 1;
                 color: var(--blackColor);
 
-                textarea {
-                    position: static;
-                    width: 73vw;
-                }
             }
         }
 

+ 3 - 3
pages/schAdmin/school/info.wxml

@@ -5,13 +5,13 @@
                 <view class="content">
                     <view class="label">名称:</view>
                     <view class="value">
-                        <textarea name="name" value="{{form.name}}" auto-height placeholder="请输入名称" />
+                        <input name="name" value="{{form.name}}" auto-height placeholder="请输入名称" />
                     </view>
                 </view>
                 <view class="content">
                     <view class="label">简介:</view>
                     <view class="value">
-                        <textarea name="brief" value="{{form.brief}}" auto-height placeholder="请输入简介" />
+                        <input name="brief" value="{{form.brief}}" auto-height placeholder="请输入简介" />
                     </view>
                 </view>
                 <view class="content">
@@ -41,7 +41,7 @@
                 <view class="content">
                     <view class="label">过往荣誉:</view>
                     <view class="value">
-                        <textarea name="honor" value="{{form.honor}}" auto-height placeholder="请输入过往荣誉" />
+                        <input name="honor" value="{{form.honor}}" auto-height placeholder="请输入过往荣誉" />
                     </view>
                 </view>
                 <view class="content">

+ 0 - 4
pages/schAdmin/school/info.wxss

@@ -12,10 +12,6 @@
   flex-grow: 1;
   color: var(--blackColor);
 }
-.main .one .content .value textarea {
-  position: static;
-  width: 73vw;
-}
 .main .one .btn {
   text-align: center;
   margin: 5vw 0 0 0;

+ 0 - 4
pages/schAdmin/student/add.less

@@ -14,10 +14,6 @@
                 flex-grow: 1;
                 color: var(--blackColor);
 
-                textarea {
-                    position: static;
-                    width: 73vw;
-                }
             }
         }
 

+ 3 - 3
pages/schAdmin/student/add.wxml

@@ -45,19 +45,19 @@
                 <view class="content">
                     <view class="label">学员简介:</view>
                     <view class="value">
-                        <textarea name="brief" maxlength="-1" auto-height value="{{form.brief}}" placeholder="请输入学员简介" />
+                        <input name="brief" maxlength="-1" auto-height value="{{form.brief}}" placeholder="请输入学员简介" />
                     </view>
                 </view>
                 <view class="content">
                     <view class="label">过往荣誉:</view>
                     <view class="value">
-                        <textarea name="honer" maxlength="-1" auto-height value="{{form.honer}}" placeholder="请输入过往荣誉" />
+                        <input name="honer" maxlength="-1" auto-height value="{{form.honer}}" placeholder="请输入过往荣誉" />
                     </view>
                 </view>
                 <view class="content">
                     <view class="label">训练经历:</view>
                     <view class="value">
-                        <textarea name="exp" maxlength="-1" auto-height value="{{form.exp}}" placeholder="请输入训练经历" />
+                        <input name="exp" maxlength="-1" auto-height value="{{form.exp}}" placeholder="请输入训练经历" />
                     </view>
                 </view>
                 <view class="btn">

+ 0 - 4
pages/schAdmin/student/add.wxss

@@ -13,10 +13,6 @@
   flex-grow: 1;
   color: var(--blackColor);
 }
-.main .one .content .value textarea {
-  position: static;
-  width: 73vw;
-}
 .main .one .btn {
   text-align: center;
   margin: 5vw 0 0 0;