cyy-vue-material 7.0.21 → 7.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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 m,createVNode as h,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,C=e=>{let t={};for(let o in e)t[o]=k(e[o]);return t},k=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",L=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}=_[i]||{};return t(o,a)})(o);if(s)return Promise.resolve((e=>{const{mGoodsInfo:t}=_[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(L()+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)=>{_[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}}}(),_={};var T=Array.isArray,j="object"==typeof global&&global&&global.Object===Object&&global,P="object"==typeof self&&self&&self.Object===Object&&self,z=j||P||Function("return this")(),O=z.Symbol,F=Object.prototype,$=F.hasOwnProperty,R=F.toString,G=O?O.toStringTag:void 0;var M=Object.prototype.toString;var U=O?O.toStringTag:void 0;function E(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":U&&U in Object(e)?function(e){var t=$.call(e,G),o=e[G];try{e[G]=void 0;var i=!0}catch(e){}var a=R.call(e);return i&&(t?e[G]=o:delete e[G]),a}(e):function(e){return M.call(e)}(e)}function K(e){return null!=e&&"object"==typeof e}function W(e){return"symbol"==typeof e||K(e)&&"[object Symbol]"==E(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=E(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Q,X=z["__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 me(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 he=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=me(t,e);return!(o<0)&&(o==t.length-1?t.pop():he.call(t,o,1),--this.size,!0)},fe.prototype.get=function(e){var t=this.__data__,o=me(t,e);return o<0?void 0:t[o][1]},fe.prototype.has=function(e){return me(this.__data__,e)>-1},fe.prototype.set=function(e,t){var o=this.__data__,i=me(o,e);return i<0?(++this.size,o.push([e,t])):o[i][1]=t,this};var be=ce(z,"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,Ce,ke,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},Ce=xe(we,function(e){return 500===ke.size&&ke.clear(),e}),ke=Ce.cache,Ce),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 Le=O?O.prototype:void 0,De=Le?Le.toString:void 0;function _e(e){if("string"==typeof e)return e;if(T(e))return Be(e,_e)+"";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?"":_e(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 Pe(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 ze=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Oe=ze;function Fe(e,t,o){"__proto__"==t&&Oe?Oe(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var $e=Object.prototype.hasOwnProperty;function Re(e,t,o){var i=e[t];$e.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])?[]:{})}Re(n,c,l),n=n[c]}return e}function Ee(e,t){return null!=e&&t in Object(e)}function Ke(e){return K(e)&&"[object Arguments]"==E(e)}var We=Object.prototype,He=We.hasOwnProperty,Ve=We.propertyIsEnumerable,qe=Ke(function(){return arguments}())?Ke:function(e){return K(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,Ee)}function Xe(e,t){return function(e,t,o){for(var i=-1,a=t.length,r={};++i<a;){var s=t[i],n=Pe(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):Re(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,mt=ut&&"object"==typeof module&&module&&!module.nodeType&&module,ht=mt&&mt.exports===ut?z.Buffer:void 0,ft=(ht?ht.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,Ct=function(){try{var e=xt&&xt.require&&xt.require("util").types;return e||wt&&wt.binding&&wt.binding("util")}catch(e){}}(),kt=Ct&&Ct.isTypedArray,St=kt?vt(kt):function(e){return K(e)&&Ye(e.length)&&!!bt[E(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 Lt(e,t){return function(o){return e(t(o))}}var Dt=Lt(Object.keys,Object),_t=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))_t.call(e,o)&&"constructor"!=o&&t.push(o);return t}(e)}var Pt=Object.prototype.hasOwnProperty;function zt(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&&Pt.call(e,i))&&o.push(i);return o}function Ot(e){return Tt(e)?It(e,!0):zt(e)}var Ft="object"==typeof exports&&exports&&!exports.nodeType&&exports,$t=Ft&&"object"==typeof module&&module&&!module.nodeType&&module,Rt=$t&&$t.exports===Ft?z.Buffer:void 0,Gt=Rt?Rt.allocUnsafe:void 0;function Mt(){return[]}var Ut=Object.prototype.propertyIsEnumerable,Et=Object.getOwnPropertySymbols,Kt=Et?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}(Et(e),function(t){return Ut.call(e,t)}))}:Mt,Wt=Kt;var Ht=Lt(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(z,"DataView"),Zt=ce(z,"Promise"),eo=ce(z,"Set"),to=ce(z,"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=E;(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=E(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 mo=uo,ho=Object.prototype.hasOwnProperty;var fo=z.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 Co=Object.create,ko=function(){function e(){}return function(t){if(!q(t))return{};if(Co)return Co(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),So=ko;var No=Ct&&Ct.isMap,Io=No?vt(No):function(e){return K(e)&&"[object Map]"==mo(e)};var Ao=Ct&&Ct.isSet,Bo=Ao?vt(Ao):function(e){return K(e)&&"[object Set]"==mo(e)},Lo="[object Arguments]",Do="[object Function]",_o="[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]&&ho.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=mo(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==_o||p==Lo||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 m=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););}(m||e,function(i,a){m&&(i=e[a=i]),Re(s,a,jo(i,t,o,a,e,r))}),s}function Po(e,t){return t.length<2?e:Pe(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[Lo]=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[_o]=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 zo=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&&!zo.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=Po(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,$o=Object.prototype,Ro=Fo.toString,Go=$o.hasOwnProperty,Mo=Ro.call(Object);function Uo(e){return function(e){if(!K(e)||"[object Object]"!=E(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&&Ro.call(o)==Mo}(e)?void 0:e}var Eo=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}),Ko=Eo,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=Ko(this.props||{},e);return{...C(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=Ko(this.props,e);return{...C(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=Ko(this.props,e);return{...C(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=L(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,m,h){return a(),r("div",null,[m.listArr.length?(a(),r("div",Zo,[d("div",{class:g(["cube-container",`arrange-${o.props.arrange}`,{isLc:m.isLc}]),style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,gap:`${o.props.margin}px`})},[(a(!0),r(c,null,l(m.listArr,(e,i)=>(a(),r("div",{class:"cube-item",key:e.skuCode,onClick:t=>h.goGoodsDetail(e)},[d("div",ti,[!1===m.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(h.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?m.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,ii)]),d("div",ai,[!0===m.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(m.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{...C(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const pi={key:0},gi=["src"],ui={key:1},mi=["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=m("swiper-item"),u=m("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,[h(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,mi)]),_:2},1032,["style"]))),128))]),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var hi={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"},Ci=["src"],ki={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}"),hi.render=function(e,t,o,i,g,b){const v=m("vop-label"),y=m("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,Ci)]),d("div",ki,[h(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,[h(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))])},hi.__scopeId="data-v-326730f6";var Li={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"},_i=["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%}"),Li.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,_i)):(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,"请选择添加图片"))])},Li.__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 Pi={key:0,class:"holder"},zi=["onClick"],Oi=["src"],Fi={key:1},$i=["onClick"],Ri=["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,m){return a(),r("div",null,[m.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(m.resultArr,(e,t)=>(a(),r("div",{class:g(["golds-item",[5===o.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:t,onClick:t=>m.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,zi))),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(m.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=>m.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:m.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl},null,14,Ri)],14,$i))),128))],4)])):p("",!0)],64)):(a(),r("div",Pi,[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"],Ei={class:"swiper"},Ki=["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=m("swiper-item"),u=m("block"),v=m("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",Ei,[h(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(()=>[h(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,Ki)]),_: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=L(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=m("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,m)=>(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,[h(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 ma={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 ha={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"],Ca=["src"],ka=["src"],Sa={class:"Box"},Na={class:"boxBg"},Ia={class:"search"},Aa={class:"tag"},Ba={class:"tag--item"},La={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},Da=["src"],_a={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}"),ma.render=function(e,t,o,i,p,g){const v=m("swiper-item"),y=m("block"),x=m("swiper");return a(),r("div",null,[p.lowCode?(a(),r("div",ha,[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,Ca)),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,ka),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",La,[d("img",{"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Da)]),d("div",_a,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,[h(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(()=>[h(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))])},ma.__scopeId="data-v-2fdfd7a0";const Pa=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 za={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 Pa(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"},$a={class:"liveCover"},Ra=["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}"),za.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",$a,[d("img",{src:l.liveCover},null,8,Ra),d("div",Ga,n(l.liveState),1)])])],4)):(a(),r("div",{key:0,style:s(c.noDataStyle)},"请选择直播",4))])},za.__scopeId="data-v-7870d5a8";const Ma="%[a-f0-9]{2}",Ua=new RegExp("("+Ma+")|([^%]+?)","gi"),Ea=new RegExp("("+Ma+")+","gi");function Ka(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([],Ka(o),Ka(i))}function Wa(e){try{return decodeURIComponent(e)}catch{let t=e.match(Ua)||[];for(let o=1;o<t.length;o++)t=(e=Ka(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=Ea.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=Ea.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 Pa(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=m("swiper-item"),v=m("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,[h(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 mr={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}}"),mr.render=function(e,t,o,i,l,m){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([m.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)},mr.__scopeId="data-v-6b1ec6a3";const hr=w?location.hash.replace(/[\\/#?]/g,""):null,fr=cr.parse(hr),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:mr},data:()=>({lowCode:w,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=L(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 Pa(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&couponBatchCode=${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 Pa(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 Cr={key:0},kr={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"},Lr={class:"img"},Dr=["src"],_r={key:1},Tr=["onClick"],jr={class:"soneLeft"},Pr=["src"],zr={class:"soneRight"},Or={class:"soneRightA"},Fr={key:0,class:"soneRightB"},$r={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Rr={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Gr={class:"soneRightC"},Mr={class:"priceC"},Ur={style:{color:"#ff9745"}},Er={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},Kr={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-2551ba01]{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-2551ba01]{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-2551ba01]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill .secKill--tit .title[data-v-2551ba01]{align-items:center;display:flex}.secKill .secKill--tit .title .changeOnce[data-v-2551ba01]{color:#439fff;font-size:10px;margin-left:6px}.secKill .secKill--tit .more[data-v-2551ba01]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill .secKill--tit .more .img[data-v-2551ba01]{height:9px;margin-left:3px;width:5.5px}.secKill .secKill-all[data-v-2551ba01]{display:flex}.secKill .secKill-all .secKill--center[data-v-2551ba01]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill .secKill-all .secKill--center .secKill-goodsName[data-v-2551ba01]{-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-2551ba01]{display:flex;justify-content:center;margin-top:5px}.secKill .secKill-all .secKill--center .dataStateButton span[data-v-2551ba01]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill .secKill--bottom[data-v-2551ba01]{display:flex}.secKill .secKill--bottom .left[data-v-2551ba01]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill .secKill--bottom .left .bigimgs[data-v-2551ba01]{height:100px;margin:0 auto;width:100px}.secKill .secKill--bottom .left .goodsName[data-v-2551ba01]{-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-2551ba01]{align-items:center;display:flex;justify-content:space-between}.secKill .secKill--bottom .left[data-v-2551ba01]:nth-child(2){border:none}.secKill .secKill--bottom .right[data-v-2551ba01]{height:255px;padding-left:7.5px;width:164px}.secKill .secKill--bottom .right .bigimg[data-v-2551ba01]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill .secKill--bottom .right .goodsName[data-v-2551ba01]{-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-2551ba01]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-2551ba01]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-2551ba01]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-2551ba01]{width:112px}}.bigimg3[data-v-2551ba01]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-2551ba01]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-2551ba01]{width:110px}}.goodsDetail2[data-v-2551ba01]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-2551ba01]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-2551ba01]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-2551ba01]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-2551ba01]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-2551ba01]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-2551ba01]{width:162px}}.bigimg2[data-v-2551ba01]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-2551ba01]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-2551ba01]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-2551ba01]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-2551ba01]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-2551ba01]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-2551ba01]{height:160px;width:160px}}.overflowX[data-v-2551ba01]{overflow:hidden;overflow-x:scroll}.fel[data-v-2551ba01]{display:flex;justify-content:space-between}.secKill-One[data-v-2551ba01]{display:flex;padding:8px}.secKill-One .soneLeft[data-v-2551ba01]{height:110px;margin-right:8px;width:110px}.secKill-One .soneLeft img[data-v-2551ba01]{border-radius:6px;height:110px;width:110px}.secKill-One .soneRight[data-v-2551ba01]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One .soneRight .soneRightA[data-v-2551ba01]{-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-2551ba01]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightB .uline[data-v-2551ba01]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One .soneRight .soneRightC[data-v-2551ba01]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightC .priceC[data-v-2551ba01]{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-2551ba01]{display:flex;justify-content:center;margin-top:5px}.secKill-One .soneRight .soneRightC .dataStateButton span[data-v-2551ba01]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),wr.render=function(e,t,o,i,u,f){const v=m("uContDown"),y=m("u-count-down"),x=m("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",kr,[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",Lr,[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",_r,[(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,Pr)]),d("div",zr,[d("div",Or,n(t.goodsName),1),0===o.props.activityType?(a(),r("div",Fr,[h(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:f.diffFn(t),height:"10","show-percent":!1},null,8,["percent"]),u.lowCode?(a(),r("div",$r,"剩"+n(t.goodsSupplynum||0)+"件",1)):(a(),r("div",Rr,"剩"+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",Er,n(t.pricesetMakeprice),1)):p("",!0)]),d("div",Kr,[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",Cr))])},wr.__scopeId="data-v-2551ba01";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=L(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)if(w){const t=`${S}&rows=20&page=1&classtreeCode=${e.classtreeCode}&channelCode=${xr}`,o=await Pa(t);e.goodsList=o.list}else{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 Pa(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 Pa(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"],ms=["src"],hs={class:"classContent"},fs=["id"],bs=["src"],vs=["src"],ys=["src"],xs={class:"text-overlay"},ws=["src"],Cs=["onClick"],ks={class:"imgWrapper"},Ss={class:"maskState"},Ns=["src"],Is={class:"goodsDescription"},As={class:"goodsPrice"},Bs={key:0,class:"scribing"},Ls={class:"goodsBuy"},Ds=["onClick"];qo(".headerImg[data-v-2b1b914f]{width:100%}.classTitle[data-v-2b1b914f]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-2b1b914f]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-2b1b914f]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-2b1b914f]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-2b1b914f]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-2b1b914f]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-2b1b914f]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-2b1b914f]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-2b1b914f]{display:grid}.cube-container.arrange-4[data-v-2b1b914f]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-2b1b914f]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-2b1b914f]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-2b1b914f]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2b1b914f]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-2b1b914f]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-2b1b914f]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-2b1b914f]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-2b1b914f]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-2b1b914f]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2b1b914f]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-2b1b914f]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-2b1b914f]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-2b1b914f]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-2b1b914f]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-2b1b914f]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-2b1b914f]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2b1b914f]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2b1b914f]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-2b1b914f]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-2b1b914f]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-2b1b914f]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2b1b914f]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2b1b914f]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-2b1b914f]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-2b1b914f]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-2b1b914f]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-2b1b914f]{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-2b1b914f]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-2b1b914f]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-2b1b914f]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2b1b914f]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2b1b914f]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),ps.render=function(e,t,o,i,b,v){const x=m("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),h(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,ms))],64)):p("",!0),d("div",hs,[(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",ks,[!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",Ls,[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,Cs))),128))],6)],8,fs))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},ps.__scopeId="data-v-2b1b914f";var _s={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")},goLogin(){this.$emit("goLogin")}}};const Ts={class:"header_top"},js={class:"user_top"},Ps={class:"user_left"},zs={key:0,class:"user_logo"},Os=["src"],Fs={key:1,class:"text"},$s={key:2,class:"user_message"},Rs={key:3},Gs={key:0,class:"user_message"},Ms={key:0},Us={class:"user_name"},Es={class:"user_change"},Ks={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-5b5655c5]{background:#eb2b27;padding:18px 12px 54px}.header_top .user_top[data-v-5b5655c5]{align-items:center;display:flex;justify-content:space-between;width:100%}.header_top .user_top .user_left[data-v-5b5655c5]{align-items:center;display:flex}.header_top .user_top .user_left .user_logo[data-v-5b5655c5]{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-5b5655c5],.header_top .user_top .user_left .user_logo img[data-v-5b5655c5]{border-radius:50%;height:100%;width:100%}.header_top .user_top .user_left .user_message[data-v-5b5655c5]{margin-left:12px}.header_top .user_top .user_left .user_message .user_name[data-v-5b5655c5]{color:#fff;font-weight:20px;font-weight:700;line-height:20px}.header_top .user_top .user_left .user_message .user_change[data-v-5b5655c5]{color:#fff;font-size:9px;line-height:9px;margin-top:15px}.header_top .user_top .user_right[data-v-5b5655c5]{height:20px;width:20px}.header_top .user_top .user_right image[data-v-5b5655c5]{height:100%;width:100%}.header_top .user_bottom[data-v-5b5655c5]{display:flex;justify-content:space-around;margin-top:12px;padding:0 25px}.header_top .user_bottom .bottom_item[data-v-5b5655c5]{align-items:center;display:flex;justify-content:center}.header_top .user_bottom .bottom_item .item_icon[data-v-5b5655c5]{color:#fff;font-size:13px;padding-top:1px}.header_top .user_bottom .bottom_item .item_icon1[data-v-5b5655c5]{color:#fff;font-size:15px}.header_top .user_bottom .bottom_item .item_name[data-v-5b5655c5]{color:#fff;font-size:12px;margin-left:8px}.header_top .user_bottom .bottom_item .item_num[data-v-5b5655c5]{color:#fff;font-size:14px;font-weight:700;margin-left:8px}.choseSite[data-v-5b5655c5]{color:#fff;font-weight:550;position:absolute;right:28px;top:43px}"),_s.render=function(e,t,o,i,s,c){return a(),r("div",null,[d("div",Ts,[d("div",js,[d("div",Ps,[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",zs,[...t[5]||(t[5]=[d("image",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/SZRC/image/default_header.png"},null,-1)])])),s.isLc?(a(),r("div",$s,[...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",Rs,[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",Es,n(s.userTypeMap[o.userType]),1)])):1===o.userShow?(a(),r("div",Ks,[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]=e=>c.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)])])])},_s.__scopeId="data-v-5b5655c5";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-044bc336]{background:#fff;border-radius:12px;display:flex;flex-direction:column;margin:-42px 12px 0}.order_top[data-v-044bc336]{border-bottom:1px solid rgba(0,0,0,.1);display:flex;justify-content:space-between;padding:11px}.order_top .order_title[data-v-044bc336]{color:#1e1e1e;font-size:14px;font-weight:700}.order_top .more_title[data-v-044bc336]{align-items:center;color:#999;display:flex;font-size:12px;justify-content:center}.assets_list[data-v-044bc336]{align-items:center;background:#fff;border-radius:12px;display:flex;flex-wrap:wrap}.assets_list .assets_item[data-v-044bc336]{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-044bc336]:first-child{font-size:25px}.assets_list .assets_item .item_name[data-v-044bc336]{color:#1e1e1e;font-size:12px;margin-top:6px}.navigationNum5[data-v-044bc336]{width:20%}.navigationNum4[data-v-044bc336]{width:25%}"),on.render=function(e,t,o,i,u,m){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=>m.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=>m.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-044bc336";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=L(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"},mn=["onClick"],hn={class:"imgWrapper"},fn={key:0,class:"imgMarked"},bn={class:"maskState"},vn=["src"],yn={class:"goodsDescription"},xn={class:"goodsName"},wn={class:"footerContent"},Cn={class:"goodsPrice"},kn={key:0,class:"scribing"},Sn=["onClick"],Nn={class:"new-product-page",style:{gap:"10px"}},In=["onClick"],An={class:"imgWrapper"},Bn={key:0,class:"imgMarked"},Ln={class:"maskState"},Dn=["src"],_n={class:"goodsDescription"},Tn={class:"goodsName"},jn={class:"footerContent"},Pn={class:"goodsPrice"},zn={key:0,class:"scribing"},On=["onClick"],Fn={key:2,class:"swiper-dots"},$n=["onClick"],Rn=["onClick"],Gn={class:"imgWrapper"},Mn={key:0,class:"imgMarked"},Un={class:"maskState"},En=["src"],Kn={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,h,v){const x=m("swiper-item"),w=m("swiper");return a(),r("div",null,[h.listArr.length||h.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),h.listArr.length?(a(),r(c,{key:1},[3===o.props.arrange?(a(),r(c,{key:0},[h.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",hn,[!1===h.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",Cn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",kn,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),d("div",{class:"goodsBuy",onClick:y(t=>v.goGoodsDetail(e),["stop"])},"立即购买",8,Sn)])])],64))],14,mn))),128))]))),128))])],544)):(a(),b(w,{key:1,class:"new-product-swiper mp-swiper",current:h.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===h.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",Bn,[d("div",Ln,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",_n,[d("div",Tn,n(e.goodsName),1),d("section",jn,[d("div",Pn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",zn,"¥"+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:h.currentPage===t}]),onClick:e=>v.goToPage(t)},null,10,$n))),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===h.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,En)]),d("div",Kn,[!0===h.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,Rn))),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=L(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 Pa(t);console.log(o,"result");if(new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode"),o&&o.length>0&&"0003"==o[0].pbCode&&"1"==o[0].activationMode){console.log("代金券"),e.promotionType=4;let t=o[0].pmPromotionConditionList?o[0].pmPromotionConditionList[0].condAmount:"",i=o[0].pmPromotionConditionList?o[0].pmPromotionConditionList[0].condOnceNums:"";const a={promotionBegintime:o[0].promotionBegintime,promotionEndtime:o[0].promotionEndtime,receiveStart:o[0].receiveStart,receiveEnd:o[0].receiveEnd,promotionFrequency:o[0].promotionFrequency,condAmount:t,condOnceNums:i};e.couponData=a}if(o&&o.length>0&&5==o[0].rangeType){let t=[];const i=o[0];if(console.log(i,"firstItem"),i.pmPromotionRangeList&&i.pmPromotionRangeList.length>0){i.pmPromotionRangeList.forEach(e=>{t.push(e.rangeCode)}),console.log(t,"skuNoList");const o=`${I}?skuNo=${t.join()}&rows=12&page=1`,a=await Pa(o);e.goodsList=a.list,console.log(e,"商品")}}else if(o&&o.length>0&&0==o[0].rangeType){const t=`${I}?rows=12&page=1`,o=await Pa(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&&"0003"==i[0].pbCode&&"1"==i[0].activationMode){console.log("代金券"),e.$set(t,"promotionType",4);let o=i[0].pmPromotionConditionList?i[0].pmPromotionConditionList[0].condAmount:"",a=i[0].pmPromotionConditionList?i[0].pmPromotionConditionList[0].condOnceNums:"";const r={promotionBegintime:i[0].promotionBegintime,promotionEndtime:i[0].promotionEndtime,receiveStart:i[0].receiveStart,receiveEnd:i[0].receiveEnd,promotionFrequency:i[0].promotionFrequency,condAmount:o,condOnceNums:a};e.$set(t,"couponData",r)}if(i&&i.length>0&&5==i[0].rangeType){let o=[];const a=i[0];if(console.log(a,"firstItem"),a.pmPromotionRangeList&&a.pmPromotionRangeList.length>0){a.pmPromotionRangeList.forEach(e=>{o.push(e.rangeCode)}),console.log(o,"skuNoList");let i={skuNo:o.join()};const r=await e.getGoodsImpl()(this,i,this.page);e.$set(t,"goodsList",r.list),e.$set(t,"skuNoList",o.join()),e.$set(t,"page",1),console.log(t,"商品111")}else e.$set(t,"goodsList",[])}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 w||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 w||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(L()+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}}},async getWelfare(e){w||this.$emit("getWelfare",e)},getTime(e){let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`},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={key:0},ac=["src"],rc=["src"],sc=["src"],nc={class:"text-overlay"},cc=["src"],lc={key:2,class:"coupon"},dc={class:"left"},pc={class:"price"},gc={class:"right"},uc={class:"right-container"},mc={class:"discount"},hc={class:"date"},fc=["onClick"],bc=["onClick"],vc={class:"imgWrapper"},yc={class:"maskState"},xc=["src"],wc={class:"goodsDescription"},Cc={class:"goodsPrice"},kc={key:0,class:"scribing"},Sc={class:"goodsBuy"},Nc=["onClick"],Ic=["onClick"];qo(".headerImg[data-v-7ba56477]{width:100%}.classTitle[data-v-7ba56477]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-7ba56477]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-7ba56477]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-7ba56477]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-7ba56477]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-7ba56477]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-7ba56477]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-7ba56477]{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-7ba56477]{background:url(https://qjstatic.oss-cn-shanghai.aliyuncs.com/SZRC/image/youhuibg.png) no-repeat;background-size:352px 98px;display:flex;height:90px;margin-top:20px;padding:3px 0;position:relative;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left[data-v-7ba56477]{align-items:center;display:flex;flex-direction:column;height:90px;justify-content:center;width:34%}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left .card[data-v-7ba56477]{color:#eb5555;font-size:20px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left .price[data-v-7ba56477]{color:#888;font-size:12px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right[data-v-7ba56477]{align-items:center;display:flex;height:90px;justify-content:center;margin-left:0}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .right-container[data-v-7ba56477]{display:flex;flex-direction:column;justify-content:space-around}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .date[data-v-7ba56477]{color:#888;font-size:12px;margin-top:15px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .get_btn[data-v-7ba56477],.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .not_btn[data-v-7ba56477]{border-radius:20px;color:#f1f1f1;height:20px;line-height:20px;text-align:center;width:68px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .get_btn[data-v-7ba56477]{background-color:#eb5555}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .not_btn[data-v-7ba56477]{background-color:#ccc}.cube-container[data-v-7ba56477]{display:grid}.cube-container.arrange-4[data-v-7ba56477]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-7ba56477]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-7ba56477]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-7ba56477]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-7ba56477]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-7ba56477]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-7ba56477]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-7ba56477]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-7ba56477]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-7ba56477]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-7ba56477]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-7ba56477]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-7ba56477]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-7ba56477]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-7ba56477]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-7ba56477]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-7ba56477]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-7ba56477]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-7ba56477]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-7ba56477]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-7ba56477]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-7ba56477]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-7ba56477]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-7ba56477]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-7ba56477]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-7ba56477]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-7ba56477]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-7ba56477]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-7ba56477]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-7ba56477]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-7ba56477]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-7ba56477]{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-7ba56477]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-7ba56477]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-7ba56477]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-7ba56477]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-7ba56477]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-7ba56477]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),Xn.render=function(e,t,o,i,b,v){const x=m("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"})},[e.goodsList&&e.goodsList.length>0?(a(),r("span",{key:0,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)):p("",!0)],4))),128))],4)):p("",!0),h(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.goodsList&&e.goodsList.length>0?(a(),r("div",ic,[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,rc)):(a(),r("image",{key:1,class:"classContentImg",src:e.classfooterImg,mode:"widthFix"},null,8,sc)),d("div",nc,[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,cc)):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&&e.couponData?(a(),r("div",lc,[d("div",dc,[t[0]||(t[0]=d("div",{class:"card"},"代金券",-1)),d("div",pc,"面额 "+n(e.couponData.condOnceNums)+" 元",1)]),d("div",gc,[d("div",uc,[d("span",mc,"满"+n(e.couponData.condAmount)+"减 "+n(e.couponData.condOnceNums),1),d("span",hc,n(v.getTime(e.couponData.receiveStart))+"至"+n(v.getTime(e.couponData.receiveEnd)),1)]),d("span",{class:"get_btn",onClick:t=>v.getWelfare(e.goodsClassId)},"点击领取",8,fc)])])):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,ac)):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",vc,[!1===b.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${e.borderRaduils}px`})},[d("div",yc,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,xc)]),d("div",wc,[!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",Cc,[u(" ¥"+n(t.pricesetNprice)+" ",1),1===e.underLineFlag?(a(),r("div",kc," ¥"+n(t.pricesetMakeprice),1)):p("",!0)]),d("div",Sc,[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,Nc)])],4)])],12,bc))),128))],6),b.isLc?p("",!0):(a(),r("button",{key:2,class:"moreBtn",onClick:t=>v.loadMore(e,o)}," 查看更多 ",8,Ic))])):p("",!0)],8,oc))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},Xn.__scopeId="data-v-7ba56477";export{wr as ArsenalActivity,Gi as ArsenalCarousel,ps as ArsenalClass,on as ArsenalMyNavigation,_s as ArsenalMyTop,ji as ArsenalNavigation,Li as ArsenalPicture,Xn as ArsenalPromotion,cn as ArsenalRecommend,ma as ArsenalTop,Vi as Collocation,Ho as Cube,Jo as Goods,hi as GoodsOne,za as Live,ln as NewProduct,lr as Notice,Yo as Search,di as Slider,Wo as Title,ls 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 m,createVNode as h,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,C=e=>{let t={};for(let o in e)t[o]=k(e[o]);return t},k=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",L=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}=_[i]||{};return t(o,a)})(o);if(s)return Promise.resolve((e=>{const{mGoodsInfo:t}=_[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(L()+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)=>{_[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}}}(),_={};var T=Array.isArray,j="object"==typeof global&&global&&global.Object===Object&&global,P="object"==typeof self&&self&&self.Object===Object&&self,z=j||P||Function("return this")(),O=z.Symbol,F=Object.prototype,$=F.hasOwnProperty,R=F.toString,G=O?O.toStringTag:void 0;var M=Object.prototype.toString;var U=O?O.toStringTag:void 0;function E(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":U&&U in Object(e)?function(e){var t=$.call(e,G),o=e[G];try{e[G]=void 0;var i=!0}catch(e){}var a=R.call(e);return i&&(t?e[G]=o:delete e[G]),a}(e):function(e){return M.call(e)}(e)}function K(e){return null!=e&&"object"==typeof e}function W(e){return"symbol"==typeof e||K(e)&&"[object Symbol]"==E(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=E(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Q,X=z["__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 me(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 he=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=me(t,e);return!(o<0)&&(o==t.length-1?t.pop():he.call(t,o,1),--this.size,!0)},fe.prototype.get=function(e){var t=this.__data__,o=me(t,e);return o<0?void 0:t[o][1]},fe.prototype.has=function(e){return me(this.__data__,e)>-1},fe.prototype.set=function(e,t){var o=this.__data__,i=me(o,e);return i<0?(++this.size,o.push([e,t])):o[i][1]=t,this};var be=ce(z,"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,Ce,ke,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},Ce=xe(we,function(e){return 500===ke.size&&ke.clear(),e}),ke=Ce.cache,Ce),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 Le=O?O.prototype:void 0,De=Le?Le.toString:void 0;function _e(e){if("string"==typeof e)return e;if(T(e))return Be(e,_e)+"";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?"":_e(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 Pe(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 ze=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Oe=ze;function Fe(e,t,o){"__proto__"==t&&Oe?Oe(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var $e=Object.prototype.hasOwnProperty;function Re(e,t,o){var i=e[t];$e.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])?[]:{})}Re(n,c,l),n=n[c]}return e}function Ee(e,t){return null!=e&&t in Object(e)}function Ke(e){return K(e)&&"[object Arguments]"==E(e)}var We=Object.prototype,He=We.hasOwnProperty,Ve=We.propertyIsEnumerable,qe=Ke(function(){return arguments}())?Ke:function(e){return K(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,Ee)}function Xe(e,t){return function(e,t,o){for(var i=-1,a=t.length,r={};++i<a;){var s=t[i],n=Pe(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):Re(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,mt=ut&&"object"==typeof module&&module&&!module.nodeType&&module,ht=mt&&mt.exports===ut?z.Buffer:void 0,ft=(ht?ht.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,Ct=function(){try{var e=xt&&xt.require&&xt.require("util").types;return e||wt&&wt.binding&&wt.binding("util")}catch(e){}}(),kt=Ct&&Ct.isTypedArray,St=kt?vt(kt):function(e){return K(e)&&Ye(e.length)&&!!bt[E(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 Lt(e,t){return function(o){return e(t(o))}}var Dt=Lt(Object.keys,Object),_t=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))_t.call(e,o)&&"constructor"!=o&&t.push(o);return t}(e)}var Pt=Object.prototype.hasOwnProperty;function zt(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&&Pt.call(e,i))&&o.push(i);return o}function Ot(e){return Tt(e)?It(e,!0):zt(e)}var Ft="object"==typeof exports&&exports&&!exports.nodeType&&exports,$t=Ft&&"object"==typeof module&&module&&!module.nodeType&&module,Rt=$t&&$t.exports===Ft?z.Buffer:void 0,Gt=Rt?Rt.allocUnsafe:void 0;function Mt(){return[]}var Ut=Object.prototype.propertyIsEnumerable,Et=Object.getOwnPropertySymbols,Kt=Et?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}(Et(e),function(t){return Ut.call(e,t)}))}:Mt,Wt=Kt;var Ht=Lt(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(z,"DataView"),Zt=ce(z,"Promise"),eo=ce(z,"Set"),to=ce(z,"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=E;(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=E(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 mo=uo,ho=Object.prototype.hasOwnProperty;var fo=z.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 Co=Object.create,ko=function(){function e(){}return function(t){if(!q(t))return{};if(Co)return Co(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),So=ko;var No=Ct&&Ct.isMap,Io=No?vt(No):function(e){return K(e)&&"[object Map]"==mo(e)};var Ao=Ct&&Ct.isSet,Bo=Ao?vt(Ao):function(e){return K(e)&&"[object Set]"==mo(e)},Lo="[object Arguments]",Do="[object Function]",_o="[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]&&ho.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=mo(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==_o||p==Lo||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 m=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););}(m||e,function(i,a){m&&(i=e[a=i]),Re(s,a,jo(i,t,o,a,e,r))}),s}function Po(e,t){return t.length<2?e:Pe(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[Lo]=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[_o]=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 zo=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&&!zo.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=Po(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,$o=Object.prototype,Ro=Fo.toString,Go=$o.hasOwnProperty,Mo=Ro.call(Object);function Uo(e){return function(e){if(!K(e)||"[object Object]"!=E(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&&Ro.call(o)==Mo}(e)?void 0:e}var Eo=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}),Ko=Eo,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=Ko(this.props||{},e);return{...C(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=Ko(this.props,e);return{...C(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=Ko(this.props,e);return{...C(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=L(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,m,h){return a(),r("div",null,[m.listArr.length?(a(),r("div",Zo,[d("div",{class:g(["cube-container",`arrange-${o.props.arrange}`,{isLc:m.isLc}]),style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,gap:`${o.props.margin}px`})},[(a(!0),r(c,null,l(m.listArr,(e,i)=>(a(),r("div",{class:"cube-item",key:e.skuCode,onClick:t=>h.goGoodsDetail(e)},[d("div",ti,[!1===m.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(h.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?m.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,ii)]),d("div",ai,[!0===m.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(m.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{...C(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const pi={key:0},gi=["src"],ui={key:1},mi=["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=m("swiper-item"),u=m("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,[h(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,mi)]),_:2},1032,["style"]))),128))]),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var hi={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"},Ci=["src"],ki={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}"),hi.render=function(e,t,o,i,g,b){const v=m("vop-label"),y=m("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,Ci)]),d("div",ki,[h(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,[h(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))])},hi.__scopeId="data-v-326730f6";var Li={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"},_i=["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%}"),Li.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,_i)):(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,"请选择添加图片"))])},Li.__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 Pi={key:0,class:"holder"},zi=["onClick"],Oi=["src"],Fi={key:1},$i=["onClick"],Ri=["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,m){return a(),r("div",null,[m.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(m.resultArr,(e,t)=>(a(),r("div",{class:g(["golds-item",[5===o.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:t,onClick:t=>m.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,zi))),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(m.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=>m.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:m.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl},null,14,Ri)],14,$i))),128))],4)])):p("",!0)],64)):(a(),r("div",Pi,[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"],Ei={class:"swiper"},Ki=["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=m("swiper-item"),u=m("block"),v=m("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",Ei,[h(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(()=>[h(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,Ki)]),_: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=L(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=m("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,m)=>(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,[h(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 ma={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 ha={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"],Ca=["src"],ka=["src"],Sa={class:"Box"},Na={class:"boxBg"},Ia={class:"search"},Aa={class:"tag"},Ba={class:"tag--item"},La={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},Da=["src"],_a={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}"),ma.render=function(e,t,o,i,p,g){const v=m("swiper-item"),y=m("block"),x=m("swiper");return a(),r("div",null,[p.lowCode?(a(),r("div",ha,[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,Ca)),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,ka),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",La,[d("img",{"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Da)]),d("div",_a,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,[h(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(()=>[h(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))])},ma.__scopeId="data-v-2fdfd7a0";const Pa=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 za={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 Pa(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"},$a={class:"liveCover"},Ra=["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}"),za.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",$a,[d("img",{src:l.liveCover},null,8,Ra),d("div",Ga,n(l.liveState),1)])])],4)):(a(),r("div",{key:0,style:s(c.noDataStyle)},"请选择直播",4))])},za.__scopeId="data-v-7870d5a8";const Ma="%[a-f0-9]{2}",Ua=new RegExp("("+Ma+")|([^%]+?)","gi"),Ea=new RegExp("("+Ma+")+","gi");function Ka(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([],Ka(o),Ka(i))}function Wa(e){try{return decodeURIComponent(e)}catch{let t=e.match(Ua)||[];for(let o=1;o<t.length;o++)t=(e=Ka(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=Ea.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=Ea.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 Pa(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=m("swiper-item"),v=m("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,[h(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 mr={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}}"),mr.render=function(e,t,o,i,l,m){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([m.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)},mr.__scopeId="data-v-6b1ec6a3";const hr=w?location.hash.replace(/[\\/#?]/g,""):null,fr=cr.parse(hr),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:mr},data:()=>({lowCode:w,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=L(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 Pa(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&couponBatchCode=${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 Pa(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 Cr={key:0},kr={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"},Lr={class:"img"},Dr=["src"],_r={key:1},Tr=["onClick"],jr={class:"soneLeft"},Pr=["src"],zr={class:"soneRight"},Or={class:"soneRightA"},Fr={key:0,class:"soneRightB"},$r={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Rr={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Gr={class:"soneRightC"},Mr={class:"priceC"},Ur={style:{color:"#ff9745"}},Er={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},Kr={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-2551ba01]{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-2551ba01]{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-2551ba01]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill .secKill--tit .title[data-v-2551ba01]{align-items:center;display:flex}.secKill .secKill--tit .title .changeOnce[data-v-2551ba01]{color:#439fff;font-size:10px;margin-left:6px}.secKill .secKill--tit .more[data-v-2551ba01]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill .secKill--tit .more .img[data-v-2551ba01]{height:9px;margin-left:3px;width:5.5px}.secKill .secKill-all[data-v-2551ba01]{display:flex}.secKill .secKill-all .secKill--center[data-v-2551ba01]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill .secKill-all .secKill--center .secKill-goodsName[data-v-2551ba01]{-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-2551ba01]{display:flex;justify-content:center;margin-top:5px}.secKill .secKill-all .secKill--center .dataStateButton span[data-v-2551ba01]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill .secKill--bottom[data-v-2551ba01]{display:flex}.secKill .secKill--bottom .left[data-v-2551ba01]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill .secKill--bottom .left .bigimgs[data-v-2551ba01]{height:100px;margin:0 auto;width:100px}.secKill .secKill--bottom .left .goodsName[data-v-2551ba01]{-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-2551ba01]{align-items:center;display:flex;justify-content:space-between}.secKill .secKill--bottom .left[data-v-2551ba01]:nth-child(2){border:none}.secKill .secKill--bottom .right[data-v-2551ba01]{height:255px;padding-left:7.5px;width:164px}.secKill .secKill--bottom .right .bigimg[data-v-2551ba01]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill .secKill--bottom .right .goodsName[data-v-2551ba01]{-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-2551ba01]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-2551ba01]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-2551ba01]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-2551ba01]{width:112px}}.bigimg3[data-v-2551ba01]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-2551ba01]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-2551ba01]{width:110px}}.goodsDetail2[data-v-2551ba01]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-2551ba01]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-2551ba01]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-2551ba01]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-2551ba01]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-2551ba01]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-2551ba01]{width:162px}}.bigimg2[data-v-2551ba01]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-2551ba01]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-2551ba01]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-2551ba01]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-2551ba01]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-2551ba01]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-2551ba01]{height:160px;width:160px}}.overflowX[data-v-2551ba01]{overflow:hidden;overflow-x:scroll}.fel[data-v-2551ba01]{display:flex;justify-content:space-between}.secKill-One[data-v-2551ba01]{display:flex;padding:8px}.secKill-One .soneLeft[data-v-2551ba01]{height:110px;margin-right:8px;width:110px}.secKill-One .soneLeft img[data-v-2551ba01]{border-radius:6px;height:110px;width:110px}.secKill-One .soneRight[data-v-2551ba01]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One .soneRight .soneRightA[data-v-2551ba01]{-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-2551ba01]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightB .uline[data-v-2551ba01]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One .soneRight .soneRightC[data-v-2551ba01]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightC .priceC[data-v-2551ba01]{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-2551ba01]{display:flex;justify-content:center;margin-top:5px}.secKill-One .soneRight .soneRightC .dataStateButton span[data-v-2551ba01]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),wr.render=function(e,t,o,i,u,f){const v=m("uContDown"),y=m("u-count-down"),x=m("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",kr,[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",Lr,[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",_r,[(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,Pr)]),d("div",zr,[d("div",Or,n(t.goodsName),1),0===o.props.activityType?(a(),r("div",Fr,[h(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:f.diffFn(t),height:"10","show-percent":!1},null,8,["percent"]),u.lowCode?(a(),r("div",$r,"剩"+n(t.goodsSupplynum||0)+"件",1)):(a(),r("div",Rr,"剩"+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",Er,n(t.pricesetMakeprice),1)):p("",!0)]),d("div",Kr,[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",Cr))])},wr.__scopeId="data-v-2551ba01";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=L(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)if(w){const t=`${S}&rows=20&page=1&classtreeCode=${e.classtreeCode}&channelCode=${xr}`,o=await Pa(t);e.goodsList=o.list}else{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 Pa(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 Pa(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"],ms=["src"],hs={class:"classContent"},fs=["id"],bs=["src"],vs=["src"],ys=["src"],xs={class:"text-overlay"},ws=["src"],Cs=["onClick"],ks={class:"imgWrapper"},Ss={class:"maskState"},Ns=["src"],Is={class:"goodsDescription"},As={class:"goodsPrice"},Bs={key:0,class:"scribing"},Ls={class:"goodsBuy"},Ds=["onClick"];qo(".headerImg[data-v-2b1b914f]{width:100%}.classTitle[data-v-2b1b914f]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-2b1b914f]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-2b1b914f]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-2b1b914f]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-2b1b914f]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-2b1b914f]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-2b1b914f]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-2b1b914f]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-2b1b914f]{display:grid}.cube-container.arrange-4[data-v-2b1b914f]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-2b1b914f]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-2b1b914f]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-2b1b914f]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2b1b914f]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-2b1b914f]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-2b1b914f]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-2b1b914f]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-2b1b914f]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-2b1b914f]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2b1b914f]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-2b1b914f]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-2b1b914f]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-2b1b914f]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-2b1b914f]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-2b1b914f]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-2b1b914f]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2b1b914f]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2b1b914f]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-2b1b914f]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-2b1b914f]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-2b1b914f]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2b1b914f]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2b1b914f]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-2b1b914f]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-2b1b914f]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-2b1b914f]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-2b1b914f]{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-2b1b914f]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-2b1b914f]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-2b1b914f]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-2b1b914f]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2b1b914f]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2b1b914f]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),ps.render=function(e,t,o,i,b,v){const x=m("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),h(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,ms))],64)):p("",!0),d("div",hs,[(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",ks,[!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",Ls,[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,Cs))),128))],6)],8,fs))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},ps.__scopeId="data-v-2b1b914f";var _s={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")},goLogin(){this.$emit("goLogin")}}};const Ts={class:"header_top"},js={class:"user_top"},Ps={class:"user_left"},zs={key:0,class:"user_logo"},Os=["src"],Fs={key:1,class:"text"},$s={key:2,class:"user_message"},Rs={key:3},Gs={key:0,class:"user_message"},Ms={key:0},Us={class:"user_name"},Es={class:"user_change"},Ks={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-5b5655c5]{background:#eb2b27;padding:18px 12px 54px}.header_top .user_top[data-v-5b5655c5]{align-items:center;display:flex;justify-content:space-between;width:100%}.header_top .user_top .user_left[data-v-5b5655c5]{align-items:center;display:flex}.header_top .user_top .user_left .user_logo[data-v-5b5655c5]{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-5b5655c5],.header_top .user_top .user_left .user_logo img[data-v-5b5655c5]{border-radius:50%;height:100%;width:100%}.header_top .user_top .user_left .user_message[data-v-5b5655c5]{margin-left:12px}.header_top .user_top .user_left .user_message .user_name[data-v-5b5655c5]{color:#fff;font-weight:20px;font-weight:700;line-height:20px}.header_top .user_top .user_left .user_message .user_change[data-v-5b5655c5]{color:#fff;font-size:9px;line-height:9px;margin-top:15px}.header_top .user_top .user_right[data-v-5b5655c5]{height:20px;width:20px}.header_top .user_top .user_right image[data-v-5b5655c5]{height:100%;width:100%}.header_top .user_bottom[data-v-5b5655c5]{display:flex;justify-content:space-around;margin-top:12px;padding:0 25px}.header_top .user_bottom .bottom_item[data-v-5b5655c5]{align-items:center;display:flex;justify-content:center}.header_top .user_bottom .bottom_item .item_icon[data-v-5b5655c5]{color:#fff;font-size:13px;padding-top:1px}.header_top .user_bottom .bottom_item .item_icon1[data-v-5b5655c5]{color:#fff;font-size:15px}.header_top .user_bottom .bottom_item .item_name[data-v-5b5655c5]{color:#fff;font-size:12px;margin-left:8px}.header_top .user_bottom .bottom_item .item_num[data-v-5b5655c5]{color:#fff;font-size:14px;font-weight:700;margin-left:8px}.choseSite[data-v-5b5655c5]{color:#fff;font-weight:550;position:absolute;right:28px;top:43px}"),_s.render=function(e,t,o,i,s,c){return a(),r("div",null,[d("div",Ts,[d("div",js,[d("div",Ps,[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",zs,[...t[5]||(t[5]=[d("image",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/SZRC/image/default_header.png"},null,-1)])])),s.isLc?(a(),r("div",$s,[...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",Rs,[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",Es,n(s.userTypeMap[o.userType]),1)])):1===o.userShow?(a(),r("div",Ks,[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]=e=>c.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)])])])},_s.__scopeId="data-v-5b5655c5";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-044bc336]{background:#fff;border-radius:12px;display:flex;flex-direction:column;margin:-42px 12px 0}.order_top[data-v-044bc336]{border-bottom:1px solid rgba(0,0,0,.1);display:flex;justify-content:space-between;padding:11px}.order_top .order_title[data-v-044bc336]{color:#1e1e1e;font-size:14px;font-weight:700}.order_top .more_title[data-v-044bc336]{align-items:center;color:#999;display:flex;font-size:12px;justify-content:center}.assets_list[data-v-044bc336]{align-items:center;background:#fff;border-radius:12px;display:flex;flex-wrap:wrap}.assets_list .assets_item[data-v-044bc336]{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-044bc336]:first-child{font-size:25px}.assets_list .assets_item .item_name[data-v-044bc336]{color:#1e1e1e;font-size:12px;margin-top:6px}.navigationNum5[data-v-044bc336]{width:20%}.navigationNum4[data-v-044bc336]{width:25%}"),on.render=function(e,t,o,i,u,m){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=>m.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=>m.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-044bc336";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=L(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"},mn=["onClick"],hn={class:"imgWrapper"},fn={key:0,class:"imgMarked"},bn={class:"maskState"},vn=["src"],yn={class:"goodsDescription"},xn={class:"goodsName"},wn={class:"footerContent"},Cn={class:"goodsPrice"},kn={key:0,class:"scribing"},Sn=["onClick"],Nn={class:"new-product-page",style:{gap:"10px"}},In=["onClick"],An={class:"imgWrapper"},Bn={key:0,class:"imgMarked"},Ln={class:"maskState"},Dn=["src"],_n={class:"goodsDescription"},Tn={class:"goodsName"},jn={class:"footerContent"},Pn={class:"goodsPrice"},zn={key:0,class:"scribing"},On=["onClick"],Fn={key:2,class:"swiper-dots"},$n=["onClick"],Rn=["onClick"],Gn={class:"imgWrapper"},Mn={key:0,class:"imgMarked"},Un={class:"maskState"},En=["src"],Kn={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,h,v){const x=m("swiper-item"),w=m("swiper");return a(),r("div",null,[h.listArr.length||h.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),h.listArr.length?(a(),r(c,{key:1},[3===o.props.arrange?(a(),r(c,{key:0},[h.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",hn,[!1===h.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",Cn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",kn,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),d("div",{class:"goodsBuy",onClick:y(t=>v.goGoodsDetail(e),["stop"])},"立即购买",8,Sn)])])],64))],14,mn))),128))]))),128))])],544)):(a(),b(w,{key:1,class:"new-product-swiper mp-swiper",current:h.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===h.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",Bn,[d("div",Ln,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",_n,[d("div",Tn,n(e.goodsName),1),d("section",jn,[d("div",Pn,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",zn,"¥"+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:h.currentPage===t}]),onClick:e=>v.goToPage(t)},null,10,$n))),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===h.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,En)]),d("div",Kn,[!0===h.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,Rn))),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=L(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 Pa(t);console.log(o,"result");if(new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode"),o&&o.length>0&&"0003"==o[0].pbCode&&"1"==o[0].activationMode){console.log("代金券"),e.promotionType=4;let t=o[0].pmPromotionConditionList?o[0].pmPromotionConditionList[0].condAmount:"",i=o[0].pmPromotionConditionList?o[0].pmPromotionConditionList[0].condOnceNums:"";const a={promotionBegintime:o[0].promotionBegintime,promotionEndtime:o[0].promotionEndtime,receiveStart:o[0].receiveStart,receiveEnd:o[0].receiveEnd,promotionFrequency:o[0].promotionFrequency,condAmount:t,condOnceNums:i};e.couponData=a}if(o&&o.length>0&&5==o[0].rangeType){let t=[];const i=o[0];if(console.log(i,"firstItem"),i.pmPromotionRangeList&&i.pmPromotionRangeList.length>0){i.pmPromotionRangeList.forEach(e=>{t.push(e.rangeCode)}),console.log(t,"skuNoList");const o=`${I}?skuNo=${t.join()}&rows=12&page=1`,a=await Pa(o);e.goodsList=a.list,console.log(e,"商品")}}else if(o&&o.length>0&&0==o[0].rangeType){const t=`${I}?rows=12&page=1`,o=await Pa(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&&"0003"==i[0].pbCode&&"1"==i[0].activationMode){console.log("代金券"),e.$set(t,"promotionType",4);let o=i[0].pmPromotionConditionList?i[0].pmPromotionConditionList[0].condAmount:"",a=i[0].pmPromotionConditionList?i[0].pmPromotionConditionList[0].condOnceNums:"";const r={promotionBegintime:i[0].promotionBegintime,promotionEndtime:i[0].promotionEndtime,receiveStart:i[0].receiveStart,receiveEnd:i[0].receiveEnd,promotionFrequency:i[0].promotionFrequency,condAmount:o,condOnceNums:a};e.$set(t,"couponData",r)}if(i&&i.length>0&&5==i[0].rangeType){let o=[];const a=i[0];if(console.log(a,"firstItem"),a.pmPromotionRangeList&&a.pmPromotionRangeList.length>0){a.pmPromotionRangeList.forEach(e=>{o.push(e.rangeCode)}),console.log(o,"skuNoList");let i={skuNo:o.join()};const r=await e.getGoodsImpl()(this,i,this.page);e.$set(t,"goodsList",r.list),e.$set(t,"skuNoList",o.join()),e.$set(t,"page",1),console.log(t,"商品111")}else e.$set(t,"goodsList",[])}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 w||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 w||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(L()+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}}},async getWelfare(e){w||this.$emit("getWelfare",e)},getTime(e){let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`},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={key:0},ac=["src"],rc=["src"],sc=["src"],nc={class:"text-overlay"},cc=["src"],lc={key:2,class:"coupon"},dc={class:"left"},pc={class:"price"},gc={class:"right"},uc={class:"right-container"},mc={class:"discount"},hc={class:"date"},fc=["onClick"],bc=["onClick"],vc={class:"imgWrapper"},yc={class:"maskState"},xc=["src"],wc={class:"goodsDescription"},Cc={class:"goodsPrice"},kc={key:0,class:"scribing"},Sc={class:"goodsBuy"},Nc=["onClick"],Ic=["onClick"];qo(".headerImg[data-v-23da7f09]{width:100%}.classTitle[data-v-23da7f09]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-23da7f09]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-23da7f09]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-23da7f09]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-23da7f09]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-23da7f09]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-23da7f09]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-23da7f09]{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-23da7f09]{background:url(https://qjstatic.oss-cn-shanghai.aliyuncs.com/SZRC/image/youhuibg.png) no-repeat;background-size:352px 98px;display:flex;height:90px;margin-top:20px;padding:3px 0;position:relative;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left[data-v-23da7f09]{align-items:center;display:flex;flex-direction:column;height:90px;justify-content:center;width:34%}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left .card[data-v-23da7f09]{color:#eb5555;font-size:20px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .left .price[data-v-23da7f09]{color:#888;font-size:12px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right[data-v-23da7f09]{align-items:center;display:flex;height:90px;justify-content:center;margin-left:0}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .right-container[data-v-23da7f09]{display:flex;flex-direction:column;justify-content:space-around}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .date[data-v-23da7f09]{color:#888;font-size:12px;margin-top:15px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .get_btn[data-v-23da7f09],.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .not_btn[data-v-23da7f09]{border-radius:20px;color:#f1f1f1;height:20px;line-height:20px;text-align:center;width:68px}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .get_btn[data-v-23da7f09]{background-color:#eb5555}.classContent .classContentItem .classContentImgBox .text-overlay .coupon .right .not_btn[data-v-23da7f09]{background-color:#ccc}.cube-container[data-v-23da7f09]{display:grid}.cube-container.arrange-4[data-v-23da7f09]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-23da7f09]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-23da7f09]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-23da7f09]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-23da7f09]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-23da7f09]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-23da7f09]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-23da7f09]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-23da7f09]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-23da7f09]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-23da7f09]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-23da7f09]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-23da7f09]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-23da7f09]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-23da7f09]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-23da7f09]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-23da7f09]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-23da7f09]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-23da7f09]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-23da7f09]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-23da7f09]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-23da7f09]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-23da7f09]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-23da7f09]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-23da7f09]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-23da7f09]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-23da7f09]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-23da7f09]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-23da7f09]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-23da7f09]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-23da7f09]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-23da7f09]{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-23da7f09]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-23da7f09]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-23da7f09]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-23da7f09]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-23da7f09]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-23da7f09]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),Xn.render=function(e,t,o,i,b,v){const x=m("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"})},[!b.isLc&&e.goodsList&&e.goodsList.length>0||b.isLc?(a(),r("span",{key:0,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)):p("",!0)],4))),128))],4)):p("",!0),h(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},[!b.isLc&&e.goodsList&&e.goodsList.length>0||b.isLc?(a(),r("div",ic,[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,rc)):(a(),r("image",{key:1,class:"classContentImg",src:e.classfooterImg,mode:"widthFix"},null,8,sc)),d("div",nc,[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,cc)):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&&e.couponData?(a(),r("div",lc,[d("div",dc,[t[0]||(t[0]=d("div",{class:"card"},"代金券",-1)),d("div",pc,"面额 "+n(e.couponData.condOnceNums)+" 元",1)]),d("div",gc,[d("div",uc,[d("span",mc,"满"+n(e.couponData.condAmount)+"减 "+n(e.couponData.condOnceNums),1),d("span",hc,n(v.getTime(e.couponData.receiveStart))+"至"+n(v.getTime(e.couponData.receiveEnd)),1)]),d("span",{class:"get_btn",onClick:t=>v.getWelfare(e.goodsClassId)},"点击领取",8,fc)])])):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,ac)):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",vc,[!1===b.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${e.borderRaduils}px`})},[d("div",yc,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,xc)]),d("div",wc,[!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",Cc,[u(" ¥"+n(t.pricesetNprice)+" ",1),1===e.underLineFlag?(a(),r("div",kc," ¥"+n(t.pricesetMakeprice),1)):p("",!0)]),d("div",Sc,[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,Nc)])],4)])],12,bc))),128))],6),b.isLc?p("",!0):(a(),r("button",{key:2,class:"moreBtn",onClick:t=>v.loadMore(e,o)}," 查看更多 ",8,Ic))])):p("",!0)],8,oc))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},Xn.__scopeId="data-v-23da7f09";export{wr as ArsenalActivity,Gi as ArsenalCarousel,ps as ArsenalClass,on as ArsenalMyNavigation,_s as ArsenalMyTop,ji as ArsenalNavigation,Li as ArsenalPicture,Xn as ArsenalPromotion,cn as ArsenalRecommend,ma as ArsenalTop,Vi as Collocation,Ho as Cube,Jo as Goods,hi as GoodsOne,za as Live,ln as NewProduct,lr as Notice,Yo as Search,di as Slider,Wo as Title,ls as Video};
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}"
|
|
18
18
|
>
|
|
19
19
|
<span
|
|
20
|
-
v-if="ele.goodsList && ele.goodsList.length > 0"
|
|
20
|
+
v-if="(!isLc && ele.goodsList && ele.goodsList.length > 0) || isLc"
|
|
21
21
|
class="classSpan"
|
|
22
22
|
@click="checkClass(index)"
|
|
23
23
|
:style="{
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
:key="ele.goodsClassId"
|
|
56
56
|
:id="'item-' + index"
|
|
57
57
|
>
|
|
58
|
-
<div v-if="ele.goodsList && ele.goodsList.length > 0">
|
|
58
|
+
<div v-if="(!isLc && ele.goodsList && ele.goodsList.length > 0) || isLc">
|
|
59
59
|
<div
|
|
60
60
|
v-if="!ele.classfooterImg"
|
|
61
61
|
class="classContentSpan"
|