Kaynağa Gözat

修改样式

lex 2 yıl önce
ebeveyn
işleme
c8dbd79c11

+ 2 - 1
src/student/live-class/live-detail.module.less

@@ -17,7 +17,7 @@
   .tips {
     background-color: white;
     border-radius: 10px;
-    margin: 14px;
+    margin: 14px 12px;
     padding: var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);
     h3 {
       display: flex;
@@ -27,6 +27,7 @@
       line-height: 1;
     }
     p {
+      text-align: justify;
       padding-top: 9px;
       font-size: 12px;
       color: #7a7a7a;

+ 2 - 1
src/student/live-class/live-detail.tsx

@@ -246,13 +246,14 @@ export default defineComponent({
       <div class={[styles['live-detail'], 'mb12']}>
         <ColHeader />
         <UserDetail userInfo={this.userInfo} showBuy={false} />
-        <SectionDetail>
+        <SectionDetail border>
           <p class={styles.introduction}>{this.userInfo.lessonDesc}</p>
         </SectionDetail>
 
         <SectionDetail
           title="课程列表"
           icon="courseList"
+          border
           contentStyle={{ paddingTop: '0' }}
         >
           {this.courseInfo.length > 0 && (

+ 6 - 0
src/styles/index.less

@@ -139,6 +139,12 @@ body {
 //   transform: translateZ(0);
 //   -webkit-transform: translateZ(0);
 // }
+// .van-sticky--fixed {
+//   .btnGroup {
+//     background-color: #fff;
+//     padding-top: 15px;
+//   }
+// }
 
 .sticky {
   position: relative;