ElinkThings小程序蓝牙插件SDK集合:aifresh、ailink http://doc.elinkthings.com/web/#/36?page_id=127
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. page {
  2. background: #f0f0f0;
  3. color: #333;
  4. --safe-bottom: env(safe-area-inset-bottom);
  5. }
  6. view,
  7. cover-view,
  8. scroll-view,
  9. swiper,
  10. swiper-item,
  11. movable-area,
  12. movable-view,
  13. button,
  14. input,
  15. textarea,
  16. label,
  17. navigator
  18. {
  19. box-sizing: border-box;
  20. }
  21. .container{
  22. position: relative;
  23. display: flex;
  24. flex-direction: column;
  25. align-items: center;
  26. width: 100vw;
  27. height: 100vh;
  28. padding-bottom: 200rpx;
  29. }
  30. .header{
  31. width: 100%;
  32. }
  33. .container button{
  34. padding-top: 0;
  35. padding-bottom: 0;
  36. border: 1px solid #ddd;
  37. }
  38. .devices_summary {
  39. width: 100%;
  40. line-height: 70rpx;
  41. padding: 0 30rpx;
  42. margin-top: 30rpx;
  43. font-size: 32rpx;
  44. }
  45. .device_list {
  46. flex: 1;
  47. width: 100%;
  48. height: calc(100vh - 600rpx);
  49. margin-top: 0;
  50. border: 1px solid #fff;
  51. border-radius: 5px;
  52. background: #fff;
  53. }
  54. .device_item {
  55. line-height: 1.5;
  56. padding: 10rpx 30rpx;
  57. border-bottom: 1px solid #EEE;
  58. }
  59. .device_item_hover {
  60. background-color: rgba(0, 0, 0, .1);
  61. }
  62. .connected_info {
  63. position: fixed;
  64. bottom: 0;
  65. width: 100%;
  66. height: 200rpx;
  67. padding: 10px;
  68. border-top: 1px solid #ddd;
  69. background-color: #fff;
  70. font-size: 14px;
  71. box-shadow: 0px -4rpx 4rpx 0px rgba(0,0,0,.05);
  72. }
  73. .connected_info .operation {
  74. position: absolute;
  75. display: inline-block;
  76. right: 30rpx;
  77. }
  78. .writeInputViewBg{
  79. position: fixed;
  80. top: 0;
  81. left: 0;
  82. right: 0;
  83. bottom: 0;
  84. z-index: 1000;
  85. background-color: rgba(0,0,0,0.5);
  86. }
  87. .writeInputView{
  88. position: fixed;
  89. bottom: 200rpx;
  90. left: 0;
  91. z-index: 1001;
  92. display: flex;
  93. flex-direction: column;
  94. align-items: center;
  95. width: 100%;
  96. height: calc(100vh - 500rpx);
  97. background-color: #fff;
  98. border-top: 1px solid #ddd;
  99. }
  100. .history{
  101. position: relative;
  102. flex: 1;
  103. width: 690rpx;
  104. padding-top: 60rpx;
  105. border: 1px solid #ddd;
  106. margin: 30rpx;
  107. }
  108. .history_title{
  109. position: absolute;
  110. top: 0;
  111. left: 0;
  112. padding: 0 30rpx;
  113. line-height: 60rpx;
  114. font-size: 30rpx;
  115. }
  116. .history_wrap{
  117. width: 100%;
  118. height: 100%;
  119. }
  120. .history_item{
  121. display: flex;
  122. align-items: center;
  123. justify-content: space-between;
  124. width: 100%;
  125. height: 72rpx;
  126. padding: 0 30rpx;
  127. border-top: 1px solid #ddd;
  128. }
  129. .history_cmd{
  130. flex: 1;
  131. overflow: hidden;
  132. text-overflow: ellipsis;
  133. white-space: nowrap;
  134. font-size: 24rpx;
  135. }
  136. .history_btns{
  137. height: 60rpx;
  138. overflow: hidden;
  139. }
  140. .writeInput{
  141. margin-top: 30rpx;
  142. width: 690rpx;
  143. height: 80rpx;
  144. border: 1rpx solid #ccc;
  145. }
  146. .writeInput input{
  147. width: 100%;
  148. height: 100%;
  149. padding: 10rpx;
  150. font-size: 32rpx;
  151. }
  152. .hint{
  153. padding-top: 10rpx;
  154. font-size: 24rpx;
  155. color: #999;
  156. }
  157. .btns{
  158. display: flex;
  159. align-items: center;
  160. justify-content: space-between;
  161. width: 60%;
  162. padding-bottom: 30rpx;
  163. margin-top: 30rpx;
  164. }