guhongwei 2 gadi atpakaļ
vecāks
revīzija
255e2aede0
3 mainītis faili ar 65 papildinājumiem un 87 dzēšanām
  1. 2 1
      pages/school/index.less
  2. 2 0
      pagesSchool/school/info.less
  3. 61 86
      pagesSchool/school/info.wxss

+ 2 - 1
pages/school/index.less

@@ -60,7 +60,8 @@
                     display: -webkit-box;
                     display: -webkit-box;
                     -webkit-box-orient: vertical;
                     -webkit-box-orient: vertical;
                 }
                 }
-                .brief{
+
+                .brief {
                     font-size: var(--font14Szie);
                     font-size: var(--font14Szie);
                     padding: 0 2vw 0 0;
                     padding: 0 2vw 0 0;
                     overflow: hidden;
                     overflow: hidden;

+ 2 - 0
pagesSchool/school/info.less

@@ -1,3 +1,5 @@
+@import (css) "/app.wxss";
+
 .main {
 .main {
     background-color: var(--mainColor);
     background-color: var(--mainColor);
 
 

+ 61 - 86
pagesSchool/school/info.wxss

@@ -1,136 +1,111 @@
 @import "/app.wxss";
 @import "/app.wxss";
-
 .main {
 .main {
-    background-color: var(--mainColor);
+  background-color: var(--mainColor);
 }
 }
-
 .main .one {
 .main .one {
-    width: 100vw;
-    margin: 0 0 2vw 0;
+  width: 100vw;
+  margin: 0 0 2vw 0;
 }
 }
-
 .main .two {
 .main .two {
-    position: relative;
-    flex-grow: 1;
+  position: relative;
+  flex-grow: 1;
 }
 }
-
 .main .two .a {
 .main .two .a {
-    height: 83vh;
+  height: 83vh;
 }
 }
-
 .main .two .a .one {
 .main .two .a .one {
-    width: 96vw;
-    padding: 0 2vw;
-    margin: 0 0 2vw 0;
+  width: 96vw;
+  padding: 0 2vw;
+  margin: 0 0 2vw 0;
 }
 }
-
 .main .two .a .one swiper {
 .main .two .a .one swiper {
-    height: 30vh;
+  height: 30vh;
 }
 }
-
 .main .two .a .one swiper .image {
 .main .two .a .one swiper .image {
-    width: 100%;
-    height: 100%;
-    border-radius: 10px;
+  width: 100%;
+  height: 100%;
+  border-radius: 10px;
 }
 }
-
 .main .two .a .two {
 .main .two .a .two {
-    width: 96vw;
-    padding: 0 2vw;
+  width: 96vw;
+  padding: 0 2vw;
 }
 }
-
 .main .two .a .two .name {
 .main .two .a .two .name {
-    font-size: var(--font20Szie);
-    font-weight: bold;
-    margin: 0 0 2vw 0;
+  font-size: var(--font20Szie);
+  font-weight: bold;
+  margin: 0 0 2vw 0;
 }
 }
-
 .main .two .a .two .other {
 .main .two .a .two .other {
-    margin: 0 0 2vw 0;
+  margin: 0 0 2vw 0;
 }
 }
-
 .main .two .a .two .other .other_1 {
 .main .two .a .two .other .other_1 {
-    padding: 2vw 0;
-    font-size: var(--font16Szie);
-    border-bottom: 1px dashed var(--f1Color);
+  padding: 2vw 0;
+  font-size: var(--font16Szie);
+  border-bottom: 1px dashed var(--f1Color);
 }
 }
-
 .main .two .a .two .other .other_1 text:first-child {
 .main .two .a .two .other .other_1 text:first-child {
-    color: var(--f85Color);
+  color: var(--f85Color);
 }
 }
-
 .main .two .a .two .other .image {
 .main .two .a .two .other .image {
-    width: 100%;
+  width: 100%;
 }
 }
-
 .main .two .b {
 .main .two .b {
-    height: 83vh;
+  height: 83vh;
 }
 }
-
 .main .two .b .list {
 .main .two .b .list {
-    background-color: var(--f9Color);
-    margin: 0 0 2vw 0;
-    padding: 2vw;
-    margin: 0 2vw 2vw 2vw;
-    border-radius: 5px;
+  background-color: var(--f9Color);
+  margin: 0 0 2vw 0;
+  padding: 2vw;
+  margin: 0 2vw 2vw 2vw;
+  border-radius: 5px;
 }
 }
-
 .main .two .b .list .name {
 .main .two .b .list .name {
-    font-size: var(--font18Szie);
-    font-weight: bold;
-    margin: 0 0 1vw 0;
+  font-size: var(--font18Szie);
+  font-weight: bold;
+  margin: 0 0 1vw 0;
 }
 }
-
 .main .two .b .list .other {
 .main .two .b .list .other {
-    margin: 0 0 1vw 0;
+  margin: 0 0 1vw 0;
 }
 }
-
 .main .two .b .list .other .other_1 {
 .main .two .b .list .other .other_1 {
-    margin: 0 0 1vw 0;
-    font-size: var(--font16Size);
+  margin: 0 0 1vw 0;
+  font-size: var(--font16Size);
 }
 }
-
 .main .two .b .list .other .other_1 text:first-child {
 .main .two .b .list .other .other_1 text:first-child {
-    color: var(--f85Color);
+  color: var(--f85Color);
 }
 }
-
 .main .two .b .list .btn {
 .main .two .b .list .btn {
-    text-align: center;
+  text-align: center;
 }
 }
-
 .main .two .b .list .btn button {
 .main .two .b .list .btn button {
-    margin: 0 2vw;
-    font-size: var(--font14Size);
+  margin: 0 2vw;
+  font-size: var(--font14Size);
 }
 }
-
 .scroll-view {
 .scroll-view {
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-    bottom: 0;
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
 }
 }
-
 .scroll-view .list-scroll-view {
 .scroll-view .list-scroll-view {
-    display: flex;
-    flex-direction: column;
+  display: flex;
+  flex-direction: column;
 }
 }
-
 .inSchool {
 .inSchool {
-    position: fixed;
-    width: 96vw;
-    bottom: 8vh;
-    right: 2vw;
-    text-align: right;
+  position: fixed;
+  width: 96vw;
+  bottom: 8vh;
+  right: 2vw;
+  text-align: right;
 }
 }
-
 .inSchool .btn {
 .inSchool .btn {
-    display: inline-block;
-    width: 10vw;
-    padding: 1vw;
-    text-align: center;
-    background-color: green;
-    color: var(--whiteColor);
-    font-size: var(--font14Size);
-    border-radius: 5px;
-}
+  display: inline-block;
+  width: 10vw;
+  padding: 1vw;
+  text-align: center;
+  background-color: green;
+  color: var(--whiteColor);
+  font-size: var(--font14Size);
+  border-radius: 5px;
+}