addMattresses.wxss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /* subpages/addMattresses/addMattresses.wxss */
  2. page {
  3. background-color: #F8F9FA;
  4. }
  5. .container {
  6. height: 100%;
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. justify-content: flex-start;
  11. }
  12. .notice-view {
  13. width: 690rpx;
  14. height: 56rpx;
  15. background: #DDF1EF;
  16. margin-top: 20rpx;
  17. border-radius: 16rpx;
  18. display: flex;
  19. flex-direction: row;
  20. align-items: center;
  21. justify-content: flex-start;
  22. }
  23. .notice-icon {
  24. width: 36rpx;
  25. height: 36rpx;
  26. margin-left: 20rpx;
  27. display: block;
  28. }
  29. .marquee-container {
  30. flex: 1;
  31. margin-left: 20rpx;
  32. margin-right: 20rpx;
  33. /* 容器宽度 */
  34. overflow: hidden;
  35. /* 内容超出时隐藏 */
  36. }
  37. .marquee-text {
  38. font-size: 22rpx;
  39. white-space: nowrap;
  40. color: #0BC3AA;
  41. line-height: 56rpx;
  42. /* 内容不换行 */
  43. display: inline-block;
  44. }
  45. .marquee-text-animation {
  46. animation: marquee 5s linear infinite;
  47. /* 滚动动画,时间可根据需要调整 */
  48. }
  49. @keyframes marquee {
  50. 0% {
  51. transform: translateX(100%);
  52. }
  53. 100% {
  54. transform: translateX(-100%);
  55. }
  56. }
  57. .w-card {
  58. margin-top: 20rpx;
  59. width: 690rpx;
  60. background: #FFFFFF;
  61. border-radius: 16rpx;
  62. display: flex;
  63. flex-direction: column;
  64. }
  65. .lysb-btn {
  66. font-size: 24rpx;
  67. padding: 4rpx 16rpx;
  68. height: fit-content;
  69. color: #0BC3AA;
  70. border: 2rpx solid #0BC3AA;
  71. border-radius: 30rpx;
  72. display: flex;
  73. flex-direction: row;
  74. align-items: center;
  75. justify-content: center;
  76. }
  77. .van-field__label {
  78. font-size: 28rpx !important;
  79. color: #3E3D44 !important;
  80. }
  81. .input-class {
  82. font-size: 28rpx !important;
  83. color: #3E3D44 !important;
  84. }
  85. .ly-icon {
  86. width: 24rpx;
  87. height: 24rpx;
  88. margin-right: 8rpx;
  89. }
  90. .commit-btn {
  91. margin: 80rpx 0;
  92. width: 630rpx;
  93. height: 84rpx;
  94. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  95. border-radius: 40rpx;
  96. color: #FFFFFF;
  97. font-size: 28rpx;
  98. text-align: center;
  99. line-height: 84rpx;
  100. }
  101. .bluetooth-view {
  102. width: 100%;
  103. height: 100%;
  104. display: flex;
  105. flex-direction: column;
  106. align-items: center;
  107. }
  108. .bluetoothList {
  109. flex: 1;
  110. width: 100%;
  111. display: flex;
  112. align-items: center;
  113. flex-direction: column;
  114. overflow-y: auto;
  115. }
  116. .sure-btn {
  117. margin: 20rpx 0;
  118. font-size: 32rpx;
  119. text-align: center;
  120. line-height: 80rpx;
  121. width: 670rpx;
  122. color: #FFFFFF;
  123. height: 80rpx;
  124. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  125. border-radius: 40rpx;
  126. }
  127. .bluetooth-item {
  128. width: 670rpx;
  129. height: 144rpx;
  130. margin-top: 40rpx;
  131. background: #FFFFFF;
  132. border-radius: 24rpx;
  133. display: flex;
  134. align-items: center;
  135. flex-direction: row;
  136. }
  137. .bluetooth-icon {
  138. margin-left: 30rpx;
  139. width: 48rpx;
  140. height: 48rpx;
  141. display: block;
  142. }
  143. .bluetooth-content {
  144. margin: 0 30rpx;
  145. display: flex;
  146. flex-direction: column;
  147. flex: 1;
  148. justify-content: space-evenly;
  149. height: 100rpx;
  150. }
  151. .bluetooth-title {
  152. color: #333333;
  153. font-size: 32rpx;
  154. display: -webkit-box;
  155. line-clamp: 1;
  156. -webkit-line-clamp: 1;
  157. -webkit-box-orient: vertical;
  158. overflow: hidden;
  159. text-overflow: ellipsis;
  160. word-break: break-all;
  161. line-break: anywhere;
  162. }
  163. .bluetooth-rssi {
  164. color: #888888;
  165. font-size: 24rpx;
  166. display: -webkit-box;
  167. line-clamp: 1;
  168. -webkit-line-clamp: 1;
  169. -webkit-box-orient: vertical;
  170. overflow: hidden;
  171. text-overflow: ellipsis;
  172. word-break: break-all;
  173. line-break: anywhere;
  174. }
  175. .bluetooth-radio {
  176. margin-right: 30rpx;
  177. width: 32rpx;
  178. height: 32rpx;
  179. display: block;
  180. }
  181. .bluetoothConnectedView {
  182. width: 630rpx;
  183. padding-top: 40rpx;
  184. display: flex;
  185. align-items: center;
  186. flex-direction: column;
  187. }
  188. .circle-view {
  189. display: flex;
  190. flex-direction: column;
  191. align-items: center;
  192. }
  193. .bluetooth-connected-icon {
  194. display: block;
  195. width: 280rpx;
  196. height: 280rpx;
  197. }
  198. .bluetooth-connected-yes {
  199. display: block;
  200. width: 28rpx;
  201. height: 28rpx;
  202. }
  203. .bluetoothConnected-tips {
  204. font-size: 32rpx;
  205. color: #333333;
  206. }
  207. .circle-content {
  208. display: flex;
  209. flex-direction: column;
  210. }
  211. .circle-text {
  212. font-weight: 700;
  213. font-size: 48rpx;
  214. color: #00CEB2;
  215. }
  216. .circle-loading {
  217. color: #3E3D44;
  218. font-size: 24rpx;
  219. }
  220. .loading-list {
  221. display: flex;
  222. flex-direction: column;
  223. width: calc(100% - 120rpx);
  224. }
  225. .loading-item {
  226. display: flex;
  227. margin-top: 26rpx;
  228. align-items: center;
  229. flex-direction: row;
  230. }
  231. .loading-title {
  232. margin-left: 20rpx;
  233. color: #3E3D44;
  234. font-size: 24rpx;
  235. }
  236. .bluetoothConnectedView-btn {
  237. margin: 40rpx 0;
  238. font-size: 32rpx;
  239. text-align: center;
  240. line-height: 76rpx;
  241. width: 510rpx;
  242. height: 76rpx;
  243. color: #FFFFFF;
  244. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  245. border-radius: 40rpx;
  246. }