common.scss 8.0 KB

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