李凌
2025-10-15 7fc6bfe900790ec7c92bce85d5b20a95fbc06e65
src/assets/css/copy2.scss
@@ -7,7 +7,6 @@
    font-size: 1.6rem;
}
html,body{
    // width: 8.28rem;
    max-width: 828px;
    margin: 0 auto;
    height: 100%;
@@ -17,15 +16,11 @@
body {
    width: 100%;
    height: 100%;
    // overflow: hidden;
    font-size:30px;
    font-family: "微软雅黑";
    font-weight: 400;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
        /*兼容 IOS>11.2*/
    // font-size: .32rem;
    // background: #9E9FA3;
}
@supports (bottom: constant(safe-area-inset-bottom)) {
    body {
@@ -41,12 +36,10 @@
    touch-action: none;
  }
/* 颜色值 */
$white:#ffffff;
$black:#000000;
$dark-black:#22262F;
$grey:#868C9A;
// $grey: #f3f3f3;
$dark-grey: #868C9A;
$light-grey:#C8CAD2;
$border-grey:#E5E7ED;
@@ -56,7 +49,6 @@
$green:#2EBD85;
$purple:#9A4DFD;
$night:#121212;
// overwrite vant
.mining-pledge {
    .van-tabs__wrap {
@@ -77,9 +69,7 @@
    --theme-color: #2C78F8;
}
/***************** global use framework *****************/
/* flex */
.flex { display: flex; }
.flex-row { flex-direction: row;}
.flex-col { flex-direction: column; }
@@ -98,30 +88,22 @@
.flex-nowrap { flex-wrap: nowrap;}
.align-center{align-content:center;}
/* display */
.block { display: block;}
/* position */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.z-10 { z-index: 10;}
/* font */
.font-bold { font-weight: bold; }
.font-normal { font-weight: normal; }
/* text */
.text-center { text-align: center;}
.text-left { text-align: left;}
.text-right { text-align: right;}
.break-word{word-break: break-word}
/* padding margin font */
@for $i from 0 through 50 {
    // font-weight
    // font-size
    // margin
    .ml-#{$i} {
        margin-left: #{$i}px
    }
@@ -142,7 +124,6 @@
        margin-top: #{$i}px;
        margin-bottom: #{$i}px;
    }
    // padding
    .pl-#{$i} {
        padding-left: #{$i}px
    }
@@ -163,20 +144,16 @@
        padding-top: #{$i}px;
        padding-bottom: #{$i}px;
    }
    // width
    .w-#{$i} {
        width: #{$i}px
    }
    // height
}
@for $j from 1 through 100 {
    // height
    .h-#{$j} {
        height: #{$j}px
    }
    //line-height
    .lh-#{$j} {
        line-height: #{$j}px
    }
@@ -188,7 +165,6 @@
.h-screen { height: 100%;}
.h-1000 { height: 1000px;}
/* background */
.bg-white { background: $white; }
.bg-black { background: #121212;}
.bg-night{
@@ -212,7 +188,6 @@
.bg-grey-f3 { background: $grey;}
/* color */
.text-white { color: $white; }
.text-black { color: $black; }
.text-dark-black{ color:$dark-black;}