You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
2.9 KiB
Plaintext
149 lines
2.9 KiB
Plaintext
.iot-main {
|
|
padding: 20rpx 30rpx;
|
|
background: #f8f8f8;
|
|
box-sizing: border-box;
|
|
min-height: calc(100vh - 180rpx);
|
|
.banner-box {
|
|
position: relative;
|
|
display: block;
|
|
width: 690rpx;
|
|
height: 790rpx;
|
|
background-color: #fff;
|
|
border-radius: 30rpx;
|
|
.music-btn {
|
|
position: absolute;
|
|
top: 17rpx;
|
|
right: 17rpx;
|
|
width: 54rpx;
|
|
height: 54rpx;
|
|
background: #f8f8f8;
|
|
border-radius: 50%;
|
|
z-index: 10;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
.music-btn_icon {
|
|
width: 54rpx;
|
|
height: 54rpx;
|
|
}
|
|
}
|
|
.video-or-image {
|
|
display: block;
|
|
width: 690rpx;
|
|
height: 640rpx;
|
|
border-radius: 30rpx;
|
|
animation-iteration-count: 1; // gif只播放一次
|
|
}
|
|
.iot-device {
|
|
width: 690rpx;
|
|
height: 150rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
.device-time {
|
|
font-size: 26rpx;
|
|
color: #000;
|
|
font-weight: 400;
|
|
.time {
|
|
font-size: 30rpx;
|
|
font-weight: 800;
|
|
}
|
|
}
|
|
.line {
|
|
width: 1rpx;
|
|
height: 50rpx;
|
|
background: #dddddd;
|
|
margin-left: 69rpx;
|
|
margin-right: 60rpx;
|
|
}
|
|
.electricity-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: left;
|
|
height: 50rpx;
|
|
.label {
|
|
width: 154rpx;
|
|
font-size: 26rpx;
|
|
color: #000;
|
|
margin-right: 14rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.msg-tips {
|
|
position: absolute;
|
|
top: 40%;
|
|
left: 0;
|
|
right: 0;
|
|
transform: translateY(-40%);
|
|
display: flex;
|
|
align-items: center;
|
|
max-width: 635rpx;
|
|
margin: auto;
|
|
padding: 15rpx 34rpx;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
box-sizing: border-box;
|
|
border-radius: 30rpx;
|
|
z-index: 10100 !important; // 提升层级,防止被其他元素遮挡
|
|
.msg-tips-img {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
margin-right: 17rpx;
|
|
}
|
|
.msg-tips-content {
|
|
flex: 1;
|
|
max-width: 530rpx;
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
word-break: break-word;
|
|
}
|
|
}
|
|
}
|
|
.mode-box {
|
|
// background-color: #fff;
|
|
}
|
|
}
|
|
|
|
.iot-btn-start {
|
|
width: 690rpx;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 32rpx;
|
|
background-color: #ccc;
|
|
border-radius: 45rpx;
|
|
&.is-connect {
|
|
background-color: #000;
|
|
}
|
|
}
|
|
|
|
.battery_icon {
|
|
width: 8rpx;
|
|
height: 20rpx;
|
|
border-radius: 5rpx;
|
|
& + .battery_icon {
|
|
margin-left: 8rpx;
|
|
}
|
|
}
|
|
|
|
.v1 {
|
|
background: linear-gradient(0deg, #efdcc2 0%, #fff2df 100%);
|
|
}
|
|
|
|
.v2 {
|
|
background: #f8f8f8;
|
|
}
|
|
|
|
.v3 {
|
|
background: linear-gradient(0deg, #ff4646, #ff6b6b, #f86f6f, #ff9494);
|
|
}
|
|
|
|
#chart {
|
|
width: 690rpx;
|
|
height: 320rpx;
|
|
}
|