addMattresses.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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 8s 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. .lysb-new-btn {
  78. font-size: 24rpx;
  79. padding: 4rpx 0;
  80. height: fit-content;
  81. color: #323233;
  82. border-radius: 30rpx;
  83. display: flex;
  84. flex-direction: row;
  85. align-items: center;
  86. justify-content: center;
  87. }
  88. .van-field__label {
  89. font-size: 28rpx !important;
  90. color: #3E3D44 !important;
  91. }
  92. .input-class {
  93. font-size: 28rpx !important;
  94. color: #3E3D44 !important;
  95. }
  96. .ly-icon {
  97. width: 24rpx;
  98. height: 24rpx;
  99. margin-right: 8rpx;
  100. }
  101. .commit-btn {
  102. margin: 80rpx 0;
  103. width: 630rpx;
  104. height: 84rpx;
  105. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  106. border-radius: 40rpx;
  107. color: #FFFFFF;
  108. font-size: 28rpx;
  109. text-align: center;
  110. line-height: 84rpx;
  111. }
  112. .bluetooth-view {
  113. width: 100%;
  114. height: 100%;
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. }
  119. .bluetoothList {
  120. flex: 1;
  121. width: 100%;
  122. display: flex;
  123. align-items: center;
  124. flex-direction: column;
  125. overflow-y: auto;
  126. }
  127. .sure-btn {
  128. margin: 20rpx 0;
  129. font-size: 32rpx;
  130. text-align: center;
  131. line-height: 80rpx;
  132. width: 670rpx;
  133. color: #FFFFFF;
  134. height: 80rpx;
  135. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  136. border-radius: 40rpx;
  137. }
  138. .bluetooth-item {
  139. width: 670rpx;
  140. height: 144rpx;
  141. margin-top: 40rpx;
  142. background: #FFFFFF;
  143. border-radius: 24rpx;
  144. display: flex;
  145. align-items: center;
  146. flex-direction: row;
  147. }
  148. .bluetooth-icon {
  149. margin-left: 30rpx;
  150. width: 48rpx;
  151. height: 48rpx;
  152. display: block;
  153. }
  154. .bluetooth-content {
  155. margin: 0 30rpx;
  156. display: flex;
  157. flex-direction: column;
  158. flex: 1;
  159. justify-content: space-evenly;
  160. height: 100rpx;
  161. }
  162. .bluetooth-title {
  163. color: #333333;
  164. font-size: 32rpx;
  165. display: -webkit-box;
  166. line-clamp: 1;
  167. -webkit-line-clamp: 1;
  168. -webkit-box-orient: vertical;
  169. overflow: hidden;
  170. text-overflow: ellipsis;
  171. word-break: break-all;
  172. line-break: anywhere;
  173. }
  174. .bluetooth-rssi {
  175. color: #888888;
  176. font-size: 24rpx;
  177. display: -webkit-box;
  178. line-clamp: 1;
  179. -webkit-line-clamp: 1;
  180. -webkit-box-orient: vertical;
  181. overflow: hidden;
  182. text-overflow: ellipsis;
  183. word-break: break-all;
  184. line-break: anywhere;
  185. }
  186. .bluetooth-radio {
  187. margin-right: 30rpx;
  188. width: 32rpx;
  189. height: 32rpx;
  190. display: block;
  191. }
  192. .bluetoothConnectedView {
  193. width: 630rpx;
  194. padding-top: 40rpx;
  195. display: flex;
  196. align-items: center;
  197. flex-direction: column;
  198. }
  199. .circle-view {
  200. display: flex;
  201. flex-direction: column;
  202. align-items: center;
  203. }
  204. .bluetooth-connected-icon {
  205. display: block;
  206. width: 280rpx;
  207. height: 280rpx;
  208. }
  209. .bluetooth-connected-yes {
  210. display: block;
  211. width: 28rpx;
  212. height: 28rpx;
  213. }
  214. .bluetoothConnected-tips {
  215. font-size: 32rpx;
  216. color: #333333;
  217. }
  218. .circle-content {
  219. display: flex;
  220. flex-direction: column;
  221. }
  222. .circle-text {
  223. font-weight: 700;
  224. font-size: 48rpx;
  225. color: #00CEB2;
  226. }
  227. .circle-loading {
  228. color: #3E3D44;
  229. font-size: 24rpx;
  230. }
  231. .loading-list {
  232. display: flex;
  233. flex-direction: column;
  234. width: calc(100% - 120rpx);
  235. }
  236. .loading-item {
  237. display: flex;
  238. margin-top: 26rpx;
  239. align-items: center;
  240. flex-direction: row;
  241. }
  242. .loading-title {
  243. margin-left: 20rpx;
  244. color: #3E3D44;
  245. font-size: 24rpx;
  246. }
  247. .bluetoothConnectedView-btn {
  248. margin: 40rpx 0;
  249. font-size: 32rpx;
  250. text-align: center;
  251. line-height: 76rpx;
  252. width: 510rpx;
  253. height: 76rpx;
  254. color: #FFFFFF;
  255. background: linear-gradient(315deg, #0ABCA4 0%, rgba(11, 195, 170, 0.8) 100%);
  256. border-radius: 40rpx;
  257. }