Weight.wxss 4.8 KB
/* pages/weight/weight.wxss */

.z_container {
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(#ffad50, #ffc685);
}

.top_watch {
  height: 240rpx;
  width: 370rpx;
  margin: 0 auto;
  position: relative;
}

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

.top_watch .data {
  position: absolute;
  color: #fff;
  font-size: 25rpx;
  z-index: 15;
}

.data_1 {
  top: 100rpx;
  left: -30rpx;
  transform: rotate(-58deg);
}

.data_2 {
  top: 17rpx;
  transform: rotate(-18deg);
  left: 80rpx;
}

.data_3 {
  top: 22rpx;
  transform: rotate(18deg);
  right: 71rpx;
}

.data_4 {
  top: 101rpx;
  transform: rotate(54deg);
  right: -32rpx;
}

.images_box {
  width: 100%;
  height: 185rpx;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.top_data {
  margin: 13rpx 95rpx 0 118rpx;
  display: flex;
  justify-content: space-between;
  color: #fff;
  position: relative;
}

.latestips {
  width: 400rpx;
  height: 110rpx;
  background: #fff;
  position: absolute;
  top: 25rpx;
  left: -80rpx;
  border-radius: 10rpx;
  opacity: 0;
  transition: 1s;
}

.latestips.show {
  opacity: 1;
}

.tips_box {
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 0rpx 10rpx 5rpx 13rpx;
  display: flex;
  align-items: center;
  font-size: 28rpx;
  color: #ffad50;
}

.tips_box:after {
  content: '';
  display: block;
  bottom: 8rpx;
  right: -22rpx;
  position: absolute;
  width: 0;
  height: 0;
  border-left: 24rpx solid #fff;
  border-top: 10rpx solid transparent;
  border-bottom: 10rpx solid transparent;
}

.top_direc {
  display: flex;
  color: #fff;
  font-size: 64rpx;
  height: 90rpx;
  font-weight: bold;
  align-items: center;
}

.danwei {
  font-size: 34rpx;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 64rpx;
  font-weight: normal;
  margin-left: 20rpx;
}

.top_label {
  font-size: 30rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips {
  width: 48rpx;
  height: 48rpx;
  border-radius: 50%;
  background-color: #fff;
  color: #ddd;
  display: flex;
  align-items: center;
  margin-left: 15rpx;
  justify-content: center;
}

.record_container {
  width: 670rpx;
  height: 570rpx;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 60rpx;
  border-radius: 10rpx;
  position: relative;
  padding: 0 15rpx;
  padding-top: 60rpx;
  box-sizing: border-box;
  margin-bottom: 4rpx;
}

.add_icon {
  background: #fff;
  border-radius: 50%;
  width: 120rpx;
  height: 120rpx;
  padding: 10rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: -50rpx;
  transform: translateX(-50%);
}

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

.record_label {
  font-size: 34rpx;
  color: #333;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  border-bottom: 1rpx solid #d8d8d8;
}

.label_item, .record_list_item {
  height: 88rpx;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.type_icon {
  width: 28rpx;
  height: 28rpx;
  margin-right: 8rpx;
}

.record_lists {
  height: 430rpx;
  overflow-y: auto;
}

.record_list {
  font-size: 30rpx;
  color: #666;
  display: flex;
  border-bottom: 1rpx solid #d8d8d8;
}

.record_list:last-child {
  border: none;
}

.zhengchang {
  color: #56dca5;
  display: none;
}

.chaoqing {
  color: #78d2df;
  display: none;
}

.chaozhong {
  color: #aa6e6e;
}

.biaozhu {
  font-size: 26rpx;
  color: #fff;
  padding: 10rpx 73rpx;
}

image.zhizhen {
  width: 14rpx;
  position: absolute;
  bottom: 0;
  z-index: 15;
  height: 193rpx;
  left: 50%;
  top: 50%;
  margin: -75rpx 0 0 -7rpx;
  transform-origin: bottom;
  -webkit-transform-origin: bottom;
  transform: rotate(0deg);
  transition: 1s;
}

.weight_type {
  display: none;
}

.weight_type.active {
  display: block;
}

.todayData {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 140rpx;
  width: 100%;
  font-size: 30rpx;
}

.now_weight {
  font-size: 64rpx;
  line-height: 64rpx;
  font-weight: bold;
}

.mask {
  width: 100%;
  height: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 20;
}

.tongyi_toast {
  width: 560rpx;
  margin: 0 auto;
  margin-top: 423rpx;
  background: #fff;
  border-radius: 10rpx;
  overflow: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 100rpx;
}

.toast_container {
  padding: 24rpx;
  font-size: 30rpx;
  text-align: center;
  color: #666;
  line-height: 52rpx;
}

.shengming {
  text-align: center;
  margin-bottom: 10rpx;
}

.liaojie {
  height: 100rpx;
  border-top: 1rpx #e5e5e5 solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36rpx;
  color: #02bb00;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}