cyy-vue-material 1.1.21 → 1.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -1,15 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-Hans">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>Document</title>
8
- </head>
9
- <body>
10
- <div id="app"></div>
11
-
12
- <script src="./dev.js"></script>
13
-
14
- </body>
15
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Document</title>
8
+ </head>
9
+ <body>
10
+ <div id="app"></div>
11
+ <script src="./dev.js"></script>
12
+ </body>
13
+ </html>
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{isEmpty as e,isEqual as t,isUndefined as a,get as o}from"lodash-es";import{openBlock as r,createElementBlock as i,normalizeStyle as n,toDisplayString as s,Fragment as c,renderList as l,createElementVNode as d,createCommentVNode as p,normalizeClass as u,createTextVNode as g,pushScopeId as f,popScopeId as v,resolveComponent as h,createVNode as b,withCtx as m,createBlock as y}from"vue";const x="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,w=e=>{let t={};for(let a in e)t[a]=k(e[a]);return t},k=e=>x?e+"px":2*e+"rpx",C="web/rs/sku/querySkuFromJm.json",S="/web/pm/promotionplat/queryPromotionPageForC.json",A=e=>{const{mGoodsInfo:t}=z[e];return t},B=(e,t,a)=>{z[e]={mGoodsInfo:a,mGoods:t}},j=e=>{const{goods:a,id:o}=e.props,{mGoods:r}=z[o]||{};return t(a,r)},N=e=>x?process.env.REACT_APP_BASE_URL:e.$imgDomain;const I=x?async(t,a)=>{const{id:o,goods:r}=t.props;if(e(r))return Promise.resolve({list:[]});if(j(t))return Promise.resolve(A(o));const i=localStorage.getItem("saas-token");return await fetch(N()+C+"?rows=200&page=1&skuCodeStr="+a.skuCode,{method:"GET",headers:{"saas-token":i,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((e=>e.json())).then(((e={})=>(B(o,r,e),e)))}:async(e,t)=>{const{list:a}=await e.http.get("web/es/searchengine/find.json?rows=200&page=1",t),o=t.skuCode.split(",");let r=[];return o.forEach((e=>{a.forEach((t=>{t.skuCode===e&&r.push(t)}))})),console.log("findList",r),{list:r}},z={};var T=Array.isArray,_="object"==typeof global&&global&&global.Object===Object&&global,P="object"==typeof self&&self&&self.Object===Object&&self,D=_||P||Function("return this")(),O=D.Symbol,L=Object.prototype,F=L.hasOwnProperty,R=L.toString,E=O?O.toStringTag:void 0;var U=Object.prototype.toString;var K="[object Null]",M="[object Undefined]",G=O?O.toStringTag:void 0;function $(e){return null==e?void 0===e?M:K:G&&G in Object(e)?function(e){var t=F.call(e,E),a=e[E];try{e[E]=void 0;var o=!0}catch(e){}var r=R.call(e);return o&&(t?e[E]=a:delete e[E]),r}(e):function(e){return U.call(e)}(e)}function V(e){return null!=e&&"object"==typeof e}var W="[object Symbol]";function H(e){return"symbol"==typeof e||V(e)&&$(e)==W}var q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/;function Q(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var X="[object AsyncFunction]",Z="[object Function]",J="[object GeneratorFunction]",ee="[object Proxy]";function te(e){if(!Q(e))return!1;var t=$(e);return t==Z||t==J||t==X||t==ee}var ae,oe=D["__core-js_shared__"],re=(ae=/[^.]+$/.exec(oe&&oe.keys&&oe.keys.IE_PROTO||""))?"Symbol(src)_1."+ae:"";var ie=Function.prototype.toString;function ne(e){if(null!=e){try{return ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var se=/^\[object .+?Constructor\]$/,ce=Function.prototype,le=Object.prototype,de=ce.toString,pe=le.hasOwnProperty,ue=RegExp("^"+de.call(pe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ge(e){return!(!Q(e)||(t=e,re&&re in t))&&(te(e)?ue:se).test(ne(e));var t}function fe(e,t){var a=function(e,t){return null==e?void 0:e[t]}(e,t);return ge(a)?a:void 0}var ve=fe(Object,"create");var he="__lodash_hash_undefined__",be=Object.prototype.hasOwnProperty;var me=Object.prototype.hasOwnProperty;var ye="__lodash_hash_undefined__";function xe(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var o=e[t];this.set(o[0],o[1])}}function we(e,t){return e===t||e!=e&&t!=t}function ke(e,t){for(var a=e.length;a--;)if(we(e[a][0],t))return a;return-1}xe.prototype.clear=function(){this.__data__=ve?ve(null):{},this.size=0},xe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},xe.prototype.get=function(e){var t=this.__data__;if(ve){var a=t[e];return a===he?void 0:a}return be.call(t,e)?t[e]:void 0},xe.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:me.call(t,e)},xe.prototype.set=function(e,t){var a=this.__data__;return this.size+=this.has(e)?0:1,a[e]=ve&&void 0===t?ye:t,this};var Ce=Array.prototype.splice;function Se(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var o=e[t];this.set(o[0],o[1])}}Se.prototype.clear=function(){this.__data__=[],this.size=0},Se.prototype.delete=function(e){var t=this.__data__,a=ke(t,e);return!(a<0)&&(a==t.length-1?t.pop():Ce.call(t,a,1),--this.size,!0)},Se.prototype.get=function(e){var t=this.__data__,a=ke(t,e);return a<0?void 0:t[a][1]},Se.prototype.has=function(e){return ke(this.__data__,e)>-1},Se.prototype.set=function(e,t){var a=this.__data__,o=ke(a,e);return o<0?(++this.size,a.push([e,t])):a[o][1]=t,this};var Ae=fe(D,"Map");function Be(e,t){var a,o,r=e.__data__;return("string"==(o=typeof(a=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==a:null===a)?r["string"==typeof t?"string":"hash"]:r.map}function je(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var o=e[t];this.set(o[0],o[1])}}je.prototype.clear=function(){this.size=0,this.__data__={hash:new xe,map:new(Ae||Se),string:new xe}},je.prototype.delete=function(e){var t=Be(this,e).delete(e);return this.size-=t?1:0,t},je.prototype.get=function(e){return Be(this,e).get(e)},je.prototype.has=function(e){return Be(this,e).has(e)},je.prototype.set=function(e,t){var a=Be(this,e),o=a.size;return a.set(e,t),this.size+=a.size==o?0:1,this};var Ne="Expected a function";function Ie(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Ne);var a=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=a.cache;if(i.has(r))return i.get(r);var n=e.apply(this,o);return a.cache=i.set(r,n)||i,n};return a.cache=new(Ie.Cache||je),a}Ie.Cache=je;var ze=500;var Te,_e,Pe,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Oe=/\\(\\)?/g,Le=(Te=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(De,(function(e,a,o,r){t.push(o?r.replace(Oe,"$1"):a||e)})),t},_e=Ie(Te,(function(e){return Pe.size===ze&&Pe.clear(),e})),Pe=_e.cache,_e),Fe=Le;function Re(e,t){for(var a=-1,o=null==e?0:e.length,r=Array(o);++a<o;)r[a]=t(e[a],a,e);return r}var Ee=1/0,Ue=O?O.prototype:void 0,Ke=Ue?Ue.toString:void 0;function Me(e){if("string"==typeof e)return e;if(T(e))return Re(e,Me)+"";if(H(e))return Ke?Ke.call(e):"";var t=e+"";return"0"==t&&1/e==-Ee?"-0":t}function Ge(e,t){return T(e)?e:function(e,t){if(T(e))return!1;var a=typeof e;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=e&&!H(e))||Y.test(e)||!q.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Fe(function(e){return null==e?"":Me(e)}(e))}var $e=1/0;function Ve(e){if("string"==typeof e||H(e))return e;var t=e+"";return"0"==t&&1/e==-$e?"-0":t}function We(e,t){for(var a=0,o=(t=Ge(t,e)).length;null!=e&&a<o;)e=e[Ve(t[a++])];return a&&a==o?e:void 0}var He=function(){try{var e=fe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),qe=He;function Ye(e,t,a){"__proto__"==t&&qe?qe(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}var Qe=Object.prototype.hasOwnProperty;function Xe(e,t,a){var o=e[t];Qe.call(e,t)&&we(o,a)&&(void 0!==a||t in e)||Ye(e,t,a)}var Ze=9007199254740991,Je=/^(?:0|[1-9]\d*)$/;function et(e,t){var a=typeof e;return!!(t=null==t?Ze:t)&&("number"==a||"symbol"!=a&&Je.test(e))&&e>-1&&e%1==0&&e<t}function tt(e,t,a,o){if(!Q(e))return e;for(var r=-1,i=(t=Ge(t,e)).length,n=i-1,s=e;null!=s&&++r<i;){var c=Ve(t[r]),l=a;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(r!=n){var d=s[c];void 0===(l=o?o(d,c,s):void 0)&&(l=Q(d)?d:et(t[r+1])?[]:{})}Xe(s,c,l),s=s[c]}return e}function at(e,t){return null!=e&&t in Object(e)}var ot="[object Arguments]";function rt(e){return V(e)&&$(e)==ot}var it=Object.prototype,nt=it.hasOwnProperty,st=it.propertyIsEnumerable,ct=rt(function(){return arguments}())?rt:function(e){return V(e)&&nt.call(e,"callee")&&!st.call(e,"callee")},lt=9007199254740991;function dt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=lt}function pt(e,t){return null!=e&&function(e,t,a){for(var o=-1,r=(t=Ge(t,e)).length,i=!1;++o<r;){var n=Ve(t[o]);if(!(i=null!=e&&a(e,n)))break;e=e[n]}return i||++o!=r?i:!!(r=null==e?0:e.length)&&dt(r)&&et(n,r)&&(T(e)||ct(e))}(e,t,at)}function ut(e,t){return function(e,t,a){for(var o=-1,r=t.length,i={};++o<r;){var n=t[o],s=We(e,n);a(s,n)&&tt(i,Ge(n,e),s)}return i}(e,t,(function(t,a){return pt(e,a)}))}function gt(e,t){for(var a=-1,o=t.length,r=e.length;++a<o;)e[r+a]=t[a];return e}var ft=O?O.isConcatSpreadable:void 0;function vt(e){return T(e)||ct(e)||!!(ft&&e&&e[ft])}function ht(e,t,a,o,r){var i=-1,n=e.length;for(a||(a=vt),r||(r=[]);++i<n;){var s=e[i];t>0&&a(s)?t>1?ht(s,t-1,a,o,r):gt(r,s):o||(r[r.length]=s)}return r}function bt(e){return(null==e?0:e.length)?ht(e,1):[]}var mt=Math.max;var yt=qe?function(e,t){return qe(e,"toString",{configurable:!0,enumerable:!1,value:(a=t,function(){return a}),writable:!0});var a}:function(e){return e},xt=yt,wt=800,kt=16,Ct=Date.now;var St=function(e){var t=0,a=0;return function(){var o=Ct(),r=kt-(o-a);if(a=o,r>0){if(++t>=wt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(xt),At=St;function Bt(e){return At(function(e,t,a){return t=mt(void 0===t?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=mt(o.length-t,0),n=Array(i);++r<i;)n[r]=o[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=o[r];return s[t]=a(n),function(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}(e,this,s)}}(e,void 0,bt),e+"")}var jt=Bt((function(e,t){return null==e?{}:ut(e,t)}));var Nt=200;function It(e){var t=this.__data__=new Se(e);this.size=t.size}function zt(e,t,a,o){var r=!a;a||(a={});for(var i=-1,n=t.length;++i<n;){var s=t[i],c=o?o(a[s],e[s],s,a,e):void 0;void 0===c&&(c=e[s]),r?Ye(a,s,c):Xe(a,s,c)}return a}It.prototype.clear=function(){this.__data__=new Se,this.size=0},It.prototype.delete=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a},It.prototype.get=function(e){return this.__data__.get(e)},It.prototype.has=function(e){return this.__data__.has(e)},It.prototype.set=function(e,t){var a=this.__data__;if(a instanceof Se){var o=a.__data__;if(!Ae||o.length<Nt-1)return o.push([e,t]),this.size=++a.size,this;a=this.__data__=new je(o)}return a.set(e,t),this.size=a.size,this};var Tt="object"==typeof exports&&exports&&!exports.nodeType&&exports,_t=Tt&&"object"==typeof module&&module&&!module.nodeType&&module,Pt=_t&&_t.exports===Tt?D.Buffer:void 0,Dt=(Pt?Pt.isBuffer:void 0)||function(){return!1},Ot={};function Lt(e){return function(t){return e(t)}}Ot["[object Float32Array]"]=Ot["[object Float64Array]"]=Ot["[object Int8Array]"]=Ot["[object Int16Array]"]=Ot["[object Int32Array]"]=Ot["[object Uint8Array]"]=Ot["[object Uint8ClampedArray]"]=Ot["[object Uint16Array]"]=Ot["[object Uint32Array]"]=!0,Ot["[object Arguments]"]=Ot["[object Array]"]=Ot["[object ArrayBuffer]"]=Ot["[object Boolean]"]=Ot["[object DataView]"]=Ot["[object Date]"]=Ot["[object Error]"]=Ot["[object Function]"]=Ot["[object Map]"]=Ot["[object Number]"]=Ot["[object Object]"]=Ot["[object RegExp]"]=Ot["[object Set]"]=Ot["[object String]"]=Ot["[object WeakMap]"]=!1;var Ft="object"==typeof exports&&exports&&!exports.nodeType&&exports,Rt=Ft&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Rt&&Rt.exports===Ft&&_.process,Ut=function(){try{var e=Rt&&Rt.require&&Rt.require("util").types;return e||Et&&Et.binding&&Et.binding("util")}catch(e){}}(),Kt=Ut&&Ut.isTypedArray,Mt=Kt?Lt(Kt):function(e){return V(e)&&dt(e.length)&&!!Ot[$(e)]},Gt=Object.prototype.hasOwnProperty;function $t(e,t){var a=T(e),o=!a&&ct(e),r=!a&&!o&&Dt(e),i=!a&&!o&&!r&&Mt(e),n=a||o||r||i,s=n?function(e,t){for(var a=-1,o=Array(e);++a<e;)o[a]=t(a);return o}(e.length,String):[],c=s.length;for(var l in e)!t&&!Gt.call(e,l)||n&&("length"==l||r&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||et(l,c))||s.push(l);return s}var Vt=Object.prototype;function Wt(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Vt)}function Ht(e,t){return function(a){return e(t(a))}}var qt=Ht(Object.keys,Object),Yt=Object.prototype.hasOwnProperty;function Qt(e){return null!=e&&dt(e.length)&&!te(e)}function Xt(e){return Qt(e)?$t(e):function(e){if(!Wt(e))return qt(e);var t=[];for(var a in Object(e))Yt.call(e,a)&&"constructor"!=a&&t.push(a);return t}(e)}var Zt=Object.prototype.hasOwnProperty;function Jt(e){if(!Q(e))return function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}(e);var t=Wt(e),a=[];for(var o in e)("constructor"!=o||!t&&Zt.call(e,o))&&a.push(o);return a}function ea(e){return Qt(e)?$t(e,!0):Jt(e)}var ta="object"==typeof exports&&exports&&!exports.nodeType&&exports,aa=ta&&"object"==typeof module&&module&&!module.nodeType&&module,oa=aa&&aa.exports===ta?D.Buffer:void 0,ra=oa?oa.allocUnsafe:void 0;function ia(){return[]}var na=Object.prototype.propertyIsEnumerable,sa=Object.getOwnPropertySymbols,ca=sa?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var a=-1,o=null==e?0:e.length,r=0,i=[];++a<o;){var n=e[a];t(n,a,e)&&(i[r++]=n)}return i}(sa(e),(function(t){return na.call(e,t)})))}:ia,la=ca;var da=Ht(Object.getPrototypeOf,Object),pa=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)gt(t,la(e)),e=da(e);return t}:ia,ua=pa;function ga(e,t,a){var o=t(e);return T(e)?o:gt(o,a(e))}function fa(e){return ga(e,Xt,la)}function va(e){return ga(e,ea,ua)}var ha=fe(D,"DataView"),ba=fe(D,"Promise"),ma=fe(D,"Set"),ya=fe(D,"WeakMap"),xa="[object Map]",wa="[object Promise]",ka="[object Set]",Ca="[object WeakMap]",Sa="[object DataView]",Aa=ne(ha),Ba=ne(Ae),ja=ne(ba),Na=ne(ma),Ia=ne(ya),za=$;(ha&&za(new ha(new ArrayBuffer(1)))!=Sa||Ae&&za(new Ae)!=xa||ba&&za(ba.resolve())!=wa||ma&&za(new ma)!=ka||ya&&za(new ya)!=Ca)&&(za=function(e){var t=$(e),a="[object Object]"==t?e.constructor:void 0,o=a?ne(a):"";if(o)switch(o){case Aa:return Sa;case Ba:return xa;case ja:return wa;case Na:return ka;case Ia:return Ca}return t});var Ta=za,_a=Object.prototype.hasOwnProperty;var Pa=D.Uint8Array;function Da(e){var t=new e.constructor(e.byteLength);return new Pa(t).set(new Pa(e)),t}var Oa=/\w*$/;var La=O?O.prototype:void 0,Fa=La?La.valueOf:void 0;var Ra="[object Boolean]",Ea="[object Date]",Ua="[object Map]",Ka="[object Number]",Ma="[object RegExp]",Ga="[object Set]",$a="[object String]",Va="[object Symbol]",Wa="[object ArrayBuffer]",Ha="[object DataView]",qa="[object Float32Array]",Ya="[object Float64Array]",Qa="[object Int8Array]",Xa="[object Int16Array]",Za="[object Int32Array]",Ja="[object Uint8Array]",eo="[object Uint8ClampedArray]",to="[object Uint16Array]",ao="[object Uint32Array]";function oo(e,t,a){var o,r=e.constructor;switch(t){case Wa:return Da(e);case Ra:case Ea:return new r(+e);case Ha:return function(e,t){var a=t?Da(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}(e,a);case qa:case Ya:case Qa:case Xa:case Za:case Ja:case eo:case to:case ao:return function(e,t){var a=t?Da(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}(e,a);case Ua:return new r;case Ka:case $a:return new r(e);case Ma:return function(e){var t=new e.constructor(e.source,Oa.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Ga:return new r;case Va:return o=e,Fa?Object(Fa.call(o)):{}}}var ro=Object.create,io=function(){function e(){}return function(t){if(!Q(t))return{};if(ro)return ro(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}(),no=io;var so="[object Map]";var co=Ut&&Ut.isMap,lo=co?Lt(co):function(e){return V(e)&&Ta(e)==so},po="[object Set]";var uo=Ut&&Ut.isSet,go=uo?Lt(uo):function(e){return V(e)&&Ta(e)==po},fo=1,vo=2,ho=4,bo="[object Arguments]",mo="[object Function]",yo="[object GeneratorFunction]",xo="[object Object]",wo={};function ko(e,t,a,o,r,i){var n,s=t&fo,c=t&vo,l=t&ho;if(a&&(n=r?a(e,o,r,i):a(e)),void 0!==n)return n;if(!Q(e))return e;var d=T(e);if(d){if(n=function(e){var t=e.length,a=new e.constructor(t);return t&&"string"==typeof e[0]&&_a.call(e,"index")&&(a.index=e.index,a.input=e.input),a}(e),!s)return function(e,t){var a=-1,o=e.length;for(t||(t=Array(o));++a<o;)t[a]=e[a];return t}(e,n)}else{var p=Ta(e),u=p==mo||p==yo;if(Dt(e))return function(e,t){if(t)return e.slice();var a=e.length,o=ra?ra(a):new e.constructor(a);return e.copy(o),o}(e,s);if(p==xo||p==bo||u&&!r){if(n=c||u?{}:function(e){return"function"!=typeof e.constructor||Wt(e)?{}:no(da(e))}(e),!s)return c?function(e,t){return zt(e,ua(e),t)}(e,function(e,t){return e&&zt(t,ea(t),e)}(n,e)):function(e,t){return zt(e,la(e),t)}(e,function(e,t){return e&&zt(t,Xt(t),e)}(n,e))}else{if(!wo[p])return r?e:{};n=oo(e,p,s)}}i||(i=new It);var g=i.get(e);if(g)return g;i.set(e,n),go(e)?e.forEach((function(o){n.add(ko(o,t,a,o,e,i))})):lo(e)&&e.forEach((function(o,r){n.set(r,ko(o,t,a,r,e,i))}));var f=d?void 0:(l?c?va:fa:c?ea:Xt)(e);return function(e,t){for(var a=-1,o=null==e?0:e.length;++a<o&&!1!==t(e[a],a,e););}(f||e,(function(o,r){f&&(o=e[r=o]),Xe(n,r,ko(o,t,a,r,e,i))})),n}function Co(e,t){return t.length<2?e:We(e,function(e,t,a){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(a=a>r?r:a)<0&&(a+=r),r=t>a?0:a-t>>>0,t>>>=0;for(var i=Array(r);++o<r;)i[o]=e[o+t];return i}(t,0,-1))}function So(e,t){return null==(e=Co(e,t=Ge(t,e)))||delete e[Ve((a=t,o=null==a?0:a.length,o?a[o-1]:void 0))];var a,o}wo[bo]=wo["[object Array]"]=wo["[object ArrayBuffer]"]=wo["[object DataView]"]=wo["[object Boolean]"]=wo["[object Date]"]=wo["[object Float32Array]"]=wo["[object Float64Array]"]=wo["[object Int8Array]"]=wo["[object Int16Array]"]=wo["[object Int32Array]"]=wo["[object Map]"]=wo["[object Number]"]=wo[xo]=wo["[object RegExp]"]=wo["[object Set]"]=wo["[object String]"]=wo["[object Symbol]"]=wo["[object Uint8Array]"]=wo["[object Uint8ClampedArray]"]=wo["[object Uint16Array]"]=wo["[object Uint32Array]"]=!0,wo["[object Error]"]=wo[mo]=wo["[object WeakMap]"]=!1;var Ao="[object Object]",Bo=Function.prototype,jo=Object.prototype,No=Bo.toString,Io=jo.hasOwnProperty,zo=No.call(Object);function To(e){return function(e){if(!V(e)||$(e)!=Ao)return!1;var t=da(e);if(null===t)return!0;var a=Io.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&No.call(a)==zo}(e)?void 0:e}var _o=Bt((function(e,t){var a={};if(null==e)return a;var o=!1;t=Re(t,(function(t){return t=Ge(t,e),o||(o=t.length>1),t})),zt(e,va(e),a),o&&(a=ko(a,7,To));for(var r=t.length;r--;)So(a,t[r]);return a})),Po=_o,Do={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const e=["fontSize","marginTop","marginBottom"],t=jt(this.props||{},e),a=Po(this.props||{},e);return{...w(t),...a}}}};Do.render=function(e,t,a,o,c,l){return r(),i("div",{style:n([l.computedStyle])},s(a.props.value),5)};var Oo={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,r=t.filter((e=>!a(e))).filter((e=>!Object.values(e).every((e=>a(e)))));let i=o;return e(r)||(i=r),console.log(52,i),i},computedStyle(){const e=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],t=jt(this.props,e),a=Po(this.props,e);return{...w(t),...a}}}};const Lo=["src"];function Fo(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===a&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}Fo(".lc-img-item[data-v-37ef13ec]{box-sizing:border-box;width:100%}"),Oo.render=function(e,t,a,o,s,p){return r(),i("div",null,[(r(!0),i(c,null,l(p.resultArr,((t,a)=>(r(),i("div",{key:e.cyy},[d("img",{mode:"widthFix",style:n([p.computedStyle,s.imgStyle]),src:t.imgUrl,alt:""},null,12,Lo)])))),128))])},Oo.__scopeId="data-v-37ef13ec";var Ro={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const e=["marginTop","marginBottom"],t=jt(this.props,e),a=Po(this.props,e);return{...w(t),...a,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){x||this.$emit("ToSearch")}}};const Eo={style:{overflow:"hidden"}},Uo=["src"];Ro.render=function(e,t,a,o,c,l){return r(),i("div",Eo,[d("div",{style:n([l.computedStyle]),onClick:t[0]||(t[0]=(...e)=>l.goSearch&&l.goSearch(...e))},[a.props.iconShow?(r(),i("img",{key:0,src:a.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Uo)):p("",!0),d("div",{style:n([{flex:"1"},{color:a.props.fontColor}])},s(a.props.value),5)],4)])};var Ko={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:x}),mounted(){this.init()},methods:{async init(){this.domainNameUrl=N(this);const{goods:e=[]}=this.props,t={skuCode:e.toString()},a=await I(this,t);this.listArr=o(a,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(e){if(x)return;const{skuCode:t}=e;let a={skuNo:t};this.$routers.push("detail",a)},getMaskState:e=>"1"===e?"预售中":"无库存"}};const Mo={key:1},Go=["onClick"],$o={class:"imgWrapper"},Vo={class:"maskState"},Wo=["src"],Ho={class:"goodsDescription"},qo={class:"goodsName"},Yo={class:"footerContent"},Qo={class:"goodsPrice"},Xo={key:0,class:"scribing"},Zo=(e=>(f("data-v-198b4a2c"),e=e(),v(),e))((()=>d("div",{class:"goodsBuy"},"立即购买",-1)));Fo(".cube-container[data-v-198b4a2c]{display:grid}.cube-container[data-v-198b4a2c].arrange-1[data-v-198b4a2c]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-198b4a2c].arrange-1[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsImg[data-v-198b4a2c]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-198b4a2c].arrange-1[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsName[data-v-198b4a2c]{font-size:20px}.cube-container[data-v-198b4a2c].arrange-1[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c]{font-size:18px}.cube-container[data-v-198b4a2c].arrange-1[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c] .scribing[data-v-198b4a2c]{font-size:14px}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c] .cube-item[data-v-198b4a2c]{margin:0 5px}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsImg[data-v-198b4a2c]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c]{position:relative}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsName[data-v-198b4a2c]{font-size:16px;height:42px}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c]{font-size:14px}.cube-container[data-v-198b4a2c].arrange-2[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c] .scribing[data-v-198b4a2c]{font-size:12px}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c]{display:flex;overflow-x:scroll}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c] .cube-item[data-v-198b4a2c]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsImg[data-v-198b4a2c]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c]{font-size:18px}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c] .scribing[data-v-198b4a2c]{font-size:14px}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsName[data-v-198b4a2c]{font-size:20px}.cube-container[data-v-198b4a2c].arrange-3[data-v-198b4a2c] .cube-item[data-v-198b4a2c]:not(:last-child){margin-right:10px}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .imgWrapper[data-v-198b4a2c] .goodsImg[data-v-198b4a2c]{height:100px;width:100px}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsName[data-v-198b4a2c]{font-size:16px;height:auto}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c]{font-size:16px}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c] .scribing[data-v-198b4a2c]{font-size:12px}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsBuyWrapper[data-v-198b4a2c]{position:relative}.cube-container[data-v-198b4a2c].arrange-4[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsBuyWrapper[data-v-198b4a2c] .goodsBuy[data-v-198b4a2c]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;position:absolute;right:0;top:0}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .imgWrapper[data-v-198b4a2c]{position:relative;text-align:center}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .imgMarked[data-v-198b4a2c]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .imgMarked[data-v-198b4a2c] .maskState[data-v-198b4a2c]{color:#fff;font-size:23px}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsName[data-v-198b4a2c]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c]{color:#f53a50;font-weight:600}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .footerContent[data-v-198b4a2c] .goodsPrice[data-v-198b4a2c] .scribing[data-v-198b4a2c]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-198b4a2c] .cube-item[data-v-198b4a2c] .goodsDescription[data-v-198b4a2c] .goodsBuy[data-v-198b4a2c]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Ko.render=function(e,t,a,o,f,v){return r(),i("div",null,[a.props.goods?(r(),i("div",Mo,[d("div",{class:u(["cube-container",`arrange-${a.props.arrange}`,{isLc:f.isLc}]),style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,gap:`${a.props.margin}px`})},[(r(!0),i(c,null,l(f.listArr,((e,t)=>(r(),i("div",{class:"cube-item",key:e.skuCode,onClick:t=>v.goGoodsDetail(e)},[d("div",$o,[!1===f.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:a.props.borderRadius})},[d("div",Vo,s(v.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?f.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:n({borderRadius:a.props.borderRadius})},null,12,Wo)]),d("div",Ho,[d("div",qo,s(e.goodsName),1),d("section",Yo,[d("div",Qo,[g(" ¥"+s(e.pricesetNprice)+" ",1),1===a.props.markedPrice?(r(),i("div",Xo,"¥"+s(e.pricesetMakeprice),1)):p("",!0)]),Zo])])],8,Go)))),128))],6)])):(r(),i("div",{key:0,style:n(f.noDataStyle)},"请选择商品",4))])},Ko.__scopeId="data-v-198b4a2c";var Jo={name:"cyy-slider",data:()=>({lowCode:x}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,r=t.filter((e=>!a(e))).filter((e=>!Object.values(e).every((e=>a(e)))));let i=o;return e(r)||(i=r),i},imgH(){const{imgHeight:e}=this.props;return e.height/e.width*750},sliderStyle(){const e=jt(this.props,["marginTop","marginBottom"]);return{...w(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const er={key:0},tr=["src"],ar={key:1},or=["src"];Fo(".lowCode-warp{position:relative}.lowCode-warp ul{bottom:10px;padding:0;position:absolute;text-align:center;width:100%}.lowCode-warp li{background-color:rgba(0,0,0,.3);border-radius:50%;display:inline-block;height:8px;margin:0 4px;width:8px}.lowCode-warp li:first-child{background-color:#000}"),Jo.render=function(e,t,a,o,s,p){const u=h("swiper-item"),g=h("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",er,[d("div",{class:"lowCode-warp",style:n([p.sliderStyle])},[d("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,tr),d("ul",null,[(r(!0),i(c,null,l(p.resultArr,((t,a)=>(r(),i("li",{key:e.cyy})))),128))])],4)])):(r(),i("div",ar,[b(g,{"indicator-dots":!0,autoplay:a.props.autoplay,interval:a.props.autoplayInterval,vertical:p.reDirection,circular:a.props.loop,style:n({height:p.imgH+"rpx"})},{default:m((()=>[(r(!0),i(c,null,l(p.resultArr,((t,a)=>(r(),y(u,{key:e.cyy,style:n([p.sliderStyle,{boxSizing:"border-box"}])},{default:m((()=>[d("img",{src:t.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,or)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var rr={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:e=[]}=this.props;console.log(197);const t=e.toString();console.log(198);const a={goodsCode:t};console.log(199,a);const r=await I(this,a);this.listArr=o(r,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(x)return;const{skuCode:t,skuNo:a}=e;let o={skuCode:t,skuNo:a};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:e=>"1"===e?"预售中":"无库存"};const ir=e=>(f("data-v-10bfa4cb"),e=e(),v(),e),nr={key:1},sr={class:"three-layout"},cr={key:0,class:"top-left"},lr={key:1,class:"top-right"},dr=[ir((()=>d("div",null,"更多",-1))),ir((()=>d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],pr={class:"three-layout-content"},ur={class:"three-layout-bigImg"},gr=["src"],fr={class:"three-layout-goods"},vr=["src"],hr={key:0,class:"mask-three-more"},br={class:"price-box"},mr={class:"now-price"},yr={key:0,class:"origin-price"};Fo(".three-layout[data-v-10bfa4cb]{border-radius:7px}.three-layout[data-v-10bfa4cb] .mask-three-more[data-v-10bfa4cb]{background-color:#000;color:#fff;display:block;font-size:52px;height:98px;line-height:98px;opacity:.5;position:absolute;text-align:center;top:0;width:98px}.three-layout[data-v-10bfa4cb] .three-layout-title[data-v-10bfa4cb]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-10bfa4cb] .three-layout-title[data-v-10bfa4cb] .top-left[data-v-10bfa4cb]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-10bfa4cb] .three-layout-title[data-v-10bfa4cb] .top-right[data-v-10bfa4cb]{align-items:center;display:flex}.three-layout[data-v-10bfa4cb] .three-layout-title[data-v-10bfa4cb] .top-right[data-v-10bfa4cb] div[data-v-10bfa4cb]{color:#595959;font-size:12px}.three-layout[data-v-10bfa4cb] .three-layout-title[data-v-10bfa4cb] .top-right[data-v-10bfa4cb] image[data-v-10bfa4cb]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-10bfa4cb] .three-layout-content[data-v-10bfa4cb]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-10bfa4cb] .three-layout-content[data-v-10bfa4cb] .three-layout-bigImg[data-v-10bfa4cb] image[data-v-10bfa4cb]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-10bfa4cb] .three-layout-content[data-v-10bfa4cb] .three-layout-goods[data-v-10bfa4cb]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-10bfa4cb] .three-layout-content[data-v-10bfa4cb] .three-layout-goods[data-v-10bfa4cb] .goods-items[data-v-10bfa4cb]{width:106px}.scroll-list[data-v-10bfa4cb]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-10bfa4cb] .scroll-item[data-v-10bfa4cb]{display:inline-block;margin-right:10px}.scroll-list[data-v-10bfa4cb] .scroll-item[data-v-10bfa4cb] image[data-v-10bfa4cb]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-10bfa4cb] .scroll-item[data-v-10bfa4cb] p[data-v-10bfa4cb]{-webkit-box-orient:vertical;-webkit-line-clamp:1;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;line-height:17px;overflow:hidden;white-space:normal;width:98px}.scroll-top[data-v-10bfa4cb]{margin-top:10px}"),rr.render=function(e,t,a,o,u,f){const v=h("vop-label"),y=h("scroll-view");return r(),i("div",null,[a.props.goods?(r(),i("div",nr,[d("div",sr,[d("div",{class:"three-layout-title",onClick:t[0]||(t[0]=e=>f.jumpToSearch())},[a.props.title.isShow?p("",!0):(r(),i("div",cr,s(a.props.title.title||""),1)),1===a.props.more?(r(),i("div",lr,dr)):p("",!0)]),d("div",pr,[d("div",ur,[d("image",{"lazy-load":!0,src:a.props.bill?a.props.bill:"",mode:"aspectFill"},null,8,gr)]),d("div",fr,[b(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:m((()=>[(r(!0),i(c,null,l(u.listArr,((a,o)=>(r(),i("div",{class:"scroll-item",key:o,onClick:t[1]||(t[1]=t=>e.toDetail())},[d("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+a.dataPic,mode:"aspectFill"},null,8,vr),a.goodsSupplynum<=0||"1"===a.goodsProperty5?(r(),i("div",hr,s(e.maskTitle(a.goodsProperty5)),1)):p("",!0),d("p",null,[b(v,{goodsType:a.contlistPrice1},null,8,["goodsType"]),g(s(a.goodsName),1)]),d("div",br,[d("div",mr,"¥"+s(a.pricesetMakeprice||0),1),1==a.contlistConNow?(r(),i("div",yr,"¥"+s(a.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(r(),i("div",{key:0,style:n(u.noDataStyle)},"请选择商品样式一",4))])},rr.__scopeId="data-v-10bfa4cb";var xr={name:"cyy-ArsenalPicture",data:()=>({classOptions:{showA:!1,showB:!1,showC:!1,showD:!1,showE:!1,showF:!1,showG:!1,showH:!1,showI:!1,showJ:!1},imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,spacing:Number,marginTop:Number,marginBottom:Number,selectImg:Array,defaultValue:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,r=t.filter((e=>!a(e))).filter((e=>!Object.values(e).every((e=>a(e)))));let i=o;return e(r)||(i=r),console.log(52,i),i}},methods:{whitchClass(){if(1===this.props.showStyle)return 0!=this.props.spacing?void(this.classOptions.showJ=!0):void(this.classOptions.showI=!0);if(0==this.props.spacing)switch(this.resultArr.length){case 1:this.classOptions.showA=!0;break;case 2:this.classOptions.showB=!0;break;case 3:this.classOptions.showC=!0;break;case 4:this.classOptions.showD=!0}else switch(this.props.selectImg.length){case 1:this.classOptions.showE=!0;break;case 2:this.classOptions.showF=!0;break;case 3:this.classOptions.showG=!0;break;case 4:this.classOptions.showH=!0}},linkClick(e){this.$emit("linkClick",e)}}};const wr={key:0,class:"holder"},kr=["src","onClick"],Cr=["src","onClick"];Fo(".holder[data-v-38f6475c]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-38f6475c]{display:flex;justify-content:space-between;width:100%}.ArsenalPicture[data-v-38f6475c] .classA-show[data-v-38f6475c]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture[data-v-38f6475c] .classB-show[data-v-38f6475c]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture[data-v-38f6475c] .classC-show[data-v-38f6475c]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture[data-v-38f6475c] .classD-show[data-v-38f6475c]{aspect-ratio:1;width:25%}.ArsenalPicture[data-v-38f6475c] .classE-show[data-v-38f6475c]{height:392px;width:392px}.ArsenalPicture[data-v-38f6475c] .classF-show[data-v-38f6475c]{height:180px;width:180px}.ArsenalPicture[data-v-38f6475c] .classG-show[data-v-38f6475c]{height:120px;width:120px}.ArsenalPicture[data-v-38f6475c] .classH-show[data-v-38f6475c]{height:80px;width:80px}.ArsenalPicture[data-v-38f6475c] .ArsenalImg[data-v-38f6475c]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-38f6475c],.ArsenalPicture-colunm[data-v-38f6475c] .classI-show[data-v-38f6475c]{width:100%}.ArsenalPicture-colunm[data-v-38f6475c] .classJ-show[data-v-38f6475c]{margin-bottom:20px;width:100%}.ArsenalPicture-colunm[data-v-38f6475c] .ArsenalImg[data-v-38f6475c]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-38f6475c] .ArsenalImg-classIJ[data-v-38f6475c]{width:100%}"),xr.render=function(e,t,a,o,s,d){return r(),i("div",null,[a.props.selectImg.length?(r(),i("div",{key:1,class:u([1===a.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(c,null,l(d.resultArr,((e,t)=>(r(),i("div",{key:t,class:u({"classA-show":s.classOptions.showA,"classB-show":s.classOptions.showB,"classC-show":s.classOptions.showC,"classD-show":s.classOptions.showD,"classE-show":s.classOptions.showE,"classF-show":s.classOptions.showF,"classG-show":s.classOptions.showG,"classH-show":s.classOptions.showH,"classI-show":s.classOptions.showI,"classJ-show":s.classOptions.showJ})},[s.classOptions.showJ||s.classOptions.showI?(r(),i("img",{key:0,class:"ArsenalImg-classIJ",mode:"widthFix",src:e.imgUrl,alt:"",style:n({borderRadius:a.props.cornerStyle+"px"}),onClick:t=>d.linkClick(e)},null,12,kr)):(r(),i("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:e.imgUrl,alt:"",style:n({borderRadius:a.props.cornerStyle+"px"}),onClick:t=>d.linkClick(e)},null,12,Cr))],2)))),128))],6)):(r(),i("div",wr,"请选择添加图片"))])},xr.__scopeId="data-v-38f6475c";var Sr={name:"cyy-ArsenalPicture",data:()=>({skeleton:["导航1","导航2","导航3","导航4"],imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,r=t.filter((e=>!a(e))).filter((e=>!Object.values(e).every((e=>a(e)))));let i=o;return e(r)||(i=r),console.log(52,i),i}},methods:{classifyPhotoCorner:e=>20===e?8:50===e?16:e,linkClick(e){this.$emit("linkClick",e)}}};const Ar={key:0,class:"holder"},Br=(e=>(f("data-v-0ff6b754"),e=e(),v(),e))((()=>d("div",null,null,-1))),jr=["onClick"],Nr=["src"],Ir={key:1},zr=["onClick"],Tr=["src"];Fo(".holder[data-v-0ff6b754]{height:75px;padding:10px 0;width:100%}.holder[data-v-0ff6b754] ul[data-v-0ff6b754]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder[data-v-0ff6b754] ul[data-v-0ff6b754] li[data-v-0ff6b754]{list-style:none}.holder[data-v-0ff6b754] ul[data-v-0ff6b754] li[data-v-0ff6b754] div[data-v-0ff6b754]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder[data-v-0ff6b754] ul[data-v-0ff6b754] li[data-v-0ff6b754] div[data-v-0ff6b754] span[data-v-0ff6b754]{display:flex;font-size:12px;justify-content:center}.golds[data-v-0ff6b754]{border-radius:14px;border-radius:4px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap;justify-content:space-between}.golds[data-v-0ff6b754] .golds-item[data-v-0ff6b754]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0;width:25%}.golds[data-v-0ff6b754] .golds-item[data-v-0ff6b754] div[data-v-0ff6b754]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center}.photoSizeBig[data-v-0ff6b754]{height:58px;width:58px}.photoSizeSmall[data-v-0ff6b754]{height:48px;width:48px}.classify-list[data-v-0ff6b754]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;margin-top:20px;padding:8px 5px .25px}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754] div[data-v-0ff6b754]{font-weight:700}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754] img[data-v-0ff6b754]{margin:7.5px 0}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754]:first-child,.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-0ff6b754]{width:48%}.classifyItemSmall[data-v-0ff6b754]{width:46%}.classifyImgBig[data-v-0ff6b754]{height:90px;width:100%}.classifyImgSmall[data-v-0ff6b754]{height:87.75px;width:100%}.classifyFontBig[data-v-0ff6b754]{font-size:12px;height:12px}.classifyFontSmall[data-v-0ff6b754]{font-size:11px;height:12px}"),Sr.render=function(e,t,a,o,g,f){return r(),i("div",null,[a.props.selectImg.length?(r(),i(c,{key:1},[0===a.props.showStyle?(r(),i("div",{key:0,class:"golds",style:n({backgroundColor:a.props.backgroundColor,marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(c,null,l(f.resultArr,((e,t)=>(r(),i("div",{class:"golds-item",key:t,onClick:t=>f.linkClick(e)},[d("img",{class:u([1===a.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:n({borderRadius:a.props.photoCorner+"%"}),"lazy-load":!0,src:e.imgUrl},null,14,Nr),d("div",{style:n({color:a.props.fontColor})},s(e.name),5)],8,jr)))),128))],4)):p("",!0),1===a.props.showStyle?(r(),i("div",Ir,[d("div",{class:"classify-list",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(c,null,l(f.resultArr,((e,t)=>(r(),i("div",{class:u(["classify-item",[1===a.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:n({backgroundColor:a.props.backgroundColor}),key:t,onClick:t=>f.linkClick(e)},[d("div",{class:u([1===a.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:n({color:a.props.fontColor})},s(e.name),7),d("img",{class:u([1===a.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:n({borderRadius:f.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl},null,14,Tr)],14,zr)))),128))],4)])):p("",!0)],64)):(r(),i("div",Ar,[d("ul",null,[(r(!0),i(c,null,l(g.skeleton,((e,t)=>(r(),i("li",{key:t},[Br,d("span",null,s(e),1)])))),128))])]))])},Sr.__scopeId="data-v-0ff6b754";var _r={name:"cyy-ArsenalCarousel",data:()=>({lowCode:x}),props:{props:{photoCorner:Number,autoPlay:Number,autoplayInterval:Number,direction:Number,loop:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:t,defaultValue:o}=this.props,r=t.filter((e=>!a(e))).filter((e=>!Object.values(e).every((e=>a(e)))));let i=o;return e(r)||(i=r),console.log(52,i),i}},methods:{classifyPhotoCorner:e=>20===e?10:50===e?20:e,linkClick(e){this.$emit("linkClick",e)}}};const Pr={key:0},Dr=["src"],Or={class:"swiper"},Lr=["src","onClick"];Fo(".holder[data-v-7be72334]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-7be72334]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334],.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] .swiper-content[data-v-7be72334]{height:150px;width:100%}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] .swiper-content[data-v-7be72334] .img-item[data-v-7be72334]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] img[data-v-7be72334]{border-radius:10px;height:100%;width:100%}"),_r.render=function(e,t,a,o,s,p){const u=h("swiper-item"),g=h("block"),f=h("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",Pr,[d("div",{class:"lowCode-warp",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[d("img",{src:p.resultArr[0].imgUrl,alt:"",style:n({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px",width:"100%"})},null,12,Dr),d("ul",null,[(r(!0),i(c,null,l(p.resultArr,((e,t)=>(r(),i("li",{key:t})))),128))])],4)])):(r(),i("div",{key:1,class:"swiperBox",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[d("div",Or,[b(f,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:a.props.autoplayInterval},{default:m((()=>[(r(!0),i(c,null,l(p.resultArr,((e,t)=>(r(),y(g,{key:t},{default:m((()=>[b(u,{class:"img-item"},{default:m((()=>[d("img",{style:n({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl,onClick:t=>p.linkClick(e)},null,12,Lr)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},_r.__scopeId="data-v-7be72334";var Fr={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Rr={key:0,class:"label"};Fo(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Fr.render=function(e,t,a,o,n,s){return"40"===a.goodsType?(r(),i("text",Rr,"京东优选")):p("",!0)},Fr.__scopeId="data-v-3a887c2c";var Er={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:{type:String},selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,goodsTag:Array,backgroundColor:String,cornerStyle:Number,spacingStyle:Number,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},goodsList:[],completeGoodsList:[],domainNameUrl:"",imgUrl:"",isLowCode:x}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}}},components:{vopLabel:Fr},mounted(){this.init()},methods:{async init(){this.domainNameUrl=N(this);const{goods:e=[]}=this.props,t={skuCode:e.toString()},a=await I(this,t);this.completeGoodsList=o(a,"list",[]),1===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,12):2===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,2):3===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,3):[4,5].includes(this.props.arrange)&&(this.goodsList=this.completeGoodsList.slice(0,60))},goGoodsDetail(e){if(x)return;const{skuCode:t}=e;let a={skuNo:t};this.$routers.push("detail",a)},goMoreGoods(){x||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:e=>"1"===e?"预售中":"无库存"}},Ur="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Kr=e=>(f("data-v-883e09ee"),e=e(),v(),e),Mr={class:"title"},Gr={class:"subtitle"},$r=Kr((()=>d("img",{src:Ur},null,-1))),Vr={class:"title"},Wr=Kr((()=>d("div",{class:"line"},null,-1))),Hr={class:"mainTitle"},qr=Kr((()=>d("div",{class:"line"},null,-1))),Yr={key:2,class:"mainImage"},Qr=["src"],Xr=["onClick"],Zr=["src"],Jr={class:"maskState"},ei={class:"goodsDescription"},ti={class:"goodsName"},ai={class:"footerContent"},oi={key:0,class:"goodsTagList"},ri={class:"tag"},ii={class:"goodsPrice"},ni=Kr((()=>d("span",{class:"priceUnit"},"¥",-1))),si={key:0,class:"scribing"},ci=["onClick"];Fo("body{margin:0}");Fo('.mainTitleColor[data-v-883e09ee]{color:#f52b43}.top[data-v-883e09ee]{margin:0 10px;padding:12px 0}.top[data-v-883e09ee] .mainTitle[data-v-883e09ee]{font-size:16px;font-weight:600}.top[data-v-883e09ee].left[data-v-883e09ee]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-883e09ee].left[data-v-883e09ee] .title[data-v-883e09ee] .subtitle[data-v-883e09ee]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-883e09ee].left[data-v-883e09ee] .more[data-v-883e09ee]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-883e09ee].left[data-v-883e09ee] .more[data-v-883e09ee] img[data-v-883e09ee]{height:8px;width:6px}.top[data-v-883e09ee].center[data-v-883e09ee]{padding:18px 0}.top[data-v-883e09ee].center[data-v-883e09ee] .title[data-v-883e09ee]{align-items:center;display:flex;justify-content:center}.top[data-v-883e09ee].center[data-v-883e09ee] .title[data-v-883e09ee] .line[data-v-883e09ee]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-883e09ee].center[data-v-883e09ee] .title[data-v-883e09ee] .mainTitle[data-v-883e09ee]{text-align:center}.mainImage[data-v-883e09ee]{margin:0 10px;max-width:100%}.mainImage[data-v-883e09ee] img[data-v-883e09ee]{max-height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-883e09ee]{margin:8px 10px 0}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee]{background-color:#fff}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .imgMarked[data-v-883e09ee]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .imgMarked[data-v-883e09ee] .maskState[data-v-883e09ee]{color:#fff;font-size:23px}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .goodsName[data-v-883e09ee]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;height:32px;overflow:hidden;text-overflow:ellipsis}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee]{margin-bottom:10px}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsTagList[data-v-883e09ee]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsTagList[data-v-883e09ee] .tag[data-v-883e09ee]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsTagList[data-v-883e09ee] .tag[data-v-883e09ee]:not(:last-child){margin-right:8px}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsPrice[data-v-883e09ee]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsPrice[data-v-883e09ee] .priceUnit[data-v-883e09ee]{font-size:10px}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsPrice[data-v-883e09ee] .scribing[data-v-883e09ee]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsBuy[data-v-883e09ee]{background-color:red;border:0;border-radius:15px;color:#fff;font-size:12px;line-height:22px;margin-left:auto;margin-right:auto;text-align:center;width:5em}.arrange-1[data-v-883e09ee]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImageWrapper[data-v-883e09ee] .goodsImage[data-v-883e09ee]{height:100px;width:100px}.arrange-1[data-v-883e09ee] .goodsBox[data-v-883e09ee]:not(:last-child){padding-right:20px}.arrange-1[data-v-883e09ee] .goodsBox[data-v-883e09ee]:not(:last-child) .spacingStyle[data-v-883e09ee]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-883e09ee] .footerContent[data-v-883e09ee]{margin-top:10px}.arrange-1[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsBuy[data-v-883e09ee]{margin-bottom:10px;text-align:center}.arrange-2[data-v-883e09ee],.arrange-4[data-v-883e09ee]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImageWrapper[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImageWrapper[data-v-883e09ee]{width:50%}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImageWrapper[data-v-883e09ee] .goodsImage[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImageWrapper[data-v-883e09ee] .goodsImage[data-v-883e09ee]{aspect-ratio:1;height:100%;width:100%}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee]{margin-left:10px;position:relative;width:100%}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .goodsName[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .goodsName[data-v-883e09ee]{font-size:14px;height:auto}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsPrice[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsPrice[data-v-883e09ee]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsBuy[data-v-883e09ee],.arrange-4[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsBuy[data-v-883e09ee]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-883e09ee]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee]{background:#fff;margin-top:10px;width:48%}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImage[data-v-883e09ee]{aspect-ratio:1;height:100%;width:100%}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .goodsName[data-v-883e09ee]{height:2.5em;margin-top:10px}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsBuy[data-v-883e09ee]{margin:0}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee]:first-child{width:100%}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee]:first-child .goodsImage[data-v-883e09ee]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3[data-v-883e09ee] .goodsBox[data-v-883e09ee]:first-child .goodsName[data-v-883e09ee]{height:auto}.arrange-5[data-v-883e09ee]{grid-gap:10px 20px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-883e09ee] .goodsBox[data-v-883e09ee]{background:#fff}.arrange-5[data-v-883e09ee] .goodsBox[data-v-883e09ee] .goodsImage[data-v-883e09ee]{aspect-ratio:1;height:100%;width:100%}.arrange-5[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee]{margin-bottom:10px}.arrange-5[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsPrice[data-v-883e09ee]{text-align:center}.arrange-5[data-v-883e09ee] .goodsDescription[data-v-883e09ee] .footerContent[data-v-883e09ee] .goodsBuy[data-v-883e09ee]{margin-bottom:10px;text-align:center}'),Er.render=function(e,t,a,o,f,v){const m=h("vopLabel");return r(),i("div",null,[a.props.goods?(r(),i("div",{key:1,style:n({margin:`${a.props.marginTop}px 0 ${a.props.marginBottom}px 0`,backgroundColor:`${a.props.backgroundColor}`,borderRadius:`${a.props.cornerStyle}px`})},[4!==a.props.arrange?(r(),i("div",{key:0,class:u(["top",{left:4!==a.props.arrange}])},[d("div",Mr,[d("span",{class:u(["mainTitle",v.mainTitleColor])},s(a.props.activityTitle),3),d("span",Gr,s(a.props.activitySubtitle),1)]),1===a.props.more&&[1,2,3].includes(a.props.arrange)?(r(),i("div",{key:0,class:"more",onClick:t[0]||(t[0]=e=>v.goMoreGoods())},[g(" 更多"),$r])):p("",!0)],2)):4===a.props.arrange?(r(),i("div",{key:1,class:u(["top",{center:4===a.props.arrange}])},[d("div",Vr,[Wr,d("div",Hr,s(a.props.activityTitle),1),qr])],2)):p("",!0),a.props.selectImg?(r(),i("div",Yr,[d("img",{style:n({borderTopLeftRadius:`${a.props.cornerStyle}px`,borderTopRightRadius:`${a.props.cornerStyle}px`}),src:a.props.selectImg,alt:"主图"},null,12,Qr)])):p("",!0),d("div",{class:u(["goodsList",[`arrange-${a.props.arrange}`,{isLc:!e.isLc}]])},[(r(!0),i(c,null,l(f.goodsList,((t,o)=>(r(),i("div",{class:"goodsBox",style:n({borderRadius:`${a.props.cornerStyle}px`}),key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[d("div",{class:u(["goodsImageWrapper",{spacingStyle:2===a.props.spacingStyle}]),style:{position:"relative"}},[d("img",{class:"goodsImage",style:n({borderRadius:`${a.props.cornerStyle}px`}),src:t.dataPic?-1===t.dataPic.indexOf("http")?f.domainNameUrl+t.dataPic:t.dataPic:"",alt:"商品图片"},null,12,Zr),!1===f.isLowCode&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:a.props.borderRadius})},[d("div",Jr,s(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0)],2),d("div",ei,[d("div",ti,[b(m),g(s(t.goodsName),1)]),d("section",ai,[a.props.goodsTag.length>0&&[2,4].includes(a.props.arrange)?(r(),i("div",oi,[(r(!0),i(c,null,l(a.props.goodsTag,(e=>(r(),i("div",{key:e.id},[d("span",ri,s(e.value),1)])))),128))])):p("",!0),d("div",ii,[ni,g(s(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(r(),i("div",si," ¥"+s(t.pricesetMakeprice),1)):p("",!0)]),1===a.props.purchaseIcon?(r(),i("div",{key:1,class:"goodsBuy",onClick:a=>e.handleBuyGoods(t.skuNo)}," 立即购买 ",8,ci)):p("",!0)])])],12,Xr)))),128))],2)],4)):(r(),i("div",{key:0,style:n(f.noDataStyle)},"请选择商品",4))])},Er.__scopeId="data-v-883e09ee";var li={name:"cyy-ArsenalTop",data:()=>({lowCode:x,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){this.changeColor()},computed:{resultArrImg:()=>e=>e[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:t,defaultValue:o}=this.props,r=t.filter((e=>!a(e))).filter((e=>!Object.values(e).every((e=>a(e)))));let i=o;return e(r)||(i=r),console.log(52,i),i}},methods:{changeColor(){this.props.selectImg.length&&(this.color=this.props.selectImg[0]?.color||"#FD1738")},classifyPhotoCorner:e=>20===e?10:50===e?20:e,setimg(e){const t=e.detail.current;this.color=this.props.selectImg[t]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},linkClick(e){this.$emit("linkClick",e)}}};const di=e=>(f("data-v-2fdfd7a0"),e=e(),v(),e),pi={key:0},ui={class:"title-t"},gi={class:"boxBgL"},fi=di((()=>d("div",{class:"search",style:{display:"flex","justify-content":"center",position:"relative","z-index":"1"}},[d("div",{class:"search--input",style:{padding:"2px 112px",border:"1px solid white","border-radius":"20px"}},[d("div",{class:"search--input--box",style:{color:"#fff"}},[d("span",null,"搜索您喜欢的商品"),d("img",{src:"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/search.png",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px",position:"absolute",top:"-4px",right:"18px"}})])])],-1))),vi={class:"tag",style:{"justify-content":"center"}},hi={class:"tag--item"},bi={class:"",style:{color:"#fff","font-size":"24rpx",position:"relative","z-index":"1"}},mi=["src"],yi=["src"],xi=["src"],wi={class:"Box"},ki={class:"boxBg"},Ci={class:"search"},Si=di((()=>d("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),Ai=[di((()=>d("text",{class:"iconfont icon-sousuo"},null,-1)))],Bi={class:"tag"},ji={class:"tag--item"},Ni={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},Ii=["src"],zi={class:"",style:{color:"#fff","font-size":"24rpx"}},Ti=di((()=>d("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),_i={class:"swiper"},Pi=["src","onClick"];Fo(".holder[data-v-2fdfd7a0]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-2fdfd7a0]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0],.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0]{height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0] .img-item[data-v-2fdfd7a0]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{border-radius:10px;height:100%;width:100%}.Box[data-v-2fdfd7a0]{position:relative;width:100%}.boxBg[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBg[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBgL[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);height:32px;margin:0 auto;position:relative;text-align:center;width:90%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--box[data-v-2fdfd7a0]{color:#fff;font-size:12px;line-height:32px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0]{align-items:center;border-radius:17.5px;display:flex;height:22px;justify-content:center;position:absolute;right:5px;top:5px;width:27.5px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0] .icon-sousuo[data-v-2fdfd7a0]{color:#fff}.tag[data-v-2fdfd7a0]{display:flex;padding:7px 0}.tag[data-v-2fdfd7a0]--item[data-v-2fdfd7a0]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-2fdfd7a0]{height:40px}.title-l[data-v-2fdfd7a0] .title-t[data-v-2fdfd7a0]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-2fdfd7a0]{padding:0 20px}.coupon[data-v-2fdfd7a0]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{height:55px;width:55px}"),li.render=function(e,t,a,o,p,u){const f=h("swiper-item"),v=h("block"),x=h("swiper");return r(),i("div",null,[p.lowCode?(r(),i("div",pi,[d("div",{class:"title-l",slot:"left",style:n({"background-color":p.color})},[d("div",ui,s(a.props.siteName||"人才优选 品质优选"),1)],4),d("div",{class:"Box",style:n({"background-color":p.color})},[d("div",gi,[d("div",{class:"one",style:n({"background-color":p.color})},null,4),d("div",{class:"two",style:n({"background-color":p.color})},null,4)]),fi,d("div",vi,[d("div",hi,[d("div",bi,[a.props.iconImg?(r(),i("img",{key:0,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,mi)):(r(),i("img",{key:1,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,yi)),g(s(a.props.mallSlogan),1)])])])],4),d("div",{class:"lowCode-warp",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[d("img",{src:u.resultArrImg(u.resultArr),alt:"",style:{width:"100%"}},null,8,xi),d("ul",null,[(r(!0),i(c,null,l(u.resultArr,((e,t)=>(r(),i("li",{key:t})))),128))])],4)])):(r(),i(c,{key:1},[d("div",wi,[d("div",ki,[d("div",{class:"one",style:n({"background-color":p.color})},null,4),d("div",{class:"two",style:n({"background-color":p.color})},null,4)]),d("div",Ci,[d("div",{class:"search--input",onClick:t[0]||(t[0]=(...e)=>u.ToSearch&&u.ToSearch(...e))},[Si,d("div",{class:"search--input--icon",style:n({"background-color":p.color})},Ai,4)])]),d("div",Bi,[d("div",ji,[d("div",Ni,[d("img",{"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Ii)]),d("div",zi,s(a.props.mallSlogan),1)])]),Ti]),d("div",{class:"swiperBox",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[d("div",_i,[b(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:u.directionResult,autoplay:u.autoplayResult,duration:a.props.autoplayInterval,onChange:u.setimg},{default:m((()=>[(r(!0),i(c,null,l(u.resultArr,((e,t)=>(r(),y(v,{key:t},{default:m((()=>[b(f,{class:"img-item"},{default:m((()=>[d("img",{style:n({bordeRadius:u.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl,onClick:t=>u.linkClick(e)},null,12,Pi)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},li.__scopeId="data-v-2fdfd7a0";var Di={props:{props:{live:Array,title:String,cover:String,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let e="";switch(this.props.live.dataState){case 0:e="初始化";break;case 1:e="上传直播间";break;case 101:e="直播中";break;case 102:e="未开始";break;case 103:e="已结束";break;case 104:e="禁播";break;case 105:e="暂停";break;case 106:e="异常";break;case 107:e="已过期"}return e}},methods:{handleToLive(){if(x)return;let e=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${e}`})}}};const Oi=["src"],Li={class:"liveState"},Fi={class:"liveIntroduction"},Ri={class:"liveTitle"},Ei={class:"anchorName"};Fo(".live[data-v-0b07f37b]{display:flex;padding:10px}.live[data-v-0b07f37b] .liveCover[data-v-0b07f37b]{height:140px;position:relative;width:140px}.live[data-v-0b07f37b] .liveCover[data-v-0b07f37b] img[data-v-0b07f37b]{height:100%;width:100%}.live[data-v-0b07f37b] .liveCover[data-v-0b07f37b] .liveState[data-v-0b07f37b]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.live[data-v-0b07f37b] .liveIntroduction[data-v-0b07f37b]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.live[data-v-0b07f37b] .liveIntroduction[data-v-0b07f37b] .liveTitle[data-v-0b07f37b]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.live[data-v-0b07f37b] .liveIntroduction[data-v-0b07f37b] .anchorName[data-v-0b07f37b]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}"),Di.render=function(e,t,a,o,c,l){return r(),i("div",null,[a.props.live?(r(),i("div",{key:1,class:"live",style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[d("div",{class:"liveCover",onClick:t[0]||(t[0]=e=>l.handleToLive())},[d("img",{src:l.liveCover},null,8,Oi),d("div",Li,s(l.liveState),1)]),d("div",Fi,[d("div",Ri,s(l.liveTitle),1),d("div",Ei,s(a.props.live.infuencerInfname),1)])],4)):(r(),i("div",{key:0,style:n(c.noDataStyle)},"请选择直播",4))])},Di.__scopeId="data-v-0b07f37b";const Ui=async e=>{const t=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+e,{method:"POST",headers:{"saas-token":t,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((e=>e.json())).then(((e={})=>e))},Ki="%[a-f0-9]{2}",Mi=new RegExp("("+Ki+")|([^%]+?)","gi"),Gi=new RegExp("("+Ki+")+","gi");function $i(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const a=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],$i(a),$i(o))}function Vi(e){try{return decodeURIComponent(e)}catch{let t=e.match(Mi)||[];for(let a=1;a<t.length;a++)t=(e=$i(t,a).join("")).match(Mi)||[];return e}}function Wi(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let a=Gi.exec(e);for(;a;){try{t[a[0]]=decodeURIComponent(a[0])}catch{const e=Vi(a[0]);e!==a[0]&&(t[a[0]]=e)}a=Gi.exec(e)}t["%C2"]="�";const o=Object.keys(t);for(const a of o)e=e.replace(new RegExp(a,"g"),t[a]);return e}(e)}}function Hi(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const a=e.indexOf(t);return-1===a?[]:[e.slice(0,a),e.slice(a+t.length)]}function qi(e,t){const a={};if(Array.isArray(t))for(const o of t){const t=Object.getOwnPropertyDescriptor(e,o);t?.enumerable&&Object.defineProperty(a,o,t)}else for(const o of Reflect.ownKeys(e)){const r=Object.getOwnPropertyDescriptor(e,o);if(r.enumerable){t(o,e[o],e)&&Object.defineProperty(a,o,r)}}return a}const Yi=e=>null==e,Qi=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)),Xi=Symbol("encodeFragmentIdentifier");function Zi(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Ji(e,t){return t.encode?t.strict?Qi(e):encodeURIComponent(e):e}function en(e,t){return t.decode?Wi(e):e}function tn(e){return Array.isArray(e)?e.sort():"object"==typeof e?tn(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function an(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function on(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function rn(e){const t=(e=an(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function nn(e,t){Zi((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const a=function(e){let t;switch(e.arrayFormat){case"index":return(e,a,o)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===o[e]&&(o[e]={}),o[e][t[1]]=a):o[e]=a};case"bracket":return(e,a,o)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==o[e]?o[e]=[...o[e],a]:o[e]=[a]:o[e]=a};case"colon-list-separator":return(e,a,o)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==o[e]?o[e]=[...o[e],a]:o[e]=[a]:o[e]=a};case"comma":case"separator":return(t,a,o)=>{const r="string"==typeof a&&a.includes(e.arrayFormatSeparator),i="string"==typeof a&&!r&&en(a,e).includes(e.arrayFormatSeparator);a=i?en(a,e):a;const n=r||i?a.split(e.arrayFormatSeparator).map((t=>en(t,e))):null===a?a:en(a,e);o[t]=n};case"bracket-separator":return(t,a,o)=>{const r=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!r)return void(o[t]=a?en(a,e):a);const i=null===a?[]:a.split(e.arrayFormatSeparator).map((t=>en(t,e)));void 0!==o[t]?o[t]=[...o[t],...i]:o[t]=i};default:return(e,t,a)=>{void 0!==a[e]?a[e]=[...[a[e]].flat(),t]:a[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const r of e.split("&")){if(""===r)continue;const e=t.decode?r.replace(/\+/g," "):r;let[i,n]=Hi(e,"=");void 0===i&&(i=e),n=void 0===n?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?n:en(n,t),a(en(i,t),n,o)}for(const[e,a]of Object.entries(o))if("object"==typeof a&&null!==a)for(const[e,o]of Object.entries(a))a[e]=on(o,t);else o[e]=on(a,t);return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce(((e,t)=>{const a=o[t];return Boolean(a)&&"object"==typeof a&&!Array.isArray(a)?e[t]=tn(a):e[t]=a,e}),Object.create(null))}function sn(e,t){if(!e)return"";Zi((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const a=a=>t.skipNull&&Yi(e[a])||t.skipEmptyString&&""===e[a],o=function(e){switch(e.arrayFormat){case"index":return t=>(a,o)=>{const r=a.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?a:null===o?[...a,[Ji(t,e),"[",r,"]"].join("")]:[...a,[Ji(t,e),"[",Ji(r,e),"]=",Ji(o,e)].join("")]};case"bracket":return t=>(a,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?a:null===o?[...a,[Ji(t,e),"[]"].join("")]:[...a,[Ji(t,e),"[]=",Ji(o,e)].join("")];case"colon-list-separator":return t=>(a,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?a:null===o?[...a,[Ji(t,e),":list="].join("")]:[...a,[Ji(t,e),":list=",Ji(o,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return a=>(o,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?o:(r=null===r?"":r,0===o.length?[[Ji(a,e),t,Ji(r,e)].join("")]:[[o,Ji(r,e)].join(e.arrayFormatSeparator)])}default:return t=>(a,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?a:null===o?[...a,Ji(t,e)]:[...a,[Ji(t,e),"=",Ji(o,e)].join("")]}}(t),r={};for(const[t,o]of Object.entries(e))a(t)||(r[t]=o);const i=Object.keys(r);return!1!==t.sort&&i.sort(t.sort),i.map((a=>{const r=e[a];return void 0===r?"":null===r?Ji(a,t):Array.isArray(r)?0===r.length&&"bracket-separator"===t.arrayFormat?Ji(a,t)+"[]":r.reduce(o(a),[]).join("&"):Ji(a,t)+"="+Ji(r,t)})).filter((e=>e.length>0)).join("&")}function cn(e,t){t={decode:!0,...t};let[a,o]=Hi(e,"#");return void 0===a&&(a=e),{url:a?.split("?")?.[0]??"",query:nn(rn(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:en(o,t)}:{}}}function ln(e,t){t={encode:!0,strict:!0,[Xi]:!0,...t};const a=an(e.url).split("?")[0]||"";let o=sn({...nn(rn(e.url),{sort:!1}),...e.query},t);o&&(o=`?${o}`);let r=function(e){let t="";const a=e.indexOf("#");return-1!==a&&(t=e.slice(a)),t}(e.url);if(e.fragmentIdentifier){const o=new URL(a);o.hash=e.fragmentIdentifier,r=t[Xi]?o.hash:`#${e.fragmentIdentifier}`}return`${a}${o}${r}`}function dn(e,t,a){a={parseFragmentIdentifier:!0,[Xi]:!1,...a};const{url:o,query:r,fragmentIdentifier:i}=cn(e,a);return ln({url:o,query:qi(r,t),fragmentIdentifier:i},a)}var pn=Object.freeze({__proto__:null,extract:rn,parse:nn,stringify:sn,parseUrl:cn,stringifyUrl:ln,pick:dn,exclude:function(e,t,a){return dn(e,Array.isArray(t)?e=>!t.includes(e):(e,a)=>!t(e,a),a)}}),un={props:{props:{notice:{notice:Array,vertical:Boolean,color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},noticeList:[]}),mounted(){this.getIsLc()},methods:{getIsLc(){let e=this;return x?this.LcGetNotice(e):this.getNotice(e)},async LcGetNotice(e){const t=location.hash.replace(/[\\/#?]/g,""),a=pn.parse(t),o={};o.modelTagvalueId=a.modelTagvalueId??"";const r=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${o.modelTagvalueId}&noticeType=1`,i=await Ui(r);e.noticeList=i},async getNotice(e){const t=await e.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});e.noticeList=t},handleToNotice(e){x||this.$routers.push("noticeDedail",{id:e.noticeId})}}};const gn=e=>(f("data-v-a1078966"),e=e(),v(),e),fn=gn((()=>d("div",{class:"notice-logo"},[d("span",null,"公告")],-1))),vn=gn((()=>d("div",{class:"notice-bar"},null,-1))),hn={class:"notice-content"},bn=["onClick"];Fo(".noticeBox[data-v-a1078966]{align-items:center;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:35px}.noticeBox[data-v-a1078966] .notice-logo[data-v-a1078966]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-a1078966] .notice-logo[data-v-a1078966] span[data-v-a1078966]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-a1078966] .notice-bar[data-v-a1078966]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966]{flex:1;overflow:hidden}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966] .notice-list[data-v-a1078966]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966] .notice-list[data-v-a1078966] .swiper-item[data-v-a1078966]{color:#999}"),un.render=function(e,t,a,o,p,u){const g=h("swiper-item"),f=h("swiper");return r(),i("div",null,[p.noticeList?(r(),i("div",{key:1,class:"noticeBox",style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,backgroundColor:`${a.props.backgroundColor}`})},[fn,vn,d("div",hn,[b(f,{class:"notice-list",vertical:a.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:m((()=>[(r(!0),i(c,null,l(p.noticeList,(e=>(r(),y(g,{key:e.noticeId},{default:m((()=>[d("div",{class:"swiper-item",style:n({color:`${a.props.color}`}),onClick:t=>u.handleToNotice(e)},s(e.noticeTitle),13,bn)])),_:2},1024)))),128))])),_:1},8,["vertical"])])],4)):(r(),i("div",{key:0,style:n(p.noDataStyle)},"请选择公告",4))])},un.__scopeId="data-v-a1078966";var mn={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp(e,t){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let e={};return this.height&&(e.height=this.height+"rpx",e.width=this.height+"rpx"),this.showBorder&&(e.borderStyle="solid",e.borderColor=this.borderColor,e.borderWidth="1px"),this.bgColor&&(e.backgroundColor=this.bgColor),e},letterStyle(){let e={};return this.fontSize&&(e.fontSize=this.fontSize+"rpx"),this.color&&(e.color=this.color),e}},mounted(){this.autoplay&&this.timestamp&&this.start()},methods:{start(){this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((()=>{if(this.seconds--,this.$emit("change",this.seconds),this.seconds<0)return this.end();this.formatTime(this.seconds)}),1e3))},formatTime(e){e<=0&&this.end();let[t,a,o,r]=[0,0,0,0];t=Math.floor(e/86400),a=Math.floor(e/3600)-24*t;let i=null;i=this.showDays?a:Math.floor(e/3600),o=Math.floor(e/60)-60*a-24*t*60,r=Math.floor(e)-24*t*60*60-60*a*60-60*o,i=i<10?"0"+i:i,o=o<10?"0"+o:o,r=r<10?"0"+r:r,t=t<10?"0"+t:t,this.d=t,this.h=i,this.i=o,this.s=r},end(){this.clearTimer(),this.$emit("end",{})},clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy(){clearInterval(this.timer),this.timer=null}};const yn={class:"u-countdown"};Fo(".u-countdown[data-v-4f36f3d2]{align-items:center;display:flex}.u-countdown-item[data-v-4f36f3d2]{align-items:center;border-radius:3px;display:flex;flex-direction:row;justify-content:center;padding:1px;transform:translateZ(0);white-space:nowrap}.u-countdown-time[data-v-4f36f3d2]{line-height:1;margin:0;padding:0}.u-countdown-colon[data-v-4f36f3d2]{align-items:center;display:flex;flex-direction:row;justify-content:center;line-height:1;padding:0 .5px 2px}.u-countdown-scale[data-v-4f36f3d2]{transform:scale(.9);transform-origin:center center}"),mn.render=function(e,t,a,o,c,l){return r(),i("view",yn,[a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=c.d)?(r(),i("view",{key:0,class:"u-countdown-item",style:n([l.itemStyle])},[d("view",{class:"u-countdown-time",style:n([l.letterStyle])},s(c.d),5)],4)):p("",!0),a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=c.d)?(r(),i("view",{key:1,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},s("colon"==a.separator?":":"天"),5)):p("",!0),a.showHours?(r(),i("view",{key:2,class:"u-countdown-item",style:n([l.itemStyle])},[d("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(c.h),5)],4)):p("",!0),a.showHours?(r(),i("view",{key:3,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},s("colon"==a.separator?":":"时"),5)):p("",!0),a.showMinutes?(r(),i("view",{key:4,class:"u-countdown-item",style:n([l.itemStyle])},[d("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(c.i),5)],4)):p("",!0),a.showMinutes?(r(),i("view",{key:5,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},s("colon"==a.separator?":":"分"),5)):p("",!0),a.showSeconds?(r(),i("view",{key:6,class:"u-countdown-item",style:n([l.itemStyle])},[d("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(c.s),5)],4)):p("",!0),a.showSeconds&&"zh"==a.separator?(r(),i("view",{key:7,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},mn.__scopeId="data-v-4f36f3d2";var xn={name:"cyy-ArsenalActivity",props:{props:{activityType:Number,countDown:Number,crossedPrice:Number,title:String,subTitle:String,backgroundColor:String,marginTop:Number,marginBottom:Number}},components:{uContDown:mn},data:()=>({lowCode:x,secGoodList:[]}),mounted(){this.getIsLc()},computed:{imgfn:()=>e=>-1===e.indexOf("http")?process.env.REACT_APP_BASE_URL+e:e,minTime(){let e=[];this.secGoodList.forEach((t=>{e.push(t.gmtModified)}));for(let t=0;t<e.length-1;t++)for(let t=0;t<e.length-1;t++)if(e[t]>e[t+1]){let a=e[t];e[t]=e[t+1],e[t+1]=a}return e[0]},setPromotionDates:()=>(e,t)=>{let a=(new Date(t.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(t.promotionEndtime)-Date.parse(new Date))/1e3;return e.gmtCreate=a>0?a:0,e.gmtModified=o>0?o:0,{gmtCreate:e.gmtCreate,gmtModified:e.gmtModified}}},methods:{getIsLc(){let e=this;return x?this.LcGetSecGoodList(e):this.getSecGoodList(e)},async LcGetSecGoodList(e){if(0===e.props.activityType){const t="/web/pm/promotionSignUpCon/queryCouponBatchPage.json?rows=4&page=1&dataState=1",{list:a}=await Ui(t);if(0===a.length)return void(e.secGoodList=[]);const o=async()=>{for(let t=0;t<a.slice(0,4).length;t++){const o=await r(t);JSON.parse(o.promotionTerstr).pmPromotionRangeList.forEach((o=>{if(e.secGoodList.length<4){const{gmtCreate:r,gmtModified:i}=this.setPromotionDates(o,a[t]);o.gmtCreate=r,o.gmtModified=i,e.secGoodList.push(o)}}))}},r=async e=>await Ui(`/web/pm/promotionSignUpCon/getCouponBatchByCode.json?couponBatchCode=${a[e].couponBatchCode}`);o()}if(1===e.props.activityType){const t="/web/pm/promotion/queryPromotionPageGroupBuying.json?rows=4&page=1&dataState=1",{list:a}=await Ui(t);if(0===a.length)return void(e.secGoodList=[]);const o=async()=>{for(let t=0;t<a.slice(0,4).length;t++){(await r(t)).pmPromotionRangeList.forEach((o=>{if(e.secGoodList.length<4){const{gmtCreate:r,gmtModified:i}=this.setPromotionDates(o,a[t]);o.gmtCreate=r,o.gmtModified=i,e.secGoodList.push(o)}}))}},r=async e=>await Ui(`/web/pm/promotion/getPromotions.json?promotionId=${a[e].promotionId}`);o()}},async getSecGoodList(e){0===this.props.activityType&&e.http.post(S,{pbCode:"0007",dataStateStr:"1,4",rows:4,page:1}).then((e=>{e&&e.list&&e.list.length?(e.list.slice(0,3).forEach((e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,a=(e.promotionEndtime-Date.parse(new Date))/1e3;e.gmtCreate=t>0?t:0,e.gmtModified=a>0?a:0})),this.secGoodList=e.list.slice(0,4)):this.secGoodList=[]})),1===this.props.activityType&&e.http.post(S,{pbCode:"0008",dataStateStr:"4,1",rows:4,page:1}).then((async e=>{if(e&&e.rows)if(1===this.page&&0===e.rows.length)this.seckillGoodsList=[];else{e.rows.map((async e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,a=(e.promotionEndtime-Date.parse(new Date))/1e3;e.gmtCreate=t>0?t:0,e.gmtModified=a>0?a:0,0==e.promotionState&&this.$set(e,"PeopleNum",e.couponOnceNump)}));let t=await e.rows.filter((e=>0==e.promotionState));this.secGoodList=t.slice(0,4)}}))},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(e,t,a,o,r){let i;0===this.props.activityType&&(i=26),1===this.props.activityType&&(i=24),this.$emit("gosecGoodsDetail",e,t,a,o,r,i)}}},wn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACDUlEQVRYR+2XPWgUQRTHf2/3EnO7ZVAbwTLCXq9gpXsiiJaiCFaCiI2CVQpRBK0DVhYp1MYijWkEvbGx0como4UgNhZiEAzcnsS4T/bkNNm73XFv40dxW+77mN/839s3s4Lj6bbi4yiLItxsrpjbAloWouD1ovYllXReVC4G1iyV+YsTIIqXgROZn8AzL/XOzbx+8mZU3NrcoTm/4S+CHvxhl8eh7RytC/AO2DtIIpAAV5vWLAik2XvlpN+LPl0Bris0fy6o+jF89XRXLYAkinsKM0NJhOfeNz39RVOZ9hsPQPfnfQQ2AmumagF0o3gVmB2VROClik6h0ipYZDW0ZmddgBsC8wqNzYmyZlThhWi/KQ9ov0V+PdnuFW6F1lyrBeBq0rp251dQdwFX/BBAErUfKnqMnOT5RKE1W2K7UVw6H4B1kLuh7ZzPlWpr6m4UbwC+i3wMgKxJ1gNrdrgAXDvpx48DMCpuqAS/IeWfBjic1ap0eIyrgMDXwJrp0hIkrfi+KqeAUoiqJcgWB1kKbOdMKYCr+bbb/v/NgcEOXc2YL0ESxWl+HG9WK+8/sBUqUBWgqv8EYKLARIGJAn9bAQ2t8UadI2WT8ANQ+FNR8TR8H1qzpxJAErXvKXq26PSrBCDcCVfMhUoAa/vi2YbHAsIRhd1jXkozFR8FPbksbzufKwFs97lflO+f3we+A25zCDA52E/UAAAAAElFTkSuQmCC",kn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADPUlEQVRYR9WWT0gUcRTHv29mdd1Zo4I89EcL6aKzhp46SYuzClFgGHWorEN1iiiI/p0ivIggVNAhsFDJS2EkFOGfqQVPnSrd0UsIltTBiiB39k/OvBgtUXd2fjtKRHP9vfd9n/fe773fEP7xR/84PnwBJNXYIMBNXtASoTWU0B8Wmtj/BtDQBlCdZwWAzpChv/orFShU1I+drxZwNBpIz8r1FnCQQBGAyxaD0SyDEzLwrKTMGqV4fL5QiIIAePf+YCqYPQfia8z0O6h7CCKeBVN7KFN8l96/yIhAhABZtbF2HnY/A5UiseXnBEwFIB0uNobfevl5AmRqYs2WzX0MhP0E/2NLQFKW6HhwfGQgn39eALO6aS/DioNQspbgSz6MNEGOKhNDr910XAG4NrrJ/ClPANiaLzgz7tjzVptzHigKjDE4ry2Az0qRVU1v499X67kCzKlaBwGXvXtH7Yoxct2xMSPaDDO2C3rdoRj6VSHAj7r6MilT/EFUeoIrwCCAcgDVOTCMtB3MVmx4Mzq76rKuNE1GtNNgdIn6ngMAeqeki1rmFGujZFkvAag5GoQz4YR+3xtA1Z4CaPYDkFRj9xRsPk/G4ywDUiqi9TLjuIvGQNjQD4kApgFU+AFggAhgJ7ipag8AnMpz46cVQ9/lCWCqWoohHr3lLXAEFzJXY90MbvWY+bRi6CERQIaBYn8VOCKnIt+6mXFCMAlZxdCDohZ88pr/Zc5dYUM/yzgip9SvvQw6JoJ29kHY0LeJAIYANBYgZgHoI/BOBu0rwN4xGQ4b+oo/qpxFZEa0C8y4VaCgLzMiXFQS+m3PCqSqGnbaRFMgSL7URcYMW2KuDE2+dKZs6XNdxUlV6wFwUqTp87w3bOg54+kKYEaaysHW5Fqf4dVgzrMMkquUxNBHlzP3PEw1dhjgR858+8x0hTkBNkBHFWOkP89yyi8/V61dkggda4VwgtuMK6UTeqfHcvLOz4zEWpjZuROlPisxR0SnlMTIE8FyEsuae6I72JZvghd2vCzwsEDoIcm6oYzFZ0Tqwp/S5QKLl3O+mUEHQKghxhbnnAlfwBgn8HNQYMDtsq25BaIM1nvuqwLrDebm/wtZoDMwfXZXIwAAAABJRU5ErkJggg==";const Cn=e=>(f("data-v-fa8c0e14"),e=e(),v(),e),Sn={class:"secKill--tit"},An={class:"title"},Bn={key:0,src:wn,alt:"",style:{width:"16px",height:"16px"}},jn={key:1,src:kn,alt:"",style:{width:"16px",height:"16px"}},Nn={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},In={class:"more"},zn=Cn((()=>d("div",{class:"img"},[d("img",{"lazy-load":!0,src:Ur,mode:"",style:{width:"100%",height:"100%"}})],-1))),Tn={class:"bigimg"},_n=["src"],Pn={class:"secKill-goodsName text-common"},Dn={class:"price"},On={style:{display:"flex"}},Ln={class:"now-price-common",style:{color:"#f53a50"}},Fn={class:"secKill--tit"},Rn={class:"title"},En={key:0,src:wn,alt:"",style:{width:"16px",height:"16px"}},Un={key:1,src:kn,alt:"",style:{width:"16px",height:"16px"}},Kn={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},Mn={class:"more"},Gn=Cn((()=>d("div",{class:"img"},[d("img",{"lazy-load":!0,src:Ur,mode:"",style:{width:"100%",height:"100%"}})],-1))),$n=["onClick"],Vn={class:"bigimg"},Wn=["src"],Hn={class:"secKill-goodsName text-common"},qn={class:"price"},Yn={style:{display:"flex"}},Qn={class:"now-price-common",style:{color:"#f53a50"}};Fo(".secKill[data-v-fa8c0e14]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0;width:100%}.secKill[data-v-fa8c0e14] .soon[data-v-fa8c0e14]{background:linear-gradient(90deg,#ff9d0d,#eb2b27);border-radius:12px;color:#fff;font-family:PingFangSC-Medium,PingFang SC;font-size:12px;font-weight:500;height:24px;line-height:24px;text-align:center;width:64px}.secKill[data-v-fa8c0e14] .secKill--tit[data-v-fa8c0e14]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill[data-v-fa8c0e14] .secKill--tit[data-v-fa8c0e14] .title[data-v-fa8c0e14]{align-items:center;display:flex}.secKill[data-v-fa8c0e14] .secKill--tit[data-v-fa8c0e14] .more[data-v-fa8c0e14]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill[data-v-fa8c0e14] .secKill--tit[data-v-fa8c0e14] .more[data-v-fa8c0e14] .img[data-v-fa8c0e14]{height:9px;margin-left:3px;width:5.5px}.secKill[data-v-fa8c0e14] .secKill-all[data-v-fa8c0e14]{display:flex;height:126px;justify-content:space-between}.secKill[data-v-fa8c0e14] .secKill-all[data-v-fa8c0e14] .secKill--center[data-v-fa8c0e14]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative;width:76px}.secKill[data-v-fa8c0e14] .secKill-all[data-v-fa8c0e14] .secKill--center[data-v-fa8c0e14] .mask[data-v-fa8c0e14]{background-color:#000;color:#fff;display:block;font-size:13px;height:54px;line-height:54px;opacity:.5;position:absolute;text-align:center;width:54px}.secKill[data-v-fa8c0e14] .secKill-all[data-v-fa8c0e14] .secKill--center[data-v-fa8c0e14] .secKill-goodsName[data-v-fa8c0e14]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;height:34px;line-height:17px;overflow:hidden;text-overflow:ellipsis}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14]{display:flex}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .left[data-v-fa8c0e14]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .left[data-v-fa8c0e14] .bigimgs[data-v-fa8c0e14]{height:100px;margin:0 auto;width:100px}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .left[data-v-fa8c0e14] .goodsName[data-v-fa8c0e14]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;height:37.5px;margin-bottom:8px;margin-top:7.5px;overflow:hidden;width:153px}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .left[data-v-fa8c0e14] .price[data-v-fa8c0e14]{align-items:center;display:flex;justify-content:space-between}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .left[data-v-fa8c0e14]:nth-child(2){border:none}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .right[data-v-fa8c0e14]{height:255px;padding-left:7.5px;width:164px}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .right[data-v-fa8c0e14] .bigimg[data-v-fa8c0e14]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .right[data-v-fa8c0e14] .goodsName[data-v-fa8c0e14]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;margin-bottom:10px;overflow:hidden;width:153px}.secKill[data-v-fa8c0e14] .secKill--bottom[data-v-fa8c0e14] .right[data-v-fa8c0e14] .price[data-v-fa8c0e14]{align-items:center;display:flex;justify-content:space-between}"),xn.render=function(e,t,a,o,u,g){const f=h("uContDown"),v=h("u-count-down");return r(),i("div",null,[u.lowCode?(r(),i("div",{key:0,class:"secKill",style:n({backgroundColor:a.props.backgroundColor,marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[d("div",Sn,[d("div",An,[0===a.props.activityType?(r(),i("img",Bn)):p("",!0),1===a.props.activityType?(r(),i("img",jn)):p("",!0),d("div",Nn,s(a.props.title),1),0===a.props.countDown?(r(),y(f,{key:2,timestamp:g.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),d("div",In,[d("div",{class:"",onClick:t[0]||(t[0]=(...e)=>g.goSecList&&g.goSecList(...e))},s(a.props.subTitle),1),zn])]),d("div",{class:"secKill-all",style:n({backgroundColor:a.props.backgroundColor})},[(r(!0),i(c,null,l(u.secGoodList,((e,a)=>(r(),i("div",{class:"secKill--center",key:a},[d("div",{class:"goodsDetail",onClick:t[1]||(t[1]=e=>g.gosecGoodsDetail())},[d("div",Tn,[d("img",{"lazy-load":!0,src:g.imgfn(e.pprlOpurl),mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,_n)]),d("div",Pn,s(e.pprlOpname),1),d("div",Dn,[d("div",On,[d("div",Ln," ¥"+s(e.discountAmount1.toFixed(2)||0),1)])])])])))),128))],4)],4)):(r(),i("div",{key:1,class:"secKill",style:n({backgroundColor:a.props.backgroundColor,marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[d("div",Fn,[d("div",Rn,[0===a.props.activityType?(r(),i("img",En)):p("",!0),1===a.props.activityType?(r(),i("img",Un)):p("",!0),d("div",Kn,s(a.props.title),1),0===a.props.countDown?(r(),y(v,{key:2,timestamp:g.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),d("div",Mn,[d("div",{class:"",onClick:t[2]||(t[2]=(...e)=>g.goSecList&&g.goSecList(...e))},s(a.props.subTitle),1),Gn])]),d("div",{class:"secKill-all",style:n({backgroundColor:a.props.backgroundColor})},[(r(!0),i(c,null,l(u.secGoodList,((t,a)=>(r(),i("div",{class:"secKill--center",key:a},[(r(!0),i(c,null,l(t.rsSkuReDomainList,((a,o)=>(r(),i("div",{class:"goodsDetail",key:o,onClick:e=>g.gosecGoodsDetail(a.skuNo,t.gmtModified,t.promotionCode,t.promotionFrequency,t.inventory)},[d("div",Vn,[d("img",{"lazy-load":!0,src:a.dataPic|e.urlFilter,mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,Wn)]),d("div",Hn,s(a.goodsName),1),d("div",qn,[d("div",Yn,[d("div",Qn," ¥"+s(a.pricesetNprice.toFixed(2)||0),1)])])],8,$n)))),128))])))),128))],4)],4))])},xn.__scopeId="data-v-fa8c0e14";var Xn={props:{props:{url:{type:String,default:""},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},marginTop:{type:Number,default:0},marginBottom:{type:Number,default:0}}}};const Zn=["src","poster","autoplay"];Fo("video[data-v-1141a1a5]{width:100%!important}"),Xn.render=function(e,t,a,o,s,c){return r(),i("div",null,[d("video",{style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`}),controls:"",src:a.props.url,poster:a.props.poster,autoplay:a.props.autoplay},null,12,Zn)])},Xn.__scopeId="data-v-1141a1a5";export{xn as ArsenalActivity,_r as ArsenalCarousel,Sr as ArsenalNavigation,xr as ArsenalPicture,li as ArsenalTop,Er as Collocation,Oo as Cube,Ko as Goods,rr as GoodsOne,Di as Live,un as Notice,Ro as Search,Jo as Slider,Do as Title,Xn as Video};
1
+ import{isEmpty as t,isEqual as e,isUndefined as a,get as o}from"lodash-es";import{openBlock as r,createElementBlock as i,normalizeStyle as n,toDisplayString as s,Fragment as d,renderList as l,createElementVNode as c,createCommentVNode as p,normalizeClass as f,createTextVNode as b,pushScopeId as u,popScopeId as g,resolveComponent as v,createVNode as h,withCtx as m,createBlock as y}from"vue";const x="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,w=t=>{let e={};for(let a in t)e[a]=k(t[a]);return e},k=t=>x?t+"px":2*t+"rpx",C="web/rs/sku/querySkuFromJm.json",S="/web/pm/promotionplat/queryPromotionPageForC.json",A=t=>{const{mGoodsInfo:e}=z[t];return e},B=(t,e,a)=>{z[t]={mGoodsInfo:a,mGoods:e}},j=t=>{const{goods:a,id:o}=t.props,{mGoods:r}=z[o]||{};return e(a,r)},N=t=>x?process.env.REACT_APP_BASE_URL:t.$imgDomain;const I=x?async(e,a)=>{const{id:o,goods:r}=e.props;if(t(r))return Promise.resolve({list:[]});if(j(e))return Promise.resolve(A(o));const i=localStorage.getItem("saas-token");return await fetch(N()+C+"?rows=200&page=1&skuCodeStr="+a.skuCode,{method:"GET",headers:{"saas-token":i,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>(B(o,r,t),t)))}:async(t,e)=>{const{list:a}=await t.http.get("web/es/searchengine/find.json?rows=200&page=1",e),o=e.skuCode.split(",");let r=[];return o.forEach((t=>{a.forEach((e=>{e.skuCode===t&&r.push(e)}))})),console.log("findList",r),{list:r}},z={};var T=Array.isArray,_="object"==typeof global&&global&&global.Object===Object&&global,P="object"==typeof self&&self&&self.Object===Object&&self,D=_||P||Function("return this")(),O=D.Symbol,L=Object.prototype,F=L.hasOwnProperty,R=L.toString,E=O?O.toStringTag:void 0;var U=Object.prototype.toString;var K="[object Null]",M="[object Undefined]",G=O?O.toStringTag:void 0;function $(t){return null==t?void 0===t?M:K:G&&G in Object(t)?function(t){var e=F.call(t,E),a=t[E];try{t[E]=void 0;var o=!0}catch(t){}var r=R.call(t);return o&&(e?t[E]=a:delete t[E]),r}(t):function(t){return U.call(t)}(t)}function V(t){return null!=t&&"object"==typeof t}var W="[object Symbol]";function H(t){return"symbol"==typeof t||V(t)&&$(t)==W}var q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/;function Q(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var X="[object AsyncFunction]",Z="[object Function]",J="[object GeneratorFunction]",tt="[object Proxy]";function et(t){if(!Q(t))return!1;var e=$(t);return e==Z||e==J||e==X||e==tt}var at,ot=D["__core-js_shared__"],rt=(at=/[^.]+$/.exec(ot&&ot.keys&&ot.keys.IE_PROTO||""))?"Symbol(src)_1."+at:"";var it=Function.prototype.toString;function nt(t){if(null!=t){try{return it.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var st=/^\[object .+?Constructor\]$/,dt=Function.prototype,lt=Object.prototype,ct=dt.toString,pt=lt.hasOwnProperty,ft=RegExp("^"+ct.call(pt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bt(t){return!(!Q(t)||(e=t,rt&&rt in e))&&(et(t)?ft:st).test(nt(t));var e}function ut(t,e){var a=function(t,e){return null==t?void 0:t[e]}(t,e);return bt(a)?a:void 0}var gt=ut(Object,"create");var vt="__lodash_hash_undefined__",ht=Object.prototype.hasOwnProperty;var mt=Object.prototype.hasOwnProperty;var yt="__lodash_hash_undefined__";function xt(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}function wt(t,e){return t===e||t!=t&&e!=e}function kt(t,e){for(var a=t.length;a--;)if(wt(t[a][0],e))return a;return-1}xt.prototype.clear=function(){this.__data__=gt?gt(null):{},this.size=0},xt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},xt.prototype.get=function(t){var e=this.__data__;if(gt){var a=e[t];return a===vt?void 0:a}return ht.call(e,t)?e[t]:void 0},xt.prototype.has=function(t){var e=this.__data__;return gt?void 0!==e[t]:mt.call(e,t)},xt.prototype.set=function(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=gt&&void 0===e?yt:e,this};var Ct=Array.prototype.splice;function St(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}St.prototype.clear=function(){this.__data__=[],this.size=0},St.prototype.delete=function(t){var e=this.__data__,a=kt(e,t);return!(a<0)&&(a==e.length-1?e.pop():Ct.call(e,a,1),--this.size,!0)},St.prototype.get=function(t){var e=this.__data__,a=kt(e,t);return a<0?void 0:e[a][1]},St.prototype.has=function(t){return kt(this.__data__,t)>-1},St.prototype.set=function(t,e){var a=this.__data__,o=kt(a,t);return o<0?(++this.size,a.push([t,e])):a[o][1]=e,this};var At=ut(D,"Map");function Bt(t,e){var a,o,r=t.__data__;return("string"==(o=typeof(a=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==a:null===a)?r["string"==typeof e?"string":"hash"]:r.map}function jt(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}jt.prototype.clear=function(){this.size=0,this.__data__={hash:new xt,map:new(At||St),string:new xt}},jt.prototype.delete=function(t){var e=Bt(this,t).delete(t);return this.size-=e?1:0,e},jt.prototype.get=function(t){return Bt(this,t).get(t)},jt.prototype.has=function(t){return Bt(this,t).has(t)},jt.prototype.set=function(t,e){var a=Bt(this,t),o=a.size;return a.set(t,e),this.size+=a.size==o?0:1,this};var Nt="Expected a function";function It(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Nt);var a=function(){var o=arguments,r=e?e.apply(this,o):o[0],i=a.cache;if(i.has(r))return i.get(r);var n=t.apply(this,o);return a.cache=i.set(r,n)||i,n};return a.cache=new(It.Cache||jt),a}It.Cache=jt;var zt=500;var Tt,_t,Pt,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ot=/\\(\\)?/g,Lt=(Tt=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Dt,(function(t,a,o,r){e.push(o?r.replace(Ot,"$1"):a||t)})),e},_t=It(Tt,(function(t){return Pt.size===zt&&Pt.clear(),t})),Pt=_t.cache,_t),Ft=Lt;function Rt(t,e){for(var a=-1,o=null==t?0:t.length,r=Array(o);++a<o;)r[a]=e(t[a],a,t);return r}var Et=1/0,Ut=O?O.prototype:void 0,Kt=Ut?Ut.toString:void 0;function Mt(t){if("string"==typeof t)return t;if(T(t))return Rt(t,Mt)+"";if(H(t))return Kt?Kt.call(t):"";var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function Gt(t,e){return T(t)?t:function(t,e){if(T(t))return!1;var a=typeof t;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=t&&!H(t))||Y.test(t)||!q.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Ft(function(t){return null==t?"":Mt(t)}(t))}var $t=1/0;function Vt(t){if("string"==typeof t||H(t))return t;var e=t+"";return"0"==e&&1/t==-$t?"-0":e}function Wt(t,e){for(var a=0,o=(e=Gt(e,t)).length;null!=t&&a<o;)t=t[Vt(e[a++])];return a&&a==o?t:void 0}var Ht=function(){try{var t=ut(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),qt=Ht;function Yt(t,e,a){"__proto__"==e&&qt?qt(t,e,{configurable:!0,enumerable:!0,value:a,writable:!0}):t[e]=a}var Qt=Object.prototype.hasOwnProperty;function Xt(t,e,a){var o=t[e];Qt.call(t,e)&&wt(o,a)&&(void 0!==a||e in t)||Yt(t,e,a)}var Zt=9007199254740991,Jt=/^(?:0|[1-9]\d*)$/;function te(t,e){var a=typeof t;return!!(e=null==e?Zt:e)&&("number"==a||"symbol"!=a&&Jt.test(t))&&t>-1&&t%1==0&&t<e}function ee(t,e,a,o){if(!Q(t))return t;for(var r=-1,i=(e=Gt(e,t)).length,n=i-1,s=t;null!=s&&++r<i;){var d=Vt(e[r]),l=a;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(r!=n){var c=s[d];void 0===(l=o?o(c,d,s):void 0)&&(l=Q(c)?c:te(e[r+1])?[]:{})}Xt(s,d,l),s=s[d]}return t}function ae(t,e){return null!=t&&e in Object(t)}var oe="[object Arguments]";function re(t){return V(t)&&$(t)==oe}var ie=Object.prototype,ne=ie.hasOwnProperty,se=ie.propertyIsEnumerable,de=re(function(){return arguments}())?re:function(t){return V(t)&&ne.call(t,"callee")&&!se.call(t,"callee")},le=9007199254740991;function ce(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=le}function pe(t,e){return null!=t&&function(t,e,a){for(var o=-1,r=(e=Gt(e,t)).length,i=!1;++o<r;){var n=Vt(e[o]);if(!(i=null!=t&&a(t,n)))break;t=t[n]}return i||++o!=r?i:!!(r=null==t?0:t.length)&&ce(r)&&te(n,r)&&(T(t)||de(t))}(t,e,ae)}function fe(t,e){return function(t,e,a){for(var o=-1,r=e.length,i={};++o<r;){var n=e[o],s=Wt(t,n);a(s,n)&&ee(i,Gt(n,t),s)}return i}(t,e,(function(e,a){return pe(t,a)}))}function be(t,e){for(var a=-1,o=e.length,r=t.length;++a<o;)t[r+a]=e[a];return t}var ue=O?O.isConcatSpreadable:void 0;function ge(t){return T(t)||de(t)||!!(ue&&t&&t[ue])}function ve(t,e,a,o,r){var i=-1,n=t.length;for(a||(a=ge),r||(r=[]);++i<n;){var s=t[i];e>0&&a(s)?e>1?ve(s,e-1,a,o,r):be(r,s):o||(r[r.length]=s)}return r}function he(t){return(null==t?0:t.length)?ve(t,1):[]}var me=Math.max;var ye=qt?function(t,e){return qt(t,"toString",{configurable:!0,enumerable:!1,value:(a=e,function(){return a}),writable:!0});var a}:function(t){return t},xe=ye,we=800,ke=16,Ce=Date.now;var Se=function(t){var e=0,a=0;return function(){var o=Ce(),r=ke-(o-a);if(a=o,r>0){if(++e>=we)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(xe),Ae=Se;function Be(t){return Ae(function(t,e,a){return e=me(void 0===e?t.length-1:e,0),function(){for(var o=arguments,r=-1,i=me(o.length-e,0),n=Array(i);++r<i;)n[r]=o[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=o[r];return s[e]=a(n),function(t,e,a){switch(a.length){case 0:return t.call(e);case 1:return t.call(e,a[0]);case 2:return t.call(e,a[0],a[1]);case 3:return t.call(e,a[0],a[1],a[2])}return t.apply(e,a)}(t,this,s)}}(t,void 0,he),t+"")}var je=Be((function(t,e){return null==t?{}:fe(t,e)}));var Ne=200;function Ie(t){var e=this.__data__=new St(t);this.size=e.size}function ze(t,e,a,o){var r=!a;a||(a={});for(var i=-1,n=e.length;++i<n;){var s=e[i],d=o?o(a[s],t[s],s,a,t):void 0;void 0===d&&(d=t[s]),r?Yt(a,s,d):Xt(a,s,d)}return a}Ie.prototype.clear=function(){this.__data__=new St,this.size=0},Ie.prototype.delete=function(t){var e=this.__data__,a=e.delete(t);return this.size=e.size,a},Ie.prototype.get=function(t){return this.__data__.get(t)},Ie.prototype.has=function(t){return this.__data__.has(t)},Ie.prototype.set=function(t,e){var a=this.__data__;if(a instanceof St){var o=a.__data__;if(!At||o.length<Ne-1)return o.push([t,e]),this.size=++a.size,this;a=this.__data__=new jt(o)}return a.set(t,e),this.size=a.size,this};var Te="object"==typeof exports&&exports&&!exports.nodeType&&exports,_e=Te&&"object"==typeof module&&module&&!module.nodeType&&module,Pe=_e&&_e.exports===Te?D.Buffer:void 0,De=(Pe?Pe.isBuffer:void 0)||function(){return!1},Oe={};function Le(t){return function(e){return t(e)}}Oe["[object Float32Array]"]=Oe["[object Float64Array]"]=Oe["[object Int8Array]"]=Oe["[object Int16Array]"]=Oe["[object Int32Array]"]=Oe["[object Uint8Array]"]=Oe["[object Uint8ClampedArray]"]=Oe["[object Uint16Array]"]=Oe["[object Uint32Array]"]=!0,Oe["[object Arguments]"]=Oe["[object Array]"]=Oe["[object ArrayBuffer]"]=Oe["[object Boolean]"]=Oe["[object DataView]"]=Oe["[object Date]"]=Oe["[object Error]"]=Oe["[object Function]"]=Oe["[object Map]"]=Oe["[object Number]"]=Oe["[object Object]"]=Oe["[object RegExp]"]=Oe["[object Set]"]=Oe["[object String]"]=Oe["[object WeakMap]"]=!1;var Fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Re=Fe&&"object"==typeof module&&module&&!module.nodeType&&module,Ee=Re&&Re.exports===Fe&&_.process,Ue=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||Ee&&Ee.binding&&Ee.binding("util")}catch(t){}}(),Ke=Ue&&Ue.isTypedArray,Me=Ke?Le(Ke):function(t){return V(t)&&ce(t.length)&&!!Oe[$(t)]},Ge=Object.prototype.hasOwnProperty;function $e(t,e){var a=T(t),o=!a&&de(t),r=!a&&!o&&De(t),i=!a&&!o&&!r&&Me(t),n=a||o||r||i,s=n?function(t,e){for(var a=-1,o=Array(t);++a<t;)o[a]=e(a);return o}(t.length,String):[],d=s.length;for(var l in t)!e&&!Ge.call(t,l)||n&&("length"==l||r&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||te(l,d))||s.push(l);return s}var Ve=Object.prototype;function We(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ve)}function He(t,e){return function(a){return t(e(a))}}var qe=He(Object.keys,Object),Ye=Object.prototype.hasOwnProperty;function Qe(t){return null!=t&&ce(t.length)&&!et(t)}function Xe(t){return Qe(t)?$e(t):function(t){if(!We(t))return qe(t);var e=[];for(var a in Object(t))Ye.call(t,a)&&"constructor"!=a&&e.push(a);return e}(t)}var Ze=Object.prototype.hasOwnProperty;function Je(t){if(!Q(t))return function(t){var e=[];if(null!=t)for(var a in Object(t))e.push(a);return e}(t);var e=We(t),a=[];for(var o in t)("constructor"!=o||!e&&Ze.call(t,o))&&a.push(o);return a}function ta(t){return Qe(t)?$e(t,!0):Je(t)}var ea="object"==typeof exports&&exports&&!exports.nodeType&&exports,aa=ea&&"object"==typeof module&&module&&!module.nodeType&&module,oa=aa&&aa.exports===ea?D.Buffer:void 0,ra=oa?oa.allocUnsafe:void 0;function ia(){return[]}var na=Object.prototype.propertyIsEnumerable,sa=Object.getOwnPropertySymbols,da=sa?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var a=-1,o=null==t?0:t.length,r=0,i=[];++a<o;){var n=t[a];e(n,a,t)&&(i[r++]=n)}return i}(sa(t),(function(e){return na.call(t,e)})))}:ia,la=da;var ca=He(Object.getPrototypeOf,Object),pa=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)be(e,la(t)),t=ca(t);return e}:ia,fa=pa;function ba(t,e,a){var o=e(t);return T(t)?o:be(o,a(t))}function ua(t){return ba(t,Xe,la)}function ga(t){return ba(t,ta,fa)}var va=ut(D,"DataView"),ha=ut(D,"Promise"),ma=ut(D,"Set"),ya=ut(D,"WeakMap"),xa="[object Map]",wa="[object Promise]",ka="[object Set]",Ca="[object WeakMap]",Sa="[object DataView]",Aa=nt(va),Ba=nt(At),ja=nt(ha),Na=nt(ma),Ia=nt(ya),za=$;(va&&za(new va(new ArrayBuffer(1)))!=Sa||At&&za(new At)!=xa||ha&&za(ha.resolve())!=wa||ma&&za(new ma)!=ka||ya&&za(new ya)!=Ca)&&(za=function(t){var e=$(t),a="[object Object]"==e?t.constructor:void 0,o=a?nt(a):"";if(o)switch(o){case Aa:return Sa;case Ba:return xa;case ja:return wa;case Na:return ka;case Ia:return Ca}return e});var Ta=za,_a=Object.prototype.hasOwnProperty;var Pa=D.Uint8Array;function Da(t){var e=new t.constructor(t.byteLength);return new Pa(e).set(new Pa(t)),e}var Oa=/\w*$/;var La=O?O.prototype:void 0,Fa=La?La.valueOf:void 0;var Ra="[object Boolean]",Ea="[object Date]",Ua="[object Map]",Ka="[object Number]",Ma="[object RegExp]",Ga="[object Set]",$a="[object String]",Va="[object Symbol]",Wa="[object ArrayBuffer]",Ha="[object DataView]",qa="[object Float32Array]",Ya="[object Float64Array]",Qa="[object Int8Array]",Xa="[object Int16Array]",Za="[object Int32Array]",Ja="[object Uint8Array]",to="[object Uint8ClampedArray]",eo="[object Uint16Array]",ao="[object Uint32Array]";function oo(t,e,a){var o,r=t.constructor;switch(e){case Wa:return Da(t);case Ra:case Ea:return new r(+t);case Ha:return function(t,e){var a=e?Da(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.byteLength)}(t,a);case qa:case Ya:case Qa:case Xa:case Za:case Ja:case to:case eo:case ao:return function(t,e){var a=e?Da(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.length)}(t,a);case Ua:return new r;case Ka:case $a:return new r(t);case Ma:return function(t){var e=new t.constructor(t.source,Oa.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Ga:return new r;case Va:return o=t,Fa?Object(Fa.call(o)):{}}}var ro=Object.create,io=function(){function t(){}return function(e){if(!Q(e))return{};if(ro)return ro(e);t.prototype=e;var a=new t;return t.prototype=void 0,a}}(),no=io;var so="[object Map]";var lo=Ue&&Ue.isMap,co=lo?Le(lo):function(t){return V(t)&&Ta(t)==so},po="[object Set]";var fo=Ue&&Ue.isSet,bo=fo?Le(fo):function(t){return V(t)&&Ta(t)==po},uo=1,go=2,vo=4,ho="[object Arguments]",mo="[object Function]",yo="[object GeneratorFunction]",xo="[object Object]",wo={};function ko(t,e,a,o,r,i){var n,s=e&uo,d=e&go,l=e&vo;if(a&&(n=r?a(t,o,r,i):a(t)),void 0!==n)return n;if(!Q(t))return t;var c=T(t);if(c){if(n=function(t){var e=t.length,a=new t.constructor(e);return e&&"string"==typeof t[0]&&_a.call(t,"index")&&(a.index=t.index,a.input=t.input),a}(t),!s)return function(t,e){var a=-1,o=t.length;for(e||(e=Array(o));++a<o;)e[a]=t[a];return e}(t,n)}else{var p=Ta(t),f=p==mo||p==yo;if(De(t))return function(t,e){if(e)return t.slice();var a=t.length,o=ra?ra(a):new t.constructor(a);return t.copy(o),o}(t,s);if(p==xo||p==ho||f&&!r){if(n=d||f?{}:function(t){return"function"!=typeof t.constructor||We(t)?{}:no(ca(t))}(t),!s)return d?function(t,e){return ze(t,fa(t),e)}(t,function(t,e){return t&&ze(e,ta(e),t)}(n,t)):function(t,e){return ze(t,la(t),e)}(t,function(t,e){return t&&ze(e,Xe(e),t)}(n,t))}else{if(!wo[p])return r?t:{};n=oo(t,p,s)}}i||(i=new Ie);var b=i.get(t);if(b)return b;i.set(t,n),bo(t)?t.forEach((function(o){n.add(ko(o,e,a,o,t,i))})):co(t)&&t.forEach((function(o,r){n.set(r,ko(o,e,a,r,t,i))}));var u=c?void 0:(l?d?ga:ua:d?ta:Xe)(t);return function(t,e){for(var a=-1,o=null==t?0:t.length;++a<o&&!1!==e(t[a],a,t););}(u||t,(function(o,r){u&&(o=t[r=o]),Xt(n,r,ko(o,e,a,r,t,i))})),n}function Co(t,e){return e.length<2?t:Wt(t,function(t,e,a){var o=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(a=a>r?r:a)<0&&(a+=r),r=e>a?0:a-e>>>0,e>>>=0;for(var i=Array(r);++o<r;)i[o]=t[o+e];return i}(e,0,-1))}function So(t,e){return null==(t=Co(t,e=Gt(e,t)))||delete t[Vt((a=e,o=null==a?0:a.length,o?a[o-1]:void 0))];var a,o}wo[ho]=wo["[object Array]"]=wo["[object ArrayBuffer]"]=wo["[object DataView]"]=wo["[object Boolean]"]=wo["[object Date]"]=wo["[object Float32Array]"]=wo["[object Float64Array]"]=wo["[object Int8Array]"]=wo["[object Int16Array]"]=wo["[object Int32Array]"]=wo["[object Map]"]=wo["[object Number]"]=wo[xo]=wo["[object RegExp]"]=wo["[object Set]"]=wo["[object String]"]=wo["[object Symbol]"]=wo["[object Uint8Array]"]=wo["[object Uint8ClampedArray]"]=wo["[object Uint16Array]"]=wo["[object Uint32Array]"]=!0,wo["[object Error]"]=wo[mo]=wo["[object WeakMap]"]=!1;var Ao="[object Object]",Bo=Function.prototype,jo=Object.prototype,No=Bo.toString,Io=jo.hasOwnProperty,zo=No.call(Object);function To(t){return function(t){if(!V(t)||$(t)!=Ao)return!1;var e=ca(t);if(null===e)return!0;var a=Io.call(e,"constructor")&&e.constructor;return"function"==typeof a&&a instanceof a&&No.call(a)==zo}(t)?void 0:t}var _o=Be((function(t,e){var a={};if(null==t)return a;var o=!1;e=Rt(e,(function(e){return e=Gt(e,t),o||(o=e.length>1),e})),ze(t,ga(t),a),o&&(a=ko(a,7,To));for(var r=e.length;r--;)So(a,e[r]);return a})),Po=_o,Do={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const t=["fontSize","marginTop","marginBottom"],e=je(this.props||{},t),a=Po(this.props||{},t);return{...w(e),...a}}}};Do.render=function(t,e,a,o,d,l){return r(),i("div",{style:n([l.computedStyle])},s(a.props.value),5)};var Oo={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,r=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let i=o;return t(r)||(i=r),console.log(52,i),i},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=je(this.props,t),a=Po(this.props,t);return{...w(e),...a}}}};const Lo=["src"];function Fo(t,e){void 0===e&&(e={});var a=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===a&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Fo(".lc-img-item[data-v-685baa5c]{box-sizing:border-box;width:100%}"),Oo.render=function(t,e,a,o,s,p){return r(),i("div",null,[(r(!0),i(d,null,l(p.resultArr,((e,a)=>(r(),i("div",{key:t.cyy},[c("img",{mode:"widthFix",style:n([p.computedStyle,s.imgStyle]),src:e.imgUrl,alt:""},null,12,Lo)])))),128))])},Oo.__scopeId="data-v-685baa5c";var Ro={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const t=["marginTop","marginBottom"],e=je(this.props,t),a=Po(this.props,t);return{...w(e),...a,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){x||this.$emit("ToSearch")}}};const Eo={style:{overflow:"hidden"}},Uo=["src"];Ro.render=function(t,e,a,o,d,l){return r(),i("div",Eo,[c("div",{style:n([l.computedStyle]),onClick:e[0]||(e[0]=(...t)=>l.goSearch&&l.goSearch(...t))},[a.props.iconShow?(r(),i("img",{key:0,src:a.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Uo)):p("",!0),c("div",{style:n([{flex:"1"},{color:a.props.fontColor}])},s(a.props.value),5)],4)])};var Ko={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:x}),mounted(){console.log(this.isLc,this.arrange,"💚💚💚💚💚"),this.init()},methods:{async init(){this.domainNameUrl=N(this);const{goods:t=[]}=this.props,e={skuCode:t.toString()},a=await I(this,e);this.listArr=o(a,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(x)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},getMaskState:t=>"1"===t?"预售中":"无库存"}};const Mo={key:1},Go=["onClick"],$o={class:"imgWrapper"},Vo={class:"maskState"},Wo=["src"],Ho={class:"goodsDescription"},qo={key:0,class:"specialGoodsName"},Yo={key:1,class:"goodsName"},Qo={class:"footerContent"},Xo={class:"goodsPrice"},Zo={key:0,class:"scribing"},Jo=(t=>(u("data-v-08595dff"),t=t(),g(),t))((()=>c("div",{class:"goodsBuy"},"立即购买",-1)));Fo(".cube-container[data-v-08595dff]{display:grid}.cube-container[data-v-08595dff].arrange-1[data-v-08595dff]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-08595dff].arrange-1[data-v-08595dff] .cube-item[data-v-08595dff] .goodsImg[data-v-08595dff]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-08595dff].arrange-1[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsName[data-v-08595dff]{font-size:20px}.cube-container[data-v-08595dff].arrange-1[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff]{font-size:18px}.cube-container[data-v-08595dff].arrange-1[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff] .scribing[data-v-08595dff]{font-size:14px}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff]{margin:0 5px}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff] .goodsImg[data-v-08595dff]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff]{position:relative}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsName[data-v-08595dff]{font-size:16px;height:42px}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .specialGoodsName[data-v-08595dff]{font-size:12px;height:42px}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff]{font-size:14px}.cube-container[data-v-08595dff].arrange-2[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff] .scribing[data-v-08595dff]{font-size:12px}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff]{display:flex;overflow-x:scroll}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff] .cube-item[data-v-08595dff]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff] .cube-item[data-v-08595dff] .goodsImg[data-v-08595dff]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsPrice[data-v-08595dff]{font-size:18px}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsPrice[data-v-08595dff] .scribing[data-v-08595dff]{font-size:14px}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsName[data-v-08595dff]{font-size:20px}.cube-container[data-v-08595dff].arrange-3[data-v-08595dff] .cube-item[data-v-08595dff]:not(:last-child){margin-right:10px}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .imgWrapper[data-v-08595dff] .goodsImg[data-v-08595dff]{height:100px;width:100px}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsName[data-v-08595dff]{font-size:16px;height:auto}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff]{font-size:16px}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff] .scribing[data-v-08595dff]{font-size:12px}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsBuyWrapper[data-v-08595dff]{position:relative}.cube-container[data-v-08595dff].arrange-4[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsBuyWrapper[data-v-08595dff] .goodsBuy[data-v-08595dff]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;position:absolute;right:0;top:0}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .imgWrapper[data-v-08595dff]{position:relative;text-align:center}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .imgMarked[data-v-08595dff]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .imgMarked[data-v-08595dff] .maskState[data-v-08595dff]{color:#fff;font-size:23px}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsName[data-v-08595dff]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff]{color:#f53a50;font-weight:600}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .footerContent[data-v-08595dff] .goodsPrice[data-v-08595dff] .scribing[data-v-08595dff]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-08595dff] .cube-item[data-v-08595dff] .goodsDescription[data-v-08595dff] .goodsBuy[data-v-08595dff]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Ko.render=function(t,e,a,o,u,g){return r(),i("div",null,[a.props.goods?(r(),i("div",Mo,[c("div",{class:f(["cube-container",`arrange-${a.props.arrange}`,{isLc:u.isLc}]),style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,gap:`${a.props.margin}px`})},[(r(!0),i(d,null,l(u.listArr,((t,e)=>(r(),i("div",{class:"cube-item",key:t.skuCode,onClick:e=>g.goGoodsDetail(t)},[c("div",$o,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:a.props.borderRadius})},[c("div",Vo,s(g.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),c("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:n({borderRadius:a.props.borderRadius})},null,12,Wo)]),c("div",Ho,[!0===u.isLc&&2===a.props.arrange?(r(),i("div",qo,s(t.goodsName)+"hh",1)):(r(),i("div",Yo,s(t.goodsName)+"xx",1)),c("section",Qo,[c("div",Xo,[b(" ¥"+s(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(r(),i("div",Zo,"¥"+s(t.pricesetMakeprice),1)):p("",!0)]),Jo])])],8,Go)))),128))],6)])):(r(),i("div",{key:0,style:n(u.noDataStyle)},"请选择商品",4))])},Ko.__scopeId="data-v-08595dff";var tr={name:"cyy-slider",data:()=>({lowCode:x}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,r=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let i=o;return t(r)||(i=r),i},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=je(this.props,["marginTop","marginBottom"]);return{...w(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const er={key:0},ar=["src"],or={key:1},rr=["src"];Fo(".lowCode-warp{position:relative}.lowCode-warp ul{bottom:10px;padding:0;position:absolute;text-align:center;width:100%}.lowCode-warp li{background-color:rgba(0,0,0,.3);border-radius:50%;display:inline-block;height:8px;margin:0 4px;width:8px}.lowCode-warp li:first-child{background-color:#000}"),tr.render=function(t,e,a,o,s,p){const f=v("swiper-item"),b=v("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",er,[c("div",{class:"lowCode-warp",style:n([p.sliderStyle])},[c("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,ar),c("ul",null,[(r(!0),i(d,null,l(p.resultArr,((e,a)=>(r(),i("li",{key:t.cyy})))),128))])],4)])):(r(),i("div",or,[h(b,{"indicator-dots":!0,autoplay:a.props.autoplay,interval:a.props.autoplayInterval,vertical:p.reDirection,circular:a.props.loop,style:n({height:p.imgH+"rpx"})},{default:m((()=>[(r(!0),i(d,null,l(p.resultArr,((e,a)=>(r(),y(f,{key:t.cyy,style:n([p.sliderStyle,{boxSizing:"border-box"}])},{default:m((()=>[c("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,rr)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var ir={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:t=[]}=this.props;console.log(197);const e=t.toString();console.log(198);const a={goodsCode:e};console.log(199,a);const r=await I(this,a);this.listArr=o(r,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(x)return;const{skuCode:e,skuNo:a}=t;let o={skuCode:e,skuNo:a};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"无库存"};const nr=t=>(u("data-v-18ddf090"),t=t(),g(),t),sr={key:1},dr={class:"three-layout"},lr={key:0,class:"top-left"},cr={key:1,class:"top-right"},pr=[nr((()=>c("div",null,"更多",-1))),nr((()=>c("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],fr={class:"three-layout-content"},br={class:"three-layout-bigImg"},ur=["src"],gr={class:"three-layout-goods"},vr=["src"],hr={key:0,class:"mask-three-more"},mr={class:"price-box"},yr={class:"now-price"},xr={key:0,class:"origin-price"};Fo(".three-layout[data-v-18ddf090]{border-radius:7px}.three-layout[data-v-18ddf090] .mask-three-more[data-v-18ddf090]{background-color:#000;color:#fff;display:block;font-size:52px;height:98px;line-height:98px;opacity:.5;position:absolute;text-align:center;top:0;width:98px}.three-layout[data-v-18ddf090] .three-layout-title[data-v-18ddf090]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-18ddf090] .three-layout-title[data-v-18ddf090] .top-left[data-v-18ddf090]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-18ddf090] .three-layout-title[data-v-18ddf090] .top-right[data-v-18ddf090]{align-items:center;display:flex}.three-layout[data-v-18ddf090] .three-layout-title[data-v-18ddf090] .top-right[data-v-18ddf090] div[data-v-18ddf090]{color:#595959;font-size:12px}.three-layout[data-v-18ddf090] .three-layout-title[data-v-18ddf090] .top-right[data-v-18ddf090] image[data-v-18ddf090]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-18ddf090] .three-layout-content[data-v-18ddf090]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-18ddf090] .three-layout-content[data-v-18ddf090] .three-layout-bigImg[data-v-18ddf090] image[data-v-18ddf090]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-18ddf090] .three-layout-content[data-v-18ddf090] .three-layout-goods[data-v-18ddf090]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-18ddf090] .three-layout-content[data-v-18ddf090] .three-layout-goods[data-v-18ddf090] .goods-items[data-v-18ddf090]{width:106px}.scroll-list[data-v-18ddf090]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-18ddf090] .scroll-item[data-v-18ddf090]{display:inline-block;margin-right:10px}.scroll-list[data-v-18ddf090] .scroll-item[data-v-18ddf090] image[data-v-18ddf090]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-18ddf090] .scroll-item[data-v-18ddf090] p[data-v-18ddf090]{-webkit-box-orient:vertical;-webkit-line-clamp:1;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;line-height:17px;overflow:hidden;white-space:normal;width:98px}.scroll-top[data-v-18ddf090]{margin-top:10px}"),ir.render=function(t,e,a,o,f,u){const g=v("vop-label"),y=v("scroll-view");return r(),i("div",null,[a.props.goods?(r(),i("div",sr,[c("div",dr,[c("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>u.jumpToSearch())},[a.props.title.isShow?p("",!0):(r(),i("div",lr,s(a.props.title.title||""),1)),1===a.props.more?(r(),i("div",cr,pr)):p("",!0)]),c("div",fr,[c("div",br,[c("image",{"lazy-load":!0,src:a.props.bill?a.props.bill:"",mode:"aspectFill"},null,8,ur)]),c("div",gr,[h(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:m((()=>[(r(!0),i(d,null,l(f.listArr,((a,o)=>(r(),i("div",{class:"scroll-item",key:o,onClick:e[1]||(e[1]=e=>t.toDetail())},[c("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+a.dataPic,mode:"aspectFill"},null,8,vr),a.goodsSupplynum<=0||"1"===a.goodsProperty5?(r(),i("div",hr,s(t.maskTitle(a.goodsProperty5)),1)):p("",!0),c("p",null,[h(g,{goodsType:a.contlistPrice1},null,8,["goodsType"]),b(s(a.goodsName),1)]),c("div",mr,[c("div",yr,"¥"+s(a.pricesetMakeprice||0),1),1==a.contlistConNow?(r(),i("div",xr,"¥"+s(a.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(r(),i("div",{key:0,style:n(f.noDataStyle)},"请选择商品样式一",4))])},ir.__scopeId="data-v-18ddf090";var wr={name:"cyy-ArsenalPicture",data:()=>({classOptions:{showA:!1,showB:!1,showC:!1,showD:!1,showE:!1,showF:!1,showG:!1,showH:!1,showI:!1,showJ:!1},imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,spacing:Number,marginTop:Number,marginBottom:Number,selectImg:Array,defaultValue:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,r=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let i=o;return t(r)||(i=r),console.log(52,i),i}},methods:{whitchClass(){if(1===this.props.showStyle)return 0!=this.props.spacing?void(this.classOptions.showJ=!0):void(this.classOptions.showI=!0);if(0==this.props.spacing)switch(this.resultArr.length){case 1:this.classOptions.showA=!0;break;case 2:this.classOptions.showB=!0;break;case 3:this.classOptions.showC=!0;break;case 4:this.classOptions.showD=!0}else switch(this.props.selectImg.length){case 1:this.classOptions.showE=!0;break;case 2:this.classOptions.showF=!0;break;case 3:this.classOptions.showG=!0;break;case 4:this.classOptions.showH=!0}},linkClick(t){this.$emit("linkClick",t)}}};const kr={key:0,class:"holder"},Cr=["src","onClick"],Sr=["src","onClick"];Fo(".holder[data-v-6fdca810]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-6fdca810]{display:flex;justify-content:space-between;width:100%}.ArsenalPicture[data-v-6fdca810] .classA-show[data-v-6fdca810]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture[data-v-6fdca810] .classB-show[data-v-6fdca810]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture[data-v-6fdca810] .classC-show[data-v-6fdca810]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture[data-v-6fdca810] .classD-show[data-v-6fdca810]{aspect-ratio:1;width:25%}.ArsenalPicture[data-v-6fdca810] .classE-show[data-v-6fdca810]{height:392px;width:392px}.ArsenalPicture[data-v-6fdca810] .classF-show[data-v-6fdca810]{height:180px;width:180px}.ArsenalPicture[data-v-6fdca810] .classG-show[data-v-6fdca810]{height:120px;width:120px}.ArsenalPicture[data-v-6fdca810] .classH-show[data-v-6fdca810]{height:80px;width:80px}.ArsenalPicture[data-v-6fdca810] .ArsenalImg[data-v-6fdca810]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-6fdca810],.ArsenalPicture-colunm[data-v-6fdca810] .classI-show[data-v-6fdca810]{width:100%}.ArsenalPicture-colunm[data-v-6fdca810] .classJ-show[data-v-6fdca810]{margin-bottom:20px;width:100%}.ArsenalPicture-colunm[data-v-6fdca810] .ArsenalImg[data-v-6fdca810]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-6fdca810] .ArsenalImg-classIJ[data-v-6fdca810]{width:100%}"),wr.render=function(t,e,a,o,s,c){return r(),i("div",null,[a.props.selectImg.length?(r(),i("div",{key:1,class:f([1===a.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(d,null,l(c.resultArr,((t,e)=>(r(),i("div",{key:e,class:f({"classA-show":s.classOptions.showA,"classB-show":s.classOptions.showB,"classC-show":s.classOptions.showC,"classD-show":s.classOptions.showD,"classE-show":s.classOptions.showE,"classF-show":s.classOptions.showF,"classG-show":s.classOptions.showG,"classH-show":s.classOptions.showH,"classI-show":s.classOptions.showI,"classJ-show":s.classOptions.showJ})},[s.classOptions.showJ||s.classOptions.showI?(r(),i("img",{key:0,class:"ArsenalImg-classIJ",mode:"widthFix",src:t.imgUrl,alt:"",style:n({borderRadius:a.props.cornerStyle+"px"}),onClick:e=>c.linkClick(t)},null,12,Cr)):(r(),i("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:t.imgUrl,alt:"",style:n({borderRadius:a.props.cornerStyle+"px"}),onClick:e=>c.linkClick(t)},null,12,Sr))],2)))),128))],6)):(r(),i("div",kr,"请选择添加图片"))])},wr.__scopeId="data-v-6fdca810";var Ar={name:"cyy-ArsenalPicture",data:()=>({skeleton:["导航1","导航2","导航3","导航4"],imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,r=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let i=o;return t(r)||(i=r),console.log(52,i),i}},methods:{classifyPhotoCorner:t=>20===t?8:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const Br={key:0,class:"holder"},jr=(t=>(u("data-v-0ff6b754"),t=t(),g(),t))((()=>c("div",null,null,-1))),Nr=["onClick"],Ir=["src"],zr={key:1},Tr=["onClick"],_r=["src"];Fo(".holder[data-v-0ff6b754]{height:75px;padding:10px 0;width:100%}.holder[data-v-0ff6b754] ul[data-v-0ff6b754]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder[data-v-0ff6b754] ul[data-v-0ff6b754] li[data-v-0ff6b754]{list-style:none}.holder[data-v-0ff6b754] ul[data-v-0ff6b754] li[data-v-0ff6b754] div[data-v-0ff6b754]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder[data-v-0ff6b754] ul[data-v-0ff6b754] li[data-v-0ff6b754] div[data-v-0ff6b754] span[data-v-0ff6b754]{display:flex;font-size:12px;justify-content:center}.golds[data-v-0ff6b754]{border-radius:14px;border-radius:4px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap;justify-content:space-between}.golds[data-v-0ff6b754] .golds-item[data-v-0ff6b754]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0;width:25%}.golds[data-v-0ff6b754] .golds-item[data-v-0ff6b754] div[data-v-0ff6b754]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center}.photoSizeBig[data-v-0ff6b754]{height:58px;width:58px}.photoSizeSmall[data-v-0ff6b754]{height:48px;width:48px}.classify-list[data-v-0ff6b754]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;margin-top:20px;padding:8px 5px .25px}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754] div[data-v-0ff6b754]{font-weight:700}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754] img[data-v-0ff6b754]{margin:7.5px 0}.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754]:first-child,.classify-list[data-v-0ff6b754] .classify-item[data-v-0ff6b754]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-0ff6b754]{width:48%}.classifyItemSmall[data-v-0ff6b754]{width:46%}.classifyImgBig[data-v-0ff6b754]{height:90px;width:100%}.classifyImgSmall[data-v-0ff6b754]{height:87.75px;width:100%}.classifyFontBig[data-v-0ff6b754]{font-size:12px;height:12px}.classifyFontSmall[data-v-0ff6b754]{font-size:11px;height:12px}"),Ar.render=function(t,e,a,o,b,u){return r(),i("div",null,[a.props.selectImg.length?(r(),i(d,{key:1},[0===a.props.showStyle?(r(),i("div",{key:0,class:"golds",style:n({backgroundColor:a.props.backgroundColor,marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(d,null,l(u.resultArr,((t,e)=>(r(),i("div",{class:"golds-item",key:e,onClick:e=>u.linkClick(t)},[c("img",{class:f([1===a.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:n({borderRadius:a.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,Ir),c("div",{style:n({color:a.props.fontColor})},s(t.name),5)],8,Nr)))),128))],4)):p("",!0),1===a.props.showStyle?(r(),i("div",zr,[c("div",{class:"classify-list",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(d,null,l(u.resultArr,((t,e)=>(r(),i("div",{class:f(["classify-item",[1===a.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:n({backgroundColor:a.props.backgroundColor}),key:e,onClick:e=>u.linkClick(t)},[c("div",{class:f([1===a.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:n({color:a.props.fontColor})},s(t.name),7),c("img",{class:f([1===a.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:n({borderRadius:u.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,_r)],14,Tr)))),128))],4)])):p("",!0)],64)):(r(),i("div",Br,[c("ul",null,[(r(!0),i(d,null,l(b.skeleton,((t,e)=>(r(),i("li",{key:e},[jr,c("span",null,s(t),1)])))),128))])]))])},Ar.__scopeId="data-v-0ff6b754";var Pr={name:"cyy-ArsenalCarousel",data:()=>({lowCode:x}),props:{props:{photoCorner:Number,autoPlay:Number,autoplayInterval:Number,direction:Number,loop:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:o}=this.props,r=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let i=o;return t(r)||(i=r),console.log(52,i),i}},methods:{classifyPhotoCorner:t=>20===t?10:50===t?20:t,linkClick(t){this.$emit("linkClick",t)}}};const Dr={key:0},Or=["src"],Lr={class:"swiper"},Fr=["src","onClick"];Fo(".holder[data-v-7be72334]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-7be72334]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334],.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] .swiper-content[data-v-7be72334]{height:150px;width:100%}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] .swiper-content[data-v-7be72334] .img-item[data-v-7be72334]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] img[data-v-7be72334]{border-radius:10px;height:100%;width:100%}"),Pr.render=function(t,e,a,o,s,p){const f=v("swiper-item"),b=v("block"),u=v("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",Dr,[c("div",{class:"lowCode-warp",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[c("img",{src:p.resultArr[0].imgUrl,alt:"",style:n({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px",width:"100%"})},null,12,Or),c("ul",null,[(r(!0),i(d,null,l(p.resultArr,((t,e)=>(r(),i("li",{key:e})))),128))])],4)])):(r(),i("div",{key:1,class:"swiperBox",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[c("div",Lr,[h(u,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:a.props.autoplayInterval},{default:m((()=>[(r(!0),i(d,null,l(p.resultArr,((t,e)=>(r(),y(b,{key:e},{default:m((()=>[h(f,{class:"img-item"},{default:m((()=>[c("img",{style:n({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>p.linkClick(t)},null,12,Fr)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},Pr.__scopeId="data-v-7be72334";var Rr={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Er={key:0,class:"label"};Fo(".label[data-v-de35456a]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Rr.render=function(t,e,a,o,n,s){return"40"===a.goodsType?(r(),i("text",Er,"京东优选")):p("",!0)},Rr.__scopeId="data-v-de35456a";var Ur={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:{type:String},selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,goodsTag:Array,backgroundColor:String,cornerStyle:Number,spacingStyle:Number,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},goodsList:[],completeGoodsList:[],domainNameUrl:"",imgUrl:"",isLowCode:x}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}}},components:{vopLabel:Rr},mounted(){this.init()},methods:{async init(){this.domainNameUrl=N(this);const{goods:t=[]}=this.props,e={skuCode:t.toString()},a=await I(this,e);this.completeGoodsList=o(a,"list",[]),1===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,12):2===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,2):3===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,3):[4,5].includes(this.props.arrange)&&(this.goodsList=this.completeGoodsList.slice(0,60))},goGoodsDetail(t){if(x)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},goMoreGoods(){x||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"无库存"}},Kr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Mr=t=>(u("data-v-13bbd9ab"),t=t(),g(),t),Gr={class:"title"},$r={class:"subtitle"},Vr=Mr((()=>c("img",{src:Kr},null,-1))),Wr={class:"title"},Hr=Mr((()=>c("div",{class:"line"},null,-1))),qr={class:"mainTitle"},Yr=Mr((()=>c("div",{class:"line"},null,-1))),Qr={key:2,class:"mainImage"},Xr=["src"],Zr=["onClick"],Jr=["src"],ti={class:"maskState"},ei={class:"goodsDescription"},ai={class:"goodsName"},oi={class:"footerContent"},ri={key:0,class:"goodsTagList"},ii={class:"tag"},ni={class:"goodsPrice"},si=Mr((()=>c("span",{class:"priceUnit"},"¥",-1))),di={key:0,class:"scribing"},li=["onClick"];Fo("body{margin:0}");Fo('.mainTitleColor[data-v-13bbd9ab]{color:#f52b43}.top[data-v-13bbd9ab]{margin:0 10px;padding:12px 0}.top[data-v-13bbd9ab] .mainTitle[data-v-13bbd9ab]{font-size:16px;font-weight:600}.top[data-v-13bbd9ab].left[data-v-13bbd9ab]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-13bbd9ab].left[data-v-13bbd9ab] .title[data-v-13bbd9ab] .subtitle[data-v-13bbd9ab]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-13bbd9ab].left[data-v-13bbd9ab] .more[data-v-13bbd9ab]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-13bbd9ab].left[data-v-13bbd9ab] .more[data-v-13bbd9ab] img[data-v-13bbd9ab]{height:8px;width:6px}.top[data-v-13bbd9ab].center[data-v-13bbd9ab]{padding:18px 0}.top[data-v-13bbd9ab].center[data-v-13bbd9ab] .title[data-v-13bbd9ab]{align-items:center;display:flex;justify-content:center}.top[data-v-13bbd9ab].center[data-v-13bbd9ab] .title[data-v-13bbd9ab] .line[data-v-13bbd9ab]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-13bbd9ab].center[data-v-13bbd9ab] .title[data-v-13bbd9ab] .mainTitle[data-v-13bbd9ab]{text-align:center}.mainImage[data-v-13bbd9ab]{margin:0 10px;max-width:100%}.mainImage[data-v-13bbd9ab] img[data-v-13bbd9ab]{max-height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-13bbd9ab]{margin:8px 10px 0}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]{background-color:#fff}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .imgMarked[data-v-13bbd9ab]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .imgMarked[data-v-13bbd9ab] .maskState[data-v-13bbd9ab]{color:#fff;font-size:23px}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .goodsName[data-v-13bbd9ab]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;height:32px;overflow:hidden;text-overflow:ellipsis}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab]{margin-bottom:10px}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsTagList[data-v-13bbd9ab]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsTagList[data-v-13bbd9ab] .tag[data-v-13bbd9ab]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsTagList[data-v-13bbd9ab] .tag[data-v-13bbd9ab]:not(:last-child){margin-right:8px}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsPrice[data-v-13bbd9ab]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsPrice[data-v-13bbd9ab] .priceUnit[data-v-13bbd9ab]{font-size:10px}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsPrice[data-v-13bbd9ab] .scribing[data-v-13bbd9ab]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsBuy[data-v-13bbd9ab]{background-color:red;border:0;border-radius:15px;color:#fff;font-size:12px;line-height:22px;margin-left:auto;margin-right:auto;text-align:center;width:5em}.arrange-1[data-v-13bbd9ab]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImageWrapper[data-v-13bbd9ab] .goodsImage[data-v-13bbd9ab]{height:100px;width:100px}.arrange-1[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]:not(:last-child){padding-right:20px}.arrange-1[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]:not(:last-child) .spacingStyle[data-v-13bbd9ab]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab]{margin-top:10px}.arrange-1[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsBuy[data-v-13bbd9ab]{margin-bottom:10px;text-align:center}.arrange-2[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImageWrapper[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImageWrapper[data-v-13bbd9ab]{width:50%}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImageWrapper[data-v-13bbd9ab] .goodsImage[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImageWrapper[data-v-13bbd9ab] .goodsImage[data-v-13bbd9ab]{aspect-ratio:1;height:100%;width:100%}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab]{margin-left:10px;position:relative;width:100%}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .goodsName[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .goodsName[data-v-13bbd9ab]{font-size:14px;height:auto}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsPrice[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsPrice[data-v-13bbd9ab]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsBuy[data-v-13bbd9ab],.arrange-4[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsBuy[data-v-13bbd9ab]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-13bbd9ab]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]{background:#fff;margin-top:10px;width:48%}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImage[data-v-13bbd9ab]{aspect-ratio:1;height:100%;width:100%}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .goodsName[data-v-13bbd9ab]{height:2.5em;margin-top:10px}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsBuy[data-v-13bbd9ab]{margin:0}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]:first-child{width:100%}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]:first-child .goodsImage[data-v-13bbd9ab]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]:first-child .goodsName[data-v-13bbd9ab]{height:auto}.arrange-5[data-v-13bbd9ab]{grid-gap:10px 20px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab]{background:#fff}.arrange-5[data-v-13bbd9ab] .goodsBox[data-v-13bbd9ab] .goodsImage[data-v-13bbd9ab]{aspect-ratio:1;height:100%;width:100%}.arrange-5[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab]{margin-bottom:10px}.arrange-5[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsPrice[data-v-13bbd9ab]{text-align:center}.arrange-5[data-v-13bbd9ab] .goodsDescription[data-v-13bbd9ab] .footerContent[data-v-13bbd9ab] .goodsBuy[data-v-13bbd9ab]{margin-bottom:10px;text-align:center}'),Ur.render=function(t,e,a,o,u,g){const m=v("vopLabel");return r(),i("div",null,[a.props.goods?(r(),i("div",{key:1,style:n({margin:`${a.props.marginTop}px 0 ${a.props.marginBottom}px 0`,backgroundColor:`${a.props.backgroundColor}`,borderRadius:`${a.props.cornerStyle}px`})},[4!==a.props.arrange?(r(),i("div",{key:0,class:f(["top",{left:4!==a.props.arrange}])},[c("div",Gr,[c("span",{class:f(["mainTitle",g.mainTitleColor])},s(a.props.activityTitle),3),c("span",$r,s(a.props.activitySubtitle),1)]),1===a.props.more&&[1,2,3].includes(a.props.arrange)?(r(),i("div",{key:0,class:"more",onClick:e[0]||(e[0]=t=>g.goMoreGoods())},[b(" 更多"),Vr])):p("",!0)],2)):4===a.props.arrange?(r(),i("div",{key:1,class:f(["top",{center:4===a.props.arrange}])},[c("div",Wr,[Hr,c("div",qr,s(a.props.activityTitle),1),Yr])],2)):p("",!0),a.props.selectImg?(r(),i("div",Qr,[c("img",{style:n({borderTopLeftRadius:`${a.props.cornerStyle}px`,borderTopRightRadius:`${a.props.cornerStyle}px`}),src:a.props.selectImg,alt:"主图"},null,12,Xr)])):p("",!0),c("div",{class:f(["goodsList",[`arrange-${a.props.arrange}`,{isLc:!t.isLc}]])},[(r(!0),i(d,null,l(u.goodsList,((e,o)=>(r(),i("div",{class:"goodsBox",style:n({borderRadius:`${a.props.cornerStyle}px`}),key:e.skuCode,onClick:t=>g.goGoodsDetail(e)},[c("div",{class:f(["goodsImageWrapper",{spacingStyle:2===a.props.spacingStyle}]),style:{position:"relative"}},[c("img",{class:"goodsImage",style:n({borderRadius:`${a.props.cornerStyle}px`}),src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",alt:"商品图片"},null,12,Jr),!1===u.isLowCode&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:a.props.borderRadius})},[c("div",ti,s(g.getMaskState(e.goodsProperty5)),1)],4)):p("",!0)],2),c("div",ei,[c("div",ai,[h(m),b(s(e.goodsName),1)]),c("section",oi,[a.props.goodsTag.length>0&&[2,4].includes(a.props.arrange)?(r(),i("div",ri,[(r(!0),i(d,null,l(a.props.goodsTag,(t=>(r(),i("div",{key:t.id},[c("span",ii,s(t.value),1)])))),128))])):p("",!0),c("div",ni,[si,b(s(e.pricesetNprice)+" ",1),1===a.props.markedPrice?(r(),i("div",di," ¥"+s(e.pricesetMakeprice),1)):p("",!0)]),1===a.props.purchaseIcon?(r(),i("div",{key:1,class:"goodsBuy",onClick:a=>t.handleBuyGoods(e.skuNo)}," 立即购买 ",8,li)):p("",!0)])])],12,Zr)))),128))],2)],4)):(r(),i("div",{key:0,style:n(u.noDataStyle)},"请选择商品",4))])},Ur.__scopeId="data-v-13bbd9ab";var ci={name:"cyy-ArsenalTop",data:()=>({lowCode:x,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){this.changeColor()},computed:{resultArrImg:()=>t=>t[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:o}=this.props,r=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let i=o;return t(r)||(i=r),console.log(52,i),i}},methods:{changeColor(){this.props.selectImg.length&&(this.color=this.props.selectImg[0]?.color||"#FD1738")},classifyPhotoCorner:t=>20===t?10:50===t?20:t,setimg(t){const e=t.detail.current;this.color=this.props.selectImg[e]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},linkClick(t){this.$emit("linkClick",t)}}};const pi=t=>(u("data-v-2fdfd7a0"),t=t(),g(),t),fi={key:0},bi={class:"title-t"},ui={class:"boxBgL"},gi=pi((()=>c("div",{class:"search",style:{display:"flex","justify-content":"center",position:"relative","z-index":"1"}},[c("div",{class:"search--input",style:{padding:"2px 112px",border:"1px solid white","border-radius":"20px"}},[c("div",{class:"search--input--box",style:{color:"#fff"}},[c("span",null,"搜索您喜欢的商品"),c("img",{src:"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/search.png",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px",position:"absolute",top:"-4px",right:"18px"}})])])],-1))),vi={class:"tag",style:{"justify-content":"center"}},hi={class:"tag--item"},mi={class:"",style:{color:"#fff","font-size":"24rpx",position:"relative","z-index":"1"}},yi=["src"],xi=["src"],wi=["src"],ki={class:"Box"},Ci={class:"boxBg"},Si={class:"search"},Ai=pi((()=>c("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),Bi=[pi((()=>c("text",{class:"iconfont icon-sousuo"},null,-1)))],ji={class:"tag"},Ni={class:"tag--item"},Ii={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},zi=["src"],Ti={class:"",style:{color:"#fff","font-size":"24rpx"}},_i=pi((()=>c("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),Pi={class:"swiper"},Di=["src","onClick"];Fo(".holder[data-v-2fdfd7a0]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-2fdfd7a0]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0],.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0]{height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0] .img-item[data-v-2fdfd7a0]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{border-radius:10px;height:100%;width:100%}.Box[data-v-2fdfd7a0]{position:relative;width:100%}.boxBg[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBg[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBgL[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);height:32px;margin:0 auto;position:relative;text-align:center;width:90%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--box[data-v-2fdfd7a0]{color:#fff;font-size:12px;line-height:32px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0]{align-items:center;border-radius:17.5px;display:flex;height:22px;justify-content:center;position:absolute;right:5px;top:5px;width:27.5px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0] .icon-sousuo[data-v-2fdfd7a0]{color:#fff}.tag[data-v-2fdfd7a0]{display:flex;padding:7px 0}.tag[data-v-2fdfd7a0]--item[data-v-2fdfd7a0]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-2fdfd7a0]{height:40px}.title-l[data-v-2fdfd7a0] .title-t[data-v-2fdfd7a0]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-2fdfd7a0]{padding:0 20px}.coupon[data-v-2fdfd7a0]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{height:55px;width:55px}"),ci.render=function(t,e,a,o,p,f){const u=v("swiper-item"),g=v("block"),x=v("swiper");return r(),i("div",null,[p.lowCode?(r(),i("div",fi,[c("div",{class:"title-l",slot:"left",style:n({"background-color":p.color})},[c("div",bi,s(a.props.siteName||"人才优选 品质优选"),1)],4),c("div",{class:"Box",style:n({"background-color":p.color})},[c("div",ui,[c("div",{class:"one",style:n({"background-color":p.color})},null,4),c("div",{class:"two",style:n({"background-color":p.color})},null,4)]),gi,c("div",vi,[c("div",hi,[c("div",mi,[a.props.iconImg?(r(),i("img",{key:0,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,yi)):(r(),i("img",{key:1,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,xi)),b(s(a.props.mallSlogan),1)])])])],4),c("div",{class:"lowCode-warp",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[c("img",{src:f.resultArrImg(f.resultArr),alt:"",style:{width:"100%"}},null,8,wi),c("ul",null,[(r(!0),i(d,null,l(f.resultArr,((t,e)=>(r(),i("li",{key:e})))),128))])],4)])):(r(),i(d,{key:1},[c("div",ki,[c("div",Ci,[c("div",{class:"one",style:n({"background-color":p.color})},null,4),c("div",{class:"two",style:n({"background-color":p.color})},null,4)]),c("div",Si,[c("div",{class:"search--input",onClick:e[0]||(e[0]=(...t)=>f.ToSearch&&f.ToSearch(...t))},[Ai,c("div",{class:"search--input--icon",style:n({"background-color":p.color})},Bi,4)])]),c("div",ji,[c("div",Ni,[c("div",Ii,[c("img",{"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,zi)]),c("div",Ti,s(a.props.mallSlogan),1)])]),_i]),c("div",{class:"swiperBox",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[c("div",Pi,[h(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:f.directionResult,autoplay:f.autoplayResult,duration:a.props.autoplayInterval,onChange:f.setimg},{default:m((()=>[(r(!0),i(d,null,l(f.resultArr,((t,e)=>(r(),y(g,{key:e},{default:m((()=>[h(u,{class:"img-item"},{default:m((()=>[c("img",{style:n({bordeRadius:f.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>f.linkClick(t)},null,12,Di)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},ci.__scopeId="data-v-2fdfd7a0";var Oi={props:{props:{live:Array,title:String,cover:String,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let t="";switch(this.props.live.dataState){case 0:t="初始化";break;case 1:t="上传直播间";break;case 101:t="直播中";break;case 102:t="未开始";break;case 103:t="已结束";break;case 104:t="禁播";break;case 105:t="暂停";break;case 106:t="异常";break;case 107:t="已过期"}return t}},methods:{handleToLive(){if(x)return;let t=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${t}`})}}};const Li=["src"],Fi={class:"liveState"},Ri={class:"liveIntroduction"},Ei={class:"liveTitle"},Ui={class:"anchorName"};Fo(".live[data-v-2144efd5]{display:flex;padding:10px}.live[data-v-2144efd5] .liveCover[data-v-2144efd5]{height:140px;position:relative;width:140px}.live[data-v-2144efd5] .liveCover[data-v-2144efd5] img[data-v-2144efd5]{height:100%;width:100%}.live[data-v-2144efd5] .liveCover[data-v-2144efd5] .liveState[data-v-2144efd5]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.live[data-v-2144efd5] .liveIntroduction[data-v-2144efd5]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.live[data-v-2144efd5] .liveIntroduction[data-v-2144efd5] .liveTitle[data-v-2144efd5]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.live[data-v-2144efd5] .liveIntroduction[data-v-2144efd5] .anchorName[data-v-2144efd5]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}"),Oi.render=function(t,e,a,o,d,l){return r(),i("div",null,[a.props.live?(r(),i("div",{key:1,class:"live",style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[c("div",{class:"liveCover",onClick:e[0]||(e[0]=t=>l.handleToLive())},[c("img",{src:l.liveCover},null,8,Li),c("div",Fi,s(l.liveState),1)]),c("div",Ri,[c("div",Ei,s(l.liveTitle),1),c("div",Ui,s(a.props.live.infuencerInfname),1)])],4)):(r(),i("div",{key:0,style:n(d.noDataStyle)},"请选择直播",4))])},Oi.__scopeId="data-v-2144efd5";const Ki=async t=>{const e=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+t,{method:"POST",headers:{"saas-token":e,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>t))},Mi="%[a-f0-9]{2}",Gi=new RegExp("("+Mi+")|([^%]+?)","gi"),$i=new RegExp("("+Mi+")+","gi");function Vi(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const a=t.slice(0,e),o=t.slice(e);return Array.prototype.concat.call([],Vi(a),Vi(o))}function Wi(t){try{return decodeURIComponent(t)}catch{let e=t.match(Gi)||[];for(let a=1;a<e.length;a++)e=(t=Vi(e,a).join("")).match(Gi)||[];return t}}function Hi(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){const e={"%FE%FF":"��","%FF%FE":"��"};let a=$i.exec(t);for(;a;){try{e[a[0]]=decodeURIComponent(a[0])}catch{const t=Wi(a[0]);t!==a[0]&&(e[a[0]]=t)}a=$i.exec(t)}e["%C2"]="�";const o=Object.keys(e);for(const a of o)t=t.replace(new RegExp(a,"g"),e[a]);return t}(t)}}function qi(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const a=t.indexOf(e);return-1===a?[]:[t.slice(0,a),t.slice(a+e.length)]}function Yi(t,e){const a={};if(Array.isArray(e))for(const o of e){const e=Object.getOwnPropertyDescriptor(t,o);e?.enumerable&&Object.defineProperty(a,o,e)}else for(const o of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,o);if(r.enumerable){e(o,t[o],t)&&Object.defineProperty(a,o,r)}}return a}const Qi=t=>null==t,Xi=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Zi=Symbol("encodeFragmentIdentifier");function Ji(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function tn(t,e){return e.encode?e.strict?Xi(t):encodeURIComponent(t):t}function en(t,e){return e.decode?Hi(t):t}function an(t){return Array.isArray(t)?t.sort():"object"==typeof t?an(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function on(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function rn(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function nn(t){const e=(t=on(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function sn(t,e){Ji((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);const a=function(t){let e;switch(t.arrayFormat){case"index":return(t,a,o)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===o[t]&&(o[t]={}),o[t][e[1]]=a):o[t]=a};case"bracket":return(t,a,o)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==o[t]?o[t]=[...o[t],a]:o[t]=[a]:o[t]=a};case"colon-list-separator":return(t,a,o)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==o[t]?o[t]=[...o[t],a]:o[t]=[a]:o[t]=a};case"comma":case"separator":return(e,a,o)=>{const r="string"==typeof a&&a.includes(t.arrayFormatSeparator),i="string"==typeof a&&!r&&en(a,t).includes(t.arrayFormatSeparator);a=i?en(a,t):a;const n=r||i?a.split(t.arrayFormatSeparator).map((e=>en(e,t))):null===a?a:en(a,t);o[e]=n};case"bracket-separator":return(e,a,o)=>{const r=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!r)return void(o[e]=a?en(a,t):a);const i=null===a?[]:a.split(t.arrayFormatSeparator).map((e=>en(e,t)));void 0!==o[e]?o[e]=[...o[e],...i]:o[e]=i};default:return(t,e,a)=>{void 0!==a[t]?a[t]=[...[a[t]].flat(),e]:a[t]=e}}}(e),o=Object.create(null);if("string"!=typeof t)return o;if(!(t=t.trim().replace(/^[?#&]/,"")))return o;for(const r of t.split("&")){if(""===r)continue;const t=e.decode?r.replace(/\+/g," "):r;let[i,n]=qi(t,"=");void 0===i&&(i=t),n=void 0===n?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?n:en(n,e),a(en(i,e),n,o)}for(const[t,a]of Object.entries(o))if("object"==typeof a&&null!==a)for(const[t,o]of Object.entries(a))a[t]=rn(o,e);else o[t]=rn(a,e);return!1===e.sort?o:(!0===e.sort?Object.keys(o).sort():Object.keys(o).sort(e.sort)).reduce(((t,e)=>{const a=o[e];return Boolean(a)&&"object"==typeof a&&!Array.isArray(a)?t[e]=an(a):t[e]=a,t}),Object.create(null))}function dn(t,e){if(!t)return"";Ji((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const a=a=>e.skipNull&&Qi(t[a])||e.skipEmptyString&&""===t[a],o=function(t){switch(t.arrayFormat){case"index":return e=>(a,o)=>{const r=a.length;return void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[tn(e,t),"[",r,"]"].join("")]:[...a,[tn(e,t),"[",tn(r,t),"]=",tn(o,t)].join("")]};case"bracket":return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[tn(e,t),"[]"].join("")]:[...a,[tn(e,t),"[]=",tn(o,t)].join("")];case"colon-list-separator":return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[tn(e,t),":list="].join("")]:[...a,[tn(e,t),":list=",tn(o,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return a=>(o,r)=>void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?o:(r=null===r?"":r,0===o.length?[[tn(a,t),e,tn(r,t)].join("")]:[[o,tn(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,tn(e,t)]:[...a,[tn(e,t),"=",tn(o,t)].join("")]}}(e),r={};for(const[e,o]of Object.entries(t))a(e)||(r[e]=o);const i=Object.keys(r);return!1!==e.sort&&i.sort(e.sort),i.map((a=>{const r=t[a];return void 0===r?"":null===r?tn(a,e):Array.isArray(r)?0===r.length&&"bracket-separator"===e.arrayFormat?tn(a,e)+"[]":r.reduce(o(a),[]).join("&"):tn(a,e)+"="+tn(r,e)})).filter((t=>t.length>0)).join("&")}function ln(t,e){e={decode:!0,...e};let[a,o]=qi(t,"#");return void 0===a&&(a=t),{url:a?.split("?")?.[0]??"",query:sn(nn(t),e),...e&&e.parseFragmentIdentifier&&o?{fragmentIdentifier:en(o,e)}:{}}}function cn(t,e){e={encode:!0,strict:!0,[Zi]:!0,...e};const a=on(t.url).split("?")[0]||"";let o=dn({...sn(nn(t.url),{sort:!1}),...t.query},e);o&&(o=`?${o}`);let r=function(t){let e="";const a=t.indexOf("#");return-1!==a&&(e=t.slice(a)),e}(t.url);if(t.fragmentIdentifier){const o=new URL(a);o.hash=t.fragmentIdentifier,r=e[Zi]?o.hash:`#${t.fragmentIdentifier}`}return`${a}${o}${r}`}function pn(t,e,a){a={parseFragmentIdentifier:!0,[Zi]:!1,...a};const{url:o,query:r,fragmentIdentifier:i}=ln(t,a);return cn({url:o,query:Yi(r,e),fragmentIdentifier:i},a)}var fn=Object.freeze({__proto__:null,extract:nn,parse:sn,stringify:dn,parseUrl:ln,stringifyUrl:cn,pick:pn,exclude:function(t,e,a){return pn(t,Array.isArray(e)?t=>!e.includes(t):(t,a)=>!e(t,a),a)}}),bn={props:{props:{notice:{notice:Array,vertical:Boolean,color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},noticeList:[]}),mounted(){this.getIsLc()},methods:{getIsLc(){let t=this;return x?this.LcGetNotice(t):this.getNotice(t)},async LcGetNotice(t){const e=location.hash.replace(/[\\/#?]/g,""),a=fn.parse(e),o={};o.modelTagvalueId=a.modelTagvalueId??"";const r=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${o.modelTagvalueId}&noticeType=1`,i=await Ki(r);t.noticeList=i},async getNotice(t){const e=await t.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});t.noticeList=e},handleToNotice(t){x||this.$routers.push("noticeDedail",{id:t.noticeId})}}};const un=t=>(u("data-v-caaff790"),t=t(),g(),t),gn=un((()=>c("div",{class:"notice-logo"},[c("span",null,"公告")],-1))),vn=un((()=>c("div",{class:"notice-bar"},null,-1))),hn={class:"notice-content"},mn=["onClick"];Fo(".noticeBox[data-v-caaff790]{align-items:center;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:35px}.noticeBox[data-v-caaff790] .notice-logo[data-v-caaff790]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-caaff790] .notice-logo[data-v-caaff790] span[data-v-caaff790]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-caaff790] .notice-bar[data-v-caaff790]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-caaff790] .notice-content[data-v-caaff790]{flex:1;overflow:hidden}.noticeBox[data-v-caaff790] .notice-content[data-v-caaff790] .notice-list[data-v-caaff790]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-caaff790] .notice-content[data-v-caaff790] .notice-list[data-v-caaff790] .swiper-item[data-v-caaff790]{color:#999}"),bn.render=function(t,e,a,o,p,f){const b=v("swiper-item"),u=v("swiper");return r(),i("div",null,[p.noticeList?(r(),i("div",{key:1,class:"noticeBox",style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,backgroundColor:`${a.props.backgroundColor}`})},[gn,vn,c("div",hn,[h(u,{class:"notice-list",vertical:a.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:m((()=>[(r(!0),i(d,null,l(p.noticeList,(t=>(r(),y(b,{key:t.noticeId},{default:m((()=>[c("div",{class:"swiper-item",style:n({color:`${a.props.color}`}),onClick:e=>f.handleToNotice(t)},s(t.noticeTitle),13,mn)])),_:2},1024)))),128))])),_:1},8,["vertical"])])],4)):(r(),i("div",{key:0,style:n(p.noDataStyle)},"请选择公告",4))])},bn.__scopeId="data-v-caaff790";var yn={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp(t,e){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let t={};return this.height&&(t.height=this.height+"rpx",t.width=this.height+"rpx"),this.showBorder&&(t.borderStyle="solid",t.borderColor=this.borderColor,t.borderWidth="1px"),this.bgColor&&(t.backgroundColor=this.bgColor),t},letterStyle(){let t={};return this.fontSize&&(t.fontSize=this.fontSize+"rpx"),this.color&&(t.color=this.color),t}},mounted(){this.autoplay&&this.timestamp&&this.start()},methods:{start(){this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((()=>{if(this.seconds--,this.$emit("change",this.seconds),this.seconds<0)return this.end();this.formatTime(this.seconds)}),1e3))},formatTime(t){t<=0&&this.end();let[e,a,o,r]=[0,0,0,0];e=Math.floor(t/86400),a=Math.floor(t/3600)-24*e;let i=null;i=this.showDays?a:Math.floor(t/3600),o=Math.floor(t/60)-60*a-24*e*60,r=Math.floor(t)-24*e*60*60-60*a*60-60*o,i=i<10?"0"+i:i,o=o<10?"0"+o:o,r=r<10?"0"+r:r,e=e<10?"0"+e:e,this.d=e,this.h=i,this.i=o,this.s=r},end(){this.clearTimer(),this.$emit("end",{})},clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy(){clearInterval(this.timer),this.timer=null}};const xn={class:"u-countdown"};Fo(".u-countdown[data-v-4f36f3d2]{align-items:center;display:flex}.u-countdown-item[data-v-4f36f3d2]{align-items:center;border-radius:3px;display:flex;flex-direction:row;justify-content:center;padding:1px;transform:translateZ(0);white-space:nowrap}.u-countdown-time[data-v-4f36f3d2]{line-height:1;margin:0;padding:0}.u-countdown-colon[data-v-4f36f3d2]{align-items:center;display:flex;flex-direction:row;justify-content:center;line-height:1;padding:0 .5px 2px}.u-countdown-scale[data-v-4f36f3d2]{transform:scale(.9);transform-origin:center center}"),yn.render=function(t,e,a,o,d,l){return r(),i("view",xn,[a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=d.d)?(r(),i("view",{key:0,class:"u-countdown-item",style:n([l.itemStyle])},[c("view",{class:"u-countdown-time",style:n([l.letterStyle])},s(d.d),5)],4)):p("",!0),a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=d.d)?(r(),i("view",{key:1,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},s("colon"==a.separator?":":"天"),5)):p("",!0),a.showHours?(r(),i("view",{key:2,class:"u-countdown-item",style:n([l.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(d.h),5)],4)):p("",!0),a.showHours?(r(),i("view",{key:3,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},s("colon"==a.separator?":":"时"),5)):p("",!0),a.showMinutes?(r(),i("view",{key:4,class:"u-countdown-item",style:n([l.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(d.i),5)],4)):p("",!0),a.showMinutes?(r(),i("view",{key:5,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},s("colon"==a.separator?":":"分"),5)):p("",!0),a.showSeconds?(r(),i("view",{key:6,class:"u-countdown-item",style:n([l.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(d.s),5)],4)):p("",!0),a.showSeconds&&"zh"==a.separator?(r(),i("view",{key:7,class:"u-countdown-colon",style:n({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},yn.__scopeId="data-v-4f36f3d2";var wn={name:"cyy-ArsenalActivity",props:{props:{activityType:Number,countDown:Number,crossedPrice:Number,title:String,subTitle:String,backgroundColor:String,marginTop:Number,marginBottom:Number}},components:{uContDown:yn},data:()=>({lowCode:x,secGoodList:[]}),mounted(){this.getIsLc()},computed:{imgfn:()=>t=>-1===t.indexOf("http")?process.env.REACT_APP_BASE_URL+t:t,minTime(){let t=[];this.secGoodList.forEach((e=>{t.push(e.gmtModified)}));for(let e=0;e<t.length-1;e++)for(let e=0;e<t.length-1;e++)if(t[e]>t[e+1]){let a=t[e];t[e]=t[e+1],t[e+1]=a}return t[0]},setPromotionDates:()=>(t,e)=>{let a=(new Date(e.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(e.promotionEndtime)-Date.parse(new Date))/1e3;return t.gmtCreate=a>0?a:0,t.gmtModified=o>0?o:0,{gmtCreate:t.gmtCreate,gmtModified:t.gmtModified}}},methods:{getIsLc(){let t=this;return x?this.LcGetSecGoodList(t):this.getSecGoodList(t)},async LcGetSecGoodList(t){if(0===t.props.activityType){const e="/web/pm/promotionSignUpCon/queryCouponBatchPage.json?rows=4&page=1&dataState=1",{list:a}=await Ki(e);if(0===a.length)return void(t.secGoodList=[]);const o=async()=>{for(let e=0;e<a.slice(0,4).length;e++){const o=await r(e);JSON.parse(o.promotionTerstr).pmPromotionRangeList.forEach((o=>{if(t.secGoodList.length<4){const{gmtCreate:r,gmtModified:i}=this.setPromotionDates(o,a[e]);o.gmtCreate=r,o.gmtModified=i,t.secGoodList.push(o)}}))}},r=async t=>await Ki(`/web/pm/promotionSignUpCon/getCouponBatchByCode.json?couponBatchCode=${a[t].couponBatchCode}`);o()}if(1===t.props.activityType){const e="/web/pm/promotion/queryPromotionPageGroupBuying.json?rows=4&page=1&dataState=1",{list:a}=await Ki(e);if(0===a.length)return void(t.secGoodList=[]);const o=async()=>{for(let e=0;e<a.slice(0,4).length;e++){(await r(e)).pmPromotionRangeList.forEach((o=>{if(t.secGoodList.length<4){const{gmtCreate:r,gmtModified:i}=this.setPromotionDates(o,a[e]);o.gmtCreate=r,o.gmtModified=i,t.secGoodList.push(o)}}))}},r=async t=>await Ki(`/web/pm/promotion/getPromotions.json?promotionId=${a[t].promotionId}`);o()}},async getSecGoodList(t){0===this.props.activityType&&t.http.post(S,{pbCode:"0007",dataStateStr:"1,4",rows:4,page:1}).then((t=>{t&&t.list&&t.list.length?(t.list.slice(0,3).forEach((t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,a=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=a>0?a:0})),this.secGoodList=t.list.slice(0,4)):this.secGoodList=[]})),1===this.props.activityType&&t.http.post(S,{pbCode:"0008",dataStateStr:"4,1",rows:4,page:1}).then((async t=>{if(t&&t.rows)if(1===this.page&&0===t.rows.length)this.seckillGoodsList=[];else{t.rows.map((async t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,a=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=a>0?a:0,0==t.promotionState&&this.$set(t,"PeopleNum",t.couponOnceNump)}));let e=await t.rows.filter((t=>0==t.promotionState));this.secGoodList=e.slice(0,4)}}))},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(t,e,a,o,r){let i;0===this.props.activityType&&(i=26),1===this.props.activityType&&(i=24),this.$emit("gosecGoodsDetail",t,e,a,o,r,i)}}},kn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACDUlEQVRYR+2XPWgUQRTHf2/3EnO7ZVAbwTLCXq9gpXsiiJaiCFaCiI2CVQpRBK0DVhYp1MYijWkEvbGx0como4UgNhZiEAzcnsS4T/bkNNm73XFv40dxW+77mN/839s3s4Lj6bbi4yiLItxsrpjbAloWouD1ovYllXReVC4G1iyV+YsTIIqXgROZn8AzL/XOzbx+8mZU3NrcoTm/4S+CHvxhl8eh7RytC/AO2DtIIpAAV5vWLAik2XvlpN+LPl0Bris0fy6o+jF89XRXLYAkinsKM0NJhOfeNz39RVOZ9hsPQPfnfQQ2AmumagF0o3gVmB2VROClik6h0ipYZDW0ZmddgBsC8wqNzYmyZlThhWi/KQ9ov0V+PdnuFW6F1lyrBeBq0rp251dQdwFX/BBAErUfKnqMnOT5RKE1W2K7UVw6H4B1kLuh7ZzPlWpr6m4UbwC+i3wMgKxJ1gNrdrgAXDvpx48DMCpuqAS/IeWfBjic1ap0eIyrgMDXwJrp0hIkrfi+KqeAUoiqJcgWB1kKbOdMKYCr+bbb/v/NgcEOXc2YL0ESxWl+HG9WK+8/sBUqUBWgqv8EYKLARIGJAn9bAQ2t8UadI2WT8ANQ+FNR8TR8H1qzpxJAErXvKXq26PSrBCDcCVfMhUoAa/vi2YbHAsIRhd1jXkozFR8FPbksbzufKwFs97lflO+f3we+A25zCDA52E/UAAAAAElFTkSuQmCC",Cn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADPUlEQVRYR9WWT0gUcRTHv29mdd1Zo4I89EcL6aKzhp46SYuzClFgGHWorEN1iiiI/p0ivIggVNAhsFDJS2EkFOGfqQVPnSrd0UsIltTBiiB39k/OvBgtUXd2fjtKRHP9vfd9n/fe773fEP7xR/84PnwBJNXYIMBNXtASoTWU0B8Wmtj/BtDQBlCdZwWAzpChv/orFShU1I+drxZwNBpIz8r1FnCQQBGAyxaD0SyDEzLwrKTMGqV4fL5QiIIAePf+YCqYPQfia8z0O6h7CCKeBVN7KFN8l96/yIhAhABZtbF2HnY/A5UiseXnBEwFIB0uNobfevl5AmRqYs2WzX0MhP0E/2NLQFKW6HhwfGQgn39eALO6aS/DioNQspbgSz6MNEGOKhNDr910XAG4NrrJ/ClPANiaLzgz7tjzVptzHigKjDE4ry2Az0qRVU1v499X67kCzKlaBwGXvXtH7Yoxct2xMSPaDDO2C3rdoRj6VSHAj7r6MilT/EFUeoIrwCCAcgDVOTCMtB3MVmx4Mzq76rKuNE1GtNNgdIn6ngMAeqeki1rmFGujZFkvAag5GoQz4YR+3xtA1Z4CaPYDkFRj9xRsPk/G4ywDUiqi9TLjuIvGQNjQD4kApgFU+AFggAhgJ7ipag8AnMpz46cVQ9/lCWCqWoohHr3lLXAEFzJXY90MbvWY+bRi6CERQIaBYn8VOCKnIt+6mXFCMAlZxdCDohZ88pr/Zc5dYUM/yzgip9SvvQw6JoJ29kHY0LeJAIYANBYgZgHoI/BOBu0rwN4xGQ4b+oo/qpxFZEa0C8y4VaCgLzMiXFQS+m3PCqSqGnbaRFMgSL7URcYMW2KuDE2+dKZs6XNdxUlV6wFwUqTp87w3bOg54+kKYEaaysHW5Fqf4dVgzrMMkquUxNBHlzP3PEw1dhjgR858+8x0hTkBNkBHFWOkP89yyi8/V61dkggda4VwgtuMK6UTeqfHcvLOz4zEWpjZuROlPisxR0SnlMTIE8FyEsuae6I72JZvghd2vCzwsEDoIcm6oYzFZ0Tqwp/S5QKLl3O+mUEHQKghxhbnnAlfwBgn8HNQYMDtsq25BaIM1nvuqwLrDebm/wtZoDMwfXZXIwAAAABJRU5ErkJggg==";const Sn=t=>(u("data-v-748feb10"),t=t(),g(),t),An={class:"secKill--tit"},Bn={class:"title"},jn={key:0,src:kn,alt:"",style:{width:"16px",height:"16px"}},Nn={key:1,src:Cn,alt:"",style:{width:"16px",height:"16px"}},In={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},zn={class:"more"},Tn=Sn((()=>c("div",{class:"img"},[c("img",{"lazy-load":!0,src:Kr,mode:"",style:{width:"100%",height:"100%"}})],-1))),_n={class:"bigimg"},Pn=["src"],Dn={class:"secKill-goodsName text-common"},On={class:"price"},Ln={style:{display:"flex"}},Fn={class:"now-price-common",style:{color:"#f53a50"}},Rn={class:"secKill--tit"},En={class:"title"},Un={key:0,src:kn,alt:"",style:{width:"16px",height:"16px"}},Kn={key:1,src:Cn,alt:"",style:{width:"16px",height:"16px"}},Mn={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},Gn={class:"more"},$n=Sn((()=>c("div",{class:"img"},[c("img",{"lazy-load":!0,src:Kr,mode:"",style:{width:"100%",height:"100%"}})],-1))),Vn=["onClick"],Wn={class:"bigimg"},Hn=["src"],qn={class:"secKill-goodsName text-common"},Yn={class:"price"},Qn={style:{display:"flex"}},Xn={class:"now-price-common",style:{color:"#f53a50"}};Fo(".secKill[data-v-748feb10]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0;width:100%}.secKill[data-v-748feb10] .soon[data-v-748feb10]{background:linear-gradient(90deg,#ff9d0d,#eb2b27);border-radius:12px;color:#fff;font-family:PingFangSC-Medium,PingFang SC;font-size:12px;font-weight:500;height:24px;line-height:24px;text-align:center;width:64px}.secKill[data-v-748feb10] .secKill--tit[data-v-748feb10]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill[data-v-748feb10] .secKill--tit[data-v-748feb10] .title[data-v-748feb10]{align-items:center;display:flex}.secKill[data-v-748feb10] .secKill--tit[data-v-748feb10] .more[data-v-748feb10]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill[data-v-748feb10] .secKill--tit[data-v-748feb10] .more[data-v-748feb10] .img[data-v-748feb10]{height:9px;margin-left:3px;width:5.5px}.secKill[data-v-748feb10] .secKill-all[data-v-748feb10]{display:flex;height:126px;justify-content:space-between}.secKill[data-v-748feb10] .secKill-all[data-v-748feb10] .secKill--center[data-v-748feb10]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative;width:76px}.secKill[data-v-748feb10] .secKill-all[data-v-748feb10] .secKill--center[data-v-748feb10] .mask[data-v-748feb10]{background-color:#000;color:#fff;display:block;font-size:13px;height:54px;line-height:54px;opacity:.5;position:absolute;text-align:center;width:54px}.secKill[data-v-748feb10] .secKill-all[data-v-748feb10] .secKill--center[data-v-748feb10] .secKill-goodsName[data-v-748feb10]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;height:34px;line-height:17px;overflow:hidden;text-overflow:ellipsis}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10]{display:flex}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .left[data-v-748feb10]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .left[data-v-748feb10] .bigimgs[data-v-748feb10]{height:100px;margin:0 auto;width:100px}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .left[data-v-748feb10] .goodsName[data-v-748feb10]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;height:37.5px;margin-bottom:8px;margin-top:7.5px;overflow:hidden;width:153px}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .left[data-v-748feb10] .price[data-v-748feb10]{align-items:center;display:flex;justify-content:space-between}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .left[data-v-748feb10]:nth-child(2){border:none}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .right[data-v-748feb10]{height:255px;padding-left:7.5px;width:164px}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .right[data-v-748feb10] .bigimg[data-v-748feb10]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .right[data-v-748feb10] .goodsName[data-v-748feb10]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;margin-bottom:10px;overflow:hidden;width:153px}.secKill[data-v-748feb10] .secKill--bottom[data-v-748feb10] .right[data-v-748feb10] .price[data-v-748feb10]{align-items:center;display:flex;justify-content:space-between}"),wn.render=function(t,e,a,o,f,b){const u=v("uContDown"),g=v("u-count-down");return r(),i("div",null,[f.lowCode?(r(),i("div",{key:0,class:"secKill",style:n({backgroundColor:a.props.backgroundColor,marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[c("div",An,[c("div",Bn,[0===a.props.activityType?(r(),i("img",jn)):p("",!0),1===a.props.activityType?(r(),i("img",Nn)):p("",!0),c("div",In,s(a.props.title),1),0===a.props.countDown?(r(),y(u,{key:2,timestamp:b.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),c("div",zn,[c("div",{class:"",onClick:e[0]||(e[0]=(...t)=>b.goSecList&&b.goSecList(...t))},s(a.props.subTitle),1),Tn])]),c("div",{class:"secKill-all",style:n({backgroundColor:a.props.backgroundColor})},[(r(!0),i(d,null,l(f.secGoodList,((t,a)=>(r(),i("div",{class:"secKill--center",key:a},[c("div",{class:"goodsDetail",onClick:e[1]||(e[1]=t=>b.gosecGoodsDetail())},[c("div",_n,[c("img",{"lazy-load":!0,src:b.imgfn(t.pprlOpurl),mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,Pn)]),c("div",Dn,s(t.pprlOpname),1),c("div",On,[c("div",Ln,[c("div",Fn," ¥"+s(t.discountAmount1.toFixed(2)||0),1)])])])])))),128))],4)],4)):(r(),i("div",{key:1,class:"secKill",style:n({backgroundColor:a.props.backgroundColor,marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[c("div",Rn,[c("div",En,[0===a.props.activityType?(r(),i("img",Un)):p("",!0),1===a.props.activityType?(r(),i("img",Kn)):p("",!0),c("div",Mn,s(a.props.title),1),0===a.props.countDown?(r(),y(g,{key:2,timestamp:b.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),c("div",Gn,[c("div",{class:"",onClick:e[2]||(e[2]=(...t)=>b.goSecList&&b.goSecList(...t))},s(a.props.subTitle),1),$n])]),c("div",{class:"secKill-all",style:n({backgroundColor:a.props.backgroundColor})},[(r(!0),i(d,null,l(f.secGoodList,((e,a)=>(r(),i("div",{class:"secKill--center",key:a},[(r(!0),i(d,null,l(e.rsSkuReDomainList,((a,o)=>(r(),i("div",{class:"goodsDetail",key:o,onClick:t=>b.gosecGoodsDetail(a.skuNo,e.gmtModified,e.promotionCode,e.promotionFrequency,e.inventory)},[c("div",Wn,[c("img",{"lazy-load":!0,src:a.dataPic|t.urlFilter,mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,Hn)]),c("div",qn,s(a.goodsName),1),c("div",Yn,[c("div",Qn,[c("div",Xn," ¥"+s(a.pricesetNprice.toFixed(2)||0),1)])])],8,Vn)))),128))])))),128))],4)],4))])},wn.__scopeId="data-v-748feb10";var Zn={props:{props:{url:{type:String,default:""},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},marginTop:{type:Number,default:0},marginBottom:{type:Number,default:0}}}};const Jn=["src","poster","autoplay"];Fo("video[data-v-84e5cab4]{width:100%!important}"),Zn.render=function(t,e,a,o,s,d){return r(),i("div",null,[c("video",{style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`}),controls:"",src:a.props.url,poster:a.props.poster,autoplay:a.props.autoplay},null,12,Jn)])},Zn.__scopeId="data-v-84e5cab4";export{wn as ArsenalActivity,Pr as ArsenalCarousel,Ar as ArsenalNavigation,wr as ArsenalPicture,ci as ArsenalTop,Ur as Collocation,Oo as Cube,Ko as Goods,ir as GoodsOne,Oi as Live,bn as Notice,Ro as Search,tr as Slider,Do as Title,Zn as Video};