common.scss 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. .flex-space-between{
  2. display: flex;
  3. justify-content: space-between;
  4. }
  5. .border-bottom{
  6. border-bottom: 1px solid #D8D8D8;
  7. }
  8. //OrderList组件
  9. .type-order-2{
  10. background-color: $uni-color-warning-opacity;
  11. color: $uni-color-warning;
  12. border: 1px solid $uni-color-warning;
  13. }
  14. .type-order-31{
  15. background-color: $uni-color-primary-opacity;
  16. color: $uni-color-primary;
  17. border: 1px solid $uni-color-primary;
  18. }
  19. .type-order-99{
  20. background-color: $uni-color-success-opacity;
  21. color: $uni-color-success;
  22. border: 1px solid $uni-color-success;
  23. }
  24. .type-order-0{
  25. background-color: $uni-color-error-opacity;
  26. color: $uni-color-error;
  27. border: 1px solid $uni-color-error;
  28. }
  29. // CellTip组件
  30. .cell-tip-right {
  31. position: absolute;
  32. top: 0;
  33. right: 20rpx;
  34. bottom: 0;
  35. display: flex;
  36. align-items: center;
  37. color: $uni-text-color-grey;
  38. .span{
  39. margin-right: 20rpx;
  40. }
  41. }
  42. //nav-
  43. .nav-icon-caozuo {
  44. position: absolute;
  45. right: 20rpx;
  46. font-size: 54rpx !important;
  47. color: $uni-text-color;
  48. }
  49. //OrderDeatil 组件 more
  50. .order-detail-more,.cell-list-more{
  51. position: absolute;
  52. top: 0;
  53. bottom: 0;
  54. right: 8rpx;
  55. display: flex;
  56. align-items: center;
  57. }
  58. .cell-list-more{
  59. uni-icons{
  60. position: relative;
  61. top: 3rpx;
  62. }
  63. }
  64. .font-color{
  65. color: $uni-text-color;
  66. }
  67. .font-grey{
  68. color: $uni-text-color-grey;
  69. }
  70. //span-btn
  71. .btn-span{
  72. margin: auto;
  73. height: 48rpx;
  74. padding: 5rpx 10rpx;
  75. color: #FFFFFF;
  76. background-color: $uni-color-success;
  77. border-radius: 14rpx;
  78. }
  79. //nav-right-btn
  80. .btn-right{
  81. position: absolute;
  82. right: 20rpx;
  83. height: 70rpx;
  84. line-height: 70rpx;
  85. border-radius: 10rpx;
  86. padding:0 27rpx;
  87. font-size: 30rpx;
  88. color: $uni-color-success;
  89. background-color: $uni-color-success-opacity;
  90. }
  91. //按钮
  92. .btn {
  93. padding: 5rpx 20rpx;
  94. margin-left: 20rpx;
  95. border-radius: 10rpx;
  96. }
  97. .btn-warning {
  98. background-color: $uni-color-warning-opacity;
  99. color: $uni-color-warning;
  100. border: 1px solid $uni-color-warning;
  101. }
  102. .btn-primary {
  103. background-color: $uni-color-primary-opacity;
  104. color: $uni-color-primary;
  105. border: 1px solid $uni-color-primary;
  106. }
  107. .btn-success{
  108. background-color: $uni-color-success-opacity;
  109. color: $uni-color-success;
  110. border: 1px solid $uni-color-success;
  111. }
  112. //列表状态栏高度
  113. .tab-title__placeholder{
  114. height: $tab-height;
  115. }
  116. // 页面提交按钮
  117. // 页面提交按钮-内间距
  118. .page-bottom-padding{
  119. padding-bottom: 160rpx;
  120. }
  121. .footer-btn{
  122. position: fixed;
  123. bottom: 0;
  124. width: 100%;
  125. display: flex;
  126. height: 90rpx;
  127. line-height: 90rpx;
  128. color: #FFFFFF;
  129. font-size: $uni-font-size-base;
  130. background-color: $j-primary-green;
  131. .btns{
  132. flex: 1;
  133. text-align: center;
  134. }
  135. .btns-first:after{
  136. content: '';
  137. position: absolute;
  138. right: 50%;
  139. width: 1px;
  140. height: 90rpx;
  141. background-color: #FFFFFF;
  142. }
  143. }
  144. .btn-submit{
  145. width: 380rpx;
  146. height: 90rpx;
  147. line-height: 90rpx;
  148. position: fixed;
  149. margin: auto;
  150. left: 0;
  151. right: 0;
  152. bottom: 40rpx;
  153. text-align: center;
  154. color: #FFFFFF;
  155. background-color: $uni-color-success !important;
  156. border-color:$uni-color-success;
  157. border-radius: 50rpx;
  158. }
  159. .list-none{
  160. padding: 20rpx 0;
  161. text-align: center;
  162. color: $uni-text-color-grey;
  163. font-size: $uni-font-size-sm;
  164. }
  165. .uni-navbar__header-btns-right{
  166. overflow: visible !important;
  167. }
  168. // uni-checkbox
  169. uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  170. background-color: $uni-color-success !important;
  171. border: 1px solid #d1d1d1;
  172. }
  173. uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
  174. border: 1px solid #d1d1d1;
  175. }
  176. // uni-checkbox .uni-checkbox-input {
  177. // border-radius: 50% !important;
  178. // }
  179. uni-checkbox .uni-checkbox-input {
  180. width: 28rpx !important;
  181. height: 28rpx !important;
  182. }
  183. uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
  184. font-size: 32rpx !important;
  185. color: #FFFFFF;
  186. }
  187. // uni-radio
  188. uni-radio .uni-radio-input.uni-radio-input-checked{
  189. background-color: $uni-color-success !important;
  190. }
  191. uni-radio:not([disabled]) .uni-radio-input:hover {
  192. border-color: #fff;
  193. }
  194. uni-radio[disabled] .uni-radio-input{
  195. background-color: #e1e1e1;
  196. }
  197. uni-radio .uni-radio-input {
  198. width: 28rpx !important;
  199. height: 28rpx !important;
  200. }
  201. textarea{
  202. padding: 20rpx;
  203. max-height: 160rpx;
  204. color: $uni-text-color;
  205. font-size: $uni-font-size-base;
  206. }
  207. uni-toast{
  208. z-index: 99998;
  209. }
  210. uni-toast .uni-sample-toast{
  211. z-index: 99999;
  212. }
  213. .text-primary{
  214. color: $j-primary-green !important;
  215. }
  216. .text-primary-deep{
  217. color: $j-primary-border-green !important;
  218. }
  219. .text-danger{
  220. color: $uni-color-error !important;
  221. }
  222. .text-warning{
  223. color: $uni-color-warning !important;
  224. }
  225. .text-normal{
  226. color: #027DB4 !important;
  227. }
  228. .text-success{
  229. color: $uni-color-success !important;
  230. }
  231. .tree-cover{
  232. z-index: 99999 !important;
  233. }
  234. .tree-dialog{
  235. z-index: 99999 !important;
  236. .uni-flex-item{
  237. flex: 1;
  238. display: flex !important;
  239. .item-name{
  240. display: flex;
  241. align-items: center;
  242. }
  243. }
  244. }
  245. .u-form-item.form-required .u-form-item__body__left__content__label::before{
  246. content: "*";
  247. color: $uni-color-error;
  248. }
  249. .w100{
  250. width: 100% !important;
  251. }
  252. /* 布局-横向 */
  253. /* c:center,s:start,e:end,a:around,b:between,w:wrap */
  254. .rx {
  255. display: flex;
  256. }
  257. .rx-c {
  258. display: flex;
  259. align-items: center;
  260. }
  261. .rx-cc {
  262. display: flex;
  263. flex-flow: row nowrap;
  264. justify-content: center;
  265. align-items: center;
  266. }
  267. .rx-sc {
  268. display: flex;
  269. flex-flow: row nowrap;
  270. justify-content: flex-start;
  271. align-items: center;
  272. }
  273. .rx-ss {
  274. display: flex;
  275. flex-flow: row nowrap;
  276. justify-content: flex-start;
  277. align-items: flex-start;
  278. }
  279. .rx-warp {
  280. display: flex;
  281. flex-flow: row nowrap;
  282. justify-content: flex-start;
  283. align-items: flex-start;
  284. flex-wrap: wrap;
  285. }
  286. .rx-se {
  287. display: flex;
  288. flex-flow: row nowrap;
  289. justify-content: flex-start;
  290. align-items: flex-end;
  291. }
  292. .rx-dir-start {
  293. display: flex;
  294. flex-direction: column;
  295. align-items: flex-start;
  296. }
  297. .rx-ec {
  298. display: flex;
  299. flex-flow: row nowrap;
  300. justify-content: flex-end;
  301. align-items: center;
  302. }
  303. .rx-es {
  304. display: flex;
  305. flex-flow: row nowrap;
  306. justify-content: flex-end;
  307. align-items: flex-start;
  308. }
  309. .rx-ee {
  310. display: flex;
  311. flex-flow: row nowrap;
  312. justify-content: flex-end;
  313. align-items: flex-end;
  314. }
  315. .rx-ac {
  316. display: flex;
  317. flex-flow: row nowrap;
  318. justify-content: space-around;
  319. align-items: center;
  320. }
  321. .rx-bc {
  322. display: flex;
  323. flex-flow: row nowrap;
  324. justify-content: space-between;
  325. align-items: center;
  326. }
  327. .rx-bs {
  328. display: flex;
  329. flex-flow: row nowrap;
  330. justify-content: space-between;
  331. align-items: flex-start;
  332. }
  333. .rx-be {
  334. display: flex;
  335. flex-flow: row nowrap;
  336. justify-content: space-between;
  337. align-items: flex-end;
  338. }
  339. .rx-vc {
  340. display: flex;
  341. flex-flow: row nowrap;
  342. justify-content: space-evenly;
  343. align-items: center;
  344. }
  345. .rx-cs {
  346. display: flex;
  347. flex-flow: row nowrap;
  348. justify-content: center;
  349. align-items: flex-start;
  350. }
  351. .rx-wsc {
  352. display: flex;
  353. flex-flow: row wrap;
  354. justify-content: flex-start;
  355. align-items: center;
  356. }
  357. .rx-wss {
  358. display: flex;
  359. flex-flow: row wrap;
  360. justify-content: flex-start;
  361. align-content: flex-start;
  362. }
  363. .rx-wbs {
  364. display: flex;
  365. flex-flow: row wrap;
  366. justify-content: space-between;
  367. align-content: flex-start;
  368. }
  369. /* 布局-纵向 */
  370. .cx {
  371. display: flex;
  372. flex-flow: column nowrap;
  373. }
  374. .cx-cc {
  375. display: flex;
  376. flex-flow: column nowrap;
  377. justify-content: center;
  378. align-items: center;
  379. }
  380. .cx-ce {
  381. display: flex;
  382. flex-flow: column nowrap;
  383. justify-content: center;
  384. align-items: flex-end;
  385. }
  386. .cx-sc {
  387. display: flex;
  388. flex-flow: column nowrap;
  389. justify-content: flex-start;
  390. align-items: center;
  391. }
  392. .cx-cs {
  393. display: flex;
  394. flex-flow: column nowrap;
  395. justify-content: center;
  396. align-items: flex-start;
  397. }
  398. .cx-rc {
  399. display: flex;
  400. flex-flow: column-reverse nowrap;
  401. justify-content: center;
  402. align-items: center;
  403. }