/**index.wxss**/ .userinfo { display: flex; flex-direction: column; align-items: center; color: #aaa; } .userinfo-avatar { overflow: hidden; width: 128rpx; height: 128rpx; margin: 20rpx; border-radius: 50%; } .usermotto { margin-top: 200px; } .header{ width: 100%; height: 35px; border-bottom: 1px solid gray; display: flex; align-items: center; font-size: 16px; padding: 0 5px; } .header .state-info{ font-size: 18px; width: 120px; padding-left: 10px; border-right: 1px solid gray; display: flex; align-items: center; } .led{ width: 5px; height: 5px; } .header .state-msg{ width: 100%; overflow:hidden; display: flex; justify-content: center; align-items: center; } .bleDevices{ width:100%; height: 360px; display: flex; flex-direction: column; overflow: hidden; margin-top: 10px; } .bleDevices .title{ width: 100%; height: 24px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; border-bottom: 1px solid gray; } .bleDevices .devList{ padding: 0 10px; height: 100%; overflow: auto; } .bleDevices .devList .devItem{ width: 100%; height: 70px; border: 1px solid gray; margin-bottom: 10px; border-radius: 3px; display: flex; padding: 0 8px; box-sizing: border-box; align-items: center; } .bleDevices .devList .devItem .devInfo .name,.devId{ display: flex; align-items: center; } .bleDevices .devList .devItem .devInfo{ width: 70%; } .bleDevices .devList .devItem .devInfo .name{ font-size: 18px; height: 35px; } .bleDevices .devList .devItem .devInfo .devId{ font-size: 12px; height: 30px; } .bleDevices .devList .devItem .option{ width: 30%; } .center-row{ width: 100%; display: flex; justify-content: center; } .shutter-box{ width: 65px; height: 130px; display: flex; justify-content: center; box-shadow: 0px 0px 1px gray; border-radius: 62px; /* background-color: #eee; */ } .shutter-btn{ width: 60px; height: 60px; border-radius: 50%; margin-top: 65px; box-shadow: 2px 2px 4px black; background: rgb(216, 216, 216); } .shutter-btn:active{ background-color: rgb(51, 189, 16); box-shadow: inset 2px 2px -4px gray; } .shutter-holder{ margin-top: 5px; background: rgb(51, 189, 16); } .mt-5{ margin-top: 5px; }