guhongwei 2 سال پیش
والد
کامیت
48968776cd

+ 9 - 21
pages/coaAdmin/archives/info.less

@@ -4,22 +4,23 @@
     .one {
         flex-grow: 1;
         position: relative;
-        height: 81vh;
-
         .content {
             display: flex;
             flex-direction: row;
+            padding: 2vw;
             border-bottom: 1px dashed var(--f1Color);
-            padding: 2vw 0;
-            margin: 0 2vw 2vw 2vw;
+
+            .label {
+                font-size: var(--font16Size);
+            }
 
             .value {
-                flex-grow: 1;
-                color: var(--blackColor);
+                font-size: var(--font16Size);
+                width: 70vw;
 
                 textarea {
-                    position: static;
-                    width: 73vw;
+                    width: 100%;
+                    height: 120px;
                 }
             }
         }
@@ -36,17 +37,4 @@
         }
     }
 
-}
-
-.scroll-view {
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-    bottom: 0;
-
-    .list-scroll-view {
-        display: flex;
-        flex-direction: column;
-    }
 }

+ 3 - 3
pages/coaAdmin/archives/info.wxml

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

+ 8 - 18
pages/coaAdmin/archives/info.wxss

@@ -4,22 +4,23 @@
 .main .one {
   flex-grow: 1;
   position: relative;
-  height: 81vh;
 }
 .main .one .content {
   display: flex;
   flex-direction: row;
+  padding: 2vw;
   border-bottom: 1px dashed var(--f1Color);
-  padding: 2vw 0;
-  margin: 0 2vw 2vw 2vw;
+}
+.main .one .content .label {
+  font-size: var(--font16Size);
 }
 .main .one .content .value {
-  flex-grow: 1;
-  color: var(--blackColor);
+  font-size: var(--font16Size);
+  width: 70vw;
 }
 .main .one .content .value textarea {
-  position: static;
-  width: 73vw;
+  width: 100%;
+  height: 120px;
 }
 .main .btn {
   text-align: center;
@@ -30,14 +31,3 @@
   margin: 0 2vw;
   padding: 1vw 0;
 }
-.scroll-view {
-  position: absolute;
-  top: 0;
-  left: 0;
-  right: 0;
-  bottom: 0;
-}
-.scroll-view .list-scroll-view {
-  display: flex;
-  flex-direction: column;
-}

+ 10 - 6
pages/coaAdmin/course/add.less

@@ -5,18 +5,22 @@
         .content {
             display: flex;
             flex-direction: row;
+            padding: 2vw;
             border-bottom: 1px dashed var(--f1Color);
-            padding: 2vw 0;
-            margin: 0 2vw 2vw 2vw;
+
+            .label {
+                font-size: var(--font16Size);
+            }
 
             .value {
-                flex-grow: 1;
-                color: var(--blackColor);
+                font-size: var(--font16Size);
+                width: 65vw;
 
                 textarea {
-                    position: static;
-                    width: 73vw;
+                    width: 100%;
+                    height: 120px;
                 }
+
             }
         }
 

+ 1 - 1
pages/coaAdmin/course/add.wxml

@@ -61,7 +61,7 @@
                 <view class="content">
                     <view class="label">课程简介:</view>
                     <view class="value">
-                        <input name="brief" value="{{form.brief}}" auto-height maxlength="-1" placeholder="请输入课程简介" />
+                        <textarea maxlength="500" name="brief" value="{{form.brief}}" placeholder="请输入课程简介" />
                     </view>
                 </view>
                 <view class="content">

+ 8 - 6
pages/coaAdmin/course/add.wxss

@@ -4,17 +4,19 @@
 .main .one .content {
   display: flex;
   flex-direction: row;
+  padding: 2vw;
   border-bottom: 1px dashed var(--f1Color);
-  padding: 2vw 0;
-  margin: 0 2vw 2vw 2vw;
+}
+.main .one .content .label {
+  font-size: var(--font16Size);
 }
 .main .one .content .value {
-  flex-grow: 1;
-  color: var(--blackColor);
+  font-size: var(--font16Size);
+  width: 65vw;
 }
 .main .one .content .value textarea {
-  position: static;
-  width: 73vw;
+  width: 100%;
+  height: 120px;
 }
 .main .one .btn {
   text-align: center;

+ 5 - 2
pages/coaAdmin/money/add.js

@@ -47,8 +47,11 @@ Page({
                         let money = Math.floor((Number(rcsInfo.money || 0) + Number(params.money)) * 100) / 100;
                         const aee = await app.$post(`/rcs/${rcsInfo._id}`, { money: money });
                         if (aee.errcode == '0') {
-                            wx.showToast({ title: `支付成功`, icon: 'success', duration: 2000 });
-                            that.back()
+                            const att = await app.$post(`/payOrder/${arr.data.data._id}`, { status: '1' });
+                            if (att.errcode == '0') {
+                                wx.showToast({ title: `支付成功`, icon: 'success', duration: 2000 });
+                                that.back()
+                            }
                         } else { wx.showToast({ title: `${aee.errmsg}`, icon: 'error', duration: 2000 }) }
                     },
                     "fail": function (res) {

+ 5 - 2
pages/stuAdmin/money/add.js

@@ -51,8 +51,11 @@ Page({
                                         "success": async function (res) {
                                             const rss = await app.$post(`/rss/${that.data.id}`, { money: money });
                                             if (rss.errcode == '0') {
-                                                wx.showToast({ title: `充值成功`, icon: 'success', duration: 2000 });
-                                                that.back();
+                                                const att = await app.$post(`/payOrder/${arr.data.data._id}`, { status: '1' });
+                                                if (att.errcode == '0') {
+                                                    wx.showToast({ title: `支付成功`, icon: 'success', duration: 2000 });
+                                                    that.back()
+                                                }
                                             }
                                         },
                                         "fail": async function (res) {

+ 2 - 2
pages/superAdmin/school/add.less

@@ -9,11 +9,11 @@
             border-bottom: 1px dashed var(--f1Color);
 
             .label {
-                font-size: 16px;
+                font-size: var(--font16Size);
             }
 
             .value {
-                font-size: 16px;
+                font-size: var(--font16Size);
                 width: 70vw;
 
                 textarea {

+ 2 - 2
pages/superAdmin/school/add.wxss

@@ -8,10 +8,10 @@
   border-bottom: 1px dashed var(--f1Color);
 }
 .main .one .content .label {
-  font-size: 16px;
+  font-size: var(--font16Size);
 }
 .main .one .content .value {
-  font-size: 16px;
+  font-size: var(--font16Size);
   width: 70vw;
 }
 .main .one .content .value textarea {