123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413 |
- /* pages/loop/loop.wxss */
- page{
- width: 100%;
- height: 100%;
- }
- .switch-1{
- width: 100%;
- height: 7.5%;
- background-color: white;
- position: relative;
- border-bottom: 0.5px solid grey;
- }
- .switch-1 image{
- position: absolute;
- }
- .Onlinestatus{
- position: absolute;
- right: 5%;
- top: 20%;
- font-weight: 550;
- font-size: calc(100vw * 18/375);
- }
- /* 下拉选择 */
- .Dropdown{
- height: 100%;
- width: 70%;
- position: absolute;
- left: 15%;
- }
- /* 分组下拉选择 */
- .group{
- background-color: cornflowerblue;
- color: white;
- font-size: calc(100vw * 18/375);
- float: left;
- margin-top: 5%;
- height:calc(100vw * 24/375);
- max-width: 60%;
- }
- /* 设备下拉选择 */
- .device{
- background-color: cornflowerblue;
- color: white;
- font-size: calc(100vw * 18/375);
- margin-left: 3%;
- float: left;
- margin-top: 5%;
- height: calc(100vw * 24/375);
- max-width: 37%;
- }
- .loop{
- width: 100%;
- height: 7.5%;
- position: relative;
- }
- .loop text{
- position: absolute;
- left: 5%;
- top: 18%;
- font-weight: 550;
- font-size: calc(100vw * 16/375);
- }
- .loop-picker{
- position: absolute;
- left: 18%;
- top:18%;
- background-color:cornflowerblue;
- color: white;
- font-size: calc(100vw * 18/375);
- }
- /* 主体 */
- .subject{
- width: 90%;
- margin:0% auto;
- height: 72%;
- }
- /* 时控一二 */
- .Time-control{
- background-color: cornflowerblue;
- width: 100%;
- height: 23%;
- position: relative;
- }
- .Time-control text{
- position: absolute;
- font-weight: 550;
- font-size: calc(100vw * 18/375);
- }
- .Time-control switch{
- position: absolute;
- left: 30%;
- zoom:0.8;
- }
- .Timecontrol-picker-1{
- position: absolute;
- left: 55%;
- border-radius: 5px;
- height: 29.39%;
- text-align: center;
- font-size: calc(100vw * 14/375);
- display: flex;
- align-items:center;
- justify-content:center;
- }
- .Timecontrol-button-2{
- height:29.39%;
- width: 18%;
- position: absolute;
- right: 3%;
- font-size: calc(100vw * 14/375);
- display: flex;
- align-items:center;
- justify-content:center;
- }
- /* 日期调控 */
- .Date-Setting{
- background-color: cornflowerblue;
- width: 100%;
- height: 18%;
- position: relative;
- }
- .Date-Setting text{
- position: absolute;
- font-weight: 550;
- font-size: calc(100vw * 18/375);
- }
- .Date-Setting image{
- width: calc(100vw * 25/375);
- height: calc(100vw * 25/375);
- position: absolute;
- top: 45%;
- }
- /* 光控 */
- .Light-control{
- background-color: cornflowerblue;
- width: 100%;
- height: 23%;
- position: relative;
- }
- .Light-control text{
- position: absolute;
- font-weight: 550;
- font-size: calc(100vw * 18/375);
- }
- .Light-control switch{
- position: absolute;
- left: 30%;
- zoom: 0.8;
- }
- .Light-control-picker{
- background-color:blue;
- color: white;
- height: 27.21%;
- position: absolute;
- right: 16%;
- font-size: calc(100vw * 14/375);
- display: flex;
- align-items:center;
- justify-content:center;
- border-radius: 5px;
- text-align: center;
- }
- /* 报警 */
- .warning{
- background-color: cornflowerblue;
- width: 100%;
- height: 11.4%;
- position: relative;
- font-size: calc(100vw * 18/375);
- }
- .warning text{
- font-weight: 550;
- position: absolute;
- top: 10%;
- }
- .warning-control{
- position: absolute;
- left: 20%;
- top: 10%;
- }
- /* 刷新页面、存储数据 */
- .Refresh{
- margin: 3% auto;
- width:100%;
- height: 10%;
- position: relative;
- text-align: center;
- }
- .Refresh button:active{
- box-shadow:cornflowerblue;
- transform: translateY(4px);
- }
- /* 刷新页面 */
- .Refresh-1{
- height:72.1%;
- position: absolute;
- left: 12%;
- top:5%;
- background-color: cornflowerblue;
- font-size: calc(100vw * 18/375);
- display: flex;
- align-items:center;
- justify-content:center;
- color: white;
- }
- /* 存储数据 */
- .Refresh-2{
- height:72.1%;
- position: absolute;
- right: 12%;
- top:5%;
- background-color: cornflowerblue;
- font-size: calc(100vw * 18/375);
- display: flex;
- align-items:center;
- justify-content:center;
- color: white;
- }
- /* 新设备时控 */
- .newtime1{
- background-color: cornflowerblue;
- width: 100%;
- height: 25%;
- display: flex;
- align-items: center;
- position: relative;
- }
- .newtime1 switch{
- position: absolute;
- left: 12%;
- }
- .startTime{
- position: absolute;
- left: 40%;
- top: 35%;
- background-color: rgb(33, 111, 156);
- width: 20%;
- height: 30%;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: calc(100vw * 16/375);
- }
- .endTime{
- position: absolute;
- left: 74%;
- top: 35%;
- background-color: rgb(33, 111, 156);
- width: 20%;
- height: 30%;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: calc(100vw * 16/375);
- }
- .newtime1 text{
- font-size: calc(100vw * 18/375);
- font-weight: 550;
- position: absolute;
- top: 2%;
- }
- .newtime2{
- background-color: cornflowerblue;
- width: 100%;
- height: 25%;
- margin-top: 1%;
- display: flex;
- align-items: center;
- position: relative;
- }
- .newtime2 text{
- font-size: calc(100vw * 18/375);
- font-weight: 550;
- position: absolute;
- top: 2%;
- }
- .newtime2 switch{
- position: absolute;
- left: 12%;
- }
- /* 新设备光控 */
- .newlight{
- background-color: cornflowerblue;
- width: 100%;
- height: 42%;
- margin-top: 1%;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- }
- .newlight switch{
- position: absolute;
- left: 15%;
- }
- .newlight text{
- font-size: calc(100vw * 18/375);
- font-weight: 550;
- position: absolute;
- left: 50.5%;
- left: 50%;
- }
- .lightstartTime{
- position: absolute;
- left: 42%;
- top:25%;
- background-color: rgb(33, 111, 156);
- width: 20%;
- height: 20%;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: calc(100vw * 16/375);
- }
- .lightendTime{
- position: absolute;
- left: 77%;
- top:25%;
- background-color: rgb(33, 111, 156);
- width: 20%;
- height: 20%;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: calc(100vw * 16/375);
- }
- .weather{
- position: absolute;
- left: 78%;
- top:35%;
- background-color: rgb(33, 111, 156);
- width: 20%;
- height: 30%;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: calc(100vw * 16/375);
- }
- /* 开启条件 */
- .conditions{
- position: absolute;
- top: 60%;
- left: 55%;
- }
- .check{
- margin:8px auto;
- }
- .newChange{
- width: 20%;
- height: 80%;
- position: absolute;
- right: 5%;
- top: 10%;
- }
- .newChange button{
- width: 100%;
- height: 100%;
- font-size: calc(100vw * 18/375);
- background-color: cornflowerblue;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #ffffff;
- }
- .control_model{
- position: absolute;
- left: 75%;
- background-color: blue;
- color: #ffffff;
- width: 20%;
-
- height: 30%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: calc(100vw * 16/375);
- }
|