SelfRidicule 2ef2928f3a 1
2024-08-22 18:30:58 +08:00

353 lines
6.2 KiB
Plaintext

.view {
box-sizing: border-box;
line-height: 1;
margin: 0;
padding: 0;
}
.containerView.public {
background: #f8f8f8;
min-height: 100vh;
}
.publicView {
padding: 0 32rpx;
}
.topHead {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 50rpx;
}
.topHead .logoImg {
width: 91rpx;
height: 91rpx;
}
.topHead .title {
margin-left: 20rpx;
color: #363636;
font-size: 30rpx;
}
.leftLineTitle {
margin-top: 60rpx;
}
.lockView {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 30rpx;
}
.lockView .lockImg {
width: 188rpx;
height: 134rpx;
}
.lockView .lockSwitchView {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 180rpx;
height: 180rpx;
background: white;
border-radius: 10rpx;
box-shadow: rgba(204, 204, 204, 0.6) 0px 2px 2px 0px;
transition: 0.1s all;
}
.lockView .lockSwitchView:active {
opacity: 0.4;
}
.lockView .lockSwitchView .switchImg {
width: 60rpx;
height: 60rpx;
}
.lockView .lockSwitchView .label {
margin-top: 20rpx;
font-size: 24rpx;
}
.sceneView {
display: flex;
justify-content: flex-start;
align-items: center;
overflow: auto;
margin-top: 30rpx;
}
.sceneView .sceneItem {
border: 1rpx solid rgba(105, 105, 105, 0.1);
border-radius: 20rpx;
flex-shrink: 0;
width: 280rpx;
height: 140rpx;
margin-right: 30rpx;
background: white;
display: flex;
justify-content: center;
align-items: center;
}
.sceneView .sceneItem.activity {
background: #334D77;
}
.sceneView .sceneItem .img {
width: 54rpx;
height: 54rpx;
}
.sceneView .sceneItem .label {
font-size: 28rpx;
margin-left: 16rpx;
color: #334D77;
}
.sceneView .sceneItem .label.activity {
color: white;
}
.sceneView .sceneItem .point {
border-radius: 10rpx;
width: 10rpx;
height: 10rpx;
background: #334D77;
margin-left: 10rpx;
}
.sceneView .sceneItem .point.activity {
background: white;
}
.equipmentList {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 0 30rpx;
}
.equipmentItem {
box-shadow: rgba(214, 214, 214, 0.5) 0px 1px 0px 0px, rgb(238, 238, 238) 0px 1px 2px 0px;
border-radius: 10rpx;
position: relative;
width: 330rpx;
height: 340rpx;
margin-top: 24rpx;
background: white;
}
.equipmentItem .equipmentTitle {
position: absolute;
left: 31rpx;
top: 24rpx;
width: 160rpx;
font-size: 18rpx;
color: #314773;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.equipmentItem .equipmentContent {
width: 100%;
height: 100%;
}
/* 灯控 */
.equipmentContent .equipmentLampImg {
position: absolute;
z-index: 1;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 248rpx;
height: 287rpx;
}
.equipmentContent .equipmentSwitchImg {
position: absolute;
z-index: 2;
bottom: 20rpx;
left: 50%;
transform: translateX(-50%);
width: 88rpx;
height: 88rpx;
}
/* 窗帘 */
.equipmentContent .equipmentCurtainView {
position: absolute;
z-index: 1;
top: 60rpx;
left: 50%;
transform: translateX(-50%);
width: 200rpx;
height: 180rpx;
}
.equipmentContent .equipmentCurtainCurtainTopImg {
position: absolute;
z-index: 10;
top: 0;
left: 0;
width: 200rpx;
height: 20rpx;
}
.equipmentContent .equipmentCurtainWindowImg {
position: absolute;
z-index: 5;
top: 16rpx;
left: 50%;
transform: translateX(-50%);
width: 200rpx;
height: 158rpx;
}
.equipmentContent .equipmentCurtainCordFabricView {
position: absolute;
z-index: 5;
top: 16rpx;
width: 113rpx;
height: 181rpx;
overflow: hidden;
}
.equipmentContent .equipmentCurtainCordFabricImg {
position: absolute;
top: 0;
width: 100%;
height: 100%;
transition: 1s all;
}
.equipmentContent .equipmentCurtainCordFabricImg.opacity {
opacity: 0.6;
}
.equipmentContent .equipmentCurtainCordFabricView.left {
left: 8rpx;
}
.equipmentContent .equipmentCurtainCordFabricView.left .equipmentCurtainCordFabricImg.open {
right: 100%;
}
.equipmentContent .equipmentCurtainCordFabricView.left .equipmentCurtainCordFabricImg.close {
right: 0;
}
.equipmentContent .equipmentCurtainCordFabricView.left .equipmentCurtainCordFabricImg.stop {
right: 50%;
}
.equipmentContent .equipmentCurtainCordFabricView.right {
right: 8rpx;
}
.equipmentContent .equipmentCurtainCordFabricView.right .equipmentCurtainCordFabricImg.open {
left: 100%;
}
.equipmentContent .equipmentCurtainCordFabricView.right .equipmentCurtainCordFabricImg.close {
left: 0;
}
.equipmentContent .equipmentCurtainCordFabricView.right .equipmentCurtainCordFabricImg.stop {
left: 50%;
}
.equipmentContent .curtainSwitchOpenImg {
position: absolute;
z-index: 1;
left: 30rpx;
bottom: 30rpx;
width: 41rpx;
height: 35rpx;
}
.equipmentContent .curtainSwitchCloseImg {
position: absolute;
z-index: 1;
right: 30rpx;
bottom: 30rpx;
width: 41rpx;
height: 35rpx;
}
.equipmentContent .curtainStopImg {
position: absolute;
z-index: 1;
bottom: 22rpx;
left: 50%;
transform: translateX(-50%);
width: 51rpx;
height: 51rpx;
}
/* 雾化玻璃 */
.equipmentContent .glassImg {
position: absolute;
z-index: 1;
top: 77rpx;
left: 50%;
transform: translateX(-50%);
width: 200rpx;
height: 140rpx;
transition: 1s all;
}
.equipmentContent .glassSwitchImg {
position: absolute;
z-index: 1;
bottom: 22rpx;
left: 50%;
transform: translateX(-50%);
width: 104rpx;
height: 48rpx;
}
/* 插座 */
.equipmentContent .socketImg {
position: absolute;
z-index: 1;
top: 77rpx;
left: 50%;
transform: translateX(-50%);
width: 150rpx;
height: 149rpx;
transition: 1s all;
}
.equipmentContent .socketSwitchImg {
position: absolute;
z-index: 1;
bottom: 28rpx;
left: 50%;
transform: translateX(-50%);
width: 104rpx;
height: 48rpx;
}