app.wxss 6.6 KB

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