yc-ui2 0.1.1 → 0.1.2-beta01
Sign up to get free protection for your applications and to get access to all the features.
- package/.env +2 -0
- package/README.md +33 -30
- package/dist/yc-ui2.common.js +555 -7
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +555 -7
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/md/CustomerService.md +70 -0
- package/md/YcSlideVerify.md +16 -0
- package/package.json +55 -53
- package/src/App.vue +41 -27
- package/src/assets/questions.js +115 -0
- package/src/main.js +18 -15
- package/src/router/index.js +20 -0
- package/src/views/question.vue +22 -0
- package/vue.config.js +31 -30
- package/src/assets/slideVerify/1.jpg +0 -0
- package/src/assets/slideVerify/2.jpg +0 -0
- package/src/assets/slideVerify/3.jpg +0 -0
- package/src/assets/slideVerify/4.jpg +0 -0
- package/src/assets/slideVerify/5.jpg +0 -0
- package/src/assets/slideVerify/6.jpg +0 -0
- package/src/assets/slideVerify/7.jpg +0 -0
- package/src/assets/slideVerify/8.jpg +0 -0
package/dist/yc-ui2.umd.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
(function(t,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["yc-ui2"]=n():t["yc-ui2"]=n()})("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var t={9662:function(t,n,e){var r=e(614),o=e(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},9670:function(t,n,e){var r=e(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},1318:function(t,n,e){var r=e(5656),o=e(1400),i=e(6244),u=function(t){return function(n,e,u){var c,f=r(n),a=i(f),s=o(u,a);if(t&&e!==e){while(a>s)if(c=f[s++],c!==c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},3658:function(t,n,e){var r=e(9781),o=e(3157),i=TypeError,u=Object.getOwnPropertyDescriptor,c=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,n){if(o(t)&&!u(t,"length").writable)throw new i("Cannot set read only .length");return t.length=n}:function(t,n){return t.length=n}},4326:function(t,n,e){var r=e(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,n,e){var r=e(2597),o=e(3887),i=e(1236),u=e(3070);t.exports=function(t,n,e){for(var c=o(n),f=u.f,a=i.f,s=0;s<c.length;s++){var p=c[s];r(t,p)||e&&r(e,p)||f(t,p,a(n,p))}}},8880:function(t,n,e){var r=e(9781),o=e(3070),i=e(9114);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},9114:function(t){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},8052:function(t,n,e){var r=e(614),o=e(3070),i=e(6339),u=e(3072);t.exports=function(t,n,e,c){c||(c={});var f=c.enumerable,a=void 0!==c.name?c.name:n;if(r(e)&&i(e,a,c),c.global)f?t[n]=e:u(n,e);else{try{c.unsafe?t[n]&&(f=!0):delete t[n]}catch(s){}f?t[n]=e:o.f(t,n,{value:e,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},3072:function(t,n,e){var r=e(7854),o=Object.defineProperty;t.exports=function(t,n){try{o(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},9781:function(t,n,e){var r=e(7293);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var n="object"==typeof document&&document.all,e="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:e}},317:function(t,n,e){var r=e(7854),o=e(111),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},7207:function(t){var n=TypeError,e=9007199254740991;t.exports=function(t){if(t>e)throw n("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,n,e){var r,o,i=e(7854),u=e(8113),c=i.process,f=i.Deno,a=c&&c.versions||f&&f.version,s=a&&a.v8;s&&(r=s.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(r=u.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,n,e){var r=e(7854),o=e(1236).f,i=e(8880),u=e(8052),c=e(3072),f=e(9920),a=e(4705);t.exports=function(t,n){var e,s,p,l,v,y,d=t.target,h=t.global,b=t.stat;if(s=h?r:b?r[d]||c(d,{}):(r[d]||{}).prototype,s)for(p in n){if(v=n[p],t.dontCallGetSet?(y=o(s,p),l=y&&y.value):l=s[p],e=a(h?p:d+(b?".":"#")+p,t.forced),!e&&void 0!==l){if(typeof v==typeof l)continue;f(v,l)}(t.sham||l&&l.sham)&&i(v,"sham",!0),u(s,p,v,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(n){return!0}}},4374:function(t,n,e){var r=e(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,n,e){var r=e(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,n,e){var r=e(9781),o=e(2597),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),f=c&&"something"===function(){}.name,a=c&&(!r||r&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:f,CONFIGURABLE:a}},1702:function(t,n,e){var r=e(4374),o=Function.prototype,i=o.call,u=r&&o.bind.bind(i,i);t.exports=r?u:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,n,e){var r=e(7854),o=e(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t]):r[t]&&r[t][n]}},8173:function(t,n,e){var r=e(9662),o=e(8554);t.exports=function(t,n){var e=t[n];return o(e)?void 0:r(e)}},7854:function(t,n,e){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e.g&&e.g)||function(){return this}()||this||Function("return this")()},2597:function(t,n,e){var r=e(1702),o=e(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},3501:function(t){t.exports={}},4664:function(t,n,e){var r=e(9781),o=e(7293),i=e(317);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,n,e){var r=e(1702),o=e(7293),i=e(4326),u=Object,c=r("".split);t.exports=o((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):u(t)}:u},2788:function(t,n,e){var r=e(1702),o=e(614),i=e(5465),u=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},9909:function(t,n,e){var r,o,i,u=e(4811),c=e(7854),f=e(111),a=e(8880),s=e(2597),p=e(5465),l=e(6200),v=e(3501),y="Object already initialized",d=c.TypeError,h=c.WeakMap,b=function(t){return i(t)?o(t):r(t,{})},g=function(t){return function(n){var e;if(!f(n)||(e=o(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return e}};if(u||p.state){var m=p.state||(p.state=new h);m.get=m.get,m.has=m.has,m.set=m.set,r=function(t,n){if(m.has(t))throw new d(y);return n.facade=t,m.set(t,n),n},o=function(t){return m.get(t)||{}},i=function(t){return m.has(t)}}else{var x=l("state");v[x]=!0,r=function(t,n){if(s(t,x))throw new d(y);return n.facade=t,a(t,x,n),n},o=function(t){return s(t,x)?t[x]:{}},i=function(t){return s(t,x)}}t.exports={set:r,get:o,has:i,enforce:b,getterFor:g}},3157:function(t,n,e){var r=e(4326);t.exports=Array.isArray||function(t){return"Array"===r(t)}},614:function(t,n,e){var r=e(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,n,e){var r=e(7293),o=e(614),i=/#|\.prototype\./,u=function(t,n){var e=f[c(t)];return e===s||e!==a&&(o(n)?r(n):!!n)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},f=u.data={},a=u.NATIVE="N",s=u.POLYFILL="P";t.exports=u},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,n,e){var r=e(614),o=e(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,n,e){var r=e(5005),o=e(614),i=e(7976),u=e(3307),c=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return o(n)&&i(n.prototype,c(t))}},6244:function(t,n,e){var r=e(7466);t.exports=function(t){return r(t.length)}},6339:function(t,n,e){var r=e(1702),o=e(7293),i=e(614),u=e(2597),c=e(9781),f=e(6530).CONFIGURABLE,a=e(2788),s=e(9909),p=s.enforce,l=s.get,v=String,y=Object.defineProperty,d=r("".slice),h=r("".replace),b=r([].join),g=c&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,n,e){"Symbol("===d(v(n),0,7)&&(n="["+h(v(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!u(t,"name")||f&&t.name!==n)&&(c?y(t,"name",{value:n,configurable:!0}):t.name=n),g&&e&&u(e,"arity")&&t.length!==e.arity&&y(t,"length",{value:e.arity});try{e&&u(e,"constructor")&&e.constructor?c&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=p(t);return u(r,"source")||(r.source=b(m,"string"==typeof n?n:"")),t};Function.prototype.toString=x((function(){return i(this)&&l(this).source||a(this)}),"toString")},4758:function(t){var n=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?e:n)(r)}},3070:function(t,n,e){var r=e(9781),o=e(4664),i=e(3353),u=e(9670),c=e(4948),f=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";n.f=r?i?function(t,n,e){if(u(t),n=c(n),u(e),"function"===typeof t&&"prototype"===n&&"value"in e&&v in e&&!e[v]){var r=s(t,n);r&&r[v]&&(t[n]=e.value,e={configurable:l in e?e[l]:r[l],enumerable:p in e?e[p]:r[p],writable:!1})}return a(t,n,e)}:a:function(t,n,e){if(u(t),n=c(n),u(e),o)try{return a(t,n,e)}catch(r){}if("get"in e||"set"in e)throw new f("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},1236:function(t,n,e){var r=e(9781),o=e(6916),i=e(5296),u=e(9114),c=e(5656),f=e(4948),a=e(2597),s=e(4664),p=Object.getOwnPropertyDescriptor;n.f=r?p:function(t,n){if(t=c(t),n=f(n),s)try{return p(t,n)}catch(e){}if(a(t,n))return u(!o(i.f,t,n),t[n])}},8006:function(t,n,e){var r=e(6324),o=e(748),i=o.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,n){n.f=Object.getOwnPropertySymbols},7976:function(t,n,e){var r=e(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,n,e){var r=e(1702),o=e(2597),i=e(5656),u=e(1318).indexOf,c=e(3501),f=r([].push);t.exports=function(t,n){var e,r=i(t),a=0,s=[];for(e in r)!o(c,e)&&o(r,e)&&f(s,e);while(n.length>a)o(r,e=n[a++])&&(~u(s,e)||f(s,e));return s}},5296:function(t,n){var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!e.call({1:2},1);n.f=o?function(t){var n=r(this,t);return!!n&&n.enumerable}:e},2140:function(t,n,e){var r=e(6916),o=e(614),i=e(111),u=TypeError;t.exports=function(t,n){var e,c;if("string"===n&&o(e=t.toString)&&!i(c=r(e,t)))return c;if(o(e=t.valueOf)&&!i(c=r(e,t)))return c;if("string"!==n&&o(e=t.toString)&&!i(c=r(e,t)))return c;throw new u("Can't convert object to primitive value")}},3887:function(t,n,e){var r=e(5005),o=e(1702),i=e(8006),u=e(5181),c=e(9670),f=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(c(t)),e=u.f;return e?f(n,e(t)):n}},4488:function(t,n,e){var r=e(8554),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6200:function(t,n,e){var r=e(2309),o=e(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,n,e){var r=e(7854),o=e(3072),i="__core-js_shared__",u=r[i]||o(i,{});t.exports=u},2309:function(t,n,e){var r=e(1913),o=e(5465);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,n,e){var r=e(7392),o=e(7293),i=e(7854),u=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!u(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,n,e){var r=e(9303),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},5656:function(t,n,e){var r=e(8361),o=e(4488);t.exports=function(t){return r(o(t))}},9303:function(t,n,e){var r=e(4758);t.exports=function(t){var n=+t;return n!==n||0===n?0:r(n)}},7466:function(t,n,e){var r=e(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,n,e){var r=e(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,n,e){var r=e(6916),o=e(111),i=e(2190),u=e(8173),c=e(2140),f=e(5112),a=TypeError,s=f("toPrimitive");t.exports=function(t,n){if(!o(t)||i(t))return t;var e,f=u(t,s);if(f){if(void 0===n&&(n="default"),e=r(f,t,n),!o(e)||i(e))return e;throw new a("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},4948:function(t,n,e){var r=e(7593),o=e(2190);t.exports=function(t){var n=r(t,"string");return o(n)?n:n+""}},6330:function(t){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},9711:function(t,n,e){var r=e(1702),o=0,i=Math.random(),u=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},3307:function(t,n,e){var r=e(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,n,e){var r=e(9781),o=e(7293);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,n,e){var r=e(7854),o=e(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,n,e){var r=e(7854),o=e(2309),i=e(2597),u=e(9711),c=e(6293),f=e(3307),a=r.Symbol,s=o("wks"),p=f?a["for"]||a:a&&a.withoutSetter||u;t.exports=function(t){return i(s,t)||(s[t]=c&&i(a,t)?a[t]:p("Symbol."+t)),s[t]}},7658:function(t,n,e){var r=e(2109),o=e(7908),i=e(6244),u=e(3658),c=e(7207),f=e(7293),a=f((function(){return 4294967297!==[].push.call({length:4294967296},1)})),s=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=a||!s();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var n=o(this),e=i(n),r=arguments.length;c(e+r);for(var f=0;f<r;f++)n[e]=arguments[f],e++;return u(n,e),e}})}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return t[r].call(i.exports,i,i.exports,e),i.exports}!function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}}(),function(){e.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)}}(),function(){e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){e.p=""}();var r={};return function(){if(e.r(r),e.d(r,{default:function(){return y}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(e.p=n[1])}var o=function(){var t=this,n=t._self._c;return n("div",[n("el-dialog",{attrs:{title:t.title,visible:t.isShow,width:"350px","append-to-body":!0},on:{close:t.handleClose}},[n("slide-verify",{ref:"slideblock",attrs:{l:42,r:10,w:310,h:155,imgs:t.imgs,accuracy:t.accuracy,"slider-text":t.sliderText},on:{success:t.onSuccess,fail:t.onFail,again:t.onAgain,refresh:t.onRefresh,fulfilled:t.onFulfilled}})],1)],1)},i=[],u=(e(7658),{name:"YcSlideVerify",props:{title:{type:String,default:"滑动验证"},isShow:{type:Boolean,default:!0}},data(){return{accuracy:5,sliderText:"拖动完成上方拼图",countDownNum:120}},computed:{imgs(){const t=[];for(let n=1;n<9;n++)t.push(`/cloud-img/${n}.jpg`);return t}},created(){},methods:{onSuccess(){this.$emit("success")},onFail(){},onAgain(){},onRefresh(){},onFulfilled(){},handleClose(){this.$emit("close")}}}),c=u;function f(t,n,e,r,o,i,u,c){var f,a="function"===typeof t?t.options:t;if(n&&(a.render=n,a.staticRenderFns=e,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},a._ssrRegister=f):o&&(f=c?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var s=a.render;a.render=function(t,n){return f.call(n),s(t,n)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:a}}var a=f(c,o,i,!1,null,"7dfb6f60",null),s=a.exports;const p=[s],l=function(t){p.forEach((n=>{t.component(n.name,n)})),"undefined"!==typeof window&&window.Vue&&l(window.Vue)};var v={install:l},y=v}(),r}()}));
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["yc-ui2"]=e():t["yc-ui2"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var t={9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),a=function(t){return function(e,n,a){var u,s=r(e),c=i(s),l=o(a,c);if(t&&n!==n){while(c>l)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},3658:function(t,e,n){var r=n(9781),o=n(3157),i=TypeError,a=Object.getOwnPropertyDescriptor,u=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),a=n(3070);t.exports=function(t,e,n){for(var u=o(e),s=a.f,c=i.f,l=0;l<u.length;l++){var f=u[l];r(t,f)||n&&r(n,f)||s(t,f,c(e,f))}}},8880:function(t,e,n){var r=n(9781),o=n(3070),i=n(9114);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,n){var r=n(614),o=n(3070),i=n(6339),a=n(3072);t.exports=function(t,e,n,u){u||(u={});var s=u.enumerable,c=void 0!==u.name?u.name:e;if(r(n)&&i(n,c,u),u.global)s?t[e]=n:a(e,n);else{try{u.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},3072:function(t,e,n){var r=n(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,n="undefined"==typeof e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},317:function(t,e,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},7207:function(t){var e=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),a=n(8113),u=i.process,s=i.Deno,c=u&&u.versions||s&&s.version,l=c&&c.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),a=n(8052),u=n(3072),s=n(9920),c=n(4705);t.exports=function(t,e){var n,l,f,p,d,v,h=t.target,g=t.global,m=t.stat;if(l=g?r:m?r[h]||u(h,{}):(r[h]||{}).prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(v=o(l,f),p=v&&v.value):p=l[f],n=c(g?f:h+(m?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;s(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),a(l,f,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),s=u&&"something"===function(){}.name,c=u&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),a=Object,u=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):a(t)}:a},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,a=n(4811),u=n(7854),s=n(111),c=n(8880),l=n(2597),f=n(5465),p=n(6200),d=n(3501),v="Object already initialized",h=u.TypeError,g=u.WeakMap,m=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!s(e)||(n=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}};if(a||f.state){var b=f.state||(f.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw new h(v);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var x=p("state");d[x]=!0,r=function(t,e){if(l(t,x))throw new h(v);return e.facade=t,c(t,x,e),e},o=function(t){return l(t,x)?t[x]:{}},i=function(t){return l(t,x)}}t.exports={set:r,get:o,has:i,enforce:m,getterFor:y}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"===r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,a=function(t,e){var n=s[u(t)];return n===l||n!==c&&(o(e)?r(e):!!e)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),a=n(3307),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,u(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),a=n(2597),u=n(9781),s=n(6530).CONFIGURABLE,c=n(2788),l=n(9909),f=l.enforce,p=l.get,d=String,v=Object.defineProperty,h=r("".slice),g=r("".replace),m=r([].join),y=u&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=t.exports=function(t,e,n){"Symbol("===h(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(u?v(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&a(n,"arity")&&t.length!==n.arity&&v(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?u&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=f(t);return a(r,"source")||(r.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return i(this)&&p(this).source||c(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),a=n(9670),u=n(4948),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?i?function(t,e,n){if(a(t),e=u(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(a(t),e=u(e),a(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),a=n(9114),u=n(5656),s=n(4948),c=n(2597),l=n(4664),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=u(t),e=s(e),l)try{return f(t,e)}catch(n){}if(c(t,e))return a(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),a=n(1318).indexOf,u=n(3501),s=r([].push);t.exports=function(t,e){var n,r=i(t),c=0,l=[];for(n in r)!o(u,n)&&o(r,n)&&s(l,n);while(e.length>c)o(r,n=e[c++])&&(~a(l,n)||s(l,n));return l}},5296:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),a=TypeError;t.exports=function(t,e){var n,u;if("string"===e&&o(n=t.toString)&&!i(u=r(n,t)))return u;if(o(n=t.valueOf)&&!i(u=r(n,t)))return u;if("string"!==e&&o(n=t.toString)&&!i(u=r(n,t)))return u;throw new a("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),a=n(5181),u=n(9670),s=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(u(t)),n=a.f;return n?s(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293),i=n(7854),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),a=n(8173),u=n(2140),s=n(5112),c=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,s=a(t,l);if(s){if(void 0===e&&(e="default"),n=r(s,t,e),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),a=n(9711),u=n(6293),s=n(3307),c=r.Symbol,l=o("wks"),f=s?c["for"]||c:c&&c.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=u&&i(c,t)?c[t]:f("Symbol."+t)),l[t]}},7658:function(t,e,n){var r=n(2109),o=n(7908),i=n(6244),a=n(3658),u=n(7207),s=n(7293),c=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=c||!l();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=o(this),n=i(e),r=arguments.length;u(n+r);for(var s=0;s<r;s++)e[n]=arguments[s],n++;return a(e,n),n}})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}!function(){n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){n.p=""}();var r={};return function(){if(n.r(r),n.d(r,{default:function(){return $}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var o=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:t.title,visible:t.isShow,width:"350px","append-to-body":!0},on:{close:t.handleClose}},[e("slide-verify",{ref:"slideblock",attrs:{l:42,r:10,w:310,h:155,imgs:t.imgs,accuracy:t.accuracy,"slider-text":t.sliderText},on:{success:t.onSuccess,fail:t.onFail,again:t.onAgain,refresh:t.onRefresh,fulfilled:t.onFulfilled}})],1)},i=[],a=(n(7658),{name:"YcSlideVerify",props:{title:{type:String,default:"滑动验证"},isShow:{type:Boolean,default:!0}},data(){return{accuracy:5,sliderText:"拖动完成上方拼图",countDownNum:120}},computed:{imgs(){const t=[];for(let e=1;e<9;e++)t.push(`/cloud-img/${e}.jpg`);return t}},created(){},methods:{onSuccess(){this.$emit("success")},onFail(){},onAgain(){},onRefresh(){},onFulfilled(){},handleClose(){this.$emit("close")}}}),u=a;function s(t,e,n,r,o,i,a,u){var s,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=s):o&&(s=u?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var l=c.render;c.render=function(t,e){return s.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:c}}var c=s(u,o,i,!1,null,"2248e29b",null),l=c.exports,f=function(){var t=this,e=t._self._c;return e("div",{ref:"customer",staticStyle:{display:"none"}},[e("chat-vue",{attrs:{visible:t.visible,jumpPage:t.jumpPage,title:t.title,json:t.json,regular:t.regular},on:{"update:visible":function(e){t.visible=e}}}),e("div",{staticClass:"customerService"},[e("div",{staticClass:"mobile"},[t._t("default")],2),e("div",{staticClass:"headset",on:{click:function(e){t.visible=!t.visible}}},[t._m(0),t._m(1)])])],1)},p=[function(){var t=this,e=t._self._c;return e("div",[e("i",{staticClass:"el-icon-headset"})])},function(){var t=this,e=t._self._c;return e("div",[e("a",[t._v("在线客服")])])}],d=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"chat"},[e("header",[e("img",{attrs:{src:"/cloud-img/customerService/admin.jpg"}}),e("span",[t._v(t._s(t.title))]),t.jumpPage?e("i",{staticClass:"icon-enlarge",on:{click:t.enlarge}},[e("img",{attrs:{src:"/cloud-img/customerService/enlarge.png"}})]):t._e(),e("i",{staticClass:"el-icon-close",on:{click:t.close}})]),e("main",{ref:"main"},t._l(t.messagelist,(function(n,r){return e("div",{key:r,class:["message",n.id]},[e("img",{staticClass:"avatar",attrs:{src:`/cloud-img/customerService/${n.id}.jpg`}}),e("div",{staticClass:"content"},[t._l(n.msg,(function(r,o){return e("span",{key:r+o,class:n.msg.length>1?"href":"",domProps:{innerHTML:t._s((n.msg.length>1?1+o+". ":" ")+r)},on:{click:function(e){n.msg.length>1&&t.regularClick(r)}}})})),n.based?e("div",{staticClass:"based",on:{click:function(e){return t.handExpand(n)}}},[e("span",[t._v("依据")]),e("span",{class:{"is-active":n.isActive}},[t._v(t._s(n.based)),e("i",{staticClass:"el-icon-d-arrow-right"})])]):t._e()],2)])})),0),e("nav",t._l(t.regular,(function(n,r){return e("el-button",{key:n+r,attrs:{size:"mini",round:""},on:{click:function(e){return t.regularClick(n)}}},[t._v(t._s(n))])})),1),e("el-input",{attrs:{type:"textarea",maxlength:"500",autosize:{minRows:2,maxRows:3},autofocus:"true",resize:"none",placeholder:"请反馈您的问题,我们将尽快回复"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.carriageReturn.apply(null,arguments)}},model:{value:t.textareaValue,callback:function(e){t.textareaValue=e},expression:"textareaValue"}}),e("el-button",{attrs:{type:"primary",size:"mini",disabled:!t.textareaValue},on:{click:t.send}},[t._v("发送")])],1)},v=[],h={props:{visible:Boolean,jumpPage:String,json:String,title:String,commit:String,regular:Array},data(){return{textareaValue:"",messagelist:[{id:"admin",msg:["您好,38号客服很高兴为你服务!"],isActive:!1}],isActive:!1}},computed:{questions(){return JSON.parse(this.json)}},methods:{close(){this.$emit("update:visible",!1)},carriageReturn(){let t=window.event||arguments[0];"Enter"!=t.key&&"Enter"!=t.code&&13!=t.keyCode||!this.textareaValue||this.send()},send(){this.textareaValue.replace(/[^\w\u4E00-\u9FA5]/g,"")&&(this.add(this.textareaValue,"personal",(()=>{this.textareaValue=""})),this.search(this.textareaValue))},regularClick(t){this.add(t),this.search(t)},search(t){const e=this.questions.filter((e=>e.faq.replace(/[^\w\u4E00-\u9FA5]/g,"").toLowerCase().includes(t.replace(/[^\w\u4E00-\u9FA5]/g,"").toLowerCase())));let[n,r]=["",""];e.length>1?n=e.reduce(((t,e)=>[...t,e.faq]),[]):1==e.length?[n,r]=[e[0].msg,e[0].based]:n=["您好","你好"].includes(t.replace(/[^\w\u4E00-\u9FA5]/g,""))?"您好!":'请提关键词问题?<br/> 比如: 税率<br/><br/><a href="tel:4000770168">客服热线:<span style="color: #FF575F;">400 0770 168</span></a>',this.add(n,"admin",null,r)},add(t,e="personal",n,r=""){this.messagelist.push({id:e,msg:Array.isArray(t)?t:[t],based:r,isActive:!1}),this.$nextTick((()=>{n&&n(),this.$refs.main.scrollTop=this.$refs.main.scrollHeight}))},enlarge(){window.open(this.jumpPage,"_blank")},handExpand(t){t.isActive=!t.isActive}}},g={name:"ChatMini",mixins:[h]},m=g,y=s(m,d,v,!1,null,null,null),b=y.exports,x={name:"YcCustomerService",components:{chatVue:b},props:{jumpPage:String,title:String,json:String,regular:Array},data(){return{visible:!1}},computed:{hasSlot(){return Boolean(this.$slots.default)}},watch:{$route(t){t.path!=this.jumpPage?this.$refs.customer.style.display="block":this.$refs.customer.style.display="none"}},mounted(){this.$refs.customer.style.display="block"}},w=x,_=s(w,f,p,!1,null,"849349a0",null),S=_.exports,j=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chatPage"},[e("header",{staticStyle:{background:"url('/cloud-img/customerService/chatTop.png') center","background-size":"cover"}},[e("div",[e("h3",[t._v(t._s(t.title))]),e("span",[t._v("Problem Help")])]),e("p",[t._v("小优为您提供24小时服务")])]),e("div",{staticClass:"main"},[e("div",[e("main",{ref:"main"},[e("p",[t._v("今天"+t._s(t.currData))]),t._l(t.messagelist,(function(n,r){return e("div",{key:r,class:["message",n.id]},[e("img",{staticClass:"avatar",attrs:{src:"/cloud-img/customerService/"+n.id+".jpg"}}),e("div",{staticClass:"content"},[t._l(n.msg,(function(r,o){return e("span",{key:r+o,class:n.msg.length>1?"href":"",domProps:{innerHTML:t._s((n.msg.length>1?1+o+". ":" ")+r)},on:{click:function(e){n.msg.length>1&&t.regularClick(r)}}})})),n.based?e("div",{staticClass:"based",on:{click:function(e){return e.preventDefault(),t.handExpand(n)}}},[e("span",[t._v("依据")]),e("span",{class:{"is-active":n.isActive}},[t._v(t._s(n.based)),e("i",{staticClass:"el-icon-d-arrow-right"})])]):t._e()],2)])}))],2),e("footer",[e("el-input",{attrs:{type:"textarea",maxlength:"500",autosize:{minRows:6,maxRows:6},autofocus:"true",resize:"none",placeholder:"请输入你要咨询的问题"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.carriageReturn.apply(null,arguments)}},model:{value:t.textareaValue,callback:function(e){t.textareaValue=e},expression:"textareaValue"}}),e("el-button",{style:t.textareaValue?"":"background-color: #F7F7F9;color: #FF575F;border-color: transparent;",attrs:{type:"primary",disabled:!t.textareaValue},on:{click:t.send}},[t._v("发送")])],1)]),e("aside",[e("el-collapse",{attrs:{accordion:""},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},t._l(t.questionsList,(function(n,r,o){return e("el-collapse-item",{key:r,attrs:{name:o}},[e("template",{slot:"title"},[e("img",{attrs:{src:"/cloud-img/customerService/ellipticalWenh.png"}}),t._v(t._s(r)+" ")]),t._l(n,(function(n){return e("div",{key:n,domProps:{innerHTML:t._s(n)},on:{click:function(e){return t.regularClick(n)}}})}))],2)})),1)],1)])])},O=[],k={name:"YcQuestion",mixins:[h],data(){return{activeNames:[1]}},computed:{currData(){const t=new Date;return`${t.getHours()}:${t.getMinutes()}`},questionsList(){return this.questions.reduce(((t,e)=>(t.hasOwnProperty(e.type)?t[e.type].push(e.faq):t[e.type]=[e.faq],t)),{})}}},C=k,P=s(C,j,O,!1,null,null,null),E=P.exports;const T=[l,S,E],A=function(t){T.forEach((e=>{t.component(e.name,e)})),"undefined"!==typeof window&&window.Vue&&A(window.Vue)};var F={install:A},$=F}(),r}()}));
|
2
2
|
//# sourceMappingURL=yc-ui2.umd.min.js.map
|