/**index.wxss**/ /* 不加page无法全屏 */ page { height: 100%; } .view { width: 100%; height: 100%; } .mapBox{ margin: 0 20rpx; width: calc(100% - 40rpx); height: 80%; overflow: hidden; } map { margin: 0 20rpx; width: calc(100% - 40rpx); height: calc(100% + 50rpx); background-color: #FFF; } .login_button { width: calc(100% - 270rpx); font-size: 32rpx; /* margin: 0rpx 32rpx; */ font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; color: #fff; text-overflow: ellipsis; white-space: nowrap; background-color: #00a8dc; border-radius: 40rpx; height: 80rpx; border: none; margin: 70rpx auto; } .login_button_disable { width: calc(100% - 270rpx); font-size: 32rpx; /* margin: 0rpx 32rpx; */ font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; color: #fff; text-overflow: ellipsis; white-space: nowrap; background-color: #c9c9c9; border-radius: 40rpx; height: 80rpx; border: none; margin: 70rpx 135rpx 0 135rpx; } .login_button.button-hover { background-color: #36a9a6; } .cardView{ width: 160rpx; height: 60rpx; opacity:0.9; height: calc(100% - 5rpx); background-color: #FFFFFF; padding: 5rpx 5rpx; border-radius: 20rpx; display: flex; flex-direction: row; box-shadow: 9px 9px 9px #33333333; position: relative; margin-left:-5rpx } .triangle{ width: 0px; height: 0px; border-top: 5px solid #FF0000; border-left: 5px solid transparent; border-right: 5px solid transparent; position: absolute; } .cardView .imgLeft{ width: 50rpx; height: 50rpx; padding: 5rpx 5rpx; } .cardView .infoView{ width: calc(100% - 80rpx); height: 100%; display: flex; flex-direction: column; justify-content: space-between; } .cardView .infoView .topView{ width: 100%; height: calc(100% - 20rpx); display: flex; flex-direction: row; } .cardView .infoView .topView .title{ width: 80%; height: 100%; font-size: 16rpx; line-height: 25rpx; color:#000000; text-align: center; padding-left: 10rpx; } .cardView .topView .power{ width: 30rpx; height: 30rpx; padding-left: 20rpx; } .txt{ text-align: center; color: #9A9A9A; width: 100%; font-size: 25rpx; height: 40rpx; line-height: 40rpx; padding-top: 20rpx; } .cardView .typeView{ width: 100%; height: 30rpx; line-height: 25rpx; font-size: 16rpx; text-align: left; padding-left:16rpx; color: #9A9A9A; } /* .c_active{ border:#35B2AB 5 solid } */ .cardView.ele.c_active{ border:#35B2AB 5rpx solid; } .cardView.park.c_active{ border:#21ADFF 5rpx solid; }