| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273 |
- .acss-1mnncja {
- display: flex;
- justify-content: center;
- align-items: center;
- .ant-image {
- position: relative;
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- img {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: contain;
- }
- }
- }
- .arrow-icon {
- display: inline-flex;
- align-items: center;
- color: inherit;
- font-style: normal;
- line-height: 0;
- text-align: center;
- text-transform: none;
- vertical-align: -0.125em;
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- animation-duration: 0.8s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- transform: scale(0.75);
- &.arrow-first {
- animation-name: colorChangeFirst;
- }
- &.arrow-second {
- animation-name: colorChangeSecond;
- margin-left: -15px !important;
- }
-
- svg {
- display: inline-block;
- }
- }
- .design-agent-block {
- height: 100%;
- * {
- margin: 0;
- list-style: none;
- }
- .index-block {
- padding: 24px;
- width: 100%;
- .index-hdeader-block {
- margin-bottom: 24px;
- h1 {
- font-size: 30px;
- line-height: 36px;
- color: rgb(80, 60, 55);
- }
- p {
- display: flex;
- gap: 4px;
- line-height: 24px;
- font-size: 16px;
- color: rgb(154, 120, 110);
- align-items: center;
- padding: 0;
- margin: 0;
- margin-top: 4px;
- svg {
- width: 16px;
- height: 16px;
- flex: 0 0 16px;
- }
- }
- }
- .flex-grow {
- max-width: 95rem;
- margin: 0 auto;
- }
- .flex-grow-top {
- display: flex;
- gap: 32px;
- margin-bottom: 48px;
- .dialog-compose-mode,
- .tool-direct-mode {
- border: 2px solid;
- transition-duration: 300ms;
- border-color: #E1D6D0;
- background-color: rgba(154, 120, 110, 0.05);
- border-radius: 8px;
- padding: 3rem 24px;
- flex: 1;
- &:hover {
- box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
- }
- }
- .dialog-compose-mode {
- cursor: pointer;
- }
- .flex-grow-top_icon {
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
- border-radius: 16px;
- width: 64px;
- height: 64px;
- margin: 0 auto;
- margin-bottom: 16px;
- svg {
- width: 32px;
- height: 32px;
- stroke: #fff;
- stroke-width: 2px;
- }
- }
- .flex-grow-top_title {
- font-size: 24px;
- line-height: 32px;
- text-align: center;
- margin-top: 6px;
- color: rgb(80, 60, 55);
- font-weight: bold;
- margin-bottom: 16px;
- }
- .flex-grow-top_desc {
- color: rgb(154, 120, 110);
- text-align: center;
- font-size: 16px;
- line-height: 24px;
- margin-bottom: 24px;
- }
- .dialog-btns {
- display: flex;
- justify-content: center;
- }
- .dialog-btns-a {
- background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
- font-size: 14px;
- line-height: 20px;
- padding: 8px 16px;
- border-radius: 6px;
- color: #fff;
- &:hover {
- box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
- }
- }
- .tool-direction {
- font-size: 14px;
- line-height: 20px;
- color: rgb(154, 120, 110);
- text-align: center;
- }
- }
- .flex-grow-bottom {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- gap: 24px;
- .tool-direct__title {
- font-size: 1.875rem;
- color: rgb(51, 51, 51);
- span {
- background: linear-gradient(107deg, rgb(255, 72, 97) 1%, rgb(255, 72, 97) 1%, rgb(150, 59, 255) 99%) text;
- -webkit-text-fill-color: transparent;
- }
- }
- .feature-mod-content {
- margin: 0px auto;
- height: 26.6875rem;
- width: 90rem;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- justify-content: space-between;
- flex-direction: column;
- .feature-mod-content-main {
- height: 12.5rem;
- width: 100%;
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- grid-template-rows: repeat(1, 1fr);
- gap: 0.75rem;
- }
- .feature-mod-content-main-item-wrapper {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- overflow: hidden;
- border-radius: 8px;
- border: 1px solid rgba(153, 153, 153, 0.08);
- box-sizing: border-box;
- padding: 20px 24px 20px 28px;
- position: relative;
- cursor: pointer;
-
- &.theme-pink {
- background: linear-gradient(116deg, rgb(255, 242, 244) 3%, rgb(248, 243, 255) 98%);
- .feature-mod-content-main-item-left-title-arrow {
- color: rgb(155, 62, 248);
- }
- }
- &.theme-blue {
- background: linear-gradient(116deg, rgb(240, 249, 252) 2%, rgb(238, 237, 255) 98%);
- .feature-mod-content-main-item-left-title-arrow {
- color: rgb(92, 131, 238);
- }
- .feature-mod-content-main-item-left-imgs-img img {
- border: 1px solid #fff;
- }
- }
- &.theme-yellow {
- background: linear-gradient(116deg, rgb(253, 250, 236) 2%, rgb(255, 238, 217) 98%);
- .feature-mod-content-main-item-left-title-arrow {
- color: rgb(238, 140, 9);
- }
- .feature-mod-content-main-item-left-imgs-img img {
- border: 1px solid #fff;
- }
- }
- &::after {
- background-image: url('https://img.alicdn.com/imgextra/i1/O1CN011NMFSk1SlUrKFlWpV_!!6000000002287-2-tps-1176-600.png');
- content: "";
- position: absolute;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- .feature-mod-content-main-item {
- display: flex;
- z-index: 1;
- height: 100%;
- width: 100%;
- .feature-mod-content-main-item-left-arrow {
- width: 69px;
- height: 55px;
- position: absolute;
- right: -6px;
- z-index: 11;
- bottom: 0px;
- }
- &.left-imgs-count-1 .feature-mod-content-main-item-left-imgs {
- margin-top: 23px;
- .feature-mod-content-main-item-left-imgs-img {
- margin-left: -1.5rem;
- margin-top: -1.25rem;
- height: 8rem;
- width: 13.5625rem;
- }
- }
- &.left-imgs-count-3 .feature-mod-content-main-item-left-imgs {
- margin-top: 24px;
- width: 172px;
- height: 71px;
- display: flex;
- flex-direction: row-reverse;
- transform: translateX(-4px);
- .feature-mod-content-main-item-left-imgs-img {
- z-index: 2;
- &:nth-child(1) {
- transform: rotate(16deg) translate(-4px, 10px);
- }
- &:nth-child(2) {
- transform: rotate(0deg);
- }
- &:nth-child(3) {
- transform: rotate(-16deg) translate(4px, 10px);
- }
- }
- }
- &.left-imgs-count-4 .feature-mod-content-main-item-left-imgs {
- margin-top: 18px;
- width: 172px;
- height: 86px;
- display: flex;
- flex-direction: row;
- transform: translateX(-4px);
- .feature-mod-content-main-item-left-imgs-img {
- z-index: 2;
-
- img {
- width: 56px;
- height: 69px;
- }
- &:nth-child(1) {
- transform: rotate(-20.3deg) translate(8px, 8px);
- }
- &:nth-child(2) {
- transform: rotate(-4.7deg) translate(-4px, -4px);
- }
- &:nth-child(3) {
- transform: rotate(8.5deg) translate(-20px, -1px);
- }
- &:nth-child(4) {
- transform: rotate(23.5deg) translate(-38px, 22px);
- }
- }
- }
- }
- .feature-mod-content-main-item-left {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- height: 100%;
- width: 244px;
- position: relative;
- }
- .feature-mod-content-main-item-left-title {
- font-size: 20px;
- font-weight: 500;
- line-height: 26px;
- height: 26px;
- letter-spacing: normal;
- background: linear-gradient(105deg, rgb(255, 128, 145) 0%, rgb(150, 59, 255) 99%) text;
- text-align: left;
- width: fit-content;
- }
- .feature-mod-content-main-item-left-title-arrow {
- font-weight: bold;
- display: none;
- }
- .feature-mod-content-main-item-left-desc {
- margin-top: 4px;
- font-size: 16px;
- font-weight: normal;
- line-height: 24px;
- letter-spacing: normal;
- color: rgba(0, 0, 0, 0.35);
- }
- .feature-mod-content-main-item-left-imgs {
- .feature-mod-content-main-item-left-imgs-img {
- transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
- }
- }
- .feature-mod-content-main-item-right {
- display: flex;
- flex: 1 1 0%;
- height: 100%;
- justify-content: flex-end;
- .feature-mod-content-main-item-right-video {
- display: flex;
- background-color: rgb(255, 255, 255);
- border-radius: 8px;
- overflow: hidden;
- border: 2px solid rgb(255, 255, 255);
- width: 117px !important;
- height: 160px !important;
- video {
- object-fit: cover;
- }
- .video-event-mask {
- position: absolute;
- inset: 0px;
- width: 100%;
- height: 100%;
- z-index: 2;
- }
- }
- .feature-mod-content-main-item-right-imgs-img {
- transition: transform 0.3s;
- background-color: rgb(255, 255, 255);
- border-radius: 8px;
- overflow: hidden;
- border: 2px solid rgb(255, 255, 255);
- img {
- object-fit: cover;
- }
- &:nth-child(2) {
- right: 51px;
- bottom: 42px;
- z-index: 2;
- }
- }
- .feature-mod-content-main-item-right-imgs.count-2 .feature-mod-content-main-item-right-imgs-img {
- width: 100px;
- height: 134px;
- box-shadow: rgba(43, 20, 111, 0.02) 0px 0.25rem 1.25rem 0px;
- position: absolute;
- &:nth-child(1) {
- right: 24px;
- bottom: 24px;
- }
- &:nth-child(2) {
- right: 51px;
- bottom: 42px;
- z-index: 2;
- }
- }
- .feature-mod-content-main-item-right-imgs.count-1 .feature-mod-content-main-item-right-imgs-img {
- width: 124px;
- height: 160px;
- box-shadow: rgba(43, 20, 111, 0.05) 0px 4px 20px 0px;
- }
- }
- }
- .feature-mod-content-main-item-wrapper:hover {
- .feature-mod-content-main-item-left-title-arrow {
- display: inline-block;
- }
- .feature-mod-content-main-item.left-imgs-count-1 .feature-mod-content-main-item-left-imgs {
- transform: translateY(-3px);
- }
- .feature-mod-content-main-item.left-imgs-count-3 .feature-mod-content-main-item-left-imgs-img {
- &:nth-child(3) {
- transform: rotate(-24deg) translate(2px, 10px);
- }
- &:nth-child(1) {
- transform: rotate(24deg) translate(-2px, 10px);
- }
- }
- .feature-mod-content-main-item.left-imgs-count-4 .feature-mod-content-main-item-left-imgs-img {
- &:nth-child(1) {
- transform: rotate(-26deg) translate(4px, 16px);
- }
- &:nth-child(2) {
- transform: rotate(-7deg) translate(-5px, -2px);
- }
- &:nth-child(3) {
- transform: rotate(11deg) translate(-18px, 2px);
- }
- &:nth-child(4) {
- transform: rotate(26deg) translate(-30px, 28px);
- }
- }
- .feature-mod-content-main-item-right-imgs.count-2 .feature-mod-content-main-item-right-imgs-img:nth-child(1) {
- transform: rotate(4deg) translate(6px, 0px);
- }
- .feature-mod-content-main-item-right-imgs.count-2 .feature-mod-content-main-item-right-imgs-img:nth-child(2) {
- transform: rotate(-5.8deg) translate(4px, 3px);
- }
- .feature-mod-content-main-item-right-imgs.count-1 .feature-mod-content-main-item-right-imgs-img:nth-child(1) {
- transform: rotate(5deg) translate(4px, 0px);
- }
- }
- .feature-mod-content-sub {
- height: 12.5rem;
- width: 100%;
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- grid-template-rows: repeat(1, 1fr);
- gap: 0.75rem;
- .feature-mod-content-sub-item-wrapper {
- position: relative;
- opacity: 0.7;
- &:hover .feature-mod-content-sub-item {
- transform: translateY(-3px);
- box-shadow: rgba(0, 0, 0, 0.04) 0px 2px 20px 0px;
- .feature-mod-content-sub-item-right-title-arrow {
- display: inline-block;
- }
- }
- .feature-mod-content-sub-item {
- width: 100%;
- height: 100%;
- border-radius: 8px;
- background: rgb(255, 255, 255);
- box-sizing: border-box;
- border: 1px solid rgb(237, 237, 237);
- display: flex;
- align-items: center;
- padding: 1.5rem;
- gap: 0.75rem;
- transition: transform 0.3s;
- cursor: pointer;
- }
- .feature-mod-content-sub-item-left {
- display: flex;
- }
- .feature-mod-content-sub-item-right {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- gap: 4px;
- }
- .feature-mod-content-sub-item-right-title {
- font-size: 18px;
- font-weight: 500;
- line-height: 1.5rem;
- height: 1.5rem;
- color: rgb(51, 51, 51);
- }
- .feature-mod-content-sub-item-right-title-arrow {
- font-weight: bold;
- display: none;
- }
- .feature-mod-content-sub-item-right-desc {
- font-size: 16px;
- line-height: 1.5rem;
- height: 1.5rem;
- letter-spacing: normal;
- color: rgb(153, 153, 153);
- }
- }
- }
- }
- }
- }
- .tool-direct-black {
- display: flex;
- flex-direction: column;
- padding: 24px;
- width: 100%;
- height: 100%;
- &.chat-pages {
- height: 100%;
- }
- }
- .tools-header-block {
- display: flex;
- gap: 16px;
- align-items: center;
- margin-bottom: 24px;
- .back {
- width: 40px;
- height: 40px;
- background-color: white;
- color: rgb(80, 60, 55);
- box-shadow: rgba(154, 120, 110, 0.2) 0px 1px 3px;
- border-radius: 6px;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- svg {
- width: 16px;
- height: 16px;
- }
- }
- }
- .header-block {
- h1 {
- font-size: 24px;
- line-height: 30px;
- color: rgb(80, 60, 55);
- display: flex;
- align-items: center;
- gap: 10px;
- svg {
- width: 20px;
- height: 20px;
- color: rgb(154, 120, 110);
- }
- }
- p {
- display: flex;
- gap: 4px;
- line-height: 20px;
- font-size: 14px;
- color: rgb(154, 120, 110);
- align-items: center;
- padding: 0;
- margin: 0;
- margin-top: 4px;
- svg {
- width: 16px;
- height: 16px;
- flex: 0 0 16px;
- }
- }
- }
- .tool-direct-content-black {
- flex: 1 1 0%;
- height: calc(100% - 78px);
- .tools-block {
- height: 100%;
- }
- .chat-block {
- width: 100%;
- height: 100%;
- iframe {
- width: 100%;
- height: 100%;
- }
- }
- }
- .tool-direct-content {
- width: 100%;
- height: 100%;
- max-width: 100%;
- margin: 0 auto;
- display: flex;
- gap: 24px;
- flex: 1 1 0%;
- flex-direction: row-reverse;
- .tool-direct-left,
- .tool-direct-right {
- border: 1px solid #ae8878;
- box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
- background: rgba(255,255,255,0.8);
- border-radius: 8px;
- min-height: 282px;
- }
- .tool-direct-left {
- position: relative;
- display: flex;
- flex-direction: column;
- width: 500px;
- flex: 0 0 500px;
- .demo-ruleForm {
- height: 100%;
- padding-bottom: 120px;
- .ruleFormContent {
- overflow: hidden;
- height: 100%;
- /deep/ .el-scrollbar {
- height: 100%;
- .el-scrollbar__wrap {
- padding: 24px;
- overflow-x: hidden;
- }
- }
- }
- }
- .tool-direct-left__title {
- display: flex;
- gap: 12px;
- align-items: center;
- h3 {
- font-size: 24px;
- line-height: 1;
- color: rgb(80, 60, 55);
- }
- svg {
- width: 20px;
- height: 20px;
- color: rgb(154, 120, 110);
- }
- }
- .tool-direct-left__desc {
- font-size: 14px;
- color: rgb(154, 120, 110);
- margin-top: 8px;
- }
- .tools-upload-black {
- margin-top: 24px;
- .tools-upload__title {
- font-size: 14px;
- line-height: 20px;
- margin-bottom: 5px;
- }
- }
- /deep/ .el-form-item + .el-form-item:not(.images-group-form) {
- margin-top: 30px;
- }
- /deep/ .el-form-item__label {
- line-height: 20px;
- &::before {
- display: none;
- }
- }
- .tools-upload {
- display: flex;
- width: 100%;
- height: 100%;
- .img-group {
- width: 100%;
- }
- .swiper-container-block {
- flex: 1;
- width: calc(100% - 110px);
- .swiper-button {
- width: 32px;
- height: 32px;
- transform: translateY(-50%);
- border-radius: 50%;
- background-image: none;
- background: rgba(0, 0, 0, 0.3);
- display: flex;
- justify-content: center;
- align-items: center;
- svg {
- width: 18px;
- height: 18px;
- fill: #fff;
- }
- &.swiper-button-prev {
- left: 5px;
- transform: translateY(-50%) rotate(180deg);
- }
- &.swiper-button-next {
- right: 5px;
- }
- }
- }
- .custom-file-list {
- display: flex;
- gap: 10px;
- width: 100%;
- }
- .custom-file__btns {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 10;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- border-radius: 6px;
- display: none;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 10px;
- transition: all .5s;
- }
- .picture-card-wrapper {
- position: relative;
- width: 100%;
- &:hover .custom-file__btns{
- display: flex;
- }
- }
- .picture-card-image {
- width: 100%;
- object-fit: cover;
- display: block;
- border: 1px solid #ddd;
- border-radius: 6px;
- cursor: pointer;
- aspect-ratio: 1/1;
- }
- .replace-btn {
- font-size: 12px;
- padding: 4px 10px;
- background: rgba(0, 0, 0, 0.8);
- border-color: rgba(0, 0, 0, 0.8);
- color: #fff;
- /deep/ span {
- display: flex;
- align-items: center;
- gap: 4px;
- }
- svg {
- width: 14px;
- height: 14px;
- }
- &:hover {
- background: #ae8878;
- border-color: #ae8878;
- }
- }
- .upload-demo {
- width: 100%;
- height: 200px;
- &.upload-demo__data {
- width: 100px;
- height: auto;
- flex: 0 0 100px;
- margin-left: 10px;
- /deep/ .el-upload {
- height: 100%;
- .el-upload-dragger {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
- }
- .el-icon-plus {
- font-size: 28px;
- }
- }
- }
- }
- /deep/ .el-upload {
- width: 100%;
- height: auto;
- .el-upload-dragger {
- width: 100%;
- height: 200px;
- border: 1px solid #ae8878;
- .el-upload__info {
- height: 100%;
- padding: 20px 0;
- .el-icon-upload {
- color: #ae8877;
- margin-top: 30px;
- }
- .el-upload__text,.el-upload__tip {
- color: #ae8877;
- font-size: 14px;
- line-height: 20px;
- }
- }
- }
- }
- }
- .tips {
- font-size: 12px;
- color: #b8180c;
- display: block;
- line-height: 14px;
- margin-top: 5px;
- }
- .tools-sku {
- display: flex;
- gap: 10px;
- margin-top: 20px;
- /deep/ .el-input {
- max-width: 80%;
- }
- }
- .avatar-black {
- position: relative;
- width: 100%;
- height: 240px;
- margin: 0 auto;
- img {
- display: block;
- object-fit: cover;
- width: 100%;
- height: 100%;
- max-width: 50%;
- margin: 0 auto;
- }
- .custom-file__btns {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 10;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- border-radius: 6px;
- display: none;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 10px;
- transition: all .5s;
- .replace-btn {
- font-size: 12px;
- padding: 4px 10px;
- background: rgba(0, 0, 0, 0.8);
- border-color: rgba(0, 0, 0, 0.8);
- color: #fff;
- /deep/ span {
- display: flex;
- align-items: center;
- gap: 4px;
- }
- svg {
- width: 14px;
- height: 14px;
- }
- &:hover {
- background: #ae8878;
- border-color: #ae8878;
- }
- }
- }
- &:hover .custom-file__btns{
- display: flex;
- }
- }
- .batch-form {
- display: flex;
- justify-content: flex-end;
- /deep/ .el-form-item__label {
- display: flex;
- gap: 10px;
- }
- }
- .tool-direct-left__submit {
- position: relative;
- /deep/ .el-form-item__label {
- display: flex;
- }
- /deep/ .el-textarea__inner {
- color: #ae8878;
- border-color: #ae8878;
- }
- .clear-block {
- position: absolute;
- bottom: 11px;
- right: 65px;
- color: #ae8878;
- padding: 5px;
- cursor: pointer;
- line-height: normal;
- }
- }
- .label-title {
- color: #ae8878;
- display: flex;
- align-items: center;
- gap: 6px;
- span {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 16px;
- .no {
- display: block;
- width: 18px;
- height: 18px;
- line-height: 16px;
- text-align: center;
- font-size: 12px;
- border-radius: 50%;
- border: 1px solid #ae8878;
- color: #ae8878;
- font-style: normal;
- }
- }
- }
- .tool-direct-left__imageRatio {
- /deep/ .el-checkbox-group {
- display: flex;
- flex-wrap: wrap;
- gap: 20px;
- .el-checkbox {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 74px;
- height: 36px;
- background: #ae8878;
- border: 1px solid #ae8878;
- border-radius: 8px;
- transition: none;
- color: #fff;
- gap: 4px;
- &.is-checked {
- background: #232323;;
- border-color: #232323;
- }
- &:not(.is-checked):hover {
- background:#bea092;
- border-color: #bea092;
- }
- }
- .el-checkbox__input {
- width: 18px;
- height: 12px;
- border: 1px solid #fff;
- border-radius: 2px;
- }
- .el-checkbox:nth-child(2) .el-checkbox__input {
- width: 22px;
- }
- .el-checkbox:nth-child(3) .el-checkbox__input {
- width: 14px;
- height: 14px;
- }
- .el-checkbox:nth-child(4) .el-checkbox__input {
- width: 12px;
- height: 18px;
- }
- .el-checkbox:nth-child(5) .el-checkbox__input {
- width: 12px;
- height: 16px;
- }
- .el-checkbox:nth-child(6) .el-checkbox__input {
- width: 12px;
- height: 22px;
- }
- // .el-checkbox__inner {
- // opacity: 0;
- // }
- // .el-checkbox__label {
- // color: #fff;
- // padding-left: 4px;
- // }
- }
- }
- .image-ratio__custom {
- display: flex;
- align-items: center;
- gap: 10px;
- margin-top: 5px;
- label {
- white-space: nowrap;
- color: #606266;
- }
- }
- .tool-direct-left__imageSize {
- display: flex;
- align-items: center;
- gap: 10px;
- /deep/ .el-input__suffix-inner {
- display: flex;
- height: 100%;
- }
- }
- .el-form-item__btns {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- padding: 2rem;
- margin-top: 0;
- box-shadow: 0 -4px 20px rgba(174, 136, 120, 0.2);
- }
- .tool-direct-left__btns {
- width: 100%;
- display: flex;
- align-items: center;
- gap: 12px;
- justify-content: center;
- font-size: 14px;
- color: #fff;
- min-height: 40px;
- gap: 20px;
- .clear {
- width: 200px;
- /deep/ .el-button {
- width: 100%;
- color: #1f1f1f;
- background: #eee;
- border-color: #eee;
- }
- }
- .save {
- width: 200px;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 4px;
- cursor: pointer;
- background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
- &:hover {
- background: linear-gradient(135deg, rgb(194, 140, 110), rgb(154, 120, 110));
- box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
- }
- /deep/ span {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 6px;
- }
- svg {
- width: 16px;
- height: 16px;
- color: #fff;
- }
- }
- }
- }
- .tool-direct-right {
- flex: 1;
- display: flex;
- flex-direction: column;
- .tool-direct-right__title {
- margin-bottom: 24px;
- h3 {
- font-size: 24px;
- line-height: 1;
- color: rgb(80, 60, 55);
- }
- }
- .tool-direct-right__result {
- height: 100%;
- flex: 1 1 0%;
- display: flex;
- align-items: center;
- justify-content: center;
- .result-success,.preview-black__images,.images-preview {
- height: 100%;
- }
- }
- .result-empty {
- flex-direction: column;
- align-items: center;
- justify-content: center;
- color: #999;
- font-size: 16px;
- gap: 16px;
- display: flex;
- text-align: center;
- line-height: 22px;
- svg {
- width: 64px;
- height: 64px;
- color: rgba(154, 120, 110, 0.5);
- }
- }
- .tool-direct-right__loading {
- font-size: 14px;
- gap: 16px;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- color: rgb(154, 120, 110);
- display: flex;
- svg {
- width: 48px;
- height: 48px;
- animation: spin 1s linear infinite;
- }
- }
- .preview-black__images {
- position: relative;
- background: rgba(241,245,249,1);
- border-radius: 8px;
- overflow: hidden;
- /deep/ .el-image {
- height: 100%;
- }
- /deep/ img {
- display: block;
- max-width: 100%;
- max-height: 100%;
- object-fit: cover;
- cursor: zoom-in;
- }
- .images-preview__search {
- position: absolute;
- top: 10px;
- right: 10px;
- width: 40px;
- height: 40px;
- display: flex;
- justify-content: center;
- align-items: center;
- box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
- background: rgba(255,255,255,0.9);
- border: 1px solid hsl(240,5.9%,90%);
- border-radius: 6px;
- cursor: pointer;
- cursor: pointer;
- /deep/ .el-image {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 10;
- .el-image__preview {
- opacity: 0;
- }
- }
- svg {
- width: 20px;
- height: 20px;
- }
- }
- .images-preview__icon {
- position: absolute;
- bottom: 20px;
- right: 20px;
- gap: 8px;
- display: none;
- animation-duration: 300ms;
- .icons {
- width: 40px;
- height: 40px;
- display: flex;
- justify-content: center;
- align-items: center;
- box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
- background: rgba(255,255,255,0.9);
- border: 1px solid hsl(240,5.9%,90%);
- border-radius: 6px;
- cursor: pointer;
- svg {
- width: 16px;
- height: 16px;
- }
- }
- }
- &:hover {
- .images-preview__icon {
- display: flex;
- }
- }
- }
- }
- }
- }
- @keyframes spin{to{transform:rotate(360deg)}}
- @keyframes colorChangeFirst {
- 0%, 100% {opacity: 1;}
- 50% {opacity: 0.4;}
- }
- @keyframes colorChangeSecond {
- 0%, 100% {opacity: 0.4;}
- 50% {opacity: 1;}
- }
|