ElinkThings小程序蓝牙插件SDK集合:aifresh、ailink http://doc.elinkthings.com/web/#/36?page_id=127
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxss 2.7KB

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