myProfile.wxss 2.7 KB
/* pages/MyProfile/MyProfile.wxss */

page {
  background: #f5f5fa;
}

.box {
  padding: 0 20rpx;
}

.banner_box {
  width: 100%;
  height: 200rpx;
  background: #3fa9f5;
  border-radius: 10rpx;
  margin-top: 46rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 28rpx;
  color: #fff;
}

.head_img {
  width: 157rpx;
  height: 157rpx;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -30rpx;
  margin-bottom: 10rpx;
}

.head_img image {
  width: 100%;
  height: 100%;
}

.info_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 34rpx 40rpx;
  margin-top: 20rpx;
  font-size: 32rpx;
  color: #464646;
}

.info_content {
  font-size: 24rpx;
  color: #3fa9f5;
}

.title_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20rpx 30rpx;
}

.icon-jia {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34rpx;
  height: 34rpx;
  background: #3fa9f5;
  border-radius: 10rpx;
  color: #fff;
  padding: 5rpx;
  box-sizing: border-box;
  margin-right: 8rpx;
}

.add_box {
  font-size: 24rpx;
  color: #3fa9f5;
  text-align: center;
  display: flex;
  align-items: center;
}

.list_title {
  position: relative;
  padding-left: 17rpx;
  font-size: 32rpx;
  color: #464646;
}

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

.list_item {
  width: 100%;
  background: #fff;
  padding: 0 20rpx;
  min-height: 230rpx;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 10rpx;
  margin-bottom: 20rpx;
}

.list_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10rpx 20rpx;
  border-bottom: 1rpx solid #dedede;
}

.list_info:nth-child(2) {
  border-bottom: 0rpx;
}

.list_info text {
  display: inline-block;
  width: 50%;
  font-size: 28rpx;
  color: #6e6e6e;
}

.list_label_box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 10rpx 0;
}

.label_item {
  width: 130rpx;
  height: 40rpx;
  border: 1rpx solid #3fa9f5;
  border-radius: 10rpx;
  font-size: 18rpx;
  color: #3fa9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 30rpx;
}

.edit_btn, .renewal_btn {
  background: #3fa9f5;
  color: #fff;
  border: 0;
}

.renewal_btn {
  background: #fc5b63;
}

.hint_info {
  width: 100%;
  height: 40rpx;
  background: #3fa9f5;
  color: #fff;
  font-size: 18rpx;
  line-height: 40rpx;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
}