cyy-vue-material 1.3.1 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isEmpty as t,isEqual as e,isUndefined as o,get as i}from"lodash-es";import{openBlock as a,createElementBlock as r,normalizeStyle as s,toDisplayString as n,Fragment as l,renderList as c,createElementVNode as d,createCommentVNode as p,normalizeClass as g,createTextVNode as u,resolveComponent as h,createVNode as f,withCtx as m,createBlock as b,renderSlot as v,withModifiers as y}from"vue";const x="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,w=t=>{let e={};for(let o in t)e[o]=k(t[o]);return e},k=t=>x?t+"px":2*t+"rpx",C="web/rs/resourceGoods/queryResGoodsArFromPtFd.json",S="/web/pm/promotionplat/queryPromotionPageForC.json",A="/web/es/searchengine/find.json",B="/web/inf/infuencer/queryInfuencerAndChild.json",j=t=>x?process.env.REACT_APP_BASE_URL:t.$imgDomain;const N=function(){const o=async(o,i)=>{const{id:a,goods:r}=o.props;if(t(r))return Promise.resolve({list:[]});const s=(t=>{const{goods:o,id:i}=t.props,{mGoods:a}=I[i]||{};return e(o,a)})(o);if(s)return Promise.resolve((t=>{const{mGoodsInfo:e}=I[t];return e})(a));const n=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",l=localStorage.getItem("saas-token");return await fetch(j()+C+"?rows=200&page=1&goodsCode="+i.goodsCode+"&channelCode="+n,{method:"GET",headers:{"saas-token":l,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then(t=>t.json()).then((t={})=>(((t,e,o)=>{I[t]={mGoodsInfo:o,mGoods:e}})(a,r,t),t))};return x?o:async(t,e)=>{const{list:o}=await t.http.get("web/es/searchengine/find.json?rows=200&page=1",e),i=e.goodsCode.split(",");let a=[];return i.forEach(t=>{o.forEach(e=>{e.goodsCode===t&&a.push(e)})}),console.log("findList",a),{list:a}}}(),I={};var T=Array.isArray,D="object"==typeof global&&global&&global.Object===Object&&global,z="object"==typeof self&&self&&self.Object===Object&&self,L=D||z||Function("return this")(),P=L.Symbol,O=Object.prototype,_=O.hasOwnProperty,F=O.toString,R=P?P.toStringTag:void 0;var G=Object.prototype.toString;var $=P?P.toStringTag:void 0;function E(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":$&&$ in Object(t)?function(t){var e=_.call(t,R),o=t[R];try{t[R]=void 0;var i=!0}catch(t){}var a=F.call(t);return i&&(e?t[R]=o:delete t[R]),a}(t):function(t){return G.call(t)}(t)}function K(t){return null!=t&&"object"==typeof t}function M(t){return"symbol"==typeof t||K(t)&&"[object Symbol]"==E(t)}var U=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;function W(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function H(t){if(!W(t))return!1;var e=E(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var q,Y=L["__core-js_shared__"],X=(q=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"";var Q=Function.prototype.toString;function Z(t){if(null!=t){try{return Q.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var J=/^\[object .+?Constructor\]$/,tt=Function.prototype,et=Object.prototype,ot=tt.toString,it=et.hasOwnProperty,at=RegExp("^"+ot.call(it).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function rt(t){return!(!W(t)||(e=t,X&&X in e))&&(H(t)?at:J).test(Z(t));var e}function st(t,e){var o=function(t,e){return null==t?void 0:t[e]}(t,e);return rt(o)?o:void 0}var nt=st(Object,"create");var lt=Object.prototype.hasOwnProperty;var ct=Object.prototype.hasOwnProperty;function dt(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var i=t[e];this.set(i[0],i[1])}}function pt(t,e){return t===e||t!=t&&e!=e}function gt(t,e){for(var o=t.length;o--;)if(pt(t[o][0],e))return o;return-1}dt.prototype.clear=function(){this.__data__=nt?nt(null):{},this.size=0},dt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},dt.prototype.get=function(t){var e=this.__data__;if(nt){var o=e[t];return"__lodash_hash_undefined__"===o?void 0:o}return lt.call(e,t)?e[t]:void 0},dt.prototype.has=function(t){var e=this.__data__;return nt?void 0!==e[t]:ct.call(e,t)},dt.prototype.set=function(t,e){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=nt&&void 0===e?"__lodash_hash_undefined__":e,this};var ut=Array.prototype.splice;function ht(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var i=t[e];this.set(i[0],i[1])}}ht.prototype.clear=function(){this.__data__=[],this.size=0},ht.prototype.delete=function(t){var e=this.__data__,o=gt(e,t);return!(o<0)&&(o==e.length-1?e.pop():ut.call(e,o,1),--this.size,!0)},ht.prototype.get=function(t){var e=this.__data__,o=gt(e,t);return o<0?void 0:e[o][1]},ht.prototype.has=function(t){return gt(this.__data__,t)>-1},ht.prototype.set=function(t,e){var o=this.__data__,i=gt(o,t);return i<0?(++this.size,o.push([t,e])):o[i][1]=e,this};var ft=st(L,"Map");function mt(t,e){var o,i,a=t.__data__;return("string"==(i=typeof(o=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==o:null===o)?a["string"==typeof e?"string":"hash"]:a.map}function bt(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e<o;){var i=t[e];this.set(i[0],i[1])}}bt.prototype.clear=function(){this.size=0,this.__data__={hash:new dt,map:new(ft||ht),string:new dt}},bt.prototype.delete=function(t){var e=mt(this,t).delete(t);return this.size-=e?1:0,e},bt.prototype.get=function(t){return mt(this,t).get(t)},bt.prototype.has=function(t){return mt(this,t).has(t)},bt.prototype.set=function(t,e){var o=mt(this,t),i=o.size;return o.set(t,e),this.size+=o.size==i?0:1,this};function vt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var o=function(){var i=arguments,a=e?e.apply(this,i):i[0],r=o.cache;if(r.has(a))return r.get(a);var s=t.apply(this,i);return o.cache=r.set(a,s)||r,s};return o.cache=new(vt.Cache||bt),o}vt.Cache=bt;var yt,xt,wt,kt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/\\(\\)?/g,St=(yt=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(kt,function(t,o,i,a){e.push(i?a.replace(Ct,"$1"):o||t)}),e},xt=vt(yt,function(t){return 500===wt.size&&wt.clear(),t}),wt=xt.cache,xt),At=St;function Bt(t,e){for(var o=-1,i=null==t?0:t.length,a=Array(i);++o<i;)a[o]=e(t[o],o,t);return a}var jt=P?P.prototype:void 0,Nt=jt?jt.toString:void 0;function It(t){if("string"==typeof t)return t;if(T(t))return Bt(t,It)+"";if(M(t))return Nt?Nt.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Tt(t,e){return T(t)?t:function(t,e){if(T(t))return!1;var o=typeof t;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=t&&!M(t))||V.test(t)||!U.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:At(function(t){return null==t?"":It(t)}(t))}function Dt(t){if("string"==typeof t||M(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function zt(t,e){for(var o=0,i=(e=Tt(e,t)).length;null!=t&&o<i;)t=t[Dt(e[o++])];return o&&o==i?t:void 0}var Lt=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Pt=Lt;function Ot(t,e,o){"__proto__"==e&&Pt?Pt(t,e,{configurable:!0,enumerable:!0,value:o,writable:!0}):t[e]=o}var _t=Object.prototype.hasOwnProperty;function Ft(t,e,o){var i=t[e];_t.call(t,e)&&pt(i,o)&&(void 0!==o||e in t)||Ot(t,e,o)}var Rt=/^(?:0|[1-9]\d*)$/;function Gt(t,e){var o=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==o||"symbol"!=o&&Rt.test(t))&&t>-1&&t%1==0&&t<e}function $t(t,e,o,i){if(!W(t))return t;for(var a=-1,r=(e=Tt(e,t)).length,s=r-1,n=t;null!=n&&++a<r;){var l=Dt(e[a]),c=o;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(a!=s){var d=n[l];void 0===(c=i?i(d,l,n):void 0)&&(c=W(d)?d:Gt(e[a+1])?[]:{})}Ft(n,l,c),n=n[l]}return t}function Et(t,e){return null!=t&&e in Object(t)}function Kt(t){return K(t)&&"[object Arguments]"==E(t)}var Mt=Object.prototype,Ut=Mt.hasOwnProperty,Vt=Mt.propertyIsEnumerable,Wt=Kt(function(){return arguments}())?Kt:function(t){return K(t)&&Ut.call(t,"callee")&&!Vt.call(t,"callee")};function Ht(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function qt(t,e){return null!=t&&function(t,e,o){for(var i=-1,a=(e=Tt(e,t)).length,r=!1;++i<a;){var s=Dt(e[i]);if(!(r=null!=t&&o(t,s)))break;t=t[s]}return r||++i!=a?r:!!(a=null==t?0:t.length)&&Ht(a)&&Gt(s,a)&&(T(t)||Wt(t))}(t,e,Et)}function Yt(t,e){return function(t,e,o){for(var i=-1,a=e.length,r={};++i<a;){var s=e[i],n=zt(t,s);o(n,s)&&$t(r,Tt(s,t),n)}return r}(t,e,function(e,o){return qt(t,o)})}function Xt(t,e){for(var o=-1,i=e.length,a=t.length;++o<i;)t[a+o]=e[o];return t}var Qt=P?P.isConcatSpreadable:void 0;function Zt(t){return T(t)||Wt(t)||!!(Qt&&t&&t[Qt])}function Jt(t,e,o,i,a){var r=-1,s=t.length;for(o||(o=Zt),a||(a=[]);++r<s;){var n=t[r];e>0&&o(n)?e>1?Jt(n,e-1,o,i,a):Xt(a,n):i||(a[a.length]=n)}return a}function te(t){return(null==t?0:t.length)?Jt(t,1):[]}var ee=Math.max;var oe=Pt?function(t,e){return Pt(t,"toString",{configurable:!0,enumerable:!1,value:(o=e,function(){return o}),writable:!0});var o}:function(t){return t},ie=oe,ae=Date.now;var re=function(t){var e=0,o=0;return function(){var i=ae(),a=16-(i-o);if(o=i,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ie),se=re;function ne(t){return se(function(t,e,o){return e=ee(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,r=ee(i.length-e,0),s=Array(r);++a<r;)s[a]=i[e+a];a=-1;for(var n=Array(e+1);++a<e;)n[a]=i[a];return n[e]=o(s),function(t,e,o){switch(o.length){case 0:return t.call(e);case 1:return t.call(e,o[0]);case 2:return t.call(e,o[0],o[1]);case 3:return t.call(e,o[0],o[1],o[2])}return t.apply(e,o)}(t,this,n)}}(t,void 0,te),t+"")}var le=ne(function(t,e){return null==t?{}:Yt(t,e)});function ce(t){var e=this.__data__=new ht(t);this.size=e.size}function de(t,e,o,i){var a=!o;o||(o={});for(var r=-1,s=e.length;++r<s;){var n=e[r],l=i?i(o[n],t[n],n,o,t):void 0;void 0===l&&(l=t[n]),a?Ot(o,n,l):Ft(o,n,l)}return o}ce.prototype.clear=function(){this.__data__=new ht,this.size=0},ce.prototype.delete=function(t){var e=this.__data__,o=e.delete(t);return this.size=e.size,o},ce.prototype.get=function(t){return this.__data__.get(t)},ce.prototype.has=function(t){return this.__data__.has(t)},ce.prototype.set=function(t,e){var o=this.__data__;if(o instanceof ht){var i=o.__data__;if(!ft||i.length<199)return i.push([t,e]),this.size=++o.size,this;o=this.__data__=new bt(i)}return o.set(t,e),this.size=o.size,this};var pe="object"==typeof exports&&exports&&!exports.nodeType&&exports,ge=pe&&"object"==typeof module&&module&&!module.nodeType&&module,ue=ge&&ge.exports===pe?L.Buffer:void 0,he=(ue?ue.isBuffer:void 0)||function(){return!1},fe={};function me(t){return function(e){return t(e)}}fe["[object Float32Array]"]=fe["[object Float64Array]"]=fe["[object Int8Array]"]=fe["[object Int16Array]"]=fe["[object Int32Array]"]=fe["[object Uint8Array]"]=fe["[object Uint8ClampedArray]"]=fe["[object Uint16Array]"]=fe["[object Uint32Array]"]=!0,fe["[object Arguments]"]=fe["[object Array]"]=fe["[object ArrayBuffer]"]=fe["[object Boolean]"]=fe["[object DataView]"]=fe["[object Date]"]=fe["[object Error]"]=fe["[object Function]"]=fe["[object Map]"]=fe["[object Number]"]=fe["[object Object]"]=fe["[object RegExp]"]=fe["[object Set]"]=fe["[object String]"]=fe["[object WeakMap]"]=!1;var be="object"==typeof exports&&exports&&!exports.nodeType&&exports,ve=be&&"object"==typeof module&&module&&!module.nodeType&&module,ye=ve&&ve.exports===be&&D.process,xe=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||ye&&ye.binding&&ye.binding("util")}catch(t){}}(),we=xe&&xe.isTypedArray,ke=we?me(we):function(t){return K(t)&&Ht(t.length)&&!!fe[E(t)]},Ce=Object.prototype.hasOwnProperty;function Se(t,e){var o=T(t),i=!o&&Wt(t),a=!o&&!i&&he(t),r=!o&&!i&&!a&&ke(t),s=o||i||a||r,n=s?function(t,e){for(var o=-1,i=Array(t);++o<t;)i[o]=e(o);return i}(t.length,String):[],l=n.length;for(var c in t)!e&&!Ce.call(t,c)||s&&("length"==c||a&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Gt(c,l))||n.push(c);return n}var Ae=Object.prototype;function Be(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ae)}function je(t,e){return function(o){return t(e(o))}}var Ne=je(Object.keys,Object),Ie=Object.prototype.hasOwnProperty;function Te(t){return null!=t&&Ht(t.length)&&!H(t)}function De(t){return Te(t)?Se(t):function(t){if(!Be(t))return Ne(t);var e=[];for(var o in Object(t))Ie.call(t,o)&&"constructor"!=o&&e.push(o);return e}(t)}var ze=Object.prototype.hasOwnProperty;function Le(t){if(!W(t))return function(t){var e=[];if(null!=t)for(var o in Object(t))e.push(o);return e}(t);var e=Be(t),o=[];for(var i in t)("constructor"!=i||!e&&ze.call(t,i))&&o.push(i);return o}function Pe(t){return Te(t)?Se(t,!0):Le(t)}var Oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,_e=Oe&&"object"==typeof module&&module&&!module.nodeType&&module,Fe=_e&&_e.exports===Oe?L.Buffer:void 0,Re=Fe?Fe.allocUnsafe:void 0;function Ge(){return[]}var $e=Object.prototype.propertyIsEnumerable,Ee=Object.getOwnPropertySymbols,Ke=Ee?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var o=-1,i=null==t?0:t.length,a=0,r=[];++o<i;){var s=t[o];e(s,o,t)&&(r[a++]=s)}return r}(Ee(t),function(e){return $e.call(t,e)}))}:Ge,Me=Ke;var Ue=je(Object.getPrototypeOf,Object),Ve=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Xt(e,Me(t)),t=Ue(t);return e}:Ge,We=Ve;function He(t,e,o){var i=e(t);return T(t)?i:Xt(i,o(t))}function qe(t){return He(t,De,Me)}function Ye(t){return He(t,Pe,We)}var Xe=st(L,"DataView"),Qe=st(L,"Promise"),Ze=st(L,"Set"),Je=st(L,"WeakMap"),to="[object Map]",eo="[object Promise]",oo="[object Set]",io="[object WeakMap]",ao="[object DataView]",ro=Z(Xe),so=Z(ft),no=Z(Qe),lo=Z(Ze),co=Z(Je),po=E;(Xe&&po(new Xe(new ArrayBuffer(1)))!=ao||ft&&po(new ft)!=to||Qe&&po(Qe.resolve())!=eo||Ze&&po(new Ze)!=oo||Je&&po(new Je)!=io)&&(po=function(t){var e=E(t),o="[object Object]"==e?t.constructor:void 0,i=o?Z(o):"";if(i)switch(i){case ro:return ao;case so:return to;case no:return eo;case lo:return oo;case co:return io}return e});var go=po,uo=Object.prototype.hasOwnProperty;var ho=L.Uint8Array;function fo(t){var e=new t.constructor(t.byteLength);return new ho(e).set(new ho(t)),e}var mo=/\w*$/;var bo=P?P.prototype:void 0,vo=bo?bo.valueOf:void 0;function yo(t,e,o){var i,a=t.constructor;switch(e){case"[object ArrayBuffer]":return fo(t);case"[object Boolean]":case"[object Date]":return new a(+t);case"[object DataView]":return function(t,e){var o=e?fo(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)}(t,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(t,e){var o=e?fo(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)}(t,o);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(t);case"[object RegExp]":return function(t){var e=new t.constructor(t.source,mo.exec(t));return e.lastIndex=t.lastIndex,e}(t);case"[object Symbol]":return i=t,vo?Object(vo.call(i)):{}}}var xo=Object.create,wo=function(){function t(){}return function(e){if(!W(e))return{};if(xo)return xo(e);t.prototype=e;var o=new t;return t.prototype=void 0,o}}(),ko=wo;var Co=xe&&xe.isMap,So=Co?me(Co):function(t){return K(t)&&"[object Map]"==go(t)};var Ao=xe&&xe.isSet,Bo=Ao?me(Ao):function(t){return K(t)&&"[object Set]"==go(t)},jo="[object Arguments]",No="[object Function]",Io="[object Object]",To={};function Do(t,e,o,i,a,r){var s,n=1&e,l=2&e,c=4&e;if(o&&(s=a?o(t,i,a,r):o(t)),void 0!==s)return s;if(!W(t))return t;var d=T(t);if(d){if(s=function(t){var e=t.length,o=new t.constructor(e);return e&&"string"==typeof t[0]&&uo.call(t,"index")&&(o.index=t.index,o.input=t.input),o}(t),!n)return function(t,e){var o=-1,i=t.length;for(e||(e=Array(i));++o<i;)e[o]=t[o];return e}(t,s)}else{var p=go(t),g=p==No||"[object GeneratorFunction]"==p;if(he(t))return function(t,e){if(e)return t.slice();var o=t.length,i=Re?Re(o):new t.constructor(o);return t.copy(i),i}(t,n);if(p==Io||p==jo||g&&!a){if(s=l||g?{}:function(t){return"function"!=typeof t.constructor||Be(t)?{}:ko(Ue(t))}(t),!n)return l?function(t,e){return de(t,We(t),e)}(t,function(t,e){return t&&de(e,Pe(e),t)}(s,t)):function(t,e){return de(t,Me(t),e)}(t,function(t,e){return t&&de(e,De(e),t)}(s,t))}else{if(!To[p])return a?t:{};s=yo(t,p,n)}}r||(r=new ce);var u=r.get(t);if(u)return u;r.set(t,s),Bo(t)?t.forEach(function(i){s.add(Do(i,e,o,i,t,r))}):So(t)&&t.forEach(function(i,a){s.set(a,Do(i,e,o,a,t,r))});var h=d?void 0:(c?l?Ye:qe:l?Pe:De)(t);return function(t,e){for(var o=-1,i=null==t?0:t.length;++o<i&&!1!==e(t[o],o,t););}(h||t,function(i,a){h&&(i=t[a=i]),Ft(s,a,Do(i,e,o,a,t,r))}),s}function zo(t,e){return e.length<2?t:zt(t,function(t,e,o){var i=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(o=o>a?a:o)<0&&(o+=a),a=e>o?0:o-e>>>0,e>>>=0;for(var r=Array(a);++i<a;)r[i]=t[i+e];return r}(e,0,-1))}To[jo]=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[Io]=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[No]=To["[object WeakMap]"]=!1;var Lo=Object.prototype.hasOwnProperty;function Po(t,e){var o=-1,i=(e=Tt(e,t)).length;if(!i)return!0;for(var a=null==t||"object"!=typeof t&&"function"!=typeof t;++o<i;){var r=e[o];if("string"==typeof r){if("__proto__"===r&&!Lo.call(t,"__proto__"))return!1;if("constructor"===r&&o+1<i&&"string"==typeof e[o+1]&&"prototype"===e[o+1]){if(a&&0===o)continue;return!1}}}var s=zo(t,e);return null==s||delete s[Dt(function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}(e))]}var Oo=Function.prototype,_o=Object.prototype,Fo=Oo.toString,Ro=_o.hasOwnProperty,Go=Fo.call(Object);function $o(t){return function(t){if(!K(t)||"[object Object]"!=E(t))return!1;var e=Ue(t);if(null===e)return!0;var o=Ro.call(e,"constructor")&&e.constructor;return"function"==typeof o&&o instanceof o&&Fo.call(o)==Go}(t)?void 0:t}var Eo=ne(function(t,e){var o={};if(null==t)return o;var i=!1;e=Bt(e,function(e){return e=Tt(e,t),i||(i=e.length>1),e}),de(t,Ye(t),o),i&&(o=Do(o,7,$o));for(var a=e.length;a--;)Po(o,e[a]);return o}),Ko=Eo,Mo={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const t=["fontSize","marginTop","marginBottom"],e=le(this.props||{},t),o=Ko(this.props||{},t);return{...w(e),...o}}}};Mo.render=function(t,e,o,i,l,c){return a(),r("div",{style:s([c.computedStyle])},n(o.props.value),5)};var Uo={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:e,defaultValue:i}=this.props,a=e.filter(t=>!o(t)).filter(t=>!Object.values(t).every(t=>o(t)));let r=i;return t(a)||(r=a),console.log(52,r),r},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=le(this.props,t),o=Ko(this.props,t);return{...w(e),...o}}}};const Vo=["src"];function Wo(t,e){void 0===e&&(e={});var o=e.insertAt;if(t&&"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=t:a.appendChild(document.createTextNode(t))}}Wo(".lc-img-item[data-v-37ef13ec]{box-sizing:border-box;width:100%}"),Uo.render=function(t,e,o,i,n,p){return a(),r("div",null,[(a(!0),r(l,null,c(p.resultArr,(e,o)=>(a(),r("div",{key:t.cyy},[d("img",{mode:"widthFix",style:s([p.computedStyle,n.imgStyle]),src:e.imgUrl,alt:""},null,12,Vo)]))),128))])},Uo.__scopeId="data-v-37ef13ec";var Ho={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const t=["marginTop","marginBottom"],e=le(this.props,t),o=Ko(this.props,t);return{...w(e),...o,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){x||this.$emit("ToSearch")}}};const qo={style:{overflow:"hidden"}},Yo=["src"];Ho.render=function(t,e,o,i,l,c){return a(),r("div",qo,[d("div",{style:s([c.computedStyle]),onClick:e[0]||(e[0]=(...t)=>c.goSearch&&c.goSearch(...t))},[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,Yo)):p("",!0),d("div",{style:s([{flex:"1"},{color:o.props.fontColor}])},n(o.props.value),5)],4)])};var Xo={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:x}),mounted(){this.init()},methods:{async init(){this.domainNameUrl=j(this);const{goods:t=[]}=this.props,e={goodsCode:t.toString()},o=await N(this,e);this.listArr=i(o,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(x)return;const{skuCode:e}=t;let o={skuNo:e};this.$routers.push("detail",o)},getMaskState:t=>"1"===t?"预售中":"补货中"}};const Qo={key:1},Zo=["onClick"],Jo={class:"imgWrapper"},ti={class:"maskState"},ei=["src"],oi={class:"goodsDescription"},ii={key:0,class:"specialGoodsName"},ai={key:1,class:"goodsName"},ri={class:"footerContent"},si={class:"goodsPrice"},ni={key:0,class:"scribing"};Wo(".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}"),Xo.render=function(t,e,o,i,h,f){return a(),r("div",null,[h.listArr.length?(a(),r("div",Qo,[d("div",{class:g(["cube-container",`arrange-${o.props.arrange}`,{isLc:h.isLc}]),style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,gap:`${o.props.margin}px`})},[(a(!0),r(l,null,c(h.listArr,(t,i)=>(a(),r("div",{class:"cube-item",key:t.skuCode,onClick:e=>f.goGoodsDetail(t)},[d("div",Jo,[!1===h.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${o.props.borderRadius}px`})},[d("div",ti,n(f.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?h.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:s({borderRadius:`${o.props.borderRadius}px`})},null,12,ei)]),d("div",oi,[!0===h.isLc&&2===o.props.arrange?(a(),r("div",ii,n(t.goodsName),1)):(a(),r("div",ai,n(t.goodsName),1)),d("section",ri,[d("div",si,[u(" ¥"+n(t.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",ni,"¥"+n(t.pricesetMakeprice),1)):p("",!0)]),e[0]||(e[0]=d("div",{class:"goodsBuy"},"立即购买",-1))])])],8,Zo))),128))],6)])):(a(),r("div",{key:0,style:s(h.noDataStyle)},"请选择商品",4))])},Xo.__scopeId="data-v-0c10f761";var li={name:"cyy-slider",data:()=>({lowCode:x}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:e,defaultValue:i}=this.props,a=e.filter(t=>!o(t)).filter(t=>!Object.values(t).every(t=>o(t)));let r=i;return t(a)||(r=a),r},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=le(this.props,["marginTop","marginBottom"]);return{...w(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const ci={key:0},di=["src"],pi={key:1},gi=["src"];Wo(".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}"),li.render=function(t,e,o,i,n,p){const g=h("swiper-item"),u=h("swiper");return a(),r("div",null,[n.lowCode?(a(),r("div",ci,[d("div",{class:"lowCode-warp",style:s([p.sliderStyle])},[d("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,di),d("ul",null,[(a(!0),r(l,null,c(p.resultArr,(e,o)=>(a(),r("li",{key:t.cyy}))),128))])],4)])):(a(),r("div",pi,[f(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:m(()=>[(a(!0),r(l,null,c(p.resultArr,(e,o)=>(a(),b(g,{key:t.cyy,style:s([p.sliderStyle,{boxSizing:"border-box"}])},{default:m(()=>[d("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,gi)]),_:2},1032,["style"]))),128))]),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var ui={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:t=[]}=this.props;console.log(197);const e=t.toString();console.log(198);const o={goodsCode:e};console.log(199,o);const a=await N(this,o);this.listArr=i(a,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(x)return;const{skuCode:e,skuNo:o}=t;let i={skuCode:e,skuNo:o};this.$routers.push("detail",i)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"补货中"};const hi={key:1},fi={class:"three-layout"},mi={key:0,class:"top-left"},bi={key:1,class:"top-right"},vi={class:"three-layout-content"},yi={class:"three-layout-bigImg"},xi=["src"],wi={class:"three-layout-goods"},ki=["src"],Ci={key:0,class:"mask-three-more"},Si={class:"price-box"},Ai={class:"now-price"},Bi={key:0,class:"origin-price"};Wo(".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}"),ui.render=function(t,e,o,i,g,b){const v=h("vop-label"),y=h("scroll-view");return a(),r("div",null,[o.props.goods?(a(),r("div",hi,[d("div",fi,[d("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>b.jumpToSearch())},[o.props.title.isShow?p("",!0):(a(),r("div",mi,n(o.props.title.title||""),1)),1===o.props.more?(a(),r("div",bi,[...e[2]||(e[2]=[d("div",null,"更多",-1),d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)])])):p("",!0)]),d("div",vi,[d("div",yi,[d("image",{"lazy-load":!0,src:o.props.bill?o.props.bill:"",mode:"aspectFill"},null,8,xi)]),d("div",wi,[f(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:m(()=>[(a(!0),r(l,null,c(g.listArr,(o,i)=>(a(),r("div",{class:"scroll-item",key:i,onClick:e[1]||(e[1]=e=>t.toDetail())},[d("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+o.dataPic,mode:"aspectFill"},null,8,ki),o.goodsSupplynum<=0||"1"===o.goodsProperty5?(a(),r("div",Ci,n(t.maskTitle(o.goodsProperty5)),1)):p("",!0),d("p",null,[f(v,{goodsType:o.contlistPrice1},null,8,["goodsType"]),u(n(o.goodsName),1)]),d("div",Si,[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))])},ui.__scopeId="data-v-326730f6";var ji={name:"cyy-ArsenalPicture",data:()=>({classOptions:{showA:!1,showB:!1,showC:!1,showD:!1,showE:!1,showF:!1,showG:!1,showH:!1,showI:!1,showJ:!1},imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,spacing:Number,marginTop:Number,marginBottom:Number,selectImg:Array,defaultValue:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},computed:{resultArr(){const{selectImg:e,defaultValue:i}=this.props,a=e.filter(t=>!o(t)).filter(t=>!Object.values(t).every(t=>o(t)));let r=i;return t(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(t){this.$emit("linkClick",t)}}};const Ni={key:0,class:"holder"},Ii=["src","onClick"],Ti=["src","onClick"];Wo(".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%}"),ji.render=function(t,e,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(l,null,c(d.resultArr,(t,e)=>(a(),r("div",{key:e,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:t.imgUrl,alt:"",style:s({borderRadius:o.props.cornerStyle+"px"}),onClick:e=>d.linkClick(t)},null,12,Ii)):(a(),r("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:o.props.cornerStyle+"px"}),onClick:e=>d.linkClick(t)},null,12,Ti))],2))),128))],6)):(a(),r("div",Ni,"请选择添加图片"))])},ji.__scopeId="data-v-38f6475c";var Di={name:"cyy-ArsenalPicture",data:()=>({skeleton:["导航1","导航2","导航3","导航4"],imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,marginTop:Number,marginBottom:Number,selectImg:Array,navigationNum:Number}},mounted(){5===this.props.navigationNum&&(this.skeleton=["导航1","导航2","导航3","导航4","导航5"])},computed:{resultArr(){const{selectImg:e,defaultValue:i}=this.props,a=e.filter(t=>null!==t).filter(t=>!o(t)).filter(t=>!Object.values(t).every(t=>o(t)));let r=i;return t(a)||(r=a),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?8:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const zi={key:0,class:"holder"},Li=["onClick"],Pi=["src"],Oi={key:1},_i=["onClick"],Fi=["src"];Wo(".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}"),Di.render=function(t,e,o,i,u,h){return a(),r("div",null,[h.resultArr.length?(a(),r(l,{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(l,null,c(h.resultArr,(t,e)=>(a(),r("div",{class:g(["golds-item",[5===o.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:e,onClick:e=>h.linkClick(t)},[d("img",{class:g([1===o.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:s({borderRadius:o.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,Pi),d("div",{style:s({color:o.props.fontColor})},n(t.name),5)],10,Li))),128))],4)):p("",!0),1===o.props.showStyle?(a(),r("div",Oi,[d("div",{class:"classify-list",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[(a(!0),r(l,null,c(h.resultArr,(t,e)=>(a(),r("div",{class:g(["classify-item",[1===o.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:s({backgroundColor:o.props.backgroundColor}),key:e,onClick:e=>h.linkClick(t)},[d("div",{class:g([1===o.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:s({color:o.props.fontColor})},n(t.name),7),d("img",{class:g([1===o.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:s({borderRadius:h.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,Fi)],14,_i))),128))],4)])):p("",!0)],64)):(a(),r("div",zi,[d("ul",null,[(a(!0),r(l,null,c(u.skeleton,(t,o)=>(a(),r("li",{key:o},[e[0]||(e[0]=d("div",null,null,-1)),d("span",null,n(t),1)]))),128))])]))])},Di.__scopeId="data-v-27ca3374";var Ri={name:"cyy-ArsenalCarousel",data:()=>({lowCode:x}),props:{props:{photoCorner:Number,autoPlay:Number,autoplayInterval:Number,direction:Number,loop:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:i}=this.props,a=e.filter(t=>!o(t)).filter(t=>!Object.values(t).every(t=>o(t)));let r=i;return t(a)||(r=a),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?10:50===t?20:t,linkClick(t){this.$emit("linkClick",t)}}};const Gi={key:0},$i=["src"],Ei={class:"swiper"},Ki=["src","onClick"];Wo(".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%}"),Ri.render=function(t,e,o,i,n,p){const g=h("swiper-item"),u=h("block"),v=h("swiper");return a(),r("div",null,[n.lowCode?(a(),r("div",Gi,[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,$i),d("ul",null,[(a(!0),r(l,null,c(p.resultArr,(t,e)=>(a(),r("li",{key:e}))),128))])],4)])):(a(),r("div",{key:1,class:"swiperBox",style:s({marginTop:o.props.marginTop+"px",marginBottom:o.props.marginBottom+"px"})},[d("div",Ei,[f(v,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:o.props.autoplayInterval},{default:m(()=>[(a(!0),r(l,null,c(p.resultArr,(t,e)=>(a(),b(u,{key:e},{default:m(()=>[f(g,{class:"img-item"},{default:m(()=>[d("img",{style:s({borderRadius:p.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>p.linkClick(t)},null,12,Ki)]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["vertical","autoplay","duration"])])],4))])},Ri.__scopeId="data-v-7be72334";var Mi={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Ui={key:0,class:"label"};Wo(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Mi.render=function(t,e,o,i,s,n){return"40"===o.goodsType?(a(),r("text",Ui,"京东优选")):p("",!0)},Mi.__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:x}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},hasNewActivityTitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].title:this.props.activityTitle},hasNewActivitySubtitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].subTitle:this.props.activitySubtitle},ruleTitle(){return 1===this.props.arrange&&!!this.props.activityTitleLable?.length},ruleTitleImg(){return this.ruleTitle?`url(${this.props.activityTitleLable[0]?.imgUrl}) no-repeat`:""},selectImgRule(){return t=>"show"===t?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===t?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===t?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Mi},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=j(this);const{goods:t=[]}=this.props,e={goodsCode:t.toString()},o=await N(this,e);this.completeGoodsList=i(o,"list",[]),this.completeGoodsList.forEach(t=>{t.rsGoodsFileDomainList=[],t.rsSkuDomainList=[]}),1===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,12):2===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,2):3===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,3):[4,5].includes(this.props.arrange)&&(this.goodsList=this.completeGoodsList.slice(0,60))},goGoodsDetail(t){if(x)return;const{skuCode:e}=t;let o={skuNo:e};this.$routers.push("detail",o)},goMoreGoods(){x||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"补货中",linkClick(t){this.$emit("linkClick",t)}}},Wi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Hi={key:0},qi={key:1,class:"title"},Yi={class:"subtitle"},Xi={key:3,class:"more"},Qi={class:"title"},Zi={class:"mainTitle"},Ji={key:2,class:"mainImage"},ta=["src"],ea=["onClick"],oa=["src"],ia={class:"maskState"},aa={class:"goodsDescription"},ra={class:"goodsName"},sa={class:"footerContent"},na={key:0,class:"goodsTagList"},la={class:"tag"},ca={class:"goodsPrice"},da={key:0,class:"scribing"},pa=["onClick"];Wo("body{margin:0}");Wo('.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(t,e,o,i,m,b){const v=h("vopLabel");return a(),r("div",null,[o.props.goods?(a(),r("div",{key:1,style:s({margin:`${o.props.marginTop}px 0 ${o.props.marginBottom}px 0`,backgroundColor:`${o.props.backgroundColor}`,borderRadius:`${o.props.cornerStyle}px`})},[4!==o.props.arrange?(a(),r("div",{key:0,class:g(["top",{left:4!==o.props.arrange}]),style:s({background:b.ruleTitle&&2===o.props.activityTitleLable[0].lable?`${b.ruleTitleImg}`:""})},[b.ruleTitle&&2===o.props.activityTitleLable[0].lable?(a(),r("div",Hi)):(a(),r("div",qi,[d("span",{class:g(["mainTitle",b.mainTitleColor])},n(b.ruleTitle?o.props.activityTitleLable[0].title:b.hasNewActivityTitle),3),d("span",Yi,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:e[0]||(e[0]=t=>b.goMoreGoods())},[...e[2]||(e[2]=[u("更多",-1),d("img",{src:Wi},null,-1)])])):(a(),r("div",Xi))],6)):4===o.props.arrange?(a(),r("div",{key:1,class:g(["top",{center:4===o.props.arrange}])},[d("div",Qi,[e[3]||(e[3]=d("div",{class:"line"},null,-1)),d("div",Zi,n(b.hasNewActivityTitle),1),e[4]||(e[4]=d("div",{class:"line"},null,-1))])],2)):p("",!0),b.selectImgRule("show")?(a(),r("div",Ji,[d("img",{style:s({borderTopLeftRadius:`${o.props.cornerStyle}px`,borderTopRightRadius:`${o.props.cornerStyle}px`}),src:b.selectImgRule("url"),alt:"主图",onClick:e[1]||(e[1]=t=>b.linkClick(b.selectImgRule("link")))},null,12,ta)])):p("",!0),d("div",{class:g(["goodsList",[`arrange-${o.props.arrange}`,{isLc:!m.isLc}]])},[(a(!0),r(l,null,c(m.goodsList,(i,h)=>(a(),r("div",{class:"goodsBox",style:s({borderRadius:`${o.props.cornerStyle}px`}),key:i.skuCode,onClick:t=>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")?m.domainNameUrl+i.dataPic:i.dataPic:"",alt:"商品图片"},null,12,oa),!1===m.isLc&&(i.goodsSupplynum<=0||"1"===i.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:o.props.borderRadius})},[d("div",ia,n(b.getMaskState(i.goodsProperty5)),1)],4)):p("",!0)],2),d("div",aa,[d("div",ra,[f(v),u(n(i.goodsName),1)]),d("section",sa,[o.props.goodsTag.length>0&&[2,4].includes(o.props.arrange)?(a(),r("div",na,[(a(!0),r(l,null,c(o.props.goodsTag,t=>(a(),r("div",{key:t.id},[d("span",la,n(t.value),1)]))),128))])):p("",!0),d("div",ca,[e[5]||(e[5]=d("span",{class:"priceUnit"},"¥",-1)),u(n(i.pricesetNprice)+" ",1),1===o.props.markedPrice?(a(),r("div",da,"¥"+n(i.pricesetMakeprice),1)):p("",!0)]),1===o.props.purchaseIcon?(a(),r("div",{key:1,class:"goodsBuy",onClick:e=>t.handleBuyGoods(i.skuNo)},"立即购买",8,pa)):p("",!0)])])],12,ea))),128))],2)],4)):(a(),r("div",{key:0,style:s(m.noDataStyle)},"请选择商品",4))])},Vi.__scopeId="data-v-5b0f81ce";var ga={name:"cyy-ArsenalTop",data:()=>({lowCode:x,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){this.changeColor()},computed:{resultArrImg:()=>t=>t[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:i}=this.props,a=e.filter(t=>!o(t)).filter(t=>!Object.values(t).every(t=>o(t)));let r=i;return t(a)||(r=a),console.log(52,r),r}},methods:{changeColor(){this.props.selectImg.length&&(this.color=this.props.selectImg[0]?.color||"#FD1738")},classifyPhotoCorner:t=>20===t?10:50===t?20:t,setimg(t){const e=t.detail.current;this.color=this.props.selectImg[e]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},linkClick(t){this.$emit("linkClick",t)}}};const ua={key:0},ha={class:"title-t"},fa={class:"boxBgL"},ma={class:"tag",style:{"justify-content":"center"}},ba={class:"tag--item"},va={class:"",style:{color:"#fff","font-size":"24rpx",position:"relative","z-index":"1"}},ya=["src"],xa=["src"],wa=["src"],ka={class:"Box"},Ca={class:"boxBg"},Sa={class:"search"},Aa={class:"tag"},Ba={class:"tag--item"},ja={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},Na=["src"],Ia={class:"",style:{color:"#fff","font-size":"24rpx"}},Ta={class:"swiper"},Da=["src","onClick"];Wo(".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}"),ga.render=function(t,e,o,i,p,g){const v=h("swiper-item"),y=h("block"),x=h("swiper");return a(),r("div",null,[p.lowCode?(a(),r("div",ua,[d("div",{class:"title-l",slot:"left",style:s({"background-color":p.color})},[d("div",ha,n(o.props.siteName||"人才优选 品质优选"),1)],4),d("div",{class:"Box",style:s({"background-color":p.color})},[d("div",fa,[d("div",{class:"one",style:s({"background-color":p.color})},null,4),d("div",{class:"two",style:s({"background-color":p.color})},null,4)]),e[1]||(e[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",ma,[d("div",ba,[d("div",va,[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,ya)):(a(),r("img",{key:1,"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,xa)),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,wa),d("ul",null,[(a(!0),r(l,null,c(g.resultArr,(t,e)=>(a(),r("li",{key:e}))),128))])],4)])):(a(),r(l,{key:1},[d("div",ka,[d("div",Ca,[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",Sa,[d("div",{class:"search--input",onClick:e[0]||(e[0]=(...t)=>g.ToSearch&&g.ToSearch(...t))},[e[3]||(e[3]=d("div",{class:"search--input--box"},"搜索您喜欢的商品",-1)),d("div",{class:"search--input--icon",style:s({"background-color":p.color})},[...e[2]||(e[2]=[d("text",{class:"iconfont icon-sousuo"},null,-1)])],4)])]),d("div",Aa,[d("div",Ba,[d("div",ja,[d("img",{"lazy-load":!0,src:o.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,Na)]),d("div",Ia,n(o.props.mallSlogan),1)])]),e[4]||(e[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,[f(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:g.directionResult,autoplay:g.autoplayResult,duration:o.props.autoplayInterval,onChange:g.setimg},{default:m(()=>[(a(!0),r(l,null,c(g.resultArr,(t,e)=>(a(),b(y,{key:e},{default:m(()=>[f(v,{class:"img-item"},{default:m(()=>[d("img",{style:s({bordeRadius:g.classifyPhotoCorner(o.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>g.linkClick(t)},null,12,Da)]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},ga.__scopeId="data-v-2fdfd7a0";const za=async t=>{const e=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+t,{method:"POST",headers:{"saas-token":e,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then(t=>t.json()).then((t={})=>t)};var La={props:{props:{live:Array,title:String,cover:String,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},liveDataState:0}),mounted(){this.init()},computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let t="";switch(this.liveDataState){case 0:t="初始化";break;case 1:t="上传直播间";break;case 101:t="直播中";break;case 102:t="未开始";break;case 103:t="已结束";break;case 104:t="禁播";break;case 105:t="暂停";break;case 106:t="异常";break;case 107:t="已过期"}return t}},methods:{async init(){if(x){const t=B+`?infuencerCode=${this.props.live.infuencerCode}`,{list:e}=await za(t);0===e.length&&(this.liveDataState=e[0].dataState)}else{this.http.post(B,{infuencerCode:this.props.live.infuencerCode}).then(t=>{this.liveDataState=t.list[0].dataState})}},handleToLive(){if(x)return;let t=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${t}`})}}};const Pa={class:"liveTitlePo"},Oa={class:"live"},_a={class:"liveCover"},Fa=["src"],Ra={class:"liveState"};Wo(".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}"),La.render=function(t,e,o,i,l,c){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:e[0]||(e[0]=t=>c.handleToLive())},[d("div",Pa,n(c.liveTitle),1),d("div",Oa,[d("div",_a,[d("img",{src:c.liveCover},null,8,Fa),d("div",Ra,n(c.liveState),1)])])],4)):(a(),r("div",{key:0,style:s(l.noDataStyle)},"请选择直播",4))])},La.__scopeId="data-v-7870d5a8";const Ga="%[a-f0-9]{2}",$a=new RegExp("("+Ga+")|([^%]+?)","gi"),Ea=new RegExp("("+Ga+")+","gi");function Ka(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const o=t.slice(0,e),i=t.slice(e);return Array.prototype.concat.call([],Ka(o),Ka(i))}function Ma(t){try{return decodeURIComponent(t)}catch{let e=t.match($a)||[];for(let o=1;o<e.length;o++)e=(t=Ka(e,o).join("")).match($a)||[];return t}}function Ua(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){const e={"%FE%FF":"��","%FF%FE":"��"};let o=Ea.exec(t);for(;o;){try{e[o[0]]=decodeURIComponent(o[0])}catch{const t=Ma(o[0]);t!==o[0]&&(e[o[0]]=t)}o=Ea.exec(t)}e["%C2"]="�";const i=Object.keys(e);for(const o of i)t=t.replace(new RegExp(o,"g"),e[o]);return t}(t)}}function Va(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const o=t.indexOf(e);return-1===o?[]:[t.slice(0,o),t.slice(o+e.length)]}function Wa(t,e){const o={};if(Array.isArray(e))for(const i of e){const e=Object.getOwnPropertyDescriptor(t,i);e?.enumerable&&Object.defineProperty(o,i,e)}else for(const i of Reflect.ownKeys(t)){const a=Object.getOwnPropertyDescriptor(t,i);if(a.enumerable){e(i,t[i],t)&&Object.defineProperty(o,i,a)}}return o}const Ha=Symbol("encodeFragmentIdentifier");function qa(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Ya(t,e){return e.encode?e.strict?encodeURIComponent(t).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(t):t}function Xa(t,e){return e.decode?Ua(t):t}function Qa(t){return Array.isArray(t)?t.sort():"object"==typeof t?Qa(Object.keys(t)).sort((t,e)=>Number(t)-Number(e)).map(e=>t[e]):t}function Za(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function Ja(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function tr(t){const e=(t=Za(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function er(t,e){qa((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);const o=function(t){let e;switch(t.arrayFormat){case"index":return(t,o,i)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===i[t]&&(i[t]={}),i[t][e[1]]=o):i[t]=o};case"bracket":return(t,o,i)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==i[t]?i[t]=[...i[t],o]:i[t]=[o]:i[t]=o};case"colon-list-separator":return(t,o,i)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==i[t]?i[t]=[...i[t],o]:i[t]=[o]:i[t]=o};case"comma":case"separator":return(e,o,i)=>{const a="string"==typeof o&&o.includes(t.arrayFormatSeparator),r="string"==typeof o&&!a&&Xa(o,t).includes(t.arrayFormatSeparator);o=r?Xa(o,t):o;const s=a||r?o.split(t.arrayFormatSeparator).map(e=>Xa(e,t)):null===o?o:Xa(o,t);i[e]=s};case"bracket-separator":return(e,o,i)=>{const a=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!a)return void(i[e]=o?Xa(o,t):o);const r=null===o?[]:o.split(t.arrayFormatSeparator).map(e=>Xa(e,t));void 0!==i[e]?i[e]=[...i[e],...r]:i[e]=r};default:return(t,e,o)=>{void 0!==o[t]?o[t]=[...[o[t]].flat(),e]:o[t]=e}}}(e),i=Object.create(null);if("string"!=typeof t)return i;if(!(t=t.trim().replace(/^[?#&]/,"")))return i;for(const a of t.split("&")){if(""===a)continue;const t=e.decode?a.replace(/\+/g," "):a;let[r,s]=Va(t,"=");void 0===r&&(r=t),s=void 0===s?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:Xa(s,e),o(Xa(r,e),s,i)}for(const[t,o]of Object.entries(i))if("object"==typeof o&&null!==o)for(const[t,i]of Object.entries(o))o[t]=Ja(i,e);else i[t]=Ja(o,e);return!1===e.sort?i:(!0===e.sort?Object.keys(i).sort():Object.keys(i).sort(e.sort)).reduce((t,e)=>{const o=i[e];return t[e]=Boolean(o)&&"object"==typeof o&&!Array.isArray(o)?Qa(o):o,t},Object.create(null))}function or(t,e){if(!t)return"";qa((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const o=o=>e.skipNull&&null==t[o]||e.skipEmptyString&&""===t[o],i=function(t){switch(t.arrayFormat){case"index":return e=>(o,i)=>{const a=o.length;return void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:null===i?[...o,[Ya(e,t),"[",a,"]"].join("")]:[...o,[Ya(e,t),"[",Ya(a,t),"]=",Ya(i,t)].join("")]};case"bracket":return e=>(o,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:null===i?[...o,[Ya(e,t),"[]"].join("")]:[...o,[Ya(e,t),"[]=",Ya(i,t)].join("")];case"colon-list-separator":return e=>(o,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:null===i?[...o,[Ya(e,t),":list="].join("")]:[...o,[Ya(e,t),":list=",Ya(i,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return o=>(i,a)=>void 0===a||t.skipNull&&null===a||t.skipEmptyString&&""===a?i:(a=null===a?"":a,0===i.length?[[Ya(o,t),e,Ya(a,t)].join("")]:[[i,Ya(a,t)].join(t.arrayFormatSeparator)])}default:return e=>(o,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:null===i?[...o,Ya(e,t)]:[...o,[Ya(e,t),"=",Ya(i,t)].join("")]}}(e),a={};for(const[e,i]of Object.entries(t))o(e)||(a[e]=i);const r=Object.keys(a);return!1!==e.sort&&r.sort(e.sort),r.map(o=>{const a=t[o];return void 0===a?"":null===a?Ya(o,e):Array.isArray(a)?0===a.length&&"bracket-separator"===e.arrayFormat?Ya(o,e)+"[]":a.reduce(i(o),[]).join("&"):Ya(o,e)+"="+Ya(a,e)}).filter(t=>t.length>0).join("&")}function ir(t,e){e={decode:!0,...e};let[o,i]=Va(t,"#");return void 0===o&&(o=t),{url:o?.split("?")?.[0]??"",query:er(tr(t),e),...e&&e.parseFragmentIdentifier&&i?{fragmentIdentifier:Xa(i,e)}:{}}}function ar(t,e){e={encode:!0,strict:!0,[Ha]:!0,...e};const o=Za(t.url).split("?")[0]||"";let i=or({...er(tr(t.url),{sort:!1}),...t.query},e);i&&(i=`?${i}`);let a=function(t){let e="";const o=t.indexOf("#");return-1!==o&&(e=t.slice(o)),e}(t.url);if(t.fragmentIdentifier){const i=new URL(o);i.hash=t.fragmentIdentifier,a=e[Ha]?i.hash:`#${t.fragmentIdentifier}`}return`${o}${i}${a}`}function rr(t,e,o){o={parseFragmentIdentifier:!0,[Ha]:!1,...o};const{url:i,query:a,fragmentIdentifier:r}=ir(t,o);return ar({url:i,query:Wa(a,e),fragmentIdentifier:r},o)}var sr=Object.freeze({__proto__:null,extract:tr,parse:er,stringify:or,parseUrl:ir,stringifyUrl:ar,pick:rr,exclude:function(t,e,o){return rr(t,Array.isArray(e)?t=>!e.includes(t):(t,o)=>!e(t,o),o)}}),nr={props:{props:{notice:{notice:Array,vertical:Boolean,color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},noticeList:[]}),mounted(){this.getIsLc()},methods:{getIsLc(){let t=this;return x?this.LcGetNotice(t):this.getNotice(t)},async LcGetNotice(t){const e=location.hash.replace(/[\\/#?]/g,""),o=sr.parse(e),i={};i.modelTagvalueId=o.modelTagvalueId??"";const a=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${i.modelTagvalueId}¬iceType=1`,r=await za(a);t.noticeList=r},async getNotice(t){const e=await t.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});t.noticeList=e},handleToNotice(t){x||this.$routers.push("noticeDedail",{id:t.noticeId})}}};const lr={class:"notice-content"},cr=["onClick"];Wo(".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}"),nr.render=function(t,e,o,i,p,g){const u=h("swiper-item"),v=h("swiper");return a(),r("div",null,[p.noticeList?(a(),r("div",{key:1,class:"noticeBox",style:s({marginTop:`${o.props.marginTop}px`,marginBottom:`${o.props.marginBottom}px`,backgroundColor:`${o.props.backgroundColor}`})},[e[0]||(e[0]=d("div",{class:"notice-logo"},[d("span",null,"公告")],-1)),e[1]||(e[1]=d("div",{class:"notice-bar"},null,-1)),d("div",lr,[f(v,{class:"notice-list",vertical:o.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:m(()=>[(a(!0),r(l,null,c(p.noticeList,t=>(a(),b(u,{key:t.noticeId},{default:m(()=>[d("div",{class:"swiper-item",style:s({color:`${o.props.color}`}),onClick:e=>g.handleToNotice(t)},n(t.noticeTitle),13,cr)]),_:2},1024))),128))]),_:1},8,["vertical"])])],4)):(a(),r("div",{key:0,style:s(p.noDataStyle)},"请选择公告",4))])},nr.__scopeId="data-v-a1078966";var dr={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp(t,e){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let t={};return this.height&&(t.height=this.height+"rpx",t.width=this.height+"rpx"),this.showBorder&&(t.borderStyle="solid",t.borderColor=this.borderColor,t.borderWidth="1px"),this.bgColor&&(t.backgroundColor=this.bgColor),t},letterStyle(){let t={};return this.fontSize&&(t.fontSize=this.fontSize+"rpx"),this.color&&(t.color=this.color),t}},mounted(){this.autoplay&&this.timestamp&&this.start()},methods:{start(){this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval(()=>{if(this.seconds--,this.$emit("change",this.seconds),this.seconds<0)return this.end();this.formatTime(this.seconds)},1e3))},formatTime(t){t<=0&&this.end();let[e,o,i,a]=[0,0,0,0];e=Math.floor(t/86400),o=Math.floor(t/3600)-24*e;let r=null;r=this.showDays?o:Math.floor(t/3600),i=Math.floor(t/60)-60*o-24*e*60,a=Math.floor(t)-24*e*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,e=e<10?"0"+e:e,this.d=e,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 pr={class:"u-countdown"};Wo(".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}"),dr.render=function(t,e,o,i,l,c){return a(),r("view",pr,[o.showDays&&(o.hideZeroDay||!o.hideZeroDay&&"00"!=l.d)?(a(),r("view",{key:0,class:"u-countdown-item",style:s([c.itemStyle])},[d("view",{class:"u-countdown-time",style:s([c.letterStyle])},n(l.d),5)],4)):p("",!0),o.showDays&&(o.hideZeroDay||!o.hideZeroDay&&"00"!=l.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([c.itemStyle])},[d("view",{class:"u-countdown-time",style:s({fontSize:o.fontSize+"rpx",color:o.color})},n(l.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([c.itemStyle])},[d("view",{class:"u-countdown-time",style:s({fontSize:o.fontSize+"rpx",color:o.color})},n(l.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([c.itemStyle])},[d("view",{class:"u-countdown-time",style:s({fontSize:o.fontSize+"rpx",color:o.color})},n(l.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)])},dr.__scopeId="data-v-4f36f3d2";var gr={name:"u-line-progress",props:{round:{type:Boolean,default:!0},type:{type:String,default:""},activeColor:{type:String,default:"#19be6b"},inactiveColor:{type:String,default:"#ececec"},percent:{type:Number,default:0},showPercent:{type:Boolean,default:!0},height:{type:[Number,String],default:28},striped:{type:Boolean,default:!1},stripedActive:{type:Boolean,default:!1}},data:()=>({}),computed:{progressStyle(){let t={};return t.width=this.percent+"%",this.activeColor&&(t.backgroundColor=this.activeColor),t}},methods:{}};Wo(".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}}"),gr.render=function(t,e,o,i,c,h){return a(),r("view",{class:"u-progress",style:s({borderRadius:o.round?"100rpx":0,height:o.height+"rpx",backgroundColor:o.inactiveColor})},[d("view",{class:g([[o.type?`u-type-${o.type}-bg`:"",o.striped?"u-striped":"",o.striped&&o.stripedActive?"u-striped-active":""],"u-active"]),style:s([h.progressStyle])},[t.$slots.default||t.$slots.$default?v(t.$slots,"default",{key:0}):o.showPercent?(a(),r(l,{key:1},[u(n(o.percent+"%"),1)],64)):p("",!0)],6)],4)},gr.__scopeId="data-v-6b1ec6a3";const ur=x?location.hash.replace(/[\\/#?]/g,""):null,hr=sr.parse(ur),fr=(hr["saas-token"],hr.membercode??""),mr=hr.channelCode??"",br=(hr.tenantcode,hr.modelTagvalueId,hr.tginfoCode,fr),vr=mr;var yr={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:dr,uLineProgress:gr},data:()=>({lowCode:x,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=j(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>t=>"已终止"===t||"已抢空"===t?"#D7D7D7":"即将开始"===t?"#F59A23":"#ed4444",btnDataState:()=>(t,e)=>[-1,2,6].includes(t.dataState)?"已终止":[1].includes(t.dataState)?0===e.goodsSupplynum?"已抢空":"立即购买":[4].includes(t.dataState)?"即将开始":void 0,getPrice:()=>t=>"2"==t.pricesetType||"4"==t.pricesetType?"¥"+t.pricesetNprice:"3"==t.pricesetType?t.pricesetRefrice+"里程":t.pricesetNprice,activityCss:()=>t=>t.length?1===t.length?1:2===t.length?2:t.length>=3?3:0:0,diffFn:()=>t=>t?(t.goodsAhnum-t.goodsSupplynum)/t.goodsAhnum*100:"",minTime(){let t=[];this.secGoodList.map(t=>t.dataState).includes(1)?this.secGoodList.forEach(e=>{1===e.dataState&&t.push(e.gmtModified)}):this.secGoodList.forEach(e=>{4===e.dataState?t.push(e.gmtCreate):t.push(e.gmtModified)});for(let e=0;e<t.length-1;e++)for(let e=0;e<t.length-1;e++)if(t[e]>t[e+1]){let o=t[e];t[e]=t[e+1],t[e+1]=o}return t[0]},setPromotionDates:()=>(t,e)=>{let o=(new Date(e.promotionBegintime)-Date.parse(new Date))/1e3,i=(new Date(e.promotionEndtime)-Date.parse(new Date))/1e3;return t.gmtCreate=o>0?o:0,t.gmtModified=i>0?i:0,{gmtCreate:t.gmtCreate,gmtModified:t.gmtModified}}},methods:{async getSecGoodList(t,e=null){const o=(t,e=!1)=>{if(t&&(e?t.rows:t.list)&&(e?t.rows.length:t.list.length)){const o=e?t.rows:t.list;o.slice(0,3).forEach(t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,o=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=o>0?o:0}),this.secGoodList=o}else this.secGoodList=[]};if(0===this.props.activityType){let e="";if(console.log(this.props?.activityList,"选择活动=====秒杀"),"all"==this.props?.activityList?e=null:this.props?.activityList?.length&&(e=this.props?.activityList.join(",")),x){let t="";e?t=`${S}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&couponBatchCode=${e}&channelCode=${vr}&membercode=${br}`:(this.secGoodList=[],t=`${S}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${br}&channelCode=${vr}`);const{list:i}=await za(t);o({list:i})}else{let i={pbCode:"0007",page:1,rows:200,dataStateStr:"1,4",couponBatchCode:e};e||(this.secGoodList=[],i.dataStateStr="1,4",i.orderStr="PROMOTION_ENDTIME asc"),console.log(i,"params秒杀"),t.http.post(S,i).then(t=>{o(t)})}}if(1===this.props.activityType){let e="";if(console.log(this.props?.activityList,"选择活动------团购"),"all"==this.props?.activityList?e=null:this.props?.activityList?.length&&(e=this.props?.activityList.join(",")),x){let t="";e?t=`${S}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&promotionCode=${e}&channelCode=${vr}&membercode=${br}`:(this.secGoodList=[],t=`${S}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${br}&channelCode=${vr}`);const{rows:i}=await za(t);o({rows:i},!0)}else{let o={pbCode:"0008",dataStateStr:"1,4",page:1,rows:200,promotionCode:e};e||(this.secGoodList=[],o.dataStateStr="1,4",o.orderStr="PROMOTION_ENDTIME asc"),console.log(o,"params团购"),t.http.post(S,o).then(async t=>{if(t&&t.rows)if(1===this.page&&0===t.rows.length)this.seckillGoodsList=[];else{const e=t.rows.map(t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,o=(t.promotionEndtime-Date.parse(new Date))/1e3;return t.gmtCreate=e>0?e:0,t.gmtModified=o>0?o:0,0==t.promotionState&&this.$set(t,"PeopleNum",t.couponOnceNump),t}).filter(t=>0==t.promotionState);this.secGoodList=e}})}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(t,e){let o;0===this.props.activityType&&(o=26),1===this.props.activityType&&(o=24),this.$emit("gosecGoodsDetail",t.skuNo,e.gmtModified,e.promotionCode,e.promotionFrequency,e.inventory,o)}}};const xr={key:0},wr={class:"secKill--tit"},kr={class:"title"},Cr={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"}},Sr={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"},jr={class:"img"},Nr=["src"],Ir={key:1},Tr=["onClick"],Dr={class:"soneLeft"},zr=["src"],Lr={class:"soneRight"},Pr={class:"soneRightA"},Or={key:0,class:"soneRightB"},_r={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Fr={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Rr={class:"soneRightC"},Gr={class:"priceC"},$r={style:{color:"#ff9745"}},Er={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},Kr={class:"dataStateButton"},Mr=["onClick"],Ur=["src"],Vr={class:"secKill-goodsName text-common"},Wr={class:"price"},Hr={style:{display:"flex"}},qr={class:"now-price-common"},Yr={style:{color:"#f53a50"}},Xr={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},Qr={class:"dataStateButton"},Zr=["onClick"],Jr=["src"],ts={class:"secKill-goodsName text-common"},es={class:"price"},os={style:{display:"flex"}},is={class:"now-price-common"},as={style:{color:"#f53a50"}},rs={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},ss={class:"dataStateButton"};Wo(".secKill[data-v-276309a0]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0}.secKill .soon[data-v-276309a0]{background:linear-gradient(90deg,#ff9d0d,#eb2b27);border-radius:12px;color:#fff;font-family:PingFangSC-Medium,PingFang SC;font-size:12px;font-weight:500;height:24px;line-height:24px;text-align:center;width:64px}.secKill .secKill--tit[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill .secKill--tit .title[data-v-276309a0]{align-items:center;display:flex}.secKill .secKill--tit .title .changeOnce[data-v-276309a0]{color:#439fff;font-size:10px;margin-left:6px}.secKill .secKill--tit .more[data-v-276309a0]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill .secKill--tit .more .img[data-v-276309a0]{height:9px;margin-left:3px;width:5.5px}.secKill .secKill-all[data-v-276309a0]{display:flex}.secKill .secKill-all .secKill--center[data-v-276309a0]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill .secKill-all .secKill--center .secKill-goodsName[data-v-276309a0]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;height:34px;line-height:17px;overflow:hidden;text-overflow:ellipsis}.secKill .secKill-all .secKill--center .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill .secKill-all .secKill--center .dataStateButton span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill .secKill--bottom[data-v-276309a0]{display:flex}.secKill .secKill--bottom .left[data-v-276309a0]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill .secKill--bottom .left .bigimgs[data-v-276309a0]{height:100px;margin:0 auto;width:100px}.secKill .secKill--bottom .left .goodsName[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;height:37.5px;margin-bottom:8px;margin-top:7.5px;overflow:hidden;width:153px}.secKill .secKill--bottom .left .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.secKill .secKill--bottom .left[data-v-276309a0]:nth-child(2){border:none}.secKill .secKill--bottom .right[data-v-276309a0]{height:255px;padding-left:7.5px;width:164px}.secKill .secKill--bottom .right .bigimg[data-v-276309a0]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill .secKill--bottom .right .goodsName[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;margin-bottom:10px;overflow:hidden;width:153px}.secKill .secKill--bottom .right .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-276309a0]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-276309a0]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-276309a0]{width:112px}}.bigimg3[data-v-276309a0]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-276309a0]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-276309a0]{width:110px}}.goodsDetail2[data-v-276309a0]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-276309a0]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-276309a0]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-276309a0]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-276309a0]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-276309a0]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-276309a0]{width:162px}}.bigimg2[data-v-276309a0]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-276309a0]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-276309a0]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-276309a0]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-276309a0]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-276309a0]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-276309a0]{height:160px;width:160px}}.overflowX[data-v-276309a0]{overflow:hidden;overflow-x:scroll}.fel[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0]{display:flex;padding:8px}.secKill-One .soneLeft[data-v-276309a0]{height:110px;margin-right:8px;width:110px}.secKill-One .soneLeft img[data-v-276309a0]{border-radius:6px;height:110px;width:110px}.secKill-One .soneRight[data-v-276309a0]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One .soneRight .soneRightA[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#394259;display:-webkit-box;font-family:PingFangSC,PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:21px;overflow:hidden;text-align:left;text-overflow:ellipsis}.secKill-One .soneRight .soneRightB[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightB .uline[data-v-276309a0]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One .soneRight .soneRightC[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightC .priceC[data-v-276309a0]{font-family:DINAlternate;font-size:18px;font-style:normal;font-weight:700;line-height:29px;text-align:left}.secKill-One .soneRight .soneRightC .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill-One .soneRight .soneRightC .dataStateButton span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),yr.render=function(t,e,o,i,u,m){const v=h("uContDown"),y=h("u-count-down"),x=h("uLineProgress");return a(),r("div",null,[0!==m.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",wr,[d("div",kr,[0===o.props.activityType?(a(),r("img",Cr)):p("",!0),1===o.props.activityType?(a(),r("img",Sr)):p("",!0),d("div",Ar,n(o.props.title),1),u.lowCode?(a(),r(l,{key:2},[0===o.props.countDown?(a(),b(v,{key:0,timestamp:m.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64)):(a(),r(l,{key:3},[0===o.props.countDown?(a(),b(y,{key:0,timestamp:m.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:e[0]||(e[0]=(...t)=>m.goSecList&&m.goSecList(...t))},n(o.props.subTitle),1),d("div",jr,[d("img",{"lazy-load":!0,src:Wi,mode:"",style:{width:"100%",height:"100%"},onClick:e[1]||(e[1]=(...t)=>m.goSecList&&m.goSecList(...t))})])])]),o.props.activityImg?(a(),r("img",{key:0,onClick:e[2]||(e[2]=(...t)=>m.goSecList&&m.goSecList(...t)),"lazy-load":!0,src:o.props.activityImg,style:{width:"100%","margin-bottom":"10px"},mode:""},null,8,Nr)):p("",!0),1===m.activityCss(u.secGoodList)?(a(),r("div",Ir,[(a(!0),r(l,null,c(u.secGoodList,(t,e)=>(a(),r("div",{key:e},[(a(!0),r(l,null,c(t.rsSkuReDomainList,(e,i)=>(a(),r("div",{class:"secKill-One",key:i,onClick:o=>m.gosecGoodsDetail(e,t)},[d("div",Dr,[d("img",{"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,8,zr)]),d("div",Lr,[d("div",Pr,n(e.goodsName),1),0===o.props.activityType?(a(),r("div",Or,[f(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:m.diffFn(e),height:"10","show-percent":!1},null,8,["percent"]),u.lowCode?(a(),r("div",_r,"剩"+n(e.goodsSupplynum||0)+"件",1)):(a(),r("div",Fr,"剩"+n(e.goodsSupplynum||0)+"件",1))])):p("",!0),d("div",Rr,[d("div",Gr,[d("span",$r,n("¥"+e.pricesetNprice),1),1===o.props.linePriceFlag?(a(),r("span",Er,n(e.pricesetMakeprice),1)):p("",!0)]),d("div",Kr,[d("span",{style:s({backgroundColor:m.btnDataStateColor(m.btnDataState(t,e))})},n(m.btnDataState(t,e)),5)])])])],8,Tr))),128))]))),128))])):p("",!0),2===m.activityCss(u.secGoodList)?(a(),r("div",{key:2,class:g(["secKill-all",{fel:!0}])},[(a(!0),r(l,null,c(u.secGoodList,(t,e)=>(a(),r("div",{class:"secKill--center",key:e},[(a(!0),r(l,null,c(t.rsSkuReDomainList,(e,i)=>(a(),r("div",{class:g({goodsDetail3:3===m.activityCss(u.secGoodList),goodsDetail2:2===m.activityCss(u.secGoodList)}),key:i,onClick:o=>m.gosecGoodsDetail(e,t)},[d("img",{class:g({bigimg3:3===m.activityCss(u.secGoodList),bigimg2:2===m.activityCss(u.secGoodList)}),"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,10,Ur),d("div",Vr,n(e.goodsName),1),d("div",Wr,[d("div",Hr,[d("div",qr,[d("span",Yr,n("¥"+e.pricesetNprice),1),1===o.props.linePriceFlag?(a(),r("span",Xr,n(e.pricesetMakeprice),1)):p("",!0)])])]),d("div",Qr,[d("span",{style:s({backgroundColor:m.btnDataStateColor(m.btnDataState(t,e))})},n(m.btnDataState(t,e)),5)])],10,Mr))),128))]))),128))])):p("",!0),3===m.activityCss(u.secGoodList)?(a(),r("div",{key:3,class:g(["secKill-all",{overflowX:!0}])},[(a(!0),r(l,null,c(u.secGoodList,(t,e)=>(a(),r("div",{class:"secKill--center",key:e},[(a(!0),r(l,null,c(t.rsSkuReDomainList,(e,i)=>(a(),r("div",{class:g({goodsDetail3:3===m.activityCss(u.secGoodList),goodsDetail2:2===m.activityCss(u.secGoodList)}),key:i,onClick:o=>m.gosecGoodsDetail(e,t)},[d("img",{class:g({bigimg3:3===m.activityCss(u.secGoodList),bigimg2:2===m.activityCss(u.secGoodList)}),"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,10,Jr),d("div",ts,n(e.goodsName),1),d("div",es,[d("div",os,[d("div",is,[d("span",as,n("¥"+e.pricesetNprice),1),1===o.props.linePriceFlag?(a(),r("span",rs,n(e.pricesetMakeprice),1)):p("",!0)])])]),d("div",ss,[d("span",{style:s({backgroundColor:m.btnDataStateColor(m.btnDataState(t,e))})},n(m.btnDataState(t,e)),5)])],10,Zr))),128))]))),128))])):p("",!0)],4)):(a(),r("div",xr))])},yr.__scopeId="data-v-276309a0";var ns={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 ls=["src","poster","autoplay"];Wo("video[data-v-1141a1a5]{width:100%!important}"),ns.render=function(t,e,o,i,n,l){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,ls)])},ns.__scopeId="data-v-1141a1a5";var cs={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:x,checkClassIndex:-1,targetId:"",scrollTop:0}},mounted(){this.domainNameUrl=j(this),this.classDomainList=JSON.parse(JSON.stringify(this.props.classDomainList)),this.initgoods()},computed:{},methods:{initgoods(){let t=this;return x?this.LcGetGoodsList(t):this.getGoodsList(t)},async LcGetGoodsList(t){let e=t.classDomainList;for(let t of e){if(1==t.changeGoodsType){const e=`${A}?vendibilityFlag=true&childFlag=true&bizType=goods&hjFlag=true&area=北京朝阳区八里庄街道&page=1&rows=20&searchType=match_phrase&goodsType=00,40,41,60,61,62,32&classtreeCode=${t.classtreeCode}&channelCode=${vr}`,o=await za(e);t.goodsList=o.list}if(2==t.changeGoodsType){const e=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",o=`${C}?rows=200&page=1&goodsCode=${t.changeGoodsStr.replace("arsenalGoodsClass,","")}&channelCode=${e}`,i=await za(o);t.goodsList=i.list}}t.classDomainList=e},async getGoodsList(t){for(let e of t.classDomainList){let o={vendibilityFlag:!0,childFlag:!0,bizType:"goods",hjFlag:!0,area:t.$storage.get("addressValue")?t.$storage.get("addressValue"):"北京朝阳区八里庄街道",page:1,rows:20,searchType:"match_phrase",goodsType:"00,40,41,60,61,62,32",classtreeCode:e.classtreeCode};if(1==e.changeGoodsType){const i=await t.http.get(`${A}`,o);t.$set(e,"goodsList",i.list)}let i={goodsCode:e.changeGoodsStr.replace("arsenalGoodsClass,","")};if(2==e.changeGoodsType){const o=await N(t,i);t.$set(e,"goodsList",o.list)}}},checkClass(t){this.checkClassIndex=t,this.targetId=`item-${t}`},addShoppingShow(t){x||this.$emit("addShoppingShow",t)},getMaskState:t=>"1"===t?"预售中":"补货中",getTextStyle:t=>({color:t.titleColor||"#000000",fontSize:t.titleFontSize||"16px"}),goGoodsDetail(t){if(x)return;const{skuCode:e}=t;let o={skuNo:e};this.$routers.push("detail",o)},handleScroll(t){this.scrollTop=t.detail.scrollTop}}};const ds=["onClick"],ps=["src"],gs=["src"],us={class:"classContent"},hs=["id"],fs=["src"],ms=["src"],bs=["src"],vs={class:"text-overlay"},ys=["src"],xs=["onClick"],ws={class:"imgWrapper"},ks={class:"maskState"},Cs=["src"],Ss={class:"goodsDescription"},As={class:"goodsPrice"},Bs={key:0,class:"scribing"},js={class:"goodsBuy"},Ns=["onClick"];Wo(".headerImg[data-v-2f7e67b4]{width:100%}.classTitle[data-v-2f7e67b4]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle .classTitleItem[data-v-2f7e67b4]{margin-right:10px}.classTitle .classTitleItem .classSpan[data-v-2f7e67b4]{border-radius:20px;padding:4px 12px}.classContent .classContentItem .classContentSpan[data-v-2f7e67b4]{display:flex;justify-content:center;padding:30px 0}.classContent .classContentItem .classContentImg[data-v-2f7e67b4]{width:100%}.classContent .classContentItem .classContentImgBox[data-v-2f7e67b4]{position:relative;width:100%}.classContent .classContentItem .classContentImgBox .classContentImg[data-v-2f7e67b4]{display:block;height:auto;width:100%}.classContent .classContentItem .classContentImgBox .text-overlay[data-v-2f7e67b4]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-2f7e67b4]{display:grid}.cube-container.arrange-4[data-v-2f7e67b4]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container.arrange-4 .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:30%;width:30%}.cube-container.arrange-4 .cube-item .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container.arrange-4 .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container.arrange-3[data-v-2f7e67b4]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:32%;width:32%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container.arrange-3 .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container.arrange-2[data-v-2f7e67b4]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item[data-v-2f7e67b4]{margin:0 5px}.cube-container.arrange-2 .cube-item .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-2f7e67b4]{position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:16px;height:42px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-2f7e67b4]{font-size:12px;height:42px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2f7e67b4]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container.arrange-1 .cube-item[data-v-2f7e67b4]{display:flex;height:100px;justify-content:space-around}.cube-container.arrange-1 .cube-item .imgWrapper .goodsImg[data-v-2f7e67b4]{height:100px;width:100px}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-2f7e67b4]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{font-size:16px;height:auto}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2f7e67b4]{font-size:16px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper[data-v-2f7e67b4]{position:relative}.cube-container.arrange-1 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-2f7e67b4]{position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-2f7e67b4]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-2f7e67b4]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-container .cube-item .imgMarked .maskState[data-v-2f7e67b4]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-2f7e67b4]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-2f7e67b4]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-2f7e67b4]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-2f7e67b4]{color:#f53a50;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-2f7e67b4]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),cs.render=function(t,e,o,i,b,v){const x=h("scroll-view");return a(),r("div",null,[d("div",null,[b.scrollTop>20||b.isLc?(a(),r("div",{key:0,class:"classTitle",style:s({backgroundColor:o.props.bgColor})},[(a(!0),r(l,null,c(b.classDomainList,(t,e)=>(a(),r("span",{class:"classTitleItem",key:t.goodsClassId,style:s({height:o.props.navigationHeight+"px",lineHeight:o.props.navigationHeight+"px",fontSize:o.props.navigationFontSize+"px"})},[d("span",{class:"classSpan",onClick:t=>v.checkClass(e),style:s({background:b.checkClassIndex===e?o.props.getBgColor:o.props.bgColor,color:b.checkClassIndex===e?o.props.getfontColor:o.props.fontColor})},n(t.goodsChangeClassName),13,ds)],4))),128))],4)):p("",!0),f(x,{"scroll-y":"true","scroll-with-animation":"true",onScroll:v.handleScroll,"scroll-into-view":b.targetId,style:{height:"100vh"}},{default:m(()=>[o.props.headImg?(a(),r(l,{key:0},[b.isLc?(a(),r("img",{key:0,class:"headerImg",src:o.props.headImg},null,8,ps)):(a(),r("image",{key:1,class:"headerImg",src:o.props.headImg,mode:"widthFix"},null,8,gs))],64)):p("",!0),d("div",us,[(a(!0),r(l,null,c(b.classDomainList,(t,e)=>(a(),r("div",{class:"classContentItem",key:t.goodsClassId,id:"item-"+e},[t.classfooterImg?(a(),r("div",{key:1,class:"classContentImgBox",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[b.isLc?(a(),r("img",{key:0,class:"classContentImg",src:t.classfooterImg},null,8,ms)):(a(),r("image",{key:1,class:"classContentImg",src:t.classfooterImg,mode:"widthFix"},null,8,bs)),d("div",vs,[t.iconFlag?(a(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?b.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,ys)):p("",!0),t.goodsClassNameFlag?(a(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},n(t.goodsChangeClassName),5)):p("",!0)])],4)):(a(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[t.iconFlag?(a(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?b.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,fs)):p("",!0),t.goodsClassNameFlag?(a(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},n(t.goodsChangeClassName),5)):p("",!0)],4)),d("div",{class:g(["cube-container",`arrange-${t.showTitle}`,{isLc:b.isLc}]),style:s({backgroundColor:t.goodsBgColor})},[(a(!0),r(l,null,c(t.goodsList,(e,o)=>(a(),r("div",{class:"cube-item",style:s({marginTop:`${t.goodsMt}px`,marginBottom:`${t.goodsBt}px`}),key:e.skuCode,onClick:t=>v.goGoodsDetail(e)},[d("div",ws,[!1===b.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(a(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${t.borderRaduils}px`})},[d("div",ks,n(v.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),d("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?b.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${t.borderRaduils}px`})},null,12,Cs)]),d("div",Ss,[!0===b.isLc&&2===t.showTitle?(a(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},n(e.goodsName),5)):(a(),r("div",{key:1,class:"goodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},n(e.goodsName),5)),d("section",{class:"footerContent",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},[d("div",As,[u(" ¥"+n(e.pricesetNprice)+" ",1),1===t.underLineFlag?(a(),r("div",Bs,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),d("div",js,[d("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:y(t=>v.addShoppingShow(e),["stop"]),style:{height:"25px",width:"25px"}},null,8,Ns)])],4)])],12,xs))),128))],6)],8,hs))),128))])]),_:1},8,["onScroll","scroll-into-view"])])])},cs.__scopeId="data-v-2f7e67b4";export{yr as ArsenalActivity,Ri as ArsenalCarousel,cs as ArsenalClass,Di as ArsenalNavigation,ji as ArsenalPicture,ga as ArsenalTop,Vi as Collocation,Uo as Cube,Xo as Goods,ui as GoodsOne,La as Live,nr as Notice,Ho as Search,li as Slider,Mo as Title,ns as Video};
|
|
1
|
+
import{isEmpty as t,isEqual as e,isUndefined as a,get as o}from"lodash-es";import{openBlock as i,createElementBlock as r,normalizeStyle as s,toDisplayString as n,Fragment as c,renderList as d,createElementVNode as l,createCommentVNode as p,normalizeClass as g,createTextVNode as f,pushScopeId as u,popScopeId as v,resolveComponent as h,createVNode as m,withCtx as b,createBlock as y,renderSlot as x,withModifiers as w}from"vue";const k="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,C=t=>{let e={};for(let a in t)e[a]=S(t[a]);return e},S=t=>k?t+"px":2*t+"rpx",A="web/rs/resourceGoods/queryResGoodsArFromPtFd.json",B="/web/pm/promotionplat/queryPromotionPageForC.json",N="/web/es/searchengine/find.json",D="/web/inf/infuencer/queryInfuencerAndChild.json",j=t=>{const{mGoodsInfo:e}=L[t];return e},I=(t,e,a)=>{L[t]={mGoodsInfo:a,mGoods:e}},T=t=>{const{goods:a,id:o}=t.props,{mGoods:i}=L[o]||{};return e(a,i)},z=t=>k?process.env.REACT_APP_BASE_URL:t.$imgDomain;const P=function(){const e=async(e,a)=>{const{id:o,goods:i}=e.props;if(t(i))return Promise.resolve({list:[]});if(T(e))return Promise.resolve(j(o));const r=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",s=localStorage.getItem("saas-token");return await fetch(z()+A+"?rows=200&page=1&goodsCode="+a.goodsCode+"&channelCode="+r,{method:"GET",headers:{"saas-token":s,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>(I(o,i,t),t)))};return k?e:async(t,e)=>{const{list:a}=await t.http.get("web/es/searchengine/find.json?rows=200&page=1",e),o=e.goodsCode.split(",");let i=[];return o.forEach((t=>{a.forEach((e=>{e.goodsCode===t&&i.push(e)}))})),console.log("findList",i),{list:i}}}(),L={};var O=Array.isArray,_="object"==typeof global&&global&&global.Object===Object&&global,F="object"==typeof self&&self&&self.Object===Object&&self,R=_||F||Function("return this")(),G=R.Symbol,$=Object.prototype,M=$.hasOwnProperty,U=$.toString,E=G?G.toStringTag:void 0;var K=Object.prototype.toString;var W="[object Null]",V="[object Undefined]",H=G?G.toStringTag:void 0;function Q(t){return null==t?void 0===t?V:W:H&&H in Object(t)?function(t){var e=M.call(t,E),a=t[E];try{t[E]=void 0;var o=!0}catch(t){}var i=U.call(t);return o&&(e?t[E]=a:delete t[E]),i}(t):function(t){return K.call(t)}(t)}function Y(t){return null!=t&&"object"==typeof t}var q="[object Symbol]";function X(t){return"symbol"==typeof t||Y(t)&&Q(t)==q}var J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/;function tt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var et="[object AsyncFunction]",at="[object Function]",ot="[object GeneratorFunction]",it="[object Proxy]";function rt(t){if(!tt(t))return!1;var e=Q(t);return e==at||e==ot||e==et||e==it}var st,nt=R["__core-js_shared__"],ct=(st=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||""))?"Symbol(src)_1."+st:"";var dt=Function.prototype.toString;function lt(t){if(null!=t){try{return dt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var pt=/^\[object .+?Constructor\]$/,gt=Function.prototype,ft=Object.prototype,ut=gt.toString,vt=ft.hasOwnProperty,ht=RegExp("^"+ut.call(vt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function mt(t){return!(!tt(t)||(e=t,ct&&ct in e))&&(rt(t)?ht:pt).test(lt(t));var e}function bt(t,e){var a=function(t,e){return null==t?void 0:t[e]}(t,e);return mt(a)?a:void 0}var yt=bt(Object,"create");var xt="__lodash_hash_undefined__",wt=Object.prototype.hasOwnProperty;var kt=Object.prototype.hasOwnProperty;var Ct="__lodash_hash_undefined__";function St(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}function At(t,e){return t===e||t!=t&&e!=e}function Bt(t,e){for(var a=t.length;a--;)if(At(t[a][0],e))return a;return-1}St.prototype.clear=function(){this.__data__=yt?yt(null):{},this.size=0},St.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},St.prototype.get=function(t){var e=this.__data__;if(yt){var a=e[t];return a===xt?void 0:a}return wt.call(e,t)?e[t]:void 0},St.prototype.has=function(t){var e=this.__data__;return yt?void 0!==e[t]:kt.call(e,t)},St.prototype.set=function(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=yt&&void 0===e?Ct:e,this};var Nt=Array.prototype.splice;function Dt(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}Dt.prototype.clear=function(){this.__data__=[],this.size=0},Dt.prototype.delete=function(t){var e=this.__data__,a=Bt(e,t);return!(a<0)&&(a==e.length-1?e.pop():Nt.call(e,a,1),--this.size,!0)},Dt.prototype.get=function(t){var e=this.__data__,a=Bt(e,t);return a<0?void 0:e[a][1]},Dt.prototype.has=function(t){return Bt(this.__data__,t)>-1},Dt.prototype.set=function(t,e){var a=this.__data__,o=Bt(a,t);return o<0?(++this.size,a.push([t,e])):a[o][1]=e,this};var jt=bt(R,"Map");function It(t,e){var a,o,i=t.__data__;return("string"==(o=typeof(a=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==a:null===a)?i["string"==typeof e?"string":"hash"]:i.map}function Tt(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var o=t[e];this.set(o[0],o[1])}}Tt.prototype.clear=function(){this.size=0,this.__data__={hash:new St,map:new(jt||Dt),string:new St}},Tt.prototype.delete=function(t){var e=It(this,t).delete(t);return this.size-=e?1:0,e},Tt.prototype.get=function(t){return It(this,t).get(t)},Tt.prototype.has=function(t){return It(this,t).has(t)},Tt.prototype.set=function(t,e){var a=It(this,t),o=a.size;return a.set(t,e),this.size+=a.size==o?0:1,this};var zt="Expected a function";function Pt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(zt);var a=function(){var o=arguments,i=e?e.apply(this,o):o[0],r=a.cache;if(r.has(i))return r.get(i);var s=t.apply(this,o);return a.cache=r.set(i,s)||r,s};return a.cache=new(Pt.Cache||Tt),a}Pt.Cache=Tt;var Lt=500;var Ot,_t,Ft,Rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/\\(\\)?/g,$t=(Ot=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Rt,(function(t,a,o,i){e.push(o?i.replace(Gt,"$1"):a||t)})),e},_t=Pt(Ot,(function(t){return Ft.size===Lt&&Ft.clear(),t})),Ft=_t.cache,_t),Mt=$t;function Ut(t,e){for(var a=-1,o=null==t?0:t.length,i=Array(o);++a<o;)i[a]=e(t[a],a,t);return i}var Et=1/0,Kt=G?G.prototype:void 0,Wt=Kt?Kt.toString:void 0;function Vt(t){if("string"==typeof t)return t;if(O(t))return Ut(t,Vt)+"";if(X(t))return Wt?Wt.call(t):"";var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function Ht(t,e){return O(t)?t:function(t,e){if(O(t))return!1;var a=typeof t;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=t&&!X(t))||Z.test(t)||!J.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Mt(function(t){return null==t?"":Vt(t)}(t))}var Qt=1/0;function Yt(t){if("string"==typeof t||X(t))return t;var e=t+"";return"0"==e&&1/t==-Qt?"-0":e}function qt(t,e){for(var a=0,o=(e=Ht(e,t)).length;null!=t&&a<o;)t=t[Yt(e[a++])];return a&&a==o?t:void 0}var Xt=function(){try{var t=bt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Jt=Xt;function Zt(t,e,a){"__proto__"==e&&Jt?Jt(t,e,{configurable:!0,enumerable:!0,value:a,writable:!0}):t[e]=a}var te=Object.prototype.hasOwnProperty;function ee(t,e,a){var o=t[e];te.call(t,e)&&At(o,a)&&(void 0!==a||e in t)||Zt(t,e,a)}var ae=9007199254740991,oe=/^(?:0|[1-9]\d*)$/;function ie(t,e){var a=typeof t;return!!(e=null==e?ae:e)&&("number"==a||"symbol"!=a&&oe.test(t))&&t>-1&&t%1==0&&t<e}function re(t,e,a,o){if(!tt(t))return t;for(var i=-1,r=(e=Ht(e,t)).length,s=r-1,n=t;null!=n&&++i<r;){var c=Yt(e[i]),d=a;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=s){var l=n[c];void 0===(d=o?o(l,c,n):void 0)&&(d=tt(l)?l:ie(e[i+1])?[]:{})}ee(n,c,d),n=n[c]}return t}function se(t,e){return null!=t&&e in Object(t)}var ne="[object Arguments]";function ce(t){return Y(t)&&Q(t)==ne}var de=Object.prototype,le=de.hasOwnProperty,pe=de.propertyIsEnumerable,ge=ce(function(){return arguments}())?ce:function(t){return Y(t)&&le.call(t,"callee")&&!pe.call(t,"callee")},fe=9007199254740991;function ue(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=fe}function ve(t,e){return null!=t&&function(t,e,a){for(var o=-1,i=(e=Ht(e,t)).length,r=!1;++o<i;){var s=Yt(e[o]);if(!(r=null!=t&&a(t,s)))break;t=t[s]}return r||++o!=i?r:!!(i=null==t?0:t.length)&&ue(i)&&ie(s,i)&&(O(t)||ge(t))}(t,e,se)}function he(t,e){return function(t,e,a){for(var o=-1,i=e.length,r={};++o<i;){var s=e[o],n=qt(t,s);a(n,s)&&re(r,Ht(s,t),n)}return r}(t,e,(function(e,a){return ve(t,a)}))}function me(t,e){for(var a=-1,o=e.length,i=t.length;++a<o;)t[i+a]=e[a];return t}var be=G?G.isConcatSpreadable:void 0;function ye(t){return O(t)||ge(t)||!!(be&&t&&t[be])}function xe(t,e,a,o,i){var r=-1,s=t.length;for(a||(a=ye),i||(i=[]);++r<s;){var n=t[r];e>0&&a(n)?e>1?xe(n,e-1,a,o,i):me(i,n):o||(i[i.length]=n)}return i}function we(t){return(null==t?0:t.length)?xe(t,1):[]}var ke=Math.max;var Ce=Jt?function(t,e){return Jt(t,"toString",{configurable:!0,enumerable:!1,value:(a=e,function(){return a}),writable:!0});var a}:function(t){return t},Se=Ce,Ae=800,Be=16,Ne=Date.now;var De=function(t){var e=0,a=0;return function(){var o=Ne(),i=Be-(o-a);if(a=o,i>0){if(++e>=Ae)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Se),je=De;function Ie(t){return je(function(t,e,a){return e=ke(void 0===e?t.length-1:e,0),function(){for(var o=arguments,i=-1,r=ke(o.length-e,0),s=Array(r);++i<r;)s[i]=o[e+i];i=-1;for(var n=Array(e+1);++i<e;)n[i]=o[i];return n[e]=a(s),function(t,e,a){switch(a.length){case 0:return t.call(e);case 1:return t.call(e,a[0]);case 2:return t.call(e,a[0],a[1]);case 3:return t.call(e,a[0],a[1],a[2])}return t.apply(e,a)}(t,this,n)}}(t,void 0,we),t+"")}var Te=Ie((function(t,e){return null==t?{}:he(t,e)}));var ze=200;function Pe(t){var e=this.__data__=new Dt(t);this.size=e.size}function Le(t,e,a,o){var i=!a;a||(a={});for(var r=-1,s=e.length;++r<s;){var n=e[r],c=o?o(a[n],t[n],n,a,t):void 0;void 0===c&&(c=t[n]),i?Zt(a,n,c):ee(a,n,c)}return a}Pe.prototype.clear=function(){this.__data__=new Dt,this.size=0},Pe.prototype.delete=function(t){var e=this.__data__,a=e.delete(t);return this.size=e.size,a},Pe.prototype.get=function(t){return this.__data__.get(t)},Pe.prototype.has=function(t){return this.__data__.has(t)},Pe.prototype.set=function(t,e){var a=this.__data__;if(a instanceof Dt){var o=a.__data__;if(!jt||o.length<ze-1)return o.push([t,e]),this.size=++a.size,this;a=this.__data__=new Tt(o)}return a.set(t,e),this.size=a.size,this};var Oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,_e=Oe&&"object"==typeof module&&module&&!module.nodeType&&module,Fe=_e&&_e.exports===Oe?R.Buffer:void 0,Re=(Fe?Fe.isBuffer:void 0)||function(){return!1},Ge={};function $e(t){return function(e){return t(e)}}Ge["[object Float32Array]"]=Ge["[object Float64Array]"]=Ge["[object Int8Array]"]=Ge["[object Int16Array]"]=Ge["[object Int32Array]"]=Ge["[object Uint8Array]"]=Ge["[object Uint8ClampedArray]"]=Ge["[object Uint16Array]"]=Ge["[object Uint32Array]"]=!0,Ge["[object Arguments]"]=Ge["[object Array]"]=Ge["[object ArrayBuffer]"]=Ge["[object Boolean]"]=Ge["[object DataView]"]=Ge["[object Date]"]=Ge["[object Error]"]=Ge["[object Function]"]=Ge["[object Map]"]=Ge["[object Number]"]=Ge["[object Object]"]=Ge["[object RegExp]"]=Ge["[object Set]"]=Ge["[object String]"]=Ge["[object WeakMap]"]=!1;var Me="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ue=Me&&"object"==typeof module&&module&&!module.nodeType&&module,Ee=Ue&&Ue.exports===Me&&_.process,Ke=function(){try{var t=Ue&&Ue.require&&Ue.require("util").types;return t||Ee&&Ee.binding&&Ee.binding("util")}catch(t){}}(),We=Ke&&Ke.isTypedArray,Ve=We?$e(We):function(t){return Y(t)&&ue(t.length)&&!!Ge[Q(t)]},He=Object.prototype.hasOwnProperty;function Qe(t,e){var a=O(t),o=!a&&ge(t),i=!a&&!o&&Re(t),r=!a&&!o&&!i&&Ve(t),s=a||o||i||r,n=s?function(t,e){for(var a=-1,o=Array(t);++a<t;)o[a]=e(a);return o}(t.length,String):[],c=n.length;for(var d in t)!e&&!He.call(t,d)||s&&("length"==d||i&&("offset"==d||"parent"==d)||r&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||ie(d,c))||n.push(d);return n}var Ye=Object.prototype;function qe(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ye)}function Xe(t,e){return function(a){return t(e(a))}}var Je=Xe(Object.keys,Object),Ze=Object.prototype.hasOwnProperty;function ta(t){return null!=t&&ue(t.length)&&!rt(t)}function ea(t){return ta(t)?Qe(t):function(t){if(!qe(t))return Je(t);var e=[];for(var a in Object(t))Ze.call(t,a)&&"constructor"!=a&&e.push(a);return e}(t)}var aa=Object.prototype.hasOwnProperty;function oa(t){if(!tt(t))return function(t){var e=[];if(null!=t)for(var a in Object(t))e.push(a);return e}(t);var e=qe(t),a=[];for(var o in t)("constructor"!=o||!e&&aa.call(t,o))&&a.push(o);return a}function ia(t){return ta(t)?Qe(t,!0):oa(t)}var ra="object"==typeof exports&&exports&&!exports.nodeType&&exports,sa=ra&&"object"==typeof module&&module&&!module.nodeType&&module,na=sa&&sa.exports===ra?R.Buffer:void 0,ca=na?na.allocUnsafe:void 0;function da(){return[]}var la=Object.prototype.propertyIsEnumerable,pa=Object.getOwnPropertySymbols,ga=pa?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var a=-1,o=null==t?0:t.length,i=0,r=[];++a<o;){var s=t[a];e(s,a,t)&&(r[i++]=s)}return r}(pa(t),(function(e){return la.call(t,e)})))}:da,fa=ga;var ua=Xe(Object.getPrototypeOf,Object),va=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)me(e,fa(t)),t=ua(t);return e}:da,ha=va;function ma(t,e,a){var o=e(t);return O(t)?o:me(o,a(t))}function ba(t){return ma(t,ea,fa)}function ya(t){return ma(t,ia,ha)}var xa=bt(R,"DataView"),wa=bt(R,"Promise"),ka=bt(R,"Set"),Ca=bt(R,"WeakMap"),Sa="[object Map]",Aa="[object Promise]",Ba="[object Set]",Na="[object WeakMap]",Da="[object DataView]",ja=lt(xa),Ia=lt(jt),Ta=lt(wa),za=lt(ka),Pa=lt(Ca),La=Q;(xa&&La(new xa(new ArrayBuffer(1)))!=Da||jt&&La(new jt)!=Sa||wa&&La(wa.resolve())!=Aa||ka&&La(new ka)!=Ba||Ca&&La(new Ca)!=Na)&&(La=function(t){var e=Q(t),a="[object Object]"==e?t.constructor:void 0,o=a?lt(a):"";if(o)switch(o){case ja:return Da;case Ia:return Sa;case Ta:return Aa;case za:return Ba;case Pa:return Na}return e});var Oa=La,_a=Object.prototype.hasOwnProperty;var Fa=R.Uint8Array;function Ra(t){var e=new t.constructor(t.byteLength);return new Fa(e).set(new Fa(t)),e}var Ga=/\w*$/;var $a=G?G.prototype:void 0,Ma=$a?$a.valueOf:void 0;var Ua="[object Boolean]",Ea="[object Date]",Ka="[object Map]",Wa="[object Number]",Va="[object RegExp]",Ha="[object Set]",Qa="[object String]",Ya="[object Symbol]",qa="[object ArrayBuffer]",Xa="[object DataView]",Ja="[object Float32Array]",Za="[object Float64Array]",to="[object Int8Array]",eo="[object Int16Array]",ao="[object Int32Array]",oo="[object Uint8Array]",io="[object Uint8ClampedArray]",ro="[object Uint16Array]",so="[object Uint32Array]";function no(t,e,a){var o,i=t.constructor;switch(e){case qa:return Ra(t);case Ua:case Ea:return new i(+t);case Xa:return function(t,e){var a=e?Ra(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.byteLength)}(t,a);case Ja:case Za:case to:case eo:case ao:case oo:case io:case ro:case so:return function(t,e){var a=e?Ra(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.length)}(t,a);case Ka:return new i;case Wa:case Qa:return new i(t);case Va:return function(t){var e=new t.constructor(t.source,Ga.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Ha:return new i;case Ya:return o=t,Ma?Object(Ma.call(o)):{}}}var co=Object.create,lo=function(){function t(){}return function(e){if(!tt(e))return{};if(co)return co(e);t.prototype=e;var a=new t;return t.prototype=void 0,a}}(),po=lo;var go="[object Map]";var fo=Ke&&Ke.isMap,uo=fo?$e(fo):function(t){return Y(t)&&Oa(t)==go},vo="[object Set]";var ho=Ke&&Ke.isSet,mo=ho?$e(ho):function(t){return Y(t)&&Oa(t)==vo},bo=1,yo=2,xo=4,wo="[object Arguments]",ko="[object Function]",Co="[object GeneratorFunction]",So="[object Object]",Ao={};function Bo(t,e,a,o,i,r){var s,n=e&bo,c=e&yo,d=e&xo;if(a&&(s=i?a(t,o,i,r):a(t)),void 0!==s)return s;if(!tt(t))return t;var l=O(t);if(l){if(s=function(t){var e=t.length,a=new t.constructor(e);return e&&"string"==typeof t[0]&&_a.call(t,"index")&&(a.index=t.index,a.input=t.input),a}(t),!n)return function(t,e){var a=-1,o=t.length;for(e||(e=Array(o));++a<o;)e[a]=t[a];return e}(t,s)}else{var p=Oa(t),g=p==ko||p==Co;if(Re(t))return function(t,e){if(e)return t.slice();var a=t.length,o=ca?ca(a):new t.constructor(a);return t.copy(o),o}(t,n);if(p==So||p==wo||g&&!i){if(s=c||g?{}:function(t){return"function"!=typeof t.constructor||qe(t)?{}:po(ua(t))}(t),!n)return c?function(t,e){return Le(t,ha(t),e)}(t,function(t,e){return t&&Le(e,ia(e),t)}(s,t)):function(t,e){return Le(t,fa(t),e)}(t,function(t,e){return t&&Le(e,ea(e),t)}(s,t))}else{if(!Ao[p])return i?t:{};s=no(t,p,n)}}r||(r=new Pe);var f=r.get(t);if(f)return f;r.set(t,s),mo(t)?t.forEach((function(o){s.add(Bo(o,e,a,o,t,r))})):uo(t)&&t.forEach((function(o,i){s.set(i,Bo(o,e,a,i,t,r))}));var u=l?void 0:(d?c?ya:ba:c?ia:ea)(t);return function(t,e){for(var a=-1,o=null==t?0:t.length;++a<o&&!1!==e(t[a],a,t););}(u||t,(function(o,i){u&&(o=t[i=o]),ee(s,i,Bo(o,e,a,i,t,r))})),s}function No(t,e){return e.length<2?t:qt(t,function(t,e,a){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(a=a>i?i:a)<0&&(a+=i),i=e>a?0:a-e>>>0,e>>>=0;for(var r=Array(i);++o<i;)r[o]=t[o+e];return r}(e,0,-1))}function Do(t,e){return null==(t=No(t,e=Ht(e,t)))||delete t[Yt((a=e,o=null==a?0:a.length,o?a[o-1]:void 0))];var a,o}Ao[wo]=Ao["[object Array]"]=Ao["[object ArrayBuffer]"]=Ao["[object DataView]"]=Ao["[object Boolean]"]=Ao["[object Date]"]=Ao["[object Float32Array]"]=Ao["[object Float64Array]"]=Ao["[object Int8Array]"]=Ao["[object Int16Array]"]=Ao["[object Int32Array]"]=Ao["[object Map]"]=Ao["[object Number]"]=Ao[So]=Ao["[object RegExp]"]=Ao["[object Set]"]=Ao["[object String]"]=Ao["[object Symbol]"]=Ao["[object Uint8Array]"]=Ao["[object Uint8ClampedArray]"]=Ao["[object Uint16Array]"]=Ao["[object Uint32Array]"]=!0,Ao["[object Error]"]=Ao[ko]=Ao["[object WeakMap]"]=!1;var jo="[object Object]",Io=Function.prototype,To=Object.prototype,zo=Io.toString,Po=To.hasOwnProperty,Lo=zo.call(Object);function Oo(t){return function(t){if(!Y(t)||Q(t)!=jo)return!1;var e=ua(t);if(null===e)return!0;var a=Po.call(e,"constructor")&&e.constructor;return"function"==typeof a&&a instanceof a&&zo.call(a)==Lo}(t)?void 0:t}var _o=Ie((function(t,e){var a={};if(null==t)return a;var o=!1;e=Ut(e,(function(e){return e=Ht(e,t),o||(o=e.length>1),e})),Le(t,ya(t),a),o&&(a=Bo(a,7,Oo));for(var i=e.length;i--;)Do(a,e[i]);return a})),Fo=_o,Ro={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const t=["fontSize","marginTop","marginBottom"],e=Te(this.props||{},t),a=Fo(this.props||{},t);return{...C(e),...a}}}};Ro.render=function(t,e,a,o,c,d){return i(),r("div",{style:s([d.computedStyle])},n(a.props.value),5)};var Go={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=Te(this.props,t),a=Fo(this.props,t);return{...C(e),...a}}}};const $o=["src"];function Mo(t,e){void 0===e&&(e={});var a=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===a&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}Mo(".lc-img-item[data-v-37ef13ec]{box-sizing:border-box;width:100%}"),Go.render=function(t,e,a,o,n,p){return i(),r("div",null,[(i(!0),r(c,null,d(p.resultArr,((e,a)=>(i(),r("div",{key:t.cyy},[l("img",{mode:"widthFix",style:s([p.computedStyle,n.imgStyle]),src:e.imgUrl,alt:""},null,12,$o)])))),128))])},Go.__scopeId="data-v-37ef13ec";var Uo={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const t=["marginTop","marginBottom"],e=Te(this.props,t),a=Fo(this.props,t);return{...C(e),...a,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){k||this.$emit("ToSearch")}}};const Eo={style:{overflow:"hidden"}},Ko=["src"];Uo.render=function(t,e,a,o,c,d){return i(),r("div",Eo,[l("div",{style:s([d.computedStyle]),onClick:e[0]||(e[0]=(...t)=>d.goSearch&&d.goSearch(...t))},[a.props.iconShow?(i(),r("img",{key:0,src:a.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Ko)):p("",!0),l("div",{style:s([{flex:"1"},{color:a.props.fontColor}])},n(a.props.value),5)],4)])};var Wo={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:k}),mounted(){this.init()},methods:{async init(){this.domainNameUrl=z(this);const{goods:t=[]}=this.props,e={goodsCode:t.toString()},a=await P(this,e);this.listArr=o(a,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},getMaskState:t=>"1"===t?"预售中":"补货中"}};const Vo={key:1},Ho=["onClick"],Qo={class:"imgWrapper"},Yo={class:"maskState"},qo=["src"],Xo={class:"goodsDescription"},Jo={key:0,class:"specialGoodsName"},Zo={key:1,class:"goodsName"},ti={class:"footerContent"},ei={class:"goodsPrice"},ai={key:0,class:"scribing"},oi=(t=>(u("data-v-0c10f761"),t=t(),v(),t))((()=>l("div",{class:"goodsBuy"},"立即购买",-1)));Mo(".cube-container[data-v-0c10f761]{display:grid}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:20px}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:18px}.cube-container[data-v-0c10f761].arrange-1[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:14px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761]{margin:0 5px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761]{position:relative}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .specialGoodsName[data-v-0c10f761]{font-size:12px;height:42px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:14px}.cube-container[data-v-0c10f761].arrange-2[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:12px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761]{display:flex;overflow-x:scroll}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsImg[data-v-0c10f761]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:18px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:14px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:20px}.cube-container[data-v-0c10f761].arrange-3[data-v-0c10f761] .cube-item[data-v-0c10f761]:not(:last-child){margin-right:10px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .imgWrapper[data-v-0c10f761] .goodsImg[data-v-0c10f761]{height:100px;width:100px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{font-size:16px;height:auto}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{font-size:16px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{font-size:12px}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsBuyWrapper[data-v-0c10f761]{position:relative}.cube-container[data-v-0c10f761].arrange-4[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsBuyWrapper[data-v-0c10f761] .goodsBuy[data-v-0c10f761]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;position:absolute;right:0;top:0}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .imgWrapper[data-v-0c10f761]{position:relative;text-align:center}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .imgMarked[data-v-0c10f761]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .imgMarked[data-v-0c10f761] .maskState[data-v-0c10f761]{color:#fff;font-size:23px}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsName[data-v-0c10f761]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761]{color:#f53a50;font-weight:600}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .footerContent[data-v-0c10f761] .goodsPrice[data-v-0c10f761] .scribing[data-v-0c10f761]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-0c10f761] .cube-item[data-v-0c10f761] .goodsDescription[data-v-0c10f761] .goodsBuy[data-v-0c10f761]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Wo.render=function(t,e,a,o,u,v){return i(),r("div",null,[u.listArr.length?(i(),r("div",Vo,[l("div",{class:g(["cube-container",`arrange-${a.props.arrange}`,{isLc:u.isLc}]),style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,gap:`${a.props.margin}px`})},[(i(!0),r(c,null,d(u.listArr,((t,e)=>(i(),r("div",{class:"cube-item",key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[l("div",Qo,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${a.props.borderRadius}px`})},[l("div",Yo,n(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:s({borderRadius:`${a.props.borderRadius}px`})},null,12,qo)]),l("div",Xo,[!0===u.isLc&&2===a.props.arrange?(i(),r("div",Jo,n(t.goodsName),1)):(i(),r("div",Zo,n(t.goodsName),1)),l("section",ti,[l("div",ei,[f(" ¥"+n(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",ai,"¥"+n(t.pricesetMakeprice),1)):p("",!0)]),oi])])],8,Ho)))),128))],6)])):(i(),r("div",{key:0,style:s(u.noDataStyle)},"请选择商品",4))])},Wo.__scopeId="data-v-0c10f761";var ii={name:"cyy-slider",data:()=>({lowCode:k}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),r},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=Te(this.props,["marginTop","marginBottom"]);return{...C(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const ri={key:0},si=["src"],ni={key:1},ci=["src"];Mo(".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}"),ii.render=function(t,e,a,o,n,p){const g=h("swiper-item"),f=h("swiper");return i(),r("div",null,[n.lowCode?(i(),r("div",ri,[l("div",{class:"lowCode-warp",style:s([p.sliderStyle])},[l("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,si),l("ul",null,[(i(!0),r(c,null,d(p.resultArr,((e,a)=>(i(),r("li",{key:t.cyy})))),128))])],4)])):(i(),r("div",ni,[m(f,{"indicator-dots":!0,autoplay:a.props.autoplay,interval:a.props.autoplayInterval,vertical:p.reDirection,circular:a.props.loop,style:s({height:p.imgH+"rpx"})},{default:b((()=>[(i(!0),r(c,null,d(p.resultArr,((e,a)=>(i(),y(g,{key:t.cyy,style:s([p.sliderStyle,{boxSizing:"border-box"}])},{default:b((()=>[l("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,ci)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var di={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:t=[]}=this.props;console.log(197);const e=t.toString();console.log(198);const a={goodsCode:e};console.log(199,a);const i=await P(this,a);this.listArr=o(i,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:e,skuNo:a}=t;let o={skuCode:e,skuNo:a};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"补货中"};const li=t=>(u("data-v-326730f6"),t=t(),v(),t),pi={key:1},gi={class:"three-layout"},fi={key:0,class:"top-left"},ui={key:1,class:"top-right"},vi=[li((()=>l("div",null,"更多",-1))),li((()=>l("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],hi={class:"three-layout-content"},mi={class:"three-layout-bigImg"},bi=["src"],yi={class:"three-layout-goods"},xi=["src"],wi={key:0,class:"mask-three-more"},ki={class:"price-box"},Ci={class:"now-price"},Si={key:0,class:"origin-price"};Mo(".three-layout[data-v-326730f6]{border-radius:7px}.three-layout[data-v-326730f6] .mask-three-more[data-v-326730f6]{background-color:#000;color:#fff;display:block;font-size:52px;height:98px;line-height:98px;opacity:.5;position:absolute;text-align:center;top:0;width:98px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-left[data-v-326730f6]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-right[data-v-326730f6]{align-items:center;display:flex}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-right[data-v-326730f6] div[data-v-326730f6]{color:#595959;font-size:12px}.three-layout[data-v-326730f6] .three-layout-title[data-v-326730f6] .top-right[data-v-326730f6] image[data-v-326730f6]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6] .three-layout-bigImg[data-v-326730f6] image[data-v-326730f6]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6] .three-layout-goods[data-v-326730f6]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-326730f6] .three-layout-content[data-v-326730f6] .three-layout-goods[data-v-326730f6] .goods-items[data-v-326730f6]{width:106px}.scroll-list[data-v-326730f6]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-326730f6] .scroll-item[data-v-326730f6]{display:inline-block;margin-right:10px}.scroll-list[data-v-326730f6] .scroll-item[data-v-326730f6] image[data-v-326730f6]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-326730f6] .scroll-item[data-v-326730f6] p[data-v-326730f6]{-webkit-box-orient:vertical;-webkit-line-clamp:1;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;line-height:17px;overflow:hidden;white-space:normal;width:98px}.scroll-top[data-v-326730f6]{margin-top:10px}"),di.render=function(t,e,a,o,g,u){const v=h("vop-label"),y=h("scroll-view");return i(),r("div",null,[a.props.goods?(i(),r("div",pi,[l("div",gi,[l("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>u.jumpToSearch())},[a.props.title.isShow?p("",!0):(i(),r("div",fi,n(a.props.title.title||""),1)),1===a.props.more?(i(),r("div",ui,vi)):p("",!0)]),l("div",hi,[l("div",mi,[l("image",{"lazy-load":!0,src:a.props.bill?a.props.bill:"",mode:"aspectFill"},null,8,bi)]),l("div",yi,[m(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:b((()=>[(i(!0),r(c,null,d(g.listArr,((a,o)=>(i(),r("div",{class:"scroll-item",key:o,onClick:e[1]||(e[1]=e=>t.toDetail())},[l("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+a.dataPic,mode:"aspectFill"},null,8,xi),a.goodsSupplynum<=0||"1"===a.goodsProperty5?(i(),r("div",wi,n(t.maskTitle(a.goodsProperty5)),1)):p("",!0),l("p",null,[m(v,{goodsType:a.contlistPrice1},null,8,["goodsType"]),f(n(a.goodsName),1)]),l("div",ki,[l("div",Ci,"¥"+n(a.pricesetMakeprice||0),1),1==a.contlistConNow?(i(),r("div",Si,"¥"+n(a.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(i(),r("div",{key:0,style:s(g.noDataStyle)},"请选择商品样式一",4))])},di.__scopeId="data-v-326730f6";var Ai={name:"cyy-ArsenalPicture",data:()=>({classOptions:{showA:!1,showB:!1,showC:!1,showD:!1,showE:!1,showF:!1,showG:!1,showH:!1,showI:!1,showJ:!1},imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,spacing:Number,marginTop:Number,marginBottom:Number,selectImg:Array,defaultValue:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{whitchClass(){if(1===this.props.showStyle)return 0!=this.props.spacing?void(this.classOptions.showJ=!0):void(this.classOptions.showI=!0);if(0==this.props.spacing)switch(this.resultArr.length){case 1:this.classOptions.showA=!0;break;case 2:this.classOptions.showB=!0;break;case 3:this.classOptions.showC=!0;break;case 4:this.classOptions.showD=!0}else switch(this.props.selectImg.length){case 1:this.classOptions.showE=!0;break;case 2:this.classOptions.showF=!0;break;case 3:this.classOptions.showG=!0;break;case 4:this.classOptions.showH=!0}},linkClick(t){this.$emit("linkClick",t)}}};const Bi={key:0,class:"holder"},Ni=["src","onClick"],Di=["src","onClick"];Mo(".holder[data-v-38f6475c]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-38f6475c]{display:flex;justify-content:space-between;width:100%}.ArsenalPicture[data-v-38f6475c] .classA-show[data-v-38f6475c]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture[data-v-38f6475c] .classB-show[data-v-38f6475c]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture[data-v-38f6475c] .classC-show[data-v-38f6475c]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture[data-v-38f6475c] .classD-show[data-v-38f6475c]{aspect-ratio:1;width:25%}.ArsenalPicture[data-v-38f6475c] .classE-show[data-v-38f6475c]{height:392px;width:392px}.ArsenalPicture[data-v-38f6475c] .classF-show[data-v-38f6475c]{height:180px;width:180px}.ArsenalPicture[data-v-38f6475c] .classG-show[data-v-38f6475c]{height:120px;width:120px}.ArsenalPicture[data-v-38f6475c] .classH-show[data-v-38f6475c]{height:80px;width:80px}.ArsenalPicture[data-v-38f6475c] .ArsenalImg[data-v-38f6475c]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-38f6475c],.ArsenalPicture-colunm[data-v-38f6475c] .classI-show[data-v-38f6475c]{width:100%}.ArsenalPicture-colunm[data-v-38f6475c] .classJ-show[data-v-38f6475c]{margin-bottom:20px;width:100%}.ArsenalPicture-colunm[data-v-38f6475c] .ArsenalImg[data-v-38f6475c]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-38f6475c] .ArsenalImg-classIJ[data-v-38f6475c]{width:100%}"),Ai.render=function(t,e,a,o,n,l){return i(),r("div",null,[a.props.selectImg.length?(i(),r("div",{key:1,class:g([1===a.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(i(!0),r(c,null,d(l.resultArr,((t,e)=>(i(),r("div",{key:e,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?(i(),r("img",{key:0,class:"ArsenalImg-classIJ",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:a.props.cornerStyle+"px"}),onClick:e=>l.linkClick(t)},null,12,Ni)):(i(),r("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:a.props.cornerStyle+"px"}),onClick:e=>l.linkClick(t)},null,12,Di))],2)))),128))],6)):(i(),r("div",Bi,"请选择添加图片"))])},Ai.__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:e,defaultValue:o}=this.props,i=e.filter((t=>null!==t)).filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?8:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const Ii={key:0,class:"holder"},Ti=(t=>(u("data-v-27ca3374"),t=t(),v(),t))((()=>l("div",null,null,-1))),zi=["onClick"],Pi=["src"],Li={key:1},Oi=["onClick"],_i=["src"];Mo(".holder[data-v-27ca3374]{height:75px;padding:10px 0;width:100%}.holder[data-v-27ca3374] ul[data-v-27ca3374]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder[data-v-27ca3374] ul[data-v-27ca3374] li[data-v-27ca3374]{list-style:none}.holder[data-v-27ca3374] ul[data-v-27ca3374] li[data-v-27ca3374] div[data-v-27ca3374]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder[data-v-27ca3374] ul[data-v-27ca3374] li[data-v-27ca3374] div[data-v-27ca3374] span[data-v-27ca3374]{display:flex;font-size:12px;justify-content:center}.golds[data-v-27ca3374]{border-radius:14px;border-radius:4px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap;justify-content:space-between}.golds[data-v-27ca3374] .golds-item[data-v-27ca3374]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0}.golds[data-v-27ca3374] .golds-item[data-v-27ca3374] div[data-v-27ca3374]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center}.golds[data-v-27ca3374] .navigationNum4[data-v-27ca3374]{width:25%}.golds[data-v-27ca3374] .navigationNum5[data-v-27ca3374]{width:20%}.photoSizeBig[data-v-27ca3374]{height:58px;width:58px}.photoSizeSmall[data-v-27ca3374]{height:48px;width:48px}.classify-list[data-v-27ca3374]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;margin-top:20px;padding:8px 5px .25px}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374] div[data-v-27ca3374]{font-weight:700}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374] img[data-v-27ca3374]{margin:7.5px 0}.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374]:first-child,.classify-list[data-v-27ca3374] .classify-item[data-v-27ca3374]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-27ca3374]{width:48%}.classifyItemSmall[data-v-27ca3374]{width:46%}.classifyImgBig[data-v-27ca3374]{height:90px;width:100%}.classifyImgSmall[data-v-27ca3374]{height:87.75px;width:100%}.classifyFontBig[data-v-27ca3374]{font-size:12px;height:12px}.classifyFontSmall[data-v-27ca3374]{font-size:11px;height:12px}"),ji.render=function(t,e,a,o,f,u){return i(),r("div",null,[u.resultArr.length?(i(),r(c,{key:1},[0===a.props.showStyle?(i(),r("div",{key:0,class:"golds",style:s({backgroundColor:a.props.backgroundColor,marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(i(!0),r(c,null,d(u.resultArr,((t,e)=>(i(),r("div",{class:g(["golds-item",[5===a.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:e,onClick:e=>u.linkClick(t)},[l("img",{class:g([1===a.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:s({borderRadius:a.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,Pi),l("div",{style:s({color:a.props.fontColor})},n(t.name),5)],10,zi)))),128))],4)):p("",!0),1===a.props.showStyle?(i(),r("div",Li,[l("div",{class:"classify-list",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[(i(!0),r(c,null,d(u.resultArr,((t,e)=>(i(),r("div",{class:g(["classify-item",[1===a.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:s({backgroundColor:a.props.backgroundColor}),key:e,onClick:e=>u.linkClick(t)},[l("div",{class:g([1===a.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:s({color:a.props.fontColor})},n(t.name),7),l("img",{class:g([1===a.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:s({borderRadius:u.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,_i)],14,Oi)))),128))],4)])):p("",!0)],64)):(i(),r("div",Ii,[l("ul",null,[(i(!0),r(c,null,d(f.skeleton,((t,e)=>(i(),r("li",{key:e},[Ti,l("span",null,n(t),1)])))),128))])]))])},ji.__scopeId="data-v-27ca3374";var Fi={name:"cyy-ArsenalCarousel",data:()=>({lowCode:k}),props:{props:{photoCorner:Number,autoPlay:Number,autoplayInterval:Number,direction:Number,loop:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?10:50===t?20:t,linkClick(t){this.$emit("linkClick",t)}}};const Ri={key:0},Gi=["src"],$i={class:"swiper"},Mi=["src","onClick"];Mo(".holder[data-v-7be72334]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-7be72334]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334],.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] .swiper-content[data-v-7be72334]{height:150px;width:100%}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] .swiper-content[data-v-7be72334] .img-item[data-v-7be72334]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-7be72334] .swiper[data-v-7be72334] img[data-v-7be72334]{border-radius:10px;height:100%;width:100%}"),Fi.render=function(t,e,a,o,n,p){const g=h("swiper-item"),f=h("block"),u=h("swiper");return i(),r("div",null,[n.lowCode?(i(),r("div",Ri,[l("div",{class:"lowCode-warp",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("img",{src:p.resultArr[0].imgUrl,alt:"",style:s({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px",width:"100%"})},null,12,Gi),l("ul",null,[(i(!0),r(c,null,d(p.resultArr,((t,e)=>(i(),r("li",{key:e})))),128))])],4)])):(i(),r("div",{key:1,class:"swiperBox",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("div",$i,[m(u,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:a.props.autoplayInterval},{default:b((()=>[(i(!0),r(c,null,d(p.resultArr,((t,e)=>(i(),y(f,{key:e},{default:b((()=>[m(g,{class:"img-item"},{default:b((()=>[l("img",{style:s({borderRadius:p.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>p.linkClick(t)},null,12,Mi)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},Fi.__scopeId="data-v-7be72334";var Ui={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Ei={key:0,class:"label"};Mo(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Ui.render=function(t,e,a,o,s,n){return"40"===a.goodsType?(i(),r("text",Ei,"京东优选")):p("",!0)},Ui.__scopeId="data-v-3a887c2c";var Ki={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:String,selectImgs:Array,selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,activityTitleLable:Array,goodsTag:Array,backgroundColor:String,cornerStyle:Number,spacingStyle:Number,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},goodsList:[],completeGoodsList:[],domainNameUrl:"",imgUrl:"",isLc:k}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},hasNewActivityTitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].title:this.props.activityTitle},hasNewActivitySubtitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].subTitle:this.props.activitySubtitle},ruleTitle(){return 1===this.props.arrange&&!!this.props.activityTitleLable?.length},ruleTitleImg(){return this.ruleTitle?`url(${this.props.activityTitleLable[0]?.imgUrl}) no-repeat`:""},selectImgRule(){return t=>"show"===t?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===t?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===t?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Ui},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=z(this);const{goods:t=[]}=this.props,e={goodsCode:t.toString()},a=await P(this,e);this.completeGoodsList=o(a,"list",[]),this.completeGoodsList.forEach((t=>{t.rsGoodsFileDomainList=[],t.rsSkuDomainList=[]})),1===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,12):2===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,2):3===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,3):[4,5].includes(this.props.arrange)&&(this.goodsList=this.completeGoodsList.slice(0,60))},goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},goMoreGoods(){k||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"补货中",linkClick(t){this.$emit("linkClick",t)}}},Wi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Vi=t=>(u("data-v-5b0f81ce"),t=t(),v(),t),Hi={key:0},Qi={key:1,class:"title"},Yi={class:"subtitle"},qi=Vi((()=>l("img",{src:Wi},null,-1))),Xi={key:3,class:"more"},Ji={class:"title"},Zi=Vi((()=>l("div",{class:"line"},null,-1))),tr={class:"mainTitle"},er=Vi((()=>l("div",{class:"line"},null,-1))),ar={key:2,class:"mainImage"},or=["src"],ir=["onClick"],rr=["src"],sr={class:"maskState"},nr={class:"goodsDescription"},cr={class:"goodsName"},dr={class:"footerContent"},lr={key:0,class:"goodsTagList"},pr={class:"tag"},gr={class:"goodsPrice"},fr=Vi((()=>l("span",{class:"priceUnit"},"¥",-1))),ur={key:0,class:"scribing"},vr=["onClick"];Mo("body{margin:0}");Mo('.mainTitleColor[data-v-5b0f81ce]{color:#f52b43}.top[data-v-5b0f81ce]{margin:0 10px;padding:12px 0}.top[data-v-5b0f81ce] .mainTitle[data-v-5b0f81ce]{font-size:16px;font-weight:600}.top[data-v-5b0f81ce].left[data-v-5b0f81ce]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-5b0f81ce].left[data-v-5b0f81ce] .title[data-v-5b0f81ce] .subtitle[data-v-5b0f81ce]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-5b0f81ce].left[data-v-5b0f81ce] .more[data-v-5b0f81ce]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-5b0f81ce].left[data-v-5b0f81ce] .more[data-v-5b0f81ce] img[data-v-5b0f81ce]{height:8px;width:6px}.top[data-v-5b0f81ce].center[data-v-5b0f81ce]{padding:18px 0}.top[data-v-5b0f81ce].center[data-v-5b0f81ce] .title[data-v-5b0f81ce]{align-items:center;display:flex;justify-content:center}.top[data-v-5b0f81ce].center[data-v-5b0f81ce] .title[data-v-5b0f81ce] .line[data-v-5b0f81ce]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-5b0f81ce].center[data-v-5b0f81ce] .title[data-v-5b0f81ce] .mainTitle[data-v-5b0f81ce]{text-align:center}.mainImage[data-v-5b0f81ce]{margin:0 10px;max-width:100%}.mainImage[data-v-5b0f81ce] img[data-v-5b0f81ce]{max-height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-5b0f81ce]{margin:8px 10px 0}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{background-color:#fff}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .imgMarked[data-v-5b0f81ce]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .imgMarked[data-v-5b0f81ce] .maskState[data-v-5b0f81ce]{color:#fff;font-size:23px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;height:2em;line-height:1em;overflow:hidden;text-overflow:ellipsis}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{margin-bottom:10px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsTagList[data-v-5b0f81ce]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsTagList[data-v-5b0f81ce] .tag[data-v-5b0f81ce]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsTagList[data-v-5b0f81ce] .tag[data-v-5b0f81ce]:not(:last-child){margin-right:8px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce] .priceUnit[data-v-5b0f81ce]{font-size:10px}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce] .scribing[data-v-5b0f81ce]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{background-color:red;border:0;border-radius:15px;color:#fff;font-size:12px;line-height:22px;margin-left:auto;margin-right:auto;text-align:center;width:5em}.arrange-1[data-v-5b0f81ce]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:120px}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{height:100px;width:100px}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:not(:last-child){padding-right:20px}.arrange-1[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:not(:last-child) .spacingStyle[data-v-5b0f81ce]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{margin-top:10px}.arrange-1[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{margin-bottom:10px;text-align:center}.arrange-2[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce]{width:50%}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImageWrapper[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce]{margin-left:10px;position:relative;width:100%}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce]{font-size:14px;height:auto}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce],.arrange-4[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-5b0f81ce]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{background:#fff;margin-top:10px;width:48%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .goodsName[data-v-5b0f81ce]{height:2em;line-height:1em;margin-top:10px}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{margin:0}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:first-child{width:100%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:first-child .goodsImage[data-v-5b0f81ce]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]:first-child .goodsName[data-v-5b0f81ce]{height:auto}.arrange-5[data-v-5b0f81ce]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{background:#fff}@media (max-width:320px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:100px}}@media (min-width:321px) and (max-width:375px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:110px}}@media (min-width:376px) and (max-width:390px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:110px}}@media (min-width:391px) and (max-width:430px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:120px}}@media (min-width:431px) and (max-width:1000px){.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce]{width:120px}}.arrange-5[data-v-5b0f81ce] .goodsBox[data-v-5b0f81ce] .goodsImage[data-v-5b0f81ce]{aspect-ratio:1;height:100%;width:100%}.arrange-5[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce]{margin-bottom:10px}.arrange-5[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsPrice[data-v-5b0f81ce]{text-align:center}.arrange-5[data-v-5b0f81ce] .goodsDescription[data-v-5b0f81ce] .footerContent[data-v-5b0f81ce] .goodsBuy[data-v-5b0f81ce]{margin-bottom:10px;text-align:center}'),Ki.render=function(t,e,a,o,u,v){const b=h("vopLabel");return i(),r("div",null,[a.props.goods?(i(),r("div",{key:1,style:s({margin:`${a.props.marginTop}px 0 ${a.props.marginBottom}px 0`,backgroundColor:`${a.props.backgroundColor}`,borderRadius:`${a.props.cornerStyle}px`})},[4!==a.props.arrange?(i(),r("div",{key:0,class:g(["top",{left:4!==a.props.arrange}]),style:s({background:v.ruleTitle&&2===a.props.activityTitleLable[0].lable?`${v.ruleTitleImg}`:""})},[v.ruleTitle&&2===a.props.activityTitleLable[0].lable?(i(),r("div",Hi)):(i(),r("div",Qi,[l("span",{class:g(["mainTitle",v.mainTitleColor])},n(v.ruleTitle?a.props.activityTitleLable[0].title:v.hasNewActivityTitle),3),l("span",Yi,n(v.ruleTitle?a.props.activityTitleLable[0].subTitle:v.hasNewActivitySubtitle),1)])),1===a.props.more&&[1,2,3].includes(a.props.arrange)?(i(),r("div",{key:2,class:"more",onClick:e[0]||(e[0]=t=>v.goMoreGoods())},[f("更多"),qi])):(i(),r("div",Xi))],6)):4===a.props.arrange?(i(),r("div",{key:1,class:g(["top",{center:4===a.props.arrange}])},[l("div",Ji,[Zi,l("div",tr,n(v.hasNewActivityTitle),1),er])],2)):p("",!0),v.selectImgRule("show")?(i(),r("div",ar,[l("img",{style:s({borderTopLeftRadius:`${a.props.cornerStyle}px`,borderTopRightRadius:`${a.props.cornerStyle}px`}),src:v.selectImgRule("url"),alt:"主图",onClick:e[1]||(e[1]=t=>v.linkClick(v.selectImgRule("link")))},null,12,or)])):p("",!0),l("div",{class:g(["goodsList",[`arrange-${a.props.arrange}`,{isLc:!u.isLc}]])},[(i(!0),r(c,null,d(u.goodsList,((e,o)=>(i(),r("div",{class:"goodsBox",style:s({borderRadius:`${a.props.cornerStyle}px`}),key:e.skuCode,onClick:t=>v.goGoodsDetail(e)},[l("div",{class:g(["goodsImageWrapper",{spacingStyle:2===a.props.spacingStyle}]),style:{position:"relative"}},[l("img",{class:"goodsImage",style:s({borderRadius:`${a.props.cornerStyle}px`}),src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",alt:"商品图片"},null,12,rr),!1===u.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:a.props.borderRadius})},[l("div",sr,n(v.getMaskState(e.goodsProperty5)),1)],4)):p("",!0)],2),l("div",nr,[l("div",cr,[m(b),f(n(e.goodsName),1)]),l("section",dr,[a.props.goodsTag.length>0&&[2,4].includes(a.props.arrange)?(i(),r("div",lr,[(i(!0),r(c,null,d(a.props.goodsTag,(t=>(i(),r("div",{key:t.id},[l("span",pr,n(t.value),1)])))),128))])):p("",!0),l("div",gr,[fr,f(n(e.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",ur,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),1===a.props.purchaseIcon?(i(),r("div",{key:1,class:"goodsBuy",onClick:a=>t.handleBuyGoods(e.skuNo)},"立即购买",8,vr)):p("",!0)])])],12,ir)))),128))],2)],4)):(i(),r("div",{key:0,style:s(u.noDataStyle)},"请选择商品",4))])},Ki.__scopeId="data-v-5b0f81ce";var hr={name:"cyy-ArsenalTop",data:()=>({lowCode:k,color:"#FD1738"}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){this.changeColor()},computed:{resultArrImg:()=>t=>t[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:e,defaultValue:o}=this.props,i=e.filter((t=>!a(t))).filter((t=>!Object.values(t).every((t=>a(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{changeColor(){this.props.selectImg.length&&(this.color=this.props.selectImg[0]?.color||"#FD1738")},classifyPhotoCorner:t=>20===t?10:50===t?20:t,setimg(t){const e=t.detail.current;this.color=this.props.selectImg[e]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},linkClick(t){this.$emit("linkClick",t)}}};const mr=t=>(u("data-v-2fdfd7a0"),t=t(),v(),t),br={key:0},yr={class:"title-t"},xr={class:"boxBgL"},wr=mr((()=>l("div",{class:"search",style:{display:"flex","justify-content":"center",position:"relative","z-index":"1"}},[l("div",{class:"search--input",style:{padding:"2px 112px",border:"1px solid white","border-radius":"20px"}},[l("div",{class:"search--input--box",style:{color:"#fff"}},[l("span",null,"搜索您喜欢的商品"),l("img",{src:"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/search.png",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px",position:"absolute",top:"-4px",right:"18px"}})])])],-1))),kr={class:"tag",style:{"justify-content":"center"}},Cr={class:"tag--item"},Sr={class:"",style:{color:"#fff","font-size":"24rpx",position:"relative","z-index":"1"}},Ar=["src"],Br=["src"],Nr=["src"],Dr={class:"Box"},jr={class:"boxBg"},Ir={class:"search"},Tr=mr((()=>l("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),zr=[mr((()=>l("text",{class:"iconfont icon-sousuo"},null,-1)))],Pr={class:"tag"},Lr={class:"tag--item"},Or={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},_r=["src"],Fr={class:"",style:{color:"#fff","font-size":"24rpx"}},Rr=mr((()=>l("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),Gr={class:"swiper"},$r=["src","onClick"];Mo(".holder[data-v-2fdfd7a0]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-2fdfd7a0]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0],.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0]{height:150px;width:100%}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] .swiper-content[data-v-2fdfd7a0] .img-item[data-v-2fdfd7a0]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-2fdfd7a0] .swiper[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{border-radius:10px;height:100%;width:100%}.Box[data-v-2fdfd7a0]{position:relative;width:100%}.boxBg[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBg[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-2fdfd7a0]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-2fdfd7a0] .one[data-v-2fdfd7a0]{height:150px;width:100%}.boxBgL[data-v-2fdfd7a0] .two[data-v-2fdfd7a0]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);height:32px;margin:0 auto;position:relative;text-align:center;width:90%}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--box[data-v-2fdfd7a0]{color:#fff;font-size:12px;line-height:32px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0]{align-items:center;border-radius:17.5px;display:flex;height:22px;justify-content:center;position:absolute;right:5px;top:5px;width:27.5px}.search[data-v-2fdfd7a0]--input[data-v-2fdfd7a0]--icon[data-v-2fdfd7a0] .icon-sousuo[data-v-2fdfd7a0]{color:#fff}.tag[data-v-2fdfd7a0]{display:flex;padding:7px 0}.tag[data-v-2fdfd7a0]--item[data-v-2fdfd7a0]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-2fdfd7a0]{height:40px}.title-l[data-v-2fdfd7a0] .title-t[data-v-2fdfd7a0]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-2fdfd7a0]{padding:0 20px}.coupon[data-v-2fdfd7a0]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon[data-v-2fdfd7a0] img[data-v-2fdfd7a0]{height:55px;width:55px}"),hr.render=function(t,e,a,o,p,g){const u=h("swiper-item"),v=h("block"),x=h("swiper");return i(),r("div",null,[p.lowCode?(i(),r("div",br,[l("div",{class:"title-l",slot:"left",style:s({"background-color":p.color})},[l("div",yr,n(a.props.siteName||"人才优选 品质优选"),1)],4),l("div",{class:"Box",style:s({"background-color":p.color})},[l("div",xr,[l("div",{class:"one",style:s({"background-color":p.color})},null,4),l("div",{class:"two",style:s({"background-color":p.color})},null,4)]),wr,l("div",kr,[l("div",Cr,[l("div",Sr,[a.props.iconImg?(i(),r("img",{key:0,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,Ar)):(i(),r("img",{key:1,"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,Br)),f(n(a.props.mallSlogan),1)])])])],4),l("div",{class:"lowCode-warp",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("img",{src:g.resultArrImg(g.resultArr),alt:"",style:{width:"100%"}},null,8,Nr),l("ul",null,[(i(!0),r(c,null,d(g.resultArr,((t,e)=>(i(),r("li",{key:e})))),128))])],4)])):(i(),r(c,{key:1},[l("div",Dr,[l("div",jr,[l("div",{class:"one",style:s({"background-color":p.color})},null,4),l("div",{class:"two",style:s({"background-color":p.color})},null,4)]),l("div",Ir,[l("div",{class:"search--input",onClick:e[0]||(e[0]=(...t)=>g.ToSearch&&g.ToSearch(...t))},[Tr,l("div",{class:"search--input--icon",style:s({"background-color":p.color})},zr,4)])]),l("div",Pr,[l("div",Lr,[l("div",Or,[l("img",{"lazy-load":!0,src:a.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,_r)]),l("div",Fr,n(a.props.mallSlogan),1)])]),Rr]),l("div",{class:"swiperBox",style:s({marginTop:a.props.marginTop+"px",marginBottom:a.props.marginBottom+"px"})},[l("div",Gr,[m(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:g.directionResult,autoplay:g.autoplayResult,duration:a.props.autoplayInterval,onChange:g.setimg},{default:b((()=>[(i(!0),r(c,null,d(g.resultArr,((t,e)=>(i(),y(v,{key:e},{default:b((()=>[m(u,{class:"img-item"},{default:b((()=>[l("img",{style:s({bordeRadius:g.classifyPhotoCorner(a.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>g.linkClick(t)},null,12,$r)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},hr.__scopeId="data-v-2fdfd7a0";const Mr=async t=>{const e=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+t,{method:"POST",headers:{"saas-token":e,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>t))};var Ur={props:{props:{live:Array,title:String,cover:String,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},liveDataState:0}),mounted(){this.init()},computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let t="";switch(this.liveDataState){case 0:t="初始化";break;case 1:t="上传直播间";break;case 101:t="直播中";break;case 102:t="未开始";break;case 103:t="已结束";break;case 104:t="禁播";break;case 105:t="暂停";break;case 106:t="异常";break;case 107:t="已过期"}return t}},methods:{async init(){if(k){const t=D+`?infuencerCode=${this.props.live.infuencerCode}`,{list:e}=await Mr(t);0===e.length&&(this.liveDataState=e[0].dataState)}else{this.http.post(D,{infuencerCode:this.props.live.infuencerCode}).then((t=>{this.liveDataState=t.list[0].dataState}))}},handleToLive(){if(k)return;let t=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${t}`})}}};const Er={class:"liveTitlePo"},Kr={class:"live"},Wr={class:"liveCover"},Vr=["src"],Hr={class:"liveState"};Mo(".liveBox[data-v-7870d5a8]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);padding:14px 5px}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8]{display:flex}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveCover[data-v-7870d5a8]{position:relative;width:100%}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveCover[data-v-7870d5a8] img[data-v-7870d5a8]{width:100%}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveCover[data-v-7870d5a8] .liveState[data-v-7870d5a8]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveIntroduction[data-v-7870d5a8]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveIntroduction[data-v-7870d5a8] .liveTitle[data-v-7870d5a8]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.liveBox[data-v-7870d5a8] .live[data-v-7870d5a8] .liveIntroduction[data-v-7870d5a8] .anchorName[data-v-7870d5a8]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.liveTitlePo[data-v-7870d5a8]{margin-bottom:8px}"),Ur.render=function(t,e,a,o,c,d){return i(),r("div",null,[a.props.live?(i(),r("div",{key:1,class:"liveBox",style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`}),onClick:e[0]||(e[0]=t=>d.handleToLive())},[l("div",Er,n(d.liveTitle),1),l("div",Kr,[l("div",Wr,[l("img",{src:d.liveCover},null,8,Vr),l("div",Hr,n(d.liveState),1)])])],4)):(i(),r("div",{key:0,style:s(c.noDataStyle)},"请选择直播",4))])},Ur.__scopeId="data-v-7870d5a8";const Qr="%[a-f0-9]{2}",Yr=new RegExp("("+Qr+")|([^%]+?)","gi"),qr=new RegExp("("+Qr+")+","gi");function Xr(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const a=t.slice(0,e),o=t.slice(e);return Array.prototype.concat.call([],Xr(a),Xr(o))}function Jr(t){try{return decodeURIComponent(t)}catch{let e=t.match(Yr)||[];for(let a=1;a<e.length;a++)e=(t=Xr(e,a).join("")).match(Yr)||[];return t}}function Zr(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){const e={"%FE%FF":"��","%FF%FE":"��"};let a=qr.exec(t);for(;a;){try{e[a[0]]=decodeURIComponent(a[0])}catch{const t=Jr(a[0]);t!==a[0]&&(e[a[0]]=t)}a=qr.exec(t)}e["%C2"]="�";const o=Object.keys(e);for(const a of o)t=t.replace(new RegExp(a,"g"),e[a]);return t}(t)}}function ts(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const a=t.indexOf(e);return-1===a?[]:[t.slice(0,a),t.slice(a+e.length)]}function es(t,e){const a={};if(Array.isArray(e))for(const o of e){const e=Object.getOwnPropertyDescriptor(t,o);e?.enumerable&&Object.defineProperty(a,o,e)}else for(const o of Reflect.ownKeys(t)){const i=Object.getOwnPropertyDescriptor(t,o);if(i.enumerable){e(o,t[o],t)&&Object.defineProperty(a,o,i)}}return a}const as=t=>null==t,os=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),is=Symbol("encodeFragmentIdentifier");function rs(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function ss(t,e){return e.encode?e.strict?os(t):encodeURIComponent(t):t}function ns(t,e){return e.decode?Zr(t):t}function cs(t){return Array.isArray(t)?t.sort():"object"==typeof t?cs(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function ds(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function ls(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function ps(t){const e=(t=ds(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function gs(t,e){rs((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);const a=function(t){let e;switch(t.arrayFormat){case"index":return(t,a,o)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===o[t]&&(o[t]={}),o[t][e[1]]=a):o[t]=a};case"bracket":return(t,a,o)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==o[t]?o[t]=[...o[t],a]:o[t]=[a]:o[t]=a};case"colon-list-separator":return(t,a,o)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==o[t]?o[t]=[...o[t],a]:o[t]=[a]:o[t]=a};case"comma":case"separator":return(e,a,o)=>{const i="string"==typeof a&&a.includes(t.arrayFormatSeparator),r="string"==typeof a&&!i&&ns(a,t).includes(t.arrayFormatSeparator);a=r?ns(a,t):a;const s=i||r?a.split(t.arrayFormatSeparator).map((e=>ns(e,t))):null===a?a:ns(a,t);o[e]=s};case"bracket-separator":return(e,a,o)=>{const i=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!i)return void(o[e]=a?ns(a,t):a);const r=null===a?[]:a.split(t.arrayFormatSeparator).map((e=>ns(e,t)));void 0!==o[e]?o[e]=[...o[e],...r]:o[e]=r};default:return(t,e,a)=>{void 0!==a[t]?a[t]=[...[a[t]].flat(),e]:a[t]=e}}}(e),o=Object.create(null);if("string"!=typeof t)return o;if(!(t=t.trim().replace(/^[?#&]/,"")))return o;for(const i of t.split("&")){if(""===i)continue;const t=e.decode?i.replace(/\+/g," "):i;let[r,s]=ts(t,"=");void 0===r&&(r=t),s=void 0===s?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:ns(s,e),a(ns(r,e),s,o)}for(const[t,a]of Object.entries(o))if("object"==typeof a&&null!==a)for(const[t,o]of Object.entries(a))a[t]=ls(o,e);else o[t]=ls(a,e);return!1===e.sort?o:(!0===e.sort?Object.keys(o).sort():Object.keys(o).sort(e.sort)).reduce(((t,e)=>{const a=o[e];return Boolean(a)&&"object"==typeof a&&!Array.isArray(a)?t[e]=cs(a):t[e]=a,t}),Object.create(null))}function fs(t,e){if(!t)return"";rs((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const a=a=>e.skipNull&&as(t[a])||e.skipEmptyString&&""===t[a],o=function(t){switch(t.arrayFormat){case"index":return e=>(a,o)=>{const i=a.length;return void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[ss(e,t),"[",i,"]"].join("")]:[...a,[ss(e,t),"[",ss(i,t),"]=",ss(o,t)].join("")]};case"bracket":return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[ss(e,t),"[]"].join("")]:[...a,[ss(e,t),"[]=",ss(o,t)].join("")];case"colon-list-separator":return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,[ss(e,t),":list="].join("")]:[...a,[ss(e,t),":list=",ss(o,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return a=>(o,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:(i=null===i?"":i,0===o.length?[[ss(a,t),e,ss(i,t)].join("")]:[[o,ss(i,t)].join(t.arrayFormatSeparator)])}default:return e=>(a,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?a:null===o?[...a,ss(e,t)]:[...a,[ss(e,t),"=",ss(o,t)].join("")]}}(e),i={};for(const[e,o]of Object.entries(t))a(e)||(i[e]=o);const r=Object.keys(i);return!1!==e.sort&&r.sort(e.sort),r.map((a=>{const i=t[a];return void 0===i?"":null===i?ss(a,e):Array.isArray(i)?0===i.length&&"bracket-separator"===e.arrayFormat?ss(a,e)+"[]":i.reduce(o(a),[]).join("&"):ss(a,e)+"="+ss(i,e)})).filter((t=>t.length>0)).join("&")}function us(t,e){e={decode:!0,...e};let[a,o]=ts(t,"#");return void 0===a&&(a=t),{url:a?.split("?")?.[0]??"",query:gs(ps(t),e),...e&&e.parseFragmentIdentifier&&o?{fragmentIdentifier:ns(o,e)}:{}}}function vs(t,e){e={encode:!0,strict:!0,[is]:!0,...e};const a=ds(t.url).split("?")[0]||"";let o=fs({...gs(ps(t.url),{sort:!1}),...t.query},e);o&&(o=`?${o}`);let i=function(t){let e="";const a=t.indexOf("#");return-1!==a&&(e=t.slice(a)),e}(t.url);if(t.fragmentIdentifier){const o=new URL(a);o.hash=t.fragmentIdentifier,i=e[is]?o.hash:`#${t.fragmentIdentifier}`}return`${a}${o}${i}`}function hs(t,e,a){a={parseFragmentIdentifier:!0,[is]:!1,...a};const{url:o,query:i,fragmentIdentifier:r}=us(t,a);return vs({url:o,query:es(i,e),fragmentIdentifier:r},a)}var ms=Object.freeze({__proto__:null,extract:ps,parse:gs,stringify:fs,parseUrl:us,stringifyUrl:vs,pick:hs,exclude:function(t,e,a){return hs(t,Array.isArray(e)?t=>!e.includes(t):(t,a)=>!e(t,a),a)}}),bs={props:{props:{notice:{notice:Array,vertical:Boolean,color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},noticeList:[]}),mounted(){this.getIsLc()},methods:{getIsLc(){let t=this;return k?this.LcGetNotice(t):this.getNotice(t)},async LcGetNotice(t){const e=location.hash.replace(/[\\/#?]/g,""),a=ms.parse(e),o={};o.modelTagvalueId=a.modelTagvalueId??"";const i=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${o.modelTagvalueId}¬iceType=1`,r=await Mr(i);t.noticeList=r},async getNotice(t){const e=await t.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});t.noticeList=e},handleToNotice(t){k||this.$routers.push("noticeDedail",{id:t.noticeId})}}};const ys=t=>(u("data-v-a1078966"),t=t(),v(),t),xs=ys((()=>l("div",{class:"notice-logo"},[l("span",null,"公告")],-1))),ws=ys((()=>l("div",{class:"notice-bar"},null,-1))),ks={class:"notice-content"},Cs=["onClick"];Mo(".noticeBox[data-v-a1078966]{align-items:center;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:35px}.noticeBox[data-v-a1078966] .notice-logo[data-v-a1078966]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-a1078966] .notice-logo[data-v-a1078966] span[data-v-a1078966]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-a1078966] .notice-bar[data-v-a1078966]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966]{flex:1;overflow:hidden}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966] .notice-list[data-v-a1078966]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-a1078966] .notice-content[data-v-a1078966] .notice-list[data-v-a1078966] .swiper-item[data-v-a1078966]{color:#999}"),bs.render=function(t,e,a,o,p,g){const f=h("swiper-item"),u=h("swiper");return i(),r("div",null,[p.noticeList?(i(),r("div",{key:1,class:"noticeBox",style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,backgroundColor:`${a.props.backgroundColor}`})},[xs,ws,l("div",ks,[m(u,{class:"notice-list",vertical:a.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:b((()=>[(i(!0),r(c,null,d(p.noticeList,(t=>(i(),y(f,{key:t.noticeId},{default:b((()=>[l("div",{class:"swiper-item",style:s({color:`${a.props.color}`}),onClick:e=>g.handleToNotice(t)},n(t.noticeTitle),13,Cs)])),_:2},1024)))),128))])),_:1},8,["vertical"])])],4)):(i(),r("div",{key:0,style:s(p.noDataStyle)},"请选择公告",4))])},bs.__scopeId="data-v-a1078966";var Ss={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp(t,e){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let t={};return this.height&&(t.height=this.height+"rpx",t.width=this.height+"rpx"),this.showBorder&&(t.borderStyle="solid",t.borderColor=this.borderColor,t.borderWidth="1px"),this.bgColor&&(t.backgroundColor=this.bgColor),t},letterStyle(){let t={};return this.fontSize&&(t.fontSize=this.fontSize+"rpx"),this.color&&(t.color=this.color),t}},mounted(){this.autoplay&&this.timestamp&&this.start()},methods:{start(){this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((()=>{if(this.seconds--,this.$emit("change",this.seconds),this.seconds<0)return this.end();this.formatTime(this.seconds)}),1e3))},formatTime(t){t<=0&&this.end();let[e,a,o,i]=[0,0,0,0];e=Math.floor(t/86400),a=Math.floor(t/3600)-24*e;let r=null;r=this.showDays?a:Math.floor(t/3600),o=Math.floor(t/60)-60*a-24*e*60,i=Math.floor(t)-24*e*60*60-60*a*60-60*o,r=r<10?"0"+r:r,o=o<10?"0"+o:o,i=i<10?"0"+i:i,e=e<10?"0"+e:e,this.d=e,this.h=r,this.i=o,this.s=i},end(){this.clearTimer(),this.$emit("end",{})},clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy(){clearInterval(this.timer),this.timer=null}};const As={class:"u-countdown"};Mo(".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}"),Ss.render=function(t,e,a,o,c,d){return i(),r("view",As,[a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=c.d)?(i(),r("view",{key:0,class:"u-countdown-item",style:s([d.itemStyle])},[l("view",{class:"u-countdown-time",style:s([d.letterStyle])},n(c.d),5)],4)):p("",!0),a.showDays&&(a.hideZeroDay||!a.hideZeroDay&&"00"!=c.d)?(i(),r("view",{key:1,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},n("colon"==a.separator?":":"天"),5)):p("",!0),a.showHours?(i(),r("view",{key:2,class:"u-countdown-item",style:s([d.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:a.fontSize+"rpx",color:a.color})},n(c.h),5)],4)):p("",!0),a.showHours?(i(),r("view",{key:3,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},n("colon"==a.separator?":":"时"),5)):p("",!0),a.showMinutes?(i(),r("view",{key:4,class:"u-countdown-item",style:s([d.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:a.fontSize+"rpx",color:a.color})},n(c.i),5)],4)):p("",!0),a.showMinutes?(i(),r("view",{key:5,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})},n("colon"==a.separator?":":"分"),5)):p("",!0),a.showSeconds?(i(),r("view",{key:6,class:"u-countdown-item",style:s([d.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:a.fontSize+"rpx",color:a.color})},n(c.s),5)],4)):p("",!0),a.showSeconds&&"zh"==a.separator?(i(),r("view",{key:7,class:"u-countdown-colon",style:s({fontSize:a.separatorSize+"rpx",color:a.separatorColor,paddingBottom:"colon"==a.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},Ss.__scopeId="data-v-4f36f3d2";var Bs={name:"u-line-progress",props:{round:{type:Boolean,default:!0},type:{type:String,default:""},activeColor:{type:String,default:"#19be6b"},inactiveColor:{type:String,default:"#ececec"},percent:{type:Number,default:0},showPercent:{type:Boolean,default:!0},height:{type:[Number,String],default:28},striped:{type:Boolean,default:!1},stripedActive:{type:Boolean,default:!1}},data:()=>({}),computed:{progressStyle(){let t={};return t.width=this.percent+"%",this.activeColor&&(t.backgroundColor=this.activeColor),t}},methods:{}};Mo(".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}}"),Bs.render=function(t,e,a,o,d,u){return i(),r("view",{class:"u-progress",style:s({borderRadius:a.round?"100rpx":0,height:a.height+"rpx",backgroundColor:a.inactiveColor})},[l("view",{class:g([[a.type?`u-type-${a.type}-bg`:"",a.striped?"u-striped":"",a.striped&&a.stripedActive?"u-striped-active":""],"u-active"]),style:s([u.progressStyle])},[t.$slots.default||t.$slots.$default?x(t.$slots,"default",{key:0}):a.showPercent?(i(),r(c,{key:1},[f(n(a.percent+"%"),1)],64)):p("",!0)],6)],4)},Bs.__scopeId="data-v-6b1ec6a3";const Ns=k?location.hash.replace(/[\\/#?]/g,""):null,Ds=ms.parse(Ns),js=(Ds["saas-token"],Ds.membercode??""),Is=Ds.channelCode??"",Ts=(Ds.tenantcode,Ds.modelTagvalueId,Ds.tginfoCode,js),zs=Is;var Ps={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:Ss,uLineProgress:Bs},data:()=>({lowCode:k,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=z(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>t=>"已终止"===t||"已抢空"===t?"#D7D7D7":"即将开始"===t?"#F59A23":"#ed4444",btnDataState:()=>(t,e)=>[-1,2,6].includes(t.dataState)?"已终止":[1].includes(t.dataState)?0===e.goodsSupplynum?"已抢空":"立即购买":[4].includes(t.dataState)?"即将开始":void 0,getPrice:()=>t=>"2"==t.pricesetType||"4"==t.pricesetType?"¥"+t.pricesetNprice:"3"==t.pricesetType?t.pricesetRefrice+"里程":t.pricesetNprice,activityCss:()=>t=>t.length?1===t.length?1:2===t.length?2:t.length>=3?3:0:0,diffFn:()=>t=>t?(t.goodsAhnum-t.goodsSupplynum)/t.goodsAhnum*100:"",minTime(){let t=[];this.secGoodList.map((t=>t.dataState)).includes(1)?this.secGoodList.forEach((e=>{1===e.dataState&&t.push(e.gmtModified)})):this.secGoodList.forEach((e=>{4===e.dataState?t.push(e.gmtCreate):t.push(e.gmtModified)}));for(let e=0;e<t.length-1;e++)for(let e=0;e<t.length-1;e++)if(t[e]>t[e+1]){let a=t[e];t[e]=t[e+1],t[e+1]=a}return t[0]},setPromotionDates:()=>(t,e)=>{let a=(new Date(e.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(e.promotionEndtime)-Date.parse(new Date))/1e3;return t.gmtCreate=a>0?a:0,t.gmtModified=o>0?o:0,{gmtCreate:t.gmtCreate,gmtModified:t.gmtModified}}},methods:{async getSecGoodList(t,e=null){const a=(t,e=!1)=>{if(t&&(e?t.rows:t.list)&&(e?t.rows.length:t.list.length)){const a=e?t.rows:t.list;a.slice(0,3).forEach((t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,a=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=a>0?a:0})),this.secGoodList=a}else this.secGoodList=[]};if(0===this.props.activityType){let e="";if(console.log(this.props?.activityList,"选择活动=====秒杀"),"all"==this.props?.activityList?e=null:this.props?.activityList?.length&&(e=this.props?.activityList.join(",")),k){let t="";e?t=`${B}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&couponBatchCode=${e}&channelCode=${zs}&membercode=${Ts}`:(this.secGoodList=[],t=`${B}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${Ts}&channelCode=${zs}`);const{list:o}=await Mr(t);a({list:o})}else{let o={pbCode:"0007",page:1,rows:200,dataStateStr:"1,4",couponBatchCode:e};e||(this.secGoodList=[],o.dataStateStr="1,4",o.orderStr="PROMOTION_ENDTIME asc"),console.log(o,"params秒杀"),t.http.post(B,o).then((t=>{a(t)}))}}if(1===this.props.activityType){let e="";if(console.log(this.props?.activityList,"选择活动------团购"),"all"==this.props?.activityList?e=null:this.props?.activityList?.length&&(e=this.props?.activityList.join(",")),k){let t="";e?t=`${B}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&promotionCode=${e}&channelCode=${zs}&membercode=${Ts}`:(this.secGoodList=[],t=`${B}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${Ts}&channelCode=${zs}`);const{rows:o}=await Mr(t);a({rows:o},!0)}else{let a={pbCode:"0008",dataStateStr:"1,4",page:1,rows:200,promotionCode:e};e||(this.secGoodList=[],a.dataStateStr="1,4",a.orderStr="PROMOTION_ENDTIME asc"),console.log(a,"params团购"),t.http.post(B,a).then((async t=>{if(t&&t.rows)if(1===this.page&&0===t.rows.length)this.seckillGoodsList=[];else{const e=t.rows.map((t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,a=(t.promotionEndtime-Date.parse(new Date))/1e3;return t.gmtCreate=e>0?e:0,t.gmtModified=a>0?a:0,0==t.promotionState&&this.$set(t,"PeopleNum",t.couponOnceNump),t})).filter((t=>0==t.promotionState));this.secGoodList=e}}))}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(t,e){let a;0===this.props.activityType&&(a=26),1===this.props.activityType&&(a=24),this.$emit("gosecGoodsDetail",t.skuNo,e.gmtModified,e.promotionCode,e.promotionFrequency,e.inventory,a)}}};const Ls={key:0},Os={class:"secKill--tit"},_s={class:"title"},Fs={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"}},Rs={key:1,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADPUlEQVRYR9WWT0gUcRTHv29mdd1Zo4I89EcL6aKzhp46SYuzClFgGHWorEN1iiiI/p0ivIggVNAhsFDJS2EkFOGfqQVPnSrd0UsIltTBiiB39k/OvBgtUXd2fjtKRHP9vfd9n/fe773fEP7xR/84PnwBJNXYIMBNXtASoTWU0B8Wmtj/BtDQBlCdZwWAzpChv/orFShU1I+drxZwNBpIz8r1FnCQQBGAyxaD0SyDEzLwrKTMGqV4fL5QiIIAePf+YCqYPQfia8z0O6h7CCKeBVN7KFN8l96/yIhAhABZtbF2HnY/A5UiseXnBEwFIB0uNobfevl5AmRqYs2WzX0MhP0E/2NLQFKW6HhwfGQgn39eALO6aS/DioNQspbgSz6MNEGOKhNDr910XAG4NrrJ/ClPANiaLzgz7tjzVptzHigKjDE4ry2Az0qRVU1v499X67kCzKlaBwGXvXtH7Yoxct2xMSPaDDO2C3rdoRj6VSHAj7r6MilT/EFUeoIrwCCAcgDVOTCMtB3MVmx4Mzq76rKuNE1GtNNgdIn6ngMAeqeki1rmFGujZFkvAag5GoQz4YR+3xtA1Z4CaPYDkFRj9xRsPk/G4ywDUiqi9TLjuIvGQNjQD4kApgFU+AFggAhgJ7ipag8AnMpz46cVQ9/lCWCqWoohHr3lLXAEFzJXY90MbvWY+bRi6CERQIaBYn8VOCKnIt+6mXFCMAlZxdCDohZ88pr/Zc5dYUM/yzgip9SvvQw6JoJ29kHY0LeJAIYANBYgZgHoI/BOBu0rwN4xGQ4b+oo/qpxFZEa0C8y4VaCgLzMiXFQS+m3PCqSqGnbaRFMgSL7URcYMW2KuDE2+dKZs6XNdxUlV6wFwUqTp87w3bOg54+kKYEaaysHW5Fqf4dVgzrMMkquUxNBHlzP3PEw1dhjgR858+8x0hTkBNkBHFWOkP89yyi8/V61dkggda4VwgtuMK6UTeqfHcvLOz4zEWpjZuROlPisxR0SnlMTIE8FyEsuae6I72JZvghd2vCzwsEDoIcm6oYzFZ0Tqwp/S5QKLl3O+mUEHQKghxhbnnAlfwBgn8HNQYMDtsq25BaIM1nvuqwLrDebm/wtZoDMwfXZXIwAAAABJRU5ErkJggg==",alt:"",style:{width:"16px",height:"16px"}},Gs={style:{"font-size":"14px","font-family":"Helvetica",color:"#1c2130","line-height":"17px","margin-left":"5px","margin-right":"5px"}},$s={class:"more"},Ms={class:"img"},Us=["src"],Es={key:1},Ks=["onClick"],Ws={class:"soneLeft"},Vs=["src"],Hs={class:"soneRight"},Qs={class:"soneRightA"},Ys={key:0,class:"soneRightB"},qs={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Xs={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Js={class:"soneRightC"},Zs={class:"priceC"},tn={style:{color:"#ff9745"}},en={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},an={class:"dataStateButton"},on=["onClick"],rn=["src"],sn={class:"secKill-goodsName text-common"},nn={class:"price"},cn={style:{display:"flex"}},dn={class:"now-price-common"},ln={style:{color:"#f53a50"}},pn={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},gn={class:"dataStateButton"},fn=["onClick"],un=["src"],vn={class:"secKill-goodsName text-common"},hn={class:"price"},mn={style:{display:"flex"}},bn={class:"now-price-common"},yn={style:{color:"#f53a50"}},xn={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},wn={class:"dataStateButton"};Mo(".secKill[data-v-276309a0]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0}.secKill[data-v-276309a0] .soon[data-v-276309a0]{background:linear-gradient(90deg,#ff9d0d,#eb2b27);border-radius:12px;color:#fff;font-family:PingFangSC-Medium,PingFang SC;font-size:12px;font-weight:500;height:24px;line-height:24px;text-align:center;width:64px}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .title[data-v-276309a0]{align-items:center;display:flex}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .title[data-v-276309a0] .changeOnce[data-v-276309a0]{color:#439fff;font-size:10px;margin-left:6px}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .more[data-v-276309a0]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill[data-v-276309a0] .secKill--tit[data-v-276309a0] .more[data-v-276309a0] .img[data-v-276309a0]{height:9px;margin-left:3px;width:5.5px}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0]{display:flex}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0] .secKill-goodsName[data-v-276309a0]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;height:34px;line-height:17px;overflow:hidden;text-overflow:ellipsis}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0] .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill[data-v-276309a0] .secKill-all[data-v-276309a0] .secKill--center[data-v-276309a0] .dataStateButton[data-v-276309a0] span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0]{display:flex}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0] .bigimgs[data-v-276309a0]{height:100px;margin:0 auto;width:100px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0] .goodsName[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;height:37.5px;margin-bottom:8px;margin-top:7.5px;overflow:hidden;width:153px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0] .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .left[data-v-276309a0]:nth-child(2){border:none}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0]{height:255px;padding-left:7.5px;width:164px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0] .bigimg[data-v-276309a0]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0] .goodsName[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;margin-bottom:10px;overflow:hidden;width:153px}.secKill[data-v-276309a0] .secKill--bottom[data-v-276309a0] .right[data-v-276309a0] .price[data-v-276309a0]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-276309a0]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-276309a0]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-276309a0]{width:112px}}.bigimg3[data-v-276309a0]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-276309a0]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-276309a0]{width:110px}}.goodsDetail2[data-v-276309a0]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-276309a0]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-276309a0]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-276309a0]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-276309a0]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-276309a0]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-276309a0]{width:162px}}.bigimg2[data-v-276309a0]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-276309a0]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-276309a0]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-276309a0]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-276309a0]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-276309a0]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-276309a0]{height:160px;width:160px}}.overflowX[data-v-276309a0]{overflow:hidden;overflow-x:scroll}.fel[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0]{display:flex;padding:8px}.secKill-One[data-v-276309a0] .soneLeft[data-v-276309a0]{height:110px;margin-right:8px;width:110px}.secKill-One[data-v-276309a0] .soneLeft[data-v-276309a0] img[data-v-276309a0]{border-radius:6px;height:110px;width:110px}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightA[data-v-276309a0]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#394259;display:-webkit-box;font-family:PingFangSC,PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:21px;overflow:hidden;text-align:left;text-overflow:ellipsis}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightB[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightB[data-v-276309a0] .uline[data-v-276309a0]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0]{display:flex;justify-content:space-between}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0] .priceC[data-v-276309a0]{font-family:DINAlternate;font-size:18px;font-style:normal;font-weight:700;line-height:29px;text-align:left}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0] .dataStateButton[data-v-276309a0]{display:flex;justify-content:center;margin-top:5px}.secKill-One[data-v-276309a0] .soneRight[data-v-276309a0] .soneRightC[data-v-276309a0] .dataStateButton[data-v-276309a0] span[data-v-276309a0]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),Ps.render=function(t,e,a,o,f,u){const v=h("uContDown"),b=h("u-count-down"),x=h("uLineProgress");return i(),r("div",null,[0!==u.activityCss(f.secGoodList)||f.lowCode?(i(),r("div",{key:1,class:"secKill",style:s({backgroundColor:a.props.backgroundColor,marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`})},[l("div",Os,[l("div",_s,[0===a.props.activityType?(i(),r("img",Fs)):p("",!0),1===a.props.activityType?(i(),r("img",Rs)):p("",!0),l("div",Gs,n(a.props.title),1),f.lowCode?(i(),r(c,{key:2},[0===a.props.countDown?(i(),y(v,{key:0,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64)):(i(),r(c,{key:3},[0===a.props.countDown?(i(),y(b,{key:0,timestamp:u.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):p("",!0)],64))]),l("div",$s,[l("div",{class:"",onClick:e[0]||(e[0]=(...t)=>u.goSecList&&u.goSecList(...t))},n(a.props.subTitle),1),l("div",Ms,[l("img",{"lazy-load":!0,src:Wi,mode:"",style:{width:"100%",height:"100%"},onClick:e[1]||(e[1]=(...t)=>u.goSecList&&u.goSecList(...t))})])])]),a.props.activityImg?(i(),r("img",{key:0,onClick:e[2]||(e[2]=(...t)=>u.goSecList&&u.goSecList(...t)),"lazy-load":!0,src:a.props.activityImg,style:{width:"100%","margin-bottom":"10px"},mode:""},null,8,Us)):p("",!0),1===u.activityCss(f.secGoodList)?(i(),r("div",Es,[(i(!0),r(c,null,d(f.secGoodList,((t,e)=>(i(),r("div",{key:e},[(i(!0),r(c,null,d(t.rsSkuReDomainList,((e,o)=>(i(),r("div",{class:"secKill-One",key:o,onClick:a=>u.gosecGoodsDetail(e,t)},[l("div",Ws,[l("img",{"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?f.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,8,Vs)]),l("div",Hs,[l("div",Qs,n(e.goodsName),1),0===a.props.activityType?(i(),r("div",Ys,[m(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:u.diffFn(e),height:"10","show-percent":!1},null,8,["percent"]),f.lowCode?(i(),r("div",qs,"剩"+n(e.goodsSupplynum||0)+"件",1)):(i(),r("div",Xs,"剩"+n(e.goodsSupplynum||0)+"件",1))])):p("",!0),l("div",Js,[l("div",Zs,[l("span",tn,n("¥"+e.pricesetNprice),1),1===a.props.linePriceFlag?(i(),r("span",en,n(e.pricesetMakeprice),1)):p("",!0)]),l("div",an,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,e))})},n(u.btnDataState(t,e)),5)])])])],8,Ks)))),128))])))),128))])):p("",!0),2===u.activityCss(f.secGoodList)?(i(),r("div",{key:2,class:g(["secKill-all",{fel:!0}])},[(i(!0),r(c,null,d(f.secGoodList,((t,e)=>(i(),r("div",{class:"secKill--center",key:e},[(i(!0),r(c,null,d(t.rsSkuReDomainList,((e,o)=>(i(),r("div",{class:g({goodsDetail3:3===u.activityCss(f.secGoodList),goodsDetail2:2===u.activityCss(f.secGoodList)}),key:o,onClick:a=>u.gosecGoodsDetail(e,t)},[l("img",{class:g({bigimg3:3===u.activityCss(f.secGoodList),bigimg2:2===u.activityCss(f.secGoodList)}),"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?f.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,10,rn),l("div",sn,n(e.goodsName),1),l("div",nn,[l("div",cn,[l("div",dn,[l("span",ln,n("¥"+e.pricesetNprice),1),1===a.props.linePriceFlag?(i(),r("span",pn,n(e.pricesetMakeprice),1)):p("",!0)])])]),l("div",gn,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,e))})},n(u.btnDataState(t,e)),5)])],10,on)))),128))])))),128))])):p("",!0),3===u.activityCss(f.secGoodList)?(i(),r("div",{key:3,class:g(["secKill-all",{overflowX:!0}])},[(i(!0),r(c,null,d(f.secGoodList,((t,e)=>(i(),r("div",{class:"secKill--center",key:e},[(i(!0),r(c,null,d(t.rsSkuReDomainList,((e,o)=>(i(),r("div",{class:g({goodsDetail3:3===u.activityCss(f.secGoodList),goodsDetail2:2===u.activityCss(f.secGoodList)}),key:o,onClick:a=>u.gosecGoodsDetail(e,t)},[l("img",{class:g({bigimg3:3===u.activityCss(f.secGoodList),bigimg2:2===u.activityCss(f.secGoodList)}),"lazy-load":!0,src:e.dataPic?-1===e.dataPic.indexOf("http")?f.domainNameUrl+e.dataPic:e.dataPic:"",mode:""},null,10,un),l("div",vn,n(e.goodsName),1),l("div",hn,[l("div",mn,[l("div",bn,[l("span",yn,n("¥"+e.pricesetNprice),1),1===a.props.linePriceFlag?(i(),r("span",xn,n(e.pricesetMakeprice),1)):p("",!0)])])]),l("div",wn,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,e))})},n(u.btnDataState(t,e)),5)])],10,fn)))),128))])))),128))])):p("",!0)],4)):(i(),r("div",Ls))])},Ps.__scopeId="data-v-276309a0";var kn={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 Cn=["src","poster","autoplay"];Mo("video[data-v-1141a1a5]{width:100%!important}"),kn.render=function(t,e,a,o,n,c){return i(),r("div",null,[l("video",{style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`}),controls:"",src:a.props.url,poster:a.props.poster,autoplay:a.props.autoplay},null,12,Cn)])},kn.__scopeId="data-v-1141a1a5";var Sn={name:"cyy-ArsenalClass",props:{props:{headImg:String,classList:Array,carIcon:Number,bgColor:String,getBgColor:String,fontColor:String,getfontColor:String,navigationHeight:Number,navigationFontSize:Number,classDomainList:Array}},data(){return{classTitleStyle:{height:this.props.navigationHeight+"px",lineHeight:this.props.navigationHeight+"px",fontSize:this.props.navigationFontSize+"px"},classDomainList:[],domainNameUrl:"",isLc:k,checkClassIndex:-1,targetId:"",scrollTop:0}},mounted(){this.domainNameUrl=z(this),this.classDomainList=JSON.parse(JSON.stringify(this.props.classDomainList)),this.initgoods()},computed:{},methods:{initgoods(){let t=this;return k?this.LcGetGoodsList(t):this.getGoodsList(t)},async LcGetGoodsList(t){let e=t.classDomainList;for(let t of e){if(1==t.changeGoodsType){const e=`${N}?vendibilityFlag=true&childFlag=true&bizType=goods&hjFlag=true&area=北京朝阳区八里庄街道&page=1&rows=20&searchType=match_phrase&goodsType=00,40,41,60,61,62,32&classtreeCode=${t.classtreeCode}&channelCode=${zs}`,a=await Mr(e);t.goodsList=a.list}if(2==t.changeGoodsType){const e=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",a=`${A}?rows=200&page=1&goodsCode=${t.changeGoodsStr.replace("arsenalGoodsClass,","")}&channelCode=${e}`,o=await Mr(a);t.goodsList=o.list}}t.classDomainList=e},async getGoodsList(t){for(let e of t.classDomainList){let a={vendibilityFlag:!0,childFlag:!0,bizType:"goods",hjFlag:!0,area:t.$storage.get("addressValue")?t.$storage.get("addressValue"):"北京朝阳区八里庄街道",page:1,rows:20,searchType:"match_phrase",goodsType:"00,40,41,60,61,62,32",classtreeCode:e.classtreeCode};if(1==e.changeGoodsType){const o=await t.http.get(`${N}`,a);t.$set(e,"goodsList",o.list)}let o={goodsCode:e.changeGoodsStr.replace("arsenalGoodsClass,","")};if(2==e.changeGoodsType){const a=await P(t,o);t.$set(e,"goodsList",a.list)}}},checkClass(t){this.checkClassIndex=t,this.targetId=`item-${t}`},addShoppingShow(t){k||this.$emit("addShoppingShow",t)},getMaskState:t=>"1"===t?"预售中":"补货中",getTextStyle:t=>({color:t.titleColor||"#000000",fontSize:t.titleFontSize||"16px"}),goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},handleScroll(t){this.scrollTop=t.detail.scrollTop}}};const An=["onClick"],Bn=["src"],Nn=["src"],Dn={class:"classContent"},jn=["id"],In=["src"],Tn=["src"],zn=["src"],Pn={class:"text-overlay"},Ln=["src"],On=["onClick"],_n={class:"imgWrapper"},Fn={class:"maskState"},Rn=["src"],Gn={class:"goodsDescription"},$n={class:"goodsPrice"},Mn={key:0,class:"scribing"},Un={class:"goodsBuy"},En=["onClick"];Mo(".headerImg[data-v-2f7e67b4]{width:100%}.classTitle[data-v-2f7e67b4]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle[data-v-2f7e67b4] .classTitleItem[data-v-2f7e67b4]{margin-right:10px}.classTitle[data-v-2f7e67b4] .classTitleItem[data-v-2f7e67b4] .classSpan[data-v-2f7e67b4]{border-radius:20px;padding:4px 12px}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentSpan[data-v-2f7e67b4]{display:flex;justify-content:center;padding:30px 0}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImg[data-v-2f7e67b4]{width:100%}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImgBox[data-v-2f7e67b4]{position:relative;width:100%}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImgBox[data-v-2f7e67b4] .classContentImg[data-v-2f7e67b4]{display:block;height:auto;width:100%}.classContent[data-v-2f7e67b4] .classContentItem[data-v-2f7e67b4] .classContentImgBox[data-v-2f7e67b4] .text-overlay[data-v-2f7e67b4]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-2f7e67b4]{display:grid}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:30%;width:30%}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container[data-v-2f7e67b4].arrange-4[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4]{display:flex;overflow-x:scroll}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{flex:0 0 auto;max-width:32%;width:32%}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:18px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:14px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:20px}.cube-container[data-v-2f7e67b4].arrange-3[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]:not(:last-child){margin-right:10px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{margin:0 5px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4]{position:relative}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .specialGoodsName[data-v-2f7e67b4]{font-size:12px;height:42px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:14px}.cube-container[data-v-2f7e67b4].arrange-2[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgWrapper[data-v-2f7e67b4] .goodsImg[data-v-2f7e67b4]{height:100px;width:100px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{font-size:16px;height:auto}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{font-size:16px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{font-size:12px}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsBuyWrapper[data-v-2f7e67b4]{position:relative}.cube-container[data-v-2f7e67b4].arrange-1[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsBuyWrapper[data-v-2f7e67b4] .goodsBuy[data-v-2f7e67b4]{position:absolute;right:0;top:0}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgWrapper[data-v-2f7e67b4]{position:relative;text-align:center}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgMarked[data-v-2f7e67b4]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .imgMarked[data-v-2f7e67b4] .maskState[data-v-2f7e67b4]{color:#fff;font-size:23px}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .goodsName[data-v-2f7e67b4]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4]{color:#f53a50;font-weight:600}.cube-container[data-v-2f7e67b4] .cube-item[data-v-2f7e67b4] .goodsDescription[data-v-2f7e67b4] .footerContent[data-v-2f7e67b4] .goodsPrice[data-v-2f7e67b4] .scribing[data-v-2f7e67b4]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),Sn.render=function(t,e,a,o,u,v){const y=h("scroll-view");return i(),r("div",null,[l("div",null,[u.scrollTop>20||u.isLc?(i(),r("div",{key:0,class:"classTitle",style:s({backgroundColor:a.props.bgColor})},[(i(!0),r(c,null,d(u.classDomainList,((t,e)=>(i(),r("span",{class:"classTitleItem",key:t.goodsClassId,style:s({height:a.props.navigationHeight+"px",lineHeight:a.props.navigationHeight+"px",fontSize:a.props.navigationFontSize+"px"})},[l("span",{class:"classSpan",onClick:t=>v.checkClass(e),style:s({background:u.checkClassIndex===e?a.props.getBgColor:a.props.bgColor,color:u.checkClassIndex===e?a.props.getfontColor:a.props.fontColor})},n(t.goodsChangeClassName),13,An)],4)))),128))],4)):p("",!0),m(y,{"scroll-y":"true","scroll-with-animation":"true",onScroll:v.handleScroll,"scroll-into-view":u.targetId,style:{height:"100vh"}},{default:b((()=>[a.props.headImg?(i(),r(c,{key:0},[u.isLc?(i(),r("img",{key:0,class:"headerImg",src:a.props.headImg},null,8,Bn)):(i(),r("image",{key:1,class:"headerImg",src:a.props.headImg,mode:"widthFix"},null,8,Nn))],64)):p("",!0),l("div",Dn,[(i(!0),r(c,null,d(u.classDomainList,((t,e)=>(i(),r("div",{class:"classContentItem",key:t.goodsClassId,id:"item-"+e},[t.classfooterImg?(i(),r("div",{key:1,class:"classContentImgBox",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[u.isLc?(i(),r("img",{key:0,class:"classContentImg",src:t.classfooterImg},null,8,Tn)):(i(),r("image",{key:1,class:"classContentImg",src:t.classfooterImg,mode:"widthFix"},null,8,zn)),l("div",Pn,[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,Ln)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},n(t.goodsChangeClassName),5)):p("",!0)])],4)):(i(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,In)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},n(t.goodsChangeClassName),5)):p("",!0)],4)),l("div",{class:g(["cube-container",`arrange-${t.showTitle}`,{isLc:u.isLc}]),style:s({backgroundColor:t.goodsBgColor})},[(i(!0),r(c,null,d(t.goodsList,((e,a)=>(i(),r("div",{class:"cube-item",style:s({marginTop:`${t.goodsMt}px`,marginBottom:`${t.goodsBt}px`}),key:e.skuCode,onClick:t=>v.goGoodsDetail(e)},[l("div",_n,[!1===u.isLc&&(e.goodsSupplynum<=0||"1"===e.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${t.borderRaduils}px`})},[l("div",Fn,n(v.getMaskState(e.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:e.dataPic?-1===e.dataPic.indexOf("http")?u.domainNameUrl+e.dataPic:e.dataPic:"",alt:"",style:s({borderRadius:`${t.borderRaduils}px`})},null,12,Rn)]),l("div",Gn,[!0===u.isLc&&2===t.showTitle?(i(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},n(e.goodsName),5)):(i(),r("div",{key:1,class:"goodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},n(e.goodsName),5)),l("section",{class:"footerContent",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},[l("div",$n,[f(" ¥"+n(e.pricesetNprice)+" ",1),1===t.underLineFlag?(i(),r("div",Mn,"¥"+n(e.pricesetMakeprice),1)):p("",!0)]),l("div",Un,[l("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:w((t=>v.addShoppingShow(e)),["stop"]),style:{height:"25px",width:"25px"}},null,8,En)])],4)])],12,On)))),128))],6)],8,jn)))),128))])])),_:1},8,["onScroll","scroll-into-view"])])])},Sn.__scopeId="data-v-2f7e67b4";var Kn={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}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:k}),mounted(){this.init()},watch:{"props.creatDate"(){this.init()},"props.priceRange"(){this.init()},"props.goodsType"(){this.init()}},methods:{formatDate:t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`,parseCreatDate(t){if(!t)return{};try{const e=JSON.parse(t);if("days"===e.type){const t=new Date,a=new Date(t.getTime()-24*Number(e.value)*60*60*1e3);return{gmtCreateQstart:this.formatDate(a),gmtCreateQend:this.formatDate(t)}}if("range"===e.type)return{gmtCreateQstart:e.start||"",gmtCreateQend:e.end||""}}catch(t){return console.error("时间解析错误",t),{}}},parsePriceRange(t){if(!t)return{};try{const e=JSON.parse(t);return{pricesetNpriceQmin:e.min||"",pricesetNpriceQmax:e.max||""}}catch(t){return console.error("价格解析错误",t),{}}},async init(){this.domainNameUrl=z(this);const{creatDate:t,priceRange:e,goodsType:a}=this.props,i=this.parseCreatDate(t),r=this.parsePriceRange(e),s={isNewArrival:1,rows:"200",page:"1",...i,...r};if(a&&(s.goodsType=a),k){const t=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"";t&&(s.channelCode=t)}const n=new URLSearchParams(s).toString(),c={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"};k&&(c["saas-token"]=localStorage.getItem("saas-token"));const d=await fetch(process.env.REACT_APP_BASE_URL+A+"?"+n,{method:"GET",headers:c,credentials:"include"}).then((t=>t.json())).catch((t=>(console.log("接口请求错误",t),{})));this.listArr=o(d,"list",[]),console.log("【新品专区】查询到商品数量:",this.listArr.length,"筛选条件:",{gmtCreateQstart:i.gmtCreateQstart,gmtCreateQend:i.gmtCreateQend},{pricesetNpriceQmin:r.pricesetNpriceQmin,pricesetNpriceQmax:r.pricesetNpriceQmax},{goodsType:a,isNewArrival:1},"商品列表:",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:e}=t;let a={skuNo:e};this.$routers.push("detail",a)},getMaskState:t=>"1"===t?"预售中":"补货中"}};const Wn={key:1},Vn={class:"header-title"},Hn={class:"header-subtitle"},Qn=["onClick"],Yn={class:"imgWrapper"},qn={class:"maskState"},Xn=["src"],Jn={class:"goodsDescription"},Zn={key:0,class:"specialGoodsName"},tc={key:1,class:"goodsName"},ec={class:"footerContent"},ac={class:"goodsPrice"},oc={key:0,class:"scribing"},ic=(t=>(u("data-v-1177a79a"),t=t(),v(),t))((()=>l("div",{class:"goodsBuy"},"立即购买",-1)));Mo(".new-product-header[data-v-1177a79a]{align-items:center;display:flex;justify-content:space-between;padding:12px 16px}.new-product-header[data-v-1177a79a] .header-title[data-v-1177a79a]{color:#333;font-size:18px;font-weight:600}.new-product-header[data-v-1177a79a] .header-subtitle[data-v-1177a79a]{color:#999;font-size:14px}.cube-container[data-v-1177a79a]{display:grid}.cube-container[data-v-1177a79a].arrange-1[data-v-1177a79a]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-1177a79a].arrange-1[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsImg[data-v-1177a79a]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-1177a79a].arrange-1[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsName[data-v-1177a79a]{font-size:20px}.cube-container[data-v-1177a79a].arrange-1[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a]{font-size:18px}.cube-container[data-v-1177a79a].arrange-1[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a] .scribing[data-v-1177a79a]{font-size:14px}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a]{margin:0 5px}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsImg[data-v-1177a79a]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a]{position:relative}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsName[data-v-1177a79a]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .specialGoodsName[data-v-1177a79a]{font-size:12px;height:42px}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a]{font-size:14px}.cube-container[data-v-1177a79a].arrange-2[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a] .scribing[data-v-1177a79a]{font-size:12px}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a]{display:flex;overflow-x:scroll}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a] .cube-item[data-v-1177a79a]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsImg[data-v-1177a79a]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsPrice[data-v-1177a79a]{font-size:18px}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsPrice[data-v-1177a79a] .scribing[data-v-1177a79a]{font-size:14px}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsName[data-v-1177a79a]{font-size:20px}.cube-container[data-v-1177a79a].arrange-3[data-v-1177a79a] .cube-item[data-v-1177a79a]:not(:last-child){margin-right:10px}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a]{grid-template-columns:repeat(3,1fr)}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a] .cube-item[data-v-1177a79a]{margin:0 5px}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsImg[data-v-1177a79a]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a]{position:relative}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsName[data-v-1177a79a]{font-size:13px;height:36px}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a]{font-size:13px}.cube-container[data-v-1177a79a].arrange-5[data-v-1177a79a] .cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a] .scribing[data-v-1177a79a]{font-size:11px}.cube-item[data-v-1177a79a] .imgWrapper[data-v-1177a79a]{position:relative;text-align:center}.cube-item[data-v-1177a79a] .imgMarked[data-v-1177a79a]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-item[data-v-1177a79a] .imgMarked[data-v-1177a79a] .maskState[data-v-1177a79a]{color:#fff;font-size:23px}.cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a]{display:flex;flex-direction:column;justify-content:space-between}.cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsName[data-v-1177a79a]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a]{align-items:flex-end;display:flex;justify-content:space-between}.cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a]{color:#f53a50;font-weight:600}.cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .footerContent[data-v-1177a79a] .goodsPrice[data-v-1177a79a] .scribing[data-v-1177a79a]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-item[data-v-1177a79a] .goodsDescription[data-v-1177a79a] .goodsBuy[data-v-1177a79a]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Kn.render=function(t,e,a,o,u,v){return u.listArr.length?(i(),r("div",Wn,[a.props.title||a.props.subTitle?(i(),r("div",{key:0,class:"new-product-header",style:s({backgroundColor:a.props.backgroundColor})},[l("div",Vn,n(a.props.title),1),l("div",Hn,n(a.props.subTitle),1)],4)):p("",!0),l("div",{class:g(["cube-container",`arrange-${a.props.arrange}`]),style:s({marginTop:`${a.props.marginTop}px`,marginBottom:`${a.props.marginBottom}px`,gap:`${a.props.margin}px`})},[(i(!0),r(c,null,d(u.listArr,((t,e)=>(i(),r("div",{class:"cube-item",key:t.skuCode,onClick:e=>v.goGoodsDetail(t)},[l("div",Yn,[!1===u.isLc&&(t.goodsSupplynum<=0||"1"===t.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${a.props.borderRadius}px`})},[l("div",qn,n(v.getMaskState(t.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:t.dataPic?-1===t.dataPic.indexOf("http")?u.domainNameUrl+t.dataPic:t.dataPic:"",alt:"",style:s({borderRadius:`${a.props.borderRadius}px`})},null,12,Xn)]),l("div",Jn,[!0===u.isLc&&2===a.props.arrange?(i(),r("div",Zn,n(t.goodsName),1)):(i(),r("div",tc,n(t.goodsName),1)),l("section",ec,[l("div",ac,[f(" ¥"+n(t.pricesetNprice)+" ",1),1===a.props.markedPrice?(i(),r("div",oc,"¥"+n(t.pricesetMakeprice),1)):p("",!0)]),ic])])],8,Qn)))),128))],6)])):(i(),r("div",{key:0,style:s(u.noDataStyle)},"暂无新品商品",4))},Kn.__scopeId="data-v-1177a79a";export{Ps as ArsenalActivity,Fi as ArsenalCarousel,Sn as ArsenalClass,ji as ArsenalNavigation,Ai as ArsenalPicture,hr as ArsenalTop,Ki as Collocation,Go as Cube,Wo as Goods,di as GoodsOne,Ur as Live,Kn as NewProduct,bs as Notice,Uo as Search,ii as Slider,Ro as Title,kn as Video};
|
package/package.json
CHANGED
|
@@ -85,6 +85,20 @@
|
|
|
85
85
|
>
|
|
86
86
|
{{ ele.goodsChangeClassName }}
|
|
87
87
|
</span>
|
|
88
|
+
<!-- 类型为代金券的时候显示 -->
|
|
89
|
+
<div class="coupon" v-if="ele.promotionType == '4'">
|
|
90
|
+
<div class="left">
|
|
91
|
+
<div class="card">代金券</div>
|
|
92
|
+
<div class="price">面额10元</div>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="right">
|
|
95
|
+
<div class="right-container">
|
|
96
|
+
<span class="discount">满100减10</span>
|
|
97
|
+
<span class="date">2025.06.03至2025.06.30</span>
|
|
98
|
+
</div>
|
|
99
|
+
<span class="get_btn">点击领取</span>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
88
102
|
</div>
|
|
89
103
|
</div>
|
|
90
104
|
|
|
@@ -366,6 +380,59 @@ export default {
|
|
|
366
380
|
display: flex;
|
|
367
381
|
justify-content: center;
|
|
368
382
|
align-items: center;
|
|
383
|
+
flex-direction: column;
|
|
384
|
+
.coupon {
|
|
385
|
+
display: flex;
|
|
386
|
+
position: relative;
|
|
387
|
+
width: 90%;
|
|
388
|
+
height: 100px;
|
|
389
|
+
background-color: #fff;
|
|
390
|
+
border-radius: 30px;
|
|
391
|
+
margin-top: 20px;
|
|
392
|
+
.left {
|
|
393
|
+
width: 100px;
|
|
394
|
+
height: 100px;
|
|
395
|
+
border-right: 1px dashed #ccc;
|
|
396
|
+
display: flex;
|
|
397
|
+
flex-direction: column;
|
|
398
|
+
justify-content: center;
|
|
399
|
+
align-items: center;
|
|
400
|
+
.card {
|
|
401
|
+
font-size: 20px;
|
|
402
|
+
color: #EB5555;
|
|
403
|
+
}
|
|
404
|
+
.price {
|
|
405
|
+
font-size: 12px;
|
|
406
|
+
color: #888;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
.right {
|
|
410
|
+
display: flex;
|
|
411
|
+
justify-content: center;
|
|
412
|
+
align-items: center;
|
|
413
|
+
margin-left: 10px;
|
|
414
|
+
.right-container {
|
|
415
|
+
display: flex;
|
|
416
|
+
flex-direction: column;
|
|
417
|
+
justify-content: space-around;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.date {
|
|
421
|
+
margin-top: 15px;
|
|
422
|
+
font-size: 12px;
|
|
423
|
+
color: #888;
|
|
424
|
+
}
|
|
425
|
+
.get_btn {
|
|
426
|
+
width: 68px;
|
|
427
|
+
height: 20px;
|
|
428
|
+
line-height: 20px;
|
|
429
|
+
text-align: center;
|
|
430
|
+
color: #f1f1f1;
|
|
431
|
+
background-color: #EB5555;
|
|
432
|
+
border-radius: 20px;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
369
436
|
}
|
|
370
437
|
}
|
|
371
438
|
|
|
@@ -556,4 +623,5 @@ export default {
|
|
|
556
623
|
}
|
|
557
624
|
}
|
|
558
625
|
|
|
626
|
+
|
|
559
627
|
</style>
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
//新品专区
|
|
2
|
+
<template>
|
|
3
|
+
<div v-if="!listArr.length" :style="noDataStyle">暂无新品商品</div>
|
|
4
|
+
<div v-else>
|
|
5
|
+
<!--标题-->
|
|
6
|
+
<div v-if="props.title||props.subTitle" class="new-product-header" :style="{backgroundColor:props.backgroundColor}">
|
|
7
|
+
<div class="header-title">{{ props.title }}</div>
|
|
8
|
+
<div class="header-subtitle">{{ props.subTitle }}</div>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<div :class="['cube-container',`arrange-${props.arrange}`]" :style="{marginTop:`${props.marginTop}px`,marginBottom:`${props.marginBottom}px`,gap:`${props.margin}px`}">
|
|
12
|
+
<div v-for="(item, index) in listArr" class="cube-item" :key="item.skuCode" @click="goGoodsDetail(item)">
|
|
13
|
+
<div class="imgWrapper">
|
|
14
|
+
<div
|
|
15
|
+
v-if="isLc === false && (item.goodsSupplynum <= 0 || item.goodsProperty5 === '1')"
|
|
16
|
+
class="imgMarked"
|
|
17
|
+
:style="{
|
|
18
|
+
borderRadius: `${props.borderRadius}px`,
|
|
19
|
+
}"
|
|
20
|
+
>
|
|
21
|
+
<div class="maskState">
|
|
22
|
+
{{ getMaskState(item.goodsProperty5) }}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<img
|
|
26
|
+
class="goodsImg"
|
|
27
|
+
:src="item.dataPic ? (item.dataPic.indexOf('http') === -1 ? domainNameUrl + item.dataPic : item.dataPic) : ''"
|
|
28
|
+
alt=""
|
|
29
|
+
:style="{
|
|
30
|
+
borderRadius: `${props.borderRadius}px`,
|
|
31
|
+
}"
|
|
32
|
+
/>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="goodsDescription">
|
|
36
|
+
<div v-if="isLc === true && props.arrange === 2" class="specialGoodsName">{{ item.goodsName }}</div>
|
|
37
|
+
<div v-else class="goodsName">{{ item.goodsName }}</div>
|
|
38
|
+
<section class="footerContent">
|
|
39
|
+
<div class="goodsPrice">
|
|
40
|
+
¥{{ item.pricesetNprice }}
|
|
41
|
+
<div class="scribing" v-if="props.markedPrice === 1">¥{{ item.pricesetMakeprice }}</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="goodsBuy">立即购买</div>
|
|
44
|
+
</section>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import {querySkuFromJm} from "../../api/index.js";
|
|
56
|
+
import {isLc,getUrl} from "../../utils/index.js";
|
|
57
|
+
import {filter, get} from "lodash-es";
|
|
58
|
+
export default {
|
|
59
|
+
name:"cyy-new-product",
|
|
60
|
+
props:{
|
|
61
|
+
props:{
|
|
62
|
+
goods:Array,
|
|
63
|
+
SelectGoods:Object,
|
|
64
|
+
arrange:Number,
|
|
65
|
+
borderRadius:Number,
|
|
66
|
+
margin:Number,
|
|
67
|
+
markedPrice:Number,
|
|
68
|
+
marginTop:Number,
|
|
69
|
+
marginBottom:Number,
|
|
70
|
+
creatDate:String,
|
|
71
|
+
priceRange:String,
|
|
72
|
+
goodsType:String,
|
|
73
|
+
title:String,
|
|
74
|
+
subTitle:String,
|
|
75
|
+
backgroundColor:String,
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
data(){
|
|
79
|
+
|
|
80
|
+
return{
|
|
81
|
+
listArr:[],
|
|
82
|
+
noDataStyle:{
|
|
83
|
+
width: "100%",
|
|
84
|
+
height: "180px",
|
|
85
|
+
lineHeight: "180px",
|
|
86
|
+
fontSize: "30px",
|
|
87
|
+
backgroundColor: "#ccc",
|
|
88
|
+
color: "#aaa",
|
|
89
|
+
textAlign: "center",
|
|
90
|
+
// display:'flex',
|
|
91
|
+
// justifyContent:'center',
|
|
92
|
+
// alignItems:'center',
|
|
93
|
+
// height:'100px',
|
|
94
|
+
// fontSize:'14px',
|
|
95
|
+
// color:'#999'
|
|
96
|
+
},
|
|
97
|
+
domainNameUrl: "",
|
|
98
|
+
isLc: isLc,
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
computed:{
|
|
102
|
+
filterKey(){
|
|
103
|
+
return(this.props.creatDate||'')+'|'+(this.props.priceRange||'')+'|'+(this.props.goodsType||'');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
},
|
|
107
|
+
mounted(){
|
|
108
|
+
|
|
109
|
+
},
|
|
110
|
+
watch:{
|
|
111
|
+
fiterKey(){
|
|
112
|
+
handler(){
|
|
113
|
+
const {creatDate,priceRange,goodsType}=this.props;
|
|
114
|
+
if(creatDate&&priceRange&&goodsType){
|
|
115
|
+
this.init();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
}
|
|
119
|
+
immediate:true,
|
|
120
|
+
// 'props.creatDate'(){ this.init(); },
|
|
121
|
+
// 'props.priceRange'(){ this.init(); },
|
|
122
|
+
// 'props.goodsType'(){ this.init(); },
|
|
123
|
+
},
|
|
124
|
+
methods:{
|
|
125
|
+
formatDate(date){
|
|
126
|
+
const y=date.getFullYear();
|
|
127
|
+
const m=String(date.getMonth()+1).padStart(2,'0');
|
|
128
|
+
const d=String(date.getDate()).padStart(2,'0');
|
|
129
|
+
return `${y}-${m}-${d}`;
|
|
130
|
+
},
|
|
131
|
+
//解析时间
|
|
132
|
+
parseCreatDate(creatDate){
|
|
133
|
+
if(!creatDate) return {};
|
|
134
|
+
try{
|
|
135
|
+
const cfg=JSON.parse(creatDate);
|
|
136
|
+
if(cfg.type==='days'){
|
|
137
|
+
const now=new Date();
|
|
138
|
+
const start=new Date(now.getTime()-Number(cfg.value)*24*60*60*1000);
|
|
139
|
+
return{
|
|
140
|
+
gmtCreateQstart:this.formatDate(start),
|
|
141
|
+
gmtCreateQend:this.formatDate(now)
|
|
142
|
+
}
|
|
143
|
+
}else if(cfg.type==='range'){
|
|
144
|
+
return{
|
|
145
|
+
gmtCreateQstart:cfg.start||"",
|
|
146
|
+
gmtCreateQend:cfg.end||""
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
}catch(e){
|
|
151
|
+
console.error("时间解析错误",e);
|
|
152
|
+
return {};
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
//解析价格
|
|
156
|
+
parsePriceRange(priceRange){
|
|
157
|
+
if(!priceRange) return {};
|
|
158
|
+
try{
|
|
159
|
+
const range=JSON.parse(priceRange);
|
|
160
|
+
return{
|
|
161
|
+
pricesetNpriceQmin:range.min||"",
|
|
162
|
+
pricesetNpriceQmax:range.max||""
|
|
163
|
+
}
|
|
164
|
+
}catch(e){
|
|
165
|
+
console.error("价格解析错误",e);
|
|
166
|
+
return {};
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
//接口查询新品商品
|
|
170
|
+
async init(){
|
|
171
|
+
this.domainNameUrl=getUrl(this);
|
|
172
|
+
const {creatDate,priceRange,goodsType}=this.props;
|
|
173
|
+
if(!creatDate||!priceRange||!goodsType){
|
|
174
|
+
this.lisArr=[];
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
const dateParams=this.parseCreatDate(creatDate);
|
|
178
|
+
const priceParams=this.parsePriceRange(priceRange);
|
|
179
|
+
|
|
180
|
+
//isNewArrival:1
|
|
181
|
+
const baseParams={
|
|
182
|
+
isNewArrival:1,
|
|
183
|
+
rows:"200",
|
|
184
|
+
page:"1",
|
|
185
|
+
...dateParams,
|
|
186
|
+
...priceParams,
|
|
187
|
+
}
|
|
188
|
+
//商品类型多个用逗号分隔
|
|
189
|
+
if(goodsType){
|
|
190
|
+
baseParams.goodsType=goodsType;
|
|
191
|
+
}
|
|
192
|
+
if(isLc){
|
|
193
|
+
const urlParams= new URLSearchParams(
|
|
194
|
+
(window.location.hash.split("?")[1]||window.location.search)
|
|
195
|
+
);
|
|
196
|
+
const channelCode=urlParams.get("channelCode")||"";
|
|
197
|
+
if(channelCode){
|
|
198
|
+
baseParams.channelCode=channelCode;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
const queryStr=new URLSearchParams(baseParams).toString();
|
|
202
|
+
const headers={
|
|
203
|
+
"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8",
|
|
204
|
+
};
|
|
205
|
+
if(isLc){
|
|
206
|
+
headers["saas-token"]=localStorage.getItem("saas-token");
|
|
207
|
+
}
|
|
208
|
+
const res=await fetch(
|
|
209
|
+
process.env.REACT_APP_BASE_URL+querySkuFromJm+"?"+queryStr,
|
|
210
|
+
{
|
|
211
|
+
method:"GET",
|
|
212
|
+
headers,
|
|
213
|
+
credentials:"include",
|
|
214
|
+
}
|
|
215
|
+
).then((r)=>r.json())
|
|
216
|
+
.catch((e)=>{
|
|
217
|
+
console.log("接口请求错误",e);
|
|
218
|
+
return {};
|
|
219
|
+
})
|
|
220
|
+
this.listArr=get(res,"list",[]);
|
|
221
|
+
console.log(
|
|
222
|
+
"【新品专区】查询到商品数量:",
|
|
223
|
+
this.listArr.length,
|
|
224
|
+
"筛选条件:",
|
|
225
|
+
{ gmtCreateQstart: dateParams.gmtCreateQstart, gmtCreateQend: dateParams.gmtCreateQend },
|
|
226
|
+
{ pricesetNpriceQmin: priceParams.pricesetNpriceQmin, pricesetNpriceQmax: priceParams.pricesetNpriceQmax },
|
|
227
|
+
{ goodsType, isNewArrival: 1 },
|
|
228
|
+
"商品列表:",
|
|
229
|
+
this.listArr);
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
},
|
|
233
|
+
goGoodsDetail(item) {
|
|
234
|
+
if (isLc) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
const { skuCode } = item;
|
|
238
|
+
let params = {
|
|
239
|
+
skuNo: skuCode,
|
|
240
|
+
};
|
|
241
|
+
this.$routers.push("detail", params);
|
|
242
|
+
},
|
|
243
|
+
|
|
244
|
+
getMaskState(state) {
|
|
245
|
+
if (state === "1") {
|
|
246
|
+
return "预售中";
|
|
247
|
+
} else {
|
|
248
|
+
return "补货中";
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
</script>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
<style lang="less" scoped>
|
|
259
|
+
.new-product-header {
|
|
260
|
+
display: flex;
|
|
261
|
+
justify-content: space-between;
|
|
262
|
+
align-items: center;
|
|
263
|
+
padding: 12px 16px;
|
|
264
|
+
.header-title {
|
|
265
|
+
font-size: 18px;
|
|
266
|
+
font-weight: 600;
|
|
267
|
+
color: #333;
|
|
268
|
+
}
|
|
269
|
+
.header-subtitle {
|
|
270
|
+
font-size: 14px;
|
|
271
|
+
color: #999;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* ========== 布局(与 Goods 完全一致) ========== */
|
|
276
|
+
.cube-container {
|
|
277
|
+
display: grid;
|
|
278
|
+
&.arrange-1 {
|
|
279
|
+
grid-template-columns: repeat(1, 1fr);
|
|
280
|
+
.cube-item {
|
|
281
|
+
.goodsImg {
|
|
282
|
+
width: 100%;
|
|
283
|
+
height: 100%;
|
|
284
|
+
aspect-ratio: 1;
|
|
285
|
+
margin-left: auto;
|
|
286
|
+
margin-right: auto;
|
|
287
|
+
}
|
|
288
|
+
.goodsDescription {
|
|
289
|
+
.goodsName {
|
|
290
|
+
font-size: 20px;
|
|
291
|
+
}
|
|
292
|
+
.footerContent {
|
|
293
|
+
.goodsPrice {
|
|
294
|
+
font-size: 18px;
|
|
295
|
+
.scribing {
|
|
296
|
+
font-size: 14px;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
&.arrange-2 {
|
|
304
|
+
grid-template-columns: repeat(2, 1fr);
|
|
305
|
+
.cube-item {
|
|
306
|
+
margin: 0 5px;
|
|
307
|
+
.goodsImg {
|
|
308
|
+
width: 100%;
|
|
309
|
+
height: 100%;
|
|
310
|
+
aspect-ratio: 1;
|
|
311
|
+
}
|
|
312
|
+
.goodsDescription {
|
|
313
|
+
position: relative;
|
|
314
|
+
.goodsName {
|
|
315
|
+
font-size: 16px;
|
|
316
|
+
height: 42px;
|
|
317
|
+
width: 41vw;
|
|
318
|
+
}
|
|
319
|
+
.specialGoodsName {
|
|
320
|
+
font-size: 12px;
|
|
321
|
+
height: 42px;
|
|
322
|
+
}
|
|
323
|
+
.footerContent {
|
|
324
|
+
.goodsPrice {
|
|
325
|
+
font-size: 14px;
|
|
326
|
+
.scribing {
|
|
327
|
+
font-size: 12px;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
&.arrange-3 {
|
|
335
|
+
display: flex;
|
|
336
|
+
overflow-x: scroll;
|
|
337
|
+
.cube-item {
|
|
338
|
+
flex: 0 0 auto;
|
|
339
|
+
width: 100%;
|
|
340
|
+
max-width: 100%;
|
|
341
|
+
.goodsImg {
|
|
342
|
+
width: 100%;
|
|
343
|
+
height: 100%;
|
|
344
|
+
aspect-ratio: 1;
|
|
345
|
+
}
|
|
346
|
+
.goodsDescription {
|
|
347
|
+
.goodsPrice {
|
|
348
|
+
font-size: 18px;
|
|
349
|
+
.scribing {
|
|
350
|
+
font-size: 14px;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
.goodsName {
|
|
354
|
+
font-size: 20px;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
.cube-item:not(:last-child) {
|
|
359
|
+
margin-right: 10px;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
&.arrange-5 {
|
|
363
|
+
grid-template-columns: repeat(3, 1fr);
|
|
364
|
+
.cube-item {
|
|
365
|
+
margin: 0 5px;
|
|
366
|
+
.goodsImg {
|
|
367
|
+
width: 100%;
|
|
368
|
+
height: 100%;
|
|
369
|
+
aspect-ratio: 1;
|
|
370
|
+
}
|
|
371
|
+
.goodsDescription {
|
|
372
|
+
position: relative;
|
|
373
|
+
.goodsName {
|
|
374
|
+
font-size: 13px;
|
|
375
|
+
height: 36px;
|
|
376
|
+
}
|
|
377
|
+
.footerContent {
|
|
378
|
+
.goodsPrice {
|
|
379
|
+
font-size: 13px;
|
|
380
|
+
.scribing {
|
|
381
|
+
font-size: 11px;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/* ========== 通用商品卡片样式(与 Goods 一致) ========== */
|
|
391
|
+
.cube-item {
|
|
392
|
+
.imgWrapper {
|
|
393
|
+
position: relative;
|
|
394
|
+
text-align: center;
|
|
395
|
+
}
|
|
396
|
+
.imgMarked {
|
|
397
|
+
position: absolute;
|
|
398
|
+
top: 0;
|
|
399
|
+
left: 0;
|
|
400
|
+
width: 100%;
|
|
401
|
+
height: 100%;
|
|
402
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
403
|
+
display: flex;
|
|
404
|
+
justify-content: center;
|
|
405
|
+
align-items: center;
|
|
406
|
+
z-index: 100;
|
|
407
|
+
.maskState {
|
|
408
|
+
font-size: 23px;
|
|
409
|
+
color: white;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
.goodsDescription {
|
|
413
|
+
display: flex;
|
|
414
|
+
flex-direction: column;
|
|
415
|
+
justify-content: space-between;
|
|
416
|
+
.goodsName {
|
|
417
|
+
display: -webkit-box;
|
|
418
|
+
-webkit-line-clamp: 2;
|
|
419
|
+
-webkit-box-orient: vertical;
|
|
420
|
+
overflow: hidden;
|
|
421
|
+
text-overflow: ellipsis;
|
|
422
|
+
}
|
|
423
|
+
.footerContent {
|
|
424
|
+
display: flex;
|
|
425
|
+
justify-content: space-between;
|
|
426
|
+
align-items: flex-end;
|
|
427
|
+
.goodsPrice {
|
|
428
|
+
color: #f53a50;
|
|
429
|
+
font-weight: 600;
|
|
430
|
+
.scribing {
|
|
431
|
+
display: inline-block;
|
|
432
|
+
color: #ccc;
|
|
433
|
+
text-decoration: line-through;
|
|
434
|
+
font-weight: normal;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
.goodsBuy {
|
|
439
|
+
text-align: center;
|
|
440
|
+
border-radius: 5px;
|
|
441
|
+
background-color: red;
|
|
442
|
+
color: white;
|
|
443
|
+
align-self: flex-end;
|
|
444
|
+
font-size: 12px;
|
|
445
|
+
line-height: 22px;
|
|
446
|
+
width: 5em;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
</style>
|
package/src/package/index.js
CHANGED
|
@@ -14,3 +14,5 @@ export { default as Notice } from "./cyy-notice/cyy-notice.vue";
|
|
|
14
14
|
export { default as ArsenalActivity } from "./cyy-ArsenalActivity/cyy-ArsenalActivity.vue";
|
|
15
15
|
export { default as Video } from "./cyy-video/cyy-video.vue";
|
|
16
16
|
export { default as ArsenalClass } from "./cyy-ArsenalClass/cyy-ArsenalClass.vue";
|
|
17
|
+
export { default as NewProduct } from "./cyy-new-product/cyy-new-product.vue";
|
|
18
|
+
export { default as ArsenalPromotion } from "./cyy-ArsenalPromotion/cyy-ArsenalPromotion.vue";
|