design-agent.scss 32 KB

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