cyy-vue-material 1.1.3 → 1.1.4
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.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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 l,renderList as d,createElementVNode as c,createCommentVNode as p,normalizeClass as f,createTextVNode as u,pushScopeId as g,popScopeId as v,resolveComponent as h,createVNode as m,withCtx as b,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},j=(t,e,a)=>{z[t]={mGoodsInfo:a,mGoods:e}},B=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(B(e))return Promise.resolve(A(o));const i=localStorage.getItem("saas-token");return await fetch(N()+C+"?rows=60&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={})=>(j(o,r,t),t)))}:async(t,e)=>{const{list:a}=await t.http.get("web/es/searchengine/find.json?rows=60&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,O=_||P||Function("return this")(),D=O.Symbol,L=Object.prototype,F=L.hasOwnProperty,R=L.toString,E=D?D.toStringTag:void 0;var U=Object.prototype.toString;var K="[object Null]",M="[object Undefined]",G=D?D.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=O["__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\]$/,lt=Function.prototype,dt=Object.prototype,ct=lt.toString,pt=dt.hasOwnProperty,ft=RegExp("^"+ct.call(pt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ut(t){return!(!Q(t)||(e=t,rt&&rt in e))&&(et(t)?ft:st).test(nt(t));var e}function gt(t,e){var a=function(t,e){return null==t?void 0:t[e]}(t,e);return ut(a)?a:void 0}var vt=gt(Object,"create");var ht="__lodash_hash_undefined__",mt=Object.prototype.hasOwnProperty;var bt=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__=vt?vt(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(vt){var a=e[t];return a===ht?void 0:a}return mt.call(e,t)?e[t]:void 0},xt.prototype.has=function(t){var e=this.__data__;return vt?void 0!==e[t]:bt.call(e,t)},xt.prototype.set=function(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=vt&&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=gt(O,"Map");function jt(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 Bt(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])}}Bt.prototype.clear=function(){this.size=0,this.__data__={hash:new xt,map:new(At||St),string:new xt}},Bt.prototype.delete=function(t){var e=jt(this,t).delete(t);return this.size-=e?1:0,e},Bt.prototype.get=function(t){return jt(this,t).get(t)},Bt.prototype.has=function(t){return jt(this,t).has(t)},Bt.prototype.set=function(t,e){var a=jt(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||Bt),a}It.Cache=Bt;var zt=500;var Tt,_t,Pt,Ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Dt=/\\(\\)?/g,Lt=(Tt=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ot,(function(t,a,o,r){e.push(o?r.replace(Dt,"$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=D?D.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=gt(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 l=Vt(e[r]),d=a;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=n){var c=s[l];void 0===(d=o?o(c,l,s):void 0)&&(d=Q(c)?c:te(e[r+1])?[]:{})}Xt(s,l,d),s=s[l]}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,le=re(function(){return arguments}())?re:function(t){return V(t)&&ne.call(t,"callee")&&!se.call(t,"callee")},de=9007199254740991;function ce(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=de}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)||le(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 ue(t,e){for(var a=-1,o=e.length,r=t.length;++a<o;)t[r+a]=e[a];return t}var ge=D?D.isConcatSpreadable:void 0;function ve(t){return T(t)||le(t)||!!(ge&&t&&t[ge])}function he(t,e,a,o,r){var i=-1,n=t.length;for(a||(a=ve),r||(r=[]);++i<n;){var s=t[i];e>0&&a(s)?e>1?he(s,e-1,a,o,r):ue(r,s):o||(r[r.length]=s)}return r}function me(t){return(null==t?0:t.length)?he(t,1):[]}var be=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 je(t){return Ae(function(t,e,a){return e=be(void 0===e?t.length-1:e,0),function(){for(var o=arguments,r=-1,i=be(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,me),t+"")}var Be=je((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],l=o?o(a[s],t[s],s,a,t):void 0;void 0===l&&(l=t[s]),r?Yt(a,s,l):Xt(a,s,l)}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 Bt(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?O.Buffer:void 0,Oe=(Pe?Pe.isBuffer:void 0)||function(){return!1},De={};function Le(t){return function(e){return t(e)}}De["[object Float32Array]"]=De["[object Float64Array]"]=De["[object Int8Array]"]=De["[object Int16Array]"]=De["[object Int32Array]"]=De["[object Uint8Array]"]=De["[object Uint8ClampedArray]"]=De["[object Uint16Array]"]=De["[object Uint32Array]"]=!0,De["[object Arguments]"]=De["[object Array]"]=De["[object ArrayBuffer]"]=De["[object Boolean]"]=De["[object DataView]"]=De["[object Date]"]=De["[object Error]"]=De["[object Function]"]=De["[object Map]"]=De["[object Number]"]=De["[object Object]"]=De["[object RegExp]"]=De["[object Set]"]=De["[object String]"]=De["[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)&&!!De[$(t)]},Ge=Object.prototype.hasOwnProperty;function $e(t,e){var a=T(t),o=!a&&le(t),r=!a&&!o&&Oe(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):[],l=s.length;for(var d in t)!e&&!Ge.call(t,d)||n&&("length"==d||r&&("offset"==d||"parent"==d)||i&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||te(d,l))||s.push(d);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?O.Buffer:void 0,ra=oa?oa.allocUnsafe:void 0;function ia(){return[]}var na=Object.prototype.propertyIsEnumerable,sa=Object.getOwnPropertySymbols,la=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,da=la;var ca=He(Object.getPrototypeOf,Object),pa=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)ue(e,da(t)),t=ca(t);return e}:ia,fa=pa;function ua(t,e,a){var o=e(t);return T(t)?o:ue(o,a(t))}function ga(t){return ua(t,Xe,da)}function va(t){return ua(t,ta,fa)}var ha=gt(O,"DataView"),ma=gt(O,"Promise"),ba=gt(O,"Set"),ya=gt(O,"WeakMap"),xa="[object Map]",wa="[object Promise]",ka="[object Set]",Ca="[object WeakMap]",Sa="[object DataView]",Aa=nt(ha),ja=nt(At),Ba=nt(ma),Na=nt(ba),Ia=nt(ya),za=$;(ha&&za(new ha(new ArrayBuffer(1)))!=Sa||At&&za(new At)!=xa||ma&&za(ma.resolve())!=wa||ba&&za(new ba)!=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 ja:return xa;case Ba:return wa;case Na:return ka;case Ia:return Ca}return e});var Ta=za,_a=Object.prototype.hasOwnProperty;var Pa=O.Uint8Array;function Oa(t){var e=new t.constructor(t.byteLength);return new Pa(e).set(new Pa(t)),e}var Da=/\w*$/;var La=D?D.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 Oa(t);case Ra:case Ea:return new r(+t);case Ha:return function(t,e){var a=e?Oa(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?Oa(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,Da.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,uo=fo?Le(fo):function(t){return V(t)&&Ta(t)==po},go=1,vo=2,ho=4,mo="[object Arguments]",bo="[object Function]",yo="[object GeneratorFunction]",xo="[object Object]",wo={};function ko(t,e,a,o,r,i){var n,s=e&go,l=e&vo,d=e&ho;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==bo||p==yo;if(Oe(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==mo||f&&!r){if(n=l||f?{}:function(t){return"function"!=typeof t.constructor||We(t)?{}:no(ca(t))}(t),!s)return l?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,da(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 u=i.get(t);if(u)return u;i.set(t,n),uo(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 g=c?void 0:(d?l?va:ga:l?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););}(g||t,(function(o,r){g&&(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[mo]=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[bo]=wo["[object WeakMap]"]=!1;var Ao="[object Object]",jo=Function.prototype,Bo=Object.prototype,No=jo.toString,Io=Bo.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=je((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,va(t),a),o&&(a=ko(a,7,To));for(var r=e.length;r--;)So(a,e[r]);return a})),Po=_o,Oo={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=Be(this.props||{},t),a=Po(this.props||{},t);return{...w(e),...a}}}};Oo.render=function(t,e,a,o,l,d){return r(),i("div",{style:n([d.computedStyle])},s(a.props.value),5)};var Do={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=Be(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%}"),Do.render=function(t,e,a,o,s,p){return r(),i("div",null,[(r(!0),i(l,null,d(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))])},Do.__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=Be(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,l,d){return r(),i("div",Eo,[c("div",{style:n([d.computedStyle]),onClick:e[0]||(e[0]=(...t)=>d.goSearch&&d.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:"",isLowCode:x}),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.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={class:"goodsName"},Yo={class:"footerContent"},Qo={class:"goodsPrice"},Xo={key:0,class:"scribing"},Zo=(t=>(g("data-v-007af8e7"),t=t(),v(),t))((()=>c("div",{class:"goodsBuy"},"立即购买",-1)));Fo(".cube-container[data-v-007af8e7]{display:grid}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsImg[data-v-007af8e7]{margin-left:auto;margin-right:auto;max-height:340px}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsName[data-v-007af8e7]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{font-size:18px}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{font-size:14px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7]{margin:0 5px;max-width:170px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsImg[data-v-007af8e7]{max-height:170px;max-width:170px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7]{position:relative}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsName[data-v-007af8e7]{font-size:16px;height:auto}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{font-size:14px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{font-size:12px}.cube-container[data-v-007af8e7].arrange-3[data-v-007af8e7]{display:flex;overflow-x:scroll}.cube-container[data-v-007af8e7].arrange-3[data-v-007af8e7] .cube-item[data-v-007af8e7]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-007af8e7].arrange-3[data-v-007af8e7] .cube-item[data-v-007af8e7]:not(:last-child){margin-right:10px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .imgWrapper[data-v-007af8e7] .goodsImg[data-v-007af8e7]{height:100px;width:100px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7]{position:relative;width:210px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsName[data-v-007af8e7]{height:auto;max-height:42px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{font-size:16px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{font-size:12px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsBuyWrapper[data-v-007af8e7]{position:relative}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsBuyWrapper[data-v-007af8e7] .goodsBuy[data-v-007af8e7]{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-007af8e7] .cube-item[data-v-007af8e7] .imgWrapper[data-v-007af8e7]{position:relative}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .imgWrapper[data-v-007af8e7] .goodsImg[data-v-007af8e7]{width:100%}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .imgMarked[data-v-007af8e7]{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-007af8e7] .cube-item[data-v-007af8e7] .imgMarked[data-v-007af8e7] .maskState[data-v-007af8e7]{color:#fff;font-size:23px}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsName[data-v-007af8e7]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:10px}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{color:#f53a50;font-weight:600}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsBuy[data-v-007af8e7]{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,g,v){return r(),i("div",null,[a.props.goods?(r(),i("div",Mo,[c("div",{class:f(["cube-container",`arrange-${a.props.arrange}`]),style:n({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,gap:`${a.props.margin}px`})},[(r(!0),i(l,null,d(g.listArr,((t,e)=>(r(),i("div",{class:"cube-item",key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[c("div",$o,[!1===g.isLowCode&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:a.props.borderRadius})},[c("div",Vo,s(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),c("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?g.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:n({borderRadius:a.props.borderRadius})},null,12,Wo)]),c("div",Ho,[c("div",qo,s(t.goodsName),1),c("section",Yo,[c("div",Qo,[u(" ¥"+s(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(r(),i("div",Xo," ¥"+s(t.pricesetMakeprice),1)):p("",!0)]),Zo])])],8,Go)))),128))],6)])):(r(),i("div",{key:0,style:n(g.noDataStyle)},"请选择商品",4))])},Ko.__scopeId="data-v-007af8e7";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: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=Be(this.props,["marginTop","marginBottom"]);return{...w(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const tr={key:0},er=["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(t,e,a,o,s,p){const f=h("swiper-item"),u=h("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",tr,[c("div",{class:"lowCode-warp",style:n([p.sliderStyle])},[c("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,er),c("ul",null,[(r(!0),i(l,null,d(p.resultArr,((e,a)=>(r(),i("li",{key:t.cyy})))),128))])],4)])):(r(),i("div",ar,[m(u,{"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:b((()=>[(r(!0),i(l,null,d(p.resultArr,((e,a)=>(r(),y(f,{key:t.cyy,style:n([p.sliderStyle,{boxSizing:"border-box"}])},{default:b((()=>[c("img",{src:e.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: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 ir=t=>(g("data-v-18ddf090"),t=t(),v(),t),nr={key:1},sr={class:"three-layout"},lr={key:0,class:"top-left"},dr={key:1,class:"top-right"},cr=[ir((()=>c("div",null,"更多",-1))),ir((()=>c("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],pr={class:"three-layout-content"},fr={class:"three-layout-bigImg"},ur=["src"],gr={class:"three-layout-goods"},vr=["src"],hr={key:0,class:"mask-three-more"},mr={class:"price-box"},br={class:"now-price"},yr={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}"),rr.render=function(t,e,a,o,f,g){const v=h("vop-label"),y=h("scroll-view");return r(),i("div",null,[a.props.goods?(r(),i("div",nr,[c("div",sr,[c("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>g.jumpToSearch())},[a.props.title.isShow?p("",!0):(r(),i("div",lr,s(a.props.title.title||""),1)),1===a.props.more?(r(),i("div",dr,cr)):p("",!0)]),c("div",pr,[c("div",fr,[c("image",{"lazy-load":!0,src:a.props.bill?a.props.bill:"",mode:"aspectFill"},null,8,ur)]),c("div",gr,[m(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:b((()=>[(r(!0),i(l,null,d(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,[m(v,{goodsType:a.contlistPrice1},null,8,["goodsType"]),u(s(a.goodsName),1)]),c("div",mr,[c("div",br,"¥"+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(f.noDataStyle)},"请选择商品样式一",4))])},rr.__scopeId="data-v-18ddf090";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: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 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(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(l,null,d(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,kr)):(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,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: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 Ar={key:0,class:"holder"},jr=(t=>(g("data-v-0ff6b754"),t=t(),v(),t))((()=>c("div",null,null,-1))),Br=["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(t,e,a,o,u,g){return r(),i("div",null,[a.props.selectImg.length?(r(),i(l,{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(l,null,d(g.resultArr,((t,e)=>(r(),i("div",{class:"golds-item",key:e,onClick:e=>g.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,Nr),c("div",{style:n({color:a.props.fontColor})},s(t.name),5)],8,Br)))),128))],4)):p("",!0),1===a.props.showStyle?(r(),i("div",Ir,[c("div",{class:"classify-list",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(r(!0),i(l,null,d(g.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=>g.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:g.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,Tr)],14,zr)))),128))],4)])):p("",!0)],64)):(r(),i("div",Ar,[c("ul",null,[(r(!0),i(l,null,d(u.skeleton,((t,e)=>(r(),i("li",{key:e},[jr,c("span",null,s(t),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: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 Pr={key:0},Or=["src"],Dr={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(t,e,a,o,s,p){const f=h("swiper-item"),u=h("block"),g=h("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",Pr,[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(l,null,d(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",Dr,[m(g,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:a.props.autoplayInterval},{default:b((()=>[(r(!0),i(l,null,d(p.resultArr,((t,e)=>(r(),y(u,{key:e},{default:b((()=>[m(f,{class:"img-item"},{default:b((()=>[c("img",{style:n({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>p.linkClick(t)},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-de35456a]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Fr.render=function(t,e,a,o,n,s){return"40"===a.goodsType?(r(),i("text",Rr,"京东优选")):p("",!0)},Fr.__scopeId="data-v-de35456a";var Er={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:{type:String,default:"https://liftlearning.com/wp-content/uploads/2020/09/default-image.png"},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: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("goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"无库存"}},Ur="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Kr=t=>(g("data-v-29da17f4"),t=t(),v(),t),Mr={class:"title"},Gr={class:"subtitle"},$r=Kr((()=>c("img",{src:Ur},null,-1))),Vr={class:"title"},Wr=Kr((()=>c("div",{class:"line"},null,-1))),Hr={class:"mainTitle"},qr=Kr((()=>c("div",{class:"line"},null,-1))),Yr={key:2,class:"mainImage"},Qr=["src"],Xr=["onClick"],Zr=["src"],Jr={class:"maskState"},ti={class:"goodsDescription"},ei={class:"goodsName"},ai={class:"footerContent"},oi={key:0,class:"goodsTagList"},ri={class:"tag"},ii={class:"goodsPrice"},ni=Kr((()=>c("span",{class:"priceUnit"},"¥",-1))),si={key:0,class:"scribing"},li=["onClick"];Fo('.mainTitleColor[data-v-29da17f4]{color:#f52b43}.top[data-v-29da17f4]{margin:0 auto;padding:12px 0;width:350px}.top[data-v-29da17f4] .mainTitle[data-v-29da17f4]{font-size:16px;font-weight:600}.top[data-v-29da17f4].left[data-v-29da17f4]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-29da17f4].left[data-v-29da17f4] .title[data-v-29da17f4] .subtitle[data-v-29da17f4]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-29da17f4].left[data-v-29da17f4] .more[data-v-29da17f4]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-29da17f4].left[data-v-29da17f4] .more[data-v-29da17f4] img[data-v-29da17f4]{height:8px;width:6px}.top[data-v-29da17f4].center[data-v-29da17f4]{padding:18px 0}.top[data-v-29da17f4].center[data-v-29da17f4] .title[data-v-29da17f4]{align-items:center;display:flex;justify-content:center}.top[data-v-29da17f4].center[data-v-29da17f4] .title[data-v-29da17f4] .line[data-v-29da17f4]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-29da17f4].center[data-v-29da17f4] .title[data-v-29da17f4] .mainTitle[data-v-29da17f4]{text-align:center}.mainImage[data-v-29da17f4]{height:200px;text-align:center}.mainImage[data-v-29da17f4] img[data-v-29da17f4]{height:200px;width:350px}.goodsList[data-v-29da17f4]{margin-left:auto;margin-right:auto;margin-top:8px;width:350px}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4]{background-color:#fff}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsImage[data-v-29da17f4]{height:100px;width:100px}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .imgMarked[data-v-29da17f4]{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-29da17f4] .goodsBox[data-v-29da17f4] .imgMarked[data-v-29da17f4] .maskState[data-v-29da17f4]{color:#fff;font-size:23px}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .goodsName[data-v-29da17f4]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;overflow:hidden;text-overflow:ellipsis}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsTagList[data-v-29da17f4]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsTagList[data-v-29da17f4] .tag[data-v-29da17f4]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsTagList[data-v-29da17f4] .tag[data-v-29da17f4]:not(:last-child){margin-right:8px}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsPrice[data-v-29da17f4]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsPrice[data-v-29da17f4] .priceUnit[data-v-29da17f4]{font-size:10px}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsPrice[data-v-29da17f4] .scribing[data-v-29da17f4]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsBuy[data-v-29da17f4]{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-29da17f4]{grid-gap:10px 20px;display:grid;grid-template-columns:repeat(12,1fr);overflow:hidden;overflow-x:scroll}.arrange-1[data-v-29da17f4] .goodsBox[data-v-29da17f4]{width:100px}.arrange-1[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsImageWrapper[data-v-29da17f4]{position:relative}.arrange-1[data-v-29da17f4] .goodsBox[data-v-29da17f4]:not(:last-child) .goodsImageWrapper[data-v-29da17f4]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-29da17f4] .goodsBuy[data-v-29da17f4]{margin-bottom:10px;text-align:center}.arrange-2[data-v-29da17f4],.arrange-4[data-v-29da17f4]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-29da17f4] .goodsBox[data-v-29da17f4],.arrange-4[data-v-29da17f4] .goodsBox[data-v-29da17f4]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4],.arrange-4[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4]{margin-left:10px;position:relative;width:220px}.arrange-2[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .goodsName[data-v-29da17f4],.arrange-4[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .goodsName[data-v-29da17f4]{font-size:14px}.arrange-2[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsPrice[data-v-29da17f4],.arrange-4[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsPrice[data-v-29da17f4]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsBuy[data-v-29da17f4],.arrange-4[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsBuy[data-v-29da17f4]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-29da17f4]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4]{background:#fff;height:250px;margin-top:10px;width:170px}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsImage[data-v-29da17f4]{height:170px;width:170px}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .goodsName[data-v-29da17f4]{height:2.5em;margin-top:10px}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsBuy[data-v-29da17f4]{margin:0}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4]:first-child{height:220px;padding:10px;width:100%}.arrange-3[data-v-29da17f4] .goodsBox[data-v-29da17f4]:first-child .goodsImage[data-v-29da17f4]{height:130px;width:100%}.arrange-5[data-v-29da17f4]{grid-gap:10px 20px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-29da17f4] .goodsImage[data-v-29da17f4]{margin-top:6px}.arrange-5[data-v-29da17f4] .goodsBox[data-v-29da17f4]{background:#fff;width:100px}.arrange-5[data-v-29da17f4] .goodsBox[data-v-29da17f4] .goodsImage[data-v-29da17f4]{height:100px;width:100px}.arrange-5[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsPrice[data-v-29da17f4]{text-align:center}.arrange-5[data-v-29da17f4] .goodsDescription[data-v-29da17f4] .footerContent[data-v-29da17f4] .goodsBuy[data-v-29da17f4]{margin-bottom:10px;text-align:center}'),Er.render=function(t,e,a,o,g,v){const b=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:f(["top",{left:4!==a.props.arrange}])},[c("div",Mr,[c("span",{class:f(["mainTitle",v.mainTitleColor])},s(a.props.activityTitle),3),c("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:e[0]||(e[0]=t=>v.goMoreGoods())},[u(" 更多"),$r])):p("",!0)],2)):4===a.props.arrange?(r(),i("div",{key:1,class:f(["top",{center:4===a.props.arrange}])},[c("div",Vr,[Wr,c("div",Hr,s(a.props.activityTitle),1),qr])],2)):p("",!0),a.props.selectImg?(r(),i("div",Yr,[c("img",{style:n({borderTopLeftRadius:`${a.props.cornerStyle}px`,borderTopRightRadius:`${a.props.cornerStyle}px`}),src:a.props.selectImg,alt:"主图"},null,12,Qr)])):p("",!0),c("div",{class:f(["goodsList",[`arrange-${a.props.arrange}`]])},[(r(!0),i(l,null,d(g.goodsList,((e,o)=>(r(),i("div",{class:"goodsBox",style:n({borderRadius:`${a.props.cornerStyle}px`}),key:e.skuCode,onClick:t=>v.goGoodsDetail(e)},[c("div",{style:{position:"relative"},class:f({goodsImageWrapper:2===a.props.spacingStyle})},[c("img",{class:"goodsImage",style:n({borderRadius:`${a.props.cornerStyle}px`}),src:e.dataPic?-1===e.dataPic.indexOf("http")?g.domainNameUrl+e.dataPic:e.dataPic:"",alt:"商品图片"},null,12,Zr),!1===g.isLowCode&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:a.props.borderRadius})},[c("div",Jr,s(v.getMaskState(e.goodsProperty5)),1)],4)):p("",!0)],2),c("div",ti,[c("div",ei,[m(b),u(s(e.goodsName),1)]),c("section",ai,[a.props.goodsTag.length>0&&[2,4].includes(a.props.arrange)?(r(),i("div",oi,[(r(!0),i(l,null,d(a.props.goodsTag,(t=>(r(),i("div",{key:t.id},[c("span",ri,s(t.value),1)])))),128))])):p("",!0),c("div",ii,[ni,u(s(e.pricesetNprice)+" ",1),1===a.props.markedPrice?(r(),i("div",si," ¥"+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,Xr)))),128))],2)],4)):(r(),i("div",{key:0,style:n(g.noDataStyle)},"请选择商品",4))])},Er.__scopeId="data-v-29da17f4";var di={name:"cyy-ArsenalTop",data:()=>({lowCode:x,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,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 ci=t=>(g("data-v-262b7fff"),t=t(),v(),t),pi={key:0},fi={class:"title-t"},ui={class:"boxBgL"},gi=ci((()=>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"}},bi=["src"],yi=["src"],xi=["src"],wi={class:"Box"},ki={class:"boxBg"},Ci={class:"search"},Si=ci((()=>c("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),Ai=[ci((()=>c("text",{class:"iconfont icon-sousuo"},null,-1)))],ji={class:"tag"},Bi={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=ci((()=>c("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),_i={class:"swiper"},Pi=["src","onClick"];Fo(".holder[data-v-262b7fff]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-262b7fff]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff],.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff] .swiper-content[data-v-262b7fff]{height:150px;width:100%}.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff] .swiper-content[data-v-262b7fff] .img-item[data-v-262b7fff]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff] img[data-v-262b7fff]{border-radius:10px;height:100%;width:100%}.Box[data-v-262b7fff]{position:relative;width:100%}.boxBg[data-v-262b7fff]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-262b7fff] .one[data-v-262b7fff]{height:150px;width:100%}.boxBg[data-v-262b7fff] .two[data-v-262b7fff]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-262b7fff]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-262b7fff] .one[data-v-262b7fff]{height:150px;width:100%}.boxBgL[data-v-262b7fff] .two[data-v-262b7fff]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-262b7fff]--input[data-v-262b7fff]{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-262b7fff]--input[data-v-262b7fff]--box[data-v-262b7fff]{color:#fff;font-size:12px;line-height:32px}.search[data-v-262b7fff]--input[data-v-262b7fff]--icon[data-v-262b7fff]{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-262b7fff]--input[data-v-262b7fff]--icon[data-v-262b7fff] .icon-sousuo[data-v-262b7fff]{color:#fff}.tag[data-v-262b7fff]{display:flex;padding:7px 0}.tag[data-v-262b7fff]--item[data-v-262b7fff]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-262b7fff]{height:40px}.title-l[data-v-262b7fff] .title-t[data-v-262b7fff]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-262b7fff]{padding:0 20px}"),di.render=function(t,e,a,o,p,f){const g=h("swiper-item"),v=h("block"),x=h("swiper");return r(),i("div",null,[p.lowCode?(r(),i("div",pi,[c("div",{class:"title-l",slot:"left",style:n({"background-color":p.color})},[c("div",fi,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,bi)):(r(),i("img",{key:1,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,yi)),u(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,xi),c("ul",null,[(r(!0),i(l,null,d(f.resultArr,((t,e)=>(r(),i("li",{key:e})))),128))])],4)])):(r(),i(l,{key:1},[c("div",wi,[c("div",ki,[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",Ci,[c("div",{class:"search--input",onClick:e[0]||(e[0]=(...t)=>f.ToSearch&&f.ToSearch(...t))},[Si,c("div",{class:"search--input--icon",style:n({"background-color":p.color})},Ai,4)])]),c("div",ji,[c("div",Bi,[c("div",Ni,[c("img",{"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Ii)]),c("div",zi,s(a.props.mallSlogan),1)])]),Ti]),c("div",{class:"swiperBox",style:n({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[c("div",_i,[m(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:f.directionResult,autoplay:f.autoplayResult,duration:a.props.autoplayInterval,onChange:f.setimg},{default:b((()=>[(r(!0),i(l,null,d(f.resultArr,((t,e)=>(r(),y(v,{key:e},{default:b((()=>[m(g,{class:"img-item"},{default:b((()=>[c("img",{style:n({bordeRadius:f.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>f.linkClick(t)},null,12,Pi)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},di.__scopeId="data-v-262b7fff";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 Di=["src"],Li={class:"liveState"},Fi={class:"liveIntroduction"},Ri={class:"liveTitle"},Ei={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,l,d){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=>d.handleToLive())},[c("img",{src:d.liveCover},null,8,Di),c("div",Li,s(d.liveState),1)]),c("div",Fi,[c("div",Ri,s(d.liveTitle),1),c("div",Ei,s(a.props.live.infuencerInfname),1)])],4)):(r(),i("div",{key:0,style:n(l.noDataStyle)},"请选择直播",4))])},Oi.__scopeId="data-v-2144efd5";const Ui=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))},Ki="%[a-f0-9]{2}",Mi=new RegExp("("+Ki+")|([^%]+?)","gi"),Gi=new RegExp("("+Ki+")+","gi");function $i(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([],$i(a),$i(o))}function Vi(t){try{return decodeURIComponent(t)}catch{let e=t.match(Mi)||[];for(let a=1;a<e.length;a++)e=(t=$i(e,a).join("")).match(Mi)||[];return t}}function Wi(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=Gi.exec(t);for(;a;){try{e[a[0]]=decodeURIComponent(a[0])}catch{const t=Vi(a[0]);t!==a[0]&&(e[a[0]]=t)}a=Gi.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 Hi(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 qi(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 Yi=t=>null==t,Qi=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xi=Symbol("encodeFragmentIdentifier");function Zi(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Ji(t,e){return e.encode?e.strict?Qi(t):encodeURIComponent(t):t}function tn(t,e){return e.decode?Wi(t):t}function en(t){return Array.isArray(t)?t.sort():"object"==typeof t?en(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function an(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function on(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 rn(t){const e=(t=an(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function nn(t,e){Zi((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&&tn(a,t).includes(t.arrayFormatSeparator);a=i?tn(a,t):a;const n=r||i?a.split(t.arrayFormatSeparator).map((e=>tn(e,t))):null===a?a:tn(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?tn(a,t):a);const i=null===a?[]:a.split(t.arrayFormatSeparator).map((e=>tn(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]=Hi(t,"=");void 0===i&&(i=t),n=void 0===n?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?n:tn(n,e),a(tn(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]=on(o,e);else o[t]=on(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]=en(a):t[e]=a,t}),Object.create(null))}function sn(t,e){if(!t)return"";Zi((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const a=a=>e.skipNull&&Yi(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,[Ji(e,t),"[",r,"]"].join("")]:[...a,[Ji(e,t),"[",Ji(r,t),"]=",Ji(o,t)].join("")]};case"bracket":return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[Ji(e,t),"[]"].join("")]:[...a,[Ji(e,t),"[]=",Ji(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,[Ji(e,t),":list="].join("")]:[...a,[Ji(e,t),":list=",Ji(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?[[Ji(a,t),e,Ji(r,t)].join("")]:[[o,Ji(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,Ji(e,t)]:[...a,[Ji(e,t),"=",Ji(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?Ji(a,e):Array.isArray(r)?0===r.length&&"bracket-separator"===e.arrayFormat?Ji(a,e)+"[]":r.reduce(o(a),[]).join("&"):Ji(a,e)+"="+Ji(r,e)})).filter((t=>t.length>0)).join("&")}function ln(t,e){e={decode:!0,...e};let[a,o]=Hi(t,"#");return void 0===a&&(a=t),{url:a?.split("?")?.[0]??"",query:nn(rn(t),e),...e&&e.parseFragmentIdentifier&&o?{fragmentIdentifier:tn(o,e)}:{}}}function dn(t,e){e={encode:!0,strict:!0,[Xi]:!0,...e};const a=an(t.url).split("?")[0]||"";let o=sn({...nn(rn(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[Xi]?o.hash:`#${t.fragmentIdentifier}`}return`${a}${o}${r}`}function cn(t,e,a){a={parseFragmentIdentifier:!0,[Xi]:!1,...a};const{url:o,query:r,fragmentIdentifier:i}=ln(t,a);return dn({url:o,query:qi(r,e),fragmentIdentifier:i},a)}var pn=Object.freeze({__proto__:null,extract:rn,parse:nn,stringify:sn,parseUrl:ln,stringifyUrl:dn,pick:cn,exclude:function(t,e,a){return cn(t,Array.isArray(e)?t=>!e.includes(t):(t,a)=>!e(t,a),a)}});if(x){const t=location.hash.replace(/[\\/#?]/g,"");pn.parse(t).modelTagvalueId}var fn={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=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${query.modelTagvalueId}¬iceType=1`,a=await Ui(e);t.noticeList=a},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=>(g("data-v-5fe01952"),t=t(),v(),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-5fe01952]{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-5fe01952] .notice-logo[data-v-5fe01952]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-5fe01952] .notice-logo[data-v-5fe01952] span[data-v-5fe01952]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-5fe01952] .notice-bar[data-v-5fe01952]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-5fe01952] .notice-content[data-v-5fe01952]{flex:1;overflow:hidden}.noticeBox[data-v-5fe01952] .notice-content[data-v-5fe01952] .notice-list[data-v-5fe01952]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-5fe01952] .notice-content[data-v-5fe01952] .notice-list[data-v-5fe01952] .swiper-item[data-v-5fe01952]{color:#999}"),fn.render=function(t,e,a,o,p,f){const u=h("swiper-item"),g=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}`})},[gn,vn,c("div",hn,[m(g,{class:"notice-list",vertical:a.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:b((()=>[(r(!0),i(l,null,d(p.noticeList,(t=>(r(),y(u,{key:t.noticeId},{default:b((()=>[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))])},fn.__scopeId="data-v-5fe01952";var bn={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 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}"),bn.render=function(t,e,a,o,l,d){return r(),i("view",yn,[a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=l.d)?(r(),i("view",{key:0,class:"u-countdown-item",style:n([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n([d.letterStyle])},s(l.d),5)],4)):p("",!0),a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=l.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([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(l.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([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(l.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([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:a.fontSize+"rpx",color:a.color})},s(l.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)])},bn.__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:bn},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 Ui(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 Ui(`/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 Ui(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 Ui(`/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)}}},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=t=>(g("data-v-748feb10"),t=t(),v(),t),Sn={class:"secKill--tit"},An={class:"title"},jn={key:0,src:wn,alt:"",style:{width:"16px",height:"16px"}},Bn={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((()=>c("div",{class:"img"},[c("img",{"lazy-load":!0,src:Ur,mode:"",style:{width:"100%",height:"100%"}})],-1))),Tn={class:"bigimg"},_n=["src"],Pn={class:"secKill-goodsName text-common"},On={class:"price"},Dn={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((()=>c("div",{class:"img"},[c("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-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}"),xn.render=function(t,e,a,o,f,u){const g=h("uContDown"),v=h("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",Sn,[c("div",An,[0===a.props.activityType?(r(),i("img",jn)):p("",!0),1===a.props.activityType?(r(),i("img",Bn)):p("",!0),c("div",Nn,s(a.props.title),1),0===a.props.countDown?(r(),y(g,{key:2,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),c("div",In,[c("div",{class:"",onClick:e[0]||(e[0]=(...t)=>u.goSecList&&u.goSecList(...t))},s(a.props.subTitle),1),zn])]),c("div",{class:"secKill-all",style:n({backgroundColor:a.props.backgroundColor})},[(r(!0),i(l,null,d(f.secGoodList,((t,a)=>(r(),i("div",{class:"secKill--center",key:a},[c("div",{class:"goodsDetail",onClick:e[1]||(e[1]=t=>u.gosecGoodsDetail())},[c("div",Tn,[c("img",{"lazy-load":!0,src:u.imgfn(t.pprlOpurl),mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,_n)]),c("div",Pn,s(t.pprlOpname),1),c("div",On,[c("div",Dn,[c("div",Ln," ¥"+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",Fn,[c("div",Rn,[0===a.props.activityType?(r(),i("img",En)):p("",!0),1===a.props.activityType?(r(),i("img",Un)):p("",!0),c("div",Kn,s(a.props.title),1),0===a.props.countDown?(r(),y(v,{key:2,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),c("div",Mn,[c("div",{class:"",onClick:e[2]||(e[2]=(...t)=>u.goSecList&&u.goSecList(...t))},s(a.props.subTitle),1),Gn])]),c("div",{class:"secKill-all",style:n({backgroundColor:a.props.backgroundColor})},[(r(!0),i(l,null,d(f.secGoodList,((e,a)=>(r(),i("div",{class:"secKill--center",key:a},[(r(!0),i(l,null,d(e.rsSkuReDomainList,((a,o)=>(r(),i("div",{class:"goodsDetail",key:o,onClick:t=>u.gosecGoodsDetail(a.skuNo,e.gmtModified,e.promotionCode,e.promotionFrequency,e.inventory)},[c("div",Vn,[c("img",{"lazy-load":!0,src:a.dataPic|t.urlFilter,mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,Wn)]),c("div",Hn,s(a.goodsName),1),c("div",qn,[c("div",Yn,[c("div",Qn," ¥"+s(a.pricesetNprice.toFixed(2)||0),1)])])],8,$n)))),128))])))),128))],4)],4))])},xn.__scopeId="data-v-748feb10";export{xn as ArsenalActivity,_r as ArsenalCarousel,Sr as ArsenalNavigation,xr as ArsenalPicture,di as ArsenalTop,Er as Collocation,Do as Cube,Ko as Goods,rr as GoodsOne,Oi as Live,fn as Notice,Ro as Search,Jo as Slider,Oo as Title};
|
|
1
|
+
import{isEmpty as t,isEqual as e,isUndefined as o,get as a}from"lodash-es";import{openBlock as r,createElementBlock as i,normalizeStyle as n,toDisplayString as s,Fragment as l,renderList as d,createElementVNode as c,createCommentVNode as p,normalizeClass as f,createTextVNode as u,pushScopeId as g,popScopeId as v,resolveComponent as h,createVNode as m,withCtx as b,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 o in t)e[o]=k(t[o]);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},j=(t,e,o)=>{z[t]={mGoodsInfo:o,mGoods:e}},B=t=>{const{goods:o,id:a}=t.props,{mGoods:r}=z[a]||{};return e(o,r)},N=t=>x?process.env.REACT_APP_BASE_URL:t.$imgDomain;const I=x?async(e,o)=>{const{id:a,goods:r}=e.props;if(t(r))return Promise.resolve({list:[]});if(B(e))return Promise.resolve(A(a));const i=localStorage.getItem("saas-token");return await fetch(N()+C+"?rows=60&page=1&skuCodeStr="+o.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={})=>(j(a,r,t),t)))}:async(t,e)=>{const{list:o}=await t.http.get("web/es/searchengine/find.json?rows=60&page=1",e),a=e.skuCode.split(",");let r=[];return a.forEach((t=>{o.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,O=_||P||Function("return this")(),D=O.Symbol,L=Object.prototype,F=L.hasOwnProperty,R=L.toString,E=D?D.toStringTag:void 0;var U=Object.prototype.toString;var K="[object Null]",M="[object Undefined]",G=D?D.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),o=t[E];try{t[E]=void 0;var a=!0}catch(t){}var r=R.call(t);return a&&(e?t[E]=o: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 ot,at=O["__core-js_shared__"],rt=(ot=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||""))?"Symbol(src)_1."+ot:"";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\]$/,lt=Function.prototype,dt=Object.prototype,ct=lt.toString,pt=dt.hasOwnProperty,ft=RegExp("^"+ct.call(pt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ut(t){return!(!Q(t)||(e=t,rt&&rt in e))&&(et(t)?ft:st).test(nt(t));var e}function gt(t,e){var o=function(t,e){return null==t?void 0:t[e]}(t,e);return ut(o)?o:void 0}var vt=gt(Object,"create");var ht="__lodash_hash_undefined__",mt=Object.prototype.hasOwnProperty;var bt=Object.prototype.hasOwnProperty;var yt="__lodash_hash_undefined__";function xt(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var a=t[e];this.set(a[0],a[1])}}function wt(t,e){return t===e||t!=t&&e!=e}function kt(t,e){for(var o=t.length;o--;)if(wt(t[o][0],e))return o;return-1}xt.prototype.clear=function(){this.__data__=vt?vt(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(vt){var o=e[t];return o===ht?void 0:o}return mt.call(e,t)?e[t]:void 0},xt.prototype.has=function(t){var e=this.__data__;return vt?void 0!==e[t]:bt.call(e,t)},xt.prototype.set=function(t,e){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=vt&&void 0===e?yt:e,this};var Ct=Array.prototype.splice;function St(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var a=t[e];this.set(a[0],a[1])}}St.prototype.clear=function(){this.__data__=[],this.size=0},St.prototype.delete=function(t){var e=this.__data__,o=kt(e,t);return!(o<0)&&(o==e.length-1?e.pop():Ct.call(e,o,1),--this.size,!0)},St.prototype.get=function(t){var e=this.__data__,o=kt(e,t);return o<0?void 0:e[o][1]},St.prototype.has=function(t){return kt(this.__data__,t)>-1},St.prototype.set=function(t,e){var o=this.__data__,a=kt(o,t);return a<0?(++this.size,o.push([t,e])):o[a][1]=e,this};var At=gt(O,"Map");function jt(t,e){var o,a,r=t.__data__;return("string"==(a=typeof(o=e))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==o:null===o)?r["string"==typeof e?"string":"hash"]:r.map}function Bt(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var a=t[e];this.set(a[0],a[1])}}Bt.prototype.clear=function(){this.size=0,this.__data__={hash:new xt,map:new(At||St),string:new xt}},Bt.prototype.delete=function(t){var e=jt(this,t).delete(t);return this.size-=e?1:0,e},Bt.prototype.get=function(t){return jt(this,t).get(t)},Bt.prototype.has=function(t){return jt(this,t).has(t)},Bt.prototype.set=function(t,e){var o=jt(this,t),a=o.size;return o.set(t,e),this.size+=o.size==a?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 o=function(){var a=arguments,r=e?e.apply(this,a):a[0],i=o.cache;if(i.has(r))return i.get(r);var n=t.apply(this,a);return o.cache=i.set(r,n)||i,n};return o.cache=new(It.Cache||Bt),o}It.Cache=Bt;var zt=500;var Tt,_t,Pt,Ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Dt=/\\(\\)?/g,Lt=(Tt=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ot,(function(t,o,a,r){e.push(a?r.replace(Dt,"$1"):o||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 o=-1,a=null==t?0:t.length,r=Array(a);++o<a;)r[o]=e(t[o],o,t);return r}var Et=1/0,Ut=D?D.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 o=typeof t;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&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 o=0,a=(e=Gt(e,t)).length;null!=t&&o<a;)t=t[Vt(e[o++])];return o&&o==a?t:void 0}var Ht=function(){try{var t=gt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),qt=Ht;function Yt(t,e,o){"__proto__"==e&&qt?qt(t,e,{configurable:!0,enumerable:!0,value:o,writable:!0}):t[e]=o}var Qt=Object.prototype.hasOwnProperty;function Xt(t,e,o){var a=t[e];Qt.call(t,e)&&wt(a,o)&&(void 0!==o||e in t)||Yt(t,e,o)}var Zt=9007199254740991,Jt=/^(?:0|[1-9]\d*)$/;function te(t,e){var o=typeof t;return!!(e=null==e?Zt:e)&&("number"==o||"symbol"!=o&&Jt.test(t))&&t>-1&&t%1==0&&t<e}function ee(t,e,o,a){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 l=Vt(e[r]),d=o;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=n){var c=s[l];void 0===(d=a?a(c,l,s):void 0)&&(d=Q(c)?c:te(e[r+1])?[]:{})}Xt(s,l,d),s=s[l]}return t}function oe(t,e){return null!=t&&e in Object(t)}var ae="[object Arguments]";function re(t){return V(t)&&$(t)==ae}var ie=Object.prototype,ne=ie.hasOwnProperty,se=ie.propertyIsEnumerable,le=re(function(){return arguments}())?re:function(t){return V(t)&&ne.call(t,"callee")&&!se.call(t,"callee")},de=9007199254740991;function ce(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=de}function pe(t,e){return null!=t&&function(t,e,o){for(var a=-1,r=(e=Gt(e,t)).length,i=!1;++a<r;){var n=Vt(e[a]);if(!(i=null!=t&&o(t,n)))break;t=t[n]}return i||++a!=r?i:!!(r=null==t?0:t.length)&&ce(r)&&te(n,r)&&(T(t)||le(t))}(t,e,oe)}function fe(t,e){return function(t,e,o){for(var a=-1,r=e.length,i={};++a<r;){var n=e[a],s=Wt(t,n);o(s,n)&&ee(i,Gt(n,t),s)}return i}(t,e,(function(e,o){return pe(t,o)}))}function ue(t,e){for(var o=-1,a=e.length,r=t.length;++o<a;)t[r+o]=e[o];return t}var ge=D?D.isConcatSpreadable:void 0;function ve(t){return T(t)||le(t)||!!(ge&&t&&t[ge])}function he(t,e,o,a,r){var i=-1,n=t.length;for(o||(o=ve),r||(r=[]);++i<n;){var s=t[i];e>0&&o(s)?e>1?he(s,e-1,o,a,r):ue(r,s):a||(r[r.length]=s)}return r}function me(t){return(null==t?0:t.length)?he(t,1):[]}var be=Math.max;var ye=qt?function(t,e){return qt(t,"toString",{configurable:!0,enumerable:!1,value:(o=e,function(){return o}),writable:!0});var o}:function(t){return t},xe=ye,we=800,ke=16,Ce=Date.now;var Se=function(t){var e=0,o=0;return function(){var a=Ce(),r=ke-(a-o);if(o=a,r>0){if(++e>=we)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(xe),Ae=Se;function je(t){return Ae(function(t,e,o){return e=be(void 0===e?t.length-1:e,0),function(){for(var a=arguments,r=-1,i=be(a.length-e,0),n=Array(i);++r<i;)n[r]=a[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=a[r];return s[e]=o(n),function(t,e,o){switch(o.length){case 0:return t.call(e);case 1:return t.call(e,o[0]);case 2:return t.call(e,o[0],o[1]);case 3:return t.call(e,o[0],o[1],o[2])}return t.apply(e,o)}(t,this,s)}}(t,void 0,me),t+"")}var Be=je((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,o,a){var r=!o;o||(o={});for(var i=-1,n=e.length;++i<n;){var s=e[i],l=a?a(o[s],t[s],s,o,t):void 0;void 0===l&&(l=t[s]),r?Yt(o,s,l):Xt(o,s,l)}return o}Ie.prototype.clear=function(){this.__data__=new St,this.size=0},Ie.prototype.delete=function(t){var e=this.__data__,o=e.delete(t);return this.size=e.size,o},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 o=this.__data__;if(o instanceof St){var a=o.__data__;if(!At||a.length<Ne-1)return a.push([t,e]),this.size=++o.size,this;o=this.__data__=new Bt(a)}return o.set(t,e),this.size=o.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?O.Buffer:void 0,Oe=(Pe?Pe.isBuffer:void 0)||function(){return!1},De={};function Le(t){return function(e){return t(e)}}De["[object Float32Array]"]=De["[object Float64Array]"]=De["[object Int8Array]"]=De["[object Int16Array]"]=De["[object Int32Array]"]=De["[object Uint8Array]"]=De["[object Uint8ClampedArray]"]=De["[object Uint16Array]"]=De["[object Uint32Array]"]=!0,De["[object Arguments]"]=De["[object Array]"]=De["[object ArrayBuffer]"]=De["[object Boolean]"]=De["[object DataView]"]=De["[object Date]"]=De["[object Error]"]=De["[object Function]"]=De["[object Map]"]=De["[object Number]"]=De["[object Object]"]=De["[object RegExp]"]=De["[object Set]"]=De["[object String]"]=De["[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)&&!!De[$(t)]},Ge=Object.prototype.hasOwnProperty;function $e(t,e){var o=T(t),a=!o&&le(t),r=!o&&!a&&Oe(t),i=!o&&!a&&!r&&Me(t),n=o||a||r||i,s=n?function(t,e){for(var o=-1,a=Array(t);++o<t;)a[o]=e(o);return a}(t.length,String):[],l=s.length;for(var d in t)!e&&!Ge.call(t,d)||n&&("length"==d||r&&("offset"==d||"parent"==d)||i&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||te(d,l))||s.push(d);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(o){return t(e(o))}}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 o in Object(t))Ye.call(t,o)&&"constructor"!=o&&e.push(o);return e}(t)}var Ze=Object.prototype.hasOwnProperty;function Je(t){if(!Q(t))return function(t){var e=[];if(null!=t)for(var o in Object(t))e.push(o);return e}(t);var e=We(t),o=[];for(var a in t)("constructor"!=a||!e&&Ze.call(t,a))&&o.push(a);return o}function to(t){return Qe(t)?$e(t,!0):Je(t)}var eo="object"==typeof exports&&exports&&!exports.nodeType&&exports,oo=eo&&"object"==typeof module&&module&&!module.nodeType&&module,ao=oo&&oo.exports===eo?O.Buffer:void 0,ro=ao?ao.allocUnsafe:void 0;function io(){return[]}var no=Object.prototype.propertyIsEnumerable,so=Object.getOwnPropertySymbols,lo=so?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var o=-1,a=null==t?0:t.length,r=0,i=[];++o<a;){var n=t[o];e(n,o,t)&&(i[r++]=n)}return i}(so(t),(function(e){return no.call(t,e)})))}:io,co=lo;var po=He(Object.getPrototypeOf,Object),fo=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)ue(e,co(t)),t=po(t);return e}:io,uo=fo;function go(t,e,o){var a=e(t);return T(t)?a:ue(a,o(t))}function vo(t){return go(t,Xe,co)}function ho(t){return go(t,to,uo)}var mo=gt(O,"DataView"),bo=gt(O,"Promise"),yo=gt(O,"Set"),xo=gt(O,"WeakMap"),wo="[object Map]",ko="[object Promise]",Co="[object Set]",So="[object WeakMap]",Ao="[object DataView]",jo=nt(mo),Bo=nt(At),No=nt(bo),Io=nt(yo),zo=nt(xo),To=$;(mo&&To(new mo(new ArrayBuffer(1)))!=Ao||At&&To(new At)!=wo||bo&&To(bo.resolve())!=ko||yo&&To(new yo)!=Co||xo&&To(new xo)!=So)&&(To=function(t){var e=$(t),o="[object Object]"==e?t.constructor:void 0,a=o?nt(o):"";if(a)switch(a){case jo:return Ao;case Bo:return wo;case No:return ko;case Io:return Co;case zo:return So}return e});var _o=To,Po=Object.prototype.hasOwnProperty;var Oo=O.Uint8Array;function Do(t){var e=new t.constructor(t.byteLength);return new Oo(e).set(new Oo(t)),e}var Lo=/\w*$/;var Fo=D?D.prototype:void 0,Ro=Fo?Fo.valueOf:void 0;var Eo="[object Boolean]",Uo="[object Date]",Ko="[object Map]",Mo="[object Number]",Go="[object RegExp]",$o="[object Set]",Vo="[object String]",Wo="[object Symbol]",Ho="[object ArrayBuffer]",qo="[object DataView]",Yo="[object Float32Array]",Qo="[object Float64Array]",Xo="[object Int8Array]",Zo="[object Int16Array]",Jo="[object Int32Array]",ta="[object Uint8Array]",ea="[object Uint8ClampedArray]",oa="[object Uint16Array]",aa="[object Uint32Array]";function ra(t,e,o){var a,r=t.constructor;switch(e){case Ho:return Do(t);case Eo:case Uo:return new r(+t);case qo:return function(t,e){var o=e?Do(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)}(t,o);case Yo:case Qo:case Xo:case Zo:case Jo:case ta:case ea:case oa:case aa:return function(t,e){var o=e?Do(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)}(t,o);case Ko:return new r;case Mo:case Vo:return new r(t);case Go:return function(t){var e=new t.constructor(t.source,Lo.exec(t));return e.lastIndex=t.lastIndex,e}(t);case $o:return new r;case Wo:return a=t,Ro?Object(Ro.call(a)):{}}}var ia=Object.create,na=function(){function t(){}return function(e){if(!Q(e))return{};if(ia)return ia(e);t.prototype=e;var o=new t;return t.prototype=void 0,o}}(),sa=na;var la="[object Map]";var da=Ue&&Ue.isMap,ca=da?Le(da):function(t){return V(t)&&_o(t)==la},pa="[object Set]";var fa=Ue&&Ue.isSet,ua=fa?Le(fa):function(t){return V(t)&&_o(t)==pa},ga=1,va=2,ha=4,ma="[object Arguments]",ba="[object Function]",ya="[object GeneratorFunction]",xa="[object Object]",wa={};function ka(t,e,o,a,r,i){var n,s=e&ga,l=e&va,d=e&ha;if(o&&(n=r?o(t,a,r,i):o(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,o=new t.constructor(e);return e&&"string"==typeof t[0]&&Po.call(t,"index")&&(o.index=t.index,o.input=t.input),o}(t),!s)return function(t,e){var o=-1,a=t.length;for(e||(e=Array(a));++o<a;)e[o]=t[o];return e}(t,n)}else{var p=_o(t),f=p==ba||p==ya;if(Oe(t))return function(t,e){if(e)return t.slice();var o=t.length,a=ro?ro(o):new t.constructor(o);return t.copy(a),a}(t,s);if(p==xa||p==ma||f&&!r){if(n=l||f?{}:function(t){return"function"!=typeof t.constructor||We(t)?{}:sa(po(t))}(t),!s)return l?function(t,e){return ze(t,uo(t),e)}(t,function(t,e){return t&&ze(e,to(e),t)}(n,t)):function(t,e){return ze(t,co(t),e)}(t,function(t,e){return t&&ze(e,Xe(e),t)}(n,t))}else{if(!wa[p])return r?t:{};n=ra(t,p,s)}}i||(i=new Ie);var u=i.get(t);if(u)return u;i.set(t,n),ua(t)?t.forEach((function(a){n.add(ka(a,e,o,a,t,i))})):ca(t)&&t.forEach((function(a,r){n.set(r,ka(a,e,o,r,t,i))}));var g=c?void 0:(d?l?ho:vo:l?to:Xe)(t);return function(t,e){for(var o=-1,a=null==t?0:t.length;++o<a&&!1!==e(t[o],o,t););}(g||t,(function(a,r){g&&(a=t[r=a]),Xt(n,r,ka(a,e,o,r,t,i))})),n}function Ca(t,e){return e.length<2?t:Wt(t,function(t,e,o){var a=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(o=o>r?r:o)<0&&(o+=r),r=e>o?0:o-e>>>0,e>>>=0;for(var i=Array(r);++a<r;)i[a]=t[a+e];return i}(e,0,-1))}function Sa(t,e){return null==(t=Ca(t,e=Gt(e,t)))||delete t[Vt((o=e,a=null==o?0:o.length,a?o[a-1]:void 0))];var o,a}wa[ma]=wa["[object Array]"]=wa["[object ArrayBuffer]"]=wa["[object DataView]"]=wa["[object Boolean]"]=wa["[object Date]"]=wa["[object Float32Array]"]=wa["[object Float64Array]"]=wa["[object Int8Array]"]=wa["[object Int16Array]"]=wa["[object Int32Array]"]=wa["[object Map]"]=wa["[object Number]"]=wa[xa]=wa["[object RegExp]"]=wa["[object Set]"]=wa["[object String]"]=wa["[object Symbol]"]=wa["[object Uint8Array]"]=wa["[object Uint8ClampedArray]"]=wa["[object Uint16Array]"]=wa["[object Uint32Array]"]=!0,wa["[object Error]"]=wa[ba]=wa["[object WeakMap]"]=!1;var Aa="[object Object]",ja=Function.prototype,Ba=Object.prototype,Na=ja.toString,Ia=Ba.hasOwnProperty,za=Na.call(Object);function Ta(t){return function(t){if(!V(t)||$(t)!=Aa)return!1;var e=po(t);if(null===e)return!0;var o=Ia.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&Na.call(o)==za}(t)?void 0:t}var _a=je((function(t,e){var o={};if(null==t)return o;var a=!1;e=Rt(e,(function(e){return e=Gt(e,t),a||(a=e.length>1),e})),ze(t,ho(t),o),a&&(o=ka(o,7,Ta));for(var r=e.length;r--;)Sa(o,e[r]);return o})),Pa=_a,Oa={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=Be(this.props||{},t),o=Pa(this.props||{},t);return{...w(e),...o}}}};Oa.render=function(t,e,o,a,l,d){return r(),i("div",{style:n([d.computedStyle])},s(o.props.value),5)};var Da={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:a}=this.props,r=e.filter((t=>!o(t))).filter((t=>!Object.values(t).every((t=>o(t)))));let i=a;return t(r)||(i=r),console.log(52,i),i},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=Be(this.props,t),o=Pa(this.props,t);return{...w(e),...o}}}};const La=["src"];function Fa(t,e){void 0===e&&(e={});var o=e.insertAt;if(t&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===o&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}Fa(".lc-img-item[data-v-685baa5c]{box-sizing:border-box;width:100%}"),Da.render=function(t,e,o,a,s,p){return r(),i("div",null,[(r(!0),i(l,null,d(p.resultArr,((e,o)=>(r(),i("div",{key:t.cyy},[c("img",{mode:"widthFix",style:n([p.computedStyle,s.imgStyle]),src:e.imgUrl,alt:""},null,12,La)])))),128))])},Da.__scopeId="data-v-685baa5c";var Ra={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=Be(this.props,t),o=Pa(this.props,t);return{...w(e),...o,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){x||this.$emit("ToSearch")}}};const Ea={style:{overflow:"hidden"}},Ua=["src"];Ra.render=function(t,e,o,a,l,d){return r(),i("div",Ea,[c("div",{style:n([d.computedStyle]),onClick:e[0]||(e[0]=(...t)=>d.goSearch&&d.goSearch(...t))},[o.props.iconShow?(r(),i("img",{key:0,src:o.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Ua)):p("",!0),c("div",{style:n([{flex:"1"},{color:o.props.fontColor}])},s(o.props.value),5)],4)])};var Ka={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:"",isLowCode:x}),mounted(){this.init()},methods:{async init(){this.domainNameUrl=N(this);const{goods:t=[]}=this.props,e={skuCode:t.toString()},o=await I(this,e);this.listArr=a(o,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(x)return;const{skuCode:e}=t;let o={skuNo:e};this.$routers.push("detail",o)},getMaskState:t=>"1"===t?"预售中":"无库存"}};const Ma={key:1},Ga=["onClick"],$a={class:"imgWrapper"},Va={class:"maskState"},Wa=["src"],Ha={class:"goodsDescription"},qa={class:"goodsName"},Ya={class:"footerContent"},Qa={class:"goodsPrice"},Xa={key:0,class:"scribing"},Za=(t=>(g("data-v-007af8e7"),t=t(),v(),t))((()=>c("div",{class:"goodsBuy"},"立即购买",-1)));Fa(".cube-container[data-v-007af8e7]{display:grid}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsImg[data-v-007af8e7]{margin-left:auto;margin-right:auto;max-height:340px}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsName[data-v-007af8e7]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{font-size:18px}.cube-container[data-v-007af8e7].arrange-1[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{font-size:14px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7]{margin:0 5px;max-width:170px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsImg[data-v-007af8e7]{max-height:170px;max-width:170px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7]{position:relative}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsName[data-v-007af8e7]{font-size:16px;height:auto}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{font-size:14px}.cube-container[data-v-007af8e7].arrange-2[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{font-size:12px}.cube-container[data-v-007af8e7].arrange-3[data-v-007af8e7]{display:flex;overflow-x:scroll}.cube-container[data-v-007af8e7].arrange-3[data-v-007af8e7] .cube-item[data-v-007af8e7]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-007af8e7].arrange-3[data-v-007af8e7] .cube-item[data-v-007af8e7]:not(:last-child){margin-right:10px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .imgWrapper[data-v-007af8e7] .goodsImg[data-v-007af8e7]{height:100px;width:100px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7]{position:relative;width:210px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsName[data-v-007af8e7]{height:auto;max-height:42px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{font-size:16px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{font-size:12px}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsBuyWrapper[data-v-007af8e7]{position:relative}.cube-container[data-v-007af8e7].arrange-4[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsBuyWrapper[data-v-007af8e7] .goodsBuy[data-v-007af8e7]{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-007af8e7] .cube-item[data-v-007af8e7] .imgWrapper[data-v-007af8e7]{position:relative}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .imgWrapper[data-v-007af8e7] .goodsImg[data-v-007af8e7]{width:100%}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .imgMarked[data-v-007af8e7]{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-007af8e7] .cube-item[data-v-007af8e7] .imgMarked[data-v-007af8e7] .maskState[data-v-007af8e7]{color:#fff;font-size:23px}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsName[data-v-007af8e7]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:10px}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7]{color:#f53a50;font-weight:600}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .footerContent[data-v-007af8e7] .goodsPrice[data-v-007af8e7] .scribing[data-v-007af8e7]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-007af8e7] .cube-item[data-v-007af8e7] .goodsDescription[data-v-007af8e7] .goodsBuy[data-v-007af8e7]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Ka.render=function(t,e,o,a,g,v){return r(),i("div",null,[o.props.goods?(r(),i("div",Ma,[c("div",{class:f(["cube-container",`arrange-${o.props.arrange}`]),style:n({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,gap:`${o.props.margin}px`})},[(r(!0),i(l,null,d(g.listArr,((t,e)=>(r(),i("div",{class:"cube-item",key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[c("div",$a,[!1===g.isLowCode&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:o.props.borderRadius})},[c("div",Va,s(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),c("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?g.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:n({borderRadius:o.props.borderRadius})},null,12,Wa)]),c("div",Ha,[c("div",qa,s(t.goodsName),1),c("section",Ya,[c("div",Qa,[u(" ¥"+s(t.pricesetNprice)+" ",1),1===o.props.markedPrice?(r(),i("div",Xa," ¥"+s(t.pricesetMakeprice),1)):p("",!0)]),Za])])],8,Ga)))),128))],6)])):(r(),i("div",{key:0,style:n(g.noDataStyle)},"请选择商品",4))])},Ka.__scopeId="data-v-007af8e7";var Ja={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:a}=this.props,r=e.filter((t=>!o(t))).filter((t=>!Object.values(t).every((t=>o(t)))));let i=a;return t(r)||(i=r),i},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=Be(this.props,["marginTop","marginBottom"]);return{...w(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const tr={key:0},er=["src"],or={key:1},ar=["src"];Fa(".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}"),Ja.render=function(t,e,o,a,s,p){const f=h("swiper-item"),u=h("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",tr,[c("div",{class:"lowCode-warp",style:n([p.sliderStyle])},[c("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,er),c("ul",null,[(r(!0),i(l,null,d(p.resultArr,((e,o)=>(r(),i("li",{key:t.cyy})))),128))])],4)])):(r(),i("div",or,[m(u,{"indicator-dots":!0,autoplay:o.props.autoplay,interval:o.props.autoplayInterval,vertical:p.reDirection,circular:o.props.loop,style:n({height:p.imgH+"rpx"})},{default:b((()=>[(r(!0),i(l,null,d(p.resultArr,((e,o)=>(r(),y(f,{key:t.cyy,style:n([p.sliderStyle,{boxSizing:"border-box"}])},{default:b((()=>[c("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,ar)])),_: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:t=[]}=this.props;console.log(197);const e=t.toString();console.log(198);const o={goodsCode:e};console.log(199,o);const r=await I(this,o);this.listArr=a(r,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(x)return;const{skuCode:e,skuNo:o}=t;let a={skuCode:e,skuNo:o};this.$routers.push("detail",a)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"无库存"};const ir=t=>(g("data-v-18ddf090"),t=t(),v(),t),nr={key:1},sr={class:"three-layout"},lr={key:0,class:"top-left"},dr={key:1,class:"top-right"},cr=[ir((()=>c("div",null,"更多",-1))),ir((()=>c("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],pr={class:"three-layout-content"},fr={class:"three-layout-bigImg"},ur=["src"],gr={class:"three-layout-goods"},vr=["src"],hr={key:0,class:"mask-three-more"},mr={class:"price-box"},br={class:"now-price"},yr={key:0,class:"origin-price"};Fa(".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}"),rr.render=function(t,e,o,a,f,g){const v=h("vop-label"),y=h("scroll-view");return r(),i("div",null,[o.props.goods?(r(),i("div",nr,[c("div",sr,[c("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>g.jumpToSearch())},[o.props.title.isShow?p("",!0):(r(),i("div",lr,s(o.props.title.title||""),1)),1===o.props.more?(r(),i("div",dr,cr)):p("",!0)]),c("div",pr,[c("div",fr,[c("image",{"lazy-load":!0,src:o.props.bill?o.props.bill:"",mode:"aspectFill"},null,8,ur)]),c("div",gr,[m(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:b((()=>[(r(!0),i(l,null,d(f.listArr,((o,a)=>(r(),i("div",{class:"scroll-item",key:a,onClick:e[1]||(e[1]=e=>t.toDetail())},[c("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+o.dataPic,mode:"aspectFill"},null,8,vr),o.goodsSupplynum<=0||"1"===o.goodsProperty5?(r(),i("div",hr,s(t.maskTitle(o.goodsProperty5)),1)):p("",!0),c("p",null,[m(v,{goodsType:o.contlistPrice1},null,8,["goodsType"]),u(s(o.goodsName),1)]),c("div",mr,[c("div",br,"¥"+s(o.pricesetMakeprice||0),1),1==o.contlistConNow?(r(),i("div",yr,"¥"+s(o.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(r(),i("div",{key:0,style:n(f.noDataStyle)},"请选择商品样式一",4))])},rr.__scopeId="data-v-18ddf090";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:e,defaultValue:a}=this.props,r=e.filter((t=>!o(t))).filter((t=>!Object.values(t).every((t=>o(t)))));let i=a;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 wr={key:0,class:"holder"},kr=["src","onClick"],Cr=["src","onClick"];Fa(".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(t,e,o,a,s,c){return r(),i("div",null,[o.props.selectImg.length?(r(),i("div",{key:1,class:f([1===o.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:n({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(r(!0),i(l,null,d(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:o.props.cornerStyle+"px"}),onClick:e=>c.linkClick(t)},null,12,kr)):(r(),i("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:t.imgUrl,alt:"",style:n({borderRadius:o.props.cornerStyle+"px"}),onClick:e=>c.linkClick(t)},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:e,defaultValue:a}=this.props,r=e.filter((t=>!o(t))).filter((t=>!Object.values(t).every((t=>o(t)))));let i=a;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 Ar={key:0,class:"holder"},jr=(t=>(g("data-v-0ff6b754"),t=t(),v(),t))((()=>c("div",null,null,-1))),Br=["onClick"],Nr=["src"],Ir={key:1},zr=["onClick"],Tr=["src"];Fa(".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(t,e,o,a,u,g){return r(),i("div",null,[o.props.selectImg.length?(r(),i(l,{key:1},[0===o.props.showStyle?(r(),i("div",{key:0,class:"golds",style:n({backgroundColor:o.props.backgroundColor,marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(r(!0),i(l,null,d(g.resultArr,((t,e)=>(r(),i("div",{class:"golds-item",key:e,onClick:e=>g.linkClick(t)},[c("img",{class:f([1===o.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:n({borderRadius:o.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,Nr),c("div",{style:n({color:o.props.fontColor})},s(t.name),5)],8,Br)))),128))],4)):p("",!0),1===o.props.showStyle?(r(),i("div",Ir,[c("div",{class:"classify-list",style:n({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(r(!0),i(l,null,d(g.resultArr,((t,e)=>(r(),i("div",{class:f(["classify-item",[1===o.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:n({backgroundColor:o.props.backgroundColor}),key:e,onClick:e=>g.linkClick(t)},[c("div",{class:f([1===o.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:n({color:o.props.fontColor})},s(t.name),7),c("img",{class:f([1===o.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:n({borderRadius:g.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,Tr)],14,zr)))),128))],4)])):p("",!0)],64)):(r(),i("div",Ar,[c("ul",null,[(r(!0),i(l,null,d(u.skeleton,((t,e)=>(r(),i("li",{key:e},[jr,c("span",null,s(t),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:e,defaultValue:a}=this.props,r=e.filter((t=>!o(t))).filter((t=>!Object.values(t).every((t=>o(t)))));let i=a;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 Pr={key:0},Or=["src"],Dr={class:"swiper"},Lr=["src","onClick"];Fa(".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(t,e,o,a,s,p){const f=h("swiper-item"),u=h("block"),g=h("swiper");return r(),i("div",null,[s.lowCode?(r(),i("div",Pr,[c("div",{class:"lowCode-warp",style:n({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[c("img",{src:p.resultArr[0].imgUrl,alt:"",style:n({borderRadius:p.classifyPhotoCorner(o.props.photoCorner)+"px",width:"100%"})},null,12,Or),c("ul",null,[(r(!0),i(l,null,d(p.resultArr,((t,e)=>(r(),i("li",{key:e})))),128))])],4)])):(r(),i("div",{key:1,class:"swiperBox",style:n({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[c("div",Dr,[m(g,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:o.props.autoplayInterval},{default:b((()=>[(r(!0),i(l,null,d(p.resultArr,((t,e)=>(r(),y(u,{key:e},{default:b((()=>[m(f,{class:"img-item"},{default:b((()=>[c("img",{style:n({borderRadius:p.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>p.linkClick(t)},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"};Fa(".label[data-v-de35456a]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Fr.render=function(t,e,o,a,n,s){return"40"===o.goodsType?(r(),i("text",Rr,"京东优选")):p("",!0)},Fr.__scopeId="data-v-de35456a";var Er={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:{type:String,default:"https://liftlearning.com/wp-content/uploads/2020/09/default-image.png"},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:t=[]}=this.props,e={skuCode:t.toString()},o=await I(this,e);this.completeGoodsList=a(o,"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 o={skuNo:e};this.$routers.push("detail",o)},goMoreGoods(){x||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"无库存"}},Ur="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Kr=t=>(g("data-v-466599e2"),t=t(),v(),t),Mr={class:"title"},Gr={class:"subtitle"},$r=Kr((()=>c("img",{src:Ur},null,-1))),Vr={class:"title"},Wr=Kr((()=>c("div",{class:"line"},null,-1))),Hr={class:"mainTitle"},qr=Kr((()=>c("div",{class:"line"},null,-1))),Yr={key:2,class:"mainImage"},Qr=["src"],Xr=["onClick"],Zr=["src"],Jr={class:"maskState"},ti={class:"goodsDescription"},ei={class:"goodsName"},oi={class:"footerContent"},ai={key:0,class:"goodsTagList"},ri={class:"tag"},ii={class:"goodsPrice"},ni=Kr((()=>c("span",{class:"priceUnit"},"¥",-1))),si={key:0,class:"scribing"},li=["onClick"];Fa('.mainTitleColor[data-v-466599e2]{color:#f52b43}.top[data-v-466599e2]{margin:0 auto;padding:12px 0;width:350px}.top[data-v-466599e2] .mainTitle[data-v-466599e2]{font-size:16px;font-weight:600}.top[data-v-466599e2].left[data-v-466599e2]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-466599e2].left[data-v-466599e2] .title[data-v-466599e2] .subtitle[data-v-466599e2]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-466599e2].left[data-v-466599e2] .more[data-v-466599e2]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-466599e2].left[data-v-466599e2] .more[data-v-466599e2] img[data-v-466599e2]{height:8px;width:6px}.top[data-v-466599e2].center[data-v-466599e2]{padding:18px 0}.top[data-v-466599e2].center[data-v-466599e2] .title[data-v-466599e2]{align-items:center;display:flex;justify-content:center}.top[data-v-466599e2].center[data-v-466599e2] .title[data-v-466599e2] .line[data-v-466599e2]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-466599e2].center[data-v-466599e2] .title[data-v-466599e2] .mainTitle[data-v-466599e2]{text-align:center}.mainImage[data-v-466599e2]{height:200px;text-align:center}.mainImage[data-v-466599e2] img[data-v-466599e2]{height:200px;width:350px}.goodsList[data-v-466599e2]{margin-left:auto;margin-right:auto;margin-top:8px;width:350px}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2]{background-color:#fff}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsImage[data-v-466599e2]{height:100px;width:100px}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .imgMarked[data-v-466599e2]{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-466599e2] .goodsBox[data-v-466599e2] .imgMarked[data-v-466599e2] .maskState[data-v-466599e2]{color:#fff;font-size:23px}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .goodsName[data-v-466599e2]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;overflow:hidden;text-overflow:ellipsis}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsTagList[data-v-466599e2]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsTagList[data-v-466599e2] .tag[data-v-466599e2]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsTagList[data-v-466599e2] .tag[data-v-466599e2]:not(:last-child){margin-right:8px}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsPrice[data-v-466599e2]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsPrice[data-v-466599e2] .priceUnit[data-v-466599e2]{font-size:10px}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsPrice[data-v-466599e2] .scribing[data-v-466599e2]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsBuy[data-v-466599e2]{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-466599e2]{grid-gap:10px 20px;display:grid;grid-template-columns:repeat(12,1fr);overflow:hidden;overflow-x:scroll}.arrange-1[data-v-466599e2] .goodsBox[data-v-466599e2]{width:100px}.arrange-1[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsImageWrapper[data-v-466599e2]{position:relative}.arrange-1[data-v-466599e2] .goodsBox[data-v-466599e2]:not(:last-child) .goodsImageWrapper[data-v-466599e2]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-466599e2] .goodsBuy[data-v-466599e2]{margin-bottom:10px;text-align:center}.arrange-2[data-v-466599e2],.arrange-4[data-v-466599e2]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-466599e2] .goodsBox[data-v-466599e2],.arrange-4[data-v-466599e2] .goodsBox[data-v-466599e2]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2],.arrange-4[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2]{margin-left:10px;position:relative;width:220px}.arrange-2[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .goodsName[data-v-466599e2],.arrange-4[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .goodsName[data-v-466599e2]{font-size:14px}.arrange-2[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsPrice[data-v-466599e2],.arrange-4[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsPrice[data-v-466599e2]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsBuy[data-v-466599e2],.arrange-4[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsBuy[data-v-466599e2]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-466599e2]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2]{background:#fff;height:250px;margin-top:10px;width:170px}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsImage[data-v-466599e2]{height:170px;width:170px}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .goodsName[data-v-466599e2]{height:2.5em;margin-top:10px}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsBuy[data-v-466599e2]{margin:0}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2]:first-child{height:220px;padding:10px;width:100%}.arrange-3[data-v-466599e2] .goodsBox[data-v-466599e2]:first-child .goodsImage[data-v-466599e2]{height:130px;width:100%}.arrange-5[data-v-466599e2]{grid-gap:10px 20px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-466599e2] .goodsImage[data-v-466599e2]{margin-top:6px}.arrange-5[data-v-466599e2] .goodsBox[data-v-466599e2]{background:#fff;width:100px}.arrange-5[data-v-466599e2] .goodsBox[data-v-466599e2] .goodsImage[data-v-466599e2]{height:100px;width:100px}.arrange-5[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsPrice[data-v-466599e2]{text-align:center}.arrange-5[data-v-466599e2] .goodsDescription[data-v-466599e2] .footerContent[data-v-466599e2] .goodsBuy[data-v-466599e2]{margin-bottom:10px;text-align:center}'),Er.render=function(t,e,o,a,g,v){const b=h("vopLabel");return r(),i("div",null,[o.props.goods?(r(),i("div",{key:1,style:n({margin:`${o.props.marginTop}px 0 ${o.props.marginBottom}px 0`,backgroundColor:`${o.props.backgroundColor}`,borderRadius:`${o.props.cornerStyle}px`})},[4!==o.props.arrange?(r(),i("div",{key:0,class:f(["top",{left:4!==o.props.arrange}])},[c("div",Mr,[c("span",{class:f(["mainTitle",v.mainTitleColor])},s(o.props.activityTitle),3),c("span",Gr,s(o.props.activitySubtitle),1)]),1===o.props.more&&[1,2,3].includes(o.props.arrange)?(r(),i("div",{key:0,class:"more",onClick:e[0]||(e[0]=t=>v.goMoreGoods())},[u("更多"),$r])):p("",!0)],2)):4===o.props.arrange?(r(),i("div",{key:1,class:f(["top",{center:4===o.props.arrange}])},[c("div",Vr,[Wr,c("div",Hr,s(o.props.activityTitle),1),qr])],2)):p("",!0),o.props.selectImg?(r(),i("div",Yr,[c("img",{style:n({borderTopLeftRadius:`${o.props.cornerStyle}px`,borderTopRightRadius:`${o.props.cornerStyle}px`}),src:o.props.selectImg,alt:"主图"},null,12,Qr)])):p("",!0),c("div",{class:f(["goodsList",[`arrange-${o.props.arrange}`]])},[(r(!0),i(l,null,d(g.goodsList,((e,a)=>(r(),i("div",{class:"goodsBox",style:n({borderRadius:`${o.props.cornerStyle}px`}),key:e.skuCode,onClick:t=>v.goGoodsDetail(e)},[c("div",{style:{position:"relative"},class:f({goodsImageWrapper:2===o.props.spacingStyle})},[c("img",{class:"goodsImage",style:n({borderRadius:`${o.props.cornerStyle}px`}),src:e.dataPic?-1===e.dataPic.indexOf("http")?g.domainNameUrl+e.dataPic:e.dataPic:"",alt:"商品图片"},null,12,Zr),!1===g.isLowCode&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(r(),i("div",{key:0,class:"imgMarked",style:n({borderRadius:o.props.borderRadius})},[c("div",Jr,s(v.getMaskState(e.goodsProperty5)),1)],4)):p("",!0)],2),c("div",ti,[c("div",ei,[m(b),u(s(e.goodsName),1)]),c("section",oi,[o.props.goodsTag.length>0&&[2,4].includes(o.props.arrange)?(r(),i("div",ai,[(r(!0),i(l,null,d(o.props.goodsTag,(t=>(r(),i("div",{key:t.id},[c("span",ri,s(t.value),1)])))),128))])):p("",!0),c("div",ii,[ni,u(s(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(r(),i("div",si,"¥"+s(e.pricesetMakeprice),1)):p("",!0)]),1===o.props.purchaseIcon?(r(),i("div",{key:1,class:"goodsBuy",onClick:o=>t.handleBuyGoods(e.skuNo)},"立即购买",8,li)):p("",!0)])])],12,Xr)))),128))],2)],4)):(r(),i("div",{key:0,style:n(g.noDataStyle)},"请选择商品",4))])},Er.__scopeId="data-v-466599e2";var di={name:"cyy-ArsenalTop",data:()=>({lowCode:x,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,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:a}=this.props,r=e.filter((t=>!o(t))).filter((t=>!Object.values(t).every((t=>o(t)))));let i=a;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 ci=t=>(g("data-v-262b7fff"),t=t(),v(),t),pi={key:0},fi={class:"title-t"},ui={class:"boxBgL"},gi=ci((()=>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"}},bi=["src"],yi=["src"],xi=["src"],wi={class:"Box"},ki={class:"boxBg"},Ci={class:"search"},Si=ci((()=>c("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),Ai=[ci((()=>c("text",{class:"iconfont icon-sousuo"},null,-1)))],ji={class:"tag"},Bi={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=ci((()=>c("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),_i={class:"swiper"},Pi=["src","onClick"];Fa(".holder[data-v-262b7fff]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-262b7fff]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff],.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff] .swiper-content[data-v-262b7fff]{height:150px;width:100%}.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff] .swiper-content[data-v-262b7fff] .img-item[data-v-262b7fff]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-262b7fff] .swiper[data-v-262b7fff] img[data-v-262b7fff]{border-radius:10px;height:100%;width:100%}.Box[data-v-262b7fff]{position:relative;width:100%}.boxBg[data-v-262b7fff]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-262b7fff] .one[data-v-262b7fff]{height:150px;width:100%}.boxBg[data-v-262b7fff] .two[data-v-262b7fff]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-262b7fff]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-262b7fff] .one[data-v-262b7fff]{height:150px;width:100%}.boxBgL[data-v-262b7fff] .two[data-v-262b7fff]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-262b7fff]--input[data-v-262b7fff]{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-262b7fff]--input[data-v-262b7fff]--box[data-v-262b7fff]{color:#fff;font-size:12px;line-height:32px}.search[data-v-262b7fff]--input[data-v-262b7fff]--icon[data-v-262b7fff]{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-262b7fff]--input[data-v-262b7fff]--icon[data-v-262b7fff] .icon-sousuo[data-v-262b7fff]{color:#fff}.tag[data-v-262b7fff]{display:flex;padding:7px 0}.tag[data-v-262b7fff]--item[data-v-262b7fff]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-262b7fff]{height:40px}.title-l[data-v-262b7fff] .title-t[data-v-262b7fff]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-262b7fff]{padding:0 20px}"),di.render=function(t,e,o,a,p,f){const g=h("swiper-item"),v=h("block"),x=h("swiper");return r(),i("div",null,[p.lowCode?(r(),i("div",pi,[c("div",{class:"title-l",slot:"left",style:n({"background-color":p.color})},[c("div",fi,s(o.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,[o.props.iconImg?(r(),i("img",{key:0,"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,bi)):(r(),i("img",{key:1,"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,yi)),u(s(o.props.mallSlogan),1)])])])],4),c("div",{class:"lowCode-warp",style:n({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[c("img",{src:f.resultArrImg(f.resultArr),alt:"",style:{width:"100%"}},null,8,xi),c("ul",null,[(r(!0),i(l,null,d(f.resultArr,((t,e)=>(r(),i("li",{key:e})))),128))])],4)])):(r(),i(l,{key:1},[c("div",wi,[c("div",ki,[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",Ci,[c("div",{class:"search--input",onClick:e[0]||(e[0]=(...t)=>f.ToSearch&&f.ToSearch(...t))},[Si,c("div",{class:"search--input--icon",style:n({"background-color":p.color})},Ai,4)])]),c("div",ji,[c("div",Bi,[c("div",Ni,[c("img",{"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Ii)]),c("div",zi,s(o.props.mallSlogan),1)])]),Ti]),c("div",{class:"swiperBox",style:n({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[c("div",_i,[m(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:f.directionResult,autoplay:f.autoplayResult,duration:o.props.autoplayInterval,onChange:f.setimg},{default:b((()=>[(r(!0),i(l,null,d(f.resultArr,((t,e)=>(r(),y(v,{key:e},{default:b((()=>[m(g,{class:"img-item"},{default:b((()=>[c("img",{style:n({bordeRadius:f.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>f.linkClick(t)},null,12,Pi)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},di.__scopeId="data-v-262b7fff";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 Di=["src"],Li={class:"liveState"},Fi={class:"liveIntroduction"},Ri={class:"liveTitle"},Ei={class:"anchorName"};Fa(".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,o,a,l,d){return r(),i("div",null,[o.props.live?(r(),i("div",{key:1,class:"live",style:n({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`})},[c("div",{class:"liveCover",onClick:e[0]||(e[0]=t=>d.handleToLive())},[c("img",{src:d.liveCover},null,8,Di),c("div",Li,s(d.liveState),1)]),c("div",Fi,[c("div",Ri,s(d.liveTitle),1),c("div",Ei,s(o.props.live.infuencerInfname),1)])],4)):(r(),i("div",{key:0,style:n(l.noDataStyle)},"请选择直播",4))])},Oi.__scopeId="data-v-2144efd5";const Ui=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))},Ki="%[a-f0-9]{2}",Mi=new RegExp("("+Ki+")|([^%]+?)","gi"),Gi=new RegExp("("+Ki+")+","gi");function $i(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const o=t.slice(0,e),a=t.slice(e);return Array.prototype.concat.call([],$i(o),$i(a))}function Vi(t){try{return decodeURIComponent(t)}catch{let e=t.match(Mi)||[];for(let o=1;o<e.length;o++)e=(t=$i(e,o).join("")).match(Mi)||[];return t}}function Wi(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 o=Gi.exec(t);for(;o;){try{e[o[0]]=decodeURIComponent(o[0])}catch{const t=Vi(o[0]);t!==o[0]&&(e[o[0]]=t)}o=Gi.exec(t)}e["%C2"]="�";const a=Object.keys(e);for(const o of a)t=t.replace(new RegExp(o,"g"),e[o]);return t}(t)}}function Hi(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 o=t.indexOf(e);return-1===o?[]:[t.slice(0,o),t.slice(o+e.length)]}function qi(t,e){const o={};if(Array.isArray(e))for(const a of e){const e=Object.getOwnPropertyDescriptor(t,a);e?.enumerable&&Object.defineProperty(o,a,e)}else for(const a of Reflect.ownKeys(t)){const r=Object.getOwnPropertyDescriptor(t,a);if(r.enumerable){e(a,t[a],t)&&Object.defineProperty(o,a,r)}}return o}const Yi=t=>null==t,Qi=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xi=Symbol("encodeFragmentIdentifier");function Zi(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Ji(t,e){return e.encode?e.strict?Qi(t):encodeURIComponent(t):t}function tn(t,e){return e.decode?Wi(t):t}function en(t){return Array.isArray(t)?t.sort():"object"==typeof t?en(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 an(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 rn(t){const e=(t=on(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function nn(t,e){Zi((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);const o=function(t){let e;switch(t.arrayFormat){case"index":return(t,o,a)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===a[t]&&(a[t]={}),a[t][e[1]]=o):a[t]=o};case"bracket":return(t,o,a)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==a[t]?a[t]=[...a[t],o]:a[t]=[o]:a[t]=o};case"colon-list-separator":return(t,o,a)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==a[t]?a[t]=[...a[t],o]:a[t]=[o]:a[t]=o};case"comma":case"separator":return(e,o,a)=>{const r="string"==typeof o&&o.includes(t.arrayFormatSeparator),i="string"==typeof o&&!r&&tn(o,t).includes(t.arrayFormatSeparator);o=i?tn(o,t):o;const n=r||i?o.split(t.arrayFormatSeparator).map((e=>tn(e,t))):null===o?o:tn(o,t);a[e]=n};case"bracket-separator":return(e,o,a)=>{const r=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!r)return void(a[e]=o?tn(o,t):o);const i=null===o?[]:o.split(t.arrayFormatSeparator).map((e=>tn(e,t)));void 0!==a[e]?a[e]=[...a[e],...i]:a[e]=i};default:return(t,e,o)=>{void 0!==o[t]?o[t]=[...[o[t]].flat(),e]:o[t]=e}}}(e),a=Object.create(null);if("string"!=typeof t)return a;if(!(t=t.trim().replace(/^[?#&]/,"")))return a;for(const r of t.split("&")){if(""===r)continue;const t=e.decode?r.replace(/\+/g," "):r;let[i,n]=Hi(t,"=");void 0===i&&(i=t),n=void 0===n?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?n:tn(n,e),o(tn(i,e),n,a)}for(const[t,o]of Object.entries(a))if("object"==typeof o&&null!==o)for(const[t,a]of Object.entries(o))o[t]=an(a,e);else a[t]=an(o,e);return!1===e.sort?a:(!0===e.sort?Object.keys(a).sort():Object.keys(a).sort(e.sort)).reduce(((t,e)=>{const o=a[e];return Boolean(o)&&"object"==typeof o&&!Array.isArray(o)?t[e]=en(o):t[e]=o,t}),Object.create(null))}function sn(t,e){if(!t)return"";Zi((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const o=o=>e.skipNull&&Yi(t[o])||e.skipEmptyString&&""===t[o],a=function(t){switch(t.arrayFormat){case"index":return e=>(o,a)=>{const r=o.length;return void 0===a||t.skipNull&&null===a||t.skipEmptyString&&""===a?o:null===a?[...o,[Ji(e,t),"[",r,"]"].join("")]:[...o,[Ji(e,t),"[",Ji(r,t),"]=",Ji(a,t)].join("")]};case"bracket":return e=>(o,a)=>void 0===a||t.skipNull&&null===a||t.skipEmptyString&&""===a?o:null===a?[...o,[Ji(e,t),"[]"].join("")]:[...o,[Ji(e,t),"[]=",Ji(a,t)].join("")];case"colon-list-separator":return e=>(o,a)=>void 0===a||t.skipNull&&null===a||t.skipEmptyString&&""===a?o:null===a?[...o,[Ji(e,t),":list="].join("")]:[...o,[Ji(e,t),":list=",Ji(a,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return o=>(a,r)=>void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?a:(r=null===r?"":r,0===a.length?[[Ji(o,t),e,Ji(r,t)].join("")]:[[a,Ji(r,t)].join(t.arrayFormatSeparator)])}default:return e=>(o,a)=>void 0===a||t.skipNull&&null===a||t.skipEmptyString&&""===a?o:null===a?[...o,Ji(e,t)]:[...o,[Ji(e,t),"=",Ji(a,t)].join("")]}}(e),r={};for(const[e,a]of Object.entries(t))o(e)||(r[e]=a);const i=Object.keys(r);return!1!==e.sort&&i.sort(e.sort),i.map((o=>{const r=t[o];return void 0===r?"":null===r?Ji(o,e):Array.isArray(r)?0===r.length&&"bracket-separator"===e.arrayFormat?Ji(o,e)+"[]":r.reduce(a(o),[]).join("&"):Ji(o,e)+"="+Ji(r,e)})).filter((t=>t.length>0)).join("&")}function ln(t,e){e={decode:!0,...e};let[o,a]=Hi(t,"#");return void 0===o&&(o=t),{url:o?.split("?")?.[0]??"",query:nn(rn(t),e),...e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:tn(a,e)}:{}}}function dn(t,e){e={encode:!0,strict:!0,[Xi]:!0,...e};const o=on(t.url).split("?")[0]||"";let a=sn({...nn(rn(t.url),{sort:!1}),...t.query},e);a&&(a=`?${a}`);let r=function(t){let e="";const o=t.indexOf("#");return-1!==o&&(e=t.slice(o)),e}(t.url);if(t.fragmentIdentifier){const a=new URL(o);a.hash=t.fragmentIdentifier,r=e[Xi]?a.hash:`#${t.fragmentIdentifier}`}return`${o}${a}${r}`}function cn(t,e,o){o={parseFragmentIdentifier:!0,[Xi]:!1,...o};const{url:a,query:r,fragmentIdentifier:i}=ln(t,o);return dn({url:a,query:qi(r,e),fragmentIdentifier:i},o)}var pn=Object.freeze({__proto__:null,extract:rn,parse:nn,stringify:sn,parseUrl:ln,stringifyUrl:dn,pick:cn,exclude:function(t,e,o){return cn(t,Array.isArray(e)?t=>!e.includes(t):(t,o)=>!e(t,o),o)}});if(x){const t=location.hash.replace(/[\\/#?]/g,"");pn.parse(t).modelTagvalueId}var fn={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=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${query.modelTagvalueId}¬iceType=1`,o=await Ui(e);t.noticeList=o},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=>(g("data-v-5fe01952"),t=t(),v(),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"];Fa(".noticeBox[data-v-5fe01952]{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-5fe01952] .notice-logo[data-v-5fe01952]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-5fe01952] .notice-logo[data-v-5fe01952] span[data-v-5fe01952]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-5fe01952] .notice-bar[data-v-5fe01952]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-5fe01952] .notice-content[data-v-5fe01952]{flex:1;overflow:hidden}.noticeBox[data-v-5fe01952] .notice-content[data-v-5fe01952] .notice-list[data-v-5fe01952]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-5fe01952] .notice-content[data-v-5fe01952] .notice-list[data-v-5fe01952] .swiper-item[data-v-5fe01952]{color:#999}"),fn.render=function(t,e,o,a,p,f){const u=h("swiper-item"),g=h("swiper");return r(),i("div",null,[p.noticeList?(r(),i("div",{key:1,class:"noticeBox",style:n({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,backgroundColor:`${o.props.backgroundColor}`})},[gn,vn,c("div",hn,[m(g,{class:"notice-list",vertical:o.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:b((()=>[(r(!0),i(l,null,d(p.noticeList,(t=>(r(),y(u,{key:t.noticeId},{default:b((()=>[c("div",{class:"swiper-item",style:n({color:`${o.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))])},fn.__scopeId="data-v-5fe01952";var bn={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,o,a,r]=[0,0,0,0];e=Math.floor(t/86400),o=Math.floor(t/3600)-24*e;let i=null;i=this.showDays?o:Math.floor(t/3600),a=Math.floor(t/60)-60*o-24*e*60,r=Math.floor(t)-24*e*60*60-60*o*60-60*a,i=i<10?"0"+i:i,a=a<10?"0"+a:a,r=r<10?"0"+r:r,e=e<10?"0"+e:e,this.d=e,this.h=i,this.i=a,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"};Fa(".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}"),bn.render=function(t,e,o,a,l,d){return r(),i("view",yn,[o.showDays&&(o.hideZeroDay||!o.hideZeroDay&&"00"!=l.d)?(r(),i("view",{key:0,class:"u-countdown-item",style:n([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n([d.letterStyle])},s(l.d),5)],4)):p("",!0),o.showDays&&(o.hideZeroDay||!o.hideZeroDay&&"00"!=l.d)?(r(),i("view",{key:1,class:"u-countdown-colon",style:n({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})},s("colon"==o.separator?":":"天"),5)):p("",!0),o.showHours?(r(),i("view",{key:2,class:"u-countdown-item",style:n([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:o.fontSize+"rpx",color:o.color})},s(l.h),5)],4)):p("",!0),o.showHours?(r(),i("view",{key:3,class:"u-countdown-colon",style:n({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})},s("colon"==o.separator?":":"时"),5)):p("",!0),o.showMinutes?(r(),i("view",{key:4,class:"u-countdown-item",style:n([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:o.fontSize+"rpx",color:o.color})},s(l.i),5)],4)):p("",!0),o.showMinutes?(r(),i("view",{key:5,class:"u-countdown-colon",style:n({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})},s("colon"==o.separator?":":"分"),5)):p("",!0),o.showSeconds?(r(),i("view",{key:6,class:"u-countdown-item",style:n([d.itemStyle])},[c("view",{class:"u-countdown-time",style:n({fontSize:o.fontSize+"rpx",color:o.color})},s(l.s),5)],4)):p("",!0),o.showSeconds&&"zh"==o.separator?(r(),i("view",{key:7,class:"u-countdown-colon",style:n({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},bn.__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:bn},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 o=t[e];t[e]=t[e+1],t[e+1]=o}return t[0]},setPromotionDates:()=>(t,e)=>{let o=(new Date(e.promotionBegintime)-Date.parse(new Date))/1e3,a=(new Date(e.promotionEndtime)-Date.parse(new Date))/1e3;return t.gmtCreate=o>0?o:0,t.gmtModified=a>0?a: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:o}=await Ui(e);if(0===o.length)return void(t.secGoodList=[]);const a=async()=>{for(let e=0;e<o.slice(0,4).length;e++){const a=await r(e);JSON.parse(a.promotionTerstr).pmPromotionRangeList.forEach((a=>{if(t.secGoodList.length<4){const{gmtCreate:r,gmtModified:i}=this.setPromotionDates(a,o[e]);a.gmtCreate=r,a.gmtModified=i,t.secGoodList.push(a)}}))}},r=async t=>await Ui(`/web/pm/promotionSignUpCon/getCouponBatchByCode.json?couponBatchCode=${o[t].couponBatchCode}`);a()}if(1===t.props.activityType){const e="/web/pm/promotion/queryPromotionPageGroupBuying.json?rows=4&page=1&dataState=1",{list:o}=await Ui(e);if(0===o.length)return void(t.secGoodList=[]);const a=async()=>{for(let e=0;e<o.slice(0,4).length;e++){(await r(e)).pmPromotionRangeList.forEach((a=>{if(t.secGoodList.length<4){const{gmtCreate:r,gmtModified:i}=this.setPromotionDates(a,o[e]);a.gmtCreate=r,a.gmtModified=i,t.secGoodList.push(a)}}))}},r=async t=>await Ui(`/web/pm/promotion/getPromotions.json?promotionId=${o[t].promotionId}`);a()}},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,o=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=o>0?o: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,o=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=o>0?o: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,o,a,r){let i;0===this.props.activityType&&(i=26),1===this.props.activityType&&(i=24),this.$emit("gosecGoodsDetail",t,e,o,a,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=t=>(g("data-v-748feb10"),t=t(),v(),t),Sn={class:"secKill--tit"},An={class:"title"},jn={key:0,src:wn,alt:"",style:{width:"16px",height:"16px"}},Bn={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((()=>c("div",{class:"img"},[c("img",{"lazy-load":!0,src:Ur,mode:"",style:{width:"100%",height:"100%"}})],-1))),Tn={class:"bigimg"},_n=["src"],Pn={class:"secKill-goodsName text-common"},On={class:"price"},Dn={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((()=>c("div",{class:"img"},[c("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"}};Fa(".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}"),xn.render=function(t,e,o,a,f,u){const g=h("uContDown"),v=h("u-count-down");return r(),i("div",null,[f.lowCode?(r(),i("div",{key:0,class:"secKill",style:n({backgroundColor:o.props.backgroundColor,marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`})},[c("div",Sn,[c("div",An,[0===o.props.activityType?(r(),i("img",jn)):p("",!0),1===o.props.activityType?(r(),i("img",Bn)):p("",!0),c("div",Nn,s(o.props.title),1),0===o.props.countDown?(r(),y(g,{key:2,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),c("div",In,[c("div",{class:"",onClick:e[0]||(e[0]=(...t)=>u.goSecList&&u.goSecList(...t))},s(o.props.subTitle),1),zn])]),c("div",{class:"secKill-all",style:n({backgroundColor:o.props.backgroundColor})},[(r(!0),i(l,null,d(f.secGoodList,((t,o)=>(r(),i("div",{class:"secKill--center",key:o},[c("div",{class:"goodsDetail",onClick:e[1]||(e[1]=t=>u.gosecGoodsDetail())},[c("div",Tn,[c("img",{"lazy-load":!0,src:u.imgfn(t.pprlOpurl),mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,_n)]),c("div",Pn,s(t.pprlOpname),1),c("div",On,[c("div",Dn,[c("div",Ln," ¥"+s(t.discountAmount1.toFixed(2)||0),1)])])])])))),128))],4)],4)):(r(),i("div",{key:1,class:"secKill",style:n({backgroundColor:o.props.backgroundColor,marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`})},[c("div",Fn,[c("div",Rn,[0===o.props.activityType?(r(),i("img",En)):p("",!0),1===o.props.activityType?(r(),i("img",Un)):p("",!0),c("div",Kn,s(o.props.title),1),0===o.props.countDown?(r(),y(v,{key:2,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)]),c("div",Mn,[c("div",{class:"",onClick:e[2]||(e[2]=(...t)=>u.goSecList&&u.goSecList(...t))},s(o.props.subTitle),1),Gn])]),c("div",{class:"secKill-all",style:n({backgroundColor:o.props.backgroundColor})},[(r(!0),i(l,null,d(f.secGoodList,((e,o)=>(r(),i("div",{class:"secKill--center",key:o},[(r(!0),i(l,null,d(e.rsSkuReDomainList,((o,a)=>(r(),i("div",{class:"goodsDetail",key:a,onClick:t=>u.gosecGoodsDetail(o.skuNo,e.gmtModified,e.promotionCode,e.promotionFrequency,e.inventory)},[c("div",Vn,[c("img",{"lazy-load":!0,src:o.dataPic|t.urlFilter,mode:"",style:{width:"54px",height:"54px",margin:"0 3px"}},null,8,Wn)]),c("div",Hn,s(o.goodsName),1),c("div",qn,[c("div",Yn,[c("div",Qn," ¥"+s(o.pricesetNprice.toFixed(2)||0),1)])])],8,$n)))),128))])))),128))],4)],4))])},xn.__scopeId="data-v-748feb10";export{xn as ArsenalActivity,_r as ArsenalCarousel,Sr as ArsenalNavigation,xr as ArsenalPicture,di as ArsenalTop,Er as Collocation,Da as Cube,Ka as Goods,rr as GoodsOne,Oi as Live,fn as Notice,Ra as Search,Ja as Slider,Oa as Title};
|
package/package.json
CHANGED
|
@@ -9,30 +9,14 @@
|
|
|
9
9
|
borderRadius: `${props.cornerStyle}px`,
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
|
-
<div
|
|
13
|
-
class="top"
|
|
14
|
-
:class="{ left: props.arrange !== 4 }"
|
|
15
|
-
v-if="props.arrange !== 4"
|
|
16
|
-
>
|
|
12
|
+
<div class="top" :class="{ left: props.arrange !== 4 }" v-if="props.arrange !== 4">
|
|
17
13
|
<div class="title">
|
|
18
|
-
<span class="mainTitle" :class="mainTitleColor">{{
|
|
19
|
-
props.activityTitle
|
|
20
|
-
}}</span
|
|
14
|
+
<span class="mainTitle" :class="mainTitleColor">{{ props.activityTitle }}</span
|
|
21
15
|
><span class="subtitle">{{ props.activitySubtitle }}</span>
|
|
22
16
|
</div>
|
|
23
|
-
<div
|
|
24
|
-
class="more"
|
|
25
|
-
@click="goMoreGoods()"
|
|
26
|
-
v-if="props.more === 1 && [1, 2, 3].includes(props.arrange)"
|
|
27
|
-
>
|
|
28
|
-
更多<img src="../../static/arrow.png" />
|
|
29
|
-
</div>
|
|
17
|
+
<div class="more" @click="goMoreGoods()" v-if="props.more === 1 && [1, 2, 3].includes(props.arrange)">更多<img src="../../static/arrow.png" /></div>
|
|
30
18
|
</div>
|
|
31
|
-
<div
|
|
32
|
-
class="top"
|
|
33
|
-
:class="{ center: props.arrange === 4 }"
|
|
34
|
-
v-else-if="props.arrange === 4"
|
|
35
|
-
>
|
|
19
|
+
<div class="top" :class="{ center: props.arrange === 4 }" v-else-if="props.arrange === 4">
|
|
36
20
|
<div class="title">
|
|
37
21
|
<div class="line"></div>
|
|
38
22
|
<div class="mainTitle">{{ props.activityTitle }}</div>
|
|
@@ -60,27 +44,15 @@
|
|
|
60
44
|
:key="item.skuCode"
|
|
61
45
|
@click="goGoodsDetail(item)"
|
|
62
46
|
>
|
|
63
|
-
<div
|
|
64
|
-
style="position: relative"
|
|
65
|
-
:class="{ goodsImageWrapper: props.spacingStyle === 2 }"
|
|
66
|
-
>
|
|
47
|
+
<div style="position: relative" :class="{ goodsImageWrapper: props.spacingStyle === 2 }">
|
|
67
48
|
<img
|
|
68
49
|
class="goodsImage"
|
|
69
50
|
:style="{ borderRadius: `${props.cornerStyle}px` }"
|
|
70
|
-
:src="
|
|
71
|
-
item.dataPic
|
|
72
|
-
? item.dataPic.indexOf('http') === -1
|
|
73
|
-
? domainNameUrl + item.dataPic
|
|
74
|
-
: item.dataPic
|
|
75
|
-
: ''
|
|
76
|
-
"
|
|
51
|
+
:src="item.dataPic ? (item.dataPic.indexOf('http') === -1 ? domainNameUrl + item.dataPic : item.dataPic) : ''"
|
|
77
52
|
alt="商品图片"
|
|
78
53
|
/>
|
|
79
54
|
<div
|
|
80
|
-
v-if="
|
|
81
|
-
isLowCode === false &&
|
|
82
|
-
(item.goodsSupplynum <= 0 || item.goodsProperty5 === '1')
|
|
83
|
-
"
|
|
55
|
+
v-if="isLowCode === false && (item.goodsSupplynum <= 0 || item.goodsProperty5 === '1')"
|
|
84
56
|
class="imgMarked"
|
|
85
57
|
:style="{
|
|
86
58
|
borderRadius: props.borderRadius,
|
|
@@ -95,12 +67,7 @@
|
|
|
95
67
|
<div class="goodsDescription">
|
|
96
68
|
<div class="goodsName"><vopLabel />{{ item.goodsName }}</div>
|
|
97
69
|
<section class="footerContent">
|
|
98
|
-
<div
|
|
99
|
-
class="goodsTagList"
|
|
100
|
-
v-if="
|
|
101
|
-
props.goodsTag.length > 0 && [2, 4].includes(props.arrange)
|
|
102
|
-
"
|
|
103
|
-
>
|
|
70
|
+
<div class="goodsTagList" v-if="props.goodsTag.length > 0 && [2, 4].includes(props.arrange)">
|
|
104
71
|
<div v-for="tag in props.goodsTag" :key="tag.id">
|
|
105
72
|
<span class="tag">
|
|
106
73
|
{{ tag.value }}
|
|
@@ -109,17 +76,9 @@
|
|
|
109
76
|
</div>
|
|
110
77
|
<div class="goodsPrice">
|
|
111
78
|
<span class="priceUnit">¥</span>{{ item.pricesetNprice }}
|
|
112
|
-
<div class="scribing" v-if="props.markedPrice === 1">
|
|
113
|
-
¥{{ item.pricesetMakeprice }}
|
|
114
|
-
</div>
|
|
115
|
-
</div>
|
|
116
|
-
<div
|
|
117
|
-
class="goodsBuy"
|
|
118
|
-
@click="handleBuyGoods(item.skuNo)"
|
|
119
|
-
v-if="props.purchaseIcon === 1"
|
|
120
|
-
>
|
|
121
|
-
立即购买
|
|
79
|
+
<div class="scribing" v-if="props.markedPrice === 1">¥{{ item.pricesetMakeprice }}</div>
|
|
122
80
|
</div>
|
|
81
|
+
<div class="goodsBuy" @click="handleBuyGoods(item.skuNo)" v-if="props.purchaseIcon === 1">立即购买</div>
|
|
123
82
|
</section>
|
|
124
83
|
</div>
|
|
125
84
|
</div>
|
|
@@ -140,8 +99,7 @@ export default {
|
|
|
140
99
|
arrange: Number,
|
|
141
100
|
selectImg: {
|
|
142
101
|
type: String,
|
|
143
|
-
default:
|
|
144
|
-
"https://liftlearning.com/wp-content/uploads/2020/09/default-image.png",
|
|
102
|
+
default: "https://liftlearning.com/wp-content/uploads/2020/09/default-image.png",
|
|
145
103
|
},
|
|
146
104
|
selectGoods: Array,
|
|
147
105
|
markedPrice: Number,
|
|
@@ -224,7 +182,7 @@ export default {
|
|
|
224
182
|
return;
|
|
225
183
|
}
|
|
226
184
|
this.$storage.set("goodsList", this.completeGoodsList);
|
|
227
|
-
this.$routers.push("goodsList/main");
|
|
185
|
+
this.$routers.push("/pages/goodsList/main");
|
|
228
186
|
},
|
|
229
187
|
|
|
230
188
|
getMaskState(state) {
|