index.scss 6.72 KB
/* pages/tab/mine/mine.wxss */
page {
  background-color: #F9F7F7;
}

.navigation {
  width: 750rpx;
  height: 494rpx;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/login/login-bg.png');

}

.layout {
  padding-bottom: 60rpx;
  position: relative;

  .integral-wrap {
    height: 174rpx;
    margin: 24rpx 20rpx 20rpx;
    padding: 24rpx 32rpx 26rpx;
    box-sizing: border-box;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/points-mall/integral/property.png');

    .text {
      font-weight: 400;
      font-size: 26rpx;
      color: #3F444D;
      margin-bottom: 24rpx;
    }
  }

  .guide-wrap {
    .guide {
      height: 64rpx;
      background-image: linear-gradient(270deg, #ffffff99 0%, #FFFFFF 100%);
      border-radius: 32rpx;
      padding: 14rpx 28rpx;
      box-sizing: border-box;
      margin-right: 24rpx;

      .left {
        width: 34rpx;
        height: 33.3rpx;
        margin-right: 14rpx;
      }

      .value {
        font-weight: 600;
        font-size: 40rpx;
        color: #B97046;
      }

      .name {
        font-weight: 400;
        font-size: 24rpx;
        color: #666666;
        line-height: 36rpx;
        margin-left:6rpx;
      }
    }
  }
}

.vip-box {
  height: 360rpx;
  margin: 32rpx 20rpx 0;
  position: relative;

  &-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
  }

  .vip-name {
    padding: 24rpx;
    font-weight: 500;
    font-size: 32rpx;
  }
}



.mine .box {
  margin: 20rpx 20rpx 0 20rpx;
}

.user-box {
  position: relative;
  box-sizing: border-box;
  padding-left: var(--margin);
}

.user-box .coupon-info view {
  font-size: 32rpx;
  margin-top: 8rpx;
  font-weight: normal;
}

.user-info {
  display: flex;
  position: relative;
  overflow: hidden;
}

.user-info .auth-button {
  position: absolute;
  width: calc(100% + 32rpx);
  height: 100%;
  opacity: 0;
  left: -32rpx;
  padding: 0;
}

.avatar {
  width: 80rpx;
  height: 80rpx;
  overflow: hidden;
  border-radius: 100%;
  margin-right: 20rpx;
  flex-shrink: 0;
}

.info.auth {
  font-family: PingFangSC-Medium;
  font-weight: 500;
  font-size: 32rpx;
  color: #0A0D14;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-info .nickName {
  display: flex;
  align-items: center;
  font-size: 32rpx;
  max-width: 490rpx;
}

.user-info .setUp {
  width: 40rpx;
  height: 40rpx;
  position: absolute;
  right: 40rpx;
  z-index:999;
}

.user-info .setUpZinx {
  z-index: -1;
}

.user-info .vip {
  margin-left: 8rpx;
  width: 80rpx;
  height: 32rpx;
}

.user-info .vip_card {
  margin-left: 4rpx;
  width: 80rpx;
  height: 32rpx;
  flex-shrink: 0;
}

.user-info .phone {
  margin-top: 4rpx;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 22rpx;
  color: #3F444D;
}

.user-info .merchant_box {
  margin-top: 16rpx;
  height: 44rpx;
  border: 1.6rpx solid #7a829933;
  border-radius: 22rpx;
  color: #7A8299;
  font-size: 22rpx;
  padding: 0 24rpx;
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  .name {
    max-width: 280rpx;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .change_icon {
    width: 32rpx;
    height: 32rpx;
    margin-left: 8rpx;
  }
}

.coupon-box {
  background: #FFFFFF;
  box-sizing: border-box;
  border-radius: 16rpx;
  font-weight: 500;
  font-size: 32rpx;
  color: #0A0D14;
  height: 100rpx;
  padding: 0 32rpx;

  .icon {
    width: 28rpx;
    height: 28rpx;
    margin-left: auto;
  }
}

.user-items {
  background-color: #fff;
  margin-top: 20rpx;
  border-radius: 8rpx;
}

.user-items .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28rpx;
  height: 88rpx;
  font-size: 28rpx;

}

.user-items .item .label {
  display: flex;
  align-items: center;
}

.user-items .item .icon {
  width: 40rpx;
  height: 40rpx;
  margin-right: 20rpx;
}

.auth-phone-box {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.auth-phone-bg {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.member-box {
  height: 136rpx;
  background-image: linear-gradient(165deg, #303030 2%, #070707 98%);
  border-radius: 16rpx;
  margin: 32rpx 20rpx 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-box .left-box {
  position: absolute;
  left: 24rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-box .left-box .member-icon {
  width: 72rpx;
  height: 60rpx;
}

.member-box .left-box .left-content {
  margin-left: 24rpx;
}

.member-box .left-box .left-content .card {
  font-weight: 600;
  font-size: 28rpx;
  color: #EECC9C;
  letter-spacing: 0;
  font-family: PingFangSC-S0pxibold;
  margin-bottom: 8rpx;
}

.member-box .left-box .left-content .describe {
  font-weight: 400;
  font-size: 20rpx;
  color: #EECC9C;
  letter-spacing: 0;
}

.member-box .left-box .left-content .money {
  color: #FF6038;
}

.member-box .member-button {
  width: 156rpx;
  height: 56rpx;
  background-image: radial-gradient(circle at 12% 25%, #FDE8BF 0%, #DDA15F 98%);
  border-radius: 28rpx;
  line-height: 56rpx;
  text-align: center;
  font-size: 24rpx;
  color: #070707;
  font-family: PingFangSC-Regular;
  position: absolute;
  right: 32rpx;
}

.member-box .member-price {
  font-family: PingFangSC-Regular;
  font-size: 24rpx;
  color: #FFFFFF;
  letter-spacing: 0;
  height: 30rpx;
  line-height: 30rpx;
  background: #FF6038;
  border-radius: 15rpx 15rpx 15rpx 0;
  padding: 0rpx 12rpx;
  position: absolute;
  top: 18rpx;
  right: -6rpx;
}

.member-box .goUseBox {
  display: flex;
  align-items: center;
  position: absolute;
  right: 28rpx;
  font-family: PingFangSC-Regular;
  font-size: 24rpx;
  color: #FFE5B8;
  letter-spacing: 0;
}

.member-box .goUseBox .goUseBox-icon {
  width: 28rpx;
  height: 28rpx;
  margin-left: 12rpx;
}

.tool-box {
  background-color: #fff;
  box-sizing: border-box;
  padding: 28rpx var(--margin);
  position: relative;
  border-radius: 16rpx;
}

.tool-box .title {
  font-family: PingFangSC-Medium;
  font-weight: 500;
  font-size: 32rpx;
  color: #0A0D14;
}

.tool-box .btnBox {
  display: flex;
  // justify-content: space-evenly;
}

.tool-box .btnBox .independentBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 57rpx;
}

.tool-box .btnBox .independentBox:nth-child(5) {
  margin-right: 0;
}

.tool-box .btnBox .independentBox .tool-img {
  width: 64rpx;
  height: 64rpx;
  margin: 40rpx 0 26rpx 0;
}

.tool-box .btnBox .independentBox .tool-content {
  font-size: 24rpx;
  color: #0A0D14;
  letter-spacing: 0;
}