app.wxss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. /**app.wxss**/
  2. @import '/utils/iconfont.wxss';
  3. /* @import '@vant/weapp/common/index.wxss'; */
  4. @import '/miniprogram_npm/@vant/weapp/common/index.wxss';
  5. page {
  6. --theme-color:#3764FF;/* 主题颜色 */
  7. --theme-primary-color: #3254FD; /* 主题次颜色 */
  8. --secondary-color: #666; /* 辅助颜色 */
  9. --main-font-size: 32rpx;/* 主要文本大小 */
  10. --large-font-size: 36rpx;/* 大文本大小 */
  11. --normal-font-size: 28rpx;/* 小文本大小 */
  12. --samll-font-size: 24rpx;/* 小文本大小 */
  13. --main-font-color: #14284A;
  14. --secondary-font-color:#6E7695;
  15. --other-font-color:#646566;
  16. --nav-bar-icon-color: rgba(0,0,0,0.9);
  17. --main-bg-color: #F6F7F9;/* 背景颜色 */
  18. --normal-bg-color: #FFFFFF;
  19. --spacing-unit: 20rpx; /* 间距单位 */
  20. --border-color: #F1F1F1; /* 边框颜色 */
  21. --main-border-radius: 16rpx; /* 圆角大小 */
  22. --box-shadow:rgba(156,166,202,0.3);/* 阴影颜色 */
  23. --main-width700:700rpx;
  24. --main-width600: 600rpx;
  25. --default-color:#20A0E3;
  26. --primary-color:#26CA83;
  27. --warning-color:#FF9237;
  28. --danger-color:#FF6160;
  29. --other-color:#999999;
  30. --default-bg-color:rgba(78,187,245,0.08);
  31. --primary-bg-color:rgba(38,202,131,0.1);
  32. --warning-bg-color:rgba(255,146,55,0.08);
  33. --danger-bg-color:rgba(255,97,96,0.1);
  34. --other-bg-color:rgba(238,238,238,1);
  35. }
  36. .container {
  37. min-height: 100vh;
  38. box-sizing: border-box;
  39. background: #F6F7F9;
  40. }
  41. .paddingBottom120{
  42. padding-bottom: calc(50px + env(safe-area-inset-bottom));
  43. }
  44. .height20{
  45. height: 20rpx;
  46. }
  47. .queueNumber {
  48. display: inline-block;
  49. color: #07c160;
  50. font-weight: bold;
  51. padding-left: 30rpx;
  52. }
  53. /* 状态标签设置 */
  54. .status{
  55. float: right;
  56. display: inline-block;
  57. padding: 0 18rpx;
  58. font-size: 24rpx;
  59. color: var(--default-color);
  60. background-color: var(--default-bg-color);
  61. }
  62. .status1,.status7,.orderStatus2,.carStatus1,.orderType2{
  63. color: var(--primary-color) !important;
  64. background-color: var(--primary-bg-color) !important;
  65. }
  66. .status2,.status8,.orderStatus3{
  67. color: var(--warning-color) !important;
  68. background-color: var(--warning-bg-color) !important;
  69. }
  70. .status3,.status9,.orderStatus6,.carStatus2{
  71. color: var(--danger-color) !important;
  72. background-color: var(--danger-bg-color) !important;
  73. }
  74. .status10,.status14,.orderStatus7{
  75. color: var(--other-color) !important;
  76. background-color: var(--other-bg-color) !important;
  77. }
  78. .status4,.status5,.status11,.orderStatus5{
  79. color: rgb(45, 85, 255,1) !important;
  80. background-color: rgb(45, 85, 255, 0.1) !important;
  81. }
  82. .status6,.status12{
  83. color: rgb(165, 55, 253,1) !important;
  84. background-color: rgb(165, 55, 253, 0.1) !important;
  85. }
  86. .status13,.orderStatus4{
  87. color: rgb(20, 205, 200,1) !important;
  88. background-color: rgb(20, 205, 200, 0.1) !important;
  89. }
  90. .status15{
  91. color: rgb(207, 47, 116, 1) !important;
  92. background-color: rgb(207, 47, 116, 0.1) !important;
  93. }
  94. /* 搜索框 */
  95. .topSeach {
  96. display: flex;
  97. background-color: #fff;
  98. padding-right: 12px;
  99. }
  100. .topSeach .rightBox {
  101. flex: 1;
  102. }
  103. .topSeach .left {
  104. padding: 20rpx 0 20rpx 20rpx;
  105. }
  106. .topSeach .left view {
  107. width: 120rpx;
  108. height: 100%;
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. font-size: 28rpx;
  113. border: 1px solid #eee;
  114. color: #333;
  115. white-space: nowrap;
  116. border-radius: 20rpx;
  117. }
  118. .topSeach .iconfont-arrow3-right_fill{
  119. position: absolute;
  120. top: 26rpx;
  121. right: 10rpx;
  122. z-index: 99;
  123. }
  124. .topSeacherPicker {
  125. width: 130rpx;
  126. height: 64rpx;
  127. line-height: 64rpx;
  128. padding: 0 24rpx;
  129. font-size: 24rpx;
  130. text-align: center;
  131. border-radius: 44rpx 0px 0px 44rpx;
  132. border: 2rpx solid rgba(0, 0, 0, 0.15);
  133. }
  134. /* 车牌颜色 */
  135. .licensePlate{
  136. display: inline-block;
  137. margin-left: 12rpx;
  138. width: 36rpx;
  139. min-width: 36rpx;
  140. height: 36rpx;
  141. line-height: 36rpx;
  142. font-size: 24rpx;
  143. text-align: center;
  144. font-weight: normal;
  145. border-radius: 4rpx 4rpx 4rpx 4rpx;
  146. }
  147. .yellow_licensePlate{
  148. color: #FAAD14;
  149. background: rgba(250,173,20,0.1);
  150. }
  151. .blue_licensePlate{
  152. color: #375EDF;
  153. background: rgba(55,94,223,0.1);
  154. }
  155. .green_licensePlate{
  156. color: #52C41A;
  157. background: rgba(82,196,26,0.1);
  158. }
  159. .white_licensePlate{
  160. color: #FAAD14;
  161. background: rgba(250,173,20,0.1);
  162. }
  163. .other_licensePlate{
  164. color: #FAAD14;
  165. background: rgba(250,173,20,0.1);
  166. white-space: nowrap;
  167. }
  168. /* 底部加载动画和提示 */
  169. .more {
  170. text-align: center;
  171. padding: 20rpx 0;
  172. color: #666;
  173. font-size: 28rpx;
  174. }
  175. /* 提交按钮 */
  176. .submitBtn {
  177. width: 520rpx;
  178. margin: 0rpx auto;
  179. }
  180. /* 图片上传时高度自适应 */
  181. .checkbox {
  182. height: auto;
  183. }
  184. .checkboxView .van-cell__value,
  185. .checkbox .van-field__control--custom {
  186. height: auto;
  187. }
  188. /* 右下角新增按钮 */
  189. .addBtn {
  190. width: 60px;
  191. height: 60px;
  192. line-height: 60px;
  193. position: fixed;
  194. right: 72rpx;
  195. bottom: 160rpx;
  196. background: linear-gradient(217deg, #27B5FF 0%, #317DFF 100%);
  197. box-shadow: 0rpx 8rpx 16rpx 2rpx rgba(49, 125, 255, 0.16);
  198. color: #fff;
  199. text-align: center;
  200. border-radius: 50%;
  201. z-index: 2;
  202. display: flex;
  203. align-items: center;
  204. justify-content: center;
  205. }
  206. /* 提交按钮 */
  207. .fixedBtn {
  208. position: fixed;
  209. width: 100%;
  210. left: 0;
  211. bottom: 0;
  212. background-color: #fff;
  213. padding: 20rpx 30rpx calc(20rpx + env(safe-area-inset-bottom)) 30rpx;
  214. box-shadow: -1px -1px 10rpx #eee;
  215. box-sizing: border-box;
  216. }
  217. /* 预约列表样式S */
  218. .listItem {
  219. margin: 20rpx auto;
  220. padding: 30rpx 28rpx;
  221. box-sizing: border-box;
  222. background: #fff;
  223. box-shadow: 0rpx 6rpx 12rpx 2rpx rgba(221, 224, 228, 0.1);
  224. border-radius: 16rpx 16rpx 16rpx 16rpx;
  225. }
  226. .listItem .title {
  227. line-height: 50rpx;
  228. font-size: 36rpx;
  229. color: #333333;
  230. }
  231. .listItem .van-icon__image {
  232. vertical-align: middle;
  233. margin-top: -6rpx;
  234. }
  235. .listItem .title text{
  236. margin-left: 10rpx;
  237. }
  238. .listItem .info{
  239. color: #999;
  240. font-size: 20rpx;
  241. margin-top: 12rpx;
  242. white-space:break-spaces;
  243. }
  244. .listItem .info text{
  245. margin-right: 20rpx;
  246. font-size: 24rpx;
  247. }
  248. .listItem .time {
  249. margin-top: 12rpx;
  250. }
  251. .listItem .time text:first-child {
  252. font-size: 24rpx;
  253. color: #999999;
  254. }
  255. .listItem .time .state {
  256. float: right;
  257. }
  258. .listItem .bottomBtn{
  259. margin-top: 16rpx;
  260. padding-top: 20rpx;
  261. text-align: right;
  262. border-top: 1rpx solid rgba(0,0,0,0.08);
  263. }
  264. .listItem .bottomBtn button {
  265. margin-left: 0 !important;
  266. }
  267. /* 表单根据内容自动调整高度 */
  268. .radioHeight .radioHeightBx {
  269. width: 100%;
  270. }
  271. radio-group {
  272. text-align: right;
  273. }
  274. .fieldAutoHeight .van-field__body,.fieldAutoHeight .van-field__control {
  275. height: auto !important;
  276. text-align: left;
  277. line-height: 30px;
  278. }
  279. /* 图片上传时高度自适应 */
  280. .uploadBox {
  281. height: auto;
  282. }
  283. .uploadboxView .van-cell__value,
  284. .uploadBox .van-field__control--custom {
  285. height: auto;
  286. }