index.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. @import '~antd/lib/style/themes/default.less';
  2. @import '../../../src/themeColor.less';
  3. .center_item {
  4. width: 375px;
  5. margin: 0 auto;
  6. border: dashed 1px transparent;
  7. overflow: hidden;
  8. position: relative;
  9. .operate_wrap {
  10. position: absolute;
  11. right: 3px;
  12. bottom: 3px;
  13. a {
  14. display: none;
  15. width: 35px;
  16. height: 35px;
  17. line-height: 35px;
  18. border-radius: 50%;
  19. background: #fff;
  20. text-align: center;
  21. box-shadow: 1px 1px 3px #999;
  22. border: 1px solid #ddd;
  23. margin-left: 4px;
  24. }
  25. }
  26. }
  27. .center_item:hover, .selected {
  28. border: dashed 1px #458FEB;
  29. a {
  30. display: inline-block !important;
  31. }
  32. }
  33. .lunbo_wrap {
  34. width: 320px;
  35. height: 150px;
  36. background: #eee !important;
  37. margin: 0 auto;
  38. .tip {
  39. color: #777;
  40. font-size: 12px;
  41. }
  42. }
  43. .fzx {
  44. margin: 20px 0;
  45. hr {
  46. border-top: 1px solid #bbb;
  47. margin-top: 0 !important;
  48. margin-bottom: 0 !important;
  49. color: #fff;
  50. }
  51. }
  52. .r_edit_wrap {
  53. padding: 0 20px 20px 20px;
  54. :global {
  55. .ant-form {
  56. padding-top: 0 !important;
  57. }
  58. .ant-form label {
  59. font-size: 12px !important;
  60. color: #666;
  61. }
  62. }
  63. .color_picker_wrap {
  64. position: absolute;
  65. z-index: 2;
  66. .color_picker_mask {
  67. position: fixed;
  68. top: 0;
  69. right: 0;
  70. bottom: 0;
  71. left: 0;
  72. }
  73. }
  74. .fzx_color_show {
  75. .show_color {
  76. display: inline-block;
  77. padding: 5px;
  78. width: 50px;
  79. height: 30px;
  80. border: 1px solid #eee;
  81. line-height: 0;
  82. margin-right: 10px;
  83. cursor: pointer;
  84. }
  85. span {
  86. display: inline-block;
  87. width: 100%;
  88. height: 100%;
  89. }
  90. }
  91. .sub_part {
  92. border-bottom: 1px solid #eee;
  93. .subtitle {
  94. color: #343434;
  95. font-size: 14px;
  96. line-height: 40px;
  97. }
  98. }
  99. .selected_svideo {
  100. width: 100%;
  101. border: 1px solid rgba(238, 238, 238, 1);
  102. border-radius: 3px;
  103. .add_svideo_wrap {
  104. background: #F8F8F8;
  105. width: 100%;
  106. height: 70px;
  107. font-size: 12px;
  108. .required {
  109. color: #FC1C1C;
  110. margin-left: 17px;
  111. }
  112. .title {
  113. color: #333;
  114. }
  115. .tip {
  116. color: #9A9A9A;
  117. }
  118. .add_svideo_btn {
  119. display: inline-block;
  120. width: 80px;
  121. height: 30px;
  122. background: @theme-color;
  123. border-radius: 3px;
  124. line-height: 30px;
  125. text-align: center;
  126. color: #fff;
  127. margin: 0 10px;
  128. }
  129. }
  130. .selected_svideo_list_title {
  131. border: 1px solid rgba(238, 238, 238, 1);
  132. width: 100%;
  133. height: 32px;
  134. span {
  135. display: inline-block;
  136. text-align: center;
  137. color: #333;
  138. font-size: 12px;
  139. line-height: 32px;
  140. }
  141. }
  142. .selected_svideo_list {
  143. .selected_svideo_item {
  144. width: 358px;
  145. height: 60px;
  146. position: relative;
  147. span {
  148. text-align: center;
  149. flex-shrink: 0;
  150. color: #2d2d2d;
  151. }
  152. .svideo_info {
  153. overflow: hidden;
  154. width: 176px;
  155. height: 60px;
  156. flex-shrink: 0;
  157. .left {
  158. width: 50px;
  159. height: 50px;
  160. border-radius: 3px;
  161. position: relative;
  162. overflow: hidden;
  163. flex-shrink: 0;
  164. img {
  165. max-width: 100%;
  166. max-height: 100%;
  167. }
  168. .play_icon {
  169. position: absolute;
  170. z-index: 2;
  171. width: 16px;
  172. height: 16px;
  173. top: 50%;
  174. left: 50%;
  175. margin-left: -8px;
  176. margin-top: -8px;
  177. }
  178. }
  179. .right {
  180. width: 126px;
  181. padding-left: 5px;
  182. color: #2d2d2d;
  183. .video_name {
  184. line-height: 16px;
  185. height: 32px;
  186. width: 100%;
  187. margin-top: 2px;
  188. overflow: hidden;
  189. text-overflow: ellipsis;
  190. display: -webkit-box;
  191. -webkit-line-clamp: 2;
  192. /*! autoprefixer: off */
  193. -webkit-box-orient: vertical;
  194. word-break: break-word;
  195. text-align: left;
  196. font-size: 12px;
  197. }
  198. .video_label {
  199. display: inline-block;
  200. color: #666;
  201. line-height: 14px;
  202. height: 14px;
  203. overflow: hidden;
  204. text-overflow: ellipsis;
  205. width: 86%;
  206. white-space: nowrap;
  207. margin-top: 6px;
  208. text-align: left;
  209. }
  210. }
  211. }
  212. .operate {
  213. width: 50px;
  214. height: 60px;
  215. text-align: center;
  216. flex-shrink: 0;
  217. cursor: pointer;
  218. }
  219. .operate svg:hover {
  220. fill: #77B9FE !important;
  221. }
  222. }
  223. .selected_svideo_item:after {
  224. position: absolute;
  225. left: 14px;
  226. right: 14px;
  227. content: ' ';
  228. height: 1px;
  229. bottom: 0;
  230. z-index: 2;
  231. background: #EEE;
  232. }
  233. .selected_svideo_item:last-child:after {
  234. height: 0 !important;
  235. }
  236. }
  237. }
  238. }
  239. .modal_tip_color {
  240. color: #136CD8;
  241. font-size: 12px;
  242. display: block;
  243. padding: 10px 0;
  244. line-height: 15px;
  245. }
  246. .upload_img_tip {
  247. color: #bbb;
  248. font-size: 12px;
  249. line-height: 12px;
  250. }
  251. .dape_img {
  252. .upload_img {
  253. width: 100px;
  254. height: 100px;
  255. background: #EFEFEF;
  256. position: relative;
  257. margin-bottom: 10px;
  258. img {
  259. max-height: 100%;
  260. max-width: 100%;
  261. }
  262. .img_mask {
  263. display: none;
  264. position: absolute;
  265. top: 0;
  266. right: 0;
  267. bottom: 0;
  268. left: 0;
  269. z-index: 2;
  270. background: rgba(0, 0, 0, 0.5);
  271. .img_del {
  272. position: absolute;
  273. top: 0;
  274. right: 4px;
  275. }
  276. }
  277. }
  278. .upload_img:hover {
  279. .img_mask {
  280. display: inline-block !important;
  281. }
  282. }
  283. }
  284. .add_goods_wrap {
  285. width: 100%;
  286. height: 30px;
  287. background: rgba(255, 255, 255, 1);
  288. border: 1px solid rgba(238, 238, 238, 1);
  289. border-radius: 3px;
  290. margin-top: 20px;
  291. color: #343434;
  292. cursor: pointer;
  293. }
  294. .sel_goods {
  295. margin-top: 10px;
  296. .goods_info {
  297. width: 80px;
  298. height: 80px;
  299. position: relative;
  300. margin-right: 10px;
  301. margin-bottom: 10px;
  302. border: 1px solid #eee;
  303. flex-wrap: wrap;
  304. img {
  305. max-width: 100%;
  306. max-height: 100%;
  307. }
  308. .img_mask {
  309. display: none;
  310. position: absolute;
  311. top: 0;
  312. right: 0;
  313. bottom: 0;
  314. left: 0;
  315. z-index: 2;
  316. background: rgba(0, 0, 0, 0.5);
  317. .img_del {
  318. position: absolute;
  319. top: 0;
  320. right: 4px;
  321. }
  322. }
  323. }
  324. .goods_info:hover .img_mask {
  325. display: inline-block !important;
  326. }
  327. }
  328. .sld_com_img {
  329. border: 1px solid #eee;
  330. margin-top: 10px;
  331. position: relative;
  332. background: #f8f8f8;
  333. padding: 10px 0;
  334. .common_img_part {
  335. .upload_img_tip {
  336. margin-top: -20px;
  337. transform: scale(0.9);
  338. margin-bottom: 21px;
  339. }
  340. .upload_img {
  341. position: relative;
  342. margin: 22px 0 22px 22px;
  343. border-right: 1px solid #eeee;
  344. padding-right: 22px;
  345. img {
  346. max-height: 48px;
  347. max-width: 48px;
  348. cursor: pointer;
  349. }
  350. .upload_btn {
  351. line-height: 12px;
  352. text-align: center;
  353. color: #666;
  354. font-size: 12px;
  355. cursor: pointer;
  356. white-space: nowrap;
  357. margin-top: 5px;
  358. }
  359. }
  360. .upload_img:hover {
  361. .img_mask {
  362. display: inline-block !important;
  363. }
  364. }
  365. }
  366. .img_con {
  367. margin-left: 15px;
  368. margin-right: 15px;
  369. .title {
  370. width: 232px;
  371. margin-bottom: 8px;
  372. }
  373. .bg_color_current {
  374. border-color: #429DFD !important;
  375. cursor: pointer;
  376. }
  377. }
  378. .del_sld_com_img {
  379. margin-left: 20px;
  380. position: absolute;
  381. right: -8px;
  382. top: -8px;
  383. cursor: pointer;
  384. }
  385. }
  386. .more_link_input {
  387. width: 232px;
  388. margin-top: 8px;
  389. }
  390. .com_default_styles {
  391. margin: 10px;
  392. flex-wrap: wrap;
  393. .item {
  394. width: 50px;
  395. height: 40px;
  396. margin-right: 10px;
  397. img {
  398. max-width: 100%;
  399. max-height: 100%;
  400. }
  401. }
  402. .svideo_show_style_item {
  403. width: 112px;
  404. height: 112px;
  405. padding: 6px;
  406. border: 1px solid #fff;
  407. img {
  408. max-width: 100%;
  409. max-height: 100%;
  410. }
  411. }
  412. .notice_show_style_item {
  413. width: 376px;
  414. height: 43px;
  415. padding: 6px;
  416. border: 1px solid #fff;
  417. cursor: pointer;
  418. img {
  419. max-width: 100%;
  420. max-height: 100%;
  421. }
  422. }
  423. .notice_show_style_item:last-child{
  424. margin-top: 10px;
  425. }
  426. .svideo_show_style_item.sel_svideo_show_style,.notice_show_style_item.sel_svideo_show_style {
  427. border: 1px solid rgba(66, 158, 253, 1);
  428. }
  429. }
  430. .tupianzuhe_img_type {
  431. .sel_item_type {
  432. position: relative;
  433. }
  434. .sel_item_type:before {
  435. content: '';
  436. display: block;
  437. width: 16px;
  438. height: 16px;
  439. position: absolute;
  440. bottom: 0;
  441. right: 0;
  442. background: #4b0;
  443. border-top-left-radius: 100%;
  444. cursor: pointer;
  445. }
  446. }
  447. .selected_color_tip {
  448. font-size: 13px;
  449. color: #343434;
  450. }
  451. .clear_color {
  452. display: inline-block;
  453. border: 1px solid rgba(0, 0, 0, .05);
  454. width: 30px;
  455. height: 30px;
  456. position: relative;
  457. }
  458. .clear_color::before {
  459. content: "";
  460. position: absolute;
  461. left: 0;
  462. top: 0;
  463. width: 100%;
  464. height: 15px;
  465. box-sizing: border-box;
  466. border-bottom: 0.5px solid #FF0000;
  467. transform-origin: bottom center;
  468. transform: rotateZ(-45deg) scale(1.414);
  469. }
  470. .selected_color {
  471. display: inline-block;
  472. border: 1px solid rgba(0, 0, 0, .05);
  473. width: 30px;
  474. height: 30px;
  475. background: #fff;
  476. margin-left: 15px;
  477. }
  478. .selected_more_tab {
  479. width: 100%;
  480. border: 1px solid rgba(238, 238, 238, 1);
  481. border-radius: 3px;
  482. margin-bottom: 10px;
  483. position: relative;
  484. .del_sld_more_tab_item {
  485. margin-left: 20px;
  486. position: absolute;
  487. right: -8px;
  488. top: -8px;
  489. z-index: 2;
  490. }
  491. .add_svideo_wrap {
  492. background: #F8F8F8;
  493. width: 100%;
  494. font-size: 12px;
  495. .required {
  496. color: #F10D3B;
  497. margin-left: 17px;
  498. }
  499. .title {
  500. color: #333;
  501. }
  502. .tip {
  503. color: #9A9A9A;
  504. }
  505. .add_svideo_btn {
  506. display: inline-block;
  507. width: 80px;
  508. height: 30px;
  509. background: @theme-color;
  510. border-radius: 3px;
  511. line-height: 30px;
  512. text-align: center;
  513. color: #fff;
  514. margin: 0 10px;
  515. }
  516. }
  517. .cart_icon_wrap {
  518. padding: 5px;
  519. border: 1px solid rgba(0, 0, 0, .05);
  520. line-height: 0;
  521. margin-right: 10px;
  522. border-radius: 3px;
  523. cursor: pointer;
  524. }
  525. .cart_icon_wrap.current {
  526. border-color: @theme-color !important;
  527. }
  528. .selected_svideo_list_title {
  529. border: 1px solid rgba(238, 238, 238, 1);
  530. width: 100%;
  531. height: 32px;
  532. span {
  533. display: inline-block;
  534. text-align: center;
  535. color: #333;
  536. font-size: 12px;
  537. line-height: 32px;
  538. }
  539. }
  540. .selected_svideo_list {
  541. .selected_svideo_item {
  542. width: 358px;
  543. height: 60px;
  544. position: relative;
  545. span {
  546. text-align: center;
  547. flex-shrink: 0;
  548. color: #2d2d2d;
  549. font-size: 12px;
  550. }
  551. .svideo_info {
  552. overflow: hidden;
  553. width: 176px;
  554. height: 60px;
  555. flex-shrink: 0;
  556. .left {
  557. width: 50px;
  558. height: 50px;
  559. border-radius: 3px;
  560. position: relative;
  561. overflow: hidden;
  562. flex-shrink: 0;
  563. img {
  564. max-width: 100%;
  565. max-height: 100%;
  566. }
  567. .play_icon {
  568. position: absolute;
  569. z-index: 2;
  570. width: 16px;
  571. height: 16px;
  572. top: 50%;
  573. left: 50%;
  574. margin-left: -8px;
  575. margin-top: -8px;
  576. }
  577. }
  578. .right {
  579. width: 126px;
  580. padding-left: 5px;
  581. color: #2d2d2d;
  582. .video_name {
  583. line-height: 16px;
  584. height: 32px;
  585. width: 100%;
  586. margin-top: 2px;
  587. overflow: hidden;
  588. text-overflow: ellipsis;
  589. display: -webkit-box;
  590. -webkit-line-clamp: 2;
  591. /*! autoprefixer: off */
  592. -webkit-box-orient: vertical;
  593. word-break: break-word;
  594. text-align: left;
  595. font-size: 12px;
  596. }
  597. .video_label {
  598. display: inline-block;
  599. color: #666;
  600. line-height: 14px;
  601. height: 14px;
  602. overflow: hidden;
  603. text-overflow: ellipsis;
  604. width: 86%;
  605. white-space: nowrap;
  606. margin-top: 6px;
  607. text-align: left;
  608. }
  609. }
  610. }
  611. .operate {
  612. width: 50px;
  613. height: 60px;
  614. text-align: center;
  615. flex-shrink: 0;
  616. cursor: pointer;
  617. }
  618. .operate svg:hover {
  619. fill: #77B9FE !important;
  620. }
  621. }
  622. .selected_svideo_item:after {
  623. position: absolute;
  624. left: 14px;
  625. right: 14px;
  626. content: ' ';
  627. height: 1px;
  628. bottom: 0;
  629. z-index: 2;
  630. background: #EEE;
  631. }
  632. .selected_svideo_item:last-child:after {
  633. height: 0 !important;
  634. }
  635. }
  636. }
  637. .add_cart_icon_special {
  638. padding: 20px 0;
  639. border-top: 1px dashed #eee;
  640. }
  641. .add_data_special {
  642. border-top: 1px dashed #eee;
  643. }
  644. .tjsp {
  645. .add_svideo_wrap {
  646. width: 100%;
  647. height: 55px;
  648. font-size: 12px;
  649. .add_svideo_btn {
  650. display: inline-block;
  651. width: 80px;
  652. height: 30px;
  653. background: @theme-color;
  654. border-radius: 3px;
  655. line-height: 30px;
  656. text-align: center;
  657. color: #fff;
  658. margin: 0 10px;
  659. }
  660. }
  661. .cart_icon_wrap {
  662. padding: 5px;
  663. border: 1px solid rgba(0, 0, 0, .05);
  664. line-height: 0;
  665. margin-right: 10px;
  666. border-radius: 3px;
  667. cursor: pointer;
  668. }
  669. .cart_icon_wrap.current {
  670. border-color: @theme-color !important;
  671. }
  672. }