uni.scss 1.77 KB
/**
 * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
 * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 
 */
@import './assets/css/sprite.scss';

@font-face {
  font-family: 'number-700';
  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: 'number-400';
  src: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-400-Regular.ttf');
}

@keyframes show-view {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes show-view-left {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes show-view-right {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.flex {
  display: flex;
  align-items: center;
}

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

.text-two-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* 定义文本的行数 */
  overflow: hidden;
  text-overflow: ellipsis;
}

.byd-layout {
  background-image: url('@/assets/images/media/byd-media-bg.webp');
}


@media screen and (min-width: 500px) {
  .fixforpc-width {
    min-width: auto !important;
    width: fit-content !important;
    padding: 20rpx 46rpx !important;
  }
}

.select-box {
  .select-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


@keyframes show-view-opacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}