myCard.wxss 1.9 KB
/* pages/myCard/myCard.wxss */

page {
  background: #f5f5fa;
}

.banner_box {
  position: relative;
}

.swiper_box, .default-card {
  width: 100%;
  height: 430rpx;
  padding: 30rpx;
  box-sizing: border-box;
}

.banner_img {
  width: 690rpx;
  height: 370rpx;
  border-radius: 20rpx;
  overflow: hidden;
  background-image: url('http://science.w.bronet.cn/static/images/card.png');
  background-repeat: no-repeat;
  -webkit-background-size: 100%;
  background-size: 100%;
  position: relative;
}

.banner_img image {
  width: 100%;
  height: 100%;
  position: relative;
}

.img_top {
  width: 100%;
  position: absolute;
  z-index: 100;
  font-size: 24rpx;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1rpx solid rgba(0, 0, 0, 0.1);
  padding: 25rpx 30rpx;
  box-sizing: border-box;
}
.logo_title{
  font-size: 45rpx;
}
.info_title {
  font-size: 24rpx;
  color: #fff;
  margin-bottom: 15rpx;
}

.img_info {
  font-size: 18rpx;
  color: #fff;
  width: 100%;
  position: absolute;
  z-index: 100;
  top: 115rpx;
  padding: 30rpx;
  box-sizing: border-box;
  line-height: 30rpx;
}

.indicator_dots {
  color: #487aff;
  position: absolute;
  bottom: 50rpx;
  right: 30rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.dot {
  width: 14rpx;
  height: 14rpx;
  background: #c4c4c4;
  border-radius: 50%;
  margin: 0 5rpx;
}

.dot_active {
  width: 28rpx;
  height: 14rpx;
  background: #fff;
  border-radius: 40rpx;
}

.content_box {
  margin-top: 20rpx;
  background: #fff;
}

.item_list {
  padding: 20rpx 30rpx;
  border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  font-size: 32rpx;
  color: #464646;
}

.item_list:last-child {
  border: 0;
}

.list_title {
  position: relative;
  padding-left: 17rpx;
}

.list_title::after {
  content: "";
  width: 6rpx;
  height: 32rpx;
  background: #3fa9f5;
  border-radius: 40rpx;
  position: absolute;
  left: -10rpx;
  top: 50%;
  transform: translateY(-50%);
}