app.sass 3.48 KB
@import "/style/common.wxss";

@font-face {
  font-family: "numberNor";
  src: url("https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-500-Medium.ttf");
}

@font-face {
  font-family: "numberBold";
  src: url("https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-700-Bold.ttf");
}

/* @font-face {
  font-family: "Gotham";
  src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/Gotham-Black.woff");
}  */

/* @font-face {
  font-family: "number";
  src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/Alimama_ShuHeiTi_Bold_Number.ttf");
} */
@font-face {
  font-family: "numberNor";
  src: url("https://img02.glsx.com.cn/weapp/resource/miniprogram/sales-assistant/font/D-DIN-PRO-500-Medium.ttf");
}
@font-face {
  font-family: "number";
  src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/subset-AlimamaShuHeiTi-Bold.woff");
}

@font-face {
  font-family: "ali-medium";
  src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/subset-AlibabaPuHuiTi-Medium.woff");
}

@font-face {
  font-family: "ali-bold";
  src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/subset-AlibabaPuHuiTi-Bold.woff");
}


page {
  background-color: #F7F7F7;
  color: #282829;
  font-size: 28rpx;
  --themeColor: #F13C3D;
  --btnColor: #3666FE;
  --borderRadius: 8rpx;
  --margin: 32rpx;
  /* vant 样式覆盖 */
  --tabs-bottom-bar-color: #3666FE;
  --sidebar-selected-border-color: #3666FE;
  --tree-select-nav-background-color: #f6f6f6;
  /* 兼容 IOS<11.2 先constant再env */
  --constantSafeAreaInsetBottom: constant(safe-area-inset-bottom);
  /* 兼容 IOS>11.2 */
  --envSafeAreaInsetBottom: env(safe-area-inset-bottom);

  @for $i from 1 through 1300 {
    --fontSize#{$i}: calc(#{$i}vmin / 7.5);
    --fontSizeContent#{$i}: calc(#{$i}vmin / 7.176);
  }

  @media screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
    @for $i from 1 through 1300 {
      --fontSize#{$i}: calc(#{$i}vmin / 8.5);
      --fontSizeContent#{$i}: calc(#{$i}vmin / 6.719);
    }
  }


}

image {
  width: 100%;
  /* height: 100%; */
  vertical-align: top;
}

.font-number {
  font-family: 'number';
}

.icon-mine-arrow {
  width: 16rpx !important;
  height: 28rpx !important;
  transform: translateY(7rpx);
}

image {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.y-center {
  top: 50%;
  transform: translateY(-50%);
}

.x-center {
  left: 50%;
  transform: translateX(-50%);
}

.box-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}


.two-text {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.isFullSucreen {
  box-sizing: border-box;
  padding-bottom: constant(safe-area-inset-bottom) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
  // padding-bottom: 34px !important;
}

.isFullSucreen-bottom {
  bottom: 34px !important;
}

.list-nothing {
  padding: var(--fontSize30) 0;
  text-align: center;
  font-size: var(--fontSize28);
  color: #666666;
}

.list-not {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: var(--fontSize24);
  height: 100%;
}

.bgcw {
  background-color: #fff;
}