index.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /**index.wxss**/
  2. .userinfo {
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. color: #aaa;
  7. }
  8. .userinfo-avatar {
  9. overflow: hidden;
  10. width: 128rpx;
  11. height: 128rpx;
  12. margin: 20rpx;
  13. border-radius: 50%;
  14. }
  15. .usermotto {
  16. margin-top: 200px;
  17. }
  18. .header{
  19. width: 100%;
  20. height: 35px;
  21. border-bottom: 1px solid gray;
  22. display: flex;
  23. align-items: center;
  24. font-size: 16px;
  25. padding: 0 5px;
  26. }
  27. .header .state-info{
  28. font-size: 18px;
  29. width: 120px;
  30. padding-left: 10px;
  31. border-right: 1px solid gray;
  32. display: flex;
  33. align-items: center;
  34. }
  35. .led{
  36. width: 5px;
  37. height: 5px;
  38. }
  39. .header .state-msg{
  40. width: 100%;
  41. overflow:hidden;
  42. display: flex;
  43. justify-content: center;
  44. align-items: center;
  45. }
  46. .bleDevices{
  47. width:100%;
  48. height: 360px;
  49. display: flex;
  50. flex-direction: column;
  51. overflow: hidden;
  52. margin-top: 10px;
  53. }
  54. .bleDevices .title{
  55. width: 100%;
  56. height: 24px;
  57. display: flex;
  58. justify-content: space-between;
  59. align-items: center;
  60. padding: 0 10px;
  61. border-bottom: 1px solid gray;
  62. }
  63. .bleDevices .devList{
  64. padding: 0 10px;
  65. height: 100%;
  66. overflow: auto;
  67. }
  68. .bleDevices .devList .devItem{
  69. width: 100%;
  70. height: 70px;
  71. border: 1px solid gray;
  72. margin-bottom: 10px;
  73. border-radius: 3px;
  74. display: flex;
  75. padding: 0 8px;
  76. box-sizing: border-box;
  77. align-items: center;
  78. }
  79. .bleDevices .devList .devItem .devInfo .name,.devId{
  80. display: flex;
  81. align-items: center;
  82. }
  83. .bleDevices .devList .devItem .devInfo{
  84. width: 70%;
  85. }
  86. .bleDevices .devList .devItem .devInfo .name{
  87. font-size: 18px;
  88. height: 35px;
  89. }
  90. .bleDevices .devList .devItem .devInfo .devId{
  91. font-size: 12px;
  92. height: 30px;
  93. }
  94. .bleDevices .devList .devItem .option{
  95. width: 30%;
  96. }
  97. .center-row{
  98. width: 100%;
  99. display: flex;
  100. justify-content: center;
  101. }
  102. .shutter-box{
  103. width: 65px;
  104. height: 130px;
  105. display: flex;
  106. justify-content: center;
  107. box-shadow: 0px 0px 1px gray;
  108. border-radius: 62px;
  109. /* background-color: #eee; */
  110. }
  111. .shutter-btn{
  112. width: 60px;
  113. height: 60px;
  114. border-radius: 50%;
  115. margin-top: 65px;
  116. box-shadow: 2px 2px 4px black;
  117. background: rgb(216, 216, 216);
  118. }
  119. .shutter-btn:active{
  120. background-color: rgb(51, 189, 16);
  121. box-shadow: inset 2px 2px -4px gray;
  122. }
  123. .shutter-holder{
  124. margin-top: 5px;
  125. background: rgb(51, 189, 16);
  126. }
  127. .mt-5{
  128. margin-top: 5px;
  129. }