cyy-vue-material 7.0.13 → 7.0.14
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 i,createElementBlock as r,normalizeStyle as s,toDisplayString as d,Fragment as n,renderList as c,createElementVNode as l,createCommentVNode as p,normalizeClass as g,createTextVNode as v,pushScopeId as u,popScopeId as f,resolveComponent as m,createVNode as h,withCtx as b,createBlock as y,renderSlot as x,withModifiers as w,createStaticVNode as C}from"vue";const k="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,S=t=>{let e={};for(let a in t)e[a]=N(t[a]);return e},N=t=>k?t+"px":2*t+"rpx",A="web/rs/resourceGoods/queryResGoodsArFromPtFd.json?goodsDataState=2",I="/web/pm/promotionplat/queryPromotionPageForC.json",B="/web/es/searchengine/find.json",D="/web/inf/infuencer/queryInfuencerAndChild.json",_=t=>{const{mGoodsInfo:e}=P[t];return e},T=(t,e,a)=>{P[t]={mGoodsInfo:a,mGoods:e}},j=t=>{const{goods:a,id:o}=t.props,{mGoods:i}=P[o]||{};return e(a,i)},z=t=>k?process.env.REACT_APP_BASE_URL:t.$imgDomain;const L=function(){const e=async(e,a)=>{const{id:o,goods:i}=e.props;if(t(i))return Promise.resolve({list:[]});if(j(e))return Promise.resolve(_(o));const r=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",s=localStorage.getItem("saas-token");return await fetch(z()+A+"?rows=200&page=1&goodsCode="+a.goodsCode+"&channelCode="+r,{method:"GET",headers:{"saas-token":s,"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(o,i,t),t)))};return k?e:async(t,e)=>{const{list:a}=await t.http.get("web/es/searchengine/find.json?rows=200&page=1",e),o=e.goodsCode.split(",");let i=[];return o.forEach((t=>{a.forEach((e=>{e.goodsCode===t&&i.push(e)}))})),console.log("findList",i),{list:i}}}(),P={};var O=Array.isArray,F="object"==typeof global&&global&&global.Object===Object&&global,R="object"==typeof self&&self&&self.Object===Object&&self,$=F||R||Function("return this")(),G=$.Symbol,M=Object.prototype,U=M.hasOwnProperty,K=M.toString,E=G?G.toStringTag:void 0;var W=Object.prototype.toString;var H="[object Null]",V="[object Undefined]",q=G?G.toStringTag:void 0;function Y(t){return null==t?void 0===t?V:H:q&&q in Object(t)?function(t){var e=U.call(t,E),a=t[E];try{t[E]=void 0;var o=!0}catch(t){}var i=K.call(t);return o&&(e?t[E]=a:delete t[E]),i}(t):function(t){return W.call(t)}(t)}function Q(t){return null!=t&&"object"==typeof t}var X="[object Symbol]";function J(t){return"symbol"==typeof t||Q(t)&&Y(t)==X}var Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tt=/^\w*$/;function et(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var at="[object AsyncFunction]",ot="[object Function]",it="[object GeneratorFunction]",rt="[object Proxy]";function st(t){if(!et(t))return!1;var e=Y(t);return e==ot||e==it||e==at||e==rt}var dt,nt=$["__core-js_shared__"],ct=(dt=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||""))?"Symbol(src)_1."+dt:"";var lt=Function.prototype.toString;function pt(t){if(null!=t){try{return lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var gt=/^\[object .+?Constructor\]$/,vt=Function.prototype,ut=Object.prototype,ft=vt.toString,mt=ut.hasOwnProperty,ht=RegExp("^"+ft.call(mt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bt(t){return!(!et(t)||(e=t,ct&&ct in e))&&(st(t)?ht:gt).test(pt(t));var e}function yt(t,e){var a=function(t,e){return null==t?void 0:t[e]}(t,e);return bt(a)?a:void 0}var xt=yt(Object,"create");var wt="__lodash_hash_undefined__",Ct=Object.prototype.hasOwnProperty;var kt=Object.prototype.hasOwnProperty;var St="__lodash_hash_undefined__";function Nt(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 At(t,e){return t===e||t!=t&&e!=e}function It(t,e){for(var a=t.length;a--;)if(At(t[a][0],e))return a;return-1}Nt.prototype.clear=function(){this.__data__=xt?xt(null):{},this.size=0},Nt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Nt.prototype.get=function(t){var e=this.__data__;if(xt){var a=e[t];return a===wt?void 0:a}return Ct.call(e,t)?e[t]:void 0},Nt.prototype.has=function(t){var e=this.__data__;return xt?void 0!==e[t]:kt.call(e,t)},Nt.prototype.set=function(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=xt&&void 0===e?St:e,this};var Bt=Array.prototype.splice;function Dt(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])}}Dt.prototype.clear=function(){this.__data__=[],this.size=0},Dt.prototype.delete=function(t){var e=this.__data__,a=It(e,t);return!(a<0)&&(a==e.length-1?e.pop():Bt.call(e,a,1),--this.size,!0)},Dt.prototype.get=function(t){var e=this.__data__,a=It(e,t);return a<0?void 0:e[a][1]},Dt.prototype.has=function(t){return It(this.__data__,t)>-1},Dt.prototype.set=function(t,e){var a=this.__data__,o=It(a,t);return o<0?(++this.size,a.push([t,e])):a[o][1]=e,this};var _t=yt($,"Map");function Tt(t,e){var a,o,i=t.__data__;return("string"==(o=typeof(a=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==a:null===a)?i["string"==typeof e?"string":"hash"]:i.map}function jt(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}jt.prototype.clear=function(){this.size=0,this.__data__={hash:new Nt,map:new(_t||Dt),string:new Nt}},jt.prototype.delete=function(t){var e=Tt(this,t).delete(t);return this.size-=e?1:0,e},jt.prototype.get=function(t){return Tt(this,t).get(t)},jt.prototype.has=function(t){return Tt(this,t).has(t)},jt.prototype.set=function(t,e){var a=Tt(this,t),o=a.size;return a.set(t,e),this.size+=a.size==o?0:1,this};var zt="Expected a function";function Lt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(zt);var a=function(){var o=arguments,i=e?e.apply(this,o):o[0],r=a.cache;if(r.has(i))return r.get(i);var s=t.apply(this,o);return a.cache=r.set(i,s)||r,s};return a.cache=new(Lt.Cache||jt),a}Lt.Cache=jt;var Pt=500;var Ot,Ft,Rt,$t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/\\(\\)?/g,Mt=(Ot=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace($t,(function(t,a,o,i){e.push(o?i.replace(Gt,"$1"):a||t)})),e},Ft=Lt(Ot,(function(t){return Rt.size===Pt&&Rt.clear(),t})),Rt=Ft.cache,Ft),Ut=Mt;function Kt(t,e){for(var a=-1,o=null==t?0:t.length,i=Array(o);++a<o;)i[a]=e(t[a],a,t);return i}var Et=1/0,Wt=G?G.prototype:void 0,Ht=Wt?Wt.toString:void 0;function Vt(t){if("string"==typeof t)return t;if(O(t))return Kt(t,Vt)+"";if(J(t))return Ht?Ht.call(t):"";var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function qt(t,e){return O(t)?t:function(t,e){if(O(t))return!1;var a=typeof t;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=t&&!J(t))||tt.test(t)||!Z.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Ut(function(t){return null==t?"":Vt(t)}(t))}var Yt=1/0;function Qt(t){if("string"==typeof t||J(t))return t;var e=t+"";return"0"==e&&1/t==-Yt?"-0":e}function Xt(t,e){for(var a=0,o=(e=qt(e,t)).length;null!=t&&a<o;)t=t[Qt(e[a++])];return a&&a==o?t:void 0}var Jt=function(){try{var t=yt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Zt=Jt;function te(t,e,a){"__proto__"==e&&Zt?Zt(t,e,{configurable:!0,enumerable:!0,value:a,writable:!0}):t[e]=a}var ee=Object.prototype.hasOwnProperty;function ae(t,e,a){var o=t[e];ee.call(t,e)&&At(o,a)&&(void 0!==a||e in t)||te(t,e,a)}var oe=9007199254740991,ie=/^(?:0|[1-9]\d*)$/;function re(t,e){var a=typeof t;return!!(e=null==e?oe:e)&&("number"==a||"symbol"!=a&&ie.test(t))&&t>-1&&t%1==0&&t<e}function se(t,e,a,o){if(!et(t))return t;for(var i=-1,r=(e=qt(e,t)).length,s=r-1,d=t;null!=d&&++i<r;){var n=Qt(e[i]),c=a;if("__proto__"===n||"constructor"===n||"prototype"===n)return t;if(i!=s){var l=d[n];void 0===(c=o?o(l,n,d):void 0)&&(c=et(l)?l:re(e[i+1])?[]:{})}ae(d,n,c),d=d[n]}return t}function de(t,e){return null!=t&&e in Object(t)}var ne="[object Arguments]";function ce(t){return Q(t)&&Y(t)==ne}var le=Object.prototype,pe=le.hasOwnProperty,ge=le.propertyIsEnumerable,ve=ce(function(){return arguments}())?ce:function(t){return Q(t)&&pe.call(t,"callee")&&!ge.call(t,"callee")},ue=9007199254740991;function fe(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ue}function me(t,e){return null!=t&&function(t,e,a){for(var o=-1,i=(e=qt(e,t)).length,r=!1;++o<i;){var s=Qt(e[o]);if(!(r=null!=t&&a(t,s)))break;t=t[s]}return r||++o!=i?r:!!(i=null==t?0:t.length)&&fe(i)&&re(s,i)&&(O(t)||ve(t))}(t,e,de)}function he(t,e){return function(t,e,a){for(var o=-1,i=e.length,r={};++o<i;){var s=e[o],d=Xt(t,s);a(d,s)&&se(r,qt(s,t),d)}return r}(t,e,(function(e,a){return me(t,a)}))}function be(t,e){for(var a=-1,o=e.length,i=t.length;++a<o;)t[i+a]=e[a];return t}var ye=G?G.isConcatSpreadable:void 0;function xe(t){return O(t)||ve(t)||!!(ye&&t&&t[ye])}function we(t,e,a,o,i){var r=-1,s=t.length;for(a||(a=xe),i||(i=[]);++r<s;){var d=t[r];e>0&&a(d)?e>1?we(d,e-1,a,o,i):be(i,d):o||(i[i.length]=d)}return i}function Ce(t){return(null==t?0:t.length)?we(t,1):[]}var ke=Math.max;var Se=Zt?function(t,e){return Zt(t,"toString",{configurable:!0,enumerable:!1,value:(a=e,function(){return a}),writable:!0});var a}:function(t){return t},Ne=Se,Ae=800,Ie=16,Be=Date.now;var De=function(t){var e=0,a=0;return function(){var o=Be(),i=Ie-(o-a);if(a=o,i>0){if(++e>=Ae)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Ne),_e=De;function Te(t){return _e(function(t,e,a){return e=ke(void 0===e?t.length-1:e,0),function(){for(var o=arguments,i=-1,r=ke(o.length-e,0),s=Array(r);++i<r;)s[i]=o[e+i];i=-1;for(var d=Array(e+1);++i<e;)d[i]=o[i];return d[e]=a(s),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,d)}}(t,void 0,Ce),t+"")}var je=Te((function(t,e){return null==t?{}:he(t,e)}));var ze=200;function Le(t){var e=this.__data__=new Dt(t);this.size=e.size}function Pe(t,e,a,o){var i=!a;a||(a={});for(var r=-1,s=e.length;++r<s;){var d=e[r],n=o?o(a[d],t[d],d,a,t):void 0;void 0===n&&(n=t[d]),i?te(a,d,n):ae(a,d,n)}return a}Le.prototype.clear=function(){this.__data__=new Dt,this.size=0},Le.prototype.delete=function(t){var e=this.__data__,a=e.delete(t);return this.size=e.size,a},Le.prototype.get=function(t){return this.__data__.get(t)},Le.prototype.has=function(t){return this.__data__.has(t)},Le.prototype.set=function(t,e){var a=this.__data__;if(a instanceof Dt){var o=a.__data__;if(!_t||o.length<ze-1)return o.push([t,e]),this.size=++a.size,this;a=this.__data__=new jt(o)}return a.set(t,e),this.size=a.size,this};var Oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Fe=Oe&&"object"==typeof module&&module&&!module.nodeType&&module,Re=Fe&&Fe.exports===Oe?$.Buffer:void 0,$e=(Re?Re.isBuffer:void 0)||function(){return!1},Ge={};function Me(t){return function(e){return t(e)}}Ge["[object Float32Array]"]=Ge["[object Float64Array]"]=Ge["[object Int8Array]"]=Ge["[object Int16Array]"]=Ge["[object Int32Array]"]=Ge["[object Uint8Array]"]=Ge["[object Uint8ClampedArray]"]=Ge["[object Uint16Array]"]=Ge["[object Uint32Array]"]=!0,Ge["[object Arguments]"]=Ge["[object Array]"]=Ge["[object ArrayBuffer]"]=Ge["[object Boolean]"]=Ge["[object DataView]"]=Ge["[object Date]"]=Ge["[object Error]"]=Ge["[object Function]"]=Ge["[object Map]"]=Ge["[object Number]"]=Ge["[object Object]"]=Ge["[object RegExp]"]=Ge["[object Set]"]=Ge["[object String]"]=Ge["[object WeakMap]"]=!1;var Ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ke=Ue&&"object"==typeof module&&module&&!module.nodeType&&module,Ee=Ke&&Ke.exports===Ue&&F.process,We=function(){try{var t=Ke&&Ke.require&&Ke.require("util").types;return t||Ee&&Ee.binding&&Ee.binding("util")}catch(t){}}(),He=We&&We.isTypedArray,Ve=He?Me(He):function(t){return Q(t)&&fe(t.length)&&!!Ge[Y(t)]},qe=Object.prototype.hasOwnProperty;function Ye(t,e){var a=O(t),o=!a&&ve(t),i=!a&&!o&&$e(t),r=!a&&!o&&!i&&Ve(t),s=a||o||i||r,d=s?function(t,e){for(var a=-1,o=Array(t);++a<t;)o[a]=e(a);return o}(t.length,String):[],n=d.length;for(var c in t)!e&&!qe.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||re(c,n))||d.push(c);return d}var Qe=Object.prototype;function Xe(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Qe)}function Je(t,e){return function(a){return t(e(a))}}var Ze=Je(Object.keys,Object),ta=Object.prototype.hasOwnProperty;function ea(t){return null!=t&&fe(t.length)&&!st(t)}function aa(t){return ea(t)?Ye(t):function(t){if(!Xe(t))return Ze(t);var e=[];for(var a in Object(t))ta.call(t,a)&&"constructor"!=a&&e.push(a);return e}(t)}var oa=Object.prototype.hasOwnProperty;function ia(t){if(!et(t))return function(t){var e=[];if(null!=t)for(var a in Object(t))e.push(a);return e}(t);var e=Xe(t),a=[];for(var o in t)("constructor"!=o||!e&&oa.call(t,o))&&a.push(o);return a}function ra(t){return ea(t)?Ye(t,!0):ia(t)}var sa="object"==typeof exports&&exports&&!exports.nodeType&&exports,da=sa&&"object"==typeof module&&module&&!module.nodeType&&module,na=da&&da.exports===sa?$.Buffer:void 0,ca=na?na.allocUnsafe:void 0;function la(){return[]}var pa=Object.prototype.propertyIsEnumerable,ga=Object.getOwnPropertySymbols,va=ga?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var a=-1,o=null==t?0:t.length,i=0,r=[];++a<o;){var s=t[a];e(s,a,t)&&(r[i++]=s)}return r}(ga(t),(function(e){return pa.call(t,e)})))}:la,ua=va;var fa=Je(Object.getPrototypeOf,Object),ma=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)be(e,ua(t)),t=fa(t);return e}:la,ha=ma;function ba(t,e,a){var o=e(t);return O(t)?o:be(o,a(t))}function ya(t){return ba(t,aa,ua)}function xa(t){return ba(t,ra,ha)}var wa=yt($,"DataView"),Ca=yt($,"Promise"),ka=yt($,"Set"),Sa=yt($,"WeakMap"),Na="[object Map]",Aa="[object Promise]",Ia="[object Set]",Ba="[object WeakMap]",Da="[object DataView]",_a=pt(wa),Ta=pt(_t),ja=pt(Ca),za=pt(ka),La=pt(Sa),Pa=Y;(wa&&Pa(new wa(new ArrayBuffer(1)))!=Da||_t&&Pa(new _t)!=Na||Ca&&Pa(Ca.resolve())!=Aa||ka&&Pa(new ka)!=Ia||Sa&&Pa(new Sa)!=Ba)&&(Pa=function(t){var e=Y(t),a="[object Object]"==e?t.constructor:void 0,o=a?pt(a):"";if(o)switch(o){case _a:return Da;case Ta:return Na;case ja:return Aa;case za:return Ia;case La:return Ba}return e});var Oa=Pa,Fa=Object.prototype.hasOwnProperty;var Ra=$.Uint8Array;function $a(t){var e=new t.constructor(t.byteLength);return new Ra(e).set(new Ra(t)),e}var Ga=/\w*$/;var Ma=G?G.prototype:void 0,Ua=Ma?Ma.valueOf:void 0;var Ka="[object Boolean]",Ea="[object Date]",Wa="[object Map]",Ha="[object Number]",Va="[object RegExp]",qa="[object Set]",Ya="[object String]",Qa="[object Symbol]",Xa="[object ArrayBuffer]",Ja="[object DataView]",Za="[object Float32Array]",to="[object Float64Array]",eo="[object Int8Array]",ao="[object Int16Array]",oo="[object Int32Array]",io="[object Uint8Array]",ro="[object Uint8ClampedArray]",so="[object Uint16Array]",no="[object Uint32Array]";function co(t,e,a){var o,i=t.constructor;switch(e){case Xa:return $a(t);case Ka:case Ea:return new i(+t);case Ja:return function(t,e){var a=e?$a(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.byteLength)}(t,a);case Za:case to:case eo:case ao:case oo:case io:case ro:case so:case no:return function(t,e){var a=e?$a(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.length)}(t,a);case Wa:return new i;case Ha:case Ya:return new i(t);case Va:return function(t){var e=new t.constructor(t.source,Ga.exec(t));return e.lastIndex=t.lastIndex,e}(t);case qa:return new i;case Qa:return o=t,Ua?Object(Ua.call(o)):{}}}var lo=Object.create,po=function(){function t(){}return function(e){if(!et(e))return{};if(lo)return lo(e);t.prototype=e;var a=new t;return t.prototype=void 0,a}}(),go=po;var vo="[object Map]";var uo=We&&We.isMap,fo=uo?Me(uo):function(t){return Q(t)&&Oa(t)==vo},mo="[object Set]";var ho=We&&We.isSet,bo=ho?Me(ho):function(t){return Q(t)&&Oa(t)==mo},yo=1,xo=2,wo=4,Co="[object Arguments]",ko="[object Function]",So="[object GeneratorFunction]",No="[object Object]",Ao={};function Io(t,e,a,o,i,r){var s,d=e&yo,n=e&xo,c=e&wo;if(a&&(s=i?a(t,o,i,r):a(t)),void 0!==s)return s;if(!et(t))return t;var l=O(t);if(l){if(s=function(t){var e=t.length,a=new t.constructor(e);return e&&"string"==typeof t[0]&&Fa.call(t,"index")&&(a.index=t.index,a.input=t.input),a}(t),!d)return function(t,e){var a=-1,o=t.length;for(e||(e=Array(o));++a<o;)e[a]=t[a];return e}(t,s)}else{var p=Oa(t),g=p==ko||p==So;if($e(t))return function(t,e){if(e)return t.slice();var a=t.length,o=ca?ca(a):new t.constructor(a);return t.copy(o),o}(t,d);if(p==No||p==Co||g&&!i){if(s=n||g?{}:function(t){return"function"!=typeof t.constructor||Xe(t)?{}:go(fa(t))}(t),!d)return n?function(t,e){return Pe(t,ha(t),e)}(t,function(t,e){return t&&Pe(e,ra(e),t)}(s,t)):function(t,e){return Pe(t,ua(t),e)}(t,function(t,e){return t&&Pe(e,aa(e),t)}(s,t))}else{if(!Ao[p])return i?t:{};s=co(t,p,d)}}r||(r=new Le);var v=r.get(t);if(v)return v;r.set(t,s),bo(t)?t.forEach((function(o){s.add(Io(o,e,a,o,t,r))})):fo(t)&&t.forEach((function(o,i){s.set(i,Io(o,e,a,i,t,r))}));var u=l?void 0:(c?n?xa:ya:n?ra:aa)(t);return function(t,e){for(var a=-1,o=null==t?0:t.length;++a<o&&!1!==e(t[a],a,t););}(u||t,(function(o,i){u&&(o=t[i=o]),ae(s,i,Io(o,e,a,i,t,r))})),s}function Bo(t,e){return e.length<2?t:Xt(t,function(t,e,a){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(a=a>i?i:a)<0&&(a+=i),i=e>a?0:a-e>>>0,e>>>=0;for(var r=Array(i);++o<i;)r[o]=t[o+e];return r}(e,0,-1))}function Do(t,e){return null==(t=Bo(t,e=qt(e,t)))||delete t[Qt((a=e,o=null==a?0:a.length,o?a[o-1]:void 0))];var a,o}Ao[Co]=Ao["[object Array]"]=Ao["[object ArrayBuffer]"]=Ao["[object DataView]"]=Ao["[object Boolean]"]=Ao["[object Date]"]=Ao["[object Float32Array]"]=Ao["[object Float64Array]"]=Ao["[object Int8Array]"]=Ao["[object Int16Array]"]=Ao["[object Int32Array]"]=Ao["[object Map]"]=Ao["[object Number]"]=Ao[No]=Ao["[object RegExp]"]=Ao["[object Set]"]=Ao["[object String]"]=Ao["[object Symbol]"]=Ao["[object Uint8Array]"]=Ao["[object Uint8ClampedArray]"]=Ao["[object Uint16Array]"]=Ao["[object Uint32Array]"]=!0,Ao["[object Error]"]=Ao[ko]=Ao["[object WeakMap]"]=!1;var _o="[object Object]",To=Function.prototype,jo=Object.prototype,zo=To.toString,Lo=jo.hasOwnProperty,Po=zo.call(Object);function Oo(t){return function(t){if(!Q(t)||Y(t)!=_o)return!1;var e=fa(t);if(null===e)return!0;var a=Lo.call(e,"constructor")&&e.constructor;return"function"==typeof a&&a instanceof a&&zo.call(a)==Po}(t)?void 0:t}var Fo=Te((function(t,e){var a={};if(null==t)return a;var o=!1;e=Kt(e,(function(e){return e=qt(e,t),o||(o=e.length>1),e})),Pe(t,xa(t),a),o&&(a=Io(a,7,Oo));for(var i=e.length;i--;)Do(a,e[i]);return a})),Ro=Fo,$o={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const t=["fontSize","marginTop","marginBottom"],e=je(this.props||{},t),a=Ro(this.props||{},t);return{...S(e),...a}}}};$o.render=function(t,e,a,o,n,c){return i(),r("div",{style:s([c.computedStyle])},d(a.props.value),5)};var Go={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,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=je(this.props,t),a=Ro(this.props,t);return{...S(e),...a}}}};const Mo=["src"];function Uo(t,e){void 0===e&&(e={});var a=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===a&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}Uo(".lc-img-item[data-v-37ef13ec]{box-sizing:border-box;width:100%}"),Go.render=function(t,e,a,o,d,p){return i(),r("div",null,[(i(!0),r(n,null,c(p.resultArr,((e,a)=>(i(),r("div",{key:t.cyy},[l("img",{mode:"widthFix",style:s([p.computedStyle,d.imgStyle]),src:e.imgUrl,alt:""},null,12,Mo)])))),128))])},Go.__scopeId="data-v-37ef13ec";var Ko={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const t=["marginTop","marginBottom"],e=je(this.props,t),a=Ro(this.props,t);return{...S(e),...a,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){k||this.$emit("ToSearch")}}};const Eo={style:{overflow:"hidden"}},Wo=["src"];Ko.render=function(t,e,a,o,n,c){return i(),r("div",Eo,[l("div",{style:s([c.computedStyle]),onClick:e[0]||(e[0]=(...t)=>c.goSearch&&c.goSearch(...t))},[a.props.iconShow?(i(),r("img",{key:0,src:a.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Wo)):p("",!0),l("div",{style:s([{flex:"1"},{color:a.props.fontColor}])},d(a.props.value),5)],4)])};var Ho={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:k}),mounted(){this.init()},methods:{async init(){this.domainNameUrl=z(this);const{goods:t=[]}=this.props,e={goodsCode:t.toString()},a=await L(this,e);this.listArr=o(a,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},getMaskState:t=>"1"===t?"预售中":"补货中"}};const Vo={key:1},qo=["onClick"],Yo={class:"imgWrapper"},Qo={class:"maskState"},Xo=["src"],Jo={class:"goodsDescription"},Zo={key:0,class:"specialGoodsName"},ti={key:1,class:"goodsName"},ei={class:"footerContent"},ai={class:"goodsPrice"},oi={key:0,class:"scribing"},ii=(t=>(u("data-v-0c10f761"),t=t(),f(),t))((()=>l("div",{class:"goodsBuy"},"立即购买",-1)));Uo(".cube-container[data-v-0c10f761]{display:grid}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:20px}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:18px}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:14px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761]{margin:0 5px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761]{position:relative}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .specialGoodsName[data-v-0c10f761]{font-size:12px;height:42px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:14px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:12px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761]{display:flex;overflow-x:scroll}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:18px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:14px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:20px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761]:not(:last-child){margin-right:10px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .imgWrapper[data-v-0c10f761] .goodsImg[data-v-0c10f761]{height:100px;width:100px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:16px;height:auto}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:16px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:12px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsBuyWrapper[data-v-0c10f761]{position:relative}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsBuyWrapper[data-v-0c10f761] .goodsBuy[data-v-0c10f761]{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-0c10f761] .cube-item[data-v-0c10f761] .imgWrapper[data-v-0c10f761]{position:relative;text-align:center}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .imgMarked[data-v-0c10f761]{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-0c10f761] .cube-item[data-v-0c10f761] .imgMarked[data-v-0c10f761] .maskState[data-v-0c10f761]{color:#fff;font-size:23px}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{color:#f53a50;font-weight:600}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsBuy[data-v-0c10f761]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Ho.render=function(t,e,a,o,u,f){return i(),r("div",null,[u.listArr.length?(i(),r("div",Vo,[l("div",{class:g(["cube-container",`arrange-${a.props.arrange}`,{isLc:u.isLc}]),style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,gap:`${a.props.margin}px`})},[(i(!0),r(n,null,c(u.listArr,((t,e)=>(i(),r("div",{class:"cube-item",key:t.skuCode,onClick:e=>f.goGoodsDetail(t)},[l("div",Yo,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${a.props.borderRadius}px`})},[l("div",Qo,d(f.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:s({borderRadius:`${a.props.borderRadius}px`})},null,12,Xo)]),l("div",Jo,[!0===u.isLc&&2===a.props.arrange?(i(),r("div",Zo,d(t.goodsName),1)):(i(),r("div",ti,d(t.goodsName),1)),l("section",ei,[l("div",ai,[v(" ¥"+d(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",oi,"¥"+d(t.pricesetMakeprice),1)):p("",!0)]),ii])])],8,qo)))),128))],6)])):(i(),r("div",{key:0,style:s(u.noDataStyle)},"请选择商品",4))])},Ho.__scopeId="data-v-0c10f761";var ri={name:"cyy-slider",data:()=>({lowCode:k}),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,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),r},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=je(this.props,["marginTop","marginBottom"]);return{...S(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const si={key:0},di=["src"],ni={key:1},ci=["src"];Uo(".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}"),ri.render=function(t,e,a,o,d,p){const g=m("swiper-item"),v=m("swiper");return i(),r("div",null,[d.lowCode?(i(),r("div",si,[l("div",{class:"lowCode-warp",style:s([p.sliderStyle])},[l("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,di),l("ul",null,[(i(!0),r(n,null,c(p.resultArr,((e,a)=>(i(),r("li",{key:t.cyy})))),128))])],4)])):(i(),r("div",ni,[h(v,{"indicator-dots":!0,autoplay:a.props.autoplay,interval:a.props.autoplayInterval,vertical:p.reDirection,circular:a.props.loop,style:s({height:p.imgH+"rpx"})},{default:b((()=>[(i(!0),r(n,null,c(p.resultArr,((e,a)=>(i(),y(g,{key:t.cyy,style:s([p.sliderStyle,{boxSizing:"border-box"}])},{default:b((()=>[l("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,ci)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var li={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 i=await L(this,a);this.listArr=o(i,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:e,skuNo:a}=t;let o={skuCode:e,skuNo:a};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"补货中"};const pi=t=>(u("data-v-326730f6"),t=t(),f(),t),gi={key:1},vi={class:"three-layout"},ui={key:0,class:"top-left"},fi={key:1,class:"top-right"},mi=[pi((()=>l("div",null,"更多",-1))),pi((()=>l("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],hi={class:"three-layout-content"},bi={class:"three-layout-bigImg"},yi=["src"],xi={class:"three-layout-goods"},wi=["src"],Ci={key:0,class:"mask-three-more"},ki={class:"price-box"},Si={class:"now-price"},Ni={key:0,class:"origin-price"};Uo(".three-layout[data-v-326730f6]{border-radius:7px}.three-layout[data-v-326730f6] .mask-three-more[data-v-326730f6]{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-326730f6] .three-layout-title[data-v-326730f6]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-left[data-v-326730f6]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-right[data-v-326730f6]{align-items:center;display:flex}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-right[data-v-326730f6] div[data-v-326730f6]{color:#595959;font-size:12px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-right[data-v-326730f6] image[data-v-326730f6]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6] .three-layout-bigImg[data-v-326730f6] image[data-v-326730f6]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6] .three-layout-goods[data-v-326730f6]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6] .three-layout-goods[data-v-326730f6] .goods-items[data-v-326730f6]{width:106px}.scroll-list[data-v-326730f6]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-326730f6] .scroll-item[data-v-326730f6]{display:inline-block;margin-right:10px}.scroll-list[data-v-326730f6] .scroll-item[data-v-326730f6] image[data-v-326730f6]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-326730f6] .scroll-item[data-v-326730f6] p[data-v-326730f6]{-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-326730f6]{margin-top:10px}"),li.render=function(t,e,a,o,g,u){const f=m("vop-label"),y=m("scroll-view");return i(),r("div",null,[a.props.goods?(i(),r("div",gi,[l("div",vi,[l("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>u.jumpToSearch())},[a.props.title.isShow?p("",!0):(i(),r("div",ui,d(a.props.title.title||""),1)),1===a.props.more?(i(),r("div",fi,mi)):p("",!0)]),l("div",hi,[l("div",bi,[l("image",{"lazy-load":!0,src:a.props.bill?a.props.bill:"",mode:"aspectFill"},null,8,yi)]),l("div",xi,[h(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:b((()=>[(i(!0),r(n,null,c(g.listArr,((a,o)=>(i(),r("div",{class:"scroll-item",key:o,onClick:e[1]||(e[1]=e=>t.toDetail())},[l("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+a.dataPic,mode:"aspectFill"},null,8,wi),a.goodsSupplynum<=0||"1"===a.goodsProperty5?(i(),r("div",Ci,d(t.maskTitle(a.goodsProperty5)),1)):p("",!0),l("p",null,[h(f,{goodsType:a.contlistPrice1},null,8,["goodsType"]),v(d(a.goodsName),1)]),l("div",ki,[l("div",Si,"¥"+d(a.pricesetMakeprice||0),1),1==a.contlistConNow?(i(),r("div",Ni,"¥"+d(a.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(i(),r("div",{key:0,style:s(g.noDataStyle)},"请选择商品样式一",4))])},li.__scopeId="data-v-326730f6";var Ai={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,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},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 Ii={key:0,class:"holder"},Bi=["src","onClick"],Di=["src","onClick"];Uo(".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%}"),Ai.render=function(t,e,a,o,d,l){return i(),r("div",null,[a.props.selectImg.length?(i(),r("div",{key:1,class:g([1===a.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(i(!0),r(n,null,c(l.resultArr,((t,e)=>(i(),r("div",{key:e,class:g({"classA-show":d.classOptions.showA,"classB-show":d.classOptions.showB,"classC-show":d.classOptions.showC,"classD-show":d.classOptions.showD,"classE-show":d.classOptions.showE,"classF-show":d.classOptions.showF,"classG-show":d.classOptions.showG,"classH-show":d.classOptions.showH,"classI-show":d.classOptions.showI,"classJ-show":d.classOptions.showJ})},[d.classOptions.showJ||d.classOptions.showI?(i(),r("img",{key:0,class:"ArsenalImg-classIJ",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:a.props.cornerStyle+"px"}),onClick:e=>l.linkClick(t)},null,12,Bi)):(i(),r("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:a.props.cornerStyle+"px"}),onClick:e=>l.linkClick(t)},null,12,Di))],2)))),128))],6)):(i(),r("div",Ii,"请选择添加图片"))])},Ai.__scopeId="data-v-38f6475c";var _i={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,navigationNum:Number}},mounted(){5===this.props.navigationNum&&(this.skeleton=["导航1","导航2","导航3","导航4","导航5"])},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>null!==t)).filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?8:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const Ti={key:0,class:"holder"},ji=(t=>(u("data-v-27ca3374"),t=t(),f(),t))((()=>l("div",null,null,-1))),zi=["onClick"],Li=["src"],Pi={key:1},Oi=["onClick"],Fi=["src"];Uo(".holder[data-v-27ca3374]{height:75px;padding:10px 0;width:100%}.holder[data-v-27ca3374] ul[data-v-27ca3374]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder[data-v-27ca3374] ul[data-v-27ca3374] li[data-v-27ca3374]{list-style:none}.holder[data-v-27ca3374] ul[data-v-27ca3374] li[data-v-27ca3374] div[data-v-27ca3374]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder[data-v-27ca3374] ul[data-v-27ca3374] li[data-v-27ca3374] div[data-v-27ca3374] span[data-v-27ca3374]{display:flex;font-size:12px;justify-content:center}.golds[data-v-27ca3374]{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-27ca3374] .golds-item[data-v-27ca3374]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0}.golds[data-v-27ca3374] .golds-item[data-v-27ca3374] div[data-v-27ca3374]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center}.golds[data-v-27ca3374] .navigationNum4[data-v-27ca3374]{width:25%}.golds[data-v-27ca3374] .navigationNum5[data-v-27ca3374]{width:20%}.photoSizeBig[data-v-27ca3374]{height:58px;width:58px}.photoSizeSmall[data-v-27ca3374]{height:48px;width:48px}.classify-list[data-v-27ca3374]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374]{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-27ca3374] .classify-item[data-v-27ca3374] div[data-v-27ca3374]{font-weight:700}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374] img[data-v-27ca3374]{margin:7.5px 0}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374]:first-child,.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-27ca3374]{width:48%}.classifyItemSmall[data-v-27ca3374]{width:46%}.classifyImgBig[data-v-27ca3374]{height:90px;width:100%}.classifyImgSmall[data-v-27ca3374]{height:87.75px;width:100%}.classifyFontBig[data-v-27ca3374]{font-size:12px;height:12px}.classifyFontSmall[data-v-27ca3374]{font-size:11px;height:12px}"),_i.render=function(t,e,a,o,v,u){return i(),r("div",null,[u.resultArr.length?(i(),r(n,{key:1},[0===a.props.showStyle?(i(),r("div",{key:0,class:"golds",style:s({backgroundColor:a.props.backgroundColor,marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(i(!0),r(n,null,c(u.resultArr,((t,e)=>(i(),r("div",{class:g(["golds-item",[5===a.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:e,onClick:e=>u.linkClick(t)},[l("img",{class:g([1===a.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:s({borderRadius:a.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,Li),l("div",{style:s({color:a.props.fontColor})},d(t.name),5)],10,zi)))),128))],4)):p("",!0),1===a.props.showStyle?(i(),r("div",Pi,[l("div",{class:"classify-list",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(i(!0),r(n,null,c(u.resultArr,((t,e)=>(i(),r("div",{class:g(["classify-item",[1===a.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:s({backgroundColor:a.props.backgroundColor}),key:e,onClick:e=>u.linkClick(t)},[l("div",{class:g([1===a.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:s({color:a.props.fontColor})},d(t.name),7),l("img",{class:g([1===a.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:s({borderRadius:u.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,Fi)],14,Oi)))),128))],4)])):p("",!0)],64)):(i(),r("div",Ti,[l("ul",null,[(i(!0),r(n,null,c(v.skeleton,((t,e)=>(i(),r("li",{key:e},[ji,l("span",null,d(t),1)])))),128))])]))])},_i.__scopeId="data-v-27ca3374";var Ri={name:"cyy-ArsenalCarousel",data:()=>({lowCode:k}),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,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?10:50===t?20:t,linkClick(t){this.$emit("linkClick",t)}}};const $i={key:0},Gi=["src"],Mi={class:"swiper"},Ui=["src","onClick"];Uo(".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%}"),Ri.render=function(t,e,a,o,d,p){const g=m("swiper-item"),v=m("block"),u=m("swiper");return i(),r("div",null,[d.lowCode?(i(),r("div",$i,[l("div",{class:"lowCode-warp",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("img",{src:p.resultArr[0].imgUrl,alt:"",style:s({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px",width:"100%"})},null,12,Gi),l("ul",null,[(i(!0),r(n,null,c(p.resultArr,((t,e)=>(i(),r("li",{key:e})))),128))])],4)])):(i(),r("div",{key:1,class:"swiperBox",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("div",Mi,[h(u,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:a.props.autoplayInterval},{default:b((()=>[(i(!0),r(n,null,c(p.resultArr,((t,e)=>(i(),y(v,{key:e},{default:b((()=>[h(g,{class:"img-item"},{default:b((()=>[l("img",{style:s({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>p.linkClick(t)},null,12,Ui)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},Ri.__scopeId="data-v-7be72334";var Ki={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Ei={key:0,class:"label"};Uo(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Ki.render=function(t,e,a,o,s,d){return"40"===a.goodsType?(i(),r("text",Ei,"京东优选")):p("",!0)},Ki.__scopeId="data-v-3a887c2c";var Wi={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:String,selectImgs:Array,selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,activityTitleLable:Array,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:"",isLc:k}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},hasNewActivityTitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].title:this.props.activityTitle},hasNewActivitySubtitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].subTitle:this.props.activitySubtitle},ruleTitle(){return 1===this.props.arrange&&!!this.props.activityTitleLable?.length},ruleTitleImg(){return this.ruleTitle?`url(${this.props.activityTitleLable[0]?.imgUrl}) no-repeat`:""},selectImgRule(){return t=>"show"===t?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===t?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===t?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Ki},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=z(this);const{goods:t=[]}=this.props,e={goodsCode:t.toString()},a=await L(this,e);this.completeGoodsList=o(a,"list",[]),this.completeGoodsList.forEach((t=>{t.rsGoodsFileDomainList=[],t.rsSkuDomainList=[]})),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(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},goMoreGoods(){k||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"补货中",linkClick(t){this.$emit("linkClick",t)}}},Hi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Vi=t=>(u("data-v-5b0f81ce"),t=t(),f(),t),qi={key:0},Yi={key:1,class:"title"},Qi={class:"subtitle"},Xi=Vi((()=>l("img",{src:Hi},null,-1))),Ji={key:3,class:"more"},Zi={class:"title"},tr=Vi((()=>l("div",{class:"line"},null,-1))),er={class:"mainTitle"},ar=Vi((()=>l("div",{class:"line"},null,-1))),or={key:2,class:"mainImage"},ir=["src"],rr=["onClick"],sr=["src"],dr={class:"maskState"},nr={class:"goodsDescription"},cr={class:"goodsName"},lr={class:"footerContent"},pr={key:0,class:"goodsTagList"},gr={class:"tag"},vr={class:"goodsPrice"},ur=Vi((()=>l("span",{class:"priceUnit"},"¥",-1))),fr={key:0,class:"scribing"},mr=["onClick"];Uo("body{margin:0}");Uo('.mainTitleColor[data-v-5b0f81ce]{color:#f52b43}.top[data-v-5b0f81ce]{margin:0 10px;padding:12px 0}.top[data-v-5b0f81ce] .mainTitle[data-v-5b0f81ce]{font-size:16px;font-weight:600}.top[data-v-5b0f81ce].left[data-v-5b0f81ce]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-5b0f81ce].left[data-v-5b0f81ce] .title[data-v-5b0f81ce] .subtitle[data-v-5b0f81ce]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-5b0f81ce].left[data-v-5b0f81ce] .more[data-v-5b0f81ce]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-5b0f81ce].left[data-v-5b0f81ce] .more[data-v-5b0f81ce] img[data-v-5b0f81ce]{height:8px;width:6px}.top[data-v-5b0f81ce].center[data-v-5b0f81ce]{padding:18px 0}.top[data-v-5b0f81ce].center[data-v-5b0f81ce] .title[data-v-5b0f81ce]{align-items:center;display:flex;justify-content:center}.top[data-v-5b0f81ce].center[data-v-5b0f81ce] .title[data-v-5b0f81ce] .line[data-v-5b0f81ce]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-5b0f81ce].center[data-v-5b0f81ce] .title[data-v-5b0f81ce] .mainTitle[data-v-5b0f81ce]{text-align:center}.mainImage[data-v-5b0f81ce]{margin:0 10px;max-width:100%}.mainImage[data-v-5b0f81ce] img[data-v-5b0f81ce]{max-height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-5b0f81ce]{margin:8px 10px 0}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{background-color:#fff}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .imgMarked[data-v-5b0f81ce]{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-5b0f81ce] .goodsBox[data-v-5b0f81ce] .imgMarked[data-v-5b0f81ce] .maskState[data-v-5b0f81ce]{color:#fff;font-size:23px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;height:2em;line-height:1em;overflow:hidden;text-overflow:ellipsis}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{margin-bottom:10px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsTagList[data-v-5b0f81ce]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsTagList[data-v-5b0f81ce] .tag[data-v-5b0f81ce]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsTagList[data-v-5b0f81ce] .tag[data-v-5b0f81ce]:not(:last-child){margin-right:8px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce] .priceUnit[data-v-5b0f81ce]{font-size:10px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce] .scribing[data-v-5b0f81ce]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{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-5b0f81ce]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:120px}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{height:100px;width:100px}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:not(:last-child){padding-right:20px}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:not(:last-child) .spacingStyle[data-v-5b0f81ce]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{margin-top:10px}.arrange-1[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{margin-bottom:10px;text-align:center}.arrange-2[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce]{width:50%}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce]{margin-left:10px;position:relative;width:100%}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce]{font-size:14px;height:auto}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-5b0f81ce]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{background:#fff;margin-top:10px;width:48%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce]{height:2em;line-height:1em;margin-top:10px}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{margin:0}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:first-child{width:100%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:first-child .goodsImage[data-v-5b0f81ce]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:first-child .goodsName[data-v-5b0f81ce]{height:auto}.arrange-5[data-v-5b0f81ce]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{background:#fff}@media (max-width:320px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:100px}}@media (min-width:321px) and (max-width:375px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:110px}}@media (min-width:376px) and (max-width:390px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:110px}}@media (min-width:391px) and (max-width:430px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:120px}}@media (min-width:431px) and (max-width:1000px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:120px}}.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-5[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{margin-bottom:10px}.arrange-5[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce]{text-align:center}.arrange-5[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{margin-bottom:10px;text-align:center}'),Wi.render=function(t,e,a,o,u,f){const b=m("vopLabel");return i(),r("div",null,[a.props.goods?(i(),r("div",{key:1,style:s({margin:`${a.props.marginTop}px 0 ${a.props.marginBottom}px 0`,backgroundColor:`${a.props.backgroundColor}`,borderRadius:`${a.props.cornerStyle}px`})},[4!==a.props.arrange?(i(),r("div",{key:0,class:g(["top",{left:4!==a.props.arrange}]),style:s({background:f.ruleTitle&&2===a.props.activityTitleLable[0].lable?`${f.ruleTitleImg}`:""})},[f.ruleTitle&&2===a.props.activityTitleLable[0].lable?(i(),r("div",qi)):(i(),r("div",Yi,[l("span",{class:g(["mainTitle",f.mainTitleColor])},d(f.ruleTitle?a.props.activityTitleLable[0].title:f.hasNewActivityTitle),3),l("span",Qi,d(f.ruleTitle?a.props.activityTitleLable[0].subTitle:f.hasNewActivitySubtitle),1)])),1===a.props.more&&[1,2,3].includes(a.props.arrange)?(i(),r("div",{key:2,class:"more",onClick:e[0]||(e[0]=t=>f.goMoreGoods())},[v("更多"),Xi])):(i(),r("div",Ji))],6)):4===a.props.arrange?(i(),r("div",{key:1,class:g(["top",{center:4===a.props.arrange}])},[l("div",Zi,[tr,l("div",er,d(f.hasNewActivityTitle),1),ar])],2)):p("",!0),f.selectImgRule("show")?(i(),r("div",or,[l("img",{style:s({borderTopLeftRadius:`${a.props.cornerStyle}px`,borderTopRightRadius:`${a.props.cornerStyle}px`}),src:f.selectImgRule("url"),alt:"主图",onClick:e[1]||(e[1]=t=>f.linkClick(f.selectImgRule("link")))},null,12,ir)])):p("",!0),l("div",{class:g(["goodsList",[`arrange-${a.props.arrange}`,{isLc:!u.isLc}]])},[(i(!0),r(n,null,c(u.goodsList,((e,o)=>(i(),r("div",{class:"goodsBox",style:s({borderRadius:`${a.props.cornerStyle}px`}),key:e.skuCode,onClick:t=>f.goGoodsDetail(e)},[l("div",{class:g(["goodsImageWrapper",{spacingStyle:2===a.props.spacingStyle}]),style:{position:"relative"}},[l("img",{class:"goodsImage",style:s({borderRadius:`${a.props.cornerStyle}px`}),src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",alt:"商品图片"},null,12,sr),!1===u.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:a.props.borderRadius})},[l("div",dr,d(f.getMaskState(e.goodsProperty5)),1)],4)):p("",!0)],2),l("div",nr,[l("div",cr,[h(b),v(d(e.goodsName),1)]),l("section",lr,[a.props.goodsTag.length>0&&[2,4].includes(a.props.arrange)?(i(),r("div",pr,[(i(!0),r(n,null,c(a.props.goodsTag,(t=>(i(),r("div",{key:t.id},[l("span",gr,d(t.value),1)])))),128))])):p("",!0),l("div",vr,[ur,v(d(e.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",fr,"¥"+d(e.pricesetMakeprice),1)):p("",!0)]),1===a.props.purchaseIcon?(i(),r("div",{key:1,class:"goodsBuy",onClick:a=>t.handleBuyGoods(e.skuNo)},"立即购买",8,mr)):p("",!0)])])],12,rr)))),128))],2)],4)):(i(),r("div",{key:0,style:s(u.noDataStyle)},"请选择商品",4))])},Wi.__scopeId="data-v-5b0f81ce";var hr={name:"cyy-ArsenalTop",data:()=>({lowCode:k,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){this.changeColor()},computed:{resultArrImg:()=>t=>t[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},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 br=t=>(u("data-v-2fdfd7a0"),t=t(),f(),t),yr={key:0},xr={class:"title-t"},wr={class:"boxBgL"},Cr=br((()=>l("div",{class:"search",style:{display:"flex","justify-content":"center",position:"relative","z-index":"1"}},[l("div",{class:"search--input",style:{padding:"2px 112px",border:"1px solid white","border-radius":"20px"}},[l("div",{class:"search--input--box",style:{color:"#fff"}},[l("span",null,"搜索您喜欢的商品"),l("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))),kr={class:"tag",style:{"justify-content":"center"}},Sr={class:"tag--item"},Nr={class:"",style:{color:"#fff","font-size":"24rpx",position:"relative","z-index":"1"}},Ar=["src"],Ir=["src"],Br=["src"],Dr={class:"Box"},_r={class:"boxBg"},Tr={class:"search"},jr=br((()=>l("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),zr=[br((()=>l("text",{class:"iconfont icon-sousuo"},null,-1)))],Lr={class:"tag"},Pr={class:"tag--item"},Or={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},Fr=["src"],Rr={class:"",style:{color:"#fff","font-size":"24rpx"}},$r=br((()=>l("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),Gr={class:"swiper"},Mr=["src","onClick"];Uo(".holder[data-v-2fdfd7a0]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-2fdfd7a0]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0],.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0]{height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0] .img-item[data-v-2fdfd7a0]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{border-radius:10px;height:100%;width:100%}.Box[data-v-2fdfd7a0]{position:relative;width:100%}.boxBg[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBg[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBgL[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);height:32px;margin:0 auto;position:relative;text-align:center;width:90%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--box[data-v-2fdfd7a0]{color:#fff;font-size:12px;line-height:32px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0]{align-items:center;border-radius:17.5px;display:flex;height:22px;justify-content:center;position:absolute;right:5px;top:5px;width:27.5px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0] .icon-sousuo[data-v-2fdfd7a0]{color:#fff}.tag[data-v-2fdfd7a0]{display:flex;padding:7px 0}.tag[data-v-2fdfd7a0]--item[data-v-2fdfd7a0]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-2fdfd7a0]{height:40px}.title-l[data-v-2fdfd7a0] .title-t[data-v-2fdfd7a0]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-2fdfd7a0]{padding:0 20px}.coupon[data-v-2fdfd7a0]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{height:55px;width:55px}"),hr.render=function(t,e,a,o,p,g){const u=m("swiper-item"),f=m("block"),x=m("swiper");return i(),r("div",null,[p.lowCode?(i(),r("div",yr,[l("div",{class:"title-l",slot:"left",style:s({"background-color":p.color})},[l("div",xr,d(a.props.siteName||"人才优选 品质优选"),1)],4),l("div",{class:"Box",style:s({"background-color":p.color})},[l("div",wr,[l("div",{class:"one",style:s({"background-color":p.color})},null,4),l("div",{class:"two",style:s({"background-color":p.color})},null,4)]),Cr,l("div",kr,[l("div",Sr,[l("div",Nr,[a.props.iconImg?(i(),r("img",{key:0,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,Ar)):(i(),r("img",{key:1,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,Ir)),v(d(a.props.mallSlogan),1)])])])],4),l("div",{class:"lowCode-warp",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("img",{src:g.resultArrImg(g.resultArr),alt:"",style:{width:"100%"}},null,8,Br),l("ul",null,[(i(!0),r(n,null,c(g.resultArr,((t,e)=>(i(),r("li",{key:e})))),128))])],4)])):(i(),r(n,{key:1},[l("div",Dr,[l("div",_r,[l("div",{class:"one",style:s({"background-color":p.color})},null,4),l("div",{class:"two",style:s({"background-color":p.color})},null,4)]),l("div",Tr,[l("div",{class:"search--input",onClick:e[0]||(e[0]=(...t)=>g.ToSearch&&g.ToSearch(...t))},[jr,l("div",{class:"search--input--icon",style:s({"background-color":p.color})},zr,4)])]),l("div",Lr,[l("div",Pr,[l("div",Or,[l("img",{"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Fr)]),l("div",Rr,d(a.props.mallSlogan),1)])]),$r]),l("div",{class:"swiperBox",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("div",Gr,[h(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:g.directionResult,autoplay:g.autoplayResult,duration:a.props.autoplayInterval,onChange:g.setimg},{default:b((()=>[(i(!0),r(n,null,c(g.resultArr,((t,e)=>(i(),y(f,{key:e},{default:b((()=>[h(u,{class:"img-item"},{default:b((()=>[l("img",{style:s({bordeRadius:g.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>g.linkClick(t)},null,12,Mr)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},hr.__scopeId="data-v-2fdfd7a0";const Ur=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))};var Kr={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"},liveDataState:0}),mounted(){this.init()},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.liveDataState){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:{async init(){if(k){const t=D+`?infuencerCode=${this.props.live.infuencerCode}`,{list:e}=await Ur(t);0===e.length&&(this.liveDataState=e[0].dataState)}else{this.http.post(D,{infuencerCode:this.props.live.infuencerCode}).then((t=>{this.liveDataState=t.list[0].dataState}))}},handleToLive(){if(k)return;let t=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${t}`})}}};const Er={class:"liveTitlePo"},Wr={class:"live"},Hr={class:"liveCover"},Vr=["src"],qr={class:"liveState"};Uo(".liveBox[data-v-7870d5a8]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);padding:14px 5px}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8]{display:flex}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveCover[data-v-7870d5a8]{position:relative;width:100%}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveCover[data-v-7870d5a8] img[data-v-7870d5a8]{width:100%}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveCover[data-v-7870d5a8] .liveState[data-v-7870d5a8]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveIntroduction[data-v-7870d5a8]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveIntroduction[data-v-7870d5a8] .liveTitle[data-v-7870d5a8]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveIntroduction[data-v-7870d5a8] .anchorName[data-v-7870d5a8]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.liveTitlePo[data-v-7870d5a8]{margin-bottom:8px}"),Kr.render=function(t,e,a,o,n,c){return i(),r("div",null,[a.props.live?(i(),r("div",{key:1,class:"liveBox",style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`}),onClick:e[0]||(e[0]=t=>c.handleToLive())},[l("div",Er,d(c.liveTitle),1),l("div",Wr,[l("div",Hr,[l("img",{src:c.liveCover},null,8,Vr),l("div",qr,d(c.liveState),1)])])],4)):(i(),r("div",{key:0,style:s(n.noDataStyle)},"请选择直播",4))])},Kr.__scopeId="data-v-7870d5a8";const Yr="%[a-f0-9]{2}",Qr=new RegExp("("+Yr+")|([^%]+?)","gi"),Xr=new RegExp("("+Yr+")+","gi");function Jr(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([],Jr(a),Jr(o))}function Zr(t){try{return decodeURIComponent(t)}catch{let e=t.match(Qr)||[];for(let a=1;a<e.length;a++)e=(t=Jr(e,a).join("")).match(Qr)||[];return t}}function ts(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=Xr.exec(t);for(;a;){try{e[a[0]]=decodeURIComponent(a[0])}catch{const t=Zr(a[0]);t!==a[0]&&(e[a[0]]=t)}a=Xr.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 es(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 as(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 i=Object.getOwnPropertyDescriptor(t,o);if(i.enumerable){e(o,t[o],t)&&Object.defineProperty(a,o,i)}}return a}const os=t=>null==t,is=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),rs=Symbol("encodeFragmentIdentifier");function ss(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function ds(t,e){return e.encode?e.strict?is(t):encodeURIComponent(t):t}function ns(t,e){return e.decode?ts(t):t}function cs(t){return Array.isArray(t)?t.sort():"object"==typeof t?cs(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function ls(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function ps(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 gs(t){const e=(t=ls(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function vs(t,e){ss((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 i="string"==typeof a&&a.includes(t.arrayFormatSeparator),r="string"==typeof a&&!i&&ns(a,t).includes(t.arrayFormatSeparator);a=r?ns(a,t):a;const s=i||r?a.split(t.arrayFormatSeparator).map((e=>ns(e,t))):null===a?a:ns(a,t);o[e]=s};case"bracket-separator":return(e,a,o)=>{const i=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!i)return void(o[e]=a?ns(a,t):a);const r=null===a?[]:a.split(t.arrayFormatSeparator).map((e=>ns(e,t)));void 0!==o[e]?o[e]=[...o[e],...r]:o[e]=r};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 i of t.split("&")){if(""===i)continue;const t=e.decode?i.replace(/\+/g," "):i;let[r,s]=es(t,"=");void 0===r&&(r=t),s=void 0===s?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:ns(s,e),a(ns(r,e),s,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]=ps(o,e);else o[t]=ps(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]=cs(a):t[e]=a,t}),Object.create(null))}function us(t,e){if(!t)return"";ss((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const a=a=>e.skipNull&&os(t[a])||e.skipEmptyString&&""===t[a],o=function(t){switch(t.arrayFormat){case"index":return e=>(a,o)=>{const i=a.length;return void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[ds(e,t),"[",i,"]"].join("")]:[...a,[ds(e,t),"[",ds(i,t),"]=",ds(o,t)].join("")]};case"bracket":return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[ds(e,t),"[]"].join("")]:[...a,[ds(e,t),"[]=",ds(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,[ds(e,t),":list="].join("")]:[...a,[ds(e,t),":list=",ds(o,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return a=>(o,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:(i=null===i?"":i,0===o.length?[[ds(a,t),e,ds(i,t)].join("")]:[[o,ds(i,t)].join(t.arrayFormatSeparator)])}default:return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,ds(e,t)]:[...a,[ds(e,t),"=",ds(o,t)].join("")]}}(e),i={};for(const[e,o]of Object.entries(t))a(e)||(i[e]=o);const r=Object.keys(i);return!1!==e.sort&&r.sort(e.sort),r.map((a=>{const i=t[a];return void 0===i?"":null===i?ds(a,e):Array.isArray(i)?0===i.length&&"bracket-separator"===e.arrayFormat?ds(a,e)+"[]":i.reduce(o(a),[]).join("&"):ds(a,e)+"="+ds(i,e)})).filter((t=>t.length>0)).join("&")}function fs(t,e){e={decode:!0,...e};let[a,o]=es(t,"#");return void 0===a&&(a=t),{url:a?.split("?")?.[0]??"",query:vs(gs(t),e),...e&&e.parseFragmentIdentifier&&o?{fragmentIdentifier:ns(o,e)}:{}}}function ms(t,e){e={encode:!0,strict:!0,[rs]:!0,...e};const a=ls(t.url).split("?")[0]||"";let o=us({...vs(gs(t.url),{sort:!1}),...t.query},e);o&&(o=`?${o}`);let i=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,i=e[rs]?o.hash:`#${t.fragmentIdentifier}`}return`${a}${o}${i}`}function hs(t,e,a){a={parseFragmentIdentifier:!0,[rs]:!1,...a};const{url:o,query:i,fragmentIdentifier:r}=fs(t,a);return ms({url:o,query:as(i,e),fragmentIdentifier:r},a)}var bs=Object.freeze({__proto__:null,extract:gs,parse:vs,stringify:us,parseUrl:fs,stringifyUrl:ms,pick:hs,exclude:function(t,e,a){return hs(t,Array.isArray(e)?t=>!e.includes(t):(t,a)=>!e(t,a),a)}}),ys={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 k?this.LcGetNotice(t):this.getNotice(t)},async LcGetNotice(t){const e=location.hash.replace(/[\\/#?]/g,""),a=bs.parse(e),o={};o.modelTagvalueId=a.modelTagvalueId??"";const i=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${o.modelTagvalueId}¬iceType=1`,r=await Ur(i);t.noticeList=r},async getNotice(t){const e=await t.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});t.noticeList=e},handleToNotice(t){k||this.$routers.push("noticeDedail",{id:t.noticeId})}}};const xs=t=>(u("data-v-a1078966"),t=t(),f(),t),ws=xs((()=>l("div",{class:"notice-logo"},[l("span",null,"公告")],-1))),Cs=xs((()=>l("div",{class:"notice-bar"},null,-1))),ks={class:"notice-content"},Ss=["onClick"];Uo(".noticeBox[data-v-a1078966]{align-items:center;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:35px}.noticeBox[data-v-a1078966] .notice-logo[data-v-a1078966]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-a1078966] .notice-logo[data-v-a1078966] span[data-v-a1078966]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-a1078966] .notice-bar[data-v-a1078966]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966]{flex:1;overflow:hidden}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966] .notice-list[data-v-a1078966]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966] .notice-list[data-v-a1078966] .swiper-item[data-v-a1078966]{color:#999}"),ys.render=function(t,e,a,o,p,g){const v=m("swiper-item"),u=m("swiper");return i(),r("div",null,[p.noticeList?(i(),r("div",{key:1,class:"noticeBox",style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,backgroundColor:`${a.props.backgroundColor}`})},[ws,Cs,l("div",ks,[h(u,{class:"notice-list",vertical:a.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:b((()=>[(i(!0),r(n,null,c(p.noticeList,(t=>(i(),y(v,{key:t.noticeId},{default:b((()=>[l("div",{class:"swiper-item",style:s({color:`${a.props.color}`}),onClick:e=>g.handleToNotice(t)},d(t.noticeTitle),13,Ss)])),_:2},1024)))),128))])),_:1},8,["vertical"])])],4)):(i(),r("div",{key:0,style:s(p.noDataStyle)},"请选择公告",4))])},ys.__scopeId="data-v-a1078966";var Ns={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,i]=[0,0,0,0];e=Math.floor(t/86400),a=Math.floor(t/3600)-24*e;let r=null;r=this.showDays?a:Math.floor(t/3600),o=Math.floor(t/60)-60*a-24*e*60,i=Math.floor(t)-24*e*60*60-60*a*60-60*o,r=r<10?"0"+r:r,o=o<10?"0"+o:o,i=i<10?"0"+i:i,e=e<10?"0"+e:e,this.d=e,this.h=r,this.i=o,this.s=i},end(){this.clearTimer(),this.$emit("end",{})},clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy(){clearInterval(this.timer),this.timer=null}};const As={class:"u-countdown"};Uo(".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}"),Ns.render=function(t,e,a,o,n,c){return i(),r("view",As,[a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=n.d)?(i(),r("view",{key:0,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s([c.letterStyle])},d(n.d),5)],4)):p("",!0),a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=n.d)?(i(),r("view",{key:1,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},d("colon"==a.separator?":":"天"),5)):p("",!0),a.showHours?(i(),r("view",{key:2,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:a.fontSize+"rpx",color:a.color})},d(n.h),5)],4)):p("",!0),a.showHours?(i(),r("view",{key:3,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},d("colon"==a.separator?":":"时"),5)):p("",!0),a.showMinutes?(i(),r("view",{key:4,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:a.fontSize+"rpx",color:a.color})},d(n.i),5)],4)):p("",!0),a.showMinutes?(i(),r("view",{key:5,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},d("colon"==a.separator?":":"分"),5)):p("",!0),a.showSeconds?(i(),r("view",{key:6,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:a.fontSize+"rpx",color:a.color})},d(n.s),5)],4)):p("",!0),a.showSeconds&&"zh"==a.separator?(i(),r("view",{key:7,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},Ns.__scopeId="data-v-4f36f3d2";var Is={name:"u-line-progress",props:{round:{type:Boolean,default:!0},type:{type:String,default:""},activeColor:{type:String,default:"#19be6b"},inactiveColor:{type:String,default:"#ececec"},percent:{type:Number,default:0},showPercent:{type:Boolean,default:!0},height:{type:[Number,String],default:28},striped:{type:Boolean,default:!1},stripedActive:{type:Boolean,default:!1}},data:()=>({}),computed:{progressStyle(){let t={};return t.width=this.percent+"%",this.activeColor&&(t.backgroundColor=this.activeColor),t}},methods:{}};Uo(".u-progress[data-v-6b1ec6a3]{align-items:center;border-radius:3px;display:inline-flex;height:5px;overflow:hidden;width:152px}@media (max-width:320px){.u-progress[data-v-6b1ec6a3]{width:80px}}@media (min-width:321px) and (max-width:376px){.u-progress[data-v-6b1ec6a3]{width:132px}}.u-active[data-v-6b1ec6a3]{align-items:center;color:#fff;display:flex;font-size:10px;height:100%;justify-content:space-around;justify-items:flex-end;transition:all .4s ease;width:0}.u-striped[data-v-6b1ec6a3]{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:39px 39px}.u-striped-active[data-v-6b1ec6a3]{animation:progress-stripes-6b1ec6a3 2s linear infinite}@keyframes progress-stripes-6b1ec6a3{0%{background-position:0 0}to{background-position:39px 0}}"),Is.render=function(t,e,a,o,c,u){return i(),r("view",{class:"u-progress",style:s({borderRadius:a.round?"100rpx":0,height:a.height+"rpx",backgroundColor:a.inactiveColor})},[l("view",{class:g([[a.type?`u-type-${a.type}-bg`:"",a.striped?"u-striped":"",a.striped&&a.stripedActive?"u-striped-active":""],"u-active"]),style:s([u.progressStyle])},[t.$slots.default||t.$slots.$default?x(t.$slots,"default",{key:0}):a.showPercent?(i(),r(n,{key:1},[v(d(a.percent+"%"),1)],64)):p("",!0)],6)],4)},Is.__scopeId="data-v-6b1ec6a3";const Bs=k?location.hash.replace(/[\\/#?]/g,""):null,Ds=bs.parse(Bs),_s=(Ds["saas-token"],Ds.membercode??""),Ts=Ds.channelCode??"",js=(Ds.tenantcode,Ds.modelTagvalueId,Ds.tginfoCode,_s),zs=Ts;var Ls={name:"cyy-ArsenalActivity",props:{props:{activityType:Number,countDown:Number,linePriceFlag:Number,crossedPrice:Number,title:String,subTitle:String,backgroundColor:String,marginTop:Number,marginBottom:Number,activityList:Array,activityImg:String}},components:{uContDown:Ns,uLineProgress:Is},data:()=>({lowCode:k,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=z(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>t=>"已终止"===t||"已抢空"===t?"#D7D7D7":"即将开始"===t?"#F59A23":"#ed4444",btnDataState:()=>(t,e)=>[-1,2,6].includes(t.dataState)?"已终止":[1].includes(t.dataState)?0===e.goodsSupplynum?"已抢空":"立即购买":[4].includes(t.dataState)?"即将开始":void 0,getPrice:()=>t=>"2"==t.pricesetType||"4"==t.pricesetType?"¥"+t.pricesetNprice:"3"==t.pricesetType?t.pricesetRefrice+"里程":t.pricesetNprice,activityCss:()=>t=>t.length?1===t.length?1:2===t.length?2:t.length>=3?3:0:0,diffFn:()=>t=>t?(t.goodsAhnum-t.goodsSupplynum)/t.goodsAhnum*100:"",minTime(){let t=[];this.secGoodList.map((t=>t.dataState)).includes(1)?this.secGoodList.forEach((e=>{1===e.dataState&&t.push(e.gmtModified)})):this.secGoodList.forEach((e=>{4===e.dataState?t.push(e.gmtCreate):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:{async getSecGoodList(t,e=null){const a=(t,e=!1)=>{if(t&&(e?t.rows:t.list)&&(e?t.rows.length:t.list.length)){const a=e?t.rows:t.list;a.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=a}else this.secGoodList=[]};if(0===this.props.activityType){let e="";if(console.log(this.props?.activityList,"选择活动=====秒杀"),"all"==this.props?.activityList?e=null:this.props?.activityList?.length&&(e=this.props?.activityList.join(",")),k){let t="";e?t=`${I}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&couponBatchCode=${e}&channelCode=${zs}&membercode=${js}`:(this.secGoodList=[],t=`${I}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${js}&channelCode=${zs}`);const{list:o}=await Ur(t);a({list:o})}else{let o={pbCode:"0007",page:1,rows:200,dataStateStr:"1,4",couponBatchCode:e};e||(this.secGoodList=[],o.dataStateStr="1,4",o.orderStr="PROMOTION_ENDTIME asc"),console.log(o,"params秒杀"),t.http.post(I,o).then((t=>{a(t)}))}}if(1===this.props.activityType){let e="";if(console.log(this.props?.activityList,"选择活动------团购"),"all"==this.props?.activityList?e=null:this.props?.activityList?.length&&(e=this.props?.activityList.join(",")),k){let t="";e?t=`${I}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&promotionCode=${e}&channelCode=${zs}&membercode=${js}`:(this.secGoodList=[],t=`${I}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${js}&channelCode=${zs}`);const{rows:o}=await Ur(t);a({rows:o},!0)}else{let a={pbCode:"0008",dataStateStr:"1,4",page:1,rows:200,promotionCode:e};e||(this.secGoodList=[],a.dataStateStr="1,4",a.orderStr="PROMOTION_ENDTIME asc"),console.log(a,"params团购"),t.http.post(I,a).then((async t=>{if(t&&t.rows)if(1===this.page&&0===t.rows.length)this.seckillGoodsList=[];else{const e=t.rows.map((t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,a=(t.promotionEndtime-Date.parse(new Date))/1e3;return t.gmtCreate=e>0?e:0,t.gmtModified=a>0?a:0,0==t.promotionState&&this.$set(t,"PeopleNum",t.couponOnceNump),t})).filter((t=>0==t.promotionState));this.secGoodList=e}}))}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(t,e){let a;0===this.props.activityType&&(a=26),1===this.props.activityType&&(a=24),this.$emit("gosecGoodsDetail",t.skuNo,e.gmtModified,e.promotionCode,e.promotionFrequency,e.inventory,a)}}};const Ps={key:0},Os={class:"secKill--tit"},Fs={class:"title"},Rs={key:0,src:"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",alt:"",style:{width:"16px",height:"16px"}},$s={key:1,src:"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==",alt:"",style:{width:"16px",height:"16px"}},Gs={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},Ms={class:"more"},Us={class:"img"},Ks=["src"],Es={key:1},Ws=["onClick"],Hs={class:"soneLeft"},Vs=["src"],qs={class:"soneRight"},Ys={class:"soneRightA"},Qs={key:0,class:"soneRightB"},Xs={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Js={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Zs={class:"soneRightC"},td={class:"priceC"},ed={style:{color:"#ff9745"}},ad={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},od={class:"dataStateButton"},id=["onClick"],rd=["src"],sd={class:"secKill-goodsName text-common"},dd={class:"price"},nd={style:{display:"flex"}},cd={class:"now-price-common"},ld={style:{color:"#f53a50"}},pd={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},gd={class:"dataStateButton"},vd=["onClick"],ud=["src"],fd={class:"secKill-goodsName text-common"},md={class:"price"},hd={style:{display:"flex"}},bd={class:"now-price-common"},yd={style:{color:"#f53a50"}},xd={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},wd={class:"dataStateButton"};Uo(".secKill[data-v-276309a0]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0}.secKill[data-v-276309a0] .soon[data-v-276309a0]{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-276309a0] .secKill--tit[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .title[data-v-276309a0]{align-items:center;display:flex}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .title[data-v-276309a0] .changeOnce[data-v-276309a0]{color:#439fff;font-size:10px;margin-left:6px}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .more[data-v-276309a0]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .more[data-v-276309a0] .img[data-v-276309a0]{height:9px;margin-left:3px;width:5.5px}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0]{display:flex}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0] .secKill-goodsName[data-v-276309a0]{-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-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0] .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0] .dataStateButton[data-v-276309a0] span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0]{display:flex}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0] .bigimgs[data-v-276309a0]{height:100px;margin:0 auto;width:100px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0] .goodsName[data-v-276309a0]{-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-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0] .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0]:nth-child(2){border:none}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0]{height:255px;padding-left:7.5px;width:164px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0] .bigimg[data-v-276309a0]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0] .goodsName[data-v-276309a0]{-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-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0] .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-276309a0]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-276309a0]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-276309a0]{width:112px}}.bigimg3[data-v-276309a0]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-276309a0]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-276309a0]{width:110px}}.goodsDetail2[data-v-276309a0]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-276309a0]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-276309a0]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-276309a0]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-276309a0]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-276309a0]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-276309a0]{width:162px}}.bigimg2[data-v-276309a0]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-276309a0]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-276309a0]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-276309a0]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-276309a0]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-276309a0]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-276309a0]{height:160px;width:160px}}.overflowX[data-v-276309a0]{overflow:hidden;overflow-x:scroll}.fel[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0]{display:flex;padding:8px}.secKill-One[data-v-276309a0] .soneLeft[data-v-276309a0]{height:110px;margin-right:8px;width:110px}.secKill-One[data-v-276309a0] .soneLeft[data-v-276309a0] img[data-v-276309a0]{border-radius:6px;height:110px;width:110px}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightA[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#394259;display:-webkit-box;font-family:PingFangSC,PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:21px;overflow:hidden;text-align:left;text-overflow:ellipsis}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightB[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightB[data-v-276309a0] .uline[data-v-276309a0]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0] .priceC[data-v-276309a0]{font-family:DINAlternate;font-size:18px;font-style:normal;font-weight:700;line-height:29px;text-align:left}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0] .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0] .dataStateButton[data-v-276309a0] span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),Ls.render=function(t,e,a,o,v,u){const f=m("uContDown"),b=m("u-count-down"),x=m("uLineProgress");return i(),r("div",null,[0!==u.activityCss(v.secGoodList)||v.lowCode?(i(),r("div",{key:1,class:"secKill",style:s({backgroundColor:a.props.backgroundColor,marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[l("div",Os,[l("div",Fs,[0===a.props.activityType?(i(),r("img",Rs)):p("",!0),1===a.props.activityType?(i(),r("img",$s)):p("",!0),l("div",Gs,d(a.props.title),1),v.lowCode?(i(),r(n,{key:2},[0===a.props.countDown?(i(),y(f,{key:0,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64)):(i(),r(n,{key:3},[0===a.props.countDown?(i(),y(b,{key:0,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64))]),l("div",Ms,[l("div",{class:"",onClick:e[0]||(e[0]=(...t)=>u.goSecList&&u.goSecList(...t))},d(a.props.subTitle),1),l("div",Us,[l("img",{"lazy-load":!0,src:Hi,mode:"",style:{width:"100%",height:"100%"},onClick:e[1]||(e[1]=(...t)=>u.goSecList&&u.goSecList(...t))})])])]),a.props.activityImg?(i(),r("img",{key:0,onClick:e[2]||(e[2]=(...t)=>u.goSecList&&u.goSecList(...t)),"lazy-load":!0,src:a.props.activityImg,style:{width:"100%","margin-bottom":"10px"},mode:""},null,8,Ks)):p("",!0),1===u.activityCss(v.secGoodList)?(i(),r("div",Es,[(i(!0),r(n,null,c(v.secGoodList,((t,e)=>(i(),r("div",{key:e},[(i(!0),r(n,null,c(t.rsSkuReDomainList,((e,o)=>(i(),r("div",{class:"secKill-One",key:o,onClick:a=>u.gosecGoodsDetail(e,t)},[l("div",Hs,[l("img",{"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?v.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,8,Vs)]),l("div",qs,[l("div",Ys,d(e.goodsName),1),0===a.props.activityType?(i(),r("div",Qs,[h(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:u.diffFn(e),height:"10","show-percent":!1},null,8,["percent"]),v.lowCode?(i(),r("div",Xs,"剩"+d(e.goodsSupplynum||0)+"件",1)):(i(),r("div",Js,"剩"+d(e.goodsSupplynum||0)+"件",1))])):p("",!0),l("div",Zs,[l("div",td,[l("span",ed,d("¥"+e.pricesetNprice),1),1===a.props.linePriceFlag?(i(),r("span",ad,d(e.pricesetMakeprice),1)):p("",!0)]),l("div",od,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,e))})},d(u.btnDataState(t,e)),5)])])])],8,Ws)))),128))])))),128))])):p("",!0),2===u.activityCss(v.secGoodList)?(i(),r("div",{key:2,class:g(["secKill-all",{fel:!0}])},[(i(!0),r(n,null,c(v.secGoodList,((t,e)=>(i(),r("div",{class:"secKill--center",key:e},[(i(!0),r(n,null,c(t.rsSkuReDomainList,((e,o)=>(i(),r("div",{class:g({goodsDetail3:3===u.activityCss(v.secGoodList),goodsDetail2:2===u.activityCss(v.secGoodList)}),key:o,onClick:a=>u.gosecGoodsDetail(e,t)},[l("img",{class:g({bigimg3:3===u.activityCss(v.secGoodList),bigimg2:2===u.activityCss(v.secGoodList)}),"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?v.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,10,rd),l("div",sd,d(e.goodsName),1),l("div",dd,[l("div",nd,[l("div",cd,[l("span",ld,d("¥"+e.pricesetNprice),1),1===a.props.linePriceFlag?(i(),r("span",pd,d(e.pricesetMakeprice),1)):p("",!0)])])]),l("div",gd,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,e))})},d(u.btnDataState(t,e)),5)])],10,id)))),128))])))),128))])):p("",!0),3===u.activityCss(v.secGoodList)?(i(),r("div",{key:3,class:g(["secKill-all",{overflowX:!0}])},[(i(!0),r(n,null,c(v.secGoodList,((t,e)=>(i(),r("div",{class:"secKill--center",key:e},[(i(!0),r(n,null,c(t.rsSkuReDomainList,((e,o)=>(i(),r("div",{class:g({goodsDetail3:3===u.activityCss(v.secGoodList),goodsDetail2:2===u.activityCss(v.secGoodList)}),key:o,onClick:a=>u.gosecGoodsDetail(e,t)},[l("img",{class:g({bigimg3:3===u.activityCss(v.secGoodList),bigimg2:2===u.activityCss(v.secGoodList)}),"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?v.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,10,ud),l("div",fd,d(e.goodsName),1),l("div",md,[l("div",hd,[l("div",bd,[l("span",yd,d("¥"+e.pricesetNprice),1),1===a.props.linePriceFlag?(i(),r("span",xd,d(e.pricesetMakeprice),1)):p("",!0)])])]),l("div",wd,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,e))})},d(u.btnDataState(t,e)),5)])],10,vd)))),128))])))),128))])):p("",!0)],4)):(i(),r("div",Ps))])},Ls.__scopeId="data-v-276309a0";var Cd={props:{props:{url:{type:String,default:""},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},marginTop:{type:Number,default:0},marginBottom:{type:Number,default:0}}}};const kd=["src","poster","autoplay"];Uo("video[data-v-1141a1a5]{width:100%!important}"),Cd.render=function(t,e,a,o,d,n){return i(),r("div",null,[l("video",{style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`}),controls:"",src:a.props.url,poster:a.props.poster,autoplay:a.props.autoplay},null,12,kd)])},Cd.__scopeId="data-v-1141a1a5";var Sd={name:"cyy-ArsenalClass",props:{props:{headImg:String,classList:Array,carIcon:Number,bgColor:String,getBgColor:String,fontColor:String,getfontColor:String,navigationHeight:Number,navigationFontSize:Number,classDomainList:Array}},data(){return{classTitleStyle:{height:this.props.navigationHeight+"px",lineHeight:this.props.navigationHeight+"px",fontSize:this.props.navigationFontSize+"px"},classDomainList:[],domainNameUrl:"",isLc:k,checkClassIndex:-1,targetId:"",scrollTop:0}},mounted(){this.domainNameUrl=z(this),this.classDomainList=JSON.parse(JSON.stringify(this.props.classDomainList)),this.initgoods()},computed:{},methods:{initgoods(){let t=this;return k?this.LcGetGoodsList(t):this.getGoodsList(t)},async LcGetGoodsList(t){let e=t.classDomainList;for(let t of e){if(1==t.changeGoodsType){const e=`${B}?vendibilityFlag=true&childFlag=true&bizType=goods&hjFlag=true&area=北京朝阳区八里庄街道&page=1&rows=20&searchType=match_phrase&goodsType=00,40,41,60,61,62,32&classtreeCode=${t.classtreeCode}&channelCode=${zs}`,a=await Ur(e);t.goodsList=a.list}if(2==t.changeGoodsType){const e=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",a=`${A}?rows=200&page=1&goodsCode=${t.changeGoodsStr.replace("arsenalGoodsClass,","")}&channelCode=${e}`,o=await Ur(a);t.goodsList=o.list}}t.classDomainList=e},async getGoodsList(t){for(let e of t.classDomainList){let a={vendibilityFlag:!0,childFlag:!0,bizType:"goods",hjFlag:!0,area:t.$storage.get("addressValue")?t.$storage.get("addressValue"):"北京朝阳区八里庄街道",page:1,rows:20,searchType:"match_phrase",goodsType:"00,40,41,60,61,62,32",classtreeCode:e.classtreeCode};if(1==e.changeGoodsType){const o=await t.http.get(`${B}`,a);t.$set(e,"goodsList",o.list)}let o={goodsCode:e.changeGoodsStr.replace("arsenalGoodsClass,","")};if(2==e.changeGoodsType){const a=await L(t,o);t.$set(e,"goodsList",a.list)}}},checkClass(t){this.checkClassIndex=t,this.targetId=`item-${t}`},addShoppingShow(t){k||this.$emit("addShoppingShow",t)},getMaskState:t=>"1"===t?"预售中":"补货中",getTextStyle:t=>({color:t.titleColor||"#000000",fontSize:t.titleFontSize||"16px"}),goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},handleScroll(t){this.scrollTop=t.detail.scrollTop}}};const Nd=["onClick"],Ad=["src"],Id=["src"],Bd={class:"classContent"},Dd=["id"],_d=["src"],Td=["src"],jd=["src"],zd={class:"text-overlay"},Ld=["src"],Pd=["onClick"],Od={class:"imgWrapper"},Fd={class:"maskState"},Rd=["src"],$d={class:"goodsDescription"},Gd={class:"goodsPrice"},Md={key:0,class:"scribing"},Ud={class:"goodsBuy"},Kd=["onClick"];Uo(".headerImg[data-v-2f7e67b4]{width:100%}.classTitle[data-v-2f7e67b4]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle[data-v-2f7e67b4] .classTitleItem[data-v-2f7e67b4]{margin-right:10px}.classTitle[data-v-2f7e67b4] .classTitleItem[data-v-2f7e67b4] .classSpan[data-v-2f7e67b4]{border-radius:20px;padding:4px 12px}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentSpan[data-v-2f7e67b4]{display:flex;justify-content:center;padding:30px 0}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImg[data-v-2f7e67b4]{width:100%}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImgBox[data-v-2f7e67b4]{position:relative;width:100%}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImgBox[data-v-2f7e67b4] .classContentImg[data-v-2f7e67b4]{display:block;height:auto;width:100%}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImgBox[data-v-2f7e67b4] .text-overlay[data-v-2f7e67b4]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-2f7e67b4]{display:grid}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:30%;width:30%}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4]{display:flex;overflow-x:scroll}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:32%;width:32%}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{margin:0 5px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4]{position:relative}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .specialGoodsName[data-v-2f7e67b4]{font-size:12px;height:42px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:14px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgWrapper[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{height:100px;width:100px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:16px;height:auto}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:16px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsBuyWrapper[data-v-2f7e67b4]{position:relative}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsBuyWrapper[data-v-2f7e67b4] .goodsBuy[data-v-2f7e67b4]{position:absolute;right:0;top:0}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgWrapper[data-v-2f7e67b4]{position:relative;text-align:center}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgMarked[data-v-2f7e67b4]{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-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgMarked[data-v-2f7e67b4] .maskState[data-v-2f7e67b4]{color:#fff;font-size:23px}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{color:#f53a50;font-weight:600}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),Sd.render=function(t,e,a,o,u,f){const y=m("scroll-view");return i(),r("div",null,[l("div",null,[u.scrollTop>20||u.isLc?(i(),r("div",{key:0,class:"classTitle",style:s({backgroundColor:a.props.bgColor})},[(i(!0),r(n,null,c(u.classDomainList,((t,e)=>(i(),r("span",{class:"classTitleItem",key:t.goodsClassId,style:s({height:a.props.navigationHeight+"px",lineHeight:a.props.navigationHeight+"px",fontSize:a.props.navigationFontSize+"px"})},[l("span",{class:"classSpan",onClick:t=>f.checkClass(e),style:s({background:u.checkClassIndex===e?a.props.getBgColor:a.props.bgColor,color:u.checkClassIndex===e?a.props.getfontColor:a.props.fontColor})},d(t.goodsChangeClassName),13,Nd)],4)))),128))],4)):p("",!0),h(y,{"scroll-y":"true","scroll-with-animation":"true",onScroll:f.handleScroll,"scroll-into-view":u.targetId,style:{height:"100vh"}},{default:b((()=>[a.props.headImg?(i(),r(n,{key:0},[u.isLc?(i(),r("img",{key:0,class:"headerImg",src:a.props.headImg},null,8,Ad)):(i(),r("image",{key:1,class:"headerImg",src:a.props.headImg,mode:"widthFix"},null,8,Id))],64)):p("",!0),l("div",Bd,[(i(!0),r(n,null,c(u.classDomainList,((t,e)=>(i(),r("div",{class:"classContentItem",key:t.goodsClassId,id:"item-"+e},[t.classfooterImg?(i(),r("div",{key:1,class:"classContentImgBox",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[u.isLc?(i(),r("img",{key:0,class:"classContentImg",src:t.classfooterImg},null,8,Td)):(i(),r("image",{key:1,class:"classContentImg",src:t.classfooterImg,mode:"widthFix"},null,8,jd)),l("div",zd,[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,Ld)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},d(t.goodsChangeClassName),5)):p("",!0)])],4)):(i(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,_d)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},d(t.goodsChangeClassName),5)):p("",!0)],4)),l("div",{class:g(["cube-container",`arrange-${t.showTitle}`,{isLc:u.isLc}]),style:s({backgroundColor:t.goodsBgColor})},[(i(!0),r(n,null,c(t.goodsList,((e,a)=>(i(),r("div",{class:"cube-item",style:s({marginTop:`${t.goodsMt}px`,marginBottom:`${t.goodsBt}px`}),key:e.skuCode,onClick:t=>f.goGoodsDetail(e)},[l("div",Od,[!1===u.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${t.borderRaduils}px`})},[l("div",Fd,d(f.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${t.borderRaduils}px`})},null,12,Rd)]),l("div",$d,[!0===u.isLc&&2===t.showTitle?(i(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},d(e.goodsName),5)):(i(),r("div",{key:1,class:"goodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},d(e.goodsName),5)),l("section",{class:"footerContent",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},[l("div",Gd,[v(" ¥"+d(e.pricesetNprice)+" ",1),1===t.underLineFlag?(i(),r("div",Md,"¥"+d(e.pricesetMakeprice),1)):p("",!0)]),l("div",Ud,[l("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:w((t=>f.addShoppingShow(e)),["stop"]),style:{height:"25px",width:"25px"}},null,8,Kd)])],4)])],12,Pd)))),128))],6)],8,Dd)))),128))])])),_:1},8,["onScroll","scroll-into-view"])])])},Sd.__scopeId="data-v-2f7e67b4";var Ed={name:"cyy-ArsenalMyTop",props:{userType:Number,userShow:Number,avatarUrl:String,islogin:Boolean,loginInfor:Object,siteType:String,footerTotal:Number,goodsNum:Number,props:{collection:0,collectionIcon:"",footprint:0,footprintIcon:""}},data:()=>({isLc:k,userTypeMap:{0:"手机号",1:"卡号",2:"历史数据",3:"权益",4:"礼包"}}),mounted(){console.log("顶部组件=============")},methods:{clickSite(){this.$emit("clickSite")},jump(t){this.$emit("jump",t)},chooseAvatar(){this.$emit("chooseAvatar")}}};const Wd=t=>(u("data-v-5da54d57"),t=t(),f(),t),Hd={class:"header_top"},Vd={class:"user_top"},qd={class:"user_left"},Yd={key:0,class:"user_logo"},Qd=[Wd((()=>l("image",{src:"../../static/img/mine/default_header.png"},null,-1)))],Xd=["src"],Jd={key:1,class:"text"},Zd={key:2,class:"user_message"},tn=[Wd((()=>l("div",{class:"user_name"},"18570000000",-1))),Wd((()=>l("div",{class:"user_change"},"手机号",-1))),Wd((()=>l("div",{class:"choseSite"},"切换站点",-1)))],en={key:3},an={key:0,class:"user_message"},on={key:0},rn={class:"user_name"},sn={class:"user_change"},dn={key:1},nn={class:"user_name"},cn=Wd((()=>l("div",{class:"user_change"},"姓名",-1))),ln={key:2},pn={class:"user_name"},gn={key:1,class:"user_message"},vn={class:"user_bottom"},un={class:"item_icon"},fn=["src"],mn=Wd((()=>l("div",{class:"item_name"},"商品收藏",-1))),hn={class:"item_num"},bn={class:"item_icon1"},yn=["src"],xn=Wd((()=>l("div",{class:"item_name"},"浏览足迹",-1))),wn={class:"item_num"};Uo(".header_top[data-v-5da54d57]{background:#eb2b27;padding:18px 12px 54px}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57]{align-items:center;display:flex;justify-content:space-between;width:100%}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57]{align-items:center;display:flex}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57] .user_logo[data-v-5da54d57]{align-items:center;background-color:#fff;border-radius:50%;display:flex;height:67px;justify-content:center;padding:0;position:relative;width:67px}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57] .user_logo[data-v-5da54d57] image[data-v-5da54d57],.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57] .user_logo[data-v-5da54d57] img[data-v-5da54d57]{border-radius:50%;height:100%;width:100%}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57] .user_message[data-v-5da54d57]{margin-left:12px}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57] .user_message[data-v-5da54d57] .user_name[data-v-5da54d57]{color:#fff;font-weight:20px;font-weight:700;line-height:20px}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_left[data-v-5da54d57] .user_message[data-v-5da54d57] .user_change[data-v-5da54d57]{color:#fff;font-size:9px;line-height:9px;margin-top:15px}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_right[data-v-5da54d57]{height:20px;width:20px}.header_top[data-v-5da54d57] .user_top[data-v-5da54d57] .user_right[data-v-5da54d57] image[data-v-5da54d57]{height:100%;width:100%}.header_top[data-v-5da54d57] .user_bottom[data-v-5da54d57]{display:flex;justify-content:space-around;margin-top:12px;padding:0 25px}.header_top[data-v-5da54d57] .user_bottom[data-v-5da54d57] .bottom_item[data-v-5da54d57]{align-items:center;display:flex;justify-content:center}.header_top[data-v-5da54d57] .user_bottom[data-v-5da54d57] .bottom_item[data-v-5da54d57] .item_icon[data-v-5da54d57]{color:#fff;font-size:13px;padding-top:1px}.header_top[data-v-5da54d57] .user_bottom[data-v-5da54d57] .bottom_item[data-v-5da54d57] .item_icon1[data-v-5da54d57]{color:#fff;font-size:15px}.header_top[data-v-5da54d57] .user_bottom[data-v-5da54d57] .bottom_item[data-v-5da54d57] .item_name[data-v-5da54d57]{color:#fff;font-size:12px;margin-left:8px}.header_top[data-v-5da54d57] .user_bottom[data-v-5da54d57] .bottom_item[data-v-5da54d57] .item_num[data-v-5da54d57]{color:#fff;font-size:14px;font-weight:700;margin-left:8px}.choseSite[data-v-5da54d57]{color:#fff;font-weight:550;position:absolute;right:28px;top:43px}"),Ed.render=function(t,e,a,o,s,n){return i(),r("div",null,[l("div",Hd,[l("div",Vd,[l("div",qd,[a.islogin?(i(),r("view",{key:1,class:"user_logo",onClick:e[0]||(e[0]=(...t)=>n.chooseAvatar&&n.chooseAvatar(...t))},[a.avatarUrl?(i(),r("image",{key:0,class:"avatar",src:a.avatarUrl},null,8,Xd)):(i(),r("view",Jd,"选择头像"))])):(i(),r("view",Yd,Qd)),s.isLc?(i(),r("div",Zd,tn)):(i(),r("div",en,[a.islogin?(i(),r("div",an,[0===a.userShow?(i(),r("div",on,[l("div",rn,d(a.loginInfor.userPhone||a.loginInfor.merberCompname),1),l("div",sn,d(s.userTypeMap[a.userType]),1)])):1===a.userShow?(i(),r("div",dn,[l("div",nn,d(a.loginInfor.merberCompname),1),cn])):(i(),r("div",ln,[l("div",pn,d(a.loginInfor.merberCompname),1)])),"1"==a.siteType?(i(),r("div",{key:3,class:"choseSite",onClick:e[1]||(e[1]=(...t)=>n.clickSite&&n.clickSite(...t))},"切换站点")):p("",!0)])):(i(),r("div",gn,[l("div",{class:"user_name",onClick:e[2]||(e[2]=e=>t.goLogin())},"请登录")]))]))])]),l("div",vn,[0==a.props.collection?(i(),r("div",{key:0,class:"bottom_item",onClick:e[3]||(e[3]=t=>n.jump("/pages/collection_modules/shop/main?isindex=0"))},[l("div",un,[l("img",{src:a.props.collectionIcon,alt:"",style:{width:"20px",height:"20px"}},null,8,fn)]),mn,l("div",hn,d(a.goodsNum||"0"),1)])):p("",!0),0==a.props.footprint?(i(),r("div",{key:1,class:"bottom_item",onClick:e[4]||(e[4]=t=>n.jump("/pages/collection_modules/history/main"))},[l("div",bn,[l("img",{src:a.props.footprintIcon,alt:"",style:{width:"20px",height:"20px"}},null,8,yn)]),xn,l("div",wn,d(a.footerTotal||"0"),1)])):p("",!0)])])])},Ed.__scopeId="data-v-5da54d57";var Cn={name:"cyy-ArsenalMyNavigation",data:()=>({}),props:{props:{componentCorner:Number,tab:Number,navTitle:String,titleColor:String,tabColor:String,seeAll:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,marginTop:Number,marginBottom:Number,selectImg:Array,navigationNum:Number,navList:Array}},mounted(){console.log(this.props,555555),5===this.props.navigationNum&&(this.skeleton=["导航1","导航2","导航3","导航4","导航5"])},computed:{},methods:{jump(t){console.log(t,"link"),t&&this.$emit("jump",t)}}};const kn={key:0,class:"more_title"},Sn=["src"],Nn=["onClick"],An=["src"];Uo(".nav_container[data-v-6264cb33]{background:#fff;border-radius:12px;display:flex;flex-direction:column;margin:-42px 12px 0}.order_top[data-v-6264cb33]{border-bottom:1px solid rgba(0,0,0,.1);display:flex;justify-content:space-between;padding:11px}.order_top[data-v-6264cb33] .order_title[data-v-6264cb33]{color:#1e1e1e;font-size:14px;font-weight:700}.order_top[data-v-6264cb33] .more_title[data-v-6264cb33]{color:#999;font-size:12px}.assets_list[data-v-6264cb33]{align-items:center;background:#fff;border-radius:12px;display:flex;flex-wrap:wrap}.assets_list[data-v-6264cb33] .assets_item[data-v-6264cb33]{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-around;margin:10px 0}.assets_list[data-v-6264cb33] .assets_item[data-v-6264cb33] div[data-v-6264cb33]:first-child{font-size:25px}.assets_list[data-v-6264cb33] .assets_item[data-v-6264cb33] .item_name[data-v-6264cb33]{color:#1e1e1e;font-size:12px;margin-top:6px}.navigationNum5[data-v-6264cb33]{width:20%}.navigationNum4[data-v-6264cb33]{width:25%}"),Cn.render=function(t,e,a,o,v,u){return i(),r("div",null,[a.props?(i(),r("div",{key:0,class:"nav_container",style:s({marginTop:a.props.marginTop-42+"px",marginBottom:a.props.marginBottom+10+"px",borderRadius:a.props.componentCorner+"px"})},[0==a.props.tab?(i(),r("div",{key:0,class:"order_top",onClick:e[0]||(e[0]=t=>u.jump(a.props.navList[0].link))},[l("div",{class:"order_title",style:s({color:a.props.titleColor})},d(a.props.navTitle),5),0==a.props.seeAll&&a.props.navList.length>0?(i(),r("div",kn,[l("span",{style:s({color:a.props.tabColor})},d(a.props.navList[0].name),5),l("img",{src:a.props.navList[0].imgUrl,style:{width:"12px",height:"12px"}},null,8,Sn)])):p("",!0)])):p("",!0),l("div",{class:"assets_list",style:s({backgroundColor:a.props.backgroundColor})},[(i(!0),r(n,null,c(a.props.selectImg,((t,e)=>(i(),r("div",{class:g(["assets_item",[5===a.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:e,onClick:e=>u.jump(t.link)},[t&&t.imgUrl?(i(),r("img",{key:0,src:t.imgUrl,style:s({width:0==a.props.photoSize?"24px":"36px",height:0==a.props.photoSize?"24px":"36px",borderRadius:a.props.photoCorner+"px"})},null,12,An)):(i(),r("img",{key:1,src:"http://123.com/image/name.png",style:s({width:0==a.props.photoSize?"24px":"36px",height:0==a.props.photoSize?"24px":"36px",borderRadius:a.props.photoCorner+"px"})},null,4)),t&&t.name?(i(),r("div",{key:2,class:"item_name",style:s({color:a.props.fontColor})},d(t.name),5)):p("",!0)],10,Nn)))),128))],4)],4)):p("",!0)])},Cn.__scopeId="data-v-6264cb33";var In={name:"cyy-ArsenalRecommend",data:()=>({}),mounted(){},methods:{}};const Bn=[C('<div class="recomend_area" data-v-a75a4a9e><div class="first_style" data-v-a75a4a9e></div><div class="second_style" data-v-a75a4a9e></div><div class="title" data-v-a75a4a9e>为您推荐</div><div class="second_style" data-v-a75a4a9e></div><div class="first_style" data-v-a75a4a9e></div></div>',1)];Uo(".recomend_area[data-v-a75a4a9e]{align-items:center;display:flex;justify-content:center;margin:0 20px}.recomend_area[data-v-a75a4a9e] .first_style[data-v-a75a4a9e]{background:#cd1c0e;height:8px;margin-right:3px;width:3px}.recomend_area[data-v-a75a4a9e] .second_style[data-v-a75a4a9e]{background:#cd1c0e;height:14px;margin-right:3px;width:3px}.recomend_area[data-v-a75a4a9e] .title[data-v-a75a4a9e]{color:#000;font-size:16px;font-weight:700;margin:0 7px}"),In.render=function(t,e,a,o,s,d){return i(),r("div",null,Bn)},In.__scopeId="data-v-a75a4a9e";var Dn={name:"cyy-new-product",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number,creatDate:String,priceRange:String,goodsType:String,title:String,subTitle:String,backgroundColor:String,channelCode:String,autoPlay:Number,autoplayInterval:Number,channelCode:Number}},data:()=>({listArr:[],currentPage:0,noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:k}),computed:{wrapperStyle(){return{margin:`${this.props.marginTop}px 0 ${this.props.marginBottom}px 0`,backgroundColor:this.props.backgroundColor,borderRadius:`${this.props.borderRadius}px`}},filterKey(){return(this.props.creatDate||"")+"|"+(this.props.priceRange||"")+"|"+(this.props.goodsType||"")},normalizedList(){return this.listArr.map(((t,e)=>({...t,renderKey:this.getGoodsUniqueKey(t)||`goods-${e}`,isPlaceholder:!1})))},groupedList(){if(3!==this.props.arrange)return[];const t=[];for(let e=0;e<this.normalizedList.length;e+=3){const a=Math.floor(e/3),o=this.normalizedList.slice(e,e+3);for(;o.length<3;)o.push({renderKey:`placeholder-${a}-${o.length}`,isPlaceholder:!0});t.push({pageKey:`page-${a}`,items:o})}return t},autoPlayResult(){return!this.isLc&&3===this.props.arrange&&0===this.props.autoPlay&&this.groupedList.length>1}},mounted(){this.init()},watch:{filterKey(){this.init()},listArr(){this.resetCurrentPage()},"props.arrange"(){this.resetCurrentPage()}},methods:{resetCurrentPage(){this.currentPage=0,this.$nextTick((()=>{const t=this.$refs.lcSwiper;t&&"function"==typeof t.scrollTo&&t.scrollTo({left:0,behavior:"auto"})}))},handleLcScroll(t){const e=t.target,a=e.clientWidth||1;this.currentPage=Math.round(e.scrollLeft/a)},handleSwiperChange(t){this.currentPage=t.detail.current||0},goToPage(t){if(!(t<0||t>=this.groupedList.length)){if(this.isLc){const e=this.$refs.lcSwiper;if(!e)return;const a=e.clientWidth||0;e.scrollTo({left:a*t,behavior:"smooth"})}this.currentPage=t}},getGoodsUniqueKey:t=>t?.goodsCode||t?.skuCode||t?.goodsNo||"",deduplicateGoodsList(t=[]){const e=[],a=new Set;return t.forEach((t=>{if(!t)return;const o=this.getGoodsUniqueKey(t);o&&!a.has(o)&&(a.add(o),e.push(t))})),e},getGoodsImg(t){return t.dataPic?-1===t.dataPic.indexOf("http")?this.domainNameUrl+t.dataPic:t.dataPic:""},goMoreGoods(){if(k)return;const t=this.listArr.map((t=>t.goodsCode)).join(",");this.$routers.push("/pages/goodsList/main",{goodsCode:t,page:"1",rows:"200",order:"asc",sortField:"pricesetNprice"})},formatDate:t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`,parseCreatDate(t){if(!t)return{};try{const e=JSON.parse(t);if("days"===e.type){const t=new Date,a=new Date(t.getTime()-24*Number(e.value)*60*60*1e3);return{gmtCreateQstart:this.formatDate(a),gmtCreateQend:this.formatDate(t)}}if("range"===e.type){if(!e.start)return{};const t=this.formatDate(new Date);return{gmtCreateQstart:e.start,gmtCreateQend:e.end||t}}}catch(t){return console.error("时间解析错误",t),{}}return{}},parsePriceRange(t){if(!t)return{};try{const e=JSON.parse(t);return{pricesetNpriceQmin:e.min||"",pricesetNpriceQmax:e.max||""}}catch(t){return console.error("价格解析错误",t),{}}},async init(){this.domainNameUrl=z(this);const{creatDate:t,priceRange:e,goodsType:a,channelCode:i}=this.props;if(!t||!a)return void(this.listArr=[]);const r={rows:"200",page:"1",...this.parseCreatDate(t),...this.parsePriceRange(e),goodsDataState:"2",isNewArrival:1,channelCode:i};let s;if(a&&(r.goodsType=a),i&&(r.channelCode=i),k){const t=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"";t&&(r.channelCode=t);const e=new URLSearchParams(r).toString(),a={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8","saas-token":localStorage.getItem("saas-token")};s=await fetch(process.env.REACT_APP_BASE_URL+A+"&"+e,{method:"GET",headers:a,credentials:"include"}).then((t=>t.json())).catch((t=>(console.log("接口请求错误",t),{})))}else{const t=await this.http.get(A,r),e=this.deduplicateGoodsList(o(t,"list",[]));if(!e.length)return void(this.listArr=[]);const a=e.map((t=>t.goodsCode)).filter(Boolean),i=a.join(",");if(!i)return void(this.listArr=[]);s=await this.http.get(B+"?rows=200&page=1",{goodsCode:i,dataState:"2",order:"asc",sortField:"pricesetNprice"});const d=this.deduplicateGoodsList(o(s,"list",[])),n=[];a.forEach((t=>{const e=d.find((e=>e.goodsCode===t));e&&n.push(e)})),s={list:n}}this.listArr=this.deduplicateGoodsList(o(s,"list",[]))},goGoodsDetail(t){if(k)return;const{skuCode:e}=t;this.$routers.push("detail",{skuNo:e})},getMaskState:t=>"1"===t?"预售中":"补货中"}};const _n={key:0},Tn={key:0,class:"new-product-header"},jn={class:"header-title"},zn={class:"lc-swiper-track"},Ln=["onClick"],Pn={class:"imgWrapper"},On={key:0,class:"imgMarked"},Fn={class:"maskState"},Rn=["src"],$n={class:"goodsDescription"},Gn={class:"goodsName"},Mn={class:"footerContent"},Un={class:"goodsPrice"},Kn={key:0,class:"scribing"},En=["onClick"],Wn={class:"new-product-page",style:{gap:"10px"}},Hn=["onClick"],Vn={class:"imgWrapper"},qn={key:0,class:"imgMarked"},Yn={class:"maskState"},Qn=["src"],Xn={class:"goodsDescription"},Jn={class:"goodsName"},Zn={class:"footerContent"},tc={class:"goodsPrice"},ec={key:0,class:"scribing"},ac=["onClick"],oc={key:2,class:"swiper-dots"},ic=["onClick"],rc=["onClick"],sc={class:"imgWrapper"},dc={key:0,class:"imgMarked"},nc={class:"maskState"},cc=["src"],lc={class:"goodsDescription"},pc={key:0,class:"specialGoodsName"},gc={key:1,class:"goodsName"},vc={class:"footerContent"},uc={class:"goodsPrice"},fc={key:0,class:"scribing"},mc=["onClick"];Uo(".new-product-header[data-v-c70c087e]{align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.new-product-header[data-v-c70c087e] .header-title[data-v-c70c087e]{color:#333;font-size:18px;font-weight:600}.new-product-header[data-v-c70c087e] .header-subtitle[data-v-c70c087e]{color:#999;font-size:14px}.new-product-swiper[data-v-c70c087e]{width:100%}.mp-swiper[data-v-c70c087e]{height:220px}.lc-swiper[data-v-c70c087e]{-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none}.lc-swiper[data-v-c70c087e]::-webkit-scrollbar{display:none}.lc-swiper-track[data-v-c70c087e]{display:flex}.new-product-page[data-v-c70c087e]{align-items:start;box-sizing:border-box;display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 5px;min-width:100%;width:100%}.new-product-page[data-v-c70c087e] .cube-item[data-v-c70c087e]{background:#fff;min-width:0;padding-bottom:10px}.new-product-page[data-v-c70c087e] .cube-item[data-v-c70c087e].is-placeholder[data-v-c70c087e]{background:transparent;pointer-events:none}.new-product-page[data-v-c70c087e] .goodsImg[data-v-c70c087e]{aspect-ratio:1;display:block;height:100px;width:100%}.new-product-page[data-v-c70c087e] .goodsDescription[data-v-c70c087e]{position:relative}.new-product-page[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .goodsName[data-v-c70c087e]{font-size:13px;height:36px}.new-product-page[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e]{align-items:stretch;flex-direction:column}.new-product-page[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e]{font-size:13px;margin-bottom:4px;text-align:left}.new-product-page[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e] .scribing[data-v-c70c087e]{font-size:11px}.new-product-page[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsBuy[data-v-c70c087e]{align-self:center;background-color:red;border-radius:15px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}.swiper-dots[data-v-c70c087e]{align-items:center;display:flex;justify-content:center;padding:8px 0 4px}.swiper-dot[data-v-c70c087e]{background:#d9d9d9;border-radius:50%;height:8px;margin:0 4px;width:8px}.swiper-dot.active[data-v-c70c087e]{background:#333}.cube-container[data-v-c70c087e]{display:grid}.cube-container[data-v-c70c087e].arrange-1[data-v-c70c087e]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-c70c087e].arrange-1[data-v-c70c087e] .cube-item[data-v-c70c087e]{background:#fff}.cube-container[data-v-c70c087e].arrange-1[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsImg[data-v-c70c087e]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-c70c087e].arrange-1[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .goodsName[data-v-c70c087e]{font-size:20px}.cube-container[data-v-c70c087e].arrange-1[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e]{font-size:18px}.cube-container[data-v-c70c087e].arrange-1[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e] .scribing[data-v-c70c087e]{font-size:14px}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e]{background:#fff;margin:0 5px}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsImg[data-v-c70c087e]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e]{position:relative}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .goodsName[data-v-c70c087e]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .specialGoodsName[data-v-c70c087e]{font-size:12px;height:42px}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e]{font-size:14px}.cube-container[data-v-c70c087e].arrange-2[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e] .scribing[data-v-c70c087e]{font-size:12px}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e]{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e]{background:#fff;height:189px;margin:0 5px;padding-bottom:10px;width:107px}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsImg[data-v-c70c087e]{aspect-ratio:1;height:100px;width:100%}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e]{position:relative}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .goodsName[data-v-c70c087e]{font-size:13px;height:36px}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e]{align-items:stretch;flex-direction:column}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e]{font-size:13px;margin-bottom:4px;text-align:left}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e] .scribing[data-v-c70c087e]{font-size:11px}.cube-container[data-v-c70c087e].arrange-5[data-v-c70c087e] .cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsBuy[data-v-c70c087e]{align-self:center;background-color:red;border-radius:15px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}.cube-item[data-v-c70c087e] .imgWrapper[data-v-c70c087e]{position:relative;text-align:center}.cube-item[data-v-c70c087e] .imgMarked[data-v-c70c087e]{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-item[data-v-c70c087e] .imgMarked[data-v-c70c087e] .maskState[data-v-c70c087e]{color:#fff;font-size:23px}.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e]{display:flex;flex-direction:column;justify-content:space-between}.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .goodsName[data-v-c70c087e],.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .specialGoodsName[data-v-c70c087e]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e]{align-items:flex-start;display:flex;justify-content:space-between}.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e]{color:#f53a50;font-weight:600}.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .footerContent[data-v-c70c087e] .goodsPrice[data-v-c70c087e] .scribing[data-v-c70c087e]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-item[data-v-c70c087e] .goodsDescription[data-v-c70c087e] .goodsBuy[data-v-c70c087e]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Dn.render=function(t,e,a,o,u,f){const h=m("swiper-item"),x=m("swiper");return i(),r("div",null,[u.listArr.length||u.isLc?(i(),r("div",{key:1,style:s({margin:`${a.props.marginTop}px 0 ${a.props.marginBottom}px 0`,backgroundColor:`${a.props.backgroundColor}`,borderRadius:`${a.props.borderRadius}px`})},[a.props.title||a.props.subTitle?(i(),r("div",Tn,[l("div",jn,d(a.props.title),1),l("div",{class:"header-subtitle",onClick:e[0]||(e[0]=t=>f.goMoreGoods())},d(a.props.subTitle),1)])):p("",!0),u.listArr.length?(i(),r(n,{key:1},[3===a.props.arrange?(i(),r(n,{key:0},[u.isLc?(i(),r("div",{key:0,ref:"lcSwiper",class:"new-product-swiper lc-swiper",onScroll:e[1]||(e[1]=(...t)=>f.handleLcScroll&&f.handleLcScroll(...t))},[l("div",zn,[(i(!0),r(n,null,c(f.groupedList,(t=>(i(),r("div",{key:t.pageKey,class:"new-product-page",style:{gap:"10px"}},[(i(!0),r(n,null,c(t.items,(t=>(i(),r("div",{key:t.renderKey,class:g(["cube-item",{"is-placeholder":t.isPlaceholder}]),onClick:e=>!t.isPlaceholder&&f.goGoodsDetail(t),style:s({borderRadius:`${a.props.borderRadius}px`,marginBottom:`${a.props.marginBottom}px`,marginTop:`${a.props.marginTop}px`})},[t.isPlaceholder?p("",!0):(i(),r(n,{key:0},[l("div",Pn,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(i(),r("div",On,[l("div",Fn,d(f.getMaskState(t.goodsProperty5)),1)])):p("",!0),l("img",{class:"goodsImg",src:f.getGoodsImg(t),alt:"",style:s({borderRadius:`${a.props.borderRadius}px`})},null,12,Rn)]),l("div",$n,[l("div",Gn,d(t.goodsName),1),l("section",Mn,[l("div",Un,[v(" ¥"+d(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",Kn,"¥"+d(t.pricesetMakeprice),1)):p("",!0)]),l("div",{class:"goodsBuy",onClick:w((e=>f.goGoodsDetail(t)),["stop"])},"立即购买",8,En)])])],64))],14,Ln)))),128))])))),128))])],544)):(i(),y(x,{key:1,class:"new-product-swiper mp-swiper",current:u.currentPage,autoplay:f.autoPlayResult,interval:a.props.autoplayInterval||1500,circular:f.groupedList.length>1,"indicator-dots":!1,onChange:f.handleSwiperChange},{default:b((()=>[(i(!0),r(n,null,c(f.groupedList,(t=>(i(),y(h,{key:t.pageKey},{default:b((()=>[l("div",Wn,[(i(!0),r(n,null,c(t.items,(t=>(i(),r("div",{key:t.renderKey,class:g(["cube-item",{"is-placeholder":t.isPlaceholder}]),onClick:e=>!t.isPlaceholder&&f.goGoodsDetail(t),style:s({borderRadius:`${a.props.borderRadius}px`,marginBottom:`${a.props.marginBottom}px`,marginTop:`${a.props.marginTop}px`})},[t.isPlaceholder?p("",!0):(i(),r(n,{key:0},[l("div",Vn,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(i(),r("div",qn,[l("div",Yn,d(f.getMaskState(t.goodsProperty5)),1)])):p("",!0),l("img",{class:"goodsImg",src:f.getGoodsImg(t),alt:"",style:s({borderRadius:`${a.props.borderRadius}px`})},null,12,Qn)]),l("div",Xn,[l("div",Jn,d(t.goodsName),1),l("section",Zn,[l("div",tc,[v(" ¥"+d(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",ec,"¥"+d(t.pricesetMakeprice),1)):p("",!0)]),l("div",{class:"goodsBuy",onClick:w((e=>f.goGoodsDetail(t)),["stop"])},"立即购买",8,ac)])])],64))],14,Hn)))),128))])])),_:2},1024)))),128))])),_:1},8,["current","autoplay","interval","circular","onChange"])),f.groupedList.length>1?(i(),r("div",oc,[(i(!0),r(n,null,c(f.groupedList,((t,e)=>(i(),r("div",{key:t.pageKey,class:g(["swiper-dot",{active:u.currentPage===e}]),onClick:t=>f.goToPage(e)},null,10,ic)))),128))])):p("",!0)],64)):(i(),r("div",{key:1,class:g(["cube-container",`arrange-${a.props.arrange}`])},[(i(!0),r(n,null,c(f.normalizedList,(t=>(i(),r("div",{key:t.renderKey,class:"cube-item",onClick:e=>f.goGoodsDetail(t),style:s({borderRadius:`${a.props.borderRadius}px`,marginBottom:`${a.props.marginBottom}px`,marginTop:`${a.props.marginTop}px`})},[l("div",sc,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(i(),r("div",dc,[l("div",nc,d(f.getMaskState(t.goodsProperty5)),1)])):p("",!0),l("img",{class:"goodsImg",src:f.getGoodsImg(t),alt:"",style:s({borderRadius:`${a.props.borderRadius}px`})},null,12,cc)]),l("div",lc,[!0===u.isLc&&2===a.props.arrange?(i(),r("div",pc,d(t.goodsName),1)):(i(),r("div",gc,d(t.goodsName),1)),l("section",vc,[l("div",uc,[v(" ¥"+d(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",fc,"¥"+d(t.pricesetMakeprice),1)):p("",!0)]),l("div",{class:"goodsBuy",onClick:w((e=>f.goGoodsDetail(t)),["stop"])},"立即购买",8,mc)])])],12,rc)))),128))],2))],64)):p("",!0)],4)):(i(),r("div",_n))])},Dn.__scopeId="data-v-c70c087e";var hc={name:"cyy-ArsenalPromotion",props:{props:{compName:String,headImg:String,classList:Array,promotionType:Number,carIcon:Number,bgColor:String,getBgColor:String,fontColor:String,getfontColor:String,navigationHeight:Number,navigationFontSize:Number,classDomainList:Array}},data(){return{classTitleStyle:{height:this.props.navigationHeight+"px",lineHeight:this.props.navigationHeight+"px",fontSize:this.props.navigationFontSize+"px"},classDomainList:[],domainNameUrl:"",isLc:k,checkClassIndex:-1,targetId:"",scrollTop:0}},mounted(){this.domainNameUrl=z(this),this.classDomainList=JSON.parse(JSON.stringify(this.props.classDomainList)),this.initgoods()},computed:{},methods:{initgoods(){let t=this;return k?this.LcGetGoodsList(t):this.getGoodsList(t)},async LcGetGoodsList(t){let e=t.classDomainList;for(let t of e){if(1==t.changeGoodsType){const e=`${B}?vendibilityFlag=true&childFlag=true&bizType=goods&hjFlag=true&area=北京朝阳区八里庄街道&page=1&rows=20&searchType=match_phrase&goodsType=00,40,41,60,61,62,32&classtreeCode=${t.classtreeCode}&channelCode=${zs}`,a=await Ur(e);t.goodsList=a.list}if(2==t.changeGoodsType){const e=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",a=`${A}?rows=200&page=1&goodsCode=${t.changeGoodsStr.replace("arsenalGoodsClass,","")}&channelCode=${e}`,o=await Ur(a);t.goodsList=o.list}}t.classDomainList=e},async getGoodsList(t){for(let e of t.classDomainList){let a={vendibilityFlag:!0,childFlag:!0,bizType:"goods",hjFlag:!0,area:t.$storage.get("addressValue")?t.$storage.get("addressValue"):"北京朝阳区八里庄街道",page:1,rows:20,searchType:"match_phrase",goodsType:"00,40,41,60,61,62,32",classtreeCode:e.classtreeCode};if(1==e.changeGoodsType){const o=await t.http.get(`${B}`,a);t.$set(e,"goodsList",o.list)}let o={goodsCode:e.changeGoodsStr.replace("arsenalGoodsClass,","")};if(2==e.changeGoodsType){const a=await L(t,o);t.$set(e,"goodsList",a.list)}}},checkClass(t){this.checkClassIndex=t,this.targetId=`item-${t}`},addShoppingShow(t){k||this.$emit("addShoppingShow",t)},getMaskState:t=>"1"===t?"预售中":"补货中",getTextStyle:t=>({color:t.titleColor||"#000000",fontSize:t.titleFontSize||"16px"}),goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},handleScroll(t){this.scrollTop=t.detail.scrollTop}}};const bc=t=>(u("data-v-21da8ed8"),t=t(),f(),t),yc=["onClick"],xc=["src"],wc=["src"],Cc={class:"classContent"},kc=["id"],Sc=["src"],Nc=["src"],Ac=["src"],Ic={class:"text-overlay"},Bc=["src"],Dc={key:2,class:"coupon"},_c=[bc((()=>l("div",{class:"left"},[l("div",{class:"card"},"代金券"),l("div",{class:"price"},"面额10元")],-1))),bc((()=>l("div",{class:"right"},[l("div",{class:"right-container"},[l("span",{class:"discount"},"满100减10"),l("span",{class:"date"},"2025.06.03至2025.06.30")]),l("span",{class:"get_btn"},"点击领取")],-1)))],Tc=["onClick"],jc={class:"imgWrapper"},zc={class:"maskState"},Lc=["src"],Pc={class:"goodsDescription"},Oc={class:"goodsPrice"},Fc={key:0,class:"scribing"},Rc={class:"goodsBuy"},$c=["onClick"];Uo(".headerImg[data-v-21da8ed8]{width:100%}.classTitle[data-v-21da8ed8]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle[data-v-21da8ed8] .classTitleItem[data-v-21da8ed8]{margin-right:10px}.classTitle[data-v-21da8ed8] .classTitleItem[data-v-21da8ed8] .classSpan[data-v-21da8ed8]{border-radius:20px;padding:4px 12px}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentSpan[data-v-21da8ed8]{display:flex;justify-content:center;padding:30px 0}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImg[data-v-21da8ed8]{width:100%}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8]{position:relative;width:100%}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .classContentImg[data-v-21da8ed8]{display:block;height:auto;width:100%}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8]{background-color:#fff;border-radius:30px;display:flex;height:100px;margin-top:20px;position:relative;width:90%}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .left[data-v-21da8ed8]{align-items:center;border-right:1px dashed #ccc;display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .left[data-v-21da8ed8] .card[data-v-21da8ed8]{color:#eb5555;font-size:20px}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .left[data-v-21da8ed8] .price[data-v-21da8ed8]{color:#888;font-size:12px}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .right[data-v-21da8ed8]{align-items:center;display:flex;justify-content:center;margin-left:10px}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .right[data-v-21da8ed8] .right-container[data-v-21da8ed8]{display:flex;flex-direction:column;justify-content:space-around}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .right[data-v-21da8ed8] .date[data-v-21da8ed8]{color:#888;font-size:12px;margin-top:15px}.classContent[data-v-21da8ed8] .classContentItem[data-v-21da8ed8] .classContentImgBox[data-v-21da8ed8] .text-overlay[data-v-21da8ed8] .coupon[data-v-21da8ed8] .right[data-v-21da8ed8] .get_btn[data-v-21da8ed8]{background-color:#eb5555;border-radius:20px;color:#f1f1f1;height:20px;line-height:20px;text-align:center;width:68px}.cube-container[data-v-21da8ed8]{display:grid}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8] .cube-item[data-v-21da8ed8]{flex:0 0 auto;max-width:30%;width:30%}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsImg[data-v-21da8ed8]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8]{font-size:18px}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8] .scribing[data-v-21da8ed8]{font-size:14px}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsName[data-v-21da8ed8]{font-size:20px}.cube-container[data-v-21da8ed8].arrange-4[data-v-21da8ed8] .cube-item[data-v-21da8ed8]:not(:last-child){margin-right:10px}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8]{display:flex;overflow-x:scroll}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8] .cube-item[data-v-21da8ed8]{flex:0 0 auto;max-width:32%;width:32%}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsImg[data-v-21da8ed8]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8]{font-size:18px}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8] .scribing[data-v-21da8ed8]{font-size:14px}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsName[data-v-21da8ed8]{font-size:20px}.cube-container[data-v-21da8ed8].arrange-3[data-v-21da8ed8] .cube-item[data-v-21da8ed8]:not(:last-child){margin-right:10px}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8]{margin:0 5px}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsImg[data-v-21da8ed8]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8]{position:relative}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsName[data-v-21da8ed8]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .specialGoodsName[data-v-21da8ed8]{font-size:12px;height:42px}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8]{font-size:14px}.cube-container[data-v-21da8ed8].arrange-2[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8] .scribing[data-v-21da8ed8]{font-size:12px}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .imgWrapper[data-v-21da8ed8] .goodsImg[data-v-21da8ed8]{height:100px;width:100px}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsName[data-v-21da8ed8]{font-size:16px;height:auto}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8]{font-size:16px}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8] .scribing[data-v-21da8ed8]{font-size:12px}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsBuyWrapper[data-v-21da8ed8]{position:relative}.cube-container[data-v-21da8ed8].arrange-1[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsBuyWrapper[data-v-21da8ed8] .goodsBuy[data-v-21da8ed8]{position:absolute;right:0;top:0}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .imgWrapper[data-v-21da8ed8]{position:relative;text-align:center}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .imgMarked[data-v-21da8ed8]{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-21da8ed8] .cube-item[data-v-21da8ed8] .imgMarked[data-v-21da8ed8] .maskState[data-v-21da8ed8]{color:#fff;font-size:23px}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .goodsName[data-v-21da8ed8]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8]{color:#f53a50;font-weight:600}.cube-container[data-v-21da8ed8] .cube-item[data-v-21da8ed8] .goodsDescription[data-v-21da8ed8] .footerContent[data-v-21da8ed8] .goodsPrice[data-v-21da8ed8] .scribing[data-v-21da8ed8]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),hc.render=function(t,e,a,o,u,f){const y=m("scroll-view");return i(),r("div",null,[l("div",null,[u.scrollTop>20||u.isLc?(i(),r("div",{key:0,class:"classTitle",style:s({backgroundColor:a.props.bgColor})},[(i(!0),r(n,null,c(u.classDomainList,((t,e)=>(i(),r("span",{class:"classTitleItem",key:t.goodsClassId,style:s({height:a.props.navigationHeight+"px",lineHeight:a.props.navigationHeight+"px",fontSize:a.props.navigationFontSize+"px"})},[l("span",{class:"classSpan",onClick:t=>f.checkClass(e),style:s({background:u.checkClassIndex===e?a.props.getBgColor:a.props.bgColor,color:u.checkClassIndex===e?a.props.getfontColor:a.props.fontColor})},d(t.goodsChangeClassName),13,yc)],4)))),128))],4)):p("",!0),h(y,{"scroll-y":"true","scroll-with-animation":"true",onScroll:f.handleScroll,"scroll-into-view":u.targetId,style:{height:"100vh"}},{default:b((()=>[a.props.headImg?(i(),r(n,{key:0},[u.isLc?(i(),r("img",{key:0,class:"headerImg",src:a.props.headImg},null,8,xc)):(i(),r("image",{key:1,class:"headerImg",src:a.props.headImg,mode:"widthFix"},null,8,wc))],64)):p("",!0),l("div",Cc,[(i(!0),r(n,null,c(u.classDomainList,((t,e)=>(i(),r("div",{class:"classContentItem",key:t.goodsClassId,id:"item-"+e},[t.classfooterImg?(i(),r("div",{key:1,class:"classContentImgBox",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[u.isLc?(i(),r("img",{key:0,class:"classContentImg",src:t.classfooterImg},null,8,Nc)):(i(),r("image",{key:1,class:"classContentImg",src:t.classfooterImg,mode:"widthFix"},null,8,Ac)),l("div",Ic,[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,Bc)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},d(t.goodsChangeClassName),5)):p("",!0),"4"==t.promotionType?(i(),r("div",Dc,_c)):p("",!0)])],4)):(i(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,Sc)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},d(t.goodsChangeClassName),5)):p("",!0)],4)),l("div",{class:g(["cube-container",`arrange-${t.showTitle}`,{isLc:u.isLc}]),style:s({backgroundColor:t.goodsBgColor})},[(i(!0),r(n,null,c(t.goodsList,((e,a)=>(i(),r("div",{class:"cube-item",style:s({marginTop:`${t.goodsMt}px`,marginBottom:`${t.goodsBt}px`}),key:e.skuCode,onClick:t=>f.goGoodsDetail(e)},[l("div",jc,[!1===u.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${t.borderRaduils}px`})},[l("div",zc,d(f.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${t.borderRaduils}px`})},null,12,Lc)]),l("div",Pc,[!0===u.isLc&&2===t.showTitle?(i(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},d(e.goodsName),5)):(i(),r("div",{key:1,class:"goodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},d(e.goodsName),5)),l("section",{class:"footerContent",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},[l("div",Oc,[v(" ¥"+d(e.pricesetNprice)+" ",1),1===t.underLineFlag?(i(),r("div",Fc,"¥"+d(e.pricesetMakeprice),1)):p("",!0)]),l("div",Rc,[l("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:w((t=>f.addShoppingShow(e)),["stop"]),style:{height:"25px",width:"25px"}},null,8,$c)])],4)])],12,Tc)))),128))],6)],8,kc)))),128))])])),_:1},8,["onScroll","scroll-into-view"])])])},hc.__scopeId="data-v-21da8ed8";export{Ls as ArsenalActivity,Ri as ArsenalCarousel,Sd as ArsenalClass,Cn as ArsenalMyNavigation,Ed as ArsenalMyTop,_i as ArsenalNavigation,Ai as ArsenalPicture,hc as ArsenalPromotion,In as ArsenalRecommend,hr as ArsenalTop,Wi as Collocation,Go as Cube,Ho as Goods,li as GoodsOne,Kr as Live,Dn as NewProduct,ys as Notice,Ko as Search,ri as Slider,$o as Title,Cd as Video};
|
|
1
|
+
import{isEmpty as e,isEqual as t,isUndefined as o,get as i}from"lodash-es";import{openBlock as a,createElementBlock as r,normalizeStyle as s,toDisplayString as n,Fragment as c,renderList as l,createElementVNode as d,createCommentVNode as p,normalizeClass as g,createTextVNode as u,resolveComponent as h,createVNode as m,withCtx as f,createBlock as b,renderSlot as v,withModifiers as y,createStaticVNode as x}from"vue";const w="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,k=e=>{let t={};for(let o in e)t[o]=C(e[o]);return t},C=e=>w?e+"px":2*e+"rpx",S="web/rs/resourceGoods/queryResGoodsArFromPtFd.json?goodsDataState=2",N="/web/pm/promotionplat/queryPromotionPageForC.json",I="/web/es/searchengine/find.json",A="/web/inf/infuencer/queryInfuencerAndChild.json",B="/web/pm/promotionplat/queryPromotionByCodeAndCheckUser.json",_=e=>w?process.env.REACT_APP_BASE_URL:e.$imgDomain;const D=function(){const o=async(o,i)=>{const{id:a,goods:r}=o.props;if(e(r))return Promise.resolve({list:[]});const s=(e=>{const{goods:o,id:i}=e.props,{mGoods:a}=L[i]||{};return t(o,a)})(o);if(s)return Promise.resolve((e=>{const{mGoodsInfo:t}=L[e];return t})(a));const n=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",c=localStorage.getItem("saas-token");return await fetch(_()+S+"?rows=200&page=1&goodsCode="+i.goodsCode+"&channelCode="+n,{method:"GET",headers:{"saas-token":c,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then(e=>e.json()).then((e={})=>(((e,t,o)=>{L[e]={mGoodsInfo:o,mGoods:t}})(a,r,e),e))};return w?o:async(e,t)=>{const{list:o}=await e.http.get("web/es/searchengine/find.json?rows=200&page=1",t),i=t.goodsCode.split(",");let a=[];return i.forEach(e=>{o.forEach(t=>{t.goodsCode===e&&a.push(t)})}),console.log("findList",a),{list:a}}}(),L={};var T=Array.isArray,j="object"==typeof global&&global&&global.Object===Object&&global,z="object"==typeof self&&self&&self.Object===Object&&self,P=j||z||Function("return this")(),O=P.Symbol,F=Object.prototype,R=F.hasOwnProperty,$=F.toString,G=O?O.toStringTag:void 0;var M=Object.prototype.toString;var U=O?O.toStringTag:void 0;function K(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":U&&U in Object(e)?function(e){var t=R.call(e,G),o=e[G];try{e[G]=void 0;var i=!0}catch(e){}var a=$.call(e);return i&&(t?e[G]=o:delete e[G]),a}(e):function(e){return M.call(e)}(e)}function E(e){return null!=e&&"object"==typeof e}function W(e){return"symbol"==typeof e||E(e)&&"[object Symbol]"==K(e)}var H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;function q(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Y(e){if(!q(e))return!1;var t=K(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Q,X=P["__core-js_shared__"],J=(Q=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"";var Z=Function.prototype.toString;function ee(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var te=/^\[object .+?Constructor\]$/,oe=Function.prototype,ie=Object.prototype,ae=oe.toString,re=ie.hasOwnProperty,se=RegExp("^"+ae.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ne(e){return!(!q(e)||(t=e,J&&J in t))&&(Y(e)?se:te).test(ee(e));var t}function ce(e,t){var o=function(e,t){return null==e?void 0:e[t]}(e,t);return ne(o)?o:void 0}var le=ce(Object,"create");var de=Object.prototype.hasOwnProperty;var pe=Object.prototype.hasOwnProperty;function ge(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var i=e[t];this.set(i[0],i[1])}}function ue(e,t){return e===t||e!=e&&t!=t}function he(e,t){for(var o=e.length;o--;)if(ue(e[o][0],t))return o;return-1}ge.prototype.clear=function(){this.__data__=le?le(null):{},this.size=0},ge.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ge.prototype.get=function(e){var t=this.__data__;if(le){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return de.call(t,e)?t[e]:void 0},ge.prototype.has=function(e){var t=this.__data__;return le?void 0!==t[e]:pe.call(t,e)},ge.prototype.set=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=le&&void 0===t?"__lodash_hash_undefined__":t,this};var me=Array.prototype.splice;function fe(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var i=e[t];this.set(i[0],i[1])}}fe.prototype.clear=function(){this.__data__=[],this.size=0},fe.prototype.delete=function(e){var t=this.__data__,o=he(t,e);return!(o<0)&&(o==t.length-1?t.pop():me.call(t,o,1),--this.size,!0)},fe.prototype.get=function(e){var t=this.__data__,o=he(t,e);return o<0?void 0:t[o][1]},fe.prototype.has=function(e){return he(this.__data__,e)>-1},fe.prototype.set=function(e,t){var o=this.__data__,i=he(o,e);return i<0?(++this.size,o.push([e,t])):o[i][1]=t,this};var be=ce(P,"Map");function ve(e,t){var o,i,a=e.__data__;return("string"==(i=typeof(o=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==o:null===o)?a["string"==typeof t?"string":"hash"]:a.map}function ye(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var i=e[t];this.set(i[0],i[1])}}ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(be||fe),string:new ge}},ye.prototype.delete=function(e){var t=ve(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return ve(this,e).get(e)},ye.prototype.has=function(e){return ve(this,e).has(e)},ye.prototype.set=function(e,t){var o=ve(this,e),i=o.size;return o.set(e,t),this.size+=o.size==i?0:1,this};function xe(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var i=arguments,a=t?t.apply(this,i):i[0],r=o.cache;if(r.has(a))return r.get(a);var s=e.apply(this,i);return o.cache=r.set(a,s)||r,s};return o.cache=new(xe.Cache||ye),o}xe.Cache=ye;var we,ke,Ce,Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/\\(\\)?/g,Ie=(we=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Se,function(e,o,i,a){t.push(i?a.replace(Ne,"$1"):o||e)}),t},ke=xe(we,function(e){return 500===Ce.size&&Ce.clear(),e}),Ce=ke.cache,ke),Ae=Ie;function Be(e,t){for(var o=-1,i=null==e?0:e.length,a=Array(i);++o<i;)a[o]=t(e[o],o,e);return a}var _e=O?O.prototype:void 0,De=_e?_e.toString:void 0;function Le(e){if("string"==typeof e)return e;if(T(e))return Be(e,Le)+"";if(W(e))return De?De.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Te(e,t){return T(e)?e:function(e,t){if(T(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!W(e))||V.test(e)||!H.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Ae(function(e){return null==e?"":Le(e)}(e))}function je(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ze(e,t){for(var o=0,i=(t=Te(t,e)).length;null!=e&&o<i;)e=e[je(t[o++])];return o&&o==i?e:void 0}var Pe=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Oe=Pe;function Fe(e,t,o){"__proto__"==t&&Oe?Oe(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var Re=Object.prototype.hasOwnProperty;function $e(e,t,o){var i=e[t];Re.call(e,t)&&ue(i,o)&&(void 0!==o||t in e)||Fe(e,t,o)}var Ge=/^(?:0|[1-9]\d*)$/;function Me(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&Ge.test(e))&&e>-1&&e%1==0&&e<t}function Ue(e,t,o,i){if(!q(e))return e;for(var a=-1,r=(t=Te(t,e)).length,s=r-1,n=e;null!=n&&++a<r;){var c=je(t[a]),l=o;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(a!=s){var d=n[c];void 0===(l=i?i(d,c,n):void 0)&&(l=q(d)?d:Me(t[a+1])?[]:{})}$e(n,c,l),n=n[c]}return e}function Ke(e,t){return null!=e&&t in Object(e)}function Ee(e){return E(e)&&"[object Arguments]"==K(e)}var We=Object.prototype,He=We.hasOwnProperty,Ve=We.propertyIsEnumerable,qe=Ee(function(){return arguments}())?Ee:function(e){return E(e)&&He.call(e,"callee")&&!Ve.call(e,"callee")};function Ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Qe(e,t){return null!=e&&function(e,t,o){for(var i=-1,a=(t=Te(t,e)).length,r=!1;++i<a;){var s=je(t[i]);if(!(r=null!=e&&o(e,s)))break;e=e[s]}return r||++i!=a?r:!!(a=null==e?0:e.length)&&Ye(a)&&Me(s,a)&&(T(e)||qe(e))}(e,t,Ke)}function Xe(e,t){return function(e,t,o){for(var i=-1,a=t.length,r={};++i<a;){var s=t[i],n=ze(e,s);o(n,s)&&Ue(r,Te(s,e),n)}return r}(e,t,function(t,o){return Qe(e,o)})}function Je(e,t){for(var o=-1,i=t.length,a=e.length;++o<i;)e[a+o]=t[o];return e}var Ze=O?O.isConcatSpreadable:void 0;function et(e){return T(e)||qe(e)||!!(Ze&&e&&e[Ze])}function tt(e,t,o,i,a){var r=-1,s=e.length;for(o||(o=et),a||(a=[]);++r<s;){var n=e[r];t>0&&o(n)?t>1?tt(n,t-1,o,i,a):Je(a,n):i||(a[a.length]=n)}return a}function ot(e){return(null==e?0:e.length)?tt(e,1):[]}var it=Math.max;var at=Oe?function(e,t){return Oe(e,"toString",{configurable:!0,enumerable:!1,value:(o=t,function(){return o}),writable:!0});var o}:function(e){return e},rt=at,st=Date.now;var nt=function(e){var t=0,o=0;return function(){var i=st(),a=16-(i-o);if(o=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(rt),ct=nt;function lt(e){return ct(function(e,t,o){return t=it(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,r=it(i.length-t,0),s=Array(r);++a<r;)s[a]=i[t+a];a=-1;for(var n=Array(t+1);++a<t;)n[a]=i[a];return n[t]=o(s),function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}(e,this,n)}}(e,void 0,ot),e+"")}var dt=lt(function(e,t){return null==e?{}:Xe(e,t)});function pt(e){var t=this.__data__=new fe(e);this.size=t.size}function gt(e,t,o,i){var a=!o;o||(o={});for(var r=-1,s=t.length;++r<s;){var n=t[r],c=i?i(o[n],e[n],n,o,e):void 0;void 0===c&&(c=e[n]),a?Fe(o,n,c):$e(o,n,c)}return o}pt.prototype.clear=function(){this.__data__=new fe,this.size=0},pt.prototype.delete=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o},pt.prototype.get=function(e){return this.__data__.get(e)},pt.prototype.has=function(e){return this.__data__.has(e)},pt.prototype.set=function(e,t){var o=this.__data__;if(o instanceof fe){var i=o.__data__;if(!be||i.length<199)return i.push([e,t]),this.size=++o.size,this;o=this.__data__=new ye(i)}return o.set(e,t),this.size=o.size,this};var ut="object"==typeof exports&&exports&&!exports.nodeType&&exports,ht=ut&&"object"==typeof module&&module&&!module.nodeType&&module,mt=ht&&ht.exports===ut?P.Buffer:void 0,ft=(mt?mt.isBuffer:void 0)||function(){return!1},bt={};function vt(e){return function(t){return e(t)}}bt["[object Float32Array]"]=bt["[object Float64Array]"]=bt["[object Int8Array]"]=bt["[object Int16Array]"]=bt["[object Int32Array]"]=bt["[object Uint8Array]"]=bt["[object Uint8ClampedArray]"]=bt["[object Uint16Array]"]=bt["[object Uint32Array]"]=!0,bt["[object Arguments]"]=bt["[object Array]"]=bt["[object ArrayBuffer]"]=bt["[object Boolean]"]=bt["[object DataView]"]=bt["[object Date]"]=bt["[object Error]"]=bt["[object Function]"]=bt["[object Map]"]=bt["[object Number]"]=bt["[object Object]"]=bt["[object RegExp]"]=bt["[object Set]"]=bt["[object String]"]=bt["[object WeakMap]"]=!1;var yt="object"==typeof exports&&exports&&!exports.nodeType&&exports,xt=yt&&"object"==typeof module&&module&&!module.nodeType&&module,wt=xt&&xt.exports===yt&&j.process,kt=function(){try{var e=xt&&xt.require&&xt.require("util").types;return e||wt&&wt.binding&&wt.binding("util")}catch(e){}}(),Ct=kt&&kt.isTypedArray,St=Ct?vt(Ct):function(e){return E(e)&&Ye(e.length)&&!!bt[K(e)]},Nt=Object.prototype.hasOwnProperty;function It(e,t){var o=T(e),i=!o&&qe(e),a=!o&&!i&&ft(e),r=!o&&!i&&!a&&St(e),s=o||i||a||r,n=s?function(e,t){for(var o=-1,i=Array(e);++o<e;)i[o]=t(o);return i}(e.length,String):[],c=n.length;for(var l in e)!t&&!Nt.call(e,l)||s&&("length"==l||a&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Me(l,c))||n.push(l);return n}var At=Object.prototype;function Bt(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||At)}function _t(e,t){return function(o){return e(t(o))}}var Dt=_t(Object.keys,Object),Lt=Object.prototype.hasOwnProperty;function Tt(e){return null!=e&&Ye(e.length)&&!Y(e)}function jt(e){return Tt(e)?It(e):function(e){if(!Bt(e))return Dt(e);var t=[];for(var o in Object(e))Lt.call(e,o)&&"constructor"!=o&&t.push(o);return t}(e)}var zt=Object.prototype.hasOwnProperty;function Pt(e){if(!q(e))return function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}(e);var t=Bt(e),o=[];for(var i in e)("constructor"!=i||!t&&zt.call(e,i))&&o.push(i);return o}function Ot(e){return Tt(e)?It(e,!0):Pt(e)}var Ft="object"==typeof exports&&exports&&!exports.nodeType&&exports,Rt=Ft&&"object"==typeof module&&module&&!module.nodeType&&module,$t=Rt&&Rt.exports===Ft?P.Buffer:void 0,Gt=$t?$t.allocUnsafe:void 0;function Mt(){return[]}var Ut=Object.prototype.propertyIsEnumerable,Kt=Object.getOwnPropertySymbols,Et=Kt?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var o=-1,i=null==e?0:e.length,a=0,r=[];++o<i;){var s=e[o];t(s,o,e)&&(r[a++]=s)}return r}(Kt(e),function(t){return Ut.call(e,t)}))}:Mt,Wt=Et;var Ht=_t(Object.getPrototypeOf,Object),Vt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Je(t,Wt(e)),e=Ht(e);return t}:Mt,qt=Vt;function Yt(e,t,o){var i=t(e);return T(e)?i:Je(i,o(e))}function Qt(e){return Yt(e,jt,Wt)}function Xt(e){return Yt(e,Ot,qt)}var Jt=ce(P,"DataView"),Zt=ce(P,"Promise"),eo=ce(P,"Set"),to=ce(P,"WeakMap"),oo="[object Map]",io="[object Promise]",ao="[object Set]",ro="[object WeakMap]",so="[object DataView]",no=ee(Jt),co=ee(be),lo=ee(Zt),po=ee(eo),go=ee(to),uo=K;(Jt&&uo(new Jt(new ArrayBuffer(1)))!=so||be&&uo(new be)!=oo||Zt&&uo(Zt.resolve())!=io||eo&&uo(new eo)!=ao||to&&uo(new to)!=ro)&&(uo=function(e){var t=K(e),o="[object Object]"==t?e.constructor:void 0,i=o?ee(o):"";if(i)switch(i){case no:return so;case co:return oo;case lo:return io;case po:return ao;case go:return ro}return t});var ho=uo,mo=Object.prototype.hasOwnProperty;var fo=P.Uint8Array;function bo(e){var t=new e.constructor(e.byteLength);return new fo(t).set(new fo(e)),t}var vo=/\w*$/;var yo=O?O.prototype:void 0,xo=yo?yo.valueOf:void 0;function wo(e,t,o){var i,a=e.constructor;switch(t){case"[object ArrayBuffer]":return bo(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var o=t?bo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}(e,o);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var o=t?bo(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}(e,o);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,vo.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return i=e,xo?Object(xo.call(i)):{}}}var ko=Object.create,Co=function(){function e(){}return function(t){if(!q(t))return{};if(ko)return ko(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),So=Co;var No=kt&&kt.isMap,Io=No?vt(No):function(e){return E(e)&&"[object Map]"==ho(e)};var Ao=kt&&kt.isSet,Bo=Ao?vt(Ao):function(e){return E(e)&&"[object Set]"==ho(e)},_o="[object Arguments]",Do="[object Function]",Lo="[object Object]",To={};function jo(e,t,o,i,a,r){var s,n=1&t,c=2&t,l=4&t;if(o&&(s=a?o(e,i,a,r):o(e)),void 0!==s)return s;if(!q(e))return e;var d=T(e);if(d){if(s=function(e){var t=e.length,o=new e.constructor(t);return t&&"string"==typeof e[0]&&mo.call(e,"index")&&(o.index=e.index,o.input=e.input),o}(e),!n)return function(e,t){var o=-1,i=e.length;for(t||(t=Array(i));++o<i;)t[o]=e[o];return t}(e,s)}else{var p=ho(e),g=p==Do||"[object GeneratorFunction]"==p;if(ft(e))return function(e,t){if(t)return e.slice();var o=e.length,i=Gt?Gt(o):new e.constructor(o);return e.copy(i),i}(e,n);if(p==Lo||p==_o||g&&!a){if(s=c||g?{}:function(e){return"function"!=typeof e.constructor||Bt(e)?{}:So(Ht(e))}(e),!n)return c?function(e,t){return gt(e,qt(e),t)}(e,function(e,t){return e&>(t,Ot(t),e)}(s,e)):function(e,t){return gt(e,Wt(e),t)}(e,function(e,t){return e&>(t,jt(t),e)}(s,e))}else{if(!To[p])return a?e:{};s=wo(e,p,n)}}r||(r=new pt);var u=r.get(e);if(u)return u;r.set(e,s),Bo(e)?e.forEach(function(i){s.add(jo(i,t,o,i,e,r))}):Io(e)&&e.forEach(function(i,a){s.set(a,jo(i,t,o,a,e,r))});var h=d?void 0:(l?c?Xt:Qt:c?Ot:jt)(e);return function(e,t){for(var o=-1,i=null==e?0:e.length;++o<i&&!1!==t(e[o],o,e););}(h||e,function(i,a){h&&(i=e[a=i]),$e(s,a,jo(i,t,o,a,e,r))}),s}function zo(e,t){return t.length<2?e:ze(e,function(e,t,o){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(o=o>a?a:o)<0&&(o+=a),a=t>o?0:o-t>>>0,t>>>=0;for(var r=Array(a);++i<a;)r[i]=e[i+t];return r}(t,0,-1))}To[_o]=To["[object Array]"]=To["[object ArrayBuffer]"]=To["[object DataView]"]=To["[object Boolean]"]=To["[object Date]"]=To["[object Float32Array]"]=To["[object Float64Array]"]=To["[object Int8Array]"]=To["[object Int16Array]"]=To["[object Int32Array]"]=To["[object Map]"]=To["[object Number]"]=To[Lo]=To["[object RegExp]"]=To["[object Set]"]=To["[object String]"]=To["[object Symbol]"]=To["[object Uint8Array]"]=To["[object Uint8ClampedArray]"]=To["[object Uint16Array]"]=To["[object Uint32Array]"]=!0,To["[object Error]"]=To[Do]=To["[object WeakMap]"]=!1;var Po=Object.prototype.hasOwnProperty;function Oo(e,t){var o=-1,i=(t=Te(t,e)).length;if(!i)return!0;for(var a=null==e||"object"!=typeof e&&"function"!=typeof e;++o<i;){var r=t[o];if("string"==typeof r){if("__proto__"===r&&!Po.call(e,"__proto__"))return!1;if("constructor"===r&&o+1<i&&"string"==typeof t[o+1]&&"prototype"===t[o+1]){if(a&&0===o)continue;return!1}}}var s=zo(e,t);return null==s||delete s[je(function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(t))]}var Fo=Function.prototype,Ro=Object.prototype,$o=Fo.toString,Go=Ro.hasOwnProperty,Mo=$o.call(Object);function Uo(e){return function(e){if(!E(e)||"[object Object]"!=K(e))return!1;var t=Ht(e);if(null===t)return!0;var o=Go.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&$o.call(o)==Mo}(e)?void 0:e}var Ko=lt(function(e,t){var o={};if(null==e)return o;var i=!1;t=Be(t,function(t){return t=Te(t,e),i||(i=t.length>1),t}),gt(e,Xt(e),o),i&&(o=jo(o,7,Uo));for(var a=t.length;a--;)Oo(o,t[a]);return o}),Eo=Ko,Wo={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const e=["fontSize","marginTop","marginBottom"],t=dt(this.props||{},e),o=Eo(this.props||{},e);return{...k(t),...o}}}};Wo.render=function(e,t,o,i,c,l){return a(),r("div",{style:s([l.computedStyle])},n(o.props.value),5)};var Ho={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:t,defaultValue:i}=this.props,a=t.filter(e=>!o(e)).filter(e=>!Object.values(e).every(e=>o(e)));let r=i;return e(a)||(r=a),console.log(52,r),r},computedStyle(){const e=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],t=dt(this.props,e),o=Eo(this.props,e);return{...k(t),...o}}}};const Vo=["src"];function qo(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===o&&i.firstChild?i.insertBefore(a,i.firstChild):i.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}qo(".lc-img-item[data-v-37ef13ec]{box-sizing:border-box;width:100%}"),Ho.render=function(e,t,o,i,n,p){return a(),r("div",null,[(a(!0),r(c,null,l(p.resultArr,(t,o)=>(a(),r("div",{key:e.cyy},[d("img",{mode:"widthFix",style:s([p.computedStyle,n.imgStyle]),src:t.imgUrl,alt:""},null,12,Vo)]))),128))])},Ho.__scopeId="data-v-37ef13ec";var Yo={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const e=["marginTop","marginBottom"],t=dt(this.props,e),o=Eo(this.props,e);return{...k(t),...o,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){w||this.$emit("ToSearch")}}};const Qo={style:{overflow:"hidden"}},Xo=["src"];Yo.render=function(e,t,o,i,c,l){return a(),r("div",Qo,[d("div",{style:s([l.computedStyle]),onClick:t[0]||(t[0]=(...e)=>l.goSearch&&l.goSearch(...e))},[o.props.iconShow?(a(),r("img",{key:0,src:o.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Xo)):p("",!0),d("div",{style:s([{flex:"1"},{color:o.props.fontColor}])},n(o.props.value),5)],4)])};var Jo={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:w}),mounted(){this.init()},methods:{async init(){this.domainNameUrl=_(this);const{goods:e=[]}=this.props,t={goodsCode:e.toString()},o=await D(this,t);this.listArr=i(o,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(e){if(w)return;const{skuCode:t}=e;let o={skuNo:t};this.$routers.push("detail",o)},getMaskState:e=>"1"===e?"预售中":"补货中"}};const Zo={key:1},ei=["onClick"],ti={class:"imgWrapper"},oi={class:"maskState"},ii=["src"],ai={class:"goodsDescription"},ri={key:0,class:"specialGoodsName"},si={key:1,class:"goodsName"},ni={class:"footerContent"},ci={class:"goodsPrice"},li={key:0,class:"scribing"};qo(".cube-container[data-v-0c10f761]{display:grid}.cube-container.arrange-1[data-v-0c10f761]{grid-template-columns:repeat(1,1fr)}.cube-container.arrange-1 .cube-item .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-0c10f761]{font-size:20px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-0c10f761]{font-size:18px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-0c10f761]{font-size:14px}.cube-container.arrange-2[data-v-0c10f761]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-0c10f761]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-0c10f761]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-0c10f761]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-0c10f761]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-0c10f761]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-0c10f761]{font-size:12px}.cube-container.arrange-3[data-v-0c10f761]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-0c10f761]{flex:0 0 auto;max-width:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-0c10f761]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-0c10f761]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-0c10f761]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-0c10f761]:not(:last-child){margin-right:10px}.cube-container.arrange-4 .cube-item[data-v-0c10f761]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-4 .cube-item .imgWrapper .goodsImg[data-v-0c10f761]{height:100px;width:100px}.cube-container.arrange-4 .cube-item .goodsDescription[data-v-0c10f761]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-0c10f761]{font-size:16px;height:auto}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-0c10f761]{font-size:16px}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-0c10f761]{font-size:12px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper[data-v-0c10f761]{position:relative}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-0c10f761]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-0c10f761]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-0c10f761]{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 .cube-item .imgMarked .maskState[data-v-0c10f761]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-0c10f761]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-0c10f761]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-0c10f761]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-0c10f761]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-0c10f761]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container .cube-item .goodsDescription .goodsBuy[data-v-0c10f761]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Jo.render=function(e,t,o,i,h,m){return a(),r("div",null,[h.listArr.length?(a(),r("div",Zo,[d("div",{class:g(["cube-container",`arrange-${o.props.arrange}`,{isLc:h.isLc}]),style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,gap:`${o.props.margin}px`})},[(a(!0),r(c,null,l(h.listArr,(e,i)=>(a(),r("div",{class:"cube-item",key:e.skuCode,onClick:t=>m.goGoodsDetail(e)},[d("div",ti,[!1===h.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${o.props.borderRadius}px`})},[d("div",oi,n(m.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?h.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,ii)]),d("div",ai,[!0===h.isLc&&2===o.props.arrange?(a(),r("div",ri,n(e.goodsName),1)):(a(),r("div",si,n(e.goodsName),1)),d("section",ni,[d("div",ci,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",li,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),t[0]||(t[0]=d("div",{class:"goodsBuy"},"立即购买",-1))])])],8,ei))),128))],6)])):(a(),r("div",{key:0,style:s(h.noDataStyle)},"请选择商品",4))])},Jo.__scopeId="data-v-0c10f761";var di={name:"cyy-slider",data:()=>({lowCode:w}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:t,defaultValue:i}=this.props,a=t.filter(e=>!o(e)).filter(e=>!Object.values(e).every(e=>o(e)));let r=i;return e(a)||(r=a),r},imgH(){const{imgHeight:e}=this.props;return e.height/e.width*750},sliderStyle(){const e=dt(this.props,["marginTop","marginBottom"]);return{...k(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const pi={key:0},gi=["src"],ui={key:1},hi=["src"];qo(".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}"),di.render=function(e,t,o,i,n,p){const g=h("swiper-item"),u=h("swiper");return a(),r("div",null,[n.lowCode?(a(),r("div",pi,[d("div",{class:"lowCode-warp",style:s([p.sliderStyle])},[d("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,gi),d("ul",null,[(a(!0),r(c,null,l(p.resultArr,(t,o)=>(a(),r("li",{key:e.cyy}))),128))])],4)])):(a(),r("div",ui,[m(u,{"indicator-dots":!0,autoplay:o.props.autoplay,interval:o.props.autoplayInterval,vertical:p.reDirection,circular:o.props.loop,style:s({height:p.imgH+"rpx"})},{default:f(()=>[(a(!0),r(c,null,l(p.resultArr,(t,o)=>(a(),b(g,{key:e.cyy,style:s([p.sliderStyle,{boxSizing:"border-box"}])},{default:f(()=>[d("img",{src:t.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,hi)]),_:2},1032,["style"]))),128))]),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var mi={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:e=[]}=this.props;console.log(197);const t=e.toString();console.log(198);const o={goodsCode:t};console.log(199,o);const a=await D(this,o);this.listArr=i(a,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(w)return;const{skuCode:t,skuNo:o}=e;let i={skuCode:t,skuNo:o};this.$routers.push("detail",i)},jumpToSearch(){}},maskTitle:e=>"1"===e?"预售中":"补货中"};const fi={key:1},bi={class:"three-layout"},vi={key:0,class:"top-left"},yi={key:1,class:"top-right"},xi={class:"three-layout-content"},wi={class:"three-layout-bigImg"},ki=["src"],Ci={class:"three-layout-goods"},Si=["src"],Ni={key:0,class:"mask-three-more"},Ii={class:"price-box"},Ai={class:"now-price"},Bi={key:0,class:"origin-price"};qo(".three-layout[data-v-326730f6]{border-radius:7px}.three-layout .mask-three-more[data-v-326730f6]{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 .three-layout-title[data-v-326730f6]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout .three-layout-title .top-left[data-v-326730f6]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout .three-layout-title .top-right[data-v-326730f6]{align-items:center;display:flex}.three-layout .three-layout-title .top-right div[data-v-326730f6]{color:#595959;font-size:12px}.three-layout .three-layout-title .top-right image[data-v-326730f6]{height:9px;margin-left:3px;width:6px}.three-layout .three-layout-content[data-v-326730f6]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout .three-layout-content .three-layout-bigImg image[data-v-326730f6]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout .three-layout-content .three-layout-goods[data-v-326730f6]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout .three-layout-content .three-layout-goods .goods-items[data-v-326730f6]{width:106px}.scroll-list[data-v-326730f6]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list .scroll-item[data-v-326730f6]{display:inline-block;margin-right:10px}.scroll-list .scroll-item image[data-v-326730f6]{border-radius:5px;height:98px;width:98px}.scroll-list .scroll-item p[data-v-326730f6]{-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-326730f6]{margin-top:10px}"),mi.render=function(e,t,o,i,g,b){const v=h("vop-label"),y=h("scroll-view");return a(),r("div",null,[o.props.goods?(a(),r("div",fi,[d("div",bi,[d("div",{class:"three-layout-title",onClick:t[0]||(t[0]=e=>b.jumpToSearch())},[o.props.title.isShow?p("",!0):(a(),r("div",vi,n(o.props.title.title||""),1)),1===o.props.more?(a(),r("div",yi,[...t[2]||(t[2]=[d("div",null,"更多",-1),d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)])])):p("",!0)]),d("div",xi,[d("div",wi,[d("image",{"lazy-load":!0,src:o.props.bill?o.props.bill:"",mode:"aspectFill"},null,8,ki)]),d("div",Ci,[m(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:f(()=>[(a(!0),r(c,null,l(g.listArr,(o,i)=>(a(),r("div",{class:"scroll-item",key:i,onClick:t[1]||(t[1]=t=>e.toDetail())},[d("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+o.dataPic,mode:"aspectFill"},null,8,Si),o.goodsSupplynum<=0||"1"===o.goodsProperty5?(a(),r("div",Ni,n(e.maskTitle(o.goodsProperty5)),1)):p("",!0),d("p",null,[m(v,{goodsType:o.contlistPrice1},null,8,["goodsType"]),u(n(o.goodsName),1)]),d("div",Ii,[d("div",Ai,"¥"+n(o.pricesetMakeprice||0),1),1==o.contlistConNow?(a(),r("div",Bi,"¥"+n(o.pricesetBaseprice||0),1)):p("",!0)])]))),128))]),_:1})])])])])):(a(),r("div",{key:0,style:s(g.noDataStyle)},"请选择商品样式一",4))])},mi.__scopeId="data-v-326730f6";var _i={name:"cyy-ArsenalPicture",data:()=>({classOptions:{showA:!1,showB:!1,showC:!1,showD:!1,showE:!1,showF:!1,showG:!1,showH:!1,showI:!1,showJ:!1},imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,spacing:Number,marginTop:Number,marginBottom:Number,selectImg:Array,defaultValue:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},computed:{resultArr(){const{selectImg:t,defaultValue:i}=this.props,a=t.filter(e=>!o(e)).filter(e=>!Object.values(e).every(e=>o(e)));let r=i;return e(a)||(r=a),console.log(52,r),r}},methods:{whitchClass(){if(1===this.props.showStyle)return 0!=this.props.spacing?void(this.classOptions.showJ=!0):void(this.classOptions.showI=!0);if(0==this.props.spacing)switch(this.resultArr.length){case 1:this.classOptions.showA=!0;break;case 2:this.classOptions.showB=!0;break;case 3:this.classOptions.showC=!0;break;case 4:this.classOptions.showD=!0}else switch(this.props.selectImg.length){case 1:this.classOptions.showE=!0;break;case 2:this.classOptions.showF=!0;break;case 3:this.classOptions.showG=!0;break;case 4:this.classOptions.showH=!0}},linkClick(e){this.$emit("linkClick",e)}}};const Di={key:0,class:"holder"},Li=["src","onClick"],Ti=["src","onClick"];qo(".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 .classA-show[data-v-38f6475c]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture .classB-show[data-v-38f6475c]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture .classC-show[data-v-38f6475c]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture .classD-show[data-v-38f6475c]{aspect-ratio:1;width:25%}.ArsenalPicture .classE-show[data-v-38f6475c]{height:392px;width:392px}.ArsenalPicture .classF-show[data-v-38f6475c]{height:180px;width:180px}.ArsenalPicture .classG-show[data-v-38f6475c]{height:120px;width:120px}.ArsenalPicture .classH-show[data-v-38f6475c]{height:80px;width:80px}.ArsenalPicture .ArsenalImg[data-v-38f6475c]{height:100%!important;width:100%}.ArsenalPicture-colunm .classI-show[data-v-38f6475c],.ArsenalPicture-colunm[data-v-38f6475c]{width:100%}.ArsenalPicture-colunm .classJ-show[data-v-38f6475c]{margin-bottom:20px;width:100%}.ArsenalPicture-colunm .ArsenalImg[data-v-38f6475c]{height:100%!important;width:100%}.ArsenalPicture-colunm .ArsenalImg-classIJ[data-v-38f6475c]{width:100%}"),_i.render=function(e,t,o,i,n,d){return a(),r("div",null,[o.props.selectImg.length?(a(),r("div",{key:1,class:g([1===o.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(a(!0),r(c,null,l(d.resultArr,(e,t)=>(a(),r("div",{key:t,class:g({"classA-show":n.classOptions.showA,"classB-show":n.classOptions.showB,"classC-show":n.classOptions.showC,"classD-show":n.classOptions.showD,"classE-show":n.classOptions.showE,"classF-show":n.classOptions.showF,"classG-show":n.classOptions.showG,"classH-show":n.classOptions.showH,"classI-show":n.classOptions.showI,"classJ-show":n.classOptions.showJ})},[n.classOptions.showJ||n.classOptions.showI?(a(),r("img",{key:0,class:"ArsenalImg-classIJ",mode:"widthFix",src:e.imgUrl,alt:"",style:s({borderRadius:o.props.cornerStyle+"px"}),onClick:t=>d.linkClick(e)},null,12,Li)):(a(),r("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:e.imgUrl,alt:"",style:s({borderRadius:o.props.cornerStyle+"px"}),onClick:t=>d.linkClick(e)},null,12,Ti))],2))),128))],6)):(a(),r("div",Di,"请选择添加图片"))])},_i.__scopeId="data-v-38f6475c";var ji={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,navigationNum:Number}},mounted(){5===this.props.navigationNum&&(this.skeleton=["导航1","导航2","导航3","导航4","导航5"])},computed:{resultArr(){const{selectImg:t,defaultValue:i}=this.props,a=t.filter(e=>null!==e).filter(e=>!o(e)).filter(e=>!Object.values(e).every(e=>o(e)));let r=i;return e(a)||(r=a),console.log(52,r),r}},methods:{classifyPhotoCorner:e=>20===e?8:50===e?16:e,linkClick(e){this.$emit("linkClick",e)}}};const zi={key:0,class:"holder"},Pi=["onClick"],Oi=["src"],Fi={key:1},Ri=["onClick"],$i=["src"];qo(".holder[data-v-27ca3374]{height:75px;padding:10px 0;width:100%}.holder ul[data-v-27ca3374]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder ul li[data-v-27ca3374]{list-style:none}.holder ul li div[data-v-27ca3374]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder ul li div span[data-v-27ca3374]{display:flex;font-size:12px;justify-content:center}.golds[data-v-27ca3374]{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 .golds-item[data-v-27ca3374]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0}.golds .golds-item div[data-v-27ca3374]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center}.golds .navigationNum4[data-v-27ca3374]{width:25%}.golds .navigationNum5[data-v-27ca3374]{width:20%}.photoSizeBig[data-v-27ca3374]{height:58px;width:58px}.photoSizeSmall[data-v-27ca3374]{height:48px;width:48px}.classify-list[data-v-27ca3374]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list .classify-item[data-v-27ca3374]{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 .classify-item div[data-v-27ca3374]{font-weight:700}.classify-list .classify-item img[data-v-27ca3374]{margin:7.5px 0}.classify-list .classify-item[data-v-27ca3374]:first-child,.classify-list .classify-item[data-v-27ca3374]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-27ca3374]{width:48%}.classifyItemSmall[data-v-27ca3374]{width:46%}.classifyImgBig[data-v-27ca3374]{height:90px;width:100%}.classifyImgSmall[data-v-27ca3374]{height:87.75px;width:100%}.classifyFontBig[data-v-27ca3374]{font-size:12px;height:12px}.classifyFontSmall[data-v-27ca3374]{font-size:11px;height:12px}"),ji.render=function(e,t,o,i,u,h){return a(),r("div",null,[h.resultArr.length?(a(),r(c,{key:1},[0===o.props.showStyle?(a(),r("div",{key:0,class:"golds",style:s({backgroundColor:o.props.backgroundColor,marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(a(!0),r(c,null,l(h.resultArr,(e,t)=>(a(),r("div",{class:g(["golds-item",[5===o.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:t,onClick:t=>h.linkClick(e)},[d("img",{class:g([1===o.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:s({borderRadius:o.props.photoCorner+"%"}),"lazy-load":!0,src:e.imgUrl},null,14,Oi),d("div",{style:s({color:o.props.fontColor})},n(e.name),5)],10,Pi))),128))],4)):p("",!0),1===o.props.showStyle?(a(),r("div",Fi,[d("div",{class:"classify-list",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(a(!0),r(c,null,l(h.resultArr,(e,t)=>(a(),r("div",{class:g(["classify-item",[1===o.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:s({backgroundColor:o.props.backgroundColor}),key:t,onClick:t=>h.linkClick(e)},[d("div",{class:g([1===o.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:s({color:o.props.fontColor})},n(e.name),7),d("img",{class:g([1===o.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:s({borderRadius:h.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl},null,14,$i)],14,Ri))),128))],4)])):p("",!0)],64)):(a(),r("div",zi,[d("ul",null,[(a(!0),r(c,null,l(u.skeleton,(e,o)=>(a(),r("li",{key:o},[t[0]||(t[0]=d("div",null,null,-1)),d("span",null,n(e),1)]))),128))])]))])},ji.__scopeId="data-v-27ca3374";var Gi={name:"cyy-ArsenalCarousel",data:()=>({lowCode:w}),props:{props:{photoCorner:Number,autoPlay:Number,autoplayInterval:Number,direction:Number,loop:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:t,defaultValue:i}=this.props,a=t.filter(e=>!o(e)).filter(e=>!Object.values(e).every(e=>o(e)));let r=i;return e(a)||(r=a),console.log(52,r),r}},methods:{classifyPhotoCorner:e=>20===e?10:50===e?20:e,linkClick(e){this.$emit("linkClick",e)}}};const Mi={key:0},Ui=["src"],Ki={class:"swiper"},Ei=["src","onClick"];qo(".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 .swiper .swiper-content[data-v-7be72334],.swiperBox .swiper[data-v-7be72334]{height:150px;width:100%}.swiperBox .swiper .swiper-content .img-item[data-v-7be72334]{box-sizing:border-box;padding:0 12.5px}.swiperBox .swiper img[data-v-7be72334]{border-radius:10px;height:100%;width:100%}"),Gi.render=function(e,t,o,i,n,p){const g=h("swiper-item"),u=h("block"),v=h("swiper");return a(),r("div",null,[n.lowCode?(a(),r("div",Mi,[d("div",{class:"lowCode-warp",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[d("img",{src:p.resultArr[0].imgUrl,alt:"",style:s({borderRadius:p.classifyPhotoCorner(o.props.photoCorner)+"px",width:"100%"})},null,12,Ui),d("ul",null,[(a(!0),r(c,null,l(p.resultArr,(e,t)=>(a(),r("li",{key:t}))),128))])],4)])):(a(),r("div",{key:1,class:"swiperBox",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[d("div",Ki,[m(v,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:o.props.autoplayInterval},{default:f(()=>[(a(!0),r(c,null,l(p.resultArr,(e,t)=>(a(),b(u,{key:t},{default:f(()=>[m(g,{class:"img-item"},{default:f(()=>[d("img",{style:s({borderRadius:p.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl,onClick:t=>p.linkClick(e)},null,12,Ei)]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["vertical","autoplay","duration"])])],4))])},Gi.__scopeId="data-v-7be72334";var Wi={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Hi={key:0,class:"label"};qo(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Wi.render=function(e,t,o,i,s,n){return"40"===o.goodsType?(a(),r("text",Hi,"京东优选")):p("",!0)},Wi.__scopeId="data-v-3a887c2c";var Vi={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:String,selectImgs:Array,selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,activityTitleLable:Array,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:"",isLc:w}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},hasNewActivityTitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].title:this.props.activityTitle},hasNewActivitySubtitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].subTitle:this.props.activitySubtitle},ruleTitle(){return 1===this.props.arrange&&!!this.props.activityTitleLable?.length},ruleTitleImg(){return this.ruleTitle?`url(${this.props.activityTitleLable[0]?.imgUrl}) no-repeat`:""},selectImgRule(){return e=>"show"===e?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===e?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===e?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Wi},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=_(this);const{goods:e=[]}=this.props,t={goodsCode:e.toString()},o=await D(this,t);this.completeGoodsList=i(o,"list",[]),this.completeGoodsList.forEach(e=>{e.rsGoodsFileDomainList=[],e.rsSkuDomainList=[]}),1===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,12):2===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,2):3===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,3):[4,5].includes(this.props.arrange)&&(this.goodsList=this.completeGoodsList.slice(0,60))},goGoodsDetail(e){if(w)return;const{skuCode:t}=e;let o={skuNo:t};this.$routers.push("detail",o)},goMoreGoods(){w||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:e=>"1"===e?"预售中":"补货中",linkClick(e){this.$emit("linkClick",e)}}},qi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Yi={key:0},Qi={key:1,class:"title"},Xi={class:"subtitle"},Ji={key:3,class:"more"},Zi={class:"title"},ea={class:"mainTitle"},ta={key:2,class:"mainImage"},oa=["src"],ia=["onClick"],aa=["src"],ra={class:"maskState"},sa={class:"goodsDescription"},na={class:"goodsName"},ca={class:"footerContent"},la={key:0,class:"goodsTagList"},da={class:"tag"},pa={class:"goodsPrice"},ga={key:0,class:"scribing"},ua=["onClick"];qo("body{margin:0}");qo('.mainTitleColor[data-v-5b0f81ce]{color:#f52b43}.top[data-v-5b0f81ce]{margin:0 10px;padding:12px 0}.top .mainTitle[data-v-5b0f81ce]{font-size:16px;font-weight:600}.top.left[data-v-5b0f81ce]{align-items:flex-end;display:flex;justify-content:space-between}.top.left .title .subtitle[data-v-5b0f81ce]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top.left .more[data-v-5b0f81ce]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top.left .more img[data-v-5b0f81ce]{height:8px;width:6px}.top.center[data-v-5b0f81ce]{padding:18px 0}.top.center .title[data-v-5b0f81ce]{align-items:center;display:flex;justify-content:center}.top.center .title .line[data-v-5b0f81ce]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top.center .title .mainTitle[data-v-5b0f81ce]{text-align:center}.mainImage[data-v-5b0f81ce]{margin:0 10px;max-width:100%}.mainImage img[data-v-5b0f81ce]{max-height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-5b0f81ce]{margin:8px 10px 0}.goodsList .goodsBox[data-v-5b0f81ce]{background-color:#fff}.goodsList .goodsBox .imgMarked[data-v-5b0f81ce]{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 .goodsBox .imgMarked .maskState[data-v-5b0f81ce]{color:#fff;font-size:23px}.goodsList .goodsBox .goodsDescription .goodsName[data-v-5b0f81ce]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;height:2em;line-height:1em;overflow:hidden;text-overflow:ellipsis}.goodsList .goodsBox .goodsDescription .footerContent[data-v-5b0f81ce]{margin-bottom:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList[data-v-5b0f81ce]{display:flex;font-size:12px;margin-top:6px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-5b0f81ce]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-5b0f81ce]:not(:last-child){margin-right:8px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-5b0f81ce]{color:#f53a50;font-size:14px;font-weight:600}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .priceUnit[data-v-5b0f81ce]{font-size:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .scribing[data-v-5b0f81ce]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-5b0f81ce]{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-5b0f81ce]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1 .goodsBox[data-v-5b0f81ce]{width:120px}.arrange-1 .goodsBox .goodsImageWrapper .goodsImage[data-v-5b0f81ce]{height:100px;width:100px}.arrange-1 .goodsBox:not(:last-child)[data-v-5b0f81ce]{padding-right:20px}.arrange-1 .goodsBox:not(:last-child) .spacingStyle[data-v-5b0f81ce]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1 .footerContent[data-v-5b0f81ce]{margin-top:10px}.arrange-1 .footerContent .goodsBuy[data-v-5b0f81ce]{margin-bottom:10px;text-align:center}.arrange-2[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce]{display:flex;flex-direction:column;margin:8px auto}.arrange-2 .goodsBox[data-v-5b0f81ce],.arrange-4 .goodsBox[data-v-5b0f81ce]{display:flex;margin-bottom:10px;padding:10px}.arrange-2 .goodsBox .goodsImageWrapper[data-v-5b0f81ce],.arrange-4 .goodsBox .goodsImageWrapper[data-v-5b0f81ce]{width:50%}.arrange-2 .goodsBox .goodsImageWrapper .goodsImage[data-v-5b0f81ce],.arrange-4 .goodsBox .goodsImageWrapper .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-2 .goodsBox .goodsDescription[data-v-5b0f81ce],.arrange-4 .goodsBox .goodsDescription[data-v-5b0f81ce]{margin-left:10px;position:relative;width:100%}.arrange-2 .goodsBox .goodsDescription .goodsName[data-v-5b0f81ce],.arrange-4 .goodsBox .goodsDescription .goodsName[data-v-5b0f81ce]{font-size:14px;height:auto}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-5b0f81ce],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-5b0f81ce]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-5b0f81ce],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-5b0f81ce]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-5b0f81ce]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3 .goodsBox[data-v-5b0f81ce]{background:#fff;margin-top:10px;width:48%}.arrange-3 .goodsBox .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-3 .goodsBox .goodsDescription .goodsName[data-v-5b0f81ce]{height:2em;line-height:1em;margin-top:10px}.arrange-3 .goodsBox .goodsDescription .footerContent[data-v-5b0f81ce]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-5b0f81ce]{margin:0}.arrange-3 .goodsBox:first-child[data-v-5b0f81ce]{width:100%}.arrange-3 .goodsBox:first-child .goodsImage[data-v-5b0f81ce]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3 .goodsBox:first-child .goodsName[data-v-5b0f81ce]{height:auto}.arrange-5[data-v-5b0f81ce]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5 .goodsBox[data-v-5b0f81ce]{background:#fff}@media (max-width:320px){.arrange-5 .goodsBox[data-v-5b0f81ce]{width:100px}}@media (min-width:321px) and (max-width:375px){.arrange-5 .goodsBox[data-v-5b0f81ce]{width:110px}}@media (min-width:376px) and (max-width:390px){.arrange-5 .goodsBox[data-v-5b0f81ce]{width:110px}}@media (min-width:391px) and (max-width:430px){.arrange-5 .goodsBox[data-v-5b0f81ce]{width:120px}}@media (min-width:431px) and (max-width:1000px){.arrange-5 .goodsBox[data-v-5b0f81ce]{width:120px}}.arrange-5 .goodsBox .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-5 .goodsDescription .footerContent[data-v-5b0f81ce]{margin-bottom:10px}.arrange-5 .goodsDescription .footerContent .goodsPrice[data-v-5b0f81ce]{text-align:center}.arrange-5 .goodsDescription .footerContent .goodsBuy[data-v-5b0f81ce]{margin-bottom:10px;text-align:center}'),Vi.render=function(e,t,o,i,f,b){const v=h("vopLabel");return a(),r("div",null,[o.props.goods?(a(),r("div",{key:1,style:s({margin:`${o.props.marginTop}px 0 ${o.props.marginBottom}px 0`,backgroundColor:`${o.props.backgroundColor}`,borderRadius:`${o.props.cornerStyle}px`})},[4!==o.props.arrange?(a(),r("div",{key:0,class:g(["top",{left:4!==o.props.arrange}]),style:s({background:b.ruleTitle&&2===o.props.activityTitleLable[0].lable?`${b.ruleTitleImg}`:""})},[b.ruleTitle&&2===o.props.activityTitleLable[0].lable?(a(),r("div",Yi)):(a(),r("div",Qi,[d("span",{class:g(["mainTitle",b.mainTitleColor])},n(b.ruleTitle?o.props.activityTitleLable[0].title:b.hasNewActivityTitle),3),d("span",Xi,n(b.ruleTitle?o.props.activityTitleLable[0].subTitle:b.hasNewActivitySubtitle),1)])),1===o.props.more&&[1,2,3].includes(o.props.arrange)?(a(),r("div",{key:2,class:"more",onClick:t[0]||(t[0]=e=>b.goMoreGoods())},[...t[2]||(t[2]=[u("更多",-1),d("img",{src:qi},null,-1)])])):(a(),r("div",Ji))],6)):4===o.props.arrange?(a(),r("div",{key:1,class:g(["top",{center:4===o.props.arrange}])},[d("div",Zi,[t[3]||(t[3]=d("div",{class:"line"},null,-1)),d("div",ea,n(b.hasNewActivityTitle),1),t[4]||(t[4]=d("div",{class:"line"},null,-1))])],2)):p("",!0),b.selectImgRule("show")?(a(),r("div",ta,[d("img",{style:s({borderTopLeftRadius:`${o.props.cornerStyle}px`,borderTopRightRadius:`${o.props.cornerStyle}px`}),src:b.selectImgRule("url"),alt:"主图",onClick:t[1]||(t[1]=e=>b.linkClick(b.selectImgRule("link")))},null,12,oa)])):p("",!0),d("div",{class:g(["goodsList",[`arrange-${o.props.arrange}`,{isLc:!f.isLc}]])},[(a(!0),r(c,null,l(f.goodsList,(i,h)=>(a(),r("div",{class:"goodsBox",style:s({borderRadius:`${o.props.cornerStyle}px`}),key:i.skuCode,onClick:e=>b.goGoodsDetail(i)},[d("div",{class:g(["goodsImageWrapper",{spacingStyle:2===o.props.spacingStyle}]),style:{position:"relative"}},[d("img",{class:"goodsImage",style:s({borderRadius:`${o.props.cornerStyle}px`}),src:i.dataPic?-1===i.dataPic.indexOf("http")?f.domainNameUrl+i.dataPic:i.dataPic:"",alt:"商品图片"},null,12,aa),!1===f.isLc&&(i.goodsSupplynum<=0||"1"===i.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:o.props.borderRadius})},[d("div",ra,n(b.getMaskState(i.goodsProperty5)),1)],4)):p("",!0)],2),d("div",sa,[d("div",na,[m(v),u(n(i.goodsName),1)]),d("section",ca,[o.props.goodsTag.length>0&&[2,4].includes(o.props.arrange)?(a(),r("div",la,[(a(!0),r(c,null,l(o.props.goodsTag,e=>(a(),r("div",{key:e.id},[d("span",da,n(e.value),1)]))),128))])):p("",!0),d("div",pa,[t[5]||(t[5]=d("span",{class:"priceUnit"},"¥",-1)),u(n(i.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",ga,"¥"+n(i.pricesetMakeprice),1)):p("",!0)]),1===o.props.purchaseIcon?(a(),r("div",{key:1,class:"goodsBuy",onClick:t=>e.handleBuyGoods(i.skuNo)},"立即购买",8,ua)):p("",!0)])])],12,ia))),128))],2)],4)):(a(),r("div",{key:0,style:s(f.noDataStyle)},"请选择商品",4))])},Vi.__scopeId="data-v-5b0f81ce";var ha={name:"cyy-ArsenalTop",data:()=>({lowCode:w,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){this.changeColor()},computed:{resultArrImg:()=>e=>e[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:t,defaultValue:i}=this.props,a=t.filter(e=>!o(e)).filter(e=>!Object.values(e).every(e=>o(e)));let r=i;return e(a)||(r=a),console.log(52,r),r}},methods:{changeColor(){this.props.selectImg.length&&(this.color=this.props.selectImg[0]?.color||"#FD1738")},classifyPhotoCorner:e=>20===e?10:50===e?20:e,setimg(e){const t=e.detail.current;this.color=this.props.selectImg[t]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},linkClick(e){this.$emit("linkClick",e)}}};const ma={key:0},fa={class:"title-t"},ba={class:"boxBgL"},va={class:"tag",style:{"justify-content":"center"}},ya={class:"tag--item"},xa={class:"",style:{color:"#fff","font-size":"24rpx",position:"relative","z-index":"1"}},wa=["src"],ka=["src"],Ca=["src"],Sa={class:"Box"},Na={class:"boxBg"},Ia={class:"search"},Aa={class:"tag"},Ba={class:"tag--item"},_a={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},Da=["src"],La={class:"",style:{color:"#fff","font-size":"24rpx"}},Ta={class:"swiper"},ja=["src","onClick"];qo(".holder[data-v-2fdfd7a0]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-2fdfd7a0]{border-radius:10px;height:150px;width:100%}.swiperBox .swiper .swiper-content[data-v-2fdfd7a0],.swiperBox .swiper[data-v-2fdfd7a0]{height:150px;width:100%}.swiperBox .swiper .swiper-content .img-item[data-v-2fdfd7a0]{box-sizing:border-box;padding:0 12.5px}.swiperBox .swiper img[data-v-2fdfd7a0]{border-radius:10px;height:100%;width:100%}.Box[data-v-2fdfd7a0]{position:relative;width:100%}.boxBg[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBg .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBgL .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search--input[data-v-2fdfd7a0]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);height:32px;margin:0 auto;position:relative;text-align:center;width:90%}.search--input--box[data-v-2fdfd7a0]{color:#fff;font-size:12px;line-height:32px}.search--input--icon[data-v-2fdfd7a0]{align-items:center;border-radius:17.5px;display:flex;height:22px;justify-content:center;position:absolute;right:5px;top:5px;width:27.5px}.search--input--icon .icon-sousuo[data-v-2fdfd7a0]{color:#fff}.tag[data-v-2fdfd7a0]{display:flex;padding:7px 0}.tag--item[data-v-2fdfd7a0]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-2fdfd7a0]{height:40px}.title-l .title-t[data-v-2fdfd7a0]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-2fdfd7a0]{padding:0 20px}.coupon[data-v-2fdfd7a0]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon img[data-v-2fdfd7a0]{height:55px;width:55px}"),ha.render=function(e,t,o,i,p,g){const v=h("swiper-item"),y=h("block"),x=h("swiper");return a(),r("div",null,[p.lowCode?(a(),r("div",ma,[d("div",{class:"title-l",slot:"left",style:s({"background-color":p.color})},[d("div",fa,n(o.props.siteName||"人才优选 品质优选"),1)],4),d("div",{class:"Box",style:s({"background-color":p.color})},[d("div",ba,[d("div",{class:"one",style:s({"background-color":p.color})},null,4),d("div",{class:"two",style:s({"background-color":p.color})},null,4)]),t[1]||(t[1]=d("div",{class:"search",style:{display:"flex","justify-content":"center",position:"relative","z-index":"1"}},[d("div",{class:"search--input",style:{padding:"2px 112px",border:"1px solid white","border-radius":"20px"}},[d("div",{class:"search--input--box",style:{color:"#fff"}},[d("span",null,"搜索您喜欢的商品"),d("img",{src:"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/search.png",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px",position:"absolute",top:"-4px",right:"18px"}})])])],-1)),d("div",va,[d("div",ya,[d("div",xa,[o.props.iconImg?(a(),r("img",{key:0,"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,wa)):(a(),r("img",{key:1,"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,ka)),u(n(o.props.mallSlogan),1)])])])],4),d("div",{class:"lowCode-warp",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[d("img",{src:g.resultArrImg(g.resultArr),alt:"",style:{width:"100%"}},null,8,Ca),d("ul",null,[(a(!0),r(c,null,l(g.resultArr,(e,t)=>(a(),r("li",{key:t}))),128))])],4)])):(a(),r(c,{key:1},[d("div",Sa,[d("div",Na,[d("div",{class:"one",style:s({"background-color":p.color})},null,4),d("div",{class:"two",style:s({"background-color":p.color})},null,4)]),d("div",Ia,[d("div",{class:"search--input",onClick:t[0]||(t[0]=(...e)=>g.ToSearch&&g.ToSearch(...e))},[t[3]||(t[3]=d("div",{class:"search--input--box"},"搜索您喜欢的商品",-1)),d("div",{class:"search--input--icon",style:s({"background-color":p.color})},[...t[2]||(t[2]=[d("text",{class:"iconfont icon-sousuo"},null,-1)])],4)])]),d("div",Aa,[d("div",Ba,[d("div",_a,[d("img",{"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Da)]),d("div",La,n(o.props.mallSlogan),1)])]),t[4]||(t[4]=d("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))]),d("div",{class:"swiperBox",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[d("div",Ta,[m(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:g.directionResult,autoplay:g.autoplayResult,duration:o.props.autoplayInterval,onChange:g.setimg},{default:f(()=>[(a(!0),r(c,null,l(g.resultArr,(e,t)=>(a(),b(y,{key:t},{default:f(()=>[m(v,{class:"img-item"},{default:f(()=>[d("img",{style:s({bordeRadius:g.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl,onClick:t=>g.linkClick(e)},null,12,ja)]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},ha.__scopeId="data-v-2fdfd7a0";const za=async e=>{const t=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+e,{method:"POST",headers:{"saas-token":t,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then(e=>e.json()).then((e={})=>e)};var Pa={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"},liveDataState:0}),mounted(){this.init()},computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let e="";switch(this.liveDataState){case 0:e="初始化";break;case 1:e="上传直播间";break;case 101:e="直播中";break;case 102:e="未开始";break;case 103:e="已结束";break;case 104:e="禁播";break;case 105:e="暂停";break;case 106:e="异常";break;case 107:e="已过期"}return e}},methods:{async init(){if(w){const e=A+`?infuencerCode=${this.props.live.infuencerCode}`,{list:t}=await za(e);0===t.length&&(this.liveDataState=t[0].dataState)}else{this.http.post(A,{infuencerCode:this.props.live.infuencerCode}).then(e=>{this.liveDataState=e.list[0].dataState})}},handleToLive(){if(w)return;let e=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${e}`})}}};const Oa={class:"liveTitlePo"},Fa={class:"live"},Ra={class:"liveCover"},$a=["src"],Ga={class:"liveState"};qo(".liveBox[data-v-7870d5a8]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);padding:14px 5px}.liveBox .live[data-v-7870d5a8]{display:flex}.liveBox .live .liveCover[data-v-7870d5a8]{position:relative;width:100%}.liveBox .live .liveCover img[data-v-7870d5a8]{width:100%}.liveBox .live .liveCover .liveState[data-v-7870d5a8]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.liveBox .live .liveIntroduction[data-v-7870d5a8]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.liveBox .live .liveIntroduction .liveTitle[data-v-7870d5a8]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.liveBox .live .liveIntroduction .anchorName[data-v-7870d5a8]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.liveTitlePo[data-v-7870d5a8]{margin-bottom:8px}"),Pa.render=function(e,t,o,i,c,l){return a(),r("div",null,[o.props.live?(a(),r("div",{key:1,class:"liveBox",style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`}),onClick:t[0]||(t[0]=e=>l.handleToLive())},[d("div",Oa,n(l.liveTitle),1),d("div",Fa,[d("div",Ra,[d("img",{src:l.liveCover},null,8,$a),d("div",Ga,n(l.liveState),1)])])],4)):(a(),r("div",{key:0,style:s(c.noDataStyle)},"请选择直播",4))])},Pa.__scopeId="data-v-7870d5a8";const Ma="%[a-f0-9]{2}",Ua=new RegExp("("+Ma+")|([^%]+?)","gi"),Ka=new RegExp("("+Ma+")+","gi");function Ea(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const o=e.slice(0,t),i=e.slice(t);return Array.prototype.concat.call([],Ea(o),Ea(i))}function Wa(e){try{return decodeURIComponent(e)}catch{let t=e.match(Ua)||[];for(let o=1;o<t.length;o++)t=(e=Ea(t,o).join("")).match(Ua)||[];return e}}function Ha(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let o=Ka.exec(e);for(;o;){try{t[o[0]]=decodeURIComponent(o[0])}catch{const e=Wa(o[0]);e!==o[0]&&(t[o[0]]=e)}o=Ka.exec(e)}t["%C2"]="�";const i=Object.keys(t);for(const o of i)e=e.replace(new RegExp(o,"g"),t[o]);return e}(e)}}function Va(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const o=e.indexOf(t);return-1===o?[]:[e.slice(0,o),e.slice(o+t.length)]}function qa(e,t){const o={};if(Array.isArray(t))for(const i of t){const t=Object.getOwnPropertyDescriptor(e,i);t?.enumerable&&Object.defineProperty(o,i,t)}else for(const i of Reflect.ownKeys(e)){const a=Object.getOwnPropertyDescriptor(e,i);if(a.enumerable){t(i,e[i],e)&&Object.defineProperty(o,i,a)}}return o}const Ya=Symbol("encodeFragmentIdentifier");function Qa(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Xa(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(e):e}function Ja(e,t){return t.decode?Ha(e):e}function Za(e){return Array.isArray(e)?e.sort():"object"==typeof e?Za(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function er(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function tr(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function or(e){const t=(e=er(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function ir(e,t){Qa((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const o=function(e){let t;switch(e.arrayFormat){case"index":return(e,o,i)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===i[e]&&(i[e]={}),i[e][t[1]]=o):i[e]=o};case"bracket":return(e,o,i)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==i[e]?i[e]=[...i[e],o]:i[e]=[o]:i[e]=o};case"colon-list-separator":return(e,o,i)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==i[e]?i[e]=[...i[e],o]:i[e]=[o]:i[e]=o};case"comma":case"separator":return(t,o,i)=>{const a="string"==typeof o&&o.includes(e.arrayFormatSeparator),r="string"==typeof o&&!a&&Ja(o,e).includes(e.arrayFormatSeparator);o=r?Ja(o,e):o;const s=a||r?o.split(e.arrayFormatSeparator).map(t=>Ja(t,e)):null===o?o:Ja(o,e);i[t]=s};case"bracket-separator":return(t,o,i)=>{const a=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!a)return void(i[t]=o?Ja(o,e):o);const r=null===o?[]:o.split(e.arrayFormatSeparator).map(t=>Ja(t,e));void 0!==i[t]?i[t]=[...i[t],...r]:i[t]=r};default:return(e,t,o)=>{void 0!==o[e]?o[e]=[...[o[e]].flat(),t]:o[e]=t}}}(t),i=Object.create(null);if("string"!=typeof e)return i;if(!(e=e.trim().replace(/^[?#&]/,"")))return i;for(const a of e.split("&")){if(""===a)continue;const e=t.decode?a.replace(/\+/g," "):a;let[r,s]=Va(e,"=");void 0===r&&(r=e),s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ja(s,t),o(Ja(r,t),s,i)}for(const[e,o]of Object.entries(i))if("object"==typeof o&&null!==o)for(const[e,i]of Object.entries(o))o[e]=tr(i,t);else i[e]=tr(o,t);return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((e,t)=>{const o=i[t];return e[t]=Boolean(o)&&"object"==typeof o&&!Array.isArray(o)?Za(o):o,e},Object.create(null))}function ar(e,t){if(!e)return"";Qa((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const o=o=>t.skipNull&&null==e[o]||t.skipEmptyString&&""===e[o],i=function(e){switch(e.arrayFormat){case"index":return t=>(o,i)=>{const a=o.length;return void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?o:null===i?[...o,[Xa(t,e),"[",a,"]"].join("")]:[...o,[Xa(t,e),"[",Xa(a,e),"]=",Xa(i,e)].join("")]};case"bracket":return t=>(o,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?o:null===i?[...o,[Xa(t,e),"[]"].join("")]:[...o,[Xa(t,e),"[]=",Xa(i,e)].join("")];case"colon-list-separator":return t=>(o,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?o:null===i?[...o,[Xa(t,e),":list="].join("")]:[...o,[Xa(t,e),":list=",Xa(i,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return o=>(i,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?i:(a=null===a?"":a,0===i.length?[[Xa(o,e),t,Xa(a,e)].join("")]:[[i,Xa(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(o,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?o:null===i?[...o,Xa(t,e)]:[...o,[Xa(t,e),"=",Xa(i,e)].join("")]}}(t),a={};for(const[t,i]of Object.entries(e))o(t)||(a[t]=i);const r=Object.keys(a);return!1!==t.sort&&r.sort(t.sort),r.map(o=>{const a=e[o];return void 0===a?"":null===a?Xa(o,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?Xa(o,t)+"[]":a.reduce(i(o),[]).join("&"):Xa(o,t)+"="+Xa(a,t)}).filter(e=>e.length>0).join("&")}function rr(e,t){t={decode:!0,...t};let[o,i]=Va(e,"#");return void 0===o&&(o=e),{url:o?.split("?")?.[0]??"",query:ir(or(e),t),...t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:Ja(i,t)}:{}}}function sr(e,t){t={encode:!0,strict:!0,[Ya]:!0,...t};const o=er(e.url).split("?")[0]||"";let i=ar({...ir(or(e.url),{sort:!1}),...e.query},t);i&&(i=`?${i}`);let a=function(e){let t="";const o=e.indexOf("#");return-1!==o&&(t=e.slice(o)),t}(e.url);if(e.fragmentIdentifier){const i=new URL(o);i.hash=e.fragmentIdentifier,a=t[Ya]?i.hash:`#${e.fragmentIdentifier}`}return`${o}${i}${a}`}function nr(e,t,o){o={parseFragmentIdentifier:!0,[Ya]:!1,...o};const{url:i,query:a,fragmentIdentifier:r}=rr(e,o);return sr({url:i,query:qa(a,t),fragmentIdentifier:r},o)}var cr=Object.freeze({__proto__:null,extract:or,parse:ir,stringify:ar,parseUrl:rr,stringifyUrl:sr,pick:nr,exclude:function(e,t,o){return nr(e,Array.isArray(t)?e=>!t.includes(e):(e,o)=>!t(e,o),o)}}),lr={props:{props:{notice:{notice:Array,vertical:Boolean,color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},noticeList:[]}),mounted(){this.getIsLc()},methods:{getIsLc(){let e=this;return w?this.LcGetNotice(e):this.getNotice(e)},async LcGetNotice(e){const t=location.hash.replace(/[\\/#?]/g,""),o=cr.parse(t),i={};i.modelTagvalueId=o.modelTagvalueId??"";const a=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${i.modelTagvalueId}¬iceType=1`,r=await za(a);e.noticeList=r},async getNotice(e){const t=await e.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});e.noticeList=t},handleToNotice(e){w||this.$routers.push("noticeDedail",{id:e.noticeId})}}};const dr={class:"notice-content"},pr=["onClick"];qo(".noticeBox[data-v-a1078966]{align-items:center;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:35px}.noticeBox .notice-logo[data-v-a1078966]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox .notice-logo span[data-v-a1078966]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox .notice-bar[data-v-a1078966]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox .notice-content[data-v-a1078966]{flex:1;overflow:hidden}.noticeBox .notice-content .notice-list[data-v-a1078966]{display:flex;flex-direction:column;height:1.25em}.noticeBox .notice-content .notice-list .swiper-item[data-v-a1078966]{color:#999}"),lr.render=function(e,t,o,i,p,g){const u=h("swiper-item"),v=h("swiper");return a(),r("div",null,[p.noticeList?(a(),r("div",{key:1,class:"noticeBox",style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,backgroundColor:`${o.props.backgroundColor}`})},[t[0]||(t[0]=d("div",{class:"notice-logo"},[d("span",null,"公告")],-1)),t[1]||(t[1]=d("div",{class:"notice-bar"},null,-1)),d("div",dr,[m(v,{class:"notice-list",vertical:o.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:f(()=>[(a(!0),r(c,null,l(p.noticeList,e=>(a(),b(u,{key:e.noticeId},{default:f(()=>[d("div",{class:"swiper-item",style:s({color:`${o.props.color}`}),onClick:t=>g.handleToNotice(e)},n(e.noticeTitle),13,pr)]),_:2},1024))),128))]),_:1},8,["vertical"])])],4)):(a(),r("div",{key:0,style:s(p.noDataStyle)},"请选择公告",4))])},lr.__scopeId="data-v-a1078966";var gr={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp(e,t){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let e={};return this.height&&(e.height=this.height+"rpx",e.width=this.height+"rpx"),this.showBorder&&(e.borderStyle="solid",e.borderColor=this.borderColor,e.borderWidth="1px"),this.bgColor&&(e.backgroundColor=this.bgColor),e},letterStyle(){let e={};return this.fontSize&&(e.fontSize=this.fontSize+"rpx"),this.color&&(e.color=this.color),e}},mounted(){this.autoplay&&this.timestamp&&this.start()},methods:{start(){this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval(()=>{if(this.seconds--,this.$emit("change",this.seconds),this.seconds<0)return this.end();this.formatTime(this.seconds)},1e3))},formatTime(e){e<=0&&this.end();let[t,o,i,a]=[0,0,0,0];t=Math.floor(e/86400),o=Math.floor(e/3600)-24*t;let r=null;r=this.showDays?o:Math.floor(e/3600),i=Math.floor(e/60)-60*o-24*t*60,a=Math.floor(e)-24*t*60*60-60*o*60-60*i,r=r<10?"0"+r:r,i=i<10?"0"+i:i,a=a<10?"0"+a:a,t=t<10?"0"+t:t,this.d=t,this.h=r,this.i=i,this.s=a},end(){this.clearTimer(),this.$emit("end",{})},clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy(){clearInterval(this.timer),this.timer=null}};const ur={class:"u-countdown"};qo(".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}"),gr.render=function(e,t,o,i,c,l){return a(),r("view",ur,[o.showDays&&(o.hideZeroDay||!o.hideZeroDay&&"00"!=c.d)?(a(),r("view",{key:0,class:"u-countdown-item",style:s([l.itemStyle])},[d("view",{class:"u-countdown-time",style:s([l.letterStyle])},n(c.d),5)],4)):p("",!0),o.showDays&&(o.hideZeroDay||!o.hideZeroDay&&"00"!=c.d)?(a(),r("view",{key:1,class:"u-countdown-colon",style:s({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})},n("colon"==o.separator?":":"天"),5)):p("",!0),o.showHours?(a(),r("view",{key:2,class:"u-countdown-item",style:s([l.itemStyle])},[d("view",{class:"u-countdown-time",style:s({fontSize:o.fontSize+"rpx",color:o.color})},n(c.h),5)],4)):p("",!0),o.showHours?(a(),r("view",{key:3,class:"u-countdown-colon",style:s({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})},n("colon"==o.separator?":":"时"),5)):p("",!0),o.showMinutes?(a(),r("view",{key:4,class:"u-countdown-item",style:s([l.itemStyle])},[d("view",{class:"u-countdown-time",style:s({fontSize:o.fontSize+"rpx",color:o.color})},n(c.i),5)],4)):p("",!0),o.showMinutes?(a(),r("view",{key:5,class:"u-countdown-colon",style:s({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})},n("colon"==o.separator?":":"分"),5)):p("",!0),o.showSeconds?(a(),r("view",{key:6,class:"u-countdown-item",style:s([l.itemStyle])},[d("view",{class:"u-countdown-time",style:s({fontSize:o.fontSize+"rpx",color:o.color})},n(c.s),5)],4)):p("",!0),o.showSeconds&&"zh"==o.separator?(a(),r("view",{key:7,class:"u-countdown-colon",style:s({fontSize:o.separatorSize+"rpx",color:o.separatorColor,paddingBottom:"colon"==o.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},gr.__scopeId="data-v-4f36f3d2";var hr={name:"u-line-progress",props:{round:{type:Boolean,default:!0},type:{type:String,default:""},activeColor:{type:String,default:"#19be6b"},inactiveColor:{type:String,default:"#ececec"},percent:{type:Number,default:0},showPercent:{type:Boolean,default:!0},height:{type:[Number,String],default:28},striped:{type:Boolean,default:!1},stripedActive:{type:Boolean,default:!1}},data:()=>({}),computed:{progressStyle(){let e={};return e.width=this.percent+"%",this.activeColor&&(e.backgroundColor=this.activeColor),e}},methods:{}};qo(".u-progress[data-v-6b1ec6a3]{align-items:center;border-radius:3px;display:inline-flex;height:5px;overflow:hidden;width:152px}@media (max-width:320px){.u-progress[data-v-6b1ec6a3]{width:80px}}@media (min-width:321px) and (max-width:376px){.u-progress[data-v-6b1ec6a3]{width:132px}}.u-active[data-v-6b1ec6a3]{align-items:center;color:#fff;display:flex;font-size:10px;height:100%;justify-content:space-around;justify-items:flex-end;transition:all .4s ease;width:0}.u-striped[data-v-6b1ec6a3]{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:39px 39px}.u-striped-active[data-v-6b1ec6a3]{animation:progress-stripes-6b1ec6a3 2s linear infinite}@keyframes progress-stripes-6b1ec6a3{0%{background-position:0 0}to{background-position:39px 0}}"),hr.render=function(e,t,o,i,l,h){return a(),r("view",{class:"u-progress",style:s({borderRadius:o.round?"100rpx":0,height:o.height+"rpx",backgroundColor:o.inactiveColor})},[d("view",{class:g([[o.type?`u-type-${o.type}-bg`:"",o.striped?"u-striped":"",o.striped&&o.stripedActive?"u-striped-active":""],"u-active"]),style:s([h.progressStyle])},[e.$slots.default||e.$slots.$default?v(e.$slots,"default",{key:0}):o.showPercent?(a(),r(c,{key:1},[u(n(o.percent+"%"),1)],64)):p("",!0)],6)],4)},hr.__scopeId="data-v-6b1ec6a3";const mr=w?location.hash.replace(/[\\/#?]/g,""):null,fr=cr.parse(mr),br=(fr["saas-token"],fr.membercode??""),vr=fr.channelCode??"",yr=(fr.tenantcode,fr.modelTagvalueId,fr.tginfoCode,br),xr=vr;var wr={name:"cyy-ArsenalActivity",props:{props:{activityType:Number,countDown:Number,linePriceFlag:Number,crossedPrice:Number,title:String,subTitle:String,backgroundColor:String,marginTop:Number,marginBottom:Number,activityList:Array,activityImg:String}},components:{uContDown:gr,uLineProgress:hr},data:()=>({lowCode:w,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=_(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>e=>"已终止"===e||"已抢空"===e?"#D7D7D7":"即将开始"===e?"#F59A23":"#ed4444",btnDataState:()=>(e,t)=>[-1,2,6].includes(e.dataState)?"已终止":[1].includes(e.dataState)?0===t.goodsSupplynum?"已抢空":"立即购买":[4].includes(e.dataState)?"即将开始":void 0,getPrice:()=>e=>"2"==e.pricesetType||"4"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType?e.pricesetRefrice+"里程":e.pricesetNprice,activityCss:()=>e=>e.length?1===e.length?1:2===e.length?2:e.length>=3?3:0:0,diffFn:()=>e=>e?(e.goodsAhnum-e.goodsSupplynum)/e.goodsAhnum*100:"",minTime(){let e=[];this.secGoodList.map(e=>e.dataState).includes(1)?this.secGoodList.forEach(t=>{1===t.dataState&&e.push(t.gmtModified)}):this.secGoodList.forEach(t=>{4===t.dataState?e.push(t.gmtCreate):e.push(t.gmtModified)});for(let t=0;t<e.length-1;t++)for(let t=0;t<e.length-1;t++)if(e[t]>e[t+1]){let o=e[t];e[t]=e[t+1],e[t+1]=o}return e[0]},setPromotionDates:()=>(e,t)=>{let o=(new Date(t.promotionBegintime)-Date.parse(new Date))/1e3,i=(new Date(t.promotionEndtime)-Date.parse(new Date))/1e3;return e.gmtCreate=o>0?o:0,e.gmtModified=i>0?i:0,{gmtCreate:e.gmtCreate,gmtModified:e.gmtModified}}},methods:{async getSecGoodList(e,t=null){const o=(e,t=!1)=>{if(e&&(t?e.rows:e.list)&&(t?e.rows.length:e.list.length)){const o=t?e.rows:e.list;o.slice(0,3).forEach(e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,o=(e.promotionEndtime-Date.parse(new Date))/1e3;e.gmtCreate=t>0?t:0,e.gmtModified=o>0?o:0}),this.secGoodList=o}else this.secGoodList=[]};if(0===this.props.activityType){let t="";if(console.log(this.props?.activityList,"选择活动=====秒杀"),"all"==this.props?.activityList?t=null:this.props?.activityList?.length&&(t=this.props?.activityList.join(",")),w){let e="";t?e=`${N}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&couponBatchCode=${t}&channelCode=${xr}&membercode=${yr}`:(this.secGoodList=[],e=`${N}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${yr}&channelCode=${xr}`);const{list:i}=await za(e);o({list:i})}else{let i={pbCode:"0007",page:1,rows:200,dataStateStr:"1,4",couponBatchCode:t};t||(this.secGoodList=[],i.dataStateStr="1,4",i.orderStr="PROMOTION_ENDTIME asc"),console.log(i,"params秒杀"),e.http.post(N,i).then(e=>{o(e)})}}if(1===this.props.activityType){let t="";if(console.log(this.props?.activityList,"选择活动------团购"),"all"==this.props?.activityList?t=null:this.props?.activityList?.length&&(t=this.props?.activityList.join(",")),w){let e="";t?e=`${N}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&promotionCode=${t}&channelCode=${xr}&membercode=${yr}`:(this.secGoodList=[],e=`${N}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${yr}&channelCode=${xr}`);const{rows:i}=await za(e);o({rows:i},!0)}else{let o={pbCode:"0008",dataStateStr:"1,4",page:1,rows:200,promotionCode:t};t||(this.secGoodList=[],o.dataStateStr="1,4",o.orderStr="PROMOTION_ENDTIME asc"),console.log(o,"params团购"),e.http.post(N,o).then(async e=>{if(e&&e.rows)if(1===this.page&&0===e.rows.length)this.seckillGoodsList=[];else{const t=e.rows.map(e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,o=(e.promotionEndtime-Date.parse(new Date))/1e3;return e.gmtCreate=t>0?t:0,e.gmtModified=o>0?o:0,0==e.promotionState&&this.$set(e,"PeopleNum",e.couponOnceNump),e}).filter(e=>0==e.promotionState);this.secGoodList=t}})}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(e,t){let o;0===this.props.activityType&&(o=26),1===this.props.activityType&&(o=24),this.$emit("gosecGoodsDetail",e.skuNo,t.gmtModified,t.promotionCode,t.promotionFrequency,t.inventory,o)}}};const kr={key:0},Cr={class:"secKill--tit"},Sr={class:"title"},Nr={key:0,src:"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",alt:"",style:{width:"16px",height:"16px"}},Ir={key:1,src:"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==",alt:"",style:{width:"16px",height:"16px"}},Ar={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},Br={class:"more"},_r={class:"img"},Dr=["src"],Lr={key:1},Tr=["onClick"],jr={class:"soneLeft"},zr=["src"],Pr={class:"soneRight"},Or={class:"soneRightA"},Fr={key:0,class:"soneRightB"},Rr={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},$r={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Gr={class:"soneRightC"},Mr={class:"priceC"},Ur={style:{color:"#ff9745"}},Kr={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},Er={class:"dataStateButton"},Wr=["onClick"],Hr=["src"],Vr={class:"secKill-goodsName text-common"},qr={class:"price"},Yr={style:{display:"flex"}},Qr={class:"now-price-common"},Xr={style:{color:"#f53a50"}},Jr={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},Zr={class:"dataStateButton"},es=["onClick"],ts=["src"],os={class:"secKill-goodsName text-common"},is={class:"price"},as={style:{display:"flex"}},rs={class:"now-price-common"},ss={style:{color:"#f53a50"}},ns={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},cs={class:"dataStateButton"};qo(".secKill[data-v-276309a0]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0}.secKill .soon[data-v-276309a0]{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 .secKill--tit[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill .secKill--tit .title[data-v-276309a0]{align-items:center;display:flex}.secKill .secKill--tit .title .changeOnce[data-v-276309a0]{color:#439fff;font-size:10px;margin-left:6px}.secKill .secKill--tit .more[data-v-276309a0]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill .secKill--tit .more .img[data-v-276309a0]{height:9px;margin-left:3px;width:5.5px}.secKill .secKill-all[data-v-276309a0]{display:flex}.secKill .secKill-all .secKill--center[data-v-276309a0]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill .secKill-all .secKill--center .secKill-goodsName[data-v-276309a0]{-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 .secKill-all .secKill--center .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill .secKill-all .secKill--center .dataStateButton span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill .secKill--bottom[data-v-276309a0]{display:flex}.secKill .secKill--bottom .left[data-v-276309a0]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill .secKill--bottom .left .bigimgs[data-v-276309a0]{height:100px;margin:0 auto;width:100px}.secKill .secKill--bottom .left .goodsName[data-v-276309a0]{-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 .secKill--bottom .left .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.secKill .secKill--bottom .left[data-v-276309a0]:nth-child(2){border:none}.secKill .secKill--bottom .right[data-v-276309a0]{height:255px;padding-left:7.5px;width:164px}.secKill .secKill--bottom .right .bigimg[data-v-276309a0]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill .secKill--bottom .right .goodsName[data-v-276309a0]{-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 .secKill--bottom .right .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-276309a0]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-276309a0]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-276309a0]{width:112px}}.bigimg3[data-v-276309a0]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-276309a0]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-276309a0]{width:110px}}.goodsDetail2[data-v-276309a0]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-276309a0]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-276309a0]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-276309a0]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-276309a0]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-276309a0]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-276309a0]{width:162px}}.bigimg2[data-v-276309a0]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-276309a0]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-276309a0]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-276309a0]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-276309a0]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-276309a0]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-276309a0]{height:160px;width:160px}}.overflowX[data-v-276309a0]{overflow:hidden;overflow-x:scroll}.fel[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0]{display:flex;padding:8px}.secKill-One .soneLeft[data-v-276309a0]{height:110px;margin-right:8px;width:110px}.secKill-One .soneLeft img[data-v-276309a0]{border-radius:6px;height:110px;width:110px}.secKill-One .soneRight[data-v-276309a0]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One .soneRight .soneRightA[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#394259;display:-webkit-box;font-family:PingFangSC,PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:21px;overflow:hidden;text-align:left;text-overflow:ellipsis}.secKill-One .soneRight .soneRightB[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightB .uline[data-v-276309a0]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One .soneRight .soneRightC[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightC .priceC[data-v-276309a0]{font-family:DINAlternate;font-size:18px;font-style:normal;font-weight:700;line-height:29px;text-align:left}.secKill-One .soneRight .soneRightC .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill-One .soneRight .soneRightC .dataStateButton span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),wr.render=function(e,t,o,i,u,f){const v=h("uContDown"),y=h("u-count-down"),x=h("uLineProgress");return a(),r("div",null,[0!==f.activityCss(u.secGoodList)||u.lowCode?(a(),r("div",{key:1,class:"secKill",style:s({backgroundColor:o.props.backgroundColor,marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`})},[d("div",Cr,[d("div",Sr,[0===o.props.activityType?(a(),r("img",Nr)):p("",!0),1===o.props.activityType?(a(),r("img",Ir)):p("",!0),d("div",Ar,n(o.props.title),1),u.lowCode?(a(),r(c,{key:2},[0===o.props.countDown?(a(),b(v,{key:0,timestamp:f.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64)):(a(),r(c,{key:3},[0===o.props.countDown?(a(),b(y,{key:0,timestamp:f.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64))]),d("div",Br,[d("div",{class:"",onClick:t[0]||(t[0]=(...e)=>f.goSecList&&f.goSecList(...e))},n(o.props.subTitle),1),d("div",_r,[d("img",{"lazy-load":!0,src:qi,mode:"",style:{width:"100%",height:"100%"},onClick:t[1]||(t[1]=(...e)=>f.goSecList&&f.goSecList(...e))})])])]),o.props.activityImg?(a(),r("img",{key:0,onClick:t[2]||(t[2]=(...e)=>f.goSecList&&f.goSecList(...e)),"lazy-load":!0,src:o.props.activityImg,style:{width:"100%","margin-bottom":"10px"},mode:""},null,8,Dr)):p("",!0),1===f.activityCss(u.secGoodList)?(a(),r("div",Lr,[(a(!0),r(c,null,l(u.secGoodList,(e,t)=>(a(),r("div",{key:t},[(a(!0),r(c,null,l(e.rsSkuReDomainList,(t,i)=>(a(),r("div",{class:"secKill-One",key:i,onClick:o=>f.gosecGoodsDetail(t,e)},[d("div",jr,[d("img",{"lazy-load":!0,src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",mode:""},null,8,zr)]),d("div",Pr,[d("div",Or,n(t.goodsName),1),0===o.props.activityType?(a(),r("div",Fr,[m(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:f.diffFn(t),height:"10","show-percent":!1},null,8,["percent"]),u.lowCode?(a(),r("div",Rr,"剩"+n(t.goodsSupplynum||0)+"件",1)):(a(),r("div",$r,"剩"+n(t.goodsSupplynum||0)+"件",1))])):p("",!0),d("div",Gr,[d("div",Mr,[d("span",Ur,n("¥"+t.pricesetNprice),1),1===o.props.linePriceFlag?(a(),r("span",Kr,n(t.pricesetMakeprice),1)):p("",!0)]),d("div",Er,[d("span",{style:s({backgroundColor:f.btnDataStateColor(f.btnDataState(e,t))})},n(f.btnDataState(e,t)),5)])])])],8,Tr))),128))]))),128))])):p("",!0),2===f.activityCss(u.secGoodList)?(a(),r("div",{key:2,class:g(["secKill-all",{fel:!0}])},[(a(!0),r(c,null,l(u.secGoodList,(e,t)=>(a(),r("div",{class:"secKill--center",key:t},[(a(!0),r(c,null,l(e.rsSkuReDomainList,(t,i)=>(a(),r("div",{class:g({goodsDetail3:3===f.activityCss(u.secGoodList),goodsDetail2:2===f.activityCss(u.secGoodList)}),key:i,onClick:o=>f.gosecGoodsDetail(t,e)},[d("img",{class:g({bigimg3:3===f.activityCss(u.secGoodList),bigimg2:2===f.activityCss(u.secGoodList)}),"lazy-load":!0,src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",mode:""},null,10,Hr),d("div",Vr,n(t.goodsName),1),d("div",qr,[d("div",Yr,[d("div",Qr,[d("span",Xr,n("¥"+t.pricesetNprice),1),1===o.props.linePriceFlag?(a(),r("span",Jr,n(t.pricesetMakeprice),1)):p("",!0)])])]),d("div",Zr,[d("span",{style:s({backgroundColor:f.btnDataStateColor(f.btnDataState(e,t))})},n(f.btnDataState(e,t)),5)])],10,Wr))),128))]))),128))])):p("",!0),3===f.activityCss(u.secGoodList)?(a(),r("div",{key:3,class:g(["secKill-all",{overflowX:!0}])},[(a(!0),r(c,null,l(u.secGoodList,(e,t)=>(a(),r("div",{class:"secKill--center",key:t},[(a(!0),r(c,null,l(e.rsSkuReDomainList,(t,i)=>(a(),r("div",{class:g({goodsDetail3:3===f.activityCss(u.secGoodList),goodsDetail2:2===f.activityCss(u.secGoodList)}),key:i,onClick:o=>f.gosecGoodsDetail(t,e)},[d("img",{class:g({bigimg3:3===f.activityCss(u.secGoodList),bigimg2:2===f.activityCss(u.secGoodList)}),"lazy-load":!0,src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",mode:""},null,10,ts),d("div",os,n(t.goodsName),1),d("div",is,[d("div",as,[d("div",rs,[d("span",ss,n("¥"+t.pricesetNprice),1),1===o.props.linePriceFlag?(a(),r("span",ns,n(t.pricesetMakeprice),1)):p("",!0)])])]),d("div",cs,[d("span",{style:s({backgroundColor:f.btnDataStateColor(f.btnDataState(e,t))})},n(f.btnDataState(e,t)),5)])],10,es))),128))]))),128))])):p("",!0)],4)):(a(),r("div",kr))])},wr.__scopeId="data-v-276309a0";var ls={props:{props:{url:{type:String,default:""},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},marginTop:{type:Number,default:0},marginBottom:{type:Number,default:0}}}};const ds=["src","poster","autoplay"];qo("video[data-v-1141a1a5]{width:100%!important}"),ls.render=function(e,t,o,i,n,c){return a(),r("div",null,[d("video",{style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`}),controls:"",src:o.props.url,poster:o.props.poster,autoplay:o.props.autoplay},null,12,ds)])},ls.__scopeId="data-v-1141a1a5";var ps={name:"cyy-ArsenalClass",props:{props:{headImg:String,classList:Array,carIcon:Number,bgColor:String,getBgColor:String,fontColor:String,getfontColor:String,navigationHeight:Number,navigationFontSize:Number,classDomainList:Array}},data(){return{classTitleStyle:{height:this.props.navigationHeight+"px",lineHeight:this.props.navigationHeight+"px",fontSize:this.props.navigationFontSize+"px"},classDomainList:[],domainNameUrl:"",isLc:w,checkClassIndex:-1,targetId:"",scrollTop:0}},mounted(){this.domainNameUrl=_(this),this.classDomainList=JSON.parse(JSON.stringify(this.props.classDomainList)),this.initgoods()},computed:{},methods:{initgoods(){let e=this;return w?this.LcGetGoodsList(e):this.getGoodsList(e)},async LcGetGoodsList(e){let t=e.classDomainList;for(let e of t){if(1==e.changeGoodsType){const t=`${I}?vendibilityFlag=true&childFlag=true&bizType=goods&hjFlag=true&area=北京朝阳区八里庄街道&page=1&rows=20&searchType=match_phrase&goodsType=00,40,41,60,61,62,32&classtreeCode=${e.classtreeCode}&channelCode=${xr}`,o=await za(t);e.goodsList=o.list}if(2==e.changeGoodsType){const t=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",o=`${S}?rows=200&page=1&goodsCode=${e.changeGoodsStr.replace("arsenalGoodsClass,","")}&channelCode=${t}`,i=await za(o);e.goodsList=i.list}}e.classDomainList=t},async getGoodsList(e){for(let t of e.classDomainList){let o={vendibilityFlag:!0,childFlag:!0,bizType:"goods",hjFlag:!0,area:e.$storage.get("addressValue")?e.$storage.get("addressValue"):"北京朝阳区八里庄街道",page:1,rows:20,searchType:"match_phrase",goodsType:"00,40,41,60,61,62,32",classtreeCode:t.classtreeCode};if(1==t.changeGoodsType){const i=await e.http.get(`${I}`,o);e.$set(t,"goodsList",i.list)}let i={goodsCode:t.changeGoodsStr.replace("arsenalGoodsClass,","")};if(2==t.changeGoodsType){const o=await D(e,i);e.$set(t,"goodsList",o.list)}}},checkClass(e){this.checkClassIndex=e,this.targetId=`item-${e}`},addShoppingShow(e){w||this.$emit("addShoppingShow",e)},getMaskState:e=>"1"===e?"预售中":"补货中",getTextStyle:e=>({color:e.titleColor||"#000000",fontSize:e.titleFontSize||"16px"}),goGoodsDetail(e){if(w)return;const{skuCode:t}=e;let o={skuNo:t};this.$routers.push("detail",o)},handleScroll(e){this.scrollTop=e.detail.scrollTop}}};const gs=["onClick"],us=["src"],hs=["src"],ms={class:"classContent"},fs=["id"],bs=["src"],vs=["src"],ys=["src"],xs={class:"text-overlay"},ws=["src"],ks=["onClick"],Cs={class:"imgWrapper"},Ss={class:"maskState"},Ns=["src"],Is={class:"goodsDescription"},As={class:"goodsPrice"},Bs={key:0,class:"scribing"},_s={class:"goodsBuy"},Ds=["onClick"];qo(".headerImg[data-v-2f7e67b4]{width:100%}.classTitle[data-v-2f7e67b4]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-2f7e67b4]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-2f7e67b4]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-2f7e67b4]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-2f7e67b4]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-2f7e67b4]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-2f7e67b4]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-2f7e67b4]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-2f7e67b4]{display:grid}.cube-container.arrange-4[data-v-2f7e67b4]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-2f7e67b4]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-2f7e67b4]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-2f7e67b4]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-2f7e67b4]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-2f7e67b4]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2f7e67b4]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-2f7e67b4]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-2f7e67b4]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-2f7e67b4]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2f7e67b4]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-2f7e67b4]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-2f7e67b4]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-2f7e67b4]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-2f7e67b4]{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 .cube-item .imgMarked .maskState[data-v-2f7e67b4]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-2f7e67b4]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-2f7e67b4]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2f7e67b4]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2f7e67b4]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),ps.render=function(e,t,o,i,b,v){const x=h("scroll-view");return a(),r("div",null,[d("div",null,[b.scrollTop>20||b.isLc?(a(),r("div",{key:0,class:"classTitle",style:s({backgroundColor:o.props.bgColor})},[(a(!0),r(c,null,l(b.classDomainList,(e,t)=>(a(),r("span",{class:"classTitleItem",key:e.goodsClassId,style:s({height:o.props.navigationHeight+"px",lineHeight:o.props.navigationHeight+"px",fontSize:o.props.navigationFontSize+"px"})},[d("span",{class:"classSpan",onClick:e=>v.checkClass(t),style:s({background:b.checkClassIndex===t?o.props.getBgColor:o.props.bgColor,color:b.checkClassIndex===t?o.props.getfontColor:o.props.fontColor})},n(e.goodsChangeClassName),13,gs)],4))),128))],4)):p("",!0),m(x,{"scroll-y":"true","scroll-with-animation":"true",onScroll:v.handleScroll,"scroll-into-view":b.targetId,style:{height:"100vh"}},{default:f(()=>[o.props.headImg?(a(),r(c,{key:0},[b.isLc?(a(),r("img",{key:0,class:"headerImg",src:o.props.headImg},null,8,us)):(a(),r("image",{key:1,class:"headerImg",src:o.props.headImg,mode:"widthFix"},null,8,hs))],64)):p("",!0),d("div",ms,[(a(!0),r(c,null,l(b.classDomainList,(e,t)=>(a(),r("div",{class:"classContentItem",key:e.goodsClassId,id:"item-"+t},[e.classfooterImg?(a(),r("div",{key:1,class:"classContentImgBox",style:s({paddingTop:e.titleMt+"px",paddingBottom:e.titleBt+"px",backgroundColor:e.bgColor})},[b.isLc?(a(),r("img",{key:0,class:"classContentImg",src:e.classfooterImg},null,8,vs)):(a(),r("image",{key:1,class:"classContentImg",src:e.classfooterImg,mode:"widthFix"},null,8,ys)),d("div",xs,[e.iconFlag?(a(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:e.goodsClassLogo?-1===e.goodsClassLogo.indexOf("http")?b.domainNameUrl+e.goodsClassLogo:e.goodsClassLogo:""},null,8,ws)):p("",!0),e.goodsClassNameFlag?(a(),r("span",{key:1,style:s({color:e.titleColor,fontSize:e.titleFontSize+"px"})},n(e.goodsChangeClassName),5)):p("",!0)])],4)):(a(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:e.titleMt+"px",paddingBottom:e.titleBt+"px",backgroundColor:e.bgColor})},[e.iconFlag?(a(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:e.goodsClassLogo?-1===e.goodsClassLogo.indexOf("http")?b.domainNameUrl+e.goodsClassLogo:e.goodsClassLogo:""},null,8,bs)):p("",!0),e.goodsClassNameFlag?(a(),r("span",{key:1,style:s({color:e.titleColor,fontSize:e.titleFontSize+"px"})},n(e.goodsChangeClassName),5)):p("",!0)],4)),d("div",{class:g(["cube-container",`arrange-${e.showTitle}`,{isLc:b.isLc}]),style:s({backgroundColor:e.goodsBgColor})},[(a(!0),r(c,null,l(e.goodsList,(t,o)=>(a(),r("div",{class:"cube-item",style:s({marginTop:`${e.goodsMt}px`,marginBottom:`${e.goodsBt}px`}),key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[d("div",Cs,[!1===b.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${e.borderRaduils}px`})},[d("div",Ss,n(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?b.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:s({borderRadius:`${e.borderRaduils}px`})},null,12,Ns)]),d("div",Is,[!0===b.isLc&&2===e.showTitle?(a(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:e.goodsSpacingFlag?"5px":"0",marginBottom:e.goodsSpacingFlag?"5px":"0"})},n(t.goodsName),5)):(a(),r("div",{key:1,class:"goodsName",style:s({marginTop:e.goodsSpacingFlag?"5px":"0",marginBottom:e.goodsSpacingFlag?"5px":"0"})},n(t.goodsName),5)),d("section",{class:"footerContent",style:s({marginTop:e.goodsSpacingFlag?"5px":"0",marginBottom:e.goodsSpacingFlag?"5px":"0"})},[d("div",As,[u(" ¥"+n(t.pricesetNprice)+" ",1),1===e.underLineFlag?(a(),r("div",Bs,"¥"+n(t.pricesetMakeprice),1)):p("",!0)]),d("div",_s,[d("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:y(e=>v.addShoppingShow(t),["stop"]),style:{height:"25px",width:"25px"}},null,8,Ds)])],4)])],12,ks))),128))],6)],8,fs))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},ps.__scopeId="data-v-2f7e67b4";var Ls={name:"cyy-ArsenalMyTop",props:{userType:Number,userShow:Number,avatarUrl:String,islogin:Boolean,loginInfor:Object,siteType:String,footerTotal:Number,goodsNum:Number,props:{collection:0,collectionIcon:"",footprint:0,footprintIcon:""}},data:()=>({isLc:w,userTypeMap:{0:"手机号",1:"卡号",2:"历史数据",3:"权益",4:"礼包"}}),mounted(){console.log("顶部组件=============")},methods:{clickSite(){this.$emit("clickSite")},jump(e){this.$emit("jump",e)},chooseAvatar(){this.$emit("chooseAvatar")}}};const Ts={class:"header_top"},js={class:"user_top"},zs={class:"user_left"},Ps={key:0,class:"user_logo"},Os=["src"],Fs={key:1,class:"text"},Rs={key:2,class:"user_message"},$s={key:3},Gs={key:0,class:"user_message"},Ms={key:0},Us={class:"user_name"},Ks={class:"user_change"},Es={key:1},Ws={class:"user_name"},Hs={key:2},Vs={class:"user_name"},qs={key:1,class:"user_message"},Ys={class:"user_bottom"},Qs={class:"item_icon"},Xs=["src"],Js={class:"item_num"},Zs={class:"item_icon1"},en=["src"],tn={class:"item_num"};qo(".header_top[data-v-5da54d57]{background:#eb2b27;padding:18px 12px 54px}.header_top .user_top[data-v-5da54d57]{align-items:center;display:flex;justify-content:space-between;width:100%}.header_top .user_top .user_left[data-v-5da54d57]{align-items:center;display:flex}.header_top .user_top .user_left .user_logo[data-v-5da54d57]{align-items:center;background-color:#fff;border-radius:50%;display:flex;height:67px;justify-content:center;padding:0;position:relative;width:67px}.header_top .user_top .user_left .user_logo image[data-v-5da54d57],.header_top .user_top .user_left .user_logo img[data-v-5da54d57]{border-radius:50%;height:100%;width:100%}.header_top .user_top .user_left .user_message[data-v-5da54d57]{margin-left:12px}.header_top .user_top .user_left .user_message .user_name[data-v-5da54d57]{color:#fff;font-weight:20px;font-weight:700;line-height:20px}.header_top .user_top .user_left .user_message .user_change[data-v-5da54d57]{color:#fff;font-size:9px;line-height:9px;margin-top:15px}.header_top .user_top .user_right[data-v-5da54d57]{height:20px;width:20px}.header_top .user_top .user_right image[data-v-5da54d57]{height:100%;width:100%}.header_top .user_bottom[data-v-5da54d57]{display:flex;justify-content:space-around;margin-top:12px;padding:0 25px}.header_top .user_bottom .bottom_item[data-v-5da54d57]{align-items:center;display:flex;justify-content:center}.header_top .user_bottom .bottom_item .item_icon[data-v-5da54d57]{color:#fff;font-size:13px;padding-top:1px}.header_top .user_bottom .bottom_item .item_icon1[data-v-5da54d57]{color:#fff;font-size:15px}.header_top .user_bottom .bottom_item .item_name[data-v-5da54d57]{color:#fff;font-size:12px;margin-left:8px}.header_top .user_bottom .bottom_item .item_num[data-v-5da54d57]{color:#fff;font-size:14px;font-weight:700;margin-left:8px}.choseSite[data-v-5da54d57]{color:#fff;font-weight:550;position:absolute;right:28px;top:43px}"),Ls.render=function(e,t,o,i,s,c){return a(),r("div",null,[d("div",Ts,[d("div",js,[d("div",zs,[o.islogin?(a(),r("view",{key:1,class:"user_logo",onClick:t[0]||(t[0]=(...e)=>c.chooseAvatar&&c.chooseAvatar(...e))},[o.avatarUrl?(a(),r("image",{key:0,class:"avatar",src:o.avatarUrl},null,8,Os)):(a(),r("view",Fs,"选择头像"))])):(a(),r("view",Ps,[...t[5]||(t[5]=[d("image",{src:"../../static/img/mine/default_header.png"},null,-1)])])),s.isLc?(a(),r("div",Rs,[...t[6]||(t[6]=[d("div",{class:"user_name"},"18570000000",-1),d("div",{class:"user_change"},"手机号",-1),d("div",{class:"choseSite"},"切换站点",-1)])])):(a(),r("div",$s,[o.islogin?(a(),r("div",Gs,[0===o.userShow?(a(),r("div",Ms,[d("div",Us,n(o.loginInfor.userPhone||o.loginInfor.merberCompname),1),d("div",Ks,n(s.userTypeMap[o.userType]),1)])):1===o.userShow?(a(),r("div",Es,[d("div",Ws,n(o.loginInfor.merberCompname),1),t[7]||(t[7]=d("div",{class:"user_change"},"姓名",-1))])):(a(),r("div",Hs,[d("div",Vs,n(o.loginInfor.merberCompname),1)])),"1"==o.siteType?(a(),r("div",{key:3,class:"choseSite",onClick:t[1]||(t[1]=(...e)=>c.clickSite&&c.clickSite(...e))},"切换站点")):p("",!0)])):(a(),r("div",qs,[d("div",{class:"user_name",onClick:t[2]||(t[2]=t=>e.goLogin())},"请登录")]))]))])]),d("div",Ys,[0==o.props.collection?(a(),r("div",{key:0,class:"bottom_item",onClick:t[3]||(t[3]=e=>c.jump("/pages/collection_modules/shop/main?isindex=0"))},[d("div",Qs,[d("img",{src:o.props.collectionIcon,alt:"",style:{width:"20px",height:"20px"}},null,8,Xs)]),t[8]||(t[8]=d("div",{class:"item_name"},"商品收藏",-1)),d("div",Js,n(o.goodsNum||"0"),1)])):p("",!0),0==o.props.footprint?(a(),r("div",{key:1,class:"bottom_item",onClick:t[4]||(t[4]=e=>c.jump("/pages/collection_modules/history/main"))},[d("div",Zs,[d("img",{src:o.props.footprintIcon,alt:"",style:{width:"20px",height:"20px"}},null,8,en)]),t[9]||(t[9]=d("div",{class:"item_name"},"浏览足迹",-1)),d("div",tn,n(o.footerTotal||"0"),1)])):p("",!0)])])])},Ls.__scopeId="data-v-5da54d57";var on={name:"cyy-ArsenalMyNavigation",data:()=>({}),props:{props:{componentCorner:Number,tab:Number,navTitle:String,titleColor:String,tabColor:String,seeAll:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,marginTop:Number,marginBottom:Number,selectImg:Array,navigationNum:Number,navList:Array}},mounted(){console.log(this.props,555555),5===this.props.navigationNum&&(this.skeleton=["导航1","导航2","导航3","导航4","导航5"])},computed:{},methods:{jump(e){console.log(e,"link"),e&&this.$emit("jump",e)}}};const an={key:0,class:"more_title"},rn=["src"],sn=["onClick"],nn=["src"];qo(".nav_container[data-v-6264cb33]{background:#fff;border-radius:12px;display:flex;flex-direction:column;margin:-42px 12px 0}.order_top[data-v-6264cb33]{border-bottom:1px solid rgba(0,0,0,.1);display:flex;justify-content:space-between;padding:11px}.order_top .order_title[data-v-6264cb33]{color:#1e1e1e;font-size:14px;font-weight:700}.order_top .more_title[data-v-6264cb33]{color:#999;font-size:12px}.assets_list[data-v-6264cb33]{align-items:center;background:#fff;border-radius:12px;display:flex;flex-wrap:wrap}.assets_list .assets_item[data-v-6264cb33]{align-items:center;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:space-around;margin:10px 0}.assets_list .assets_item div[data-v-6264cb33]:first-child{font-size:25px}.assets_list .assets_item .item_name[data-v-6264cb33]{color:#1e1e1e;font-size:12px;margin-top:6px}.navigationNum5[data-v-6264cb33]{width:20%}.navigationNum4[data-v-6264cb33]{width:25%}"),on.render=function(e,t,o,i,u,h){return a(),r("div",null,[o.props?(a(),r("div",{key:0,class:"nav_container",style:s({marginTop:o.props.marginTop-42+"px",marginBottom:o.props.marginBottom+10+"px",borderRadius:o.props.componentCorner+"px"})},[0==o.props.tab?(a(),r("div",{key:0,class:"order_top",onClick:t[0]||(t[0]=e=>h.jump(o.props.navList[0].link))},[d("div",{class:"order_title",style:s({color:o.props.titleColor})},n(o.props.navTitle),5),0==o.props.seeAll&&o.props.navList.length>0?(a(),r("div",an,[d("span",{style:s({color:o.props.tabColor})},n(o.props.navList[0].name),5),d("img",{src:o.props.navList[0].imgUrl,style:{width:"12px",height:"12px"}},null,8,rn)])):p("",!0)])):p("",!0),d("div",{class:"assets_list",style:s({backgroundColor:o.props.backgroundColor})},[(a(!0),r(c,null,l(o.props.selectImg,(e,t)=>(a(),r("div",{class:g(["assets_item",[5===o.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:t,onClick:t=>h.jump(e.link)},[e&&e.imgUrl?(a(),r("img",{key:0,src:e.imgUrl,style:s({width:0==o.props.photoSize?"24px":"36px",height:0==o.props.photoSize?"24px":"36px",borderRadius:o.props.photoCorner+"px"})},null,12,nn)):(a(),r("img",{key:1,src:"http://123.com/image/name.png",style:s({width:0==o.props.photoSize?"24px":"36px",height:0==o.props.photoSize?"24px":"36px",borderRadius:o.props.photoCorner+"px"})},null,4)),e&&e.name?(a(),r("div",{key:2,class:"item_name",style:s({color:o.props.fontColor})},n(e.name),5)):p("",!0)],10,sn))),128))],4)],4)):p("",!0)])},on.__scopeId="data-v-6264cb33";var cn={name:"cyy-ArsenalRecommend",data:()=>({}),mounted(){},methods:{}};qo(".recomend_area[data-v-a75a4a9e]{align-items:center;display:flex;justify-content:center;margin:0 20px}.recomend_area .first_style[data-v-a75a4a9e]{background:#cd1c0e;height:8px;margin-right:3px;width:3px}.recomend_area .second_style[data-v-a75a4a9e]{background:#cd1c0e;height:14px;margin-right:3px;width:3px}.recomend_area .title[data-v-a75a4a9e]{color:#000;font-size:16px;font-weight:700;margin:0 7px}"),cn.render=function(e,t,o,i,s,n){return a(),r("div",null,[...t[0]||(t[0]=[x('<div class="recomend_area" data-v-a75a4a9e><div class="first_style" data-v-a75a4a9e></div><div class="second_style" data-v-a75a4a9e></div><div class="title" data-v-a75a4a9e>为您推荐</div><div class="second_style" data-v-a75a4a9e></div><div class="first_style" data-v-a75a4a9e></div></div>',1)])])},cn.__scopeId="data-v-a75a4a9e";var ln={name:"cyy-new-product",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number,creatDate:String,priceRange:String,goodsType:String,title:String,subTitle:String,backgroundColor:String,channelCode:String,autoPlay:Number,autoplayInterval:Number,channelCode:Number}},data:()=>({listArr:[],currentPage:0,noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:w}),computed:{wrapperStyle(){return{margin:`${this.props.marginTop}px 0 ${this.props.marginBottom}px 0`,backgroundColor:this.props.backgroundColor,borderRadius:`${this.props.borderRadius}px`}},filterKey(){return(this.props.creatDate||"")+"|"+(this.props.priceRange||"")+"|"+(this.props.goodsType||"")},normalizedList(){return this.listArr.map((e,t)=>({...e,renderKey:this.getGoodsUniqueKey(e)||`goods-${t}`,isPlaceholder:!1}))},groupedList(){if(3!==this.props.arrange)return[];const e=[];for(let t=0;t<this.normalizedList.length;t+=3){const o=Math.floor(t/3),i=this.normalizedList.slice(t,t+3);for(;i.length<3;)i.push({renderKey:`placeholder-${o}-${i.length}`,isPlaceholder:!0});e.push({pageKey:`page-${o}`,items:i})}return e},autoPlayResult(){return!this.isLc&&3===this.props.arrange&&0===this.props.autoPlay&&this.groupedList.length>1}},mounted(){this.init()},watch:{filterKey(){this.init()},listArr(){this.resetCurrentPage()},"props.arrange"(){this.resetCurrentPage()}},methods:{resetCurrentPage(){this.currentPage=0,this.$nextTick(()=>{const e=this.$refs.lcSwiper;e&&"function"==typeof e.scrollTo&&e.scrollTo({left:0,behavior:"auto"})})},handleLcScroll(e){const t=e.target,o=t.clientWidth||1;this.currentPage=Math.round(t.scrollLeft/o)},handleSwiperChange(e){this.currentPage=e.detail.current||0},goToPage(e){if(!(e<0||e>=this.groupedList.length)){if(this.isLc){const t=this.$refs.lcSwiper;if(!t)return;const o=t.clientWidth||0;t.scrollTo({left:o*e,behavior:"smooth"})}this.currentPage=e}},getGoodsUniqueKey:e=>e?.goodsCode||e?.skuCode||e?.goodsNo||"",deduplicateGoodsList(e=[]){const t=[],o=new Set;return e.forEach(e=>{if(!e)return;const i=this.getGoodsUniqueKey(e);i&&!o.has(i)&&(o.add(i),t.push(e))}),t},getGoodsImg(e){return e.dataPic?-1===e.dataPic.indexOf("http")?this.domainNameUrl+e.dataPic:e.dataPic:""},goMoreGoods(){if(w)return;const e=this.listArr.map(e=>e.goodsCode).join(",");this.$routers.push("/pages/goodsList/main",{goodsCode:e,page:"1",rows:"200",order:"asc",sortField:"pricesetNprice"})},formatDate:e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,parseCreatDate(e){if(!e)return{};try{const t=JSON.parse(e);if("days"===t.type){const e=new Date,o=new Date(e.getTime()-24*Number(t.value)*60*60*1e3);return{gmtCreateQstart:this.formatDate(o),gmtCreateQend:this.formatDate(e)}}if("range"===t.type){if(!t.start)return{};const e=this.formatDate(new Date);return{gmtCreateQstart:t.start,gmtCreateQend:t.end||e}}}catch(e){return console.error("时间解析错误",e),{}}return{}},parsePriceRange(e){if(!e)return{};try{const t=JSON.parse(e);return{pricesetNpriceQmin:t.min||"",pricesetNpriceQmax:t.max||""}}catch(e){return console.error("价格解析错误",e),{}}},async init(){this.domainNameUrl=_(this);const{creatDate:e,priceRange:t,goodsType:o,channelCode:a}=this.props;if(!e||!o)return void(this.listArr=[]);const r={rows:"200",page:"1",...this.parseCreatDate(e),...this.parsePriceRange(t),goodsDataState:"2",isNewArrival:1,channelCode:a};let s;if(o&&(r.goodsType=o),a&&(r.channelCode=a),w){const e=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"";e&&(r.channelCode=e);const t=new URLSearchParams(r).toString(),o={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8","saas-token":localStorage.getItem("saas-token")};s=await fetch(process.env.REACT_APP_BASE_URL+S+"&"+t,{method:"GET",headers:o,credentials:"include"}).then(e=>e.json()).catch(e=>(console.log("接口请求错误",e),{}))}else{const e=await this.http.get(S,r),t=this.deduplicateGoodsList(i(e,"list",[]));if(!t.length)return void(this.listArr=[]);const o=t.map(e=>e.goodsCode).filter(Boolean),a=o.join(",");if(!a)return void(this.listArr=[]);s=await this.http.get(I+"?rows=200&page=1",{goodsCode:a,dataState:"2",order:"asc",sortField:"pricesetNprice"});const n=this.deduplicateGoodsList(i(s,"list",[])),c=[];o.forEach(e=>{const t=n.find(t=>t.goodsCode===e);t&&c.push(t)}),s={list:c}}this.listArr=this.deduplicateGoodsList(i(s,"list",[]))},goGoodsDetail(e){if(w)return;const{skuCode:t}=e;this.$routers.push("detail",{skuNo:t})},getMaskState:e=>"1"===e?"预售中":"补货中"}};const dn={key:0},pn={key:0,class:"new-product-header"},gn={class:"header-title"},un={class:"lc-swiper-track"},hn=["onClick"],mn={class:"imgWrapper"},fn={key:0,class:"imgMarked"},bn={class:"maskState"},vn=["src"],yn={class:"goodsDescription"},xn={class:"goodsName"},wn={class:"footerContent"},kn={class:"goodsPrice"},Cn={key:0,class:"scribing"},Sn=["onClick"],Nn={class:"new-product-page",style:{gap:"10px"}},In=["onClick"],An={class:"imgWrapper"},Bn={key:0,class:"imgMarked"},_n={class:"maskState"},Dn=["src"],Ln={class:"goodsDescription"},Tn={class:"goodsName"},jn={class:"footerContent"},zn={class:"goodsPrice"},Pn={key:0,class:"scribing"},On=["onClick"],Fn={key:2,class:"swiper-dots"},Rn=["onClick"],$n=["onClick"],Gn={class:"imgWrapper"},Mn={key:0,class:"imgMarked"},Un={class:"maskState"},Kn=["src"],En={class:"goodsDescription"},Wn={key:0,class:"specialGoodsName"},Hn={key:1,class:"goodsName"},Vn={class:"footerContent"},qn={class:"goodsPrice"},Yn={key:0,class:"scribing"},Qn=["onClick"];qo(".new-product-header[data-v-c70c087e]{align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.new-product-header .header-title[data-v-c70c087e]{color:#333;font-size:18px;font-weight:600}.new-product-header .header-subtitle[data-v-c70c087e]{color:#999;font-size:14px}.new-product-swiper[data-v-c70c087e]{width:100%}.mp-swiper[data-v-c70c087e]{height:220px}.lc-swiper[data-v-c70c087e]{-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none}.lc-swiper[data-v-c70c087e]::-webkit-scrollbar{display:none}.lc-swiper-track[data-v-c70c087e]{display:flex}.new-product-page[data-v-c70c087e]{align-items:start;box-sizing:border-box;display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 5px;min-width:100%;width:100%}.new-product-page .cube-item[data-v-c70c087e]{background:#fff;min-width:0;padding-bottom:10px}.new-product-page .cube-item.is-placeholder[data-v-c70c087e]{background:transparent;pointer-events:none}.new-product-page .goodsImg[data-v-c70c087e]{aspect-ratio:1;display:block;height:100px;width:100%}.new-product-page .goodsDescription[data-v-c70c087e]{position:relative}.new-product-page .goodsDescription .goodsName[data-v-c70c087e]{font-size:13px;height:36px}.new-product-page .goodsDescription .footerContent[data-v-c70c087e]{align-items:stretch;flex-direction:column}.new-product-page .goodsDescription .footerContent .goodsPrice[data-v-c70c087e]{font-size:13px;margin-bottom:4px;text-align:left}.new-product-page .goodsDescription .footerContent .goodsPrice .scribing[data-v-c70c087e]{font-size:11px}.new-product-page .goodsDescription .footerContent .goodsBuy[data-v-c70c087e]{align-self:center;background-color:red;border-radius:15px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}.swiper-dots[data-v-c70c087e]{align-items:center;display:flex;justify-content:center;padding:8px 0 4px}.swiper-dot[data-v-c70c087e]{background:#d9d9d9;border-radius:50%;height:8px;margin:0 4px;width:8px}.swiper-dot.active[data-v-c70c087e]{background:#333}.cube-container[data-v-c70c087e]{display:grid}.cube-container.arrange-1[data-v-c70c087e]{grid-template-columns:repeat(1,1fr)}.cube-container.arrange-1 .cube-item[data-v-c70c087e]{background:#fff}.cube-container.arrange-1 .cube-item .goodsImg[data-v-c70c087e]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-c70c087e]{font-size:20px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-c70c087e]{font-size:18px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-c70c087e]{font-size:14px}.cube-container.arrange-2[data-v-c70c087e]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-c70c087e]{background:#fff;margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-c70c087e]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-c70c087e]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-c70c087e]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-c70c087e]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-c70c087e]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-c70c087e]{font-size:12px}.cube-container.arrange-5[data-v-c70c087e]{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.cube-container.arrange-5 .cube-item[data-v-c70c087e]{background:#fff;height:189px;margin:0 5px;padding-bottom:10px;width:107px}.cube-container.arrange-5 .cube-item .goodsImg[data-v-c70c087e]{aspect-ratio:1;height:100px;width:100%}.cube-container.arrange-5 .cube-item .goodsDescription[data-v-c70c087e]{position:relative}.cube-container.arrange-5 .cube-item .goodsDescription .goodsName[data-v-c70c087e]{font-size:13px;height:36px}.cube-container.arrange-5 .cube-item .goodsDescription .footerContent[data-v-c70c087e]{align-items:stretch;flex-direction:column}.cube-container.arrange-5 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-c70c087e]{font-size:13px;margin-bottom:4px;text-align:left}.cube-container.arrange-5 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-c70c087e]{font-size:11px}.cube-container.arrange-5 .cube-item .goodsDescription .footerContent .goodsBuy[data-v-c70c087e]{align-self:center;background-color:red;border-radius:15px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}.cube-item .imgWrapper[data-v-c70c087e]{position:relative;text-align:center}.cube-item .imgMarked[data-v-c70c087e]{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-item .imgMarked .maskState[data-v-c70c087e]{color:#fff;font-size:23px}.cube-item .goodsDescription[data-v-c70c087e]{display:flex;flex-direction:column;justify-content:space-between}.cube-item .goodsDescription .goodsName[data-v-c70c087e],.cube-item .goodsDescription .specialGoodsName[data-v-c70c087e]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-item .goodsDescription .footerContent[data-v-c70c087e]{align-items:flex-start;display:flex;justify-content:space-between}.cube-item .goodsDescription .footerContent .goodsPrice[data-v-c70c087e]{color:#f53a50;font-weight:600}.cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-c70c087e]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-item .goodsDescription .goodsBuy[data-v-c70c087e]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),ln.render=function(e,t,o,i,m,v){const x=h("swiper-item"),w=h("swiper");return a(),r("div",null,[m.listArr.length||m.isLc?(a(),r("div",{key:1,style:s({margin:`${o.props.marginTop}px 0 ${o.props.marginBottom}px 0`,backgroundColor:`${o.props.backgroundColor}`,borderRadius:`${o.props.borderRadius}px`})},[o.props.title||o.props.subTitle?(a(),r("div",pn,[d("div",gn,n(o.props.title),1),d("div",{class:"header-subtitle",onClick:t[0]||(t[0]=e=>v.goMoreGoods())},n(o.props.subTitle),1)])):p("",!0),m.listArr.length?(a(),r(c,{key:1},[3===o.props.arrange?(a(),r(c,{key:0},[m.isLc?(a(),r("div",{key:0,ref:"lcSwiper",class:"new-product-swiper lc-swiper",onScroll:t[1]||(t[1]=(...e)=>v.handleLcScroll&&v.handleLcScroll(...e))},[d("div",un,[(a(!0),r(c,null,l(v.groupedList,e=>(a(),r("div",{key:e.pageKey,class:"new-product-page",style:{gap:"10px"}},[(a(!0),r(c,null,l(e.items,e=>(a(),r("div",{key:e.renderKey,class:g(["cube-item",{"is-placeholder":e.isPlaceholder}]),onClick:t=>!e.isPlaceholder&&v.goGoodsDetail(e),style:s({borderRadius:`${o.props.borderRadius}px`,marginBottom:`${o.props.marginBottom}px`,marginTop:`${o.props.marginTop}px`})},[e.isPlaceholder?p("",!0):(a(),r(c,{key:0},[d("div",mn,[!1===m.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",fn,[d("div",bn,n(v.getMaskState(e.goodsProperty5)),1)])):p("",!0),d("img",{class:"goodsImg",src:v.getGoodsImg(e),alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,vn)]),d("div",yn,[d("div",xn,n(e.goodsName),1),d("section",wn,[d("div",kn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",Cn,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),d("div",{class:"goodsBuy",onClick:y(t=>v.goGoodsDetail(e),["stop"])},"立即购买",8,Sn)])])],64))],14,hn))),128))]))),128))])],544)):(a(),b(w,{key:1,class:"new-product-swiper mp-swiper",current:m.currentPage,autoplay:v.autoPlayResult,interval:o.props.autoplayInterval||1500,circular:v.groupedList.length>1,"indicator-dots":!1,onChange:v.handleSwiperChange},{default:f(()=>[(a(!0),r(c,null,l(v.groupedList,e=>(a(),b(x,{key:e.pageKey},{default:f(()=>[d("div",Nn,[(a(!0),r(c,null,l(e.items,e=>(a(),r("div",{key:e.renderKey,class:g(["cube-item",{"is-placeholder":e.isPlaceholder}]),onClick:t=>!e.isPlaceholder&&v.goGoodsDetail(e),style:s({borderRadius:`${o.props.borderRadius}px`,marginBottom:`${o.props.marginBottom}px`,marginTop:`${o.props.marginTop}px`})},[e.isPlaceholder?p("",!0):(a(),r(c,{key:0},[d("div",An,[!1===m.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",Bn,[d("div",_n,n(v.getMaskState(e.goodsProperty5)),1)])):p("",!0),d("img",{class:"goodsImg",src:v.getGoodsImg(e),alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,Dn)]),d("div",Ln,[d("div",Tn,n(e.goodsName),1),d("section",jn,[d("div",zn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",Pn,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),d("div",{class:"goodsBuy",onClick:y(t=>v.goGoodsDetail(e),["stop"])},"立即购买",8,On)])])],64))],14,In))),128))])]),_:2},1024))),128))]),_:1},8,["current","autoplay","interval","circular","onChange"])),v.groupedList.length>1?(a(),r("div",Fn,[(a(!0),r(c,null,l(v.groupedList,(e,t)=>(a(),r("div",{key:e.pageKey,class:g(["swiper-dot",{active:m.currentPage===t}]),onClick:e=>v.goToPage(t)},null,10,Rn))),128))])):p("",!0)],64)):(a(),r("div",{key:1,class:g(["cube-container",`arrange-${o.props.arrange}`])},[(a(!0),r(c,null,l(v.normalizedList,e=>(a(),r("div",{key:e.renderKey,class:"cube-item",onClick:t=>v.goGoodsDetail(e),style:s({borderRadius:`${o.props.borderRadius}px`,marginBottom:`${o.props.marginBottom}px`,marginTop:`${o.props.marginTop}px`})},[d("div",Gn,[!1===m.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",Mn,[d("div",Un,n(v.getMaskState(e.goodsProperty5)),1)])):p("",!0),d("img",{class:"goodsImg",src:v.getGoodsImg(e),alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,Kn)]),d("div",En,[!0===m.isLc&&2===o.props.arrange?(a(),r("div",Wn,n(e.goodsName),1)):(a(),r("div",Hn,n(e.goodsName),1)),d("section",Vn,[d("div",qn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",Yn,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),d("div",{class:"goodsBuy",onClick:y(t=>v.goGoodsDetail(e),["stop"])},"立即购买",8,Qn)])])],12,$n))),128))],2))],64)):p("",!0)],4)):(a(),r("div",dn))])},ln.__scopeId="data-v-c70c087e";var Xn={name:"cyy-ArsenalPromotion",props:{props:{compName:String,headImg:String,classList:Array,promotionType:Number,carIcon:Number,bgColor:String,getBgColor:String,fontColor:String,getfontColor:String,navigationHeight:Number,navigationFontSize:Number,classDomainList:Array}},data(){return{classTitleStyle:{height:this.props.navigationHeight+"px",lineHeight:this.props.navigationHeight+"px",fontSize:this.props.navigationFontSize+"px"},classDomainList:[],domainNameUrl:"",isLc:w,checkClassIndex:-1,targetId:"",scrollTop:0,page:1,rows:12}},mounted(){this.domainNameUrl=_(this),this.classDomainList=JSON.parse(JSON.stringify(this.props.classDomainList)),this.initgoods()},computed:{},methods:{initgoods(){let e=this;return w?this.LcGetGoodsList(e):this.getGoodsList(e)},async LcGetGoodsList(e){let t=e.classDomainList;for(let e of t){const t=`${B}?promotionCode=${e.goodsClassId}`;let o=await za(t);console.log(o,"result");if(new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode"),o&&o.length>0&&5==o[0].rangeType){let t=[];const i=o[0];console.log(i,"firstItem"),i.pmPromotionRangeList.forEach(e=>{t.push(e.rangeCode)}),console.log(t,"skuNoList");const a=`${I}?skuNo=${t.join()}&rows=12&page=1`,r=await za(a);e.goodsList=r.list,console.log(e,"商品")}else if(o&&o.length>0&&0==o[0].rangeType){const t=`${I}?rows=12&page=1`,o=await za(t);e.goodsList=o.list,console.log(e,"商品")}}e.classDomainList=t},async getGoodsList(e){console.log(e.classDomainList,"活动");for(let t of e.classDomainList){let o={promotionCode:t.goodsClassId},i=await e.http.get(`${B}`,o);if(i&&i.length>0&&5==i[0].rangeType){let o=[];const a=i[0];console.log(a,"firstItem"),a.pmPromotionRangeList.forEach(e=>{o.push(e.rangeCode)}),console.log(o,"skuNoList");let r={skuNo:o.join()};const s=await e.getGoodsImpl()(this,r,this.page);e.$set(t,"goodsList",s.list),e.$set(t,"skuNoList",o.join()),e.$set(t,"page",1),console.log(t,"商品")}else if(i&&i.length>0&&0==i[0].rangeType){const o=await e.getGoodsImpl()(this,{},this.page);e.$set(t,"goodsList",o.list),e.$set(t,"page",1),e.$set(t,"total",o.total),console.log(t,"商品")}}},async loadMore(e,t){if(console.log(e,t,"加载当前活动商品"),e.skuNoList){let t={skuNo:e.skuNoList},o=e.skuNoList.split(",").length;if(Math.ceil(o/this.rows)>e.page){console.log("分页加载"),e.page++;const o=await this.getGoodsImpl()(this,t,e.page);this.$set(e,"goodsList",[...e.goodsList,...o.list]),this.$set(e,"page",e.page)}else isLC||uni.$u.toast("没有更多了~")}else if(console.log("全部商品"),Math.ceil(e.total/this.rows)>e.page){console.log("分页加载----全部商品"),e.page++;const t=await this.getGoodsImpl()(this,{},e.page);this.$set(e,"goodsList",[...e.goodsList,...t.list]),this.$set(e,"page",e.page)}else isLC||uni.$u.toast("没有更多了~")},getGoodsImpl(){console.log(99999);const t=async(t,o)=>{const{id:i,goods:a}=t.props;if(e(a))return Promise.resolve({list:[]});if(handleCache(t))return Promise.resolve(fetchGoodsInfo(i));const r=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",s=localStorage.getItem("saas-token");return await fetch(_()+I+"?rows=12&page=1&skuNo="+o.skuNo+"&channelCode="+r,{method:"GET",headers:{"saas-token":s,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then(e=>e.json()).then((e={})=>(setGoodsInfo(i,a,e),console.log("Pc数据----res"),e))};return w?t:async(e,t,o)=>{const{list:i,total:a}=await e.http.get(`web/es/searchengine/find.json?rows=12&page=${o}`,t);if(t.hasOwnProperty("skuNo")){const e=t.skuNo.split(",");let o=[];return e.forEach(e=>{i.forEach(t=>{t.skuNo===e&&o.push(t)})}),console.log("findList",o),{list:o,total:a}}return{list:i,total:a}}},checkClass(e){this.checkClassIndex=e,this.targetId=`item-${e}`},addShoppingShow(e){w||this.$emit("addShoppingShow",e)},getMaskState:e=>"1"===e?"预售中":"补货中",getTextStyle:e=>({color:e.titleColor||"#000000",fontSize:e.titleFontSize||"16px"}),goGoodsDetail(e){if(w)return;const{skuCode:t}=e;let o={skuNo:t};this.$routers.push("detail",o)},handleScroll(e){this.scrollTop=e.detail.scrollTop}}};const Jn=["onClick"],Zn=["src"],ec=["src"],tc={class:"classContent"},oc=["id"],ic=["src"],ac=["src"],rc=["src"],sc={class:"text-overlay"},nc=["src"],cc={key:2,class:"coupon"},lc=["onClick"],dc={class:"imgWrapper"},pc={class:"maskState"},gc=["src"],uc={class:"goodsDescription"},hc={class:"goodsPrice"},mc={key:0,class:"scribing"},fc={class:"goodsBuy"},bc=["onClick"],vc=["onClick"];qo(".headerImg[data-v-2212a015]{width:100%}.classTitle[data-v-2212a015]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-2212a015]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-2212a015]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-2212a015]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-2212a015]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-2212a015]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-2212a015]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-2212a015]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay .coupon[data-v-2212a015]{background-color:#fff;border-radius:30px;display:flex;height:100px;margin-top:20px;position:relative;width:90%}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left[data-v-2212a015]{align-items:center;border-right:1px dashed #ccc;display:flex;flex-direction:column;height:100px;justify-content:center;width:100px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left .card[data-v-2212a015]{color:#eb5555;font-size:20px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left .price[data-v-2212a015]{color:#888;font-size:12px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right[data-v-2212a015]{align-items:center;display:flex;justify-content:center;margin-left:10px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .right-container[data-v-2212a015]{display:flex;flex-direction:column;justify-content:space-around}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .date[data-v-2212a015]{color:#888;font-size:12px;margin-top:15px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .get_btn[data-v-2212a015]{background-color:#eb5555;border-radius:20px;color:#f1f1f1;height:20px;line-height:20px;text-align:center;width:68px}.cube-container[data-v-2212a015]{display:grid}.cube-container.arrange-4[data-v-2212a015]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-2212a015]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-2212a015]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-2212a015]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2212a015]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-2212a015]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-2212a015]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-2212a015]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-2212a015]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-2212a015]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-2212a015]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2212a015]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-2212a015]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-2212a015]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-2212a015]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-2212a015]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-2212a015]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-2212a015]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-2212a015]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-2212a015]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2212a015]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2212a015]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-2212a015]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-2212a015]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-2212a015]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-2212a015]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2212a015]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2212a015]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-2212a015]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-2212a015]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-2212a015]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-2212a015]{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 .cube-item .imgMarked .maskState[data-v-2212a015]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-2212a015]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-2212a015]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-2212a015]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2212a015]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2212a015]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),Xn.render=function(e,t,o,i,b,v){const x=h("scroll-view");return a(),r("div",null,[d("div",null,[b.scrollTop>20||b.isLc?(a(),r("div",{key:0,class:"classTitle",style:s({backgroundColor:o.props.bgColor})},[(a(!0),r(c,null,l(b.classDomainList,(e,t)=>(a(),r("span",{class:"classTitleItem",key:e.goodsClassId,style:s({height:o.props.navigationHeight+"px",lineHeight:o.props.navigationHeight+"px",fontSize:o.props.navigationFontSize+"px"})},[d("span",{class:"classSpan",onClick:e=>v.checkClass(t),style:s({background:b.checkClassIndex===t?o.props.getBgColor:o.props.bgColor,color:b.checkClassIndex===t?o.props.getfontColor:o.props.fontColor})},n(e.goodsChangeClassName),13,Jn)],4))),128))],4)):p("",!0),m(x,{"scroll-y":"true","scroll-with-animation":"true",onScroll:v.handleScroll,"scroll-into-view":b.targetId,style:{height:"100vh"}},{default:f(()=>[o.props.headImg?(a(),r(c,{key:0},[b.isLc?(a(),r("img",{key:0,class:"headerImg",src:o.props.headImg},null,8,Zn)):(a(),r("image",{key:1,class:"headerImg",src:o.props.headImg,mode:"widthFix"},null,8,ec))],64)):p("",!0),d("div",tc,[(a(!0),r(c,null,l(b.classDomainList,(e,o)=>(a(),r("div",{class:"classContentItem",key:e.goodsClassId,id:"item-"+o},[e.classfooterImg?(a(),r("div",{key:1,class:"classContentImgBox",style:s({paddingTop:e.titleMt+"px",paddingBottom:e.titleBt+"px",backgroundColor:e.bgColor})},[b.isLc?(a(),r("img",{key:0,class:"classContentImg",src:e.classfooterImg},null,8,ac)):(a(),r("image",{key:1,class:"classContentImg",src:e.classfooterImg,mode:"widthFix"},null,8,rc)),d("div",sc,[e.iconFlag?(a(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:e.goodsClassLogo?-1===e.goodsClassLogo.indexOf("http")?b.domainNameUrl+e.goodsClassLogo:e.goodsClassLogo:""},null,8,nc)):p("",!0),e.goodsClassNameFlag?(a(),r("span",{key:1,style:s({color:e.titleColor,fontSize:e.titleFontSize+"px"})},n(e.goodsChangeClassName),5)):p("",!0),"4"==e.promotionType?(a(),r("div",cc,[...t[0]||(t[0]=[d("div",{class:"left"},[d("div",{class:"card"},"代金券"),d("div",{class:"price"},"面额10元")],-1),d("div",{class:"right"},[d("div",{class:"right-container"},[d("span",{class:"discount"},"满100减10"),d("span",{class:"date"},"2025.06.03至2025.06.30")]),d("span",{class:"get_btn"},"点击领取")],-1)])])):p("",!0)])],4)):(a(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:e.titleMt+"px",paddingBottom:e.titleBt+"px",backgroundColor:e.bgColor})},[e.iconFlag?(a(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:e.goodsClassLogo?-1===e.goodsClassLogo.indexOf("http")?b.domainNameUrl+e.goodsClassLogo:e.goodsClassLogo:""},null,8,ic)):p("",!0),e.goodsClassNameFlag?(a(),r("span",{key:1,style:s({color:e.titleColor,fontSize:e.titleFontSize+"px"})},n(e.goodsChangeClassName),5)):p("",!0)],4)),d("div",{class:g(["cube-container",`arrange-${e.showTitle}`,{isLc:b.isLc}]),style:s({backgroundColor:e.goodsBgColor})},[(a(!0),r(c,null,l(e.goodsList,(t,o)=>(a(),r("div",{class:"cube-item",style:s({marginTop:`${e.goodsMt}px`,marginBottom:`${e.goodsBt}px`}),key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[d("div",dc,[!1===b.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${e.borderRaduils}px`})},[d("div",pc,n(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?b.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:s({borderRadius:`${e.borderRaduils}px`})},null,12,gc)]),d("div",uc,[!0===b.isLc&&2===e.showTitle?(a(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:e.goodsSpacingFlag?"5px":"0",marginBottom:e.goodsSpacingFlag?"5px":"0"})},n(t.goodsName),5)):(a(),r("div",{key:1,class:"goodsName",style:s({marginTop:e.goodsSpacingFlag?"5px":"0",marginBottom:e.goodsSpacingFlag?"5px":"0"})},n(t.goodsName),5)),d("section",{class:"footerContent",style:s({marginTop:e.goodsSpacingFlag?"5px":"0",marginBottom:e.goodsSpacingFlag?"5px":"0"})},[d("div",hc,[u(" ¥"+n(t.pricesetNprice)+" ",1),1===e.underLineFlag?(a(),r("div",mc," ¥"+n(t.pricesetMakeprice),1)):p("",!0)]),d("div",fc,[d("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:y(e=>v.addShoppingShow(t),["stop"]),style:{height:"25px",width:"25px"}},null,8,bc)])],4)])],12,lc))),128))],6),b.isLc?p("",!0):(a(),r("button",{key:2,class:"moreBtn",onClick:t=>v.loadMore(e,o)}," 查看更多 ",8,vc))],8,oc))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},Xn.__scopeId="data-v-2212a015";export{wr as ArsenalActivity,Gi as ArsenalCarousel,ps as ArsenalClass,on as ArsenalMyNavigation,Ls as ArsenalMyTop,ji as ArsenalNavigation,_i as ArsenalPicture,Xn as ArsenalPromotion,cn as ArsenalRecommend,ha as ArsenalTop,Vi as Collocation,Ho as Cube,Jo as Goods,mi as GoodsOne,Pa as Live,ln as NewProduct,lr as Notice,Yo as Search,di as Slider,Wo as Title,ls as Video};
|