yc-ui2 0.1.2-beta23 → 0.1.2-beta25

Sign up to get free protection for your applications and to get access to all the features.
package/dist/yc-ui2.css CHANGED
@@ -1 +1 @@
1
- .el-dialog__wrapper[data-v-33a7114a]{display:flex;justify-content:center;align-items:center}[data-v-33a7114a] .el-dialog{margin-top:0!important;border-radius:8px}[data-v-33a7114a] .el-dialog__header{background-color:#f2f6fc;border-radius:8px 8px 0 0}.el-dialog__body[data-v-33a7114a]{display:flex;justify-content:center}.chat[data-v-755436e0]{width:350px;height:480px;position:fixed;bottom:10px;right:55px;z-index:2001;background-color:#fff;border-radius:12px;border:1px solid #e6ebf5;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);overflow:hidden}.chat>header[data-v-755436e0]{display:flex;justify-content:flex-start;align-items:center;background-color:#ff575f;font-size:16px;padding:10px;font-weight:400;color:#fafdff}.chat>header>img[data-v-755436e0]{width:44px;height:44px;border-radius:50%;margin-right:10px;transition:all .3s linear}.chat>header>img[data-v-755436e0]:focus,.chat>header>img[data-v-755436e0]:hover{transform:scale(1.2) rotate(15deg)}.chat>header i[data-v-755436e0]{cursor:pointer;position:absolute;top:5px;width:20px;height:20px;border-radius:6px;display:flex;justify-content:center;align-items:center;transition:all .3s linear}.chat>header i[data-v-755436e0]:focus,.chat>header i[data-v-755436e0]:hover{transform:scale(1.2);background-color:hsla(7,100%,74%,.8)}.chat>header i.el-icon-close[data-v-755436e0]{right:10px}.chat>header i.icon-enlarge[data-v-755436e0]{right:35px}.chat>header i>img[data-v-755436e0]{width:12px}.chat>main[data-v-755436e0]{width:100%;height:60%;overflow-y:auto;padding-bottom:20px;background-color:#f7f7f9}.chat>main[data-v-755436e0]::-webkit-scrollbar{width:6px}.chat>main[data-v-755436e0]::-webkit-scrollbar-track{background:#efefef;border-radius:2px}.chat>main[data-v-755436e0]::-webkit-scrollbar-thumb{background:#ff8879;border-radius:10px}.chat>main[data-v-755436e0]::-webkit-scrollbar-thumb:hover{background:#ff755d}.chat>main .message[data-v-755436e0]{display:flex;gap:15px;position:relative;margin:20px 5px 0 5px;opacity:0}.chat>main .message .avatar[data-v-755436e0]{width:30px;height:30px;border-radius:50%}.chat>main .message .content[data-v-755436e0]{width:-moz-fit-content;width:fit-content;max-width:250px;font-weight:400;font-size:12px;color:#4c4c4d;line-height:20px;padding:10px;border-radius:10px;background-color:#fff}.chat>main .message .content .href[data-v-755436e0]{cursor:pointer;display:block;color:#ff575f;margin-bottom:.5rem}.chat>main .message .content .href[data-v-755436e0]:hover{text-decoration:underline}.chat>main .message .content>.based[data-v-755436e0]{cursor:pointer;color:#909399;display:flex;align-items:flex-start;justify-content:flex-start;border-top:1px solid #ebebed;padding-top:5px;margin-top:5px;gap:5px}.chat>main .message .content>.based>span[data-v-755436e0]:first-child{white-space:nowrap;color:#4c4c4d;border-radius:10px;background-color:#eeeef0;padding:0 7px}.chat>main .message .content>.based>span[data-v-755436e0]:last-child{width:100%;position:relative;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:12px}.chat>main .message .content>.based>span:last-child .el-icon-d-arrow-right[data-v-755436e0]{position:absolute;right:0;bottom:5px;transform:rotate(90deg);transition:all .35s linear}.chat>main .message .content>.based>span:last-child.is-active[data-v-755436e0]{overflow:visible;white-space:normal}.chat>main .message .content>.based>span:last-child.is-active .el-icon-d-arrow-right[data-v-755436e0]{transform:rotate(270deg)}.chat>main .message .content>.based>span[data-v-755436e0]:last-child:hover{color:#ff575f}.chat>main .message.admin[data-v-755436e0]{animation:animation01-755436e0 .3s linear 1.5s forwards}.chat>main .message.admin .content[data-v-755436e0]:before{content:"";position:absolute;top:2px;left:37px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent transparent #fff}.chat>main .message.personal[data-v-755436e0]{animation:animation01-755436e0 .3s linear .3s forwards;flex-direction:row-reverse}.chat>main .message.personal .content[data-v-755436e0]:after{content:"";position:absolute;top:2px;right:37px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent #fff transparent}@keyframes animation01-755436e0{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.chat>nav[data-v-755436e0]{background-color:#f7f7f9;border-bottom:1px solid #e7e7ea;padding:5px 10px;display:flex}.chat>nav .el-button[data-v-755436e0]{font-size:12px;font-weight:400;color:#4c4c4d;background-color:#fff!important;border:1px solid #e7e7ea;padding:5px 8px}.chat>.el-textarea[data-v-755436e0]{border-color:transparent}.chat>.el-textarea textarea[data-v-755436e0]{overflow-y:hidden;padding-right:65px;font-weight:400;color:#19191a;font-size:12px;font-family:Source Han Sans CN-Regular,Source Han Sans CN}.chat>.el-textarea textarea[data-v-755436e0],.chat>.el-textarea textarea[data-v-755436e0]:focus{border-color:transparent}.chat>.el-button[data-v-755436e0]{position:absolute;bottom:10px;right:10px}.customerService[data-v-849349a0]{position:fixed;right:0;bottom:35px;z-index:2001}.customerService>div[data-v-849349a0]{cursor:pointer;position:absolute;right:0;display:flex;align-items:center;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.customerService>div:hover>div[data-v-849349a0]:first-child{color:#ff4949}.customerService>div:hover>div:first-child i[data-v-849349a0]{animation-name:animateRotate-849349a0;animation-duration:.5s;animation-iteration-count:infinite}.customerService>div>div[data-v-849349a0]:first-child{width:50px;height:50px;text-align:center;line-height:50px;font-size:18px}.customerService>div>div[data-v-849349a0]:last-child{opacity:0;padding:10px;border-radius:6px;position:absolute;min-height:50px;display:flex;flex-direction:column;justify-content:space-around;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.customerService>div>div[data-v-849349a0]:last-child:after{content:"";position:absolute;top:calc(50% - 10px);right:-20px;border-width:10px;border-style:solid;border-color:transparent transparent transparent #fff;filter:drop-shadow(1px 1px 1px rgba(0,0,0,.2))}.customerService>div>div:last-child a[data-v-849349a0]{color:#333;font-size:14px;display:block}.customerService .mobile[data-v-849349a0]{bottom:50px;border-bottom:1px solid #e6ebf5}.customerService .mobile:hover>div[data-v-849349a0]:last-child{left:-210px;opacity:1;animation-name:animateMobile-849349a0;animation-duration:.5s}.customerService .mobile>div[data-v-849349a0]:last-child{left:-120vw;width:190px;bottom:0}.customerService .mobile>div:last-child a[data-v-849349a0]{width:-moz-fit-content;width:fit-content;position:relative;margin-top:5px;text-indent:5px}.customerService .mobile>div:last-child a[data-v-849349a0]:hover{color:#ff4949}.customerService .mobile>div:last-child a[data-v-849349a0]:hover:before{width:100%;right:auto;left:0}.customerService .mobile>div:last-child a[data-v-849349a0]:before{content:"";width:0;height:1px;opacity:.6;background:#ff4949;transition:all .5s linear;position:absolute;right:0;bottom:-2px}.customerService .mobile>div[data-v-849349a0]:last-child:after{top:calc(100% - 35px)}@keyframes animateMobile-849349a0{0%{left:-200vw;opacity:0}0.1%{left:-310px;opacity:0}to{left:-210px;opacity:1}}.customerService .headset[data-v-849349a0]{bottom:0}.customerService .headset:hover>div[data-v-849349a0]:last-child{left:-110px;opacity:1;animation-name:animateHeadset-849349a0;animation-duration:.5s}.customerService .headset>div[data-v-849349a0]:last-child{left:-120vw;width:90px}@keyframes animateHeadset-849349a0{0%{left:-120vw;opacity:0}0.1%{left:-210px;opacity:.5}to{left:-110px;opacity:1}}@keyframes animateRotate-849349a0{0%{transform:rotate(0deg)}20%{transform:rotate(7deg)}40%{transform:rotate(0deg)}80%{transform:rotate(-7deg)}to{transform:rotate(0deg)}}.YcQuestion[data-v-6185ef7a] .chatPage{background-color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage>header{height:8vw;display:flex;justify-content:flex-start;align-items:center;gap:5vw;padding-left:8vw}.YcQuestion[data-v-6185ef7a] .chatPage>header>div{display:flex;flex-direction:column;justify-content:center;align-items:center}.YcQuestion[data-v-6185ef7a] .chatPage>header>div h3{height:1vw;margin-top:0;font-size:2.125rem;font-weight:700;color:#191a2c;font-family:Source Han Sans CN-Bold,Source Han Sans CN}.YcQuestion[data-v-6185ef7a] .chatPage>header>div span{font-size:1rem;font-family:LXGW New Clear Gothic-Regular,LXGW New Clear Gothic;font-weight:400;color:#666}.YcQuestion[data-v-6185ef7a] .chatPage>header p{font-size:1rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#2e2f42}.YcQuestion[data-v-6185ef7a] .chatPage .main{display:flex}.YcQuestion[data-v-6185ef7a] .chatPage .main>div{width:74vw;position:relative}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main{height:62vh;overflow-y:auto;padding-bottom:2vw;background-color:#f7f7f9}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar{width:6px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar-track{background:#efefef;border-radius:2px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar-thumb{background:#ff8879;border-radius:10px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar-thumb:hover{background:#ff755d}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main>p{text-align:center;font-size:.875rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#909399}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message{display:flex;gap:15px;margin:1.5vw 1.5vw 0 1.5vw;opacity:0}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .avatar{width:2.5vw;height:2.5vw;min-width:35px;min-height:35px;border-radius:50%;transition:all .3s linear}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .avatar:focus,.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .avatar:hover{transform:scale(1.2) rotate(15deg)}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content{width:-moz-fit-content;width:fit-content;max-width:50vw;font-weight:400;font-size:1rem;color:#4c4c4d;padding:10px;border-radius:10px;position:relative;background-color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content .href{cursor:pointer;display:block;color:#ff575f;margin-bottom:1.5rem}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content .href:hover{text-decoration:underline}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based{cursor:pointer;font-size:1rem;font-weight:400;color:#909399;display:flex;align-items:flex-start;justify-content:flex-start;border-top:1px solid #ebebed;padding-top:.625rem;margin-top:.625rem;gap:.625rem}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:first-child{white-space:nowrap;color:#4c4c4d;border-radius:18px;background-color:#eeeef0;padding:.1875rem .625rem;margin-top:-.1875rem}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child{width:100%;position:relative;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:12px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child .el-icon-d-arrow-right{position:absolute;right:0;bottom:0;transform:rotate(90deg);transition:all .35s linear}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child.is-active{overflow:visible;white-space:normal}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child.is-active .el-icon-d-arrow-right{transform:rotate(270deg)}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child:hover{color:#ff575f}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin{animation:animation01-6185ef7a .3s linear 1.5s forwards}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin .content{margin-top:20px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin .content:before{content:"";position:absolute;top:2px;left:-10px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent transparent #fff}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin .content:after{content:"小优客服【38号为您服务】";width:200px;font-size:.875rem;font-family:Source Han Sans CN-Medium,Source Han Sans CN;font-weight:500;color:#8b8c8f;position:absolute;left:0;top:-20px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.personal{animation:animation01-6185ef7a .3s linear .3s forwards;flex-direction:row-reverse}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.personal .content:after{content:"";position:absolute;top:2px;right:-10px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent #fff transparent}@keyframes animation01-6185ef7a{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer{height:30vh;border:1px solid #e7e7ea}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea{border-color:transparent}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea textarea{overflow-y:hidden;font-weight:400;color:#19191a;font-size:1rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea textarea,.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea textarea:focus{border-color:transparent}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-button{float:right;z-index:1;font-size:.875rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;border-radius:4px;margin-right:2vw;width:5vw;min-width:92px}.YcQuestion[data-v-6185ef7a] .chatPage .main aside{width:26vw;height:calc(100vh - 8vw);padding:1vw;overflow-y:auto;background-color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header{color:#373a3c;font-size:1.5rem;font-weight:500;font-family:Source Han Sans CN-Medium,Source Han Sans CN;padding:2rem;background-color:red;background:linear-gradient(#ffdad4,#ffa9a3)}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header.is-active{color:#fff;background:linear-gradient(#ff897a,#ff645a)}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header.is-active i{color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header img{width:2.25rem;height:2.25rem;float:left;margin-left:-.5rem;margin-right:.5rem}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header i{font-size:2rem;color:#ff575f;font-weight:900}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content{font-size:1rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;padding:20px 20px 20px 40px;color:#000;background-color:#f7f7f9}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div{position:relative;margin-top:1rem;cursor:pointer;transition:all .3s linear}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:first-child{margin-top:0}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:before{content:"";position:absolute;top:5px;left:-15px;border-width:10px;border-style:solid;border-color:transparent transparent transparent #ffa9a3}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:hover{color:#ff575f;transform:translate(.5rem)}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:hover:before{border-color:transparent transparent transparent #ff575f}[data-v-30cb8b77] .el-input__prefix{display:flex;align-items:center;left:1.04vw}[data-v-30cb8b77] .el-form-item__error{font-size:.04vw}[data-v-30cb8b77] .el-input__icon{color:#409eff;width:.98vw;height:1.14vw}[data-v-30cb8b77] .el-input__inner{padding:0 3.64vw;height:2.81vw;font-size:1.04vw;border:.1vw solid #409eff}[data-v-30cb8b77] .el-input .el-input__clear{font-size:1.24vw}[data-v-30cb8b77] .el-input__suffix{right:1.04vw;top:.46vw}.el-form-item[data-v-30cb8b77]{margin-bottom:1.2vw;margin-top:1vw}.ca-download-box[data-v-30cb8b77]{display:flex;justify-content:right;align-items:center;margin:10px 0}.ca-download-box .ca-download-text[data-v-30cb8b77]{color:#53a8ff;font-size:14px;font-weight:400}.ca-download-box .ca-download-img[data-v-30cb8b77]{width:10px;height:10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAAAXNSR0IArs4c6QAAAN9JREFUKFO1kCFLAwEAhb8nysbApmkWk7aZBWGLB2q4NAVZFH/Cmr/Bos0yvHMwV4YYDAODUV0zzmIQhEsyxXuyiXLesq893oPH90ROYewTwUOnruNspKli5L7Fbbeu5j8XgyMXigvUuru6Gk+Fuekw8vbrI5cKWl4qzTLAnHd2dJAthrEjwfrnG5UJzNaZV+dmuAF6mOUxjMyaxMpoRLXX0NMv9Wbb5ULKHWZ+QiuG/qB2safnb5tR0PZiKWUAvCQJG9f7Sn7iqR+rpy72h7xzqPTPj2HslqCcPz7rDfdfePFgVfuzs40AAAAASUVORK5CYII=) no-repeat;background-size:100% 100%;margin-left:2px}.contentBox[data-v-30cb8b77]{width:100%;height:50px;margin-bottom:15px}.ca-bg-box[data-v-30cb8b77]{background-color:#ecf5ff;display:flex;align-items:center;justify-content:center;padding:30px 70px;position:relative;animation:fadeinout-30cb8b77 1s linear forwards}.ca-bg-box .ca-bg-img[data-v-30cb8b77]{width:97px;height:57px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAA5CAYAAADN7P46AAAAAXNSR0IArs4c6QAABq9JREFUeF7tnNlPG0ccx7+zRwwGzBGbkIQbAghIE9RWapq2VOqRJkoPSNM06nPe+txI+UMqVVXUh1aFSjnatM3VVEU9pPYhEqERhwlOuAqYGwcb492dahwMOBDbu2t2jdmREA/s7Pzm+5nfb2Z+P2OCldb6DX0RAj4FxVuEoBAAH/nbjvtNME2Ai5fOkPNGzZ0cv05tmfP4jADnQZBl1MApPY4ZIFrbaAsBvrYgrFsaJoHoIASvASApvUqNNM4MEKfa6TSAAiPnmfJjmQKijcog4FJeHCMNNAVEO6VGznE7jEWBKVB8eeUsuWCUveSUBWKD1hYIo5ZfnHFEnvpr8qS75xp9dwwxidI5yyM2UTpLpDhStIR3KwNbzoEQQimlgxYIC8SWLzbNA1geoVm65Ha0QCRXT81vs0Boli65HdWCUBQFc3ML8HgeIbi0jD1FLpSXl0AQh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B9tgVfFK/jKo8JepYy+48f47yuPVQxFRAWwyvyKNoqZVxqIiuJg49cwTX3Bw6x/VBYHNSA4JB8C34cP9+H3y+x2FJWGWuvLwYlVXlcY+wWw4CoHhpn4STlRLYMXd984eAy24RdycELGnIHbH0Rr2L4niVgqp8ioFZgpsDHLqnCGSNR9b19qkBwe4N/42Oo6cnujDkcOSEC0MZGSlws2apiA9rQni+iIWoxOMQu2WztPftRyI887zmEBYvLDzr72pAbJvCEEvysTxTRZ6y4WYdT6hOL4+fPSLYDdzIlpYg2AGyuVTC2+UhFKg85nr9BFf7RXROCJpPQFoApiUIJkS2+CT7eqhwY/Y1llDjiwRX3SLuTcb/WIoWwXdUaIpM9kC+HN4vSh3R9YhnicH2ib9GBdwZFDBp0IcGIrakrUewCbKTzsv7JRx0KnE3br9E0DfNoXNSCBeMjG5pDcJoMfWMpwbEtikM6RHErL5qQKRMYcgssbZyXDUgmB2mF4a2Ugwz360WhB5bDUhx6DHP3L4WCHP1Xx3dAmGBSBEFUsQMyyNSBARH6LzTTr+/8MLs50aYRGQ5aP177yZKW988YMTyS2AMU0C0tlOWzYldRkrA+LR6xIxvp2lto8OEoDithNQ7GTNAnGqj34HgtPUNZuvomQGipZ3WEIobhKDCgrECwwwQbOiWb+kRjsNXAGosGGEFjP+60YhDvneR5vBZeAcUzYQD85IU+0Sr3sCfeH9KsACK61c+Jl8k3kvfk/8DqrmIeknGwG8AAAAASUVORK5CYII=) no-repeat;background-size:100% 100%}@keyframes fadeinout-30cb8b77{0%{opacity:0}50%{opacity:.5}to{opacity:1}}.ca-bg-info[data-v-30cb8b77]{display:flex;padding:40px 70px 40px 25px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAB1CAYAAABgQbdJAAAAAXNSR0IArs4c6QAADKBJREFUeF7tndty2zoSRZu62klO/v8j52VOfIkli5xq+6RGx5aMpgRC2OBi1dQ8TItsrM14DXgBu/88DoOxQQACEIAABEYS6BDISGKUQwACEIDAG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P2I6XLJ5ieWQEUuZkvMFREMgNoJc4JAIpQdnvMR/y3GgOtNv3gz087696Qi1wmPwlCCQ/00r2iEAqCSJ3GwgkN9HT+0MgAc4IJABJswSBaOaW7BqBJBFlKUAgAYwIJABJswSBaOaW7BqBJBFlKUAgAYwIJABJswSBaOaW7BqBJBFlKUAgAYwIJABJswSBaOaW7BqBJBFlKUAgAYwIJABJswSBaOaW7BqBJBFlKUAgAYwIJABJswSBaOaW7BqBJBFlKUAgAYwIJABJswSBaOaW7BqBJBFlKSgukKed3nsgq411q/PrbmUJgp3chAACuQn26Q+KQKZnXPoI/sXfx13po3I8CJwngEAaPTsQSHvB9oPZw/66b6W0R4UR3ZIAArkl/QmPjUAmhHujXSOQG4HnsGcJIJBGTw4E0l6wCKS9TNVHhEDUEzzTPwJpL1gE0l6m6iNCIOoJIpBGE/w8LAQym6hlBopAZKIa1+hqYXa/Gvcbqusm4E9hPey4iV53SvPqDoE0nPfPbbFPVTRMsZ6hMQOpJws6eSeAQBo+E76tzZZdwwOc2dAQyMwCFxguAhEI6dIWF53Zj7XZcOkO+F1VBBBIVXHQDDOQ9s+Bu5XZetH+OOcwQgQyh5S1xsgMRCuvi7rlUtZF2Kr7EQKpLpLZN4RAZnIKbJdm/m4Imy4BnsLSza7VzhFIq8meGFfXmblI/JKW31vn3ohW+MxAtPKaQ7cIZA4pn5EJD2jphe8SYYNALQQQSC1J0AcEIAABMQIIRCww2oUABCBQCwEEUksS9AEBCEBAjAACEQuMdiEAAQjUQgCB1JIEfUAAAhAQI4BAxAKjXQhAAAK1EEAgtSRBHxCAAATECCAQscBoFwIQgEAtBBBILUnQBwQgAAExAghELDDahQAEIFALgf8B7COhu1qb5E4AAAAASUVORK5CYII=) no-repeat;background-size:100% 100%;animation:fadeinout-30cb8b77 1s linear forwards}.ca-bg-text[data-v-30cb8b77]{margin-left:15px;font-size:18px;font-weight:500;color:#53a8ff}.caName[data-v-30cb8b77]{margin-left:10px;color:#303133}.ca-refresh[data-v-30cb8b77]{position:absolute;top:6px;right:8px;width:25px;height:25px;cursor:pointer}.login-btn[data-v-30cb8b77]{height:2.81vw;font-size:1.04vw;font-weight:700;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAA2CAYAAADpjc+LAAAAAXNSR0IArs4c6QAAAz5JREFUeF7t2jtvznEYx+H7xiSxSAeTyWKwYzWIqnOVOp/PJF6BJkQQVIgKIQRxCkEqhDhO+gKMzERqMzb5SQcJU3t37fWMT/tt8r9yJ5+kz5MREYs/tDlTMvozYn5kdIy+50WAAAECBP4TaDHcMj7HSBx9tSi/ZeenNi8ihiJiOioCBAgQIDCWQIv4nRELs/NjG4yMrrEGfk6AAAECBP4ReJ5LPrVfGTETCwECBAgQGK9Ai/g5+i+sNt6B3yNAgAABAn8FBMQtECBAgMCEBARkQmxGBAgQICAgboAAAQIEJiQgIBNiMyJAgACB0a/x+hDdHRAgQIBAWSA73wtIWc2AAAECBCKXvhMQd0CAAAECdYHseisgdTYLAgQIEMhlbwTEGRAgQIBAXSCXvxaQOpsFAQIECOTyVwLiDAgQIECgLpArXgpInc2CAAECBHLlCwFxBgQIECBQF8hVgwJSZ7MgQIAAgVz9XECcAQECBAjUBXLNMwGps1kQIECAQHY/FRBnQIAAAQJ1gex+IiB1NgsCBAgQyLWPBcQZECBAgEBdIHseCUidzYIAAQIEct1DAXEGBAgQIFAXyPX3BaTOZkGAAAEC2XtPQJwBAQIECNQFsveugNTZLAgQIEAgN9wREGdAgAABAnWB3HhbQOpsFgQIECCQm24JiDMgQIAAgbpAbr4pIHU2CwIECBDILTcExBkQIECAQF0gt14XkDqbBQECBAjk1msC4gwIECBAoC6Q264KSJ3NggABAgRy+xUBcQYECBAgUBfIHQMCUmezIECAAIHceVlAnAEBAgQI1AVy1yUBqbNZECBAgEDuuiggzoAAAQIE6gK5+4KA1NksCBAgQCD39AuIMyBAgACBukDuPScgdTYLAgQIEMh9ZwXEGRAgQIBAXSD3nxGQOpsFAQIECOT+0wLiDAgQIECgLpAHTglInc2CAAECBPLgSQFxBgQIECBQF8hDJ9r3yJhVn1oQIECAwKQVaPEjDx9vDyOiZ9IieHACBAgQKAu0iAd55FibHVPjS0TMKP8FAwIECBCYdAKtxe9oMTdHn/xAX5szLeN8tlgQER2TTsMDEyBAgMB4BIZbxNBIxNGBvvz6B3Jvu/nasGSBAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%;border:none}
1
+ .el-dialog__wrapper[data-v-27550b14]{display:flex;justify-content:center;align-items:center}[data-v-27550b14] .el-dialog{margin-top:0!important;border-radius:8px}[data-v-27550b14] .el-dialog__header{background-color:#f2f6fc;border-radius:8px 8px 0 0}.el-dialog__body[data-v-27550b14]{display:flex;justify-content:center}.chat[data-v-755436e0]{width:350px;height:480px;position:fixed;bottom:10px;right:55px;z-index:2001;background-color:#fff;border-radius:12px;border:1px solid #e6ebf5;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);overflow:hidden}.chat>header[data-v-755436e0]{display:flex;justify-content:flex-start;align-items:center;background-color:#ff575f;font-size:16px;padding:10px;font-weight:400;color:#fafdff}.chat>header>img[data-v-755436e0]{width:44px;height:44px;border-radius:50%;margin-right:10px;transition:all .3s linear}.chat>header>img[data-v-755436e0]:focus,.chat>header>img[data-v-755436e0]:hover{transform:scale(1.2) rotate(15deg)}.chat>header i[data-v-755436e0]{cursor:pointer;position:absolute;top:5px;width:20px;height:20px;border-radius:6px;display:flex;justify-content:center;align-items:center;transition:all .3s linear}.chat>header i[data-v-755436e0]:focus,.chat>header i[data-v-755436e0]:hover{transform:scale(1.2);background-color:hsla(7,100%,74%,.8)}.chat>header i.el-icon-close[data-v-755436e0]{right:10px}.chat>header i.icon-enlarge[data-v-755436e0]{right:35px}.chat>header i>img[data-v-755436e0]{width:12px}.chat>main[data-v-755436e0]{width:100%;height:60%;overflow-y:auto;padding-bottom:20px;background-color:#f7f7f9}.chat>main[data-v-755436e0]::-webkit-scrollbar{width:6px}.chat>main[data-v-755436e0]::-webkit-scrollbar-track{background:#efefef;border-radius:2px}.chat>main[data-v-755436e0]::-webkit-scrollbar-thumb{background:#ff8879;border-radius:10px}.chat>main[data-v-755436e0]::-webkit-scrollbar-thumb:hover{background:#ff755d}.chat>main .message[data-v-755436e0]{display:flex;gap:15px;position:relative;margin:20px 5px 0 5px;opacity:0}.chat>main .message .avatar[data-v-755436e0]{width:30px;height:30px;border-radius:50%}.chat>main .message .content[data-v-755436e0]{width:-moz-fit-content;width:fit-content;max-width:250px;font-weight:400;font-size:12px;color:#4c4c4d;line-height:20px;padding:10px;border-radius:10px;background-color:#fff}.chat>main .message .content .href[data-v-755436e0]{cursor:pointer;display:block;color:#ff575f;margin-bottom:.5rem}.chat>main .message .content .href[data-v-755436e0]:hover{text-decoration:underline}.chat>main .message .content>.based[data-v-755436e0]{cursor:pointer;color:#909399;display:flex;align-items:flex-start;justify-content:flex-start;border-top:1px solid #ebebed;padding-top:5px;margin-top:5px;gap:5px}.chat>main .message .content>.based>span[data-v-755436e0]:first-child{white-space:nowrap;color:#4c4c4d;border-radius:10px;background-color:#eeeef0;padding:0 7px}.chat>main .message .content>.based>span[data-v-755436e0]:last-child{width:100%;position:relative;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:12px}.chat>main .message .content>.based>span:last-child .el-icon-d-arrow-right[data-v-755436e0]{position:absolute;right:0;bottom:5px;transform:rotate(90deg);transition:all .35s linear}.chat>main .message .content>.based>span:last-child.is-active[data-v-755436e0]{overflow:visible;white-space:normal}.chat>main .message .content>.based>span:last-child.is-active .el-icon-d-arrow-right[data-v-755436e0]{transform:rotate(270deg)}.chat>main .message .content>.based>span[data-v-755436e0]:last-child:hover{color:#ff575f}.chat>main .message.admin[data-v-755436e0]{animation:animation01-755436e0 .3s linear 1.5s forwards}.chat>main .message.admin .content[data-v-755436e0]:before{content:"";position:absolute;top:2px;left:37px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent transparent #fff}.chat>main .message.personal[data-v-755436e0]{animation:animation01-755436e0 .3s linear .3s forwards;flex-direction:row-reverse}.chat>main .message.personal .content[data-v-755436e0]:after{content:"";position:absolute;top:2px;right:37px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent #fff transparent}@keyframes animation01-755436e0{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.chat>nav[data-v-755436e0]{background-color:#f7f7f9;border-bottom:1px solid #e7e7ea;padding:5px 10px;display:flex}.chat>nav .el-button[data-v-755436e0]{font-size:12px;font-weight:400;color:#4c4c4d;background-color:#fff!important;border:1px solid #e7e7ea;padding:5px 8px}.chat>.el-textarea[data-v-755436e0]{border-color:transparent}.chat>.el-textarea textarea[data-v-755436e0]{overflow-y:hidden;padding-right:65px;font-weight:400;color:#19191a;font-size:12px;font-family:Source Han Sans CN-Regular,Source Han Sans CN}.chat>.el-textarea textarea[data-v-755436e0],.chat>.el-textarea textarea[data-v-755436e0]:focus{border-color:transparent}.chat>.el-button[data-v-755436e0]{position:absolute;bottom:10px;right:10px}.customerService[data-v-849349a0]{position:fixed;right:0;bottom:35px;z-index:2001}.customerService>div[data-v-849349a0]{cursor:pointer;position:absolute;right:0;display:flex;align-items:center;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.customerService>div:hover>div[data-v-849349a0]:first-child{color:#ff4949}.customerService>div:hover>div:first-child i[data-v-849349a0]{animation-name:animateRotate-849349a0;animation-duration:.5s;animation-iteration-count:infinite}.customerService>div>div[data-v-849349a0]:first-child{width:50px;height:50px;text-align:center;line-height:50px;font-size:18px}.customerService>div>div[data-v-849349a0]:last-child{opacity:0;padding:10px;border-radius:6px;position:absolute;min-height:50px;display:flex;flex-direction:column;justify-content:space-around;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.customerService>div>div[data-v-849349a0]:last-child:after{content:"";position:absolute;top:calc(50% - 10px);right:-20px;border-width:10px;border-style:solid;border-color:transparent transparent transparent #fff;filter:drop-shadow(1px 1px 1px rgba(0,0,0,.2))}.customerService>div>div:last-child a[data-v-849349a0]{color:#333;font-size:14px;display:block}.customerService .mobile[data-v-849349a0]{bottom:50px;border-bottom:1px solid #e6ebf5}.customerService .mobile:hover>div[data-v-849349a0]:last-child{left:-210px;opacity:1;animation-name:animateMobile-849349a0;animation-duration:.5s}.customerService .mobile>div[data-v-849349a0]:last-child{left:-120vw;width:190px;bottom:0}.customerService .mobile>div:last-child a[data-v-849349a0]{width:-moz-fit-content;width:fit-content;position:relative;margin-top:5px;text-indent:5px}.customerService .mobile>div:last-child a[data-v-849349a0]:hover{color:#ff4949}.customerService .mobile>div:last-child a[data-v-849349a0]:hover:before{width:100%;right:auto;left:0}.customerService .mobile>div:last-child a[data-v-849349a0]:before{content:"";width:0;height:1px;opacity:.6;background:#ff4949;transition:all .5s linear;position:absolute;right:0;bottom:-2px}.customerService .mobile>div[data-v-849349a0]:last-child:after{top:calc(100% - 35px)}@keyframes animateMobile-849349a0{0%{left:-200vw;opacity:0}0.1%{left:-310px;opacity:0}to{left:-210px;opacity:1}}.customerService .headset[data-v-849349a0]{bottom:0}.customerService .headset:hover>div[data-v-849349a0]:last-child{left:-110px;opacity:1;animation-name:animateHeadset-849349a0;animation-duration:.5s}.customerService .headset>div[data-v-849349a0]:last-child{left:-120vw;width:90px}@keyframes animateHeadset-849349a0{0%{left:-120vw;opacity:0}0.1%{left:-210px;opacity:.5}to{left:-110px;opacity:1}}@keyframes animateRotate-849349a0{0%{transform:rotate(0deg)}20%{transform:rotate(7deg)}40%{transform:rotate(0deg)}80%{transform:rotate(-7deg)}to{transform:rotate(0deg)}}.YcQuestion[data-v-6185ef7a] .chatPage{background-color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage>header{height:8vw;display:flex;justify-content:flex-start;align-items:center;gap:5vw;padding-left:8vw}.YcQuestion[data-v-6185ef7a] .chatPage>header>div{display:flex;flex-direction:column;justify-content:center;align-items:center}.YcQuestion[data-v-6185ef7a] .chatPage>header>div h3{height:1vw;margin-top:0;font-size:2.125rem;font-weight:700;color:#191a2c;font-family:Source Han Sans CN-Bold,Source Han Sans CN}.YcQuestion[data-v-6185ef7a] .chatPage>header>div span{font-size:1rem;font-family:LXGW New Clear Gothic-Regular,LXGW New Clear Gothic;font-weight:400;color:#666}.YcQuestion[data-v-6185ef7a] .chatPage>header p{font-size:1rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#2e2f42}.YcQuestion[data-v-6185ef7a] .chatPage .main{display:flex}.YcQuestion[data-v-6185ef7a] .chatPage .main>div{width:74vw;position:relative}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main{height:62vh;overflow-y:auto;padding-bottom:2vw;background-color:#f7f7f9}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar{width:6px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar-track{background:#efefef;border-radius:2px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar-thumb{background:#ff8879;border-radius:10px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main::-webkit-scrollbar-thumb:hover{background:#ff755d}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main>p{text-align:center;font-size:.875rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;color:#909399}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message{display:flex;gap:15px;margin:1.5vw 1.5vw 0 1.5vw;opacity:0}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .avatar{width:2.5vw;height:2.5vw;min-width:35px;min-height:35px;border-radius:50%;transition:all .3s linear}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .avatar:focus,.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .avatar:hover{transform:scale(1.2) rotate(15deg)}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content{width:-moz-fit-content;width:fit-content;max-width:50vw;font-weight:400;font-size:1rem;color:#4c4c4d;padding:10px;border-radius:10px;position:relative;background-color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content .href{cursor:pointer;display:block;color:#ff575f;margin-bottom:1.5rem}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content .href:hover{text-decoration:underline}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based{cursor:pointer;font-size:1rem;font-weight:400;color:#909399;display:flex;align-items:flex-start;justify-content:flex-start;border-top:1px solid #ebebed;padding-top:.625rem;margin-top:.625rem;gap:.625rem}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:first-child{white-space:nowrap;color:#4c4c4d;border-radius:18px;background-color:#eeeef0;padding:.1875rem .625rem;margin-top:-.1875rem}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child{width:100%;position:relative;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:12px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child .el-icon-d-arrow-right{position:absolute;right:0;bottom:0;transform:rotate(90deg);transition:all .35s linear}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child.is-active{overflow:visible;white-space:normal}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child.is-active .el-icon-d-arrow-right{transform:rotate(270deg)}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message .content>.based>span:last-child:hover{color:#ff575f}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin{animation:animation01-6185ef7a .3s linear 1.5s forwards}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin .content{margin-top:20px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin .content:before{content:"";position:absolute;top:2px;left:-10px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent transparent #fff}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.admin .content:after{content:"小优客服【38号为您服务】";width:200px;font-size:.875rem;font-family:Source Han Sans CN-Medium,Source Han Sans CN;font-weight:500;color:#8b8c8f;position:absolute;left:0;top:-20px}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.personal{animation:animation01-6185ef7a .3s linear .3s forwards;flex-direction:row-reverse}.YcQuestion[data-v-6185ef7a] .chatPage .main>div>main .message.personal .content:after{content:"";position:absolute;top:2px;right:-10px;transform:rotate(-45deg);border-width:10px;border-style:solid;border-color:transparent transparent #fff transparent}@keyframes animation01-6185ef7a{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer{height:30vh;border:1px solid #e7e7ea}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea{border-color:transparent}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea textarea{overflow-y:hidden;font-weight:400;color:#19191a;font-size:1rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea textarea,.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-textarea textarea:focus{border-color:transparent}.YcQuestion[data-v-6185ef7a] .chatPage .main>div footer>.el-button{float:right;z-index:1;font-size:.875rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;border-radius:4px;margin-right:2vw;width:5vw;min-width:92px}.YcQuestion[data-v-6185ef7a] .chatPage .main aside{width:26vw;height:calc(100vh - 8vw);padding:1vw;overflow-y:auto;background-color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header{color:#373a3c;font-size:1.5rem;font-weight:500;font-family:Source Han Sans CN-Medium,Source Han Sans CN;padding:2rem;background-color:red;background:linear-gradient(#ffdad4,#ffa9a3)}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header.is-active{color:#fff;background:linear-gradient(#ff897a,#ff645a)}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header.is-active i{color:#fff}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header img{width:2.25rem;height:2.25rem;float:left;margin-left:-.5rem;margin-right:.5rem}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__header i{font-size:2rem;color:#ff575f;font-weight:900}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content{font-size:1rem;font-family:Source Han Sans CN-Regular,Source Han Sans CN;font-weight:400;padding:20px 20px 20px 40px;color:#000;background-color:#f7f7f9}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div{position:relative;margin-top:1rem;cursor:pointer;transition:all .3s linear}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:first-child{margin-top:0}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:before{content:"";position:absolute;top:5px;left:-15px;border-width:10px;border-style:solid;border-color:transparent transparent transparent #ffa9a3}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:hover{color:#ff575f;transform:translate(.5rem)}.YcQuestion[data-v-6185ef7a] .chatPage .main aside .el-collapse-item__content>div:hover:before{border-color:transparent transparent transparent #ff575f}[data-v-eeb04946] .el-input__prefix{display:flex;align-items:center;left:1.04vw}[data-v-eeb04946] .el-form-item__error{font-size:.04vw}[data-v-eeb04946] .el-input__icon{color:#409eff;width:.98vw;height:1.14vw}[data-v-eeb04946] .el-input__inner{padding:0 3.64vw;height:2.81vw;font-size:1.04vw;border:.1vw solid #409eff}[data-v-eeb04946] .el-input .el-input__clear{font-size:1.24vw}[data-v-eeb04946] .el-input__suffix{right:1.04vw;top:.46vw}.el-form-item[data-v-eeb04946]{margin-bottom:1.2vw;margin-top:1vw}.ca-download-box[data-v-eeb04946]{display:flex;justify-content:right;align-items:center;margin:10px 0}.ca-download-box .ca-download-text[data-v-eeb04946]{color:#53a8ff;font-size:14px;font-weight:400}.ca-download-box .ca-download-img[data-v-eeb04946]{width:10px;height:10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAAAXNSR0IArs4c6QAAAN9JREFUKFO1kCFLAwEAhb8nysbApmkWk7aZBWGLB2q4NAVZFH/Cmr/Bos0yvHMwV4YYDAODUV0zzmIQhEsyxXuyiXLesq893oPH90ROYewTwUOnruNspKli5L7Fbbeu5j8XgyMXigvUuru6Gk+Fuekw8vbrI5cKWl4qzTLAnHd2dJAthrEjwfrnG5UJzNaZV+dmuAF6mOUxjMyaxMpoRLXX0NMv9Wbb5ULKHWZ+QiuG/qB2safnb5tR0PZiKWUAvCQJG9f7Sn7iqR+rpy72h7xzqPTPj2HslqCcPz7rDfdfePFgVfuzs40AAAAASUVORK5CYII=) no-repeat;background-size:100% 100%;margin-left:2px}.contentBox[data-v-eeb04946]{width:100%;height:50px;margin-bottom:15px}.ca-bg-box[data-v-eeb04946]{background-color:#ecf5ff;display:flex;align-items:center;justify-content:center;padding:30px 70px;position:relative;animation:fadeinout-eeb04946 1s linear forwards}.ca-bg-box .ca-bg-img[data-v-eeb04946]{width:97px;height:57px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAAA5CAYAAADN7P46AAAAAXNSR0IArs4c6QAABq9JREFUeF7tnNlPG0ccx7+zRwwGzBGbkIQbAghIE9RWapq2VOqRJkoPSNM06nPe+txI+UMqVVXUh1aFSjnatM3VVEU9pPYhEqERhwlOuAqYGwcb492dahwMOBDbu2t2jdmREA/s7Pzm+5nfb2Z+P2OCldb6DX0RAj4FxVuEoBAAH/nbjvtNME2Ai5fOkPNGzZ0cv05tmfP4jADnQZBl1MApPY4ZIFrbaAsBvrYgrFsaJoHoIASvASApvUqNNM4MEKfa6TSAAiPnmfJjmQKijcog4FJeHCMNNAVEO6VGznE7jEWBKVB8eeUsuWCUveSUBWKD1hYIo5Zfn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bNh2HhEx3WGjcGbS1TsCu5Qd3SeFUxmZT9VG2JG1Y1jA0AIHRaNS9U6Ko6UKXPY18SIQrvUzCETX5U4tCHZqevx4EUNDowguBVFY6MTefXvCdYl4LSmbdaxB9tgVfFK/jKo8JepYy+48f47yuPVQxFRAWwyvyKNoqZVxqIiuJg49cwTX3Bw6x/VBYHNSA4JB8C34cP9+H3y+x2FJWGWuvLwYlVXlcY+wWw4CoHhpn4STlRLYMXd984eAy24RdycELGnIHbH0Rr2L4niVgqp8ioFZgpsDHLqnCGSNR9b19qkBwe4N/42Oo6cnujDkcOSEC0MZGSlws2apiA9rQni+iIWoxOMQu2WztPftRyI887zmEBYvLDzr72pAbJvCEEvysTxTRZ6y4WYdT6hOL4+fPSLYDdzIlpYg2AGyuVTC2+UhFKg85nr9BFf7RXROCJpPQFoApiUIJkS2+CT7eqhwY/Y1llDjiwRX3SLuTcb/WIoWwXdUaIpM9kC+HN4vSh3R9YhnicH2ib9GBdwZFDBp0IcGIrakrUewCbKTzsv7JRx0KnE3br9E0DfNoXNSCBeMjG5pDcJoMfWMpwbEtikM6RHErL5qQKRMYcgssbZyXDUgmB2mF4a2Ugwz360WhB5bDUhx6DHP3L4WCHP1Xx3dAmGBSBEFUsQMyyNSBARH6LzTTr+/8MLs50aYRGQ5aP177yZKW988YMTyS2AMU0C0tlOWzYldRkrA+LR6xIxvp2lto8OEoDithNQ7GTNAnGqj34HgtPUNZuvomQGipZ3WEIobhKDCgrECwwwQbOiWb+kRjsNXAGosGGEFjP+60YhDvneR5vBZeAcUzYQD85IU+0Sr3sCfeH9KsACK61c+Jl8k3kvfk/8DqrmIeknGwG8AAAAASUVORK5CYII=) no-repeat;background-size:100% 100%}@keyframes fadeinout-eeb04946{0%{opacity:0}50%{opacity:.5}to{opacity:1}}.ca-bg-info[data-v-eeb04946]{display:flex;padding:40px 70px 40px 25px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAB1CAYAAABgQbdJAAAA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inout-eeb04946 1s linear forwards}.ca-bg-text[data-v-eeb04946]{margin-left:15px;font-size:18px;font-weight:500;color:#53a8ff}.caName[data-v-eeb04946]{margin-left:10px;color:#303133}.ca-refresh[data-v-eeb04946]{position:absolute;top:6px;right:8px;width:25px;height:25px;cursor:pointer}.ca-refresh.start[data-v-eeb04946]{animation:rotate-eeb04946 .7s linear}@keyframes rotate-eeb04946{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.login-btn[data-v-eeb04946]{height:2.81vw;font-size:1.04vw;font-weight:700;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAA2CAYAAADpjc+LAAAAAXNSR0IArs4c6QAAAz5JREFUeF7t2jtvznEYx+H7xiSxSAeTyWKwYzWIqnOVOp/PJF6BJkQQVIgKIQRxCkEqhDhO+gKMzERqMzb5SQcJU3t37fWMT/tt8r9yJ5+kz5MREYs/tDlTMvozYn5kdIy+50WAAAECBP4TaDHcMj7HSBx9tSi/ZeenNi8ihiJiOioCBAgQIDCWQIv4nRELs/NjG4yMrrEGfk6AAAECBP4ReJ5LPrVfGTETCwECBAgQGK9Ai/g5+i+sNt6B3yNAgAABAn8FBMQtECBAgMCEBARkQmxGBAgQICAgboAAAQIEJiQgIBNiMyJAgACB0a/x+hDdHRAgQIBAWSA73wtIWc2AAAECBCKXvhMQd0CAAAECdYHseisgdTYLAgQIEMhlbwTEGRAgQIBAXSCXvxaQOpsFAQIECOTyVwLiDAgQIECgLpArXgpInc2CAAECBHLlCwFxBgQIECBQF8hVgwJSZ7MgQIAAgVz9XECcAQECBAjUBXLNMwGps1kQIECAQHY/FRBnQIAAAQJ1gex+IiB1NgsCBAgQyLWPBcQZECBAgEBdIHseCUidzYIAAQIEct1DAXEGBAgQIFAXyPX3BaTOZkGAAAEC2XtPQJwBAQIECNQFsveugNTZLAgQIEAgN9wREGdAgAABAnWB3HhbQOpsFgQIECCQm24JiDMgQIAAgbpAbr4pIHU2CwIECBDILTcExBkQIECAQF0gt14XkDqbBQECBAjk1msC4gwIECBAoC6Q264KSJ3NggABAgRy+xUBcQYECBAgUBfIHQMCUmezIECAAIHceVlAnAEBAgQI1AVy1yUBqbNZECBAgEDuuiggzoAAAQIE6gK5+4KA1NksCBAgQCD39AuIMyBAgACBukDuPScgdTYLAgQIEMh9ZwXEGRAgQIBAXSD3nxGQOpsFAQIECOT+0wLiDAgQIECgLpAHTglInc2CAAECBPLgSQFxBgQIECBQF8hDJ9r3yJhVn1oQIECAwKQVaPEjDx9vDyOiZ9IieHACBAgQKAu0iAd55FibHVPjS0TMKP8FAwIECBCYdAKtxe9oMTdHn/xAX5szLeN8tlgQER2TTsMDEyBAgMB4BIZbxNBIxNGBvvz6B3Jvu/nasGSBAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%;border:none}
@@ -0,0 +1,442 @@
1
+ "use strict";
2
+ ((typeof self !== 'undefined' ? self : this)["webpackChunkyc_ui2"] = (typeof self !== 'undefined' ? self : this)["webpackChunkyc_ui2"] || []).push([[774],{
3
+
4
+ /***/ 6774:
5
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
+
7
+ // ESM COMPAT FLAG
8
+ __webpack_require__.r(__webpack_exports__);
9
+
10
+ // EXPORTS
11
+ __webpack_require__.d(__webpack_exports__, {
12
+ "default": function() { return /* binding */ slide_verify; }
13
+ });
14
+
15
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=template&id=b67196d8&scoped=true&
16
+ var render = function render() {
17
+ var _vm = this,
18
+ _c = _vm._self._c;
19
+ return _c('div', {
20
+ staticClass: "slide-verify",
21
+ style: {
22
+ width: _vm.w + 'px'
23
+ },
24
+ attrs: {
25
+ "id": "slideVerify",
26
+ "onselectstart": "return false;"
27
+ }
28
+ }, [_c('div', {
29
+ class: {
30
+ 'slider-verify-loading': _vm.loadBlock
31
+ }
32
+ }), _c('canvas', {
33
+ ref: "canvas",
34
+ attrs: {
35
+ "width": _vm.w,
36
+ "height": _vm.h
37
+ }
38
+ }), _vm.show ? _c('div', {
39
+ staticClass: "slide-verify-refresh-icon",
40
+ on: {
41
+ "click": _vm.refresh
42
+ }
43
+ }) : _vm._e(), _c('canvas', {
44
+ ref: "block",
45
+ staticClass: "slide-verify-block",
46
+ attrs: {
47
+ "width": _vm.w,
48
+ "height": _vm.h
49
+ }
50
+ }), _c('div', {
51
+ staticClass: "slide-verify-slider",
52
+ class: {
53
+ 'container-active': _vm.containerActive,
54
+ 'container-success': _vm.containerSuccess,
55
+ 'container-fail': _vm.containerFail
56
+ }
57
+ }, [_c('div', {
58
+ staticClass: "slide-verify-slider-mask",
59
+ style: {
60
+ width: _vm.sliderMaskWidth
61
+ }
62
+ }, [_c('div', {
63
+ staticClass: "slide-verify-slider-mask-item",
64
+ style: {
65
+ left: _vm.sliderLeft
66
+ },
67
+ on: {
68
+ "mousedown": _vm.sliderDown,
69
+ "touchstart": _vm.touchStartEvent,
70
+ "touchmove": function ($event) {
71
+ return _vm.handleMoveEvent($event, 'touch');
72
+ },
73
+ "touchend": function ($event) {
74
+ return _vm.handleMoveEndEvent($event, 'touch');
75
+ }
76
+ }
77
+ }, [_c('div', {
78
+ staticClass: "slide-verify-slider-mask-item-icon"
79
+ })])]), _c('span', {
80
+ staticClass: "slide-verify-slider-text"
81
+ }, [_vm._v(_vm._s(_vm.sliderText))])])]);
82
+ };
83
+ var staticRenderFns = [];
84
+
85
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
86
+ var es_array_push = __webpack_require__(7658);
87
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=script&lang=js&
88
+
89
+ const PI = Math.PI;
90
+ function sum(x, y) {
91
+ return x + y;
92
+ }
93
+ function square(x) {
94
+ return x * x;
95
+ }
96
+ /* harmony default export */ var slide_verifyvue_type_script_lang_js_ = ({
97
+ name: "SlideVerify",
98
+ props: {
99
+ // block length
100
+ l: {
101
+ type: Number,
102
+ default: 42
103
+ },
104
+ // block radius
105
+ r: {
106
+ type: Number,
107
+ default: 10
108
+ },
109
+ // canvas width
110
+ w: {
111
+ type: Number,
112
+ default: 310
113
+ },
114
+ // canvas height
115
+ h: {
116
+ type: Number,
117
+ default: 155
118
+ },
119
+ sliderText: {
120
+ type: String,
121
+ default: "Slide filled right"
122
+ },
123
+ accuracy: {
124
+ type: Number,
125
+ default: 5 // 若为 -1 则不进行机器判断
126
+ },
127
+
128
+ show: {
129
+ type: Boolean,
130
+ default: true
131
+ },
132
+ imgs: {
133
+ type: Array,
134
+ default: () => []
135
+ }
136
+ },
137
+ data() {
138
+ return {
139
+ containerActive: false,
140
+ // container active class
141
+ containerSuccess: false,
142
+ // container success class
143
+ containerFail: false,
144
+ // container fail class
145
+ canvasCtx: null,
146
+ blockCtx: null,
147
+ block: null,
148
+ block_x: undefined,
149
+ // container random position
150
+ block_y: undefined,
151
+ L: this.l + this.r * 2 + 3,
152
+ // block real length
153
+ img: undefined,
154
+ originX: undefined,
155
+ originY: undefined,
156
+ isMouseDown: false,
157
+ trail: [],
158
+ sliderLeft: 0,
159
+ // block right offset
160
+ sliderMaskWidth: 0,
161
+ // mask width,
162
+ success: false,
163
+ // Bug Fixes 修复了验证成功后还能滑动
164
+ loadBlock: true,
165
+ // Features 图片加载提示,防止图片没加载完就开始验证
166
+ timestamp: null
167
+ };
168
+ },
169
+ mounted() {
170
+ this.init();
171
+ },
172
+ methods: {
173
+ init() {
174
+ this.initDom();
175
+ this.initImg();
176
+ this.bindEvents();
177
+ },
178
+ initDom() {
179
+ this.block = this.$refs.block;
180
+ this.canvasCtx = this.$refs.canvas.getContext("2d");
181
+ this.blockCtx = this.block.getContext("2d");
182
+ },
183
+ initImg() {
184
+ const img = this.createImg(() => {
185
+ // 图片加载完关闭遮蔽罩
186
+ this.loadBlock = false;
187
+ this.drawBlock();
188
+ this.canvasCtx.drawImage(img, 0, 0, this.w, this.h);
189
+ this.blockCtx.drawImage(img, 0, 0, this.w, this.h);
190
+ let {
191
+ block_x: x,
192
+ block_y: y,
193
+ r,
194
+ L
195
+ } = this;
196
+ let _y = y - r * 2 - 1;
197
+ let ImageData = this.blockCtx.getImageData(x, _y, L, L);
198
+ this.block.width = L;
199
+ this.blockCtx.putImageData(ImageData, 0, _y);
200
+ });
201
+ this.img = img;
202
+ },
203
+ drawBlock() {
204
+ this.block_x = this.getRandomNumberByRange(this.L + 10, this.w - (this.L + 10));
205
+ this.block_y = this.getRandomNumberByRange(10 + this.r * 2, this.h - (this.L + 10));
206
+ this.draw(this.canvasCtx, this.block_x, this.block_y, "fill");
207
+ this.draw(this.blockCtx, this.block_x, this.block_y, "clip");
208
+ },
209
+ draw(ctx, x, y, operation) {
210
+ let {
211
+ l,
212
+ r
213
+ } = this;
214
+ ctx.beginPath();
215
+ ctx.moveTo(x, y);
216
+ ctx.arc(x + l / 2, y - r + 2, r, 0.72 * PI, 2.26 * PI);
217
+ ctx.lineTo(x + l, y);
218
+ ctx.arc(x + l + r - 2, y + l / 2, r, 1.21 * PI, 2.78 * PI);
219
+ ctx.lineTo(x + l, y + l);
220
+ ctx.lineTo(x, y + l);
221
+ ctx.arc(x + r - 2, y + l / 2, r + 0.4, 2.76 * PI, 1.24 * PI, true);
222
+ ctx.lineTo(x, y);
223
+ ctx.lineWidth = 2;
224
+ ctx.fillStyle = "rgba(255, 255, 255, 0.7)";
225
+ ctx.strokeStyle = "rgba(255, 255, 255, 0.7)";
226
+ ctx.stroke();
227
+ ctx[operation]();
228
+ // Bug Fixes 修复了火狐和ie显示问题
229
+ ctx.globalCompositeOperation = "destination-over";
230
+ },
231
+ createImg(onload) {
232
+ const img = document.createElement("img");
233
+ img.crossOrigin = "Anonymous";
234
+ img.onload = onload;
235
+ img.onerror = () => {
236
+ img.src = this.getRandomImg();
237
+ };
238
+ img.src = this.getRandomImg();
239
+ return img;
240
+ },
241
+ // 随机生成img src
242
+ getRandomImg() {
243
+ // return require('../assets/img.jpg')
244
+ const len = this.imgs.length;
245
+ return len > 0 ? this.imgs[this.getRandomNumberByRange(0, len - 1)] :
246
+ // "https://bing.ioliu.cn/v1/rand?w=300&h=150";
247
+ "https://source.unsplash.com/300x150/?book,library";
248
+ // "https://api.dujin.org/pic/fengjing";
249
+ },
250
+
251
+ getRandomNumberByRange(start, end) {
252
+ return Math.round(Math.random() * (end - start) + start);
253
+ },
254
+ refresh() {
255
+ this.reset();
256
+ this.$emit("refresh");
257
+ },
258
+ sliderDown(event) {
259
+ if (this.success) return;
260
+ this.originX = event.clientX;
261
+ this.originY = event.clientY;
262
+ this.isMouseDown = true;
263
+ this.timestamp = +new Date();
264
+ },
265
+ touchStartEvent(e) {
266
+ if (this.success) return;
267
+ this.originX = e.changedTouches[0].pageX;
268
+ this.originY = e.changedTouches[0].pageY;
269
+ this.isMouseDown = true;
270
+ this.timestamp = +new Date();
271
+ },
272
+ bindEvents() {
273
+ document.addEventListener("mousemove", this.handleMoveEvent);
274
+ document.addEventListener("mouseup", this.handleMoveEndEvent);
275
+ },
276
+ // 处理函数抽离
277
+ handleMoveEvent: throttle(function (e, type = "mouse") {
278
+ if (!this.isMouseDown) return false;
279
+ const moveX = type === "mouse" ? e.clientX - this.originX : e.changedTouches[0].pageX - this.originX;
280
+ const moveY = type === "mouse" ? e.clientY - this.originY : e.changedTouches[0].pageY - this.originY;
281
+ if (moveX < 0 || moveX + 38 >= this.w) return false;
282
+ this.sliderLeft = moveX + "px";
283
+ let blockLeft = (this.w - 40 - 20) / (this.w - 40) * moveX;
284
+ this.block.style.left = blockLeft + "px";
285
+ this.containerActive = true; // add active
286
+ this.sliderMaskWidth = moveX + "px";
287
+ this.trail.push(moveY);
288
+ }),
289
+ handleMoveEndEvent(e, type = "mouse") {
290
+ if (!this.isMouseDown) return false;
291
+ this.isMouseDown = false;
292
+ if (type === "mouse" && e.clientX === this.originX || type === "touch" && e.changedTouches[0].pageX === this.originX) return false;
293
+ this.containerActive = false; // remove active
294
+ this.timestamp = +new Date() - this.timestamp;
295
+ const {
296
+ spliced,
297
+ TuringTest
298
+ } = this.verify();
299
+ if (spliced) {
300
+ if (this.accuracy === -1) {
301
+ this.containerSuccess = true;
302
+ this.success = true;
303
+ this.$emit("success", this.timestamp);
304
+ return;
305
+ }
306
+ if (TuringTest) {
307
+ // succ
308
+ this.containerSuccess = true;
309
+ this.success = true;
310
+ this.$emit("success", this.timestamp);
311
+ } else {
312
+ this.containerFail = true;
313
+ this.$emit("again");
314
+ }
315
+ } else {
316
+ this.containerFail = true;
317
+ this.$emit("fail");
318
+ setTimeout(() => {
319
+ this.reset();
320
+ }, 1000);
321
+ }
322
+ },
323
+ verify() {
324
+ const arr = this.trail; // drag y move distance
325
+ const average = arr.reduce(sum) / arr.length; // average
326
+ const deviations = arr.map(x => x - average); // deviation array
327
+ const stddev = Math.sqrt(deviations.map(square).reduce(sum) / arr.length); // standard deviation
328
+ const left = parseInt(this.block.style.left);
329
+ const accuracy = this.accuracy <= 1 ? 1 : this.accuracy > 10 ? 10 : this.accuracy;
330
+ return {
331
+ spliced: Math.abs(left - this.block_x) <= accuracy,
332
+ TuringTest: average !== stddev // equal => not person operate
333
+ };
334
+ },
335
+
336
+ reset() {
337
+ this.success = false;
338
+ this.containerActive = false;
339
+ this.containerSuccess = false;
340
+ this.containerFail = false;
341
+ this.sliderLeft = 0;
342
+ this.block.style.left = 0;
343
+ this.sliderMaskWidth = 0;
344
+ // canvas
345
+ let {
346
+ w,
347
+ h
348
+ } = this;
349
+ this.canvasCtx.clearRect(0, 0, w, h);
350
+ this.blockCtx.clearRect(0, 0, w, h);
351
+ this.block.width = w;
352
+
353
+ // generate img
354
+ this.img.src = this.getRandomImg();
355
+ this.$emit("fulfilled");
356
+ }
357
+ },
358
+ destroyed() {
359
+ document.removeEventListener("mousemove", this.handleMoveEvent);
360
+ document.removeEventListener("mouseup", this.handleMoveEndEvent);
361
+ }
362
+ });
363
+ function throttle(fn, interval = 50, options = {
364
+ leading: true,
365
+ trailing: true
366
+ }) {
367
+ const {
368
+ leading,
369
+ trailing,
370
+ resultCallback
371
+ } = options;
372
+ let lastTime = 0;
373
+ let timer = null;
374
+ const _throttle = function (...args) {
375
+ return new Promise((resolve, reject) => {
376
+ const nowTime = new Date().getTime();
377
+ if (!lastTime && !leading) lastTime = nowTime;
378
+ const remainTime = interval - (nowTime - lastTime);
379
+ if (remainTime <= 0) {
380
+ if (timer) {
381
+ clearTimeout(timer);
382
+ timer = null;
383
+ }
384
+ const result = fn.apply(this, args);
385
+ if (resultCallback) resultCallback(result);
386
+ resolve(result);
387
+ lastTime = nowTime;
388
+ return;
389
+ }
390
+ if (trailing && !timer) {
391
+ timer = setTimeout(() => {
392
+ timer = null;
393
+ lastTime = !leading ? 0 : new Date().getTime();
394
+ const result = fn.apply(this, args);
395
+ if (resultCallback) resultCallback(result);
396
+ resolve(result);
397
+ }, remainTime);
398
+ }
399
+ });
400
+ };
401
+ _throttle.cancel = function () {
402
+ if (timer) clearTimeout(timer);
403
+ timer = null;
404
+ lastTime = 0;
405
+ };
406
+ return _throttle;
407
+ }
408
+ ;// CONCATENATED MODULE: ./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=script&lang=js&
409
+ /* harmony default export */ var lib_slide_verifyvue_type_script_lang_js_ = (slide_verifyvue_type_script_lang_js_);
410
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=style&index=0&id=b67196d8&prod&scoped=true&lang=css&
411
+ // extracted by mini-css-extract-plugin
412
+
413
+ ;// CONCATENATED MODULE: ./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?vue&type=style&index=0&id=b67196d8&prod&scoped=true&lang=css&
414
+
415
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
416
+ var componentNormalizer = __webpack_require__(1001);
417
+ ;// CONCATENATED MODULE: ./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue
418
+
419
+
420
+
421
+ ;
422
+
423
+
424
+ /* normalize component */
425
+
426
+ var component = (0,componentNormalizer/* default */.Z)(
427
+ lib_slide_verifyvue_type_script_lang_js_,
428
+ render,
429
+ staticRenderFns,
430
+ false,
431
+ null,
432
+ "b67196d8",
433
+ null
434
+
435
+ )
436
+
437
+ /* harmony default export */ var slide_verify = (component.exports);
438
+
439
+ /***/ })
440
+
441
+ }]);
442
+ //# sourceMappingURL=yc-ui2.umd.774.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yc-ui2.umd.774.js","mappings":";;;;;;;;;;;;;;;AAAA,IAAIA,MAAM,GAAG,SAASA,MAAMA,CAAA,EAAE;EAAC,IAAIC,GAAG,GAAC,IAAI;IAACC,EAAE,GAACD,GAAG,CAACE,KAAK,CAACD,EAAE;EAAC,OAAOA,EAAE,CAAC,KAAK,EAAC;IAACE,WAAW,EAAC,cAAc;IAACC,KAAK,EAAE;MAAEC,KAAK,EAAEL,GAAG,CAACM,CAAC,GAAG;IAAK,CAAE;IAACC,KAAK,EAAC;MAAC,IAAI,EAAC,aAAa;MAAC,eAAe,EAAC;IAAe;EAAC,CAAC,EAAC,CAACN,EAAE,CAAC,KAAK,EAAC;IA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S,YAAA,CAAAT,KAAA;IACAA,KAAA;IACAD,QAAA;EACA;EAEA,OAAAE,SAAA;AACA;;AC1W6N,CAAC,6EAAe,oCAAG,EAAC;;ACAjP;;;;;;;AEAuG;AACvC;AACL;AAC3D,CAAqG;;;AAGrG;AACyF;AACzF,gBAAgB,sCAAU;AAC1B,EAAE,wCAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,iDAAe","sources":["webpack://yc-ui2/./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue","webpack://yc-ui2/node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue","webpack://yc-ui2/./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?2d70","webpack://yc-ui2/./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?2bef","webpack://yc-ui2/./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?ab96","webpack://yc-ui2/./node_modules/vue-monoplasty-slide-verify/src/lib/slide-verify.vue?90e5"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"slide-verify\",style:({ width: _vm.w + 'px' }),attrs:{\"id\":\"slideVerify\",\"onselectstart\":\"return false;\"}},[_c('div',{class:{ 'slider-verify-loading': _vm.loadBlock }}),_c('canvas',{ref:\"canvas\",attrs:{\"width\":_vm.w,\"height\":_vm.h}}),(_vm.show)?_c('div',{staticClass:\"slide-verify-refresh-icon\",on:{\"click\":_vm.refresh}}):_vm._e(),_c('canvas',{ref:\"block\",staticClass:\"slide-verify-block\",attrs:{\"width\":_vm.w,\"height\":_vm.h}}),_c('div',{staticClass:\"slide-verify-slider\",class:{\n 'container-active': _vm.containerActive,\n 'container-success': _vm.containerSuccess,\n 'container-fail': _vm.containerFail\n }},[_c('div',{staticClass:\"slide-verify-slider-mask\",style:({ width: _vm.sliderMaskWidth })},[_c('div',{staticClass:\"slide-verify-slider-mask-item\",style:({ left: _vm.sliderLeft }),on:{\"mousedown\":_vm.sliderDown,\"touchstart\":_vm.touchStartEvent,\"touchmove\":function($event){return _vm.handleMoveEvent($event, 'touch')},\"touchend\":function($event){return _vm.handleMoveEndEvent($event, 'touch')}}},[_c('div',{staticClass:\"slide-verify-slider-mask-item-icon\"})])]),_c('span',{staticClass:\"slide-verify-slider-text\"},[_vm._v(_vm._s(_vm.sliderText))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div\n class=\"slide-verify\"\n :style=\"{ width: w + 'px' }\"\n id=\"slideVerify\"\n onselectstart=\"return false;\"\n >\n <!-- 图片加载遮蔽罩 -->\n <div :class=\"{ 'slider-verify-loading': loadBlock }\"></div>\n <canvas :width=\"w\" :height=\"h\" ref=\"canvas\"></canvas>\n <div v-if=\"show\" @click=\"refresh\" class=\"slide-verify-refresh-icon\"></div>\n <canvas\n :width=\"w\"\n :height=\"h\"\n ref=\"block\"\n class=\"slide-verify-block\"\n ></canvas>\n <!-- container -->\n <div\n class=\"slide-verify-slider\"\n :class=\"{\n 'container-active': containerActive,\n 'container-success': containerSuccess,\n 'container-fail': containerFail\n }\"\n >\n <div class=\"slide-verify-slider-mask\" :style=\"{ width: sliderMaskWidth }\">\n <!-- slider -->\n <div\n @mousedown=\"sliderDown\"\n @touchstart=\"touchStartEvent\"\n @touchmove=\"handleMoveEvent($event, 'touch')\"\n @touchend=\"handleMoveEndEvent($event, 'touch')\"\n class=\"slide-verify-slider-mask-item\"\n :style=\"{ left: sliderLeft }\"\n >\n <div class=\"slide-verify-slider-mask-item-icon\"></div>\n </div>\n </div>\n <span class=\"slide-verify-slider-text\">{{ sliderText }}</span>\n </div>\n </div>\n</template>\n<script>\nconst PI = Math.PI;\n\nfunction sum(x, y) {\n return x + y;\n}\n\nfunction square(x) {\n return x * x;\n}\nexport default {\n name: \"SlideVerify\",\n props: {\n // block length\n l: {\n type: Number,\n default: 42\n },\n // block radius\n r: {\n type: Number,\n default: 10\n },\n // canvas width\n w: {\n type: Number,\n default: 310\n },\n // canvas height\n h: {\n type: Number,\n default: 155\n },\n sliderText: {\n type: String,\n default: \"Slide filled right\"\n },\n accuracy: {\n type: Number,\n default: 5 // 若为 -1 则不进行机器判断\n },\n show: {\n type: Boolean,\n default: true\n },\n imgs: {\n type: Array,\n default: () => []\n }\n },\n data() {\n return {\n containerActive: false, // container active class\n containerSuccess: false, // container success class\n containerFail: false, // container fail class\n canvasCtx: null,\n blockCtx: null,\n block: null,\n block_x: undefined, // container random position\n block_y: undefined,\n L: this.l + this.r * 2 + 3, // block real length\n img: undefined,\n originX: undefined,\n originY: undefined,\n isMouseDown: false,\n trail: [],\n sliderLeft: 0, // block right offset\n sliderMaskWidth: 0, // mask width,\n success: false, // Bug Fixes 修复了验证成功后还能滑动\n loadBlock: true, // Features 图片加载提示,防止图片没加载完就开始验证\n timestamp: null\n };\n },\n mounted() {\n this.init();\n },\n methods: {\n init() {\n this.initDom();\n this.initImg();\n this.bindEvents();\n },\n initDom() {\n this.block = this.$refs.block;\n this.canvasCtx = this.$refs.canvas.getContext(\"2d\");\n this.blockCtx = this.block.getContext(\"2d\");\n },\n initImg() {\n const img = this.createImg(() => {\n // 图片加载完关闭遮蔽罩\n this.loadBlock = false;\n this.drawBlock();\n this.canvasCtx.drawImage(img, 0, 0, this.w, this.h);\n this.blockCtx.drawImage(img, 0, 0, this.w, this.h);\n let { block_x: x, block_y: y, r, L } = this;\n let _y = y - r * 2 - 1;\n let ImageData = this.blockCtx.getImageData(x, _y, L, L);\n this.block.width = L;\n this.blockCtx.putImageData(ImageData, 0, _y);\n });\n this.img = img;\n },\n drawBlock() {\n this.block_x = this.getRandomNumberByRange(\n this.L + 10,\n this.w - (this.L + 10)\n );\n this.block_y = this.getRandomNumberByRange(\n 10 + this.r * 2,\n this.h - (this.L + 10)\n );\n this.draw(this.canvasCtx, this.block_x, this.block_y, \"fill\");\n this.draw(this.blockCtx, this.block_x, this.block_y, \"clip\");\n },\n draw(ctx, x, y, operation) {\n let { l, r } = this;\n ctx.beginPath();\n ctx.moveTo(x, y);\n ctx.arc(x + l / 2, y - r + 2, r, 0.72 * PI, 2.26 * PI);\n ctx.lineTo(x + l, y);\n ctx.arc(x + l + r - 2, y + l / 2, r, 1.21 * PI, 2.78 * PI);\n ctx.lineTo(x + l, y + l);\n ctx.lineTo(x, y + l);\n ctx.arc(x + r - 2, y + l / 2, r + 0.4, 2.76 * PI, 1.24 * PI, true);\n ctx.lineTo(x, y);\n ctx.lineWidth = 2;\n ctx.fillStyle = \"rgba(255, 255, 255, 0.7)\";\n ctx.strokeStyle = \"rgba(255, 255, 255, 0.7)\";\n ctx.stroke();\n ctx[operation]();\n // Bug Fixes 修复了火狐和ie显示问题\n ctx.globalCompositeOperation = \"destination-over\";\n },\n createImg(onload) {\n const img = document.createElement(\"img\");\n img.crossOrigin = \"Anonymous\";\n img.onload = onload;\n img.onerror = () => {\n img.src = this.getRandomImg();\n };\n img.src = this.getRandomImg();\n return img;\n },\n // 随机生成img src\n getRandomImg() {\n // return require('../assets/img.jpg')\n const len = this.imgs.length;\n return len > 0\n ? this.imgs[this.getRandomNumberByRange(0, len - 1)]\n : // \"https://bing.ioliu.cn/v1/rand?w=300&h=150\";\n \"https://source.unsplash.com/300x150/?book,library\";\n // \"https://api.dujin.org/pic/fengjing\";\n },\n getRandomNumberByRange(start, end) {\n return Math.round(Math.random() * (end - start) + start);\n },\n refresh() {\n this.reset();\n this.$emit(\"refresh\");\n },\n sliderDown(event) {\n if (this.success) return;\n this.originX = event.clientX;\n this.originY = event.clientY;\n this.isMouseDown = true;\n this.timestamp = +new Date();\n },\n touchStartEvent(e) {\n if (this.success) return;\n this.originX = e.changedTouches[0].pageX;\n this.originY = e.changedTouches[0].pageY;\n this.isMouseDown = true;\n this.timestamp = +new Date();\n },\n bindEvents() {\n document.addEventListener(\"mousemove\", this.handleMoveEvent);\n document.addEventListener(\"mouseup\", this.handleMoveEndEvent);\n },\n // 处理函数抽离\n handleMoveEvent: throttle(function(e, type = \"mouse\") {\n if (!this.isMouseDown) return false;\n const moveX =\n type === \"mouse\"\n ? e.clientX - this.originX\n : e.changedTouches[0].pageX - this.originX;\n const moveY =\n type === \"mouse\"\n ? e.clientY - this.originY\n : e.changedTouches[0].pageY - this.originY;\n if (moveX < 0 || moveX + 38 >= this.w) return false;\n this.sliderLeft = moveX + \"px\";\n let blockLeft = ((this.w - 40 - 20) / (this.w - 40)) * moveX;\n this.block.style.left = blockLeft + \"px\";\n\n this.containerActive = true; // add active\n this.sliderMaskWidth = moveX + \"px\";\n this.trail.push(moveY);\n }),\n handleMoveEndEvent(e, type = \"mouse\") {\n if (!this.isMouseDown) return false;\n this.isMouseDown = false;\n if (\n (type === \"mouse\" && e.clientX === this.originX) ||\n (type === \"touch\" && e.changedTouches[0].pageX === this.originX)\n )\n return false;\n this.containerActive = false; // remove active\n this.timestamp = +new Date() - this.timestamp;\n\n const { spliced, TuringTest } = this.verify();\n if (spliced) {\n if (this.accuracy === -1) {\n this.containerSuccess = true;\n this.success = true;\n this.$emit(\"success\", this.timestamp);\n return;\n }\n if (TuringTest) {\n // succ\n this.containerSuccess = true;\n this.success = true;\n this.$emit(\"success\", this.timestamp);\n } else {\n this.containerFail = true;\n this.$emit(\"again\");\n }\n } else {\n this.containerFail = true;\n this.$emit(\"fail\");\n setTimeout(() => {\n this.reset();\n }, 1000);\n }\n },\n verify() {\n const arr = this.trail; // drag y move distance\n const average = arr.reduce(sum) / arr.length; // average\n const deviations = arr.map(x => x - average); // deviation array\n const stddev = Math.sqrt(deviations.map(square).reduce(sum) / arr.length); // standard deviation\n const left = parseInt(this.block.style.left);\n const accuracy =\n this.accuracy <= 1 ? 1 : this.accuracy > 10 ? 10 : this.accuracy;\n return {\n spliced: Math.abs(left - this.block_x) <= accuracy,\n TuringTest: average !== stddev // equal => not person operate\n };\n },\n reset() {\n this.success = false;\n this.containerActive = false;\n this.containerSuccess = false;\n this.containerFail = false;\n this.sliderLeft = 0;\n this.block.style.left = 0;\n this.sliderMaskWidth = 0;\n // canvas\n let { w, h } = this;\n this.canvasCtx.clearRect(0, 0, w, h);\n this.blockCtx.clearRect(0, 0, w, h);\n this.block.width = w;\n\n // generate img\n this.img.src = this.getRandomImg();\n this.$emit(\"fulfilled\");\n }\n },\n destroyed() {\n document.removeEventListener(\"mousemove\", this.handleMoveEvent);\n document.removeEventListener(\"mouseup\", this.handleMoveEndEvent);\n }\n};\n\nfunction throttle(\n fn,\n interval = 50,\n options = { leading: true, trailing: true }\n) {\n const { leading, trailing, resultCallback } = options;\n let lastTime = 0;\n let timer = null;\n\n const _throttle = function(...args) {\n return new Promise((resolve, reject) => {\n const nowTime = new Date().getTime();\n if (!lastTime && !leading) lastTime = nowTime;\n\n const remainTime = interval - (nowTime - lastTime);\n if (remainTime <= 0) {\n if (timer) {\n clearTimeout(timer);\n timer = null;\n }\n\n const result = fn.apply(this, args);\n if (resultCallback) resultCallback(result);\n resolve(result);\n lastTime = nowTime;\n return;\n }\n\n if (trailing && !timer) {\n timer = setTimeout(() => {\n timer = null;\n lastTime = !leading ? 0 : new Date().getTime();\n const result = fn.apply(this, args);\n if (resultCallback) resultCallback(result);\n resolve(result);\n }, remainTime);\n }\n });\n };\n\n _throttle.cancel = function() {\n if (timer) clearTimeout(timer);\n timer = null;\n lastTime = 0;\n };\n\n return _throttle;\n}\n</script>\n<style scoped>\n.slide-verify {\n position: relative;\n}\n\n/* 图片加载样式 */\n.slider-verify-loading {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n background: rgba(255, 255, 255, 0.9);\n z-index: 999;\n animation: loading 1.5s infinite;\n}\n\n@keyframes loading {\n 0% {\n opacity: 0.7;\n }\n 100% {\n opacity: 9;\n }\n}\n\n.slide-verify-block {\n position: absolute;\n left: 0;\n top: 0;\n}\n\n.slide-verify-refresh-icon {\n position: absolute;\n right: 0;\n top: 0;\n width: 34px;\n height: 34px;\n cursor: pointer;\n background: url(\"../assets/icon_light.png\") 0 -437px;\n background-size: 34px 471px;\n}\n\n.slide-verify-slider {\n position: relative;\n text-align: center;\n width: 100%;\n height: 40px;\n line-height: 40px;\n margin-top: 15px;\n background: #f7f9fa;\n color: #45494c;\n border: 1px solid #e4e7eb;\n}\n\n.slide-verify-slider-mask {\n position: absolute;\n left: 0;\n top: 0;\n height: 40px;\n border: 0 solid #1991fa;\n background: #d1e9fe;\n}\n\n.slide-verify-slider-mask-item {\n position: absolute;\n top: 0;\n left: 0;\n width: 40px;\n height: 40px;\n background: #fff;\n box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: background 0.2s linear;\n}\n\n.slide-verify-slider-mask-item:hover {\n background: #1991fa;\n}\n\n.slide-verify-slider-mask-item:hover .slide-verify-slider-mask-item-icon {\n background-position: 0 -13px;\n}\n\n.slide-verify-slider-mask-item-icon {\n position: absolute;\n top: 15px;\n left: 13px;\n width: 14px;\n height: 12px;\n background: url(\"../assets/icon_light.png\") 0 -26px;\n background-size: 34px 471px;\n}\n.container-active .slide-verify-slider-mask-item {\n height: 38px;\n top: -1px;\n border: 1px solid #1991fa;\n}\n\n.container-active .slide-verify-slider-mask {\n height: 38px;\n border-width: 1px;\n}\n\n.container-success .slide-verify-slider-mask-item {\n height: 38px;\n top: -1px;\n border: 1px solid #52ccba;\n background-color: #52ccba !important;\n}\n\n.container-success .slide-verify-slider-mask {\n height: 38px;\n border: 1px solid #52ccba;\n background-color: #d2f4ef;\n}\n\n.container-success .slide-verify-slider-mask-item-icon {\n background-position: 0 0 !important;\n}\n\n.container-fail .slide-verify-slider-mask-item {\n height: 38px;\n top: -1px;\n border: 1px solid #f57a7a;\n background-color: #f57a7a !important;\n}\n\n.container-fail .slide-verify-slider-mask {\n height: 38px;\n border: 1px solid #f57a7a;\n background-color: #fce1e1;\n}\n\n.container-fail .slide-verify-slider-mask-item-icon {\n top: 14px;\n background-position: 0 -82px !important;\n}\n\n.container-active .slide-verify-slider-text,\n.container-success .slide-verify-slider-text,\n.container-fail .slide-verify-slider-text {\n display: none;\n}\n</style>\n","import mod from \"-!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../../@vue/vue-loader-v15/lib/index.js??vue-loader-options!./slide-verify.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js??clonedRuleSet-82.use[1]!../../../@vue/vue-loader-v15/lib/index.js??vue-loader-options!./slide-verify.vue?vue&type=script&lang=js&\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../../mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!../../../css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!../../../@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!../../../@vue/vue-loader-v15/lib/index.js??vue-loader-options!./slide-verify.vue?vue&type=style&index=0&id=b67196d8&prod&scoped=true&lang=css&\"","import { render, staticRenderFns } from \"./slide-verify.vue?vue&type=template&id=b67196d8&scoped=true&\"\nimport script from \"./slide-verify.vue?vue&type=script&lang=js&\"\nexport * from \"./slide-verify.vue?vue&type=script&lang=js&\"\nimport style0 from \"./slide-verify.vue?vue&type=style&index=0&id=b67196d8&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b67196d8\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","_c","_self","staticClass","style","width","w","attrs","class","loadBlock","ref","h","show","on","refresh","_e","containerActive","containerSuccess","containerFail","sliderMaskWidth","left","sliderLeft","sliderDown","touchStartEvent","touchmove","$event","handleMoveEvent","touchend","handleMoveEndEvent","_v","_s","sliderText","staticRenderFns","PI","Math","sum","x","y","square","name","props","l","type","Number","default","r","String","accuracy","Boolean","imgs","Array","data","canvasCtx","blockCtx","block","block_x","undefined","block_y","L","img","originX","originY","isMouseDown","trail","success","timestamp","mounted","init","methods","initDom","initImg","bindEvents","$refs","canvas","getContext","createImg","drawBlock","drawImage","_y","ImageData","getImageData","putImageData","getRandomNumberByRange","draw","ctx","operation","beginPath","moveTo","arc","lineTo","lineWidth","fillStyle","strokeStyle","stroke","globalCompositeOperation","onload","document","createElement","crossOrigin","onerror","src","getRandomImg","len","length","start","end","round","random","reset","$emit","event","clientX","clientY","Date","e","changedTouches","pageX","pageY","addEventListener","throttle","moveX","moveY","blockLeft","push","spliced","TuringTest","verify","setTimeout","arr","average","reduce","deviations","map","stddev","sqrt","parseInt","abs","clearRect","destroyed","removeEventListener","fn","interval","options","leading","trailing","resultCallback","lastTime","timer","_throttle","args","Promise","resolve","reject","nowTime","getTime","remainTime","clearTimeout","result","apply","cancel"],"sourceRoot":""}