design-agent.scss 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273
  1. .acss-1mnncja {
  2. display: flex;
  3. justify-content: center;
  4. align-items: center;
  5. .ant-image {
  6. position: relative;
  7. width: 100%;
  8. height: 100%;
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. img {
  13. display: block;
  14. width: 100%;
  15. height: 100%;
  16. object-fit: contain;
  17. }
  18. }
  19. }
  20. .arrow-icon {
  21. display: inline-flex;
  22. align-items: center;
  23. color: inherit;
  24. font-style: normal;
  25. line-height: 0;
  26. text-align: center;
  27. text-transform: none;
  28. vertical-align: -0.125em;
  29. text-rendering: optimizeLegibility;
  30. -webkit-font-smoothing: antialiased;
  31. -moz-osx-font-smoothing: grayscale;
  32. animation-duration: 0.8s;
  33. animation-timing-function: linear;
  34. animation-iteration-count: infinite;
  35. transform: scale(0.75);
  36. &.arrow-first {
  37. animation-name: colorChangeFirst;
  38. }
  39. &.arrow-second {
  40. animation-name: colorChangeSecond;
  41. margin-left: -15px !important;
  42. }
  43. svg {
  44. display: inline-block;
  45. }
  46. }
  47. .design-agent-block {
  48. height: 100%;
  49. * {
  50. margin: 0;
  51. list-style: none;
  52. }
  53. .index-block {
  54. padding: 24px;
  55. width: 100%;
  56. .index-hdeader-block {
  57. margin-bottom: 24px;
  58. h1 {
  59. font-size: 30px;
  60. line-height: 36px;
  61. color: rgb(80, 60, 55);
  62. }
  63. p {
  64. display: flex;
  65. gap: 4px;
  66. line-height: 24px;
  67. font-size: 16px;
  68. color: rgb(154, 120, 110);
  69. align-items: center;
  70. padding: 0;
  71. margin: 0;
  72. margin-top: 4px;
  73. svg {
  74. width: 16px;
  75. height: 16px;
  76. flex: 0 0 16px;
  77. }
  78. }
  79. }
  80. .flex-grow {
  81. max-width: 95rem;
  82. margin: 0 auto;
  83. }
  84. .flex-grow-top {
  85. display: flex;
  86. gap: 32px;
  87. margin-bottom: 48px;
  88. .dialog-compose-mode,
  89. .tool-direct-mode {
  90. border: 2px solid;
  91. transition-duration: 300ms;
  92. border-color: #E1D6D0;
  93. background-color: rgba(154, 120, 110, 0.05);
  94. border-radius: 8px;
  95. padding: 3rem 24px;
  96. flex: 1;
  97. &:hover {
  98. box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  99. }
  100. }
  101. .dialog-compose-mode {
  102. cursor: pointer;
  103. }
  104. .flex-grow-top_icon {
  105. display: flex;
  106. align-items: center;
  107. justify-content: center;
  108. background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
  109. border-radius: 16px;
  110. width: 64px;
  111. height: 64px;
  112. margin: 0 auto;
  113. margin-bottom: 16px;
  114. svg {
  115. width: 32px;
  116. height: 32px;
  117. stroke: #fff;
  118. stroke-width: 2px;
  119. }
  120. }
  121. .flex-grow-top_title {
  122. font-size: 24px;
  123. line-height: 32px;
  124. text-align: center;
  125. margin-top: 6px;
  126. color: rgb(80, 60, 55);
  127. font-weight: bold;
  128. margin-bottom: 16px;
  129. }
  130. .flex-grow-top_desc {
  131. color: rgb(154, 120, 110);
  132. text-align: center;
  133. font-size: 16px;
  134. line-height: 24px;
  135. margin-bottom: 24px;
  136. }
  137. .dialog-btns {
  138. display: flex;
  139. justify-content: center;
  140. }
  141. .dialog-btns-a {
  142. background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
  143. font-size: 14px;
  144. line-height: 20px;
  145. padding: 8px 16px;
  146. border-radius: 6px;
  147. color: #fff;
  148. &:hover {
  149. box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  150. }
  151. }
  152. .tool-direction {
  153. font-size: 14px;
  154. line-height: 20px;
  155. color: rgb(154, 120, 110);
  156. text-align: center;
  157. }
  158. }
  159. .flex-grow-bottom {
  160. display: flex;
  161. justify-content: center;
  162. align-items: center;
  163. flex-direction: column;
  164. gap: 24px;
  165. .tool-direct__title {
  166. font-size: 1.875rem;
  167. color: rgb(51, 51, 51);
  168. span {
  169. background: linear-gradient(107deg, rgb(255, 72, 97) 1%, rgb(255, 72, 97) 1%, rgb(150, 59, 255) 99%) text;
  170. -webkit-text-fill-color: transparent;
  171. }
  172. }
  173. .feature-mod-content {
  174. margin: 0px auto;
  175. height: 26.6875rem;
  176. width: 90rem;
  177. display: flex;
  178. -webkit-box-align: center;
  179. align-items: center;
  180. -webkit-box-pack: justify;
  181. justify-content: space-between;
  182. flex-direction: column;
  183. .feature-mod-content-main {
  184. height: 12.5rem;
  185. width: 100%;
  186. display: grid;
  187. grid-template-columns: repeat(3, 1fr);
  188. grid-template-rows: repeat(1, 1fr);
  189. gap: 0.75rem;
  190. }
  191. .feature-mod-content-main-item-wrapper {
  192. display: flex;
  193. justify-content: center;
  194. align-items: center;
  195. height: 100%;
  196. overflow: hidden;
  197. border-radius: 8px;
  198. border: 1px solid rgba(153, 153, 153, 0.08);
  199. box-sizing: border-box;
  200. padding: 20px 24px 20px 28px;
  201. position: relative;
  202. cursor: pointer;
  203. &.theme-pink {
  204. background: linear-gradient(116deg, rgb(255, 242, 244) 3%, rgb(248, 243, 255) 98%);
  205. .feature-mod-content-main-item-left-title-arrow {
  206. color: rgb(155, 62, 248);
  207. }
  208. }
  209. &.theme-blue {
  210. background: linear-gradient(116deg, rgb(240, 249, 252) 2%, rgb(238, 237, 255) 98%);
  211. .feature-mod-content-main-item-left-title-arrow {
  212. color: rgb(92, 131, 238);
  213. }
  214. .feature-mod-content-main-item-left-imgs-img img {
  215. border: 1px solid #fff;
  216. }
  217. }
  218. &.theme-yellow {
  219. background: linear-gradient(116deg, rgb(253, 250, 236) 2%, rgb(255, 238, 217) 98%);
  220. .feature-mod-content-main-item-left-title-arrow {
  221. color: rgb(238, 140, 9);
  222. }
  223. .feature-mod-content-main-item-left-imgs-img img {
  224. border: 1px solid #fff;
  225. }
  226. }
  227. &::after {
  228. background-image: url('https://img.alicdn.com/imgextra/i1/O1CN011NMFSk1SlUrKFlWpV_!!6000000002287-2-tps-1176-600.png');
  229. content: "";
  230. position: absolute;
  231. left: 0px;
  232. top: 0px;
  233. width: 100%;
  234. height: 100%;
  235. background-size: contain;
  236. background-repeat: no-repeat;
  237. background-position: center center;
  238. }
  239. .feature-mod-content-main-item {
  240. display: flex;
  241. z-index: 1;
  242. height: 100%;
  243. width: 100%;
  244. .feature-mod-content-main-item-left-arrow {
  245. width: 69px;
  246. height: 55px;
  247. position: absolute;
  248. right: -6px;
  249. z-index: 11;
  250. bottom: 0px;
  251. }
  252. &.left-imgs-count-1 .feature-mod-content-main-item-left-imgs {
  253. margin-top: 23px;
  254. .feature-mod-content-main-item-left-imgs-img {
  255. margin-left: -1.5rem;
  256. margin-top: -1.25rem;
  257. height: 8rem;
  258. width: 13.5625rem;
  259. }
  260. }
  261. &.left-imgs-count-3 .feature-mod-content-main-item-left-imgs {
  262. margin-top: 24px;
  263. width: 172px;
  264. height: 71px;
  265. display: flex;
  266. flex-direction: row-reverse;
  267. transform: translateX(-4px);
  268. .feature-mod-content-main-item-left-imgs-img {
  269. z-index: 2;
  270. &:nth-child(1) {
  271. transform: rotate(16deg) translate(-4px, 10px);
  272. }
  273. &:nth-child(2) {
  274. transform: rotate(0deg);
  275. }
  276. &:nth-child(3) {
  277. transform: rotate(-16deg) translate(4px, 10px);
  278. }
  279. }
  280. }
  281. &.left-imgs-count-4 .feature-mod-content-main-item-left-imgs {
  282. margin-top: 18px;
  283. width: 172px;
  284. height: 86px;
  285. display: flex;
  286. flex-direction: row;
  287. transform: translateX(-4px);
  288. .feature-mod-content-main-item-left-imgs-img {
  289. z-index: 2;
  290. img {
  291. width: 56px;
  292. height: 69px;
  293. }
  294. &:nth-child(1) {
  295. transform: rotate(-20.3deg) translate(8px, 8px);
  296. }
  297. &:nth-child(2) {
  298. transform: rotate(-4.7deg) translate(-4px, -4px);
  299. }
  300. &:nth-child(3) {
  301. transform: rotate(8.5deg) translate(-20px, -1px);
  302. }
  303. &:nth-child(4) {
  304. transform: rotate(23.5deg) translate(-38px, 22px);
  305. }
  306. }
  307. }
  308. }
  309. .feature-mod-content-main-item-left {
  310. display: flex;
  311. flex-direction: column;
  312. align-items: stretch;
  313. height: 100%;
  314. width: 244px;
  315. position: relative;
  316. }
  317. .feature-mod-content-main-item-left-title {
  318. font-size: 20px;
  319. font-weight: 500;
  320. line-height: 26px;
  321. height: 26px;
  322. letter-spacing: normal;
  323. background: linear-gradient(105deg, rgb(255, 128, 145) 0%, rgb(150, 59, 255) 99%) text;
  324. text-align: left;
  325. width: fit-content;
  326. }
  327. .feature-mod-content-main-item-left-title-arrow {
  328. font-weight: bold;
  329. display: none;
  330. }
  331. .feature-mod-content-main-item-left-desc {
  332. margin-top: 4px;
  333. font-size: 16px;
  334. font-weight: normal;
  335. line-height: 24px;
  336. letter-spacing: normal;
  337. color: rgba(0, 0, 0, 0.35);
  338. }
  339. .feature-mod-content-main-item-left-imgs {
  340. .feature-mod-content-main-item-left-imgs-img {
  341. transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  342. }
  343. }
  344. .feature-mod-content-main-item-right {
  345. display: flex;
  346. flex: 1 1 0%;
  347. height: 100%;
  348. justify-content: flex-end;
  349. .feature-mod-content-main-item-right-video {
  350. display: flex;
  351. background-color: rgb(255, 255, 255);
  352. border-radius: 8px;
  353. overflow: hidden;
  354. border: 2px solid rgb(255, 255, 255);
  355. width: 117px !important;
  356. height: 160px !important;
  357. video {
  358. object-fit: cover;
  359. }
  360. .video-event-mask {
  361. position: absolute;
  362. inset: 0px;
  363. width: 100%;
  364. height: 100%;
  365. z-index: 2;
  366. }
  367. }
  368. .feature-mod-content-main-item-right-imgs-img {
  369. transition: transform 0.3s;
  370. background-color: rgb(255, 255, 255);
  371. border-radius: 8px;
  372. overflow: hidden;
  373. border: 2px solid rgb(255, 255, 255);
  374. img {
  375. object-fit: cover;
  376. }
  377. &:nth-child(2) {
  378. right: 51px;
  379. bottom: 42px;
  380. z-index: 2;
  381. }
  382. }
  383. .feature-mod-content-main-item-right-imgs.count-2 .feature-mod-content-main-item-right-imgs-img {
  384. width: 100px;
  385. height: 134px;
  386. box-shadow: rgba(43, 20, 111, 0.02) 0px 0.25rem 1.25rem 0px;
  387. position: absolute;
  388. &:nth-child(1) {
  389. right: 24px;
  390. bottom: 24px;
  391. }
  392. &:nth-child(2) {
  393. right: 51px;
  394. bottom: 42px;
  395. z-index: 2;
  396. }
  397. }
  398. .feature-mod-content-main-item-right-imgs.count-1 .feature-mod-content-main-item-right-imgs-img {
  399. width: 124px;
  400. height: 160px;
  401. box-shadow: rgba(43, 20, 111, 0.05) 0px 4px 20px 0px;
  402. }
  403. }
  404. }
  405. .feature-mod-content-main-item-wrapper:hover {
  406. .feature-mod-content-main-item-left-title-arrow {
  407. display: inline-block;
  408. }
  409. .feature-mod-content-main-item.left-imgs-count-1 .feature-mod-content-main-item-left-imgs {
  410. transform: translateY(-3px);
  411. }
  412. .feature-mod-content-main-item.left-imgs-count-3 .feature-mod-content-main-item-left-imgs-img {
  413. &:nth-child(3) {
  414. transform: rotate(-24deg) translate(2px, 10px);
  415. }
  416. &:nth-child(1) {
  417. transform: rotate(24deg) translate(-2px, 10px);
  418. }
  419. }
  420. .feature-mod-content-main-item.left-imgs-count-4 .feature-mod-content-main-item-left-imgs-img {
  421. &:nth-child(1) {
  422. transform: rotate(-26deg) translate(4px, 16px);
  423. }
  424. &:nth-child(2) {
  425. transform: rotate(-7deg) translate(-5px, -2px);
  426. }
  427. &:nth-child(3) {
  428. transform: rotate(11deg) translate(-18px, 2px);
  429. }
  430. &:nth-child(4) {
  431. transform: rotate(26deg) translate(-30px, 28px);
  432. }
  433. }
  434. .feature-mod-content-main-item-right-imgs.count-2 .feature-mod-content-main-item-right-imgs-img:nth-child(1) {
  435. transform: rotate(4deg) translate(6px, 0px);
  436. }
  437. .feature-mod-content-main-item-right-imgs.count-2 .feature-mod-content-main-item-right-imgs-img:nth-child(2) {
  438. transform: rotate(-5.8deg) translate(4px, 3px);
  439. }
  440. .feature-mod-content-main-item-right-imgs.count-1 .feature-mod-content-main-item-right-imgs-img:nth-child(1) {
  441. transform: rotate(5deg) translate(4px, 0px);
  442. }
  443. }
  444. .feature-mod-content-sub {
  445. height: 12.5rem;
  446. width: 100%;
  447. display: grid;
  448. grid-template-columns: repeat(3, 1fr);
  449. grid-template-rows: repeat(1, 1fr);
  450. gap: 0.75rem;
  451. .feature-mod-content-sub-item-wrapper {
  452. position: relative;
  453. opacity: 0.7;
  454. &:hover .feature-mod-content-sub-item {
  455. transform: translateY(-3px);
  456. box-shadow: rgba(0, 0, 0, 0.04) 0px 2px 20px 0px;
  457. .feature-mod-content-sub-item-right-title-arrow {
  458. display: inline-block;
  459. }
  460. }
  461. .feature-mod-content-sub-item {
  462. width: 100%;
  463. height: 100%;
  464. border-radius: 8px;
  465. background: rgb(255, 255, 255);
  466. box-sizing: border-box;
  467. border: 1px solid rgb(237, 237, 237);
  468. display: flex;
  469. align-items: center;
  470. padding: 1.5rem;
  471. gap: 0.75rem;
  472. transition: transform 0.3s;
  473. cursor: pointer;
  474. }
  475. .feature-mod-content-sub-item-left {
  476. display: flex;
  477. }
  478. .feature-mod-content-sub-item-right {
  479. display: flex;
  480. flex-direction: column;
  481. align-items: stretch;
  482. gap: 4px;
  483. }
  484. .feature-mod-content-sub-item-right-title {
  485. font-size: 18px;
  486. font-weight: 500;
  487. line-height: 1.5rem;
  488. height: 1.5rem;
  489. color: rgb(51, 51, 51);
  490. }
  491. .feature-mod-content-sub-item-right-title-arrow {
  492. font-weight: bold;
  493. display: none;
  494. }
  495. .feature-mod-content-sub-item-right-desc {
  496. font-size: 16px;
  497. line-height: 1.5rem;
  498. height: 1.5rem;
  499. letter-spacing: normal;
  500. color: rgb(153, 153, 153);
  501. }
  502. }
  503. }
  504. }
  505. }
  506. }
  507. .tool-direct-black {
  508. display: flex;
  509. flex-direction: column;
  510. padding: 24px;
  511. width: 100%;
  512. height: 100%;
  513. &.chat-pages {
  514. height: 100%;
  515. }
  516. }
  517. .tools-header-block {
  518. display: flex;
  519. gap: 16px;
  520. align-items: center;
  521. margin-bottom: 24px;
  522. .back {
  523. width: 40px;
  524. height: 40px;
  525. background-color: white;
  526. color: rgb(80, 60, 55);
  527. box-shadow: rgba(154, 120, 110, 0.2) 0px 1px 3px;
  528. border-radius: 6px;
  529. display: flex;
  530. align-items: center;
  531. justify-content: center;
  532. cursor: pointer;
  533. svg {
  534. width: 16px;
  535. height: 16px;
  536. }
  537. }
  538. }
  539. .header-block {
  540. h1 {
  541. font-size: 24px;
  542. line-height: 30px;
  543. color: rgb(80, 60, 55);
  544. display: flex;
  545. align-items: center;
  546. gap: 10px;
  547. svg {
  548. width: 20px;
  549. height: 20px;
  550. color: rgb(154, 120, 110);
  551. }
  552. }
  553. p {
  554. display: flex;
  555. gap: 4px;
  556. line-height: 20px;
  557. font-size: 14px;
  558. color: rgb(154, 120, 110);
  559. align-items: center;
  560. padding: 0;
  561. margin: 0;
  562. margin-top: 4px;
  563. svg {
  564. width: 16px;
  565. height: 16px;
  566. flex: 0 0 16px;
  567. }
  568. }
  569. }
  570. .tool-direct-content-black {
  571. flex: 1 1 0%;
  572. height: calc(100% - 78px);
  573. .tools-block {
  574. height: 100%;
  575. }
  576. .chat-block {
  577. width: 100%;
  578. height: 100%;
  579. iframe {
  580. width: 100%;
  581. height: 100%;
  582. }
  583. }
  584. }
  585. .tool-direct-content {
  586. width: 100%;
  587. height: 100%;
  588. max-width: 100%;
  589. margin: 0 auto;
  590. display: flex;
  591. gap: 24px;
  592. flex: 1 1 0%;
  593. flex-direction: row-reverse;
  594. .tool-direct-left,
  595. .tool-direct-right {
  596. border: 1px solid #ae8878;
  597. box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  598. background: rgba(255,255,255,0.8);
  599. border-radius: 8px;
  600. min-height: 282px;
  601. }
  602. .tool-direct-left {
  603. position: relative;
  604. display: flex;
  605. flex-direction: column;
  606. width: 500px;
  607. flex: 0 0 500px;
  608. .demo-ruleForm {
  609. height: 100%;
  610. padding-bottom: 120px;
  611. .ruleFormContent {
  612. overflow: hidden;
  613. height: 100%;
  614. /deep/ .el-scrollbar {
  615. height: 100%;
  616. .el-scrollbar__wrap {
  617. padding: 24px;
  618. overflow-x: hidden;
  619. }
  620. }
  621. }
  622. }
  623. .tool-direct-left__title {
  624. display: flex;
  625. gap: 12px;
  626. align-items: center;
  627. h3 {
  628. font-size: 24px;
  629. line-height: 1;
  630. color: rgb(80, 60, 55);
  631. }
  632. svg {
  633. width: 20px;
  634. height: 20px;
  635. color: rgb(154, 120, 110);
  636. }
  637. }
  638. .tool-direct-left__desc {
  639. font-size: 14px;
  640. color: rgb(154, 120, 110);
  641. margin-top: 8px;
  642. }
  643. .tools-upload-black {
  644. margin-top: 24px;
  645. .tools-upload__title {
  646. font-size: 14px;
  647. line-height: 20px;
  648. margin-bottom: 5px;
  649. }
  650. }
  651. /deep/ .el-form-item + .el-form-item:not(.images-group-form) {
  652. margin-top: 30px;
  653. }
  654. /deep/ .el-form-item__label {
  655. line-height: 20px;
  656. &::before {
  657. display: none;
  658. }
  659. }
  660. .tools-upload {
  661. display: flex;
  662. width: 100%;
  663. height: 100%;
  664. .img-group {
  665. width: 100%;
  666. }
  667. .swiper-container-block {
  668. flex: 1;
  669. width: calc(100% - 110px);
  670. .swiper-button {
  671. width: 32px;
  672. height: 32px;
  673. transform: translateY(-50%);
  674. border-radius: 50%;
  675. background-image: none;
  676. background: rgba(0, 0, 0, 0.3);
  677. display: flex;
  678. justify-content: center;
  679. align-items: center;
  680. svg {
  681. width: 18px;
  682. height: 18px;
  683. fill: #fff;
  684. }
  685. &.swiper-button-prev {
  686. left: 5px;
  687. transform: translateY(-50%) rotate(180deg);
  688. }
  689. &.swiper-button-next {
  690. right: 5px;
  691. }
  692. }
  693. }
  694. .custom-file-list {
  695. display: flex;
  696. gap: 10px;
  697. width: 100%;
  698. }
  699. .custom-file__btns {
  700. position: absolute;
  701. top: 0;
  702. left: 0;
  703. z-index: 10;
  704. width: 100%;
  705. height: 100%;
  706. background: rgba(0, 0, 0, 0.5);
  707. border-radius: 6px;
  708. display: none;
  709. flex-direction: column;
  710. align-items: center;
  711. justify-content: center;
  712. gap: 10px;
  713. transition: all .5s;
  714. }
  715. .picture-card-wrapper {
  716. position: relative;
  717. width: 100%;
  718. &:hover .custom-file__btns{
  719. display: flex;
  720. }
  721. }
  722. .picture-card-image {
  723. width: 100%;
  724. object-fit: cover;
  725. display: block;
  726. border: 1px solid #ddd;
  727. border-radius: 6px;
  728. cursor: pointer;
  729. aspect-ratio: 1/1;
  730. }
  731. .replace-btn {
  732. font-size: 12px;
  733. padding: 4px 10px;
  734. background: rgba(0, 0, 0, 0.8);
  735. border-color: rgba(0, 0, 0, 0.8);
  736. color: #fff;
  737. /deep/ span {
  738. display: flex;
  739. align-items: center;
  740. gap: 4px;
  741. }
  742. svg {
  743. width: 14px;
  744. height: 14px;
  745. }
  746. &:hover {
  747. background: #ae8878;
  748. border-color: #ae8878;
  749. }
  750. }
  751. .upload-demo {
  752. width: 100%;
  753. height: 200px;
  754. &.upload-demo__data {
  755. width: 100px;
  756. height: auto;
  757. flex: 0 0 100px;
  758. margin-left: 10px;
  759. /deep/ .el-upload {
  760. height: 100%;
  761. .el-upload-dragger {
  762. display: flex;
  763. align-items: center;
  764. justify-content: center;
  765. height: 100%;
  766. }
  767. .el-icon-plus {
  768. font-size: 28px;
  769. }
  770. }
  771. }
  772. }
  773. /deep/ .el-upload {
  774. width: 100%;
  775. height: auto;
  776. .el-upload-dragger {
  777. width: 100%;
  778. height: 200px;
  779. border: 1px solid #ae8878;
  780. .el-upload__info {
  781. height: 100%;
  782. padding: 20px 0;
  783. .el-icon-upload {
  784. color: #ae8877;
  785. margin-top: 30px;
  786. }
  787. .el-upload__text,.el-upload__tip {
  788. color: #ae8877;
  789. font-size: 14px;
  790. line-height: 20px;
  791. }
  792. }
  793. }
  794. }
  795. }
  796. .tips {
  797. font-size: 12px;
  798. color: #b8180c;
  799. display: block;
  800. line-height: 14px;
  801. margin-top: 5px;
  802. }
  803. .tools-sku {
  804. display: flex;
  805. gap: 10px;
  806. margin-top: 20px;
  807. /deep/ .el-input {
  808. max-width: 80%;
  809. }
  810. }
  811. .avatar-black {
  812. position: relative;
  813. width: 100%;
  814. height: 240px;
  815. margin: 0 auto;
  816. img {
  817. display: block;
  818. object-fit: cover;
  819. width: 100%;
  820. height: 100%;
  821. max-width: 50%;
  822. margin: 0 auto;
  823. }
  824. .custom-file__btns {
  825. position: absolute;
  826. top: 0;
  827. left: 0;
  828. z-index: 10;
  829. width: 100%;
  830. height: 100%;
  831. background: rgba(0, 0, 0, 0.5);
  832. border-radius: 6px;
  833. display: none;
  834. flex-direction: column;
  835. align-items: center;
  836. justify-content: center;
  837. gap: 10px;
  838. transition: all .5s;
  839. .replace-btn {
  840. font-size: 12px;
  841. padding: 4px 10px;
  842. background: rgba(0, 0, 0, 0.8);
  843. border-color: rgba(0, 0, 0, 0.8);
  844. color: #fff;
  845. /deep/ span {
  846. display: flex;
  847. align-items: center;
  848. gap: 4px;
  849. }
  850. svg {
  851. width: 14px;
  852. height: 14px;
  853. }
  854. &:hover {
  855. background: #ae8878;
  856. border-color: #ae8878;
  857. }
  858. }
  859. }
  860. &:hover .custom-file__btns{
  861. display: flex;
  862. }
  863. }
  864. .batch-form {
  865. display: flex;
  866. justify-content: flex-end;
  867. /deep/ .el-form-item__label {
  868. display: flex;
  869. gap: 10px;
  870. }
  871. }
  872. .tool-direct-left__submit {
  873. position: relative;
  874. /deep/ .el-form-item__label {
  875. display: flex;
  876. }
  877. /deep/ .el-textarea__inner {
  878. color: #ae8878;
  879. border-color: #ae8878;
  880. }
  881. .clear-block {
  882. position: absolute;
  883. bottom: 11px;
  884. right: 65px;
  885. color: #ae8878;
  886. padding: 5px;
  887. cursor: pointer;
  888. line-height: normal;
  889. }
  890. }
  891. .label-title {
  892. color: #ae8878;
  893. display: flex;
  894. align-items: center;
  895. gap: 6px;
  896. span {
  897. display: flex;
  898. align-items: center;
  899. gap: 6px;
  900. font-size: 16px;
  901. .no {
  902. display: block;
  903. width: 18px;
  904. height: 18px;
  905. line-height: 16px;
  906. text-align: center;
  907. font-size: 12px;
  908. border-radius: 50%;
  909. border: 1px solid #ae8878;
  910. color: #ae8878;
  911. font-style: normal;
  912. }
  913. }
  914. }
  915. .tool-direct-left__imageRatio {
  916. /deep/ .el-checkbox-group {
  917. display: flex;
  918. flex-wrap: wrap;
  919. gap: 20px;
  920. .el-checkbox {
  921. display: flex;
  922. justify-content: center;
  923. align-items: center;
  924. width: 74px;
  925. height: 36px;
  926. background: #ae8878;
  927. border: 1px solid #ae8878;
  928. border-radius: 8px;
  929. transition: none;
  930. color: #fff;
  931. gap: 4px;
  932. &.is-checked {
  933. background: #232323;;
  934. border-color: #232323;
  935. }
  936. &:not(.is-checked):hover {
  937. background:#bea092;
  938. border-color: #bea092;
  939. }
  940. }
  941. .el-checkbox__input {
  942. width: 18px;
  943. height: 12px;
  944. border: 1px solid #fff;
  945. border-radius: 2px;
  946. }
  947. .el-checkbox:nth-child(2) .el-checkbox__input {
  948. width: 22px;
  949. }
  950. .el-checkbox:nth-child(3) .el-checkbox__input {
  951. width: 14px;
  952. height: 14px;
  953. }
  954. .el-checkbox:nth-child(4) .el-checkbox__input {
  955. width: 12px;
  956. height: 18px;
  957. }
  958. .el-checkbox:nth-child(5) .el-checkbox__input {
  959. width: 12px;
  960. height: 16px;
  961. }
  962. .el-checkbox:nth-child(6) .el-checkbox__input {
  963. width: 12px;
  964. height: 22px;
  965. }
  966. // .el-checkbox__inner {
  967. // opacity: 0;
  968. // }
  969. // .el-checkbox__label {
  970. // color: #fff;
  971. // padding-left: 4px;
  972. // }
  973. }
  974. }
  975. .image-ratio__custom {
  976. display: flex;
  977. align-items: center;
  978. gap: 10px;
  979. margin-top: 5px;
  980. label {
  981. white-space: nowrap;
  982. color: #606266;
  983. }
  984. }
  985. .tool-direct-left__imageSize {
  986. display: flex;
  987. align-items: center;
  988. gap: 10px;
  989. /deep/ .el-input__suffix-inner {
  990. display: flex;
  991. height: 100%;
  992. }
  993. }
  994. .el-form-item__btns {
  995. position: absolute;
  996. bottom: 0;
  997. left: 0;
  998. width: 100%;
  999. padding: 2rem;
  1000. margin-top: 0;
  1001. box-shadow: 0 -4px 20px rgba(174, 136, 120, 0.2);
  1002. }
  1003. .tool-direct-left__btns {
  1004. width: 100%;
  1005. display: flex;
  1006. align-items: center;
  1007. gap: 12px;
  1008. justify-content: center;
  1009. font-size: 14px;
  1010. color: #fff;
  1011. min-height: 40px;
  1012. gap: 20px;
  1013. .clear {
  1014. width: 200px;
  1015. /deep/ .el-button {
  1016. width: 100%;
  1017. color: #1f1f1f;
  1018. background: #eee;
  1019. border-color: #eee;
  1020. }
  1021. }
  1022. .save {
  1023. width: 200px;
  1024. display: flex;
  1025. justify-content: center;
  1026. align-items: center;
  1027. border-radius: 4px;
  1028. cursor: pointer;
  1029. background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
  1030. &:hover {
  1031. background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
  1032. box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  1033. }
  1034. /deep/ span {
  1035. display: flex;
  1036. justify-content: center;
  1037. align-items: center;
  1038. gap: 6px;
  1039. }
  1040. svg {
  1041. width: 16px;
  1042. height: 16px;
  1043. color: #fff;
  1044. }
  1045. }
  1046. }
  1047. }
  1048. .tool-direct-right {
  1049. flex: 1;
  1050. display: flex;
  1051. flex-direction: column;
  1052. .tool-direct-right__title {
  1053. margin-bottom: 24px;
  1054. h3 {
  1055. font-size: 24px;
  1056. line-height: 1;
  1057. color: rgb(80, 60, 55);
  1058. }
  1059. }
  1060. .tool-direct-right__result {
  1061. height: 100%;
  1062. flex: 1 1 0%;
  1063. display: flex;
  1064. align-items: center;
  1065. justify-content: center;
  1066. .result-success,.preview-black__images,.images-preview {
  1067. height: 100%;
  1068. }
  1069. }
  1070. .result-empty {
  1071. flex-direction: column;
  1072. align-items: center;
  1073. justify-content: center;
  1074. color: #999;
  1075. font-size: 16px;
  1076. gap: 16px;
  1077. display: flex;
  1078. text-align: center;
  1079. line-height: 22px;
  1080. svg {
  1081. width: 64px;
  1082. height: 64px;
  1083. color: rgba(154, 120, 110, 0.5);
  1084. }
  1085. }
  1086. .tool-direct-right__loading {
  1087. font-size: 14px;
  1088. gap: 16px;
  1089. flex-direction: column;
  1090. align-items: center;
  1091. justify-content: center;
  1092. color: rgb(154, 120, 110);
  1093. display: flex;
  1094. svg {
  1095. width: 48px;
  1096. height: 48px;
  1097. animation: spin 1s linear infinite;
  1098. }
  1099. }
  1100. .preview-black__images {
  1101. position: relative;
  1102. background: rgba(241,245,249,1);
  1103. border-radius: 8px;
  1104. overflow: hidden;
  1105. /deep/ .el-image {
  1106. height: 100%;
  1107. }
  1108. /deep/ img {
  1109. display: block;
  1110. max-width: 100%;
  1111. max-height: 100%;
  1112. object-fit: cover;
  1113. cursor: zoom-in;
  1114. }
  1115. .images-preview__search {
  1116. position: absolute;
  1117. top: 10px;
  1118. right: 10px;
  1119. width: 40px;
  1120. height: 40px;
  1121. display: flex;
  1122. justify-content: center;
  1123. align-items: center;
  1124. box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  1125. background: rgba(255,255,255,0.9);
  1126. border: 1px solid hsl(240,5.9%,90%);
  1127. border-radius: 6px;
  1128. cursor: pointer;
  1129. cursor: pointer;
  1130. /deep/ .el-image {
  1131. width: 100%;
  1132. height: 100%;
  1133. position: absolute;
  1134. top: 0;
  1135. left: 0;
  1136. z-index: 10;
  1137. .el-image__preview {
  1138. opacity: 0;
  1139. }
  1140. }
  1141. svg {
  1142. width: 20px;
  1143. height: 20px;
  1144. }
  1145. }
  1146. .images-preview__icon {
  1147. position: absolute;
  1148. bottom: 20px;
  1149. right: 20px;
  1150. gap: 8px;
  1151. display: none;
  1152. animation-duration: 300ms;
  1153. .icons {
  1154. width: 40px;
  1155. height: 40px;
  1156. display: flex;
  1157. justify-content: center;
  1158. align-items: center;
  1159. box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  1160. background: rgba(255,255,255,0.9);
  1161. border: 1px solid hsl(240,5.9%,90%);
  1162. border-radius: 6px;
  1163. cursor: pointer;
  1164. svg {
  1165. width: 16px;
  1166. height: 16px;
  1167. }
  1168. }
  1169. }
  1170. &:hover {
  1171. .images-preview__icon {
  1172. display: flex;
  1173. }
  1174. }
  1175. }
  1176. }
  1177. }
  1178. }
  1179. @keyframes spin{to{transform:rotate(360deg)}}
  1180. @keyframes colorChangeFirst {
  1181. 0%, 100% {opacity: 1;}
  1182. 50% {opacity: 0.4;}
  1183. }
  1184. @keyframes colorChangeSecond {
  1185. 0%, 100% {opacity: 0.4;}
  1186. 50% {opacity: 1;}
  1187. }