ElinkThings小程序蓝牙插件SDK集合:aifresh、ailink http://doc.elinkthings.com/web/#/36?page_id=127
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.wxss 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. page {
  2. color: #333;
  3. }
  4. .devices_summary {
  5. margin-top: 30px;
  6. padding: 10px;
  7. font-size: 16px;
  8. }
  9. .device_list {
  10. min-height: 300px;
  11. margin: 0 5px;
  12. border: 1px solid #EEE;
  13. width: auto;
  14. }
  15. .device_item {
  16. border-bottom: 1px solid #EEE;
  17. padding: 10px;
  18. color: #666;
  19. position: relative;
  20. }
  21. .device_item_btn{
  22. position: absolute;
  23. right: 12px;
  24. top: 50%;
  25. transform: translateY(-50%);
  26. width: 60px;
  27. height: 30px;
  28. display: flex;
  29. align-items: center;
  30. justify-content: center;
  31. border: 1px solid #ddd;
  32. border-radius: 3px;
  33. }
  34. .connected_info {
  35. position: fixed;
  36. bottom: 0;
  37. width: 100%;
  38. background-color: #F0F0F0;
  39. padding: 10px;
  40. padding-bottom: 20px;
  41. margin-bottom: env(safe-area-inset-bottom);
  42. font-size: 14px;
  43. min-height: 100px;
  44. box-shadow: 0px 0px 3px 0px;
  45. }
  46. .connected_info .operation {
  47. position: absolute;
  48. display: inline-block;
  49. right: 30px;
  50. }
  51. .writeInputViewBg{
  52. position: fixed;
  53. top: 0;
  54. left: 0;
  55. right: 0;
  56. bottom: 0;
  57. z-index: 1000;
  58. background-color: rgba(0,0,0,0.5);
  59. }
  60. .writeInputView{
  61. position: fixed;
  62. top: 30%;
  63. left: 50%;
  64. z-index: 1001;
  65. background-color: #fff;
  66. width: 80vw;
  67. height: 300rpx;
  68. display: flex;
  69. flex-direction: column;
  70. align-items: center;
  71. transform: translateX(-50%);
  72. }
  73. .writeInput{
  74. margin-top: 60rpx;
  75. width: 90%;
  76. height: 60rpx;
  77. border: 1rpx solid #ccc;
  78. }
  79. .writeInput input{
  80. width: 100%;
  81. height: 100%;
  82. box-sizing: border-box;
  83. }
  84. .hint{
  85. padding-top: 10rpx;
  86. font-size: 24rpx;
  87. color: #999;
  88. }
  89. .btns{
  90. display: flex;
  91. align-items: center;
  92. justify-content: space-between;
  93. width: 60%;
  94. margin-top: 50rpx;
  95. }
  96. .stopConnect{
  97. display: flex;
  98. align-items: center;
  99. justify-content: space-between;
  100. padding: 10px;
  101. }
  102. .btn_connect{
  103. width: 20%;
  104. height: 30px;
  105. display: flex;
  106. align-items: center;
  107. justify-content: center;
  108. background: #f8f8f8;
  109. border: 1px solid #ddd;
  110. border-radius: 5px;
  111. }
  112. .weight_wrap,
  113. .timer_wrap{
  114. padding: 10px;
  115. border-top: 1px solid #ddd;
  116. }
  117. .timer_value,
  118. .weight_value{
  119. display: flex;
  120. align-items: center;
  121. justify-content: center;
  122. }
  123. .value_item{
  124. margin: 0 5px;
  125. padding: 4px 6px;
  126. border: 1px solid #eee;
  127. min-width: 60px;
  128. text-align: center;
  129. }
  130. .btn_wrap{
  131. padding-top: 10px;
  132. }
  133. .btn_unitList_title{
  134. padding: 10px;
  135. }
  136. .btn_unitList{
  137. display: flex;
  138. flex-wrap: wrap;
  139. align-items: center;
  140. justify-content: space-around;
  141. }
  142. .btn_unit{
  143. width: 20%;
  144. height: 40px;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. background: #f8f8f8;
  149. border: 1px solid #ddd;
  150. border-radius: 5px;
  151. margin: 10px 0;
  152. }
  153. .btn_hover{
  154. background: rgba(0,0,0,0.1);
  155. }