detail.wxss 2.2 KB
/* pages/qiyeyongdian/detail/detail.wxss */

.search_month {
  width: 686rpx;
  padding: 0 30rpx;
  height: 70rpx;
  background-color: #f3f5f8;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* 左箭头 */

.left {
  transform: rotate(180deg);
}

/* 日期 */

.date_time {
  color: #666;
  font-size: 28rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.down {
  transform: rotate(90deg);
}

/* 折线图 */



.chart {
  width: 750rpx;
  height: 394rpx;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

ec-canvas {
  width: 100%;
  height: 100%;
}

.total_power {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

/* 弹出框 */

.modal-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.5;
  overflow: hidden;
  z-index: 9000;
  color: #fff;
}

.modal-dialog {
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 45%;
  left: 0;
  z-index: 9500;
  margin: -180rpx 70rpx;
}

.modal-content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9500;
  width: 100%;
  /* height: 55%; */
  overflow: hidden;
  /* padding: 120rpx 50rpx 50rpx; */
  background: #fff;
  border-radius: 2rpx;
}

/* 年份 */

.modal_year {
  padding: 38rpx;
  border: 1rpx solid #f5f5f5;
  font-size: 28rpx;
  color: #666;
  text-align: center;
}

/* 月份 */

.modal_month {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 40rpx 0 30rpx;
}

.month_single {
  width: 33.333%;
  height: 120rpx;
  text-align: center;
  border-radius: 6rpx;
  font-size: 32rpx;
  color: #333;
  line-height: 120rpx;
}

.change {
  background-color: #ff9400;
  color: #fff;
}

.date_descript {
  width: 296rpx;
  height: 70rpx;
  line-height: 70rpx;
  text-align: center;
  color: #ff9400;
  font-size: 28rpx;
  margin: 0 auto;
  background: rgba(244, 244, 244, 1);
  border-radius: 6rpx;
}

.btns {
  margin-top: 50rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-top: 1rpx solid #f5f5f5;
}

.cacle {
  width: 50%;
  color: #afafaf;
  height: 87rpx;
  line-height: 87rpx;
  text-align: center;
  font-size: 34rpx;
}

.sure {
  color: #ff9400;
  border-left: 1rpx solid #f5f5f5;
}