my-member.wxss 3.7 KB
/* pages/my-member/my-member.wxss */
.topLine {
  width: 750px;
  height: 2rpx;
  background: #f2f2f2;
}

.title {
  width: 750rpx;
  text-align: center;
  margin: 0 auto;
  margin-top: 80rpx;
  font-size: 36rpx;
  font-weight: 600;
  color: #323233;
}

.textBox {
  width: 496rpx;
  height: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #323233;
  display: flex;
  align-items: center;
  margin: 0 auto;
  margin-top: 16rpx;
}

.line {
  width: 144rpx;
  height: 2rpx;
  background: #f2f2f2;
}

/* card */
.cardBox {
  width: 612rpx;
  height: 310rpx;
  background-color: antiquewhite;
  margin: 0 auto;
  margin-top: 44rpx;
}
.cardBoxTwo {
  width: 612rpx;
  height: 310rpx;
  background-color: antiquewhite;
  z-index: 99;
  position: absolute;
  top: 137px;
  border-radius: 16rpx;
  left: 70rpx;
  background: transparent;
}

.top {
  height: 174rpx;
  display: flex;
  padding-top: 36rpx;
  padding-bottom: 60rpx;
  padding-left: 32rpx;
  box-sizing: border-box;
}

.top .left {
  width: 348rpx;
  display: flex;
}

.icon {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin-right: 18rpx;
}

.text {
  font-size: 32rpx;
  font-weight: 600;
  text-align: left;
  color: #ffffff;
  text-shadow: 0px 2rpx 4rpx 0px #5e3600;
}

.card {
  font-size: 24rpx;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0px 1px 2px 0px #5e3600;
  margin-top: 8rpx;
}

.icon image {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
}

.top .right {
  width: 144rpx;
  height: 50rpx;
  border: 2rpx solid #ffffff;
  border-radius: 6rpx;
  font-size: 24rpx;
  font-weight: 400;
  text-align: left;
  color: #ffffff;
  text-shadow: 0px 1px 2px 0px #5e3600;
  margin-left: 48rpx;
  margin-top: 14rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom {
  height: 136rpx;
  padding-left: 24rpx;
  box-sizing: border-box;
  font-size: 28rpx;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0px 2rpx 4rpx 0px #5e3600;
  padding-top: 64rpx;
  box-sizing: border-box;
}

/* bottom */
.btn {
  position: absolute;
  bottom: 32rpx;
  left: 64rpx;
  width: 622rpx;
  height: 88rpx;
  background: linear-gradient(270deg, #fb7900 -100%, #ff4903);
  border-radius: 44rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  font-weight: 400;
  color: #ffffff;
}

/* 会员卡详情 */
.cardDetail {
  width: 750rpx;
  height: 1448rpx;
}

.cardDetail image {
  width: 750rpx;
  height: 1448rpx;
}

.cardBox {
  position: absolute;
  top: 230rpx;
  left: 70rpx;
  width: 612px;
  height: 310rpx;
  background-color: #ffffff;
}
.cardBox {
  position: absolute;
  top: 230rpx;
  left: 70rpx;
  width: 612rpx;
  height:816rpx;
  background-color: #ffffff;
}
.cardBox image{
  width: 612rpx;
  height: 310rpx;
}

.headPic {
  width: 160rpx;
  height: 160rpx;
  margin: 0 auto;
  margin-top: 40rpx;
}

.headPic image {
  width: 160rpx;
  height: 160rpx;
  border-radius: 50%;
}

.userName {
  font-size: 32rpx;
  font-weight: 600;
  text-align: center;
  color: #041122;
  margin-top: 16rpx;
}

.text {
  font-size: 36rpx;
  font-weight: 500;
  text-align: center;
  color: #323233;
  margin-top: 20rpx;
}

.codePic {
  width: 360rpx;
  height: 360rpx;
  margin: 0 auto;
  margin-top: 10rpx;
}

.cardNumber {
  margin-top: 20rpx;
  text-align: center;
  font-size: 28rpx;
  font-weight: 500;
  color: #66696e;
}

.codePic image {
  width: 360rpx;
  height: 360rpx;
}

/* bottom */
.btnBox {
  width: 622rpx;
  height: 88rpx;
  position: absolute;
  bottom: 32rpx;
  left: 64rpx;
  background-color: #ffc644;
  font-size: 32rpx;
  border-radius: 44rpx;
  font-weight: 400;
  text-align: left;
  color: #041122;
  display: flex;
  align-items: center;
  justify-content: center;
}