| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275 |
- .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%;
- overflow-y: auto;
- * {
- 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;
- max-width: 90rem;
- min-width: 1122px;
- 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;}
- }
|