zs il y a 2 ans
Parent
commit
a42a9113cf

+ 25 - 25
pagesSchool/common/lessoninfo.less

@@ -1,35 +1,35 @@
 @import (css) "/app.wxss";
+
 .main {
     height: var(--twoHeight);
     background-color: var(--mainColor);
 
-    .first {
-        .one {
-            width: 96vw;
-            margin: 2vw 0 0 0;
-            padding: 0 2vw;
+    .one {
+        width: 96vw;
+        margin: 2vw 0 0 0;
+        padding: 0 2vw;
+
+        .one_1 {
+            display: flex;
+            flex-direction: row;
+            justify-content: space-between;
+            border: 1px dashed var(--f85Color);
+            border-radius: 5px;
+            margin: 0 0 10px 0;
+            padding: 10px;
+
+            .text {
+                color: var(--f85Color);
+                font-size: var(--font16Size);
+            }
+
+            .text1 {
+                font-size: var(--font16Size);
+            }
 
-            .one_1 {
+            .name {
                 display: flex;
-                flex-direction: row;
-                justify-content: space-between;
-                border: 1px dashed var(--f85Color);
-                border-radius: 5px;
-                margin: 0 0 10px 0;
-                padding: 10px;
-
-                .text {
-                    color: var(--f85Color);
-                    font-size: var(--font16Size);
-                }
-
-                .text1 {
-                    font-size: var(--font16Size);
-                }
-                .name {
-                    display: flex;
-                    flex-direction: column;
-                }
+                flex-direction: column;
             }
         }
     }

+ 42 - 44
pagesSchool/common/lessoninfo.wxml

@@ -1,48 +1,46 @@
 <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
     <view slot="info" class="container main">
-        <view class="first">
-            <scroll-view scroll-y="true" class="scroll-view">
-                <view class="list-scroll-view">
-                    <form class="one" catchsubmit="onSubmit">
-                        <view class="one_1">
-                            <text class="text">课程标题:</text>
-                            <text class="text1">{{form.title||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">学校名称:</text>
-                            <text class="text1">{{form.zhSchool||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">人数上限:</text>
-                            <text class="text1">{{form.limit||'暂无'}}人</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">开始时间:</text>
-                            <text class="text1">{{form.time_start||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">结束时间:</text>
-                            <text class="text1">{{form.time_end||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">状态:</text>
-                            <text class="text1">{{form.zhStatus||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">课程费(元):</text>
-                            <text class="text1">{{form.money||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">退款期限:</text>
-                            <text class="text1">{{form.refund_hour||'暂无'}}</text>
-                        </view>
-                        <view class="one_1">
-                            <text class="text">简介:</text>
-                            <text class="text1">{{form.brief||'暂无'}}</text>
-                        </view>
-                    </form>
-                </view>
-            </scroll-view>
-        </view>
+        <scroll-view scroll-y="true" class="scroll-view">
+            <view class="list-scroll-view">
+                <form class="one" catchsubmit="onSubmit">
+                    <view class="one_1">
+                        <text class="text">课程标题:</text>
+                        <text class="text1">{{form.title||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">学校名称:</text>
+                        <text class="text1">{{form.zhSchool||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">人数上限:</text>
+                        <text class="text1">{{form.limit||'暂无'}}人</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">开始时间:</text>
+                        <text class="text1">{{form.time_start||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">结束时间:</text>
+                        <text class="text1">{{form.time_end||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">状态:</text>
+                        <text class="text1">{{form.zhStatus||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">课程费(元):</text>
+                        <text class="text1">{{form.money||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">退款期限:</text>
+                        <text class="text1">{{form.refund_hour||'暂无'}}</text>
+                    </view>
+                    <view class="one_1">
+                        <text class="text">简介:</text>
+                        <text class="text1">{{form.brief||'暂无'}}</text>
+                    </view>
+                </form>
+            </view>
+        </scroll-view>
     </view>
 </mobile-main>

+ 5 - 5
pagesSchool/common/lessoninfo.wxss

@@ -3,12 +3,12 @@
   height: var(--twoHeight);
   background-color: var(--mainColor);
 }
-.main .first .one {
+.main .one {
   width: 96vw;
   margin: 2vw 0 0 0;
   padding: 0 2vw;
 }
-.main .first .one .one_1 {
+.main .one .one_1 {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
@@ -17,14 +17,14 @@
   margin: 0 0 10px 0;
   padding: 10px;
 }
-.main .first .one .one_1 .text {
+.main .one .one_1 .text {
   color: var(--f85Color);
   font-size: var(--font16Size);
 }
-.main .first .one .one_1 .text1 {
+.main .one .one_1 .text1 {
   font-size: var(--font16Size);
 }
-.main .first .one .one_1 .name {
+.main .one .one_1 .name {
   display: flex;
   flex-direction: column;
 }