SldModal.less 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. @import '~antd/lib/style/themes/default.less';
  2. :global {
  3. .ant-form-item {
  4. margin-bottom: 6px !important;
  5. }
  6. .ant-modal-body {
  7. padding: 5px 10px 6px 10px;
  8. overflow: hidden;
  9. }
  10. .ant-form-item-control {
  11. line-height: 32px;
  12. }
  13. .ant-form-item-label {
  14. line-height: 32px;
  15. }
  16. .ant-modal-close-x .anticon svg {
  17. color: #fff !important;
  18. }
  19. .anticon-search svg {
  20. color: #fff !important;
  21. }
  22. }
  23. .sldPerminss {
  24. height: 400px;
  25. overflow-y: scroll;
  26. .sldGroup {
  27. font-weight: 600 !important;
  28. color: #262626 !important;
  29. }
  30. div {
  31. border-bottom: 1px solid #E9E9E9;
  32. }
  33. div:last-child {
  34. border-bottom: none;
  35. }
  36. :global {
  37. .ant-checkbox-wrapper {
  38. padding: 10px !important;
  39. }
  40. .ant-checkbox-group {
  41. display: block;
  42. }
  43. }
  44. }
  45. .standardTableSlo_don {
  46. :global {
  47. .ant-table-pagination {
  48. margin-top: 24px;
  49. }
  50. }
  51. .tableAlert {
  52. margin-bottom: 16px;
  53. }
  54. }
  55. .ant-table-tbody > .seleSingle {
  56. background: #FCF0E4 !important;
  57. }
  58. /* 装修页面样式-start */
  59. .diy_part_wrap {
  60. .transform_80 {
  61. -webkit-transform: scale(0.8, 0.8);
  62. -moz-transform: scale(0.8, 0.8);
  63. transform: scale(0.8, 0.8);
  64. -o-transform: scale(0.8, 0.8)
  65. }
  66. ;
  67. .transform_40 {
  68. -webkit-transform: scale(0.4, 0.4);
  69. -moz-transform: scale(0.4, 0.4);
  70. transform: scale(0.4, 0.4);
  71. -o-transform: scale(0.4, 0.4)
  72. }
  73. ;
  74. background: #F9F9F9;
  75. padding: 20px;
  76. overflow: hidden;
  77. display: flex;
  78. flex-direction: column;
  79. justify-content: flex-start;
  80. align-items: center;
  81. }
  82. .adv_01_wrap {
  83. width: 1200px;
  84. height: 150px;
  85. background: #EFEFEF;
  86. display: flex;
  87. flex-direction: row;
  88. justify-content: center;
  89. align-items: center;
  90. position: relative;
  91. }
  92. .flash_wrap {
  93. width: 768px;
  94. height: 183px;
  95. margin-bottom: 20px;
  96. }
  97. .sld_mask {
  98. position: absolute;
  99. z-index: 2;
  100. left: 0;
  101. right: 0;
  102. bottom: 0;
  103. top: 0;
  104. .edit {
  105. display: none;
  106. position: absolute;
  107. z-index: 1;
  108. top: 5px;
  109. right: 53px;
  110. font-size: 0.83rem;
  111. line-height: 16px;
  112. color: rgb(0, 0, 0);
  113. box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px;
  114. background: rgba(255, 255, 255, 0.8);
  115. border-radius: 2px;
  116. padding: 2px 8px;
  117. }
  118. .enable {
  119. display: none;
  120. position: absolute;
  121. z-index: 1;
  122. top: 5px;
  123. right: 101px;
  124. font-size: 0.83rem;
  125. line-height: 16px;
  126. color: rgb(0, 0, 0);
  127. box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px;
  128. background: rgba(255, 255, 255, 0.8);
  129. border-radius: 2px;
  130. padding: 2px 8px;
  131. }
  132. span, .del {
  133. display: none;
  134. position: absolute;
  135. z-index: 1;
  136. top: 5px;
  137. right: 5px;
  138. font-size: 0.83rem;
  139. line-height: 16px;
  140. color: rgb(0, 0, 0);
  141. box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px;
  142. background: rgba(255, 255, 255, 0.8);
  143. border-radius: 2px;
  144. padding: 2px 8px;
  145. }
  146. }
  147. .sld_mask:hover {
  148. background: rgba(0, 0, 0, 0.5);
  149. border: dotted 1px #FFF;
  150. cursor: pointer;
  151. span, .edit, .del, .enable {
  152. display: block;
  153. }
  154. }
  155. .modal_img {
  156. padding-left: 10px;
  157. display: flex;
  158. flex-direction: column;
  159. justify-content: center;
  160. align-items: flex-start;
  161. }
  162. .adv_01_img_thumb {
  163. min-height: 50px;
  164. background: #EFEFEF;
  165. display: flex;
  166. flex-direction: row;
  167. justify-content: center;
  168. align-items: center;
  169. }
  170. .adv_01_img {
  171. max-width: 100%;
  172. max-height: 100%;
  173. }
  174. .modal_tip_color {
  175. color: #136CD8;
  176. font-size: 12px;
  177. display: block;
  178. padding: 10px 0;
  179. }
  180. .table_left_con {
  181. font-weight: bold;
  182. color: #333;
  183. }
  184. .table_left_require {
  185. color: red;
  186. }
  187. .adv_02_part {
  188. width: 1200px;
  189. height: 344px;
  190. background: #fff;
  191. display: flex;
  192. flex-direction: row;
  193. justify-content: flex-start;
  194. align-items: center;
  195. }
  196. .adv_02_part .adv_02_left {
  197. width: 210px;
  198. height: 344px;
  199. background-image: url('../../assets/pc_diy_img/adv_floor_02_left.png');
  200. position: relative;
  201. cursor: pointer;
  202. display: flex;
  203. flex-direction: row;
  204. justify-content: center;
  205. align-items: center;
  206. }
  207. .adv_02_part .adv_02_left img {
  208. max-width: 100%;
  209. max-height: 100%;
  210. }
  211. .adv_02_part .adv_02_center {
  212. width: 736px;
  213. height: 344px;
  214. background-image: url('../../assets/pc_diy_img/adv_floor_02_goods.png');
  215. position: relative;
  216. }
  217. .adv_02_part .adv_02_center .split_h {
  218. position: absolute;
  219. width: 736px;
  220. height: 1px;
  221. background-color: #F0F2F3;
  222. top: 172px;
  223. left: 0;
  224. z-index: 2;
  225. }
  226. .adv_02_part .adv_02_center .split_v {
  227. position: absolute;
  228. width: 1px;
  229. height: 344px;
  230. background-color: #F0F2F3;
  231. left: 368px;
  232. top: 0;
  233. z-index: 2;
  234. }
  235. .adv_02_part .adv_02_right {
  236. width: 253px;
  237. height: 344px;
  238. display: flex;
  239. flex-direction: column;
  240. justify-content: center;
  241. align-items: flex-start;
  242. position: relative;
  243. background-image: url('../../assets/pc_diy_img/adv_floor_02_right.png');
  244. }
  245. .imgs_wrap {
  246. width: 100%;
  247. padding: 10px;
  248. border: 1px solid #e3e3e3;
  249. border-radius: 4px;
  250. display: flex;
  251. flex-direction: row;
  252. flex-wrap: wrap;
  253. justify-content: flex-start;
  254. align-items: flex-start;
  255. margin-bottom: 10px;
  256. }
  257. .adv_more_img_wrap {
  258. position: relative;
  259. padding: 10px;
  260. display: flex;
  261. flex-direction: row;
  262. justify-content: center;
  263. align-items: center;
  264. border: dashed 1px #EEE;
  265. margin-left: 10px;
  266. }
  267. .adv_more_img_wrap:hover, .seleImg {
  268. background-color: #FFF3DA;
  269. border-color: #FBCFAC;
  270. }
  271. .adv_more_img_wrap .del_img {
  272. display: inline-block;
  273. position: absolute;
  274. top: 0;
  275. right: 0;
  276. padding: 2px 5px;
  277. background: #FE9700;
  278. font-size: 12px;
  279. color: #fff;
  280. }
  281. .adv_02_right .right_img_item {
  282. width: 242px;
  283. height: 108px;
  284. display: flex;
  285. flex-direction: row;
  286. justify-content: center;
  287. align-items: center;
  288. margin-top: 6px;
  289. }
  290. .adv_02_right .right_img_item img {
  291. max-width: 100%;
  292. max-height: 100%;
  293. }
  294. .modal_goods_wrap {
  295. width: 175px;
  296. height: 80px;
  297. display: flex;
  298. flex-direction: row;
  299. justify-content: flex-start;
  300. align-items: center;
  301. margin: 0 10px 10px 0;
  302. background-color: #FFF;
  303. overflow: hidden;
  304. cursor: pointer;
  305. }
  306. .goods_img {
  307. width: 80px;
  308. height: 80px;
  309. display: flex;
  310. flex-direction: row;
  311. justify-content: center;
  312. align-items: center;
  313. }
  314. .modal_goods_wrap .goods_img img {
  315. max-width: 100%;
  316. max-height: 100%;
  317. }
  318. .modal_goods_wrap .goods_right {
  319. display: flex;
  320. flex: 1;
  321. flex-direction: column;
  322. justify-content: center;
  323. align-items: flex-start;
  324. padding: 5px;
  325. }
  326. .modal_goods_wrap .goods_name {
  327. color: #666;
  328. font-size: 12px;
  329. }
  330. .modal_goods_wrap .goods_price {
  331. color: #F23F40;
  332. font-size: 12px;
  333. }
  334. .adv_02_center .goods_item {
  335. width: 363px;
  336. height: 171px;
  337. padding: 6px;
  338. background: #fff;
  339. cursor: pointer;
  340. display: inline-block;
  341. }
  342. .clearfix {
  343. clear: both;
  344. overflow: hidden;
  345. }
  346. .adv_02_center .goods_item .left {
  347. float: left;
  348. width: 160px;
  349. height: 160px;
  350. display: table-cell;
  351. vertical-align: middle;
  352. text-align: center;
  353. }
  354. .adv_02_center .goods_item .left img {
  355. max-width: 140px;
  356. max-height: 140px;
  357. margin-top: 10px;
  358. }
  359. .adv_02_center .goods_item .right {
  360. float: right;
  361. width: 180px;
  362. }
  363. .adv_02_center .goods_item .right .goods_name {
  364. color: #333;
  365. font-size: 1rem;
  366. height: 2.6rem;
  367. line-height: 1.3rem;
  368. overflow: hidden;
  369. text-overflow: ellipsis;
  370. margin-bottom: 0;
  371. margin-top: 13px;
  372. word-break: break-all;
  373. }
  374. .adv_02_center .goods_item .right .buy_num {
  375. color: #666;
  376. font-size: 0.83rem;
  377. margin-top: 2px;
  378. margin-bottom: 10px;
  379. }
  380. .adv_02_center .goods_item .right .buy {
  381. padding: 4px 17px;
  382. background: #FF0036;
  383. font-size: 1rem;
  384. font-weight: bold;
  385. border-radius: 11px;
  386. color: #fff;
  387. }
  388. .adv_02_center .goods_item .right .price {
  389. margin-bottom: 10px;
  390. }
  391. .adv_02_center .goods_item .right .price span {
  392. color: #FF2443;
  393. }
  394. .adv_02_center .goods_item .right .price .unit {
  395. font-size: 0.83rem;
  396. }
  397. .adv_02_center .goods_item .right .price .integer {
  398. font-size: 1rem;
  399. font-weight: bold;
  400. }
  401. .adv_02_center .goods_item .right .price .decimal {
  402. font-size: 0.83rem;
  403. }
  404. .adv_02_center .goods_item .right .price .del {
  405. color: #999;
  406. font-size: 0.83rem;
  407. text-decoration: line-through;
  408. margin-left: 10px;
  409. }
  410. /* 装修页面样式-end */
  411. .show_color_wap {
  412. .show_color {
  413. display: inline-block;
  414. padding: 5px;
  415. width: 50px;
  416. height: 30px;
  417. border: 1px solid #eee;
  418. line-height: 0;
  419. margin-right: 10px;
  420. }
  421. span {
  422. display: inline-block;
  423. width: 100%;
  424. height: 100%;
  425. }
  426. }
  427. .color_picker_wrap {
  428. position: absolute;
  429. z-index: 2;
  430. .color_picker_mask {
  431. position: fixed;
  432. top: 0;
  433. right: 0;
  434. bottom: 0;
  435. left: 0;
  436. }
  437. }
  438. .sel_tag {
  439. display: inline-block;
  440. border: 1px solid rgb(221, 221, 221);
  441. padding: 0 25px;
  442. margin-right: 10px;
  443. margin-bottom: 5px;
  444. border-radius: 4px;
  445. position: relative;
  446. }
  447. .sel_tag .del {
  448. position: absolute;
  449. top: 0;
  450. right: 0;
  451. width: 25px;
  452. height: 24px;
  453. background-image: url('../../assets/del_icon.png')
  454. }
  455. .sel_tag .del:hover {
  456. background-image: url('../../assets/del_icon_hover.png')
  457. }
  458. .express_title {
  459. color: #333;
  460. font-size: 14px;
  461. margin-bottom: 25px;
  462. font-weight: 600;
  463. padding: 10px 10px 0 20px;
  464. .content {
  465. font-size: 12px;
  466. }
  467. }
  468. .empty_express {
  469. width: 100%;
  470. height: 200px;
  471. margin-bottom: 70px;
  472. img {
  473. width: 80px;
  474. }
  475. p {
  476. color: #333;
  477. font-size: 14px;
  478. margin-top: 17px;
  479. }
  480. }
  481. .label_diy_wrap {
  482. display: inline-block;
  483. .label_must {
  484. color: #f5222d;
  485. display: inline-block;
  486. margin-right: 4px;
  487. font-size: 14px;
  488. font-family: sans-serif;
  489. }
  490. }