css.less 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. .border() {
  2. border: 1px solid rgba(238, 238, 238, 1);
  3. }
  4. .icon(@width,@height,@bg){
  5. width: @width;
  6. height: @height;
  7. background: url(@bg) no-repeat;
  8. background-size: contain;
  9. display: inline-block;
  10. }
  11. .line-block(@top:0,@left:0,@bg:rgba(38,150,92,1)) {
  12. position: absolute;
  13. display: block;
  14. top: @top;
  15. left: @left;
  16. content: '';
  17. width: 2px;
  18. height: 12px;
  19. background: @bg;
  20. }
  21. .container-box-block {
  22. margin-bottom: 20px;
  23. }
  24. .tow-container-box {
  25. display: flex;
  26. margin: 20px;
  27. .left-box, .right-box {
  28. width: 800px;
  29. margin: 0 12px;
  30. }
  31. }
  32. .color-orange{
  33. color:rgba(255,79,0,1);
  34. }
  35. .icon-danhao{
  36. .icon(15px,17px,'../c_image/icon_ordernum@2x.png')
  37. }
  38. .icon-danhao{
  39. .icon(15px,17px,'../c_image/icon_shop@2x.png')
  40. }
  41. .card-box {
  42. .border();
  43. .card-box-title {
  44. background: rgba(246, 246, 246, 1);
  45. padding: 11px 15px;
  46. position: relative;
  47. font-size: 14px;
  48. font-family: PingFangSC-Medium, PingFang SC;
  49. font-weight: 500;
  50. color: rgba(38, 150, 92, 1);
  51. &:after {
  52. .line-block(15px, 8px)
  53. }
  54. }
  55. .card-box-container {
  56. padding: 12px 12px 0 12px;
  57. &.fuse-box-container {
  58. padding: 0;
  59. .table-box {
  60. margin: -1px;
  61. }
  62. }
  63. .card-box-container-text {
  64. .card-box-container-text-item-wrapper {
  65. margin-bottom: 10px;
  66. display: flex;
  67. .card-box-container-text-item {
  68. font-size: 12px;
  69. font-family: PingFangSC-Regular, PingFang SC;
  70. font-weight: 400;
  71. color: rgba(102, 102, 102, 1);
  72. display: flex;
  73. min-width: 260px;
  74. > span {
  75. font-size: 12px;
  76. font-family: PingFangSC-Medium, PingFang SC;
  77. font-weight: 500;
  78. color: rgba(85, 85, 85, 1);
  79. min-width: 61px;
  80. display: block;
  81. }
  82. > a {
  83. font-size: 12px;
  84. font-family: PingFangSC-Regular, PingFang SC;
  85. font-weight: 400;
  86. color: rgba(1, 170, 237, 1);
  87. text-decoration: underline;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. }
  94. .progress-bar-box {
  95. padding: 10px;
  96. .progress-bar-box-wrapper {
  97. border-left: 2px solid #EEEEEE;
  98. padding-left: 10px;
  99. .progress-bar-box-item {
  100. position: relative;
  101. padding-bottom: 20px;
  102. &:first-child:before {
  103. position: absolute;
  104. content: '';
  105. top: 0px;
  106. left: -16px;
  107. width: 10px;
  108. height: 10px;
  109. background-color: #fff;
  110. border-radius: 50%;
  111. }
  112. &:after {
  113. position: absolute;
  114. content: '';
  115. top: 5px;
  116. left: -16px;
  117. width: 10px;
  118. height: 10px;
  119. background: rgba(221, 221, 221, 1);
  120. border-radius: 50%;
  121. }
  122. .progress-bar-box-item-title {
  123. font-size: 14px;
  124. font-family: PingFangSC-Regular, PingFang SC;
  125. font-weight: 400;
  126. color: rgba(102, 102, 102, 1);
  127. }
  128. .progress-bar-box-item-message {
  129. font-size: 14px;
  130. font-family: PingFangSC-Regular, PingFang SC;
  131. font-weight: 400;
  132. color: rgba(51, 51, 51, 1);
  133. }
  134. }
  135. }
  136. }
  137. .select-box {
  138. border: 1px solid rgba(238, 238, 238, 1);
  139. font-size: 13px;
  140. font-family: PingFangSC-Regular, PingFang SC;
  141. font-weight: 400;
  142. color: rgba(102, 102, 102, 1);
  143. }
  144. .table-box {
  145. &.deepen-thead {
  146. thead {
  147. background: rgba(246, 246, 246, 1);
  148. th {
  149. border: 1px solid rgba(246, 246, 246, 1);
  150. }
  151. }
  152. }
  153. table {
  154. width: 100%;
  155. border-collapse: collapse;
  156. th, td {
  157. padding: 12px;
  158. border: 1px solid rgba(238, 238, 238, 1);
  159. }
  160. thead {
  161. th {
  162. text-align: center;
  163. font-size: 13px;
  164. font-family: PingFangSC-Regular, PingFang SC;
  165. font-weight: 400;
  166. color: rgba(51, 51, 51, 1);
  167. }
  168. }
  169. tbody {
  170. td {
  171. padding-left: 17px;
  172. font-size: 13px;
  173. font-family: PingFangSC-Regular, PingFang SC;
  174. font-weight: 400;
  175. color: rgba(102, 102, 102, 1);
  176. }
  177. }
  178. }
  179. }
  180. .btn-box{
  181. &.primary-btn{
  182. background:rgba(38,150,92,1);
  183. border-radius:3px;
  184. font-size:12px;
  185. font-family:PingFangSC-Regular,PingFang SC;
  186. font-weight:400;
  187. color:rgba(255,255,255,1);
  188. padding: 5px 10px;
  189. text-align: center;
  190. }
  191. }
  192. .tab-box {
  193. width: 100%;
  194. overflow-y: auto;
  195. .border();
  196. .tab-box-title {
  197. background: rgba(238, 238, 238, 1);
  198. border-bottom: 1px solid rgba(231, 231, 231, 1);
  199. display: flex;
  200. .tab-box-title-item {
  201. padding: 10px 20px;
  202. font-size: 14px;
  203. font-family: PingFangSC-Regular, PingFang SC;
  204. font-weight: 400;
  205. color: rgba(0, 0, 0, 1);
  206. cursor: pointer;
  207. &.checked {
  208. background-color: #fff;
  209. }
  210. }
  211. }
  212. .tab-box-container {
  213. padding: 15px;
  214. }
  215. }
  216. .ml10{
  217. margin-left:10px ;
  218. }
  219. .mr10{
  220. margin-right:10px ;
  221. }
  222. .count-input{
  223. display: flex;
  224. .count-input-btn{
  225. width:24px;
  226. height:24px;
  227. background:rgba(246,246,246,1);
  228. border-radius:2px 0px 0px 2px;
  229. border:1px solid rgba(238,238,238,1);
  230. display: flex;
  231. justify-content: center;
  232. align-items: center;
  233. margin: 0 -1px;
  234. cursor: pointer;
  235. }
  236. &.count-input-disabled{
  237. >input{
  238. color: #999999;
  239. background:rgba(246,246,246,1);
  240. }
  241. .count-input-btn{
  242. color: #999999;
  243. }
  244. }
  245. >input{
  246. width:38px;
  247. height:24px;
  248. background:rgba(255,255,255,1);
  249. border:1px solid rgba(221,221,221,1);
  250. text-align: center;
  251. }
  252. }
  253. .dialog{
  254. padding: 10px;
  255. .dialog-form{
  256. .form-rate{
  257. .layui-rate{
  258. padding: 0;
  259. }
  260. .layui-inline{
  261. color: #F03B3B;
  262. font-size:12px;
  263. font-family:PingFangSC-Regular,PingFang SC;
  264. font-weight:400;
  265. }
  266. }
  267. .form-evaluate{
  268. display: flex;
  269. >div{
  270. width: 40px;
  271. font-size:12px;
  272. font-family:PingFangSC-Regular,PingFang SC;
  273. font-weight:400;
  274. color:rgba(102,102,102,1);
  275. position: relative;
  276. padding-left: 20px;
  277. &.good{
  278. &.checked{
  279. color:rgba(240,59,59,1);
  280. &:before{
  281. position: absolute;
  282. top: 0;
  283. left: 0;
  284. width: 16px;
  285. height: 16px;
  286. background: url("../c_image/好评@2x.png") no-repeat;
  287. content: '';
  288. background-size: contain;
  289. }
  290. }
  291. &:before{
  292. position: absolute;
  293. top: 0;
  294. left: 0;
  295. width: 16px;
  296. height: 16px;
  297. background: url("../c_image/icon_good_def@2x.png") no-repeat;
  298. content: '';
  299. background-size: contain;
  300. }
  301. }
  302. &.middle{
  303. &.checked{
  304. color:#FCBD29;
  305. &:before{
  306. position: absolute;
  307. top: 0;
  308. left: 0;
  309. width: 16px;
  310. height: 16px;
  311. background: url("../c_image/icon_normal_pre@2x.png") no-repeat;
  312. content: '';
  313. background-size: contain;
  314. }
  315. }
  316. &:before{
  317. position: absolute;
  318. top: 0;
  319. left: 0;
  320. width: 16px;
  321. height: 16px;
  322. background: url("../c_image/icon_normal_def@2x.png") no-repeat;
  323. content: '';
  324. background-size: contain;
  325. }
  326. }
  327. &.bad{
  328. &.checked{
  329. color:#44A7F8;
  330. &:before{
  331. position: absolute;
  332. top: 0;
  333. left: 0;
  334. width: 16px;
  335. height: 16px;
  336. background: url("../c_image/icon_bad_pre@2x.png") no-repeat;
  337. content: '';
  338. background-size: contain;
  339. }
  340. }
  341. &:before{
  342. position: absolute;
  343. top: 0;
  344. left: 0;
  345. width: 16px;
  346. height: 16px;
  347. background: url("../c_image/icon_bad_def@2x.png") no-repeat;
  348. content: '';
  349. background-size: contain;
  350. }
  351. }
  352. }
  353. }
  354. .dialog-form-item{
  355. padding: 5px;
  356. display: flex;
  357. align-items: baseline;
  358. .dialog-form-item-title{
  359. font-size:12px;
  360. font-family:PingFangSC-Regular,PingFang SC;
  361. font-weight:400;
  362. color:rgba(51,51,51,1);
  363. width: 60px;
  364. }
  365. }
  366. }
  367. }