beforeCreate.sass 2.85 KB
/* packageEquity/pages/beforeCreate/beforeCreate.wxss */
.layout {
  padding-top: var(--fontSize24);

  .item {
    width: calc(670 / 750 * 100%);
    height: var(--fontSize292);
    margin: 0 auto var(--fontSize24);
    border-radius: var(--fontSize16);
    background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/default-bg.png');
    background-size: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-left: var(--fontSize64);
    position: relative;
    
    .title {
      margin-bottom: var(--fontSize20);
      font-weight: 600;
      font-size: var(--fontSize36);
      color: #292D33;
      display: flex;
      align-items: center;
      .recommend {
        width: var(--fontSize96);
        height: var(--fontSize48);
        margin-left: var(--fontSize12);
        background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/recommend.png');
        background-size: 100%;
        background-repeat: no-repeat;
      }
    }

    .text {
      font-size: var(--fontSize32);
      color: #757980;
    }

    .icon {
      width: var(--fontSize220);
      height: var(--fontSize220);
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/default-icon.png');
      background-size: 100%;

    }
  }

  .quick {
    background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/quick-bg.png');

    .icon {
      background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/quick-icon.png');
    }
  }
}

.isPad {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;

  .item {
    width: var(--fontSize546);
    height: var(--fontSize260);
    margin: 0 var(--fontSize8);
    background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/default-bg-hd.png');
    padding-left: var(--fontSize42);
    transform: translateY(-20%);
    .title {
      font-size: var(--fontSize32);
      margin-bottom: var(--fontSize16);
      .recommend {
        width: var(--fontSize62);
        height: var(--fontSize32);
        margin-left: var(--fontSize8);
        background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/recommend-hd.png');
      }
    }

    .text {
      font-size: var(--fontSize20);
    }

    .icon {
      width: var(--fontSize143);
      height: var(--fontSize143);
      right: var(--fontSize42);
    }
  }

  .quick {
    background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/equity/quick-bg-hd.png');
  }
}