cyy-vue-material 1.1.90 → 1.2.91
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 +1 -0
- package/package.json +1 -1
- package/src/package/cyy-ArsenalClass/cyy-ArsenalClass.vue +4 -1
- package/src/package/cyy-collocation/cyy-collocation.vue +17 -2
- package/src/package/index.js +0 -1
- package/src/utils/fetchFactory.js +5 -2
- package/src/package/cyy-ArsenalPromotion/cyy-ArsenalPromotion.vue +0 -555
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isEmpty as t,isEqual as a,isUndefined as e,get as o}from"lodash-es";import{openBlock as i,createElementBlock as r,normalizeStyle as s,toDisplayString as d,Fragment as n,renderList as c,createElementVNode as l,createCommentVNode as p,normalizeClass as f,createTextVNode as g,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 a={};for(let e in t)a[e]=S(t[e]);return a},S=t=>k?t+"px":2*t+"rpx",A="web/rs/sku/querySkuFromJm.json",B="/web/pm/promotionplat/queryPromotionPageForC.json",j="/web/es/searchengine/find.json",N="/web/inf/infuencer/queryInfuencerAndChild.json",I=t=>{const{mGoodsInfo:a}=P[t];return a},T=(t,a,e)=>{P[t]={mGoodsInfo:e,mGoods:a}},D=t=>{const{goods:e,id:o}=t.props,{mGoods:i}=P[o]||{};return a(e,i)},z=t=>k?process.env.REACT_APP_BASE_URL:t.$imgDomain;const L=function(){const a=async(a,e)=>{const{id:o,goods:i}=a.props;if(t(i))return Promise.resolve({list:[]});if(D(a))return Promise.resolve(I(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&skuCodeStr="+e.skuCode+"&channelCode="+r,{method:"GET",headers:{"saas-token":s,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>(T(o,i,t),t)))};return k?a:async(t,a)=>{const{list:e}=await t.http.get("web/es/searchengine/find.json?rows=200&page=1",a),o=a.skuCode.split(",");let i=[];return o.forEach((t=>{e.forEach((a=>{a.skuCode===t&&i.push(a)}))})),console.log("findList",i),{list:i}}}(),P={};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,E=$.hasOwnProperty,K=$.toString,M=G?G.toStringTag:void 0;var U=Object.prototype.toString;var V="[object Null]",W="[object Undefined]",H=G?G.toStringTag:void 0;function q(t){return null==t?void 0===t?W:V:H&&H in Object(t)?function(t){var a=E.call(t,M),e=t[M];try{t[M]=void 0;var o=!0}catch(t){}var i=K.call(t);return o&&(a?t[M]=e:delete t[M]),i}(t):function(t){return U.call(t)}(t)}function Y(t){return null!=t&&"object"==typeof t}var X="[object Symbol]";function Q(t){return"symbol"==typeof t||Y(t)&&q(t)==X}var J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/;function tt(t){var a=typeof t;return null!=t&&("object"==a||"function"==a)}var at="[object AsyncFunction]",et="[object Function]",ot="[object GeneratorFunction]",it="[object Proxy]";function rt(t){if(!tt(t))return!1;var a=q(t);return a==et||a==ot||a==at||a==it}var st,dt=R["__core-js_shared__"],nt=(st=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||""))?"Symbol(src)_1."+st:"";var ct=Function.prototype.toString;function lt(t){if(null!=t){try{return ct.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var pt=/^\[object .+?Constructor\]$/,ft=Function.prototype,gt=Object.prototype,ut=ft.toString,vt=gt.hasOwnProperty,ht=RegExp("^"+ut.call(vt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function mt(t){return!(!tt(t)||(a=t,nt&&nt in a))&&(rt(t)?ht:pt).test(lt(t));var a}function bt(t,a){var e=function(t,a){return null==t?void 0:t[a]}(t,a);return mt(e)?e: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 a=-1,e=null==t?0:t.length;for(this.clear();++a<e;){var o=t[a];this.set(o[0],o[1])}}function At(t,a){return t===a||t!=t&&a!=a}function Bt(t,a){for(var e=t.length;e--;)if(At(t[e][0],a))return e;return-1}St.prototype.clear=function(){this.__data__=yt?yt(null):{},this.size=0},St.prototype.delete=function(t){var a=this.has(t)&&delete this.__data__[t];return this.size-=a?1:0,a},St.prototype.get=function(t){var a=this.__data__;if(yt){var e=a[t];return e===xt?void 0:e}return wt.call(a,t)?a[t]:void 0},St.prototype.has=function(t){var a=this.__data__;return yt?void 0!==a[t]:kt.call(a,t)},St.prototype.set=function(t,a){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=yt&&void 0===a?Ct:a,this};var jt=Array.prototype.splice;function Nt(t){var a=-1,e=null==t?0:t.length;for(this.clear();++a<e;){var o=t[a];this.set(o[0],o[1])}}Nt.prototype.clear=function(){this.__data__=[],this.size=0},Nt.prototype.delete=function(t){var a=this.__data__,e=Bt(a,t);return!(e<0)&&(e==a.length-1?a.pop():jt.call(a,e,1),--this.size,!0)},Nt.prototype.get=function(t){var a=this.__data__,e=Bt(a,t);return e<0?void 0:a[e][1]},Nt.prototype.has=function(t){return Bt(this.__data__,t)>-1},Nt.prototype.set=function(t,a){var e=this.__data__,o=Bt(e,t);return o<0?(++this.size,e.push([t,a])):e[o][1]=a,this};var It=bt(R,"Map");function Tt(t,a){var e,o,i=t.__data__;return("string"==(o=typeof(e=a))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==e:null===e)?i["string"==typeof a?"string":"hash"]:i.map}function Dt(t){var a=-1,e=null==t?0:t.length;for(this.clear();++a<e;){var o=t[a];this.set(o[0],o[1])}}Dt.prototype.clear=function(){this.size=0,this.__data__={hash:new St,map:new(It||Nt),string:new St}},Dt.prototype.delete=function(t){var a=Tt(this,t).delete(t);return this.size-=a?1:0,a},Dt.prototype.get=function(t){return Tt(this,t).get(t)},Dt.prototype.has=function(t){return Tt(this,t).has(t)},Dt.prototype.set=function(t,a){var e=Tt(this,t),o=e.size;return e.set(t,a),this.size+=e.size==o?0:1,this};var zt="Expected a function";function Lt(t,a){if("function"!=typeof t||null!=a&&"function"!=typeof a)throw new TypeError(zt);var e=function(){var o=arguments,i=a?a.apply(this,o):o[0],r=e.cache;if(r.has(i))return r.get(i);var s=t.apply(this,o);return e.cache=r.set(i,s)||r,s};return e.cache=new(Lt.Cache||Dt),e}Lt.Cache=Dt;var Pt=500;var Ot,_t,Ft,Rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/\\(\\)?/g,$t=(Ot=function(t){var a=[];return 46===t.charCodeAt(0)&&a.push(""),t.replace(Rt,(function(t,e,o,i){a.push(o?i.replace(Gt,"$1"):e||t)})),a},_t=Lt(Ot,(function(t){return Ft.size===Pt&&Ft.clear(),t})),Ft=_t.cache,_t),Et=$t;function Kt(t,a){for(var e=-1,o=null==t?0:t.length,i=Array(o);++e<o;)i[e]=a(t[e],e,t);return i}var Mt=1/0,Ut=G?G.prototype:void 0,Vt=Ut?Ut.toString:void 0;function Wt(t){if("string"==typeof t)return t;if(O(t))return Kt(t,Wt)+"";if(Q(t))return Vt?Vt.call(t):"";var a=t+"";return"0"==a&&1/t==-Mt?"-0":a}function Ht(t,a){return O(t)?t:function(t,a){if(O(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!Q(t))||Z.test(t)||!J.test(t)||null!=a&&t in Object(a)}(t,a)?[t]:Et(function(t){return null==t?"":Wt(t)}(t))}var qt=1/0;function Yt(t){if("string"==typeof t||Q(t))return t;var a=t+"";return"0"==a&&1/t==-qt?"-0":a}function Xt(t,a){for(var e=0,o=(a=Ht(a,t)).length;null!=t&&e<o;)t=t[Yt(a[e++])];return e&&e==o?t:void 0}var Qt=function(){try{var t=bt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Jt=Qt;function Zt(t,a,e){"__proto__"==a&&Jt?Jt(t,a,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[a]=e}var ta=Object.prototype.hasOwnProperty;function aa(t,a,e){var o=t[a];ta.call(t,a)&&At(o,e)&&(void 0!==e||a in t)||Zt(t,a,e)}var ea=9007199254740991,oa=/^(?:0|[1-9]\d*)$/;function ia(t,a){var e=typeof t;return!!(a=null==a?ea:a)&&("number"==e||"symbol"!=e&&oa.test(t))&&t>-1&&t%1==0&&t<a}function ra(t,a,e,o){if(!tt(t))return t;for(var i=-1,r=(a=Ht(a,t)).length,s=r-1,d=t;null!=d&&++i<r;){var n=Yt(a[i]),c=e;if("__proto__"===n||"constructor"===n||"prototype"===n)return t;if(i!=s){var l=d[n];void 0===(c=o?o(l,n,d):void 0)&&(c=tt(l)?l:ia(a[i+1])?[]:{})}aa(d,n,c),d=d[n]}return t}function sa(t,a){return null!=t&&a in Object(t)}var da="[object Arguments]";function na(t){return Y(t)&&q(t)==da}var ca=Object.prototype,la=ca.hasOwnProperty,pa=ca.propertyIsEnumerable,fa=na(function(){return arguments}())?na:function(t){return Y(t)&&la.call(t,"callee")&&!pa.call(t,"callee")},ga=9007199254740991;function ua(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ga}function va(t,a){return null!=t&&function(t,a,e){for(var o=-1,i=(a=Ht(a,t)).length,r=!1;++o<i;){var s=Yt(a[o]);if(!(r=null!=t&&e(t,s)))break;t=t[s]}return r||++o!=i?r:!!(i=null==t?0:t.length)&&ua(i)&&ia(s,i)&&(O(t)||fa(t))}(t,a,sa)}function ha(t,a){return function(t,a,e){for(var o=-1,i=a.length,r={};++o<i;){var s=a[o],d=Xt(t,s);e(d,s)&&ra(r,Ht(s,t),d)}return r}(t,a,(function(a,e){return va(t,e)}))}function ma(t,a){for(var e=-1,o=a.length,i=t.length;++e<o;)t[i+e]=a[e];return t}var ba=G?G.isConcatSpreadable:void 0;function ya(t){return O(t)||fa(t)||!!(ba&&t&&t[ba])}function xa(t,a,e,o,i){var r=-1,s=t.length;for(e||(e=ya),i||(i=[]);++r<s;){var d=t[r];a>0&&e(d)?a>1?xa(d,a-1,e,o,i):ma(i,d):o||(i[i.length]=d)}return i}function wa(t){return(null==t?0:t.length)?xa(t,1):[]}var ka=Math.max;var Ca=Jt?function(t,a){return Jt(t,"toString",{configurable:!0,enumerable:!1,value:(e=a,function(){return e}),writable:!0});var e}:function(t){return t},Sa=Ca,Aa=800,Ba=16,ja=Date.now;var Na=function(t){var a=0,e=0;return function(){var o=ja(),i=Ba-(o-e);if(e=o,i>0){if(++a>=Aa)return arguments[0]}else a=0;return t.apply(void 0,arguments)}}(Sa),Ia=Na;function Ta(t){return Ia(function(t,a,e){return a=ka(void 0===a?t.length-1:a,0),function(){for(var o=arguments,i=-1,r=ka(o.length-a,0),s=Array(r);++i<r;)s[i]=o[a+i];i=-1;for(var d=Array(a+1);++i<a;)d[i]=o[i];return d[a]=e(s),function(t,a,e){switch(e.length){case 0:return t.call(a);case 1:return t.call(a,e[0]);case 2:return t.call(a,e[0],e[1]);case 3:return t.call(a,e[0],e[1],e[2])}return t.apply(a,e)}(t,this,d)}}(t,void 0,wa),t+"")}var Da=Ta((function(t,a){return null==t?{}:ha(t,a)}));var za=200;function La(t){var a=this.__data__=new Nt(t);this.size=a.size}function Pa(t,a,e,o){var i=!e;e||(e={});for(var r=-1,s=a.length;++r<s;){var d=a[r],n=o?o(e[d],t[d],d,e,t):void 0;void 0===n&&(n=t[d]),i?Zt(e,d,n):aa(e,d,n)}return e}La.prototype.clear=function(){this.__data__=new Nt,this.size=0},La.prototype.delete=function(t){var a=this.__data__,e=a.delete(t);return this.size=a.size,e},La.prototype.get=function(t){return this.__data__.get(t)},La.prototype.has=function(t){return this.__data__.has(t)},La.prototype.set=function(t,a){var e=this.__data__;if(e instanceof Nt){var o=e.__data__;if(!It||o.length<za-1)return o.push([t,a]),this.size=++e.size,this;e=this.__data__=new Dt(o)}return e.set(t,a),this.size=e.size,this};var Oa="object"==typeof exports&&exports&&!exports.nodeType&&exports,_a=Oa&&"object"==typeof module&&module&&!module.nodeType&&module,Fa=_a&&_a.exports===Oa?R.Buffer:void 0,Ra=(Fa?Fa.isBuffer:void 0)||function(){return!1},Ga={};function $a(t){return function(a){return t(a)}}Ga["[object Float32Array]"]=Ga["[object Float64Array]"]=Ga["[object Int8Array]"]=Ga["[object Int16Array]"]=Ga["[object Int32Array]"]=Ga["[object Uint8Array]"]=Ga["[object Uint8ClampedArray]"]=Ga["[object Uint16Array]"]=Ga["[object Uint32Array]"]=!0,Ga["[object Arguments]"]=Ga["[object Array]"]=Ga["[object ArrayBuffer]"]=Ga["[object Boolean]"]=Ga["[object DataView]"]=Ga["[object Date]"]=Ga["[object Error]"]=Ga["[object Function]"]=Ga["[object Map]"]=Ga["[object Number]"]=Ga["[object Object]"]=Ga["[object RegExp]"]=Ga["[object Set]"]=Ga["[object String]"]=Ga["[object WeakMap]"]=!1;var Ea="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ka=Ea&&"object"==typeof module&&module&&!module.nodeType&&module,Ma=Ka&&Ka.exports===Ea&&_.process,Ua=function(){try{var t=Ka&&Ka.require&&Ka.require("util").types;return t||Ma&&Ma.binding&&Ma.binding("util")}catch(t){}}(),Va=Ua&&Ua.isTypedArray,Wa=Va?$a(Va):function(t){return Y(t)&&ua(t.length)&&!!Ga[q(t)]},Ha=Object.prototype.hasOwnProperty;function qa(t,a){var e=O(t),o=!e&&fa(t),i=!e&&!o&&Ra(t),r=!e&&!o&&!i&&Wa(t),s=e||o||i||r,d=s?function(t,a){for(var e=-1,o=Array(t);++e<t;)o[e]=a(e);return o}(t.length,String):[],n=d.length;for(var c in t)!a&&!Ha.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ia(c,n))||d.push(c);return d}var Ya=Object.prototype;function Xa(t){var a=t&&t.constructor;return t===("function"==typeof a&&a.prototype||Ya)}function Qa(t,a){return function(e){return t(a(e))}}var Ja=Qa(Object.keys,Object),Za=Object.prototype.hasOwnProperty;function te(t){return null!=t&&ua(t.length)&&!rt(t)}function ae(t){return te(t)?qa(t):function(t){if(!Xa(t))return Ja(t);var a=[];for(var e in Object(t))Za.call(t,e)&&"constructor"!=e&&a.push(e);return a}(t)}var ee=Object.prototype.hasOwnProperty;function oe(t){if(!tt(t))return function(t){var a=[];if(null!=t)for(var e in Object(t))a.push(e);return a}(t);var a=Xa(t),e=[];for(var o in t)("constructor"!=o||!a&&ee.call(t,o))&&e.push(o);return e}function ie(t){return te(t)?qa(t,!0):oe(t)}var re="object"==typeof exports&&exports&&!exports.nodeType&&exports,se=re&&"object"==typeof module&&module&&!module.nodeType&&module,de=se&&se.exports===re?R.Buffer:void 0,ne=de?de.allocUnsafe:void 0;function ce(){return[]}var le=Object.prototype.propertyIsEnumerable,pe=Object.getOwnPropertySymbols,fe=pe?function(t){return null==t?[]:(t=Object(t),function(t,a){for(var e=-1,o=null==t?0:t.length,i=0,r=[];++e<o;){var s=t[e];a(s,e,t)&&(r[i++]=s)}return r}(pe(t),(function(a){return le.call(t,a)})))}:ce,ge=fe;var ue=Qa(Object.getPrototypeOf,Object),ve=Object.getOwnPropertySymbols?function(t){for(var a=[];t;)ma(a,ge(t)),t=ue(t);return a}:ce,he=ve;function me(t,a,e){var o=a(t);return O(t)?o:ma(o,e(t))}function be(t){return me(t,ae,ge)}function ye(t){return me(t,ie,he)}var xe=bt(R,"DataView"),we=bt(R,"Promise"),ke=bt(R,"Set"),Ce=bt(R,"WeakMap"),Se="[object Map]",Ae="[object Promise]",Be="[object Set]",je="[object WeakMap]",Ne="[object DataView]",Ie=lt(xe),Te=lt(It),De=lt(we),ze=lt(ke),Le=lt(Ce),Pe=q;(xe&&Pe(new xe(new ArrayBuffer(1)))!=Ne||It&&Pe(new It)!=Se||we&&Pe(we.resolve())!=Ae||ke&&Pe(new ke)!=Be||Ce&&Pe(new Ce)!=je)&&(Pe=function(t){var a=q(t),e="[object Object]"==a?t.constructor:void 0,o=e?lt(e):"";if(o)switch(o){case Ie:return Ne;case Te:return Se;case De:return Ae;case ze:return Be;case Le:return je}return a});var Oe=Pe,_e=Object.prototype.hasOwnProperty;var Fe=R.Uint8Array;function Re(t){var a=new t.constructor(t.byteLength);return new Fe(a).set(new Fe(t)),a}var Ge=/\w*$/;var $e=G?G.prototype:void 0,Ee=$e?$e.valueOf:void 0;var Ke="[object Boolean]",Me="[object Date]",Ue="[object Map]",Ve="[object Number]",We="[object RegExp]",He="[object Set]",qe="[object String]",Ye="[object Symbol]",Xe="[object ArrayBuffer]",Qe="[object DataView]",Je="[object Float32Array]",Ze="[object Float64Array]",to="[object Int8Array]",ao="[object Int16Array]",eo="[object Int32Array]",oo="[object Uint8Array]",io="[object Uint8ClampedArray]",ro="[object Uint16Array]",so="[object Uint32Array]";function no(t,a,e){var o,i=t.constructor;switch(a){case Xe:return Re(t);case Ke:case Me:return new i(+t);case Qe:return function(t,a){var e=a?Re(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case Je:case Ze:case to:case ao:case eo:case oo:case io:case ro:case so:return function(t,a){var e=a?Re(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}(t,e);case Ue:return new i;case Ve:case qe:return new i(t);case We:return function(t){var a=new t.constructor(t.source,Ge.exec(t));return a.lastIndex=t.lastIndex,a}(t);case He:return new i;case Ye:return o=t,Ee?Object(Ee.call(o)):{}}}var co=Object.create,lo=function(){function t(){}return function(a){if(!tt(a))return{};if(co)return co(a);t.prototype=a;var e=new t;return t.prototype=void 0,e}}(),po=lo;var fo="[object Map]";var go=Ua&&Ua.isMap,uo=go?$a(go):function(t){return Y(t)&&Oe(t)==fo},vo="[object Set]";var ho=Ua&&Ua.isSet,mo=ho?$a(ho):function(t){return Y(t)&&Oe(t)==vo},bo=1,yo=2,xo=4,wo="[object Arguments]",ko="[object Function]",Co="[object GeneratorFunction]",So="[object Object]",Ao={};function Bo(t,a,e,o,i,r){var s,d=a&bo,n=a&yo,c=a&xo;if(e&&(s=i?e(t,o,i,r):e(t)),void 0!==s)return s;if(!tt(t))return t;var l=O(t);if(l){if(s=function(t){var a=t.length,e=new t.constructor(a);return a&&"string"==typeof t[0]&&_e.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!d)return function(t,a){var e=-1,o=t.length;for(a||(a=Array(o));++e<o;)a[e]=t[e];return a}(t,s)}else{var p=Oe(t),f=p==ko||p==Co;if(Ra(t))return function(t,a){if(a)return t.slice();var e=t.length,o=ne?ne(e):new t.constructor(e);return t.copy(o),o}(t,d);if(p==So||p==wo||f&&!i){if(s=n||f?{}:function(t){return"function"!=typeof t.constructor||Xa(t)?{}:po(ue(t))}(t),!d)return n?function(t,a){return Pa(t,he(t),a)}(t,function(t,a){return t&&Pa(a,ie(a),t)}(s,t)):function(t,a){return Pa(t,ge(t),a)}(t,function(t,a){return t&&Pa(a,ae(a),t)}(s,t))}else{if(!Ao[p])return i?t:{};s=no(t,p,d)}}r||(r=new La);var g=r.get(t);if(g)return g;r.set(t,s),mo(t)?t.forEach((function(o){s.add(Bo(o,a,e,o,t,r))})):uo(t)&&t.forEach((function(o,i){s.set(i,Bo(o,a,e,i,t,r))}));var u=l?void 0:(c?n?ye:be:n?ie:ae)(t);return function(t,a){for(var e=-1,o=null==t?0:t.length;++e<o&&!1!==a(t[e],e,t););}(u||t,(function(o,i){u&&(o=t[i=o]),aa(s,i,Bo(o,a,e,i,t,r))})),s}function jo(t,a){return a.length<2?t:Xt(t,function(t,a,e){var o=-1,i=t.length;a<0&&(a=-a>i?0:i+a),(e=e>i?i:e)<0&&(e+=i),i=a>e?0:e-a>>>0,a>>>=0;for(var r=Array(i);++o<i;)r[o]=t[o+a];return r}(a,0,-1))}function No(t,a){return null==(t=jo(t,a=Ht(a,t)))||delete t[Yt((e=a,o=null==e?0:e.length,o?e[o-1]:void 0))];var e,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 Io="[object Object]",To=Function.prototype,Do=Object.prototype,zo=To.toString,Lo=Do.hasOwnProperty,Po=zo.call(Object);function Oo(t){return function(t){if(!Y(t)||q(t)!=Io)return!1;var a=ue(t);if(null===a)return!0;var e=Lo.call(a,"constructor")&&a.constructor;return"function"==typeof e&&e instanceof e&&zo.call(e)==Po}(t)?void 0:t}var _o=Ta((function(t,a){var e={};if(null==t)return e;var o=!1;a=Kt(a,(function(a){return a=Ht(a,t),o||(o=a.length>1),a})),Pa(t,ye(t),e),o&&(e=Bo(e,7,Oo));for(var i=a.length;i--;)No(e,a[i]);return e})),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"],a=Da(this.props||{},t),e=Fo(this.props||{},t);return{...C(a),...e}}}};Ro.render=function(t,a,e,o,n,c){return i(),r("div",{style:s([c.computedStyle])},d(e.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:a,defaultValue:o}=this.props,i=a.filter((t=>!e(t))).filter((t=>!Object.values(t).every((t=>e(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],a=Da(this.props,t),e=Fo(this.props,t);return{...C(a),...e}}}};const $o=["src"];function Eo(t,a){void 0===a&&(a={});var e=a.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===e&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}Eo(".lc-img-item[data-v-685baa5c]{box-sizing:border-box;width:100%}"),Go.render=function(t,a,e,o,d,p){return i(),r("div",null,[(i(!0),r(n,null,c(p.resultArr,((a,e)=>(i(),r("div",{key:t.cyy},[l("img",{mode:"widthFix",style:s([p.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,$o)])))),128))])},Go.__scopeId="data-v-685baa5c";var Ko={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const t=["marginTop","marginBottom"],a=Da(this.props,t),e=Fo(this.props,t);return{...C(a),...e,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){k||this.$emit("ToSearch")}}};const Mo={style:{overflow:"hidden"}},Uo=["src"];Ko.render=function(t,a,e,o,n,c){return i(),r("div",Mo,[l("div",{style:s([c.computedStyle]),onClick:a[0]||(a[0]=(...t)=>c.goSearch&&c.goSearch(...t))},[e.props.iconShow?(i(),r("img",{key:0,src:e.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Uo)):p("",!0),l("div",{style:s([{flex:"1"},{color:e.props.fontColor}])},d(e.props.value),5)],4)])};var Vo={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,a={skuCode:t.toString()},e=await L(this,a);this.listArr=o(e,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:a}=t;let e={skuNo:a};this.$routers.push("detail",e)},getMaskState:t=>"1"===t?"预售中":"补货中"}};const Wo={key:1},Ho=["onClick"],qo={class:"imgWrapper"},Yo={class:"maskState"},Xo=["src"],Qo={class:"goodsDescription"},Jo={key:0,class:"specialGoodsName"},Zo={key:1,class:"goodsName"},ti={class:"footerContent"},ai={class:"goodsPrice"},ei={key:0,class:"scribing"},oi=(t=>(u("data-v-6c0a309c"),t=t(),v(),t))((()=>l("div",{class:"goodsBuy"},"立即购买",-1)));Eo(".cube-container[data-v-6c0a309c]{display:grid}.cube-container[data-v-6c0a309c].arrange-1[data-v-6c0a309c]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-6c0a309c].arrange-1[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsImg[data-v-6c0a309c]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container[data-v-6c0a309c].arrange-1[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsName[data-v-6c0a309c]{font-size:20px}.cube-container[data-v-6c0a309c].arrange-1[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c]{font-size:18px}.cube-container[data-v-6c0a309c].arrange-1[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c] .scribing[data-v-6c0a309c]{font-size:14px}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c]{margin:0 5px}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsImg[data-v-6c0a309c]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c]{position:relative}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsName[data-v-6c0a309c]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .specialGoodsName[data-v-6c0a309c]{font-size:12px;height:42px}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c]{font-size:14px}.cube-container[data-v-6c0a309c].arrange-2[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c] .scribing[data-v-6c0a309c]{font-size:12px}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c]{display:flex;overflow-x:scroll}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c] .cube-item[data-v-6c0a309c]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsImg[data-v-6c0a309c]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c]{font-size:18px}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c] .scribing[data-v-6c0a309c]{font-size:14px}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsName[data-v-6c0a309c]{font-size:20px}.cube-container[data-v-6c0a309c].arrange-3[data-v-6c0a309c] .cube-item[data-v-6c0a309c]:not(:last-child){margin-right:10px}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .imgWrapper[data-v-6c0a309c] .goodsImg[data-v-6c0a309c]{height:100px;width:100px}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsName[data-v-6c0a309c]{font-size:16px;height:auto}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c]{font-size:16px}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c] .scribing[data-v-6c0a309c]{font-size:12px}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsBuyWrapper[data-v-6c0a309c]{position:relative}.cube-container[data-v-6c0a309c].arrange-4[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsBuyWrapper[data-v-6c0a309c] .goodsBuy[data-v-6c0a309c]{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-6c0a309c] .cube-item[data-v-6c0a309c] .imgWrapper[data-v-6c0a309c]{position:relative;text-align:center}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .imgMarked[data-v-6c0a309c]{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-6c0a309c] .cube-item[data-v-6c0a309c] .imgMarked[data-v-6c0a309c] .maskState[data-v-6c0a309c]{color:#fff;font-size:23px}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsName[data-v-6c0a309c]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c]{color:#f53a50;font-weight:600}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .footerContent[data-v-6c0a309c] .goodsPrice[data-v-6c0a309c] .scribing[data-v-6c0a309c]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container[data-v-6c0a309c] .cube-item[data-v-6c0a309c] .goodsDescription[data-v-6c0a309c] .goodsBuy[data-v-6c0a309c]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;font-size:12px;line-height:22px;text-align:center;width:5em}"),Vo.render=function(t,a,e,o,u,v){return i(),r("div",null,[u.listArr.length?(i(),r("div",Wo,[l("div",{class:f(["cube-container",`arrange-${e.props.arrange}`,{isLc:u.isLc}]),style:s({marginTop:`${e.props.marginTop}px`,marginBottom:`${e.props.marginBottom}px`,gap:`${e.props.margin}px`})},[(i(!0),r(n,null,c(u.listArr,((t,a)=>(i(),r("div",{class:"cube-item",key:t.skuCode,onClick:a=>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:`${e.props.borderRadius}px`})},[l("div",Yo,d(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:`${e.props.borderRadius}px`})},null,12,Xo)]),l("div",Qo,[!0===u.isLc&&2===e.props.arrange?(i(),r("div",Jo,d(t.goodsName),1)):(i(),r("div",Zo,d(t.goodsName),1)),l("section",ti,[l("div",ai,[g(" ¥"+d(t.pricesetNprice)+" ",1),1===e.props.markedPrice?(i(),r("div",ei,"¥"+d(t.pricesetMakeprice),1)):p("",!0)]),oi])])],8,Ho)))),128))],6)])):(i(),r("div",{key:0,style:s(u.noDataStyle)},"请选择商品",4))])},Vo.__scopeId="data-v-6c0a309c";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:a,defaultValue:o}=this.props,i=a.filter((t=>!e(t))).filter((t=>!Object.values(t).every((t=>e(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=Da(this.props,["marginTop","marginBottom"]);return{...C(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const ri={key:0},si=["src"],di={key:1},ni=["src"];Eo(".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,a,e,o,d,p){const f=h("swiper-item"),g=h("swiper");return i(),r("div",null,[d.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(n,null,c(p.resultArr,((a,e)=>(i(),r("li",{key:t.cyy})))),128))])],4)])):(i(),r("div",di,[m(g,{"indicator-dots":!0,autoplay:e.props.autoplay,interval:e.props.autoplayInterval,vertical:p.reDirection,circular:e.props.loop,style:s({height:p.imgH+"rpx"})},{default:b((()=>[(i(!0),r(n,null,c(p.resultArr,((a,e)=>(i(),y(f,{key:t.cyy,style:s([p.sliderStyle,{boxSizing:"border-box"}])},{default:b((()=>[l("img",{src:a.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,ni)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var ci={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 a=t.toString();console.log(198);const e={goodsCode:a};console.log(199,e);const i=await L(this,e);this.listArr=o(i,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(k)return;const{skuCode:a,skuNo:e}=t;let o={skuCode:a,skuNo:e};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"补货中"};const li=t=>(u("data-v-6d06d8ca"),t=t(),v(),t),pi={key:1},fi={class:"three-layout"},gi={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"};Eo(".three-layout[data-v-6d06d8ca]{border-radius:7px}.three-layout[data-v-6d06d8ca] .mask-three-more[data-v-6d06d8ca]{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-6d06d8ca] .three-layout-title[data-v-6d06d8ca]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-6d06d8ca] .three-layout-title[data-v-6d06d8ca] .top-left[data-v-6d06d8ca]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-6d06d8ca] .three-layout-title[data-v-6d06d8ca] .top-right[data-v-6d06d8ca]{align-items:center;display:flex}.three-layout[data-v-6d06d8ca] .three-layout-title[data-v-6d06d8ca] .top-right[data-v-6d06d8ca] div[data-v-6d06d8ca]{color:#595959;font-size:12px}.three-layout[data-v-6d06d8ca] .three-layout-title[data-v-6d06d8ca] .top-right[data-v-6d06d8ca] image[data-v-6d06d8ca]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-6d06d8ca] .three-layout-content[data-v-6d06d8ca]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-6d06d8ca] .three-layout-content[data-v-6d06d8ca] .three-layout-bigImg[data-v-6d06d8ca] image[data-v-6d06d8ca]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-6d06d8ca] .three-layout-content[data-v-6d06d8ca] .three-layout-goods[data-v-6d06d8ca]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-6d06d8ca] .three-layout-content[data-v-6d06d8ca] .three-layout-goods[data-v-6d06d8ca] .goods-items[data-v-6d06d8ca]{width:106px}.scroll-list[data-v-6d06d8ca]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-6d06d8ca] .scroll-item[data-v-6d06d8ca]{display:inline-block;margin-right:10px}.scroll-list[data-v-6d06d8ca] .scroll-item[data-v-6d06d8ca] image[data-v-6d06d8ca]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-6d06d8ca] .scroll-item[data-v-6d06d8ca] p[data-v-6d06d8ca]{-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-6d06d8ca]{margin-top:10px}"),ci.render=function(t,a,e,o,f,u){const v=h("vop-label"),y=h("scroll-view");return i(),r("div",null,[e.props.goods?(i(),r("div",pi,[l("div",fi,[l("div",{class:"three-layout-title",onClick:a[0]||(a[0]=t=>u.jumpToSearch())},[e.props.title.isShow?p("",!0):(i(),r("div",gi,d(e.props.title.title||""),1)),1===e.props.more?(i(),r("div",ui,vi)):p("",!0)]),l("div",hi,[l("div",mi,[l("image",{"lazy-load":!0,src:e.props.bill?e.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(n,null,c(f.listArr,((e,o)=>(i(),r("div",{class:"scroll-item",key:o,onClick:a[1]||(a[1]=a=>t.toDetail())},[l("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+e.dataPic,mode:"aspectFill"},null,8,xi),e.goodsSupplynum<=0||"1"===e.goodsProperty5?(i(),r("div",wi,d(t.maskTitle(e.goodsProperty5)),1)):p("",!0),l("p",null,[m(v,{goodsType:e.contlistPrice1},null,8,["goodsType"]),g(d(e.goodsName),1)]),l("div",ki,[l("div",Ci,"¥"+d(e.pricesetMakeprice||0),1),1==e.contlistConNow?(i(),r("div",Si,"¥"+d(e.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(i(),r("div",{key:0,style:s(f.noDataStyle)},"请选择商品样式一",4))])},ci.__scopeId="data-v-6d06d8ca";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:a,defaultValue:o}=this.props,i=a.filter((t=>!e(t))).filter((t=>!Object.values(t).every((t=>e(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"},ji=["src","onClick"],Ni=["src","onClick"];Eo(".holder[data-v-6fdca810]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-6fdca810]{display:flex;justify-content:space-between;width:100%}.ArsenalPicture[data-v-6fdca810] .classA-show[data-v-6fdca810]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture[data-v-6fdca810] .classB-show[data-v-6fdca810]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture[data-v-6fdca810] .classC-show[data-v-6fdca810]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture[data-v-6fdca810] .classD-show[data-v-6fdca810]{aspect-ratio:1;width:25%}.ArsenalPicture[data-v-6fdca810] .classE-show[data-v-6fdca810]{height:392px;width:392px}.ArsenalPicture[data-v-6fdca810] .classF-show[data-v-6fdca810]{height:180px;width:180px}.ArsenalPicture[data-v-6fdca810] .classG-show[data-v-6fdca810]{height:120px;width:120px}.ArsenalPicture[data-v-6fdca810] .classH-show[data-v-6fdca810]{height:80px;width:80px}.ArsenalPicture[data-v-6fdca810] .ArsenalImg[data-v-6fdca810]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-6fdca810],.ArsenalPicture-colunm[data-v-6fdca810] .classI-show[data-v-6fdca810]{width:100%}.ArsenalPicture-colunm[data-v-6fdca810] .classJ-show[data-v-6fdca810]{margin-bottom:20px;width:100%}.ArsenalPicture-colunm[data-v-6fdca810] .ArsenalImg[data-v-6fdca810]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-6fdca810] .ArsenalImg-classIJ[data-v-6fdca810]{width:100%}"),Ai.render=function(t,a,e,o,d,l){return i(),r("div",null,[e.props.selectImg.length?(i(),r("div",{key:1,class:f([1===e.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:s({marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[(i(!0),r(n,null,c(l.resultArr,((t,a)=>(i(),r("div",{key:a,class:f({"classA-show":d.classOptions.showA,"classB-show":d.classOptions.showB,"classC-show":d.classOptions.showC,"classD-show":d.classOptions.showD,"classE-show":d.classOptions.showE,"classF-show":d.classOptions.showF,"classG-show":d.classOptions.showG,"classH-show":d.classOptions.showH,"classI-show":d.classOptions.showI,"classJ-show":d.classOptions.showJ})},[d.classOptions.showJ||d.classOptions.showI?(i(),r("img",{key:0,class:"ArsenalImg-classIJ",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:e.props.cornerStyle+"px"}),onClick:a=>l.linkClick(t)},null,12,ji)):(i(),r("img",{key:1,class:"ArsenalImg",mode:"widthFix",src:t.imgUrl,alt:"",style:s({borderRadius:e.props.cornerStyle+"px"}),onClick:a=>l.linkClick(t)},null,12,Ni))],2)))),128))],6)):(i(),r("div",Bi,"请选择添加图片"))])},Ai.__scopeId="data-v-6fdca810";var Ii={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:a,defaultValue:o}=this.props,i=a.filter((t=>null!==t)).filter((t=>!e(t))).filter((t=>!Object.values(t).every((t=>e(t)))));let r=o;return t(i)||(r=i),console.log(52,r),r}},methods:{classifyPhotoCorner:t=>20===t?8:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const Ti={key:0,class:"holder"},Di=(t=>(u("data-v-378f26fa"),t=t(),v(),t))((()=>l("div",null,null,-1))),zi=["onClick"],Li=["src"],Pi={key:1},Oi=["onClick"],_i=["src"];Eo(".holder[data-v-378f26fa]{height:75px;padding:10px 0;width:100%}.holder[data-v-378f26fa] ul[data-v-378f26fa]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder[data-v-378f26fa] ul[data-v-378f26fa] li[data-v-378f26fa]{list-style:none}.holder[data-v-378f26fa] ul[data-v-378f26fa] li[data-v-378f26fa] div[data-v-378f26fa]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder[data-v-378f26fa] ul[data-v-378f26fa] li[data-v-378f26fa] div[data-v-378f26fa] span[data-v-378f26fa]{display:flex;font-size:12px;justify-content:center}.golds[data-v-378f26fa]{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-378f26fa] .golds-item[data-v-378f26fa]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0}.golds[data-v-378f26fa] .golds-item[data-v-378f26fa] div[data-v-378f26fa]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center}.golds[data-v-378f26fa] .navigationNum4[data-v-378f26fa]{width:25%}.golds[data-v-378f26fa] .navigationNum5[data-v-378f26fa]{width:20%}.photoSizeBig[data-v-378f26fa]{height:58px;width:58px}.photoSizeSmall[data-v-378f26fa]{height:48px;width:48px}.classify-list[data-v-378f26fa]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list[data-v-378f26fa] .classify-item[data-v-378f26fa]{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-378f26fa] .classify-item[data-v-378f26fa] div[data-v-378f26fa]{font-weight:700}.classify-list[data-v-378f26fa] .classify-item[data-v-378f26fa] img[data-v-378f26fa]{margin:7.5px 0}.classify-list[data-v-378f26fa] .classify-item[data-v-378f26fa]:first-child,.classify-list[data-v-378f26fa] .classify-item[data-v-378f26fa]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-378f26fa]{width:48%}.classifyItemSmall[data-v-378f26fa]{width:46%}.classifyImgBig[data-v-378f26fa]{height:90px;width:100%}.classifyImgSmall[data-v-378f26fa]{height:87.75px;width:100%}.classifyFontBig[data-v-378f26fa]{font-size:12px;height:12px}.classifyFontSmall[data-v-378f26fa]{font-size:11px;height:12px}"),Ii.render=function(t,a,e,o,g,u){return i(),r("div",null,[u.resultArr.length?(i(),r(n,{key:1},[0===e.props.showStyle?(i(),r("div",{key:0,class:"golds",style:s({backgroundColor:e.props.backgroundColor,marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[(i(!0),r(n,null,c(u.resultArr,((t,a)=>(i(),r("div",{class:f(["golds-item",[5===e.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:a,onClick:a=>u.linkClick(t)},[l("img",{class:f([1===e.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:s({borderRadius:e.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,Li),l("div",{style:s({color:e.props.fontColor})},d(t.name),5)],10,zi)))),128))],4)):p("",!0),1===e.props.showStyle?(i(),r("div",Pi,[l("div",{class:"classify-list",style:s({marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[(i(!0),r(n,null,c(u.resultArr,((t,a)=>(i(),r("div",{class:f(["classify-item",[1===e.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:s({backgroundColor:e.props.backgroundColor}),key:a,onClick:a=>u.linkClick(t)},[l("div",{class:f([1===e.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:s({color:e.props.fontColor})},d(t.name),7),l("img",{class:f([1===e.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:s({borderRadius:u.classifyPhotoCorner(e.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl},null,14,_i)],14,Oi)))),128))],4)])):p("",!0)],64)):(i(),r("div",Ti,[l("ul",null,[(i(!0),r(n,null,c(g.skeleton,((t,a)=>(i(),r("li",{key:a},[Di,l("span",null,d(t),1)])))),128))])]))])},Ii.__scopeId="data-v-378f26fa";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:a,defaultValue:o}=this.props,i=a.filter((t=>!e(t))).filter((t=>!Object.values(t).every((t=>e(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"},Ei=["src","onClick"];Eo(".holder[data-v-6de66613]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-6de66613]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-6de66613] .swiper[data-v-6de66613],.swiperBox[data-v-6de66613] .swiper[data-v-6de66613] .swiper-content[data-v-6de66613]{height:150px;width:100%}.swiperBox[data-v-6de66613] .swiper[data-v-6de66613] .swiper-content[data-v-6de66613] .img-item[data-v-6de66613]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-6de66613] .swiper[data-v-6de66613] img[data-v-6de66613]{border-radius:10px;height:100%;width:100%}"),Fi.render=function(t,a,e,o,d,p){const f=h("swiper-item"),g=h("block"),u=h("swiper");return i(),r("div",null,[d.lowCode?(i(),r("div",Ri,[l("div",{class:"lowCode-warp",style:s({marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[l("img",{src:p.resultArr[0].imgUrl,alt:"",style:s({borderRadius:p.classifyPhotoCorner(e.props.photoCorner)+"px",width:"100%"})},null,12,Gi),l("ul",null,[(i(!0),r(n,null,c(p.resultArr,((t,a)=>(i(),r("li",{key:a})))),128))])],4)])):(i(),r("div",{key:1,class:"swiperBox",style:s({marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[l("div",$i,[m(u,{interval:"4000",class:"swiper-content",circular:"true",vertical:p.directionResult,autoplay:p.autoplayResult,duration:e.props.autoplayInterval},{default:b((()=>[(i(!0),r(n,null,c(p.resultArr,((t,a)=>(i(),y(g,{key:a},{default:b((()=>[m(f,{class:"img-item"},{default:b((()=>[l("img",{style:s({borderRadius:p.classifyPhotoCorner(e.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:a=>p.linkClick(t)},null,12,Ei)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},Fi.__scopeId="data-v-6de66613";var Ki={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Mi={key:0,class:"label"};Eo(".label[data-v-de35456a]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Ki.render=function(t,a,e,o,s,d){return"40"===e.goodsType?(i(),r("text",Mi,"京东优选")):p("",!0)},Ki.__scopeId="data-v-de35456a";var Ui={name:"cyy-collocation",props:{props:{arrange:Number,selectImg:String,selectImgs:Array,selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,activityTitleLable:Array,goodsTag:Array,backgroundColor:String,cornerStyle:Number,spacingStyle:Number,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},goodsList:[],completeGoodsList:[],domainNameUrl:"",imgUrl:"",isLc:k}),computed:{mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},hasNewActivityTitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].title:this.props.activityTitle},hasNewActivitySubtitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].subTitle:this.props.activitySubtitle},ruleTitle(){return 1===this.props.arrange&&!!this.props.activityTitleLable?.length},ruleTitleImg(){return this.ruleTitle?`url(${this.props.activityTitleLable[0]?.imgUrl}) no-repeat`:""},selectImgRule(){return t=>"show"===t?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===t?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===t?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Ki},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=z(this);const{goods:t=[]}=this.props,a={skuCode:t.toString()},e=await L(this,a);this.completeGoodsList=o(e,"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:a}=t;let e={skuNo:a};this.$routers.push("detail",e)},goMoreGoods(){k||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"补货中",linkClick(t){this.$emit("linkClick",t)}}},Vi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Wi=t=>(u("data-v-1ddf4f9b"),t=t(),v(),t),Hi={key:0},qi={key:1,class:"title"},Yi={class:"subtitle"},Xi=Wi((()=>l("img",{src:Vi},null,-1))),Qi={key:3,class:"more"},Ji={class:"title"},Zi=Wi((()=>l("div",{class:"line"},null,-1))),tr={class:"mainTitle"},ar=Wi((()=>l("div",{class:"line"},null,-1))),er={key:2,class:"mainImage"},or=["src"],ir=["onClick"],rr=["src"],sr={class:"maskState"},dr={class:"goodsDescription"},nr={class:"goodsName"},cr={class:"footerContent"},lr={key:0,class:"goodsTagList"},pr={class:"tag"},fr={class:"goodsPrice"},gr=Wi((()=>l("span",{class:"priceUnit"},"¥",-1))),ur={key:0,class:"scribing"},vr=["onClick"];Eo("body{margin:0}");Eo('.mainTitleColor[data-v-1ddf4f9b]{color:#f52b43}.top[data-v-1ddf4f9b]{margin:0 10px;padding:12px 0}.top[data-v-1ddf4f9b] .mainTitle[data-v-1ddf4f9b]{font-size:16px;font-weight:600}.top[data-v-1ddf4f9b].left[data-v-1ddf4f9b]{align-items:flex-end;display:flex;justify-content:space-between}.top[data-v-1ddf4f9b].left[data-v-1ddf4f9b] .title[data-v-1ddf4f9b] .subtitle[data-v-1ddf4f9b]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top[data-v-1ddf4f9b].left[data-v-1ddf4f9b] .more[data-v-1ddf4f9b]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top[data-v-1ddf4f9b].left[data-v-1ddf4f9b] .more[data-v-1ddf4f9b] img[data-v-1ddf4f9b]{height:8px;width:6px}.top[data-v-1ddf4f9b].center[data-v-1ddf4f9b]{padding:18px 0}.top[data-v-1ddf4f9b].center[data-v-1ddf4f9b] .title[data-v-1ddf4f9b]{align-items:center;display:flex;justify-content:center}.top[data-v-1ddf4f9b].center[data-v-1ddf4f9b] .title[data-v-1ddf4f9b] .line[data-v-1ddf4f9b]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top[data-v-1ddf4f9b].center[data-v-1ddf4f9b] .title[data-v-1ddf4f9b] .mainTitle[data-v-1ddf4f9b]{text-align:center}.mainImage[data-v-1ddf4f9b]{margin:0 10px;max-width:100%}.mainImage[data-v-1ddf4f9b] img[data-v-1ddf4f9b]{max-height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-1ddf4f9b]{margin:8px 10px 0}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{background-color:#fff}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .imgMarked[data-v-1ddf4f9b]{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-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .imgMarked[data-v-1ddf4f9b] .maskState[data-v-1ddf4f9b]{color:#fff;font-size:23px}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .goodsName[data-v-1ddf4f9b]{-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-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b]{margin-bottom:10px}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsTagList[data-v-1ddf4f9b]{display:flex;font-size:12px;margin-top:6px}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsTagList[data-v-1ddf4f9b] .tag[data-v-1ddf4f9b]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsTagList[data-v-1ddf4f9b] .tag[data-v-1ddf4f9b]:not(:last-child){margin-right:8px}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsPrice[data-v-1ddf4f9b]{color:#f53a50;font-size:14px;font-weight:600}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsPrice[data-v-1ddf4f9b] .priceUnit[data-v-1ddf4f9b]{font-size:10px}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsPrice[data-v-1ddf4f9b] .scribing[data-v-1ddf4f9b]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsBuy[data-v-1ddf4f9b]{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-1ddf4f9b]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{width:120px}.arrange-1[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImageWrapper[data-v-1ddf4f9b] .goodsImage[data-v-1ddf4f9b]{height:100px;width:100px}.arrange-1[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]:not(:last-child){padding-right:20px}.arrange-1[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]:not(:last-child) .spacingStyle[data-v-1ddf4f9b]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b]{margin-top:10px}.arrange-1[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsBuy[data-v-1ddf4f9b]{margin-bottom:10px;text-align:center}.arrange-2[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b]{display:flex;flex-direction:column;margin:8px auto}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{display:flex;margin-bottom:10px;padding:10px}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImageWrapper[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImageWrapper[data-v-1ddf4f9b]{width:50%}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImageWrapper[data-v-1ddf4f9b] .goodsImage[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImageWrapper[data-v-1ddf4f9b] .goodsImage[data-v-1ddf4f9b]{aspect-ratio:1;height:100%;width:100%}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b]{margin-left:10px;position:relative;width:100%}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .goodsName[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .goodsName[data-v-1ddf4f9b]{font-size:14px;height:auto}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsPrice[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsPrice[data-v-1ddf4f9b]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsBuy[data-v-1ddf4f9b],.arrange-4[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsBuy[data-v-1ddf4f9b]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-1ddf4f9b]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{background:#fff;margin-top:10px;width:48%}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImage[data-v-1ddf4f9b]{aspect-ratio:1;height:100%;width:100%}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .goodsName[data-v-1ddf4f9b]{height:2em;line-height:1em;margin-top:10px}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsBuy[data-v-1ddf4f9b]{margin:0}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]:first-child{width:100%}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]:first-child .goodsImage[data-v-1ddf4f9b]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]:first-child .goodsName[data-v-1ddf4f9b]{height:auto}.arrange-5[data-v-1ddf4f9b]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{background:#fff}@media (max-width:320px){.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{width:100px}}@media (min-width:321px) and (max-width:375px){.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{width:110px}}@media (min-width:376px) and (max-width:390px){.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{width:110px}}@media (min-width:391px) and (max-width:430px){.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{width:120px}}@media (min-width:431px) and (max-width:1000px){.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b]{width:120px}}.arrange-5[data-v-1ddf4f9b] .goodsBox[data-v-1ddf4f9b] .goodsImage[data-v-1ddf4f9b]{aspect-ratio:1;height:100%;width:100%}.arrange-5[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b]{margin-bottom:10px}.arrange-5[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsPrice[data-v-1ddf4f9b]{text-align:center}.arrange-5[data-v-1ddf4f9b] .goodsDescription[data-v-1ddf4f9b] .footerContent[data-v-1ddf4f9b] .goodsBuy[data-v-1ddf4f9b]{margin-bottom:10px;text-align:center}'),Ui.render=function(t,a,e,o,u,v){const b=h("vopLabel");return i(),r("div",null,[e.props.goods?(i(),r("div",{key:1,style:s({margin:`${e.props.marginTop}px 0 ${e.props.marginBottom}px 0`,backgroundColor:`${e.props.backgroundColor}`,borderRadius:`${e.props.cornerStyle}px`})},[4!==e.props.arrange?(i(),r("div",{key:0,class:f(["top",{left:4!==e.props.arrange}]),style:s({background:v.ruleTitle&&2===e.props.activityTitleLable[0].lable?`${v.ruleTitleImg}`:""})},[v.ruleTitle&&2===e.props.activityTitleLable[0].lable?(i(),r("div",Hi)):(i(),r("div",qi,[l("span",{class:f(["mainTitle",v.mainTitleColor])},d(v.ruleTitle?e.props.activityTitleLable[0].title:v.hasNewActivityTitle),3),l("span",Yi,d(v.ruleTitle?e.props.activityTitleLable[0].subTitle:v.hasNewActivitySubtitle),1)])),1===e.props.more&&[1,2,3].includes(e.props.arrange)?(i(),r("div",{key:2,class:"more",onClick:a[0]||(a[0]=t=>v.goMoreGoods())},[g("更多"),Xi])):(i(),r("div",Qi))],6)):4===e.props.arrange?(i(),r("div",{key:1,class:f(["top",{center:4===e.props.arrange}])},[l("div",Ji,[Zi,l("div",tr,d(v.hasNewActivityTitle),1),ar])],2)):p("",!0),v.selectImgRule("show")?(i(),r("div",er,[l("img",{style:s({borderTopLeftRadius:`${e.props.cornerStyle}px`,borderTopRightRadius:`${e.props.cornerStyle}px`}),src:v.selectImgRule("url"),alt:"主图",onClick:a[1]||(a[1]=t=>v.linkClick(v.selectImgRule("link")))},null,12,or)])):p("",!0),l("div",{class:f(["goodsList",[`arrange-${e.props.arrange}`,{isLc:!u.isLc}]])},[(i(!0),r(n,null,c(u.goodsList,((a,o)=>(i(),r("div",{class:"goodsBox",style:s({borderRadius:`${e.props.cornerStyle}px`}),key:a.skuCode,onClick:t=>v.goGoodsDetail(a)},[l("div",{class:f(["goodsImageWrapper",{spacingStyle:2===e.props.spacingStyle}]),style:{position:"relative"}},[l("img",{class:"goodsImage",style:s({borderRadius:`${e.props.cornerStyle}px`}),src:a.dataPic?-1===a.dataPic.indexOf("http")?u.domainNameUrl+a.dataPic:a.dataPic:"",alt:"商品图片"},null,12,rr),!1===u.isLc&&(a.goodsSupplynum<=0||"1"===a.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:e.props.borderRadius})},[l("div",sr,d(v.getMaskState(a.goodsProperty5)),1)],4)):p("",!0)],2),l("div",dr,[l("div",nr,[m(b),g(d(a.goodsName),1)]),l("section",cr,[e.props.goodsTag.length>0&&[2,4].includes(e.props.arrange)?(i(),r("div",lr,[(i(!0),r(n,null,c(e.props.goodsTag,(t=>(i(),r("div",{key:t.id},[l("span",pr,d(t.value),1)])))),128))])):p("",!0),l("div",fr,[gr,g(d(a.pricesetNprice)+" ",1),1===e.props.markedPrice?(i(),r("div",ur,"¥"+d(a.pricesetMakeprice),1)):p("",!0)]),1===e.props.purchaseIcon?(i(),r("div",{key:1,class:"goodsBuy",onClick:e=>t.handleBuyGoods(a.skuNo)},"立即购买",8,vr)):p("",!0)])])],12,ir)))),128))],2)],4)):(i(),r("div",{key:0,style:s(u.noDataStyle)},"请选择商品",4))])},Ui.__scopeId="data-v-1ddf4f9b";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:a,defaultValue:o}=this.props,i=a.filter((t=>!e(t))).filter((t=>!Object.values(t).every((t=>e(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 a=t.detail.current;this.color=this.props.selectImg[a]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},linkClick(t){this.$emit("linkClick",t)}}};const mr=t=>(u("data-v-39714f36"),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"],jr=["src"],Nr={class:"Box"},Ir={class:"boxBg"},Tr={class:"search"},Dr=mr((()=>l("div",{class:"search--input--box"},"搜索您喜欢的商品",-1))),zr=[mr((()=>l("text",{class:"iconfont icon-sousuo"},null,-1)))],Lr={class:"tag"},Pr={class:"tag--item"},Or={class:"header-box",style:{width:"32rpx",height:"32rpx","margin-right":"8rpx"}},_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"];Eo(".holder[data-v-39714f36]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-39714f36]{border-radius:10px;height:150px;width:100%}.swiperBox[data-v-39714f36] .swiper[data-v-39714f36],.swiperBox[data-v-39714f36] .swiper[data-v-39714f36] .swiper-content[data-v-39714f36]{height:150px;width:100%}.swiperBox[data-v-39714f36] .swiper[data-v-39714f36] .swiper-content[data-v-39714f36] .img-item[data-v-39714f36]{box-sizing:border-box;padding:0 12.5px}.swiperBox[data-v-39714f36] .swiper[data-v-39714f36] img[data-v-39714f36]{border-radius:10px;height:100%;width:100%}.Box[data-v-39714f36]{position:relative;width:100%}.boxBg[data-v-39714f36]{height:201px;left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg[data-v-39714f36] .one[data-v-39714f36]{height:150px;width:100%}.boxBg[data-v-39714f36] .two[data-v-39714f36]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.boxBgL[data-v-39714f36]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL[data-v-39714f36] .one[data-v-39714f36]{height:150px;width:100%}.boxBgL[data-v-39714f36] .two[data-v-39714f36]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.search[data-v-39714f36]--input[data-v-39714f36]{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-39714f36]--input[data-v-39714f36]--box[data-v-39714f36]{color:#fff;font-size:12px;line-height:32px}.search[data-v-39714f36]--input[data-v-39714f36]--icon[data-v-39714f36]{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-39714f36]--input[data-v-39714f36]--icon[data-v-39714f36] .icon-sousuo[data-v-39714f36]{color:#fff}.tag[data-v-39714f36]{display:flex;padding:7px 0}.tag[data-v-39714f36]--item[data-v-39714f36]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-39714f36]{height:40px}.title-l[data-v-39714f36] .title-t[data-v-39714f36]{color:#fff;font-size:18px;padding-left:22px}.lowCode-warp[data-v-39714f36]{padding:0 20px}.coupon[data-v-39714f36]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon[data-v-39714f36] img[data-v-39714f36]{height:55px;width:55px}"),hr.render=function(t,a,e,o,p,f){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,d(e.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,[e.props.iconImg?(i(),r("img",{key:0,"lazy-load":!0,src:e.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,Ar)):(i(),r("img",{key:1,"lazy-load":!0,src:e.props.iconImg,mode:"",style:{width:"16px",height:"16px","margin-right":"8rpx"}},null,8,Br)),g(d(e.props.mallSlogan),1)])])])],4),l("div",{class:"lowCode-warp",style:s({marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[l("img",{src:f.resultArrImg(f.resultArr),alt:"",style:{width:"100%"}},null,8,jr),l("ul",null,[(i(!0),r(n,null,c(f.resultArr,((t,a)=>(i(),r("li",{key:a})))),128))])],4)])):(i(),r(n,{key:1},[l("div",Nr,[l("div",Ir,[l("div",{class:"one",style:s({"background-color":p.color})},null,4),l("div",{class:"two",style:s({"background-color":p.color})},null,4)]),l("div",Tr,[l("div",{class:"search--input",onClick:a[0]||(a[0]=(...t)=>f.ToSearch&&f.ToSearch(...t))},[Dr,l("div",{class:"search--input--icon",style:s({"background-color":p.color})},zr,4)])]),l("div",Lr,[l("div",Pr,[l("div",Or,[l("img",{"lazy-load":!0,src:e.props.iconImg,mode:"",style:{width:"100%",height:"100%"}},null,8,_r)]),l("div",Fr,d(e.props.mallSlogan),1)])]),Rr]),l("div",{class:"swiperBox",style:s({marginTop:e.props.marginTop+"px",marginBottom:e.props.marginBottom+"px"})},[l("div",Gr,[m(x,{interval:"4000",class:"swiper-content",circular:"true",vertical:f.directionResult,autoplay:f.autoplayResult,duration:e.props.autoplayInterval,onChange:f.setimg},{default:b((()=>[(i(!0),r(n,null,c(f.resultArr,((t,a)=>(i(),y(v,{key:a},{default:b((()=>[m(u,{class:"img-item"},{default:b((()=>[l("img",{style:s({bordeRadius:f.classifyPhotoCorner(e.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:a=>f.linkClick(t)},null,12,$r)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)],64))])},hr.__scopeId="data-v-39714f36";const Er=async t=>{const a=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+t,{method:"POST",headers:{"saas-token":a,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>t))};var Kr={props:{props:{live:Array,title:String,cover:String,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},liveDataState:0}),mounted(){this.init()},computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let t="";switch(this.liveDataState){case 0:t="初始化";break;case 1:t="上传直播间";break;case 101:t="直播中";break;case 102:t="未开始";break;case 103:t="已结束";break;case 104:t="禁播";break;case 105:t="暂停";break;case 106:t="异常";break;case 107:t="已过期"}return t}},methods:{async init(){if(k){const t=N+`?infuencerCode=${this.props.live.infuencerCode}`,{list:a}=await Er(t);0===a.length&&(this.liveDataState=a[0].dataState)}else{this.http.post(N,{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 Mr={class:"liveTitlePo"},Ur={class:"live"},Vr={class:"liveCover"},Wr=["src"],Hr={class:"liveState"};Eo(".liveBox[data-v-6d7d3b60]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);padding:14px 5px}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60]{display:flex}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60] .liveCover[data-v-6d7d3b60]{position:relative;width:100%}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60] .liveCover[data-v-6d7d3b60] img[data-v-6d7d3b60]{width:100%}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60] .liveCover[data-v-6d7d3b60] .liveState[data-v-6d7d3b60]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60] .liveIntroduction[data-v-6d7d3b60]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60] .liveIntroduction[data-v-6d7d3b60] .liveTitle[data-v-6d7d3b60]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.liveBox[data-v-6d7d3b60] .live[data-v-6d7d3b60] .liveIntroduction[data-v-6d7d3b60] .anchorName[data-v-6d7d3b60]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.liveTitlePo[data-v-6d7d3b60]{margin-bottom:8px}"),Kr.render=function(t,a,e,o,n,c){return i(),r("div",null,[e.props.live?(i(),r("div",{key:1,class:"liveBox",style:s({marginTop:`${e.props.marginTop}px`,marginBottom:`${e.props.marginBottom}px`}),onClick:a[0]||(a[0]=t=>c.handleToLive())},[l("div",Mr,d(c.liveTitle),1),l("div",Ur,[l("div",Vr,[l("img",{src:c.liveCover},null,8,Wr),l("div",Hr,d(c.liveState),1)])])],4)):(i(),r("div",{key:0,style:s(n.noDataStyle)},"请选择直播",4))])},Kr.__scopeId="data-v-6d7d3b60";const qr="%[a-f0-9]{2}",Yr=new RegExp("("+qr+")|([^%]+?)","gi"),Xr=new RegExp("("+qr+")+","gi");function Qr(t,a){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;a=a||1;const e=t.slice(0,a),o=t.slice(a);return Array.prototype.concat.call([],Qr(e),Qr(o))}function Jr(t){try{return decodeURIComponent(t)}catch{let a=t.match(Yr)||[];for(let e=1;e<a.length;e++)a=(t=Qr(a,e).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 a={"%FE%FF":"��","%FF%FE":"��"};let e=Xr.exec(t);for(;e;){try{a[e[0]]=decodeURIComponent(e[0])}catch{const t=Jr(e[0]);t!==e[0]&&(a[e[0]]=t)}e=Xr.exec(t)}a["%C2"]="�";const o=Object.keys(a);for(const e of o)t=t.replace(new RegExp(e,"g"),a[e]);return t}(t)}}function ts(t,a){if("string"!=typeof t||"string"!=typeof a)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===a)return[];const e=t.indexOf(a);return-1===e?[]:[t.slice(0,e),t.slice(e+a.length)]}function as(t,a){const e={};if(Array.isArray(a))for(const o of a){const a=Object.getOwnPropertyDescriptor(t,o);a?.enumerable&&Object.defineProperty(e,o,a)}else for(const o of Reflect.ownKeys(t)){const i=Object.getOwnPropertyDescriptor(t,o);if(i.enumerable){a(o,t[o],t)&&Object.defineProperty(e,o,i)}}return e}const es=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,a){return a.encode?a.strict?os(t):encodeURIComponent(t):t}function ds(t,a){return a.decode?Zr(t):t}function ns(t){return Array.isArray(t)?t.sort():"object"==typeof t?ns(Object.keys(t)).sort(((t,a)=>Number(t)-Number(a))).map((a=>t[a])):t}function cs(t){const a=t.indexOf("#");return-1!==a&&(t=t.slice(0,a)),t}function ls(t,a){return a.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!a.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function ps(t){const a=(t=cs(t)).indexOf("?");return-1===a?"":t.slice(a+1)}function fs(t,a){rs((a={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...a}).arrayFormatSeparator);const e=function(t){let a;switch(t.arrayFormat){case"index":return(t,e,o)=>{a=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),a?(void 0===o[t]&&(o[t]={}),o[t][a[1]]=e):o[t]=e};case"bracket":return(t,e,o)=>{a=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),a?void 0!==o[t]?o[t]=[...o[t],e]:o[t]=[e]:o[t]=e};case"colon-list-separator":return(t,e,o)=>{a=/(:list)$/.exec(t),t=t.replace(/:list$/,""),a?void 0!==o[t]?o[t]=[...o[t],e]:o[t]=[e]:o[t]=e};case"comma":case"separator":return(a,e,o)=>{const i="string"==typeof e&&e.includes(t.arrayFormatSeparator),r="string"==typeof e&&!i&&ds(e,t).includes(t.arrayFormatSeparator);e=r?ds(e,t):e;const s=i||r?e.split(t.arrayFormatSeparator).map((a=>ds(a,t))):null===e?e:ds(e,t);o[a]=s};case"bracket-separator":return(a,e,o)=>{const i=/(\[])$/.test(a);if(a=a.replace(/\[]$/,""),!i)return void(o[a]=e?ds(e,t):e);const r=null===e?[]:e.split(t.arrayFormatSeparator).map((a=>ds(a,t)));void 0!==o[a]?o[a]=[...o[a],...r]:o[a]=r};default:return(t,a,e)=>{void 0!==e[t]?e[t]=[...[e[t]].flat(),a]:e[t]=a}}}(a),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=a.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(a.arrayFormat)?s:ds(s,a),e(ds(r,a),s,o)}for(const[t,e]of Object.entries(o))if("object"==typeof e&&null!==e)for(const[t,o]of Object.entries(e))e[t]=ls(o,a);else o[t]=ls(e,a);return!1===a.sort?o:(!0===a.sort?Object.keys(o).sort():Object.keys(o).sort(a.sort)).reduce(((t,a)=>{const e=o[a];return Boolean(e)&&"object"==typeof e&&!Array.isArray(e)?t[a]=ns(e):t[a]=e,t}),Object.create(null))}function gs(t,a){if(!t)return"";rs((a={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...a}).arrayFormatSeparator);const e=e=>a.skipNull&&es(t[e])||a.skipEmptyString&&""===t[e],o=function(t){switch(t.arrayFormat){case"index":return a=>(e,o)=>{const i=e.length;return void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?e:null===o?[...e,[ss(a,t),"[",i,"]"].join("")]:[...e,[ss(a,t),"[",ss(i,t),"]=",ss(o,t)].join("")]};case"bracket":return a=>(e,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?e:null===o?[...e,[ss(a,t),"[]"].join("")]:[...e,[ss(a,t),"[]=",ss(o,t)].join("")];case"colon-list-separator":return a=>(e,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?e:null===o?[...e,[ss(a,t),":list="].join("")]:[...e,[ss(a,t),":list=",ss(o,t)].join("")];case"comma":case"separator":case"bracket-separator":{const a="bracket-separator"===t.arrayFormat?"[]=":"=";return e=>(o,i)=>void 0===i||t.skipNull&&null===i||t.skipEmptyString&&""===i?o:(i=null===i?"":i,0===o.length?[[ss(e,t),a,ss(i,t)].join("")]:[[o,ss(i,t)].join(t.arrayFormatSeparator)])}default:return a=>(e,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?e:null===o?[...e,ss(a,t)]:[...e,[ss(a,t),"=",ss(o,t)].join("")]}}(a),i={};for(const[a,o]of Object.entries(t))e(a)||(i[a]=o);const r=Object.keys(i);return!1!==a.sort&&r.sort(a.sort),r.map((e=>{const i=t[e];return void 0===i?"":null===i?ss(e,a):Array.isArray(i)?0===i.length&&"bracket-separator"===a.arrayFormat?ss(e,a)+"[]":i.reduce(o(e),[]).join("&"):ss(e,a)+"="+ss(i,a)})).filter((t=>t.length>0)).join("&")}function us(t,a){a={decode:!0,...a};let[e,o]=ts(t,"#");return void 0===e&&(e=t),{url:e?.split("?")?.[0]??"",query:fs(ps(t),a),...a&&a.parseFragmentIdentifier&&o?{fragmentIdentifier:ds(o,a)}:{}}}function vs(t,a){a={encode:!0,strict:!0,[is]:!0,...a};const e=cs(t.url).split("?")[0]||"";let o=gs({...fs(ps(t.url),{sort:!1}),...t.query},a);o&&(o=`?${o}`);let i=function(t){let a="";const e=t.indexOf("#");return-1!==e&&(a=t.slice(e)),a}(t.url);if(t.fragmentIdentifier){const o=new URL(e);o.hash=t.fragmentIdentifier,i=a[is]?o.hash:`#${t.fragmentIdentifier}`}return`${e}${o}${i}`}function hs(t,a,e){e={parseFragmentIdentifier:!0,[is]:!1,...e};const{url:o,query:i,fragmentIdentifier:r}=us(t,e);return vs({url:o,query:as(i,a),fragmentIdentifier:r},e)}var ms=Object.freeze({__proto__:null,extract:ps,parse:fs,stringify:gs,parseUrl:us,stringifyUrl:vs,pick:hs,exclude:function(t,a,e){return hs(t,Array.isArray(a)?t=>!a.includes(t):(t,e)=>!a(t,e),e)}}),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 a=location.hash.replace(/[\\/#?]/g,""),e=ms.parse(a),o={};o.modelTagvalueId=e.modelTagvalueId??"";const i=`/web/cms/noticeBusiness/queryNoticePageListByPlat.json?modelTagvalueId=${o.modelTagvalueId}¬iceType=1`,r=await Er(i);t.noticeList=r},async getNotice(t){const a=await t.http.get("/web/cms/noticeBusiness/queryNoticePageList.json",{noticeType:1});t.noticeList=a},handleToNotice(t){k||this.$routers.push("noticeDedail",{id:t.noticeId})}}};const ys=t=>(u("data-v-caaff790"),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"];Eo(".noticeBox[data-v-caaff790]{align-items:center;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:35px}.noticeBox[data-v-caaff790] .notice-logo[data-v-caaff790]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox[data-v-caaff790] .notice-logo[data-v-caaff790] span[data-v-caaff790]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox[data-v-caaff790] .notice-bar[data-v-caaff790]{background:#d8d8d8;border:1px solid #d8d8d8;height:12px;margin:0 10px;width:1px}.noticeBox[data-v-caaff790] .notice-content[data-v-caaff790]{flex:1;overflow:hidden}.noticeBox[data-v-caaff790] .notice-content[data-v-caaff790] .notice-list[data-v-caaff790]{display:flex;flex-direction:column;height:1.25em}.noticeBox[data-v-caaff790] .notice-content[data-v-caaff790] .notice-list[data-v-caaff790] .swiper-item[data-v-caaff790]{color:#999}"),bs.render=function(t,a,e,o,p,f){const g=h("swiper-item"),u=h("swiper");return i(),r("div",null,[p.noticeList?(i(),r("div",{key:1,class:"noticeBox",style:s({marginTop:`${e.props.marginTop}px`,marginBottom:`${e.props.marginBottom}px`,backgroundColor:`${e.props.backgroundColor}`})},[xs,ws,l("div",ks,[m(u,{class:"notice-list",vertical:e.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000"},{default:b((()=>[(i(!0),r(n,null,c(p.noticeList,(t=>(i(),y(g,{key:t.noticeId},{default:b((()=>[l("div",{class:"swiper-item",style:s({color:`${e.props.color}`}),onClick:a=>f.handleToNotice(t)},d(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-caaff790";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,a){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[a,e,o,i]=[0,0,0,0];a=Math.floor(t/86400),e=Math.floor(t/3600)-24*a;let r=null;r=this.showDays?e:Math.floor(t/3600),o=Math.floor(t/60)-60*e-24*a*60,i=Math.floor(t)-24*a*60*60-60*e*60-60*o,r=r<10?"0"+r:r,o=o<10?"0"+o:o,i=i<10?"0"+i:i,a=a<10?"0"+a:a,this.d=a,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"};Eo(".u-countdown[data-v-20ef4ef8]{align-items:center;display:flex}.u-countdown-item[data-v-20ef4ef8]{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-20ef4ef8]{line-height:1;margin:0;padding:0}.u-countdown-colon[data-v-20ef4ef8]{align-items:center;display:flex;flex-direction:row;justify-content:center;line-height:1;padding:0 .5px 2px}.u-countdown-scale[data-v-20ef4ef8]{transform:scale(.9);transform-origin:center center}"),Ss.render=function(t,a,e,o,n,c){return i(),r("view",As,[e.showDays&&(e.hideZeroDay||!e.hideZeroDay&&"00"!=n.d)?(i(),r("view",{key:0,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s([c.letterStyle])},d(n.d),5)],4)):p("",!0),e.showDays&&(e.hideZeroDay||!e.hideZeroDay&&"00"!=n.d)?(i(),r("view",{key:1,class:"u-countdown-colon",style:s({fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0})},d("colon"==e.separator?":":"天"),5)):p("",!0),e.showHours?(i(),r("view",{key:2,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:e.fontSize+"rpx",color:e.color})},d(n.h),5)],4)):p("",!0),e.showHours?(i(),r("view",{key:3,class:"u-countdown-colon",style:s({fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0})},d("colon"==e.separator?":":"时"),5)):p("",!0),e.showMinutes?(i(),r("view",{key:4,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:e.fontSize+"rpx",color:e.color})},d(n.i),5)],4)):p("",!0),e.showMinutes?(i(),r("view",{key:5,class:"u-countdown-colon",style:s({fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0})},d("colon"==e.separator?":":"分"),5)):p("",!0),e.showSeconds?(i(),r("view",{key:6,class:"u-countdown-item",style:s([c.itemStyle])},[l("view",{class:"u-countdown-time",style:s({fontSize:e.fontSize+"rpx",color:e.color})},d(n.s),5)],4)):p("",!0),e.showSeconds&&"zh"==e.separator?(i(),r("view",{key:7,class:"u-countdown-colon",style:s({fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0})}," 秒 ",4)):p("",!0)])},Ss.__scopeId="data-v-20ef4ef8";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:{}};Eo(".u-progress[data-v-3d5aa9d7]{align-items:center;border-radius:3px;display:inline-flex;height:5px;overflow:hidden;width:152px}@media (max-width:320px){.u-progress[data-v-3d5aa9d7]{width:80px}}@media (min-width:321px) and (max-width:376px){.u-progress[data-v-3d5aa9d7]{width:132px}}.u-active[data-v-3d5aa9d7]{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-3d5aa9d7]{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-3d5aa9d7]{animation:progress-stripes-3d5aa9d7 2s linear infinite}@keyframes progress-stripes-3d5aa9d7{0%{background-position:0 0}to{background-position:39px 0}}"),Bs.render=function(t,a,e,o,c,u){return i(),r("view",{class:"u-progress",style:s({borderRadius:e.round?"100rpx":0,height:e.height+"rpx",backgroundColor:e.inactiveColor})},[l("view",{class:f([[e.type?`u-type-${e.type}-bg`:"",e.striped?"u-striped":"",e.striped&&e.stripedActive?"u-striped-active":""],"u-active"]),style:s([u.progressStyle])},[t.$slots.default||t.$slots.$default?x(t.$slots,"default",{key:0}):e.showPercent?(i(),r(n,{key:1},[g(d(e.percent+"%"),1)],64)):p("",!0)],6)],4)},Bs.__scopeId="data-v-3d5aa9d7";const js=k?location.hash.replace(/[\\/#?]/g,""):null,Ns=ms.parse(js),Is=(Ns["saas-token"],Ns.membercode??""),Ts=Ns.channelCode??"",Ds=(Ns.tenantcode,Ns.modelTagvalueId,Ns.tginfoCode,Is),zs=Ts;var Ls={name:"cyy-ArsenalActivity",props:{props:{activityType:Number,countDown:Number,linePriceFlag:Number,crossedPrice:Number,title:String,subTitle:String,backgroundColor:String,marginTop:Number,marginBottom:Number,activityList:Array}},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,a)=>[-1,2,6].includes(t.dataState)?"已终止":[1].includes(t.dataState)?0===a.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((a=>{1===a.dataState&&t.push(a.gmtModified)})):this.secGoodList.forEach((a=>{4===a.dataState?t.push(a.gmtCreate):t.push(a.gmtModified)}));for(let a=0;a<t.length-1;a++)for(let a=0;a<t.length-1;a++)if(t[a]>t[a+1]){let e=t[a];t[a]=t[a+1],t[a+1]=e}return t[0]},setPromotionDates:()=>(t,a)=>{let e=(new Date(a.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(a.promotionEndtime)-Date.parse(new Date))/1e3;return t.gmtCreate=e>0?e:0,t.gmtModified=o>0?o:0,{gmtCreate:t.gmtCreate,gmtModified:t.gmtModified}}},methods:{async getSecGoodList(t,a=null){const e=(t,a=!1)=>{if(t&&(a?t.rows:t.list)&&(a?t.rows.length:t.list.length)){const e=a?t.rows:t.list;e.slice(0,3).forEach((t=>{let a=(t.promotionBegintime-Date.parse(new Date))/1e3,e=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=a>0?a:0,t.gmtModified=e>0?e:0})),this.secGoodList=e}else this.secGoodList=[]};if(0===this.props.activityType){let a="";if(console.log(this.props?.activityList,"选择活动=====秒杀"),"all"==this.props?.activityList?a=null:this.props?.activityList?.length&&(a=this.props?.activityList.join(",")),k){let t="";a?t=`${B}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&couponBatchCode=${a}&channelCode=${zs}&membercode=${Ds}`:(this.secGoodList=[],t=`${B}?pbCode=0007&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${Ds}&channelCode=${zs}`);const{list:o}=await Er(t);e({list:o})}else{let o={pbCode:"0007",page:1,rows:200,dataStateStr:"1,4",couponBatchCode:a};a||(this.secGoodList=[],o.dataStateStr="1,4",o.orderStr="PROMOTION_ENDTIME asc"),console.log(o,"params秒杀"),t.http.post(B,o).then((t=>{e(t)}))}}if(1===this.props.activityType){let a="";if(console.log(this.props?.activityList,"选择活动------团购"),"all"==this.props?.activityList?a=null:this.props?.activityList?.length&&(a=this.props?.activityList.join(",")),k){let t="";a?t=`${B}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&promotionCode=${a}&channelCode=${zs}&membercode=${Ds}`:(this.secGoodList=[],t=`${B}?pbCode=0008&dataStateStr=1,4&rows=200&page=1&orderStr=PROMOTION_ENDTIME asc&membercode=${Ds}&channelCode=${zs}`);const{rows:o}=await Er(t);e({rows:o},!0)}else{let e={pbCode:"0008",dataStateStr:"1,4",page:1,rows:200,promotionCode:a};a||(this.secGoodList=[],e.dataStateStr="1,4",e.orderStr="PROMOTION_ENDTIME asc"),console.log(e,"params团购"),t.http.post(B,e).then((async t=>{if(t&&t.rows)if(1===this.page&&0===t.rows.length)this.seckillGoodsList=[];else{const a=t.rows.map((t=>{let a=(t.promotionBegintime-Date.parse(new Date))/1e3,e=(t.promotionEndtime-Date.parse(new Date))/1e3;return t.gmtCreate=a>0?a:0,t.gmtModified=e>0?e:0,0==t.promotionState&&this.$set(t,"PeopleNum",t.couponOnceNump),t})).filter((t=>0==t.promotionState));this.secGoodList=a}}))}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(t,a){let e;0===this.props.activityType&&(e=26),1===this.props.activityType&&(e=24),this.$emit("gosecGoodsDetail",t.skuNo,a.gmtModified,a.promotionCode,a.promotionFrequency,a.inventory,e)}}};const Ps={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"},Es={class:"img"},Ks={key:0},Ms=["onClick"],Us={class:"soneLeft"},Vs=["src"],Ws={class:"soneRight"},Hs={class:"soneRightA"},qs={key:0,class:"soneRightB"},Ys={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"}},Qs={class:"soneRightC"},Js={class:"priceC"},Zs={style:{color:"#ff9745"}},td={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},ad={class:"dataStateButton"},ed=["onClick"],od=["src"],id={class:"secKill-goodsName text-common"},rd={class:"price"},sd={style:{display:"flex"}},dd={class:"now-price-common"},nd={style:{color:"#f53a50"}},cd={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},ld={class:"dataStateButton"},pd=["onClick"],fd=["src"],gd={class:"secKill-goodsName text-common"},ud={class:"price"},vd={style:{display:"flex"}},hd={class:"now-price-common"},md={style:{color:"#f53a50"}},bd={key:0,style:{color:"#8c8c8c","text-decoration":"line-through","margin-left":"3px","font-size":"11px"}},yd={class:"dataStateButton"};Eo(".secKill[data-v-3a4fd0fa]{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-3a4fd0fa] .soon[data-v-3a4fd0fa]{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-3a4fd0fa] .secKill--tit[data-v-3a4fd0fa]{align-items:center;display:flex;justify-content:space-between;padding-bottom:10px;width:100%}.secKill[data-v-3a4fd0fa] .secKill--tit[data-v-3a4fd0fa] .title[data-v-3a4fd0fa]{align-items:center;display:flex}.secKill[data-v-3a4fd0fa] .secKill--tit[data-v-3a4fd0fa] .title[data-v-3a4fd0fa] .changeOnce[data-v-3a4fd0fa]{color:#439fff;font-size:10px;margin-left:6px}.secKill[data-v-3a4fd0fa] .secKill--tit[data-v-3a4fd0fa] .more[data-v-3a4fd0fa]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill[data-v-3a4fd0fa] .secKill--tit[data-v-3a4fd0fa] .more[data-v-3a4fd0fa] .img[data-v-3a4fd0fa]{height:9px;margin-left:3px;width:5.5px}.secKill[data-v-3a4fd0fa] .secKill-all[data-v-3a4fd0fa]{display:flex}.secKill[data-v-3a4fd0fa] .secKill-all[data-v-3a4fd0fa] .secKill--center[data-v-3a4fd0fa]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill[data-v-3a4fd0fa] .secKill-all[data-v-3a4fd0fa] .secKill--center[data-v-3a4fd0fa] .secKill-goodsName[data-v-3a4fd0fa]{-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-3a4fd0fa] .secKill-all[data-v-3a4fd0fa] .secKill--center[data-v-3a4fd0fa] .dataStateButton[data-v-3a4fd0fa]{display:flex;justify-content:center;margin-top:5px}.secKill[data-v-3a4fd0fa] .secKill-all[data-v-3a4fd0fa] .secKill--center[data-v-3a4fd0fa] .dataStateButton[data-v-3a4fd0fa] span[data-v-3a4fd0fa]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa]{display:flex}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .left[data-v-3a4fd0fa]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .left[data-v-3a4fd0fa] .bigimgs[data-v-3a4fd0fa]{height:100px;margin:0 auto;width:100px}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .left[data-v-3a4fd0fa] .goodsName[data-v-3a4fd0fa]{-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-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .left[data-v-3a4fd0fa] .price[data-v-3a4fd0fa]{align-items:center;display:flex;justify-content:space-between}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .left[data-v-3a4fd0fa]:nth-child(2){border:none}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .right[data-v-3a4fd0fa]{height:255px;padding-left:7.5px;width:164px}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .right[data-v-3a4fd0fa] .bigimg[data-v-3a4fd0fa]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill[data-v-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .right[data-v-3a4fd0fa] .goodsName[data-v-3a4fd0fa]{-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-3a4fd0fa] .secKill--bottom[data-v-3a4fd0fa] .right[data-v-3a4fd0fa] .price[data-v-3a4fd0fa]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-3a4fd0fa]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-3a4fd0fa]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-3a4fd0fa]{width:112px}}.bigimg3[data-v-3a4fd0fa]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-3a4fd0fa]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-3a4fd0fa]{width:110px}}.goodsDetail2[data-v-3a4fd0fa]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-3a4fd0fa]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-3a4fd0fa]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-3a4fd0fa]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-3a4fd0fa]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-3a4fd0fa]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-3a4fd0fa]{width:162px}}.bigimg2[data-v-3a4fd0fa]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-3a4fd0fa]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-3a4fd0fa]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-3a4fd0fa]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-3a4fd0fa]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-3a4fd0fa]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-3a4fd0fa]{height:160px;width:160px}}.overflowX[data-v-3a4fd0fa]{overflow:hidden;overflow-x:scroll}.fel[data-v-3a4fd0fa]{display:flex;justify-content:space-between}.secKill-One[data-v-3a4fd0fa]{display:flex;padding:8px}.secKill-One[data-v-3a4fd0fa] .soneLeft[data-v-3a4fd0fa]{height:110px;margin-right:8px;width:110px}.secKill-One[data-v-3a4fd0fa] .soneLeft[data-v-3a4fd0fa] img[data-v-3a4fd0fa]{border-radius:6px;height:110px;width:110px}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightA[data-v-3a4fd0fa]{-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-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightB[data-v-3a4fd0fa]{display:flex;justify-content:space-between}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightB[data-v-3a4fd0fa] .uline[data-v-3a4fd0fa]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightC[data-v-3a4fd0fa]{display:flex;justify-content:space-between}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightC[data-v-3a4fd0fa] .priceC[data-v-3a4fd0fa]{font-family:DINAlternate;font-size:18px;font-style:normal;font-weight:700;line-height:29px;text-align:left}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightC[data-v-3a4fd0fa] .dataStateButton[data-v-3a4fd0fa]{display:flex;justify-content:center;margin-top:5px}.secKill-One[data-v-3a4fd0fa] .soneRight[data-v-3a4fd0fa] .soneRightC[data-v-3a4fd0fa] .dataStateButton[data-v-3a4fd0fa] span[data-v-3a4fd0fa]{border-radius:17px;color:#fff;font-size:10px;padding:5px 12px}"),Ls.render=function(t,a,e,o,g,u){const v=h("uContDown"),b=h("u-count-down"),x=h("uLineProgress");return i(),r("div",null,[0!==u.activityCss(g.secGoodList)||g.lowCode?(i(),r("div",{key:1,class:"secKill",style:s({backgroundColor:e.props.backgroundColor,marginTop:`${e.props.marginTop}px`,marginBottom:`${e.props.marginBottom}px`})},[l("div",Os,[l("div",_s,[0===e.props.activityType?(i(),r("img",Fs)):p("",!0),1===e.props.activityType?(i(),r("img",Rs)):p("",!0),l("div",Gs,d(e.props.title),1),g.lowCode?(i(),r(n,{key:2},[0===e.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(n,{key:3},[0===e.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:a[0]||(a[0]=(...t)=>u.goSecList&&u.goSecList(...t))},d(e.props.subTitle),1),l("div",Es,[l("img",{"lazy-load":!0,src:Vi,mode:"",style:{width:"100%",height:"100%"},onClick:a[1]||(a[1]=(...t)=>u.goSecList&&u.goSecList(...t))})])])]),1===u.activityCss(g.secGoodList)?(i(),r("div",Ks,[(i(!0),r(n,null,c(g.secGoodList,((t,a)=>(i(),r("div",{key:a},[(i(!0),r(n,null,c(t.rsSkuReDomainList,((a,o)=>(i(),r("div",{class:"secKill-One",key:o,onClick:e=>u.gosecGoodsDetail(a,t)},[l("div",Us,[l("img",{"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?g.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,8,Vs)]),l("div",Ws,[l("div",Hs,d(a.goodsName),1),0===e.props.activityType?(i(),r("div",qs,[m(x,{"active-color":"#EB2B27","inactive-color":"#FCE7E8",percent:u.diffFn(a),height:"10","show-percent":!1},null,8,["percent"]),g.lowCode?(i(),r("div",Ys,"剩"+d(a.goodsSupplynum||0)+"件",1)):(i(),r("div",Xs,"剩"+d(a.goodsSupplynum||0)+"件",1))])):p("",!0),l("div",Qs,[l("div",Js,[l("span",Zs,d("¥"+a.pricesetNprice),1),1===e.props.linePriceFlag?(i(),r("span",td,d(a.pricesetMakeprice),1)):p("",!0)]),l("div",ad,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,a))})},d(u.btnDataState(t,a)),5)])])])],8,Ms)))),128))])))),128))])):p("",!0),2===u.activityCss(g.secGoodList)?(i(),r("div",{key:1,class:f(["secKill-all",{fel:!0}])},[(i(!0),r(n,null,c(g.secGoodList,((t,a)=>(i(),r("div",{class:"secKill--center",key:a},[(i(!0),r(n,null,c(t.rsSkuReDomainList,((a,o)=>(i(),r("div",{class:f({goodsDetail3:3===u.activityCss(g.secGoodList),goodsDetail2:2===u.activityCss(g.secGoodList)}),key:o,onClick:e=>u.gosecGoodsDetail(a,t)},[l("img",{class:f({bigimg3:3===u.activityCss(g.secGoodList),bigimg2:2===u.activityCss(g.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?g.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,od),l("div",id,d(a.goodsName),1),l("div",rd,[l("div",sd,[l("div",dd,[l("span",nd,d("¥"+a.pricesetNprice),1),1===e.props.linePriceFlag?(i(),r("span",cd,d(a.pricesetMakeprice),1)):p("",!0)])])]),l("div",ld,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,a))})},d(u.btnDataState(t,a)),5)])],10,ed)))),128))])))),128))])):p("",!0),3===u.activityCss(g.secGoodList)?(i(),r("div",{key:2,class:f(["secKill-all",{overflowX:!0}])},[(i(!0),r(n,null,c(g.secGoodList,((t,a)=>(i(),r("div",{class:"secKill--center",key:a},[(i(!0),r(n,null,c(t.rsSkuReDomainList,((a,o)=>(i(),r("div",{class:f({goodsDetail3:3===u.activityCss(g.secGoodList),goodsDetail2:2===u.activityCss(g.secGoodList)}),key:o,onClick:e=>u.gosecGoodsDetail(a,t)},[l("img",{class:f({bigimg3:3===u.activityCss(g.secGoodList),bigimg2:2===u.activityCss(g.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?g.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,fd),l("div",gd,d(a.goodsName),1),l("div",ud,[l("div",vd,[l("div",hd,[l("span",md,d("¥"+a.pricesetNprice),1),1===e.props.linePriceFlag?(i(),r("span",bd,d(a.pricesetMakeprice),1)):p("",!0)])])]),l("div",yd,[l("span",{style:s({backgroundColor:u.btnDataStateColor(u.btnDataState(t,a))})},d(u.btnDataState(t,a)),5)])],10,pd)))),128))])))),128))])):p("",!0)],4)):(i(),r("div",Ps))])},Ls.__scopeId="data-v-3a4fd0fa";var xd={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 wd=["src","poster","autoplay"];Eo("video[data-v-84e5cab4]{width:100%!important}"),xd.render=function(t,a,e,o,d,n){return i(),r("div",null,[l("video",{style:s({marginTop:`${e.props.marginTop}px`,marginBottom:`${e.props.marginBottom}px`}),controls:"",src:e.props.url,poster:e.props.poster,autoplay:e.props.autoplay},null,12,wd)])},xd.__scopeId="data-v-84e5cab4";var kd={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 a=t.classDomainList;for(let t of a){if(1==t.changeGoodsType){const a=`${j}?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}`,e=await Er(a);t.goodsList=e.list}if(2==t.changeGoodsType){const a=new URLSearchParams(window.location.hash.split("?")[1]||window.location.search).get("channelCode")||"",e=`${A}?rows=200&page=1&skuCodeStr=${t.changeGoodsStr.replace("arsenalGoodsClass,","")}&channelCode=${a}`,o=await Er(e);t.goodsList=o.list}}t.classDomainList=a},async getGoodsList(t){for(let a of t.classDomainList){let e={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:a.classtreeCode};if(1==a.changeGoodsType){const o=await t.http.get(`${j}`,e);t.$set(a,"goodsList",o.list)}let o={skuCode:a.changeGoodsStr.replace("arsenalGoodsClass,","")};if(2==a.changeGoodsType){const e=await L(t,o);t.$set(a,"goodsList",e.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:a}=t;let e={skuNo:a};this.$routers.push("detail",e)},handleScroll(t){this.scrollTop=t.detail.scrollTop}}};const Cd=["onClick"],Sd=["src"],Ad=["src"],Bd={class:"classContent"},jd=["id"],Nd=["src"],Id=["src"],Td=["src"],Dd={class:"text-overlay"},zd=["src"],Ld=["onClick"],Pd={class:"imgWrapper"},Od={class:"maskState"},_d=["src"],Fd={class:"goodsDescription"},Rd={class:"goodsPrice"},Gd={key:0,class:"scribing"},$d={class:"goodsBuy"},Ed=["onClick"];Eo(".headerImg[data-v-7424a2cc]{width:100%}.classTitle[data-v-7424a2cc]{overflow-x:scroll;padding:0 12px;white-space:nowrap}.classTitle[data-v-7424a2cc] .classTitleItem[data-v-7424a2cc]{margin-right:10px}.classTitle[data-v-7424a2cc] .classTitleItem[data-v-7424a2cc] .classSpan[data-v-7424a2cc]{border-radius:20px;padding:4px 12px}.classContent[data-v-7424a2cc] .classContentItem[data-v-7424a2cc] .classContentSpan[data-v-7424a2cc]{display:flex;justify-content:center;padding:30px 0}.classContent[data-v-7424a2cc] .classContentItem[data-v-7424a2cc] .classContentImg[data-v-7424a2cc]{width:100%}.classContent[data-v-7424a2cc] .classContentItem[data-v-7424a2cc] .classContentImgBox[data-v-7424a2cc]{position:relative;width:100%}.classContent[data-v-7424a2cc] .classContentItem[data-v-7424a2cc] .classContentImgBox[data-v-7424a2cc] .classContentImg[data-v-7424a2cc]{display:block;height:auto;width:100%}.classContent[data-v-7424a2cc] .classContentItem[data-v-7424a2cc] .classContentImgBox[data-v-7424a2cc] .text-overlay[data-v-7424a2cc]{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.cube-container[data-v-7424a2cc]{display:grid}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc]{display:flex;flex-wrap:wrap;justify-content:space-between}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc] .cube-item[data-v-7424a2cc]{flex:0 0 auto;max-width:30%;width:30%}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsImg[data-v-7424a2cc]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc]{font-size:18px}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc] .scribing[data-v-7424a2cc]{font-size:14px}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsName[data-v-7424a2cc]{font-size:20px}.cube-container[data-v-7424a2cc].arrange-4[data-v-7424a2cc] .cube-item[data-v-7424a2cc]:not(:last-child){margin-right:10px}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc]{display:flex;overflow-x:scroll}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc] .cube-item[data-v-7424a2cc]{flex:0 0 auto;max-width:32%;width:32%}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsImg[data-v-7424a2cc]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc]{font-size:18px}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc] .scribing[data-v-7424a2cc]{font-size:14px}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsName[data-v-7424a2cc]{font-size:20px}.cube-container[data-v-7424a2cc].arrange-3[data-v-7424a2cc] .cube-item[data-v-7424a2cc]:not(:last-child){margin-right:10px}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc]{margin:0 5px}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsImg[data-v-7424a2cc]{aspect-ratio:1;height:100%;width:100%}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc]{position:relative}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsName[data-v-7424a2cc]{font-size:16px;height:42px;width:41vw}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .specialGoodsName[data-v-7424a2cc]{font-size:12px;height:42px}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc]{font-size:14px}.cube-container[data-v-7424a2cc].arrange-2[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc] .scribing[data-v-7424a2cc]{font-size:12px}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc]{display:flex;height:100px;justify-content:space-around}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .imgWrapper[data-v-7424a2cc] .goodsImg[data-v-7424a2cc]{height:100px;width:100px}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc]{margin-left:20px;position:relative;width:100%}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsName[data-v-7424a2cc]{font-size:16px;height:auto}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc]{font-size:16px}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc] .scribing[data-v-7424a2cc]{font-size:12px}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsBuyWrapper[data-v-7424a2cc]{position:relative}.cube-container[data-v-7424a2cc].arrange-1[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsBuyWrapper[data-v-7424a2cc] .goodsBuy[data-v-7424a2cc]{position:absolute;right:0;top:0}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .imgWrapper[data-v-7424a2cc]{position:relative;text-align:center}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .imgMarked[data-v-7424a2cc]{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-7424a2cc] .cube-item[data-v-7424a2cc] .imgMarked[data-v-7424a2cc] .maskState[data-v-7424a2cc]{color:#fff;font-size:23px}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .goodsName[data-v-7424a2cc]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc]{color:#f53a50;font-weight:600}.cube-container[data-v-7424a2cc] .cube-item[data-v-7424a2cc] .goodsDescription[data-v-7424a2cc] .footerContent[data-v-7424a2cc] .goodsPrice[data-v-7424a2cc] .scribing[data-v-7424a2cc]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}"),kd.render=function(t,a,e,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:e.props.bgColor})},[(i(!0),r(n,null,c(u.classDomainList,((t,a)=>(i(),r("span",{class:"classTitleItem",key:t.goodsClassId,style:s({height:e.props.navigationHeight+"px",lineHeight:e.props.navigationHeight+"px",fontSize:e.props.navigationFontSize+"px"})},[l("span",{class:"classSpan",onClick:t=>v.checkClass(a),style:s({background:u.checkClassIndex===a?e.props.getBgColor:e.props.bgColor,color:u.checkClassIndex===a?e.props.getfontColor:e.props.fontColor})},d(t.goodsChangeClassName),13,Cd)],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((()=>[e.props.headImg?(i(),r(n,{key:0},[u.isLc?(i(),r("img",{key:0,class:"headerImg",src:e.props.headImg},null,8,Sd)):(i(),r("image",{key:1,class:"headerImg",src:e.props.headImg,mode:"widthFix"},null,8,Ad))],64)):p("",!0),l("div",Bd,[(i(!0),r(n,null,c(u.classDomainList,((t,a)=>(i(),r("div",{class:"classContentItem",key:t.goodsClassId,id:"item-"+a},[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,Id)):(i(),r("image",{key:1,class:"classContentImg",src:t.classfooterImg,mode:"widthFix"},null,8,Td)),l("div",Dd,[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,zd)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},d(t.goodsChangeClassName),5)):p("",!0)])],4)):(i(),r("div",{key:0,class:"classContentSpan",style:s({paddingTop:t.titleMt+"px",paddingBottom:t.titleBt+"px",backgroundColor:t.bgColor})},[t.iconFlag?(i(),r("img",{key:0,style:{display:"inline-block",width:"15px",height:"15px","margin-right":"2px","margin-top":"3px"},src:t.goodsClassLogo?-1===t.goodsClassLogo.indexOf("http")?u.domainNameUrl+t.goodsClassLogo:t.goodsClassLogo:""},null,8,Nd)):p("",!0),t.goodsClassNameFlag?(i(),r("span",{key:1,style:s({color:t.titleColor,fontSize:t.titleFontSize+"px"})},d(t.goodsChangeClassName),5)):p("",!0)],4)),l("div",{class:f(["cube-container",`arrange-${t.showTitle}`,{isLc:u.isLc}]),style:s({backgroundColor:t.goodsBgColor})},[(i(!0),r(n,null,c(t.goodsList,((a,e)=>(i(),r("div",{class:"cube-item",style:s({marginTop:`${t.goodsMt}px`,marginBottom:`${t.goodsBt}px`}),key:a.skuCode,onClick:t=>v.goGoodsDetail(a)},[l("div",Pd,[!1===u.isLc&&(a.goodsSupplynum<=0||"1"===a.goodsProperty5)?(i(),r("div",{key:0,class:"imgMarked",style:s({borderRadius:`${t.borderRaduils}px`})},[l("div",Od,d(v.getMaskState(a.goodsProperty5)),1)],4)):p("",!0),l("img",{class:"goodsImg",src:a.dataPic?-1===a.dataPic.indexOf("http")?u.domainNameUrl+a.dataPic:a.dataPic:"",alt:"",style:s({borderRadius:`${t.borderRaduils}px`})},null,12,_d)]),l("div",Fd,[!0===u.isLc&&2===t.showTitle?(i(),r("div",{key:0,class:"specialGoodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},d(a.goodsName),5)):(i(),r("div",{key:1,class:"goodsName",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},d(a.goodsName),5)),l("section",{class:"footerContent",style:s({marginTop:t.goodsSpacingFlag?"5px":"0",marginBottom:t.goodsSpacingFlag?"5px":"0"})},[l("div",Rd,[g(" ¥"+d(a.pricesetNprice)+" ",1),1===t.underLineFlag?(i(),r("div",Gd,"¥"+d(a.pricesetMakeprice),1)):p("",!0)]),l("div",$d,[l("img",{src:"https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png",onClick:w((t=>v.addShoppingShow(a)),["stop"]),style:{height:"25px",width:"25px"}},null,8,Ed)])],4)])],12,Ld)))),128))],6)],8,jd)))),128))])])),_:1},8,["onScroll","scroll-into-view"])])])},kd.__scopeId="data-v-7424a2cc";export{Ls as ArsenalActivity,Fi as ArsenalCarousel,kd as ArsenalClass,Ii as ArsenalNavigation,Ai as ArsenalPicture,hr as ArsenalTop,Ui as Collocation,Go as Cube,Vo as Goods,ci as GoodsOne,Kr as Live,bs as Notice,Ko as Search,ii as Slider,Ro as Title,xd as Video};
|
package/package.json
CHANGED
|
@@ -237,7 +237,10 @@ export default {
|
|
|
237
237
|
}
|
|
238
238
|
//商品
|
|
239
239
|
if (item.changeGoodsType == 2) {
|
|
240
|
-
|
|
240
|
+
// 从 URL 中获取 channelCode
|
|
241
|
+
const urlParams = new URLSearchParams(window.location.hash.split('?')[1] || window.location.search);
|
|
242
|
+
const channelCode = urlParams.get('channelCode') || '';
|
|
243
|
+
const url = `${querySkuFromJm}?rows=200&page=1&skuCodeStr=${item.changeGoodsStr.replace('arsenalGoodsClass,','')}&channelCode=${channelCode}`;
|
|
241
244
|
const res = await fetchPost(url);
|
|
242
245
|
// 将返回的res.list设置给当前元素的goodsList属性
|
|
243
246
|
item.goodsList = res.list;
|
|
@@ -594,15 +594,30 @@ body {
|
|
|
594
594
|
.arrange-5 {
|
|
595
595
|
display: grid;
|
|
596
596
|
grid-template-columns: repeat(3, 1fr);
|
|
597
|
-
grid-gap: 10px
|
|
597
|
+
grid-gap: 10px 10px;
|
|
598
598
|
|
|
599
599
|
.goodsBox {
|
|
600
600
|
background: white;
|
|
601
|
+
@media (max-width: 320px) {
|
|
602
|
+
width: 100px;
|
|
603
|
+
}
|
|
604
|
+
@media (min-width: 321px) and (max-width: 375px) {
|
|
605
|
+
width: 110px;
|
|
606
|
+
}
|
|
607
|
+
@media (min-width: 376px) and (max-width: 390px) {
|
|
608
|
+
width: 110px;
|
|
609
|
+
}
|
|
610
|
+
@media (min-width: 391px) and (max-width: 430px) {
|
|
611
|
+
width: 120px;
|
|
612
|
+
}
|
|
613
|
+
@media (min-width: 431px) and (max-width: 1000px) {
|
|
614
|
+
width: 120px;
|
|
615
|
+
}
|
|
601
616
|
|
|
602
617
|
.goodsImage {
|
|
603
618
|
width: 100%;
|
|
604
619
|
height: 100%;
|
|
605
|
-
aspect-ratio: 1;
|
|
620
|
+
aspect-ratio: 1 / 1;
|
|
606
621
|
}
|
|
607
622
|
}
|
|
608
623
|
|
package/src/package/index.js
CHANGED
|
@@ -14,4 +14,3 @@ 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 ArsenalPromotion } from "./cyy-ArsenalPromotion/cyy-ArsenalPromotion.vue";
|
|
@@ -61,13 +61,16 @@ function getGoodsImpl() {
|
|
|
61
61
|
if (isEqualFlag) {
|
|
62
62
|
return Promise.resolve(fetchGoodsInfo(id));
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
// 从 URL 中获取 channelCode
|
|
65
|
+
const urlParams = new URLSearchParams(window.location.hash.split('?')[1] || window.location.search);
|
|
66
|
+
const channelCode = urlParams.get('channelCode') || '';
|
|
65
67
|
const saasToken = localStorage.getItem("saas-token");
|
|
66
68
|
return await fetch(
|
|
67
69
|
getUrl() +
|
|
68
70
|
querySkuFromJm +
|
|
69
71
|
"?rows=200&page=1&skuCodeStr=" +
|
|
70
|
-
paramObj.skuCode
|
|
72
|
+
paramObj.skuCode +
|
|
73
|
+
"&channelCode=" + channelCode,
|
|
71
74
|
{
|
|
72
75
|
method: "GET",
|
|
73
76
|
headers: {
|
|
@@ -1,555 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div>
|
|
4
|
-
<div class="classTitle" :style="{ backgroundColor: props.bgColor }" v-if="scrollTop > 20 || isLc">
|
|
5
|
-
<span class="classTitleItem" v-for="(ele, index) in classDomainList" :key="ele.goodsClassId" :style="{
|
|
6
|
-
height: props.navigationHeight + 'px',
|
|
7
|
-
lineHeight: props.navigationHeight + 'px',
|
|
8
|
-
fontSize: props.navigationFontSize + 'px',
|
|
9
|
-
}">
|
|
10
|
-
<span
|
|
11
|
-
class="classSpan"
|
|
12
|
-
@click="checkClass(index)"
|
|
13
|
-
:style="{
|
|
14
|
-
background: checkClassIndex === index ? props.getBgColor : props.bgColor,
|
|
15
|
-
color: checkClassIndex === index ? props.getfontColor : props.fontColor,
|
|
16
|
-
}"
|
|
17
|
-
>{{ ele.goodsChangeClassName }}</span
|
|
18
|
-
>
|
|
19
|
-
</span>
|
|
20
|
-
</div>
|
|
21
|
-
<scroll-view scroll-y="true" scroll-with-animation="true" @scroll="handleScroll" :scroll-into-view="targetId" style="height: 100vh">
|
|
22
|
-
<template v-if="props.headImg">
|
|
23
|
-
<img v-if="isLc"
|
|
24
|
-
class="headerImg"
|
|
25
|
-
:src="props.headImg"
|
|
26
|
-
/>
|
|
27
|
-
<image v-else class="headerImg" :src="props.headImg" mode="widthFix"></image>
|
|
28
|
-
</template>
|
|
29
|
-
<div class="classContent">
|
|
30
|
-
<div
|
|
31
|
-
class="classContentItem"
|
|
32
|
-
v-for="(ele, index) in classDomainList"
|
|
33
|
-
:key="ele.goodsClassId"
|
|
34
|
-
:id="'item-' + index"
|
|
35
|
-
>
|
|
36
|
-
<div
|
|
37
|
-
v-if="!ele.classfooterImg"
|
|
38
|
-
class="classContentSpan"
|
|
39
|
-
:style="{
|
|
40
|
-
paddingTop: ele.titleMt + 'px',
|
|
41
|
-
paddingBottom: ele.titleBt + 'px',
|
|
42
|
-
backgroundColor: ele.bgColor,
|
|
43
|
-
}"
|
|
44
|
-
>
|
|
45
|
-
<img
|
|
46
|
-
style="display: inline-block; width: 15px; height: 15px; margin-right: 2px; margin-top: 3px"
|
|
47
|
-
v-if="ele.iconFlag"
|
|
48
|
-
:src="ele.goodsClassLogo ? (ele.goodsClassLogo.indexOf('http') === -1 ? domainNameUrl + ele.goodsClassLogo : ele.goodsClassLogo) : ''"
|
|
49
|
-
/>
|
|
50
|
-
<span
|
|
51
|
-
v-if="ele.goodsClassNameFlag"
|
|
52
|
-
:style="{
|
|
53
|
-
color: ele.titleColor,
|
|
54
|
-
fontSize: ele.titleFontSize + 'px',
|
|
55
|
-
}"
|
|
56
|
-
>
|
|
57
|
-
{{ ele.goodsChangeClassName }}
|
|
58
|
-
</span>
|
|
59
|
-
</div>
|
|
60
|
-
<div v-else
|
|
61
|
-
class="classContentImgBox"
|
|
62
|
-
:style="{
|
|
63
|
-
paddingTop: ele.titleMt + 'px',
|
|
64
|
-
paddingBottom: ele.titleBt + 'px',
|
|
65
|
-
backgroundColor: ele.bgColor,
|
|
66
|
-
}">
|
|
67
|
-
<img
|
|
68
|
-
v-if="isLc"
|
|
69
|
-
class="classContentImg"
|
|
70
|
-
:src="ele.classfooterImg"
|
|
71
|
-
/>
|
|
72
|
-
<image v-else class="classContentImg" :src="ele.classfooterImg" mode="widthFix"></image>
|
|
73
|
-
<div class="text-overlay">
|
|
74
|
-
<img
|
|
75
|
-
style="display: inline-block; width: 15px; height: 15px; margin-right: 2px; margin-top: 3px"
|
|
76
|
-
v-if="ele.iconFlag"
|
|
77
|
-
:src="ele.goodsClassLogo ? (ele.goodsClassLogo.indexOf('http') === -1 ? domainNameUrl + ele.goodsClassLogo : ele.goodsClassLogo) : ''"
|
|
78
|
-
/>
|
|
79
|
-
<span
|
|
80
|
-
v-if="ele.goodsClassNameFlag"
|
|
81
|
-
:style="{
|
|
82
|
-
color: ele.titleColor,
|
|
83
|
-
fontSize: ele.titleFontSize + 'px',
|
|
84
|
-
}"
|
|
85
|
-
>
|
|
86
|
-
{{ ele.goodsChangeClassName }}
|
|
87
|
-
</span>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
<!-- 商品 -->
|
|
93
|
-
<div
|
|
94
|
-
:class="['cube-container', `arrange-${ele.showTitle}`, { isLc: isLc }]"
|
|
95
|
-
:style="{
|
|
96
|
-
backgroundColor: ele.goodsBgColor,
|
|
97
|
-
}"
|
|
98
|
-
>
|
|
99
|
-
<div v-for="(item, index) in ele.goodsList" class="cube-item" :style="{
|
|
100
|
-
marginTop: `${ele.goodsMt}px`,
|
|
101
|
-
marginBottom: `${ele.goodsBt}px`,
|
|
102
|
-
}" :key="item.skuCode" @click="goGoodsDetail(item)">
|
|
103
|
-
<div class="imgWrapper">
|
|
104
|
-
<div
|
|
105
|
-
v-if="isLc === false && (item.goodsSupplynum <= 0 || item.goodsProperty5 === '1')"
|
|
106
|
-
class="imgMarked"
|
|
107
|
-
:style="{
|
|
108
|
-
borderRadius: `${ele.borderRaduils}px`,
|
|
109
|
-
}"
|
|
110
|
-
>
|
|
111
|
-
<div class="maskState">
|
|
112
|
-
{{ getMaskState(item.goodsProperty5) }}
|
|
113
|
-
</div>
|
|
114
|
-
</div>
|
|
115
|
-
<img
|
|
116
|
-
class="goodsImg"
|
|
117
|
-
:src="item.dataPic ? (item.dataPic.indexOf('http') === -1 ? domainNameUrl + item.dataPic : item.dataPic) : ''"
|
|
118
|
-
alt=""
|
|
119
|
-
:style="{
|
|
120
|
-
borderRadius: `${ele.borderRaduils}px`,
|
|
121
|
-
}"
|
|
122
|
-
/>
|
|
123
|
-
</div>
|
|
124
|
-
<div class="goodsDescription">
|
|
125
|
-
<div
|
|
126
|
-
v-if="isLc === true && ele.showTitle === 2"
|
|
127
|
-
class="specialGoodsName"
|
|
128
|
-
:style="{ marginTop: ele.goodsSpacingFlag ? '5px' : '0', marginBottom: ele.goodsSpacingFlag ? '5px' : '0' }"
|
|
129
|
-
>
|
|
130
|
-
{{ item.goodsName }}
|
|
131
|
-
</div>
|
|
132
|
-
<div v-else class="goodsName" :style="{ marginTop: ele.goodsSpacingFlag ? '5px' : '0', marginBottom: ele.goodsSpacingFlag ? '5px' : '0' }">
|
|
133
|
-
{{ item.goodsName }}
|
|
134
|
-
</div>
|
|
135
|
-
<section class="footerContent" :style="{ marginTop: ele.goodsSpacingFlag ? '5px' : '0', marginBottom: ele.goodsSpacingFlag ? '5px' : '0' }">
|
|
136
|
-
<div class="goodsPrice">
|
|
137
|
-
¥{{ item.pricesetNprice }}
|
|
138
|
-
<div class="scribing" v-if="ele.underLineFlag === 1">¥{{ item.pricesetMakeprice }}</div>
|
|
139
|
-
</div>
|
|
140
|
-
<div class="goodsBuy">
|
|
141
|
-
<img
|
|
142
|
-
src="https://rcyx-platform-test.yoxuan.vip/paas/shop/2021011200000001/2025-05-14/car.png"
|
|
143
|
-
@click.stop="addShoppingShow(item)"
|
|
144
|
-
style="height: 25px; width: 25px"
|
|
145
|
-
/>
|
|
146
|
-
</div>
|
|
147
|
-
</section>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</scroll-view>
|
|
154
|
-
<!-- -->
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
</template>
|
|
158
|
-
|
|
159
|
-
<script>
|
|
160
|
-
import { isLc, getUrl, fetchGoodImpl } from "../../utils/index.js";
|
|
161
|
-
import { find, querySkuFromJm } from "../../api/index.js";
|
|
162
|
-
import { fetchPost } from "../../api/http.js";
|
|
163
|
-
import { query } from "../../api/urlQuery.js";
|
|
164
|
-
export default {
|
|
165
|
-
name: "cyy-ArsenalPromotion",
|
|
166
|
-
// bgColor: "#08fc29", //标题背景颜色
|
|
167
|
-
// goodsBgColor // 商品背景颜色
|
|
168
|
-
// goodsClassNameFlag: 0, //分类名称显示隐藏
|
|
169
|
-
// titleColor: "#08fc29", //分类标题颜色
|
|
170
|
-
// titleFontSize: 20, //分类标题字号
|
|
171
|
-
// titleMt: 20, //分类标题上边距
|
|
172
|
-
// titleBt: 20, //分类标题下边距
|
|
173
|
-
// iconFlag: 1, //分类Icon显示隐藏
|
|
174
|
-
// iconSize: 20, //分类标题大小
|
|
175
|
-
// classfooterImg: "", //分类底图
|
|
176
|
-
// showTitle: 1, //展示风格
|
|
177
|
-
// underLineFlag: 1, //划线价显示隐藏
|
|
178
|
-
// borderRaduils: 1, //边角样式
|
|
179
|
-
// goodsSpacingFlag: 1, //商品间距(有/无)
|
|
180
|
-
// goodsMt: 20, //商品上边距
|
|
181
|
-
// goodsBt: 20, //商品下边距
|
|
182
|
-
// synchronousOther: false, //同步其他
|
|
183
|
-
// changeGoodsType: 1, // 选择商品或分类商品 1分类2商品
|
|
184
|
-
// changeGoodsStr: '', // 选择的商品数据
|
|
185
|
-
props: {
|
|
186
|
-
props: {
|
|
187
|
-
headImg: String, //头部展示图
|
|
188
|
-
classList: Array, //选择分类
|
|
189
|
-
carIcon: Number, //购物车图标
|
|
190
|
-
bgColor: String, //导航栏背景颜色
|
|
191
|
-
getBgColor: String, //已选导航背景颜色
|
|
192
|
-
fontColor: String, //导航字体颜色
|
|
193
|
-
getfontColor: String, //已选导航字体颜色
|
|
194
|
-
navigationHeight: Number, //导航栏高度
|
|
195
|
-
navigationFontSize: Number, //导航栏字号
|
|
196
|
-
classDomainList: Array, //分类项配置集合
|
|
197
|
-
},
|
|
198
|
-
},
|
|
199
|
-
data() {
|
|
200
|
-
return {
|
|
201
|
-
classTitleStyle: {
|
|
202
|
-
height: this.props.navigationHeight + "px",
|
|
203
|
-
lineHeight: this.props.navigationHeight + "px",
|
|
204
|
-
fontSize: this.props.navigationFontSize + "px",
|
|
205
|
-
},
|
|
206
|
-
classDomainList: [],
|
|
207
|
-
domainNameUrl: "",
|
|
208
|
-
isLc: isLc,
|
|
209
|
-
checkClassIndex: -1,
|
|
210
|
-
targetId: "",
|
|
211
|
-
scrollTop: 0,
|
|
212
|
-
};
|
|
213
|
-
},
|
|
214
|
-
mounted() {
|
|
215
|
-
this.domainNameUrl = getUrl(this);
|
|
216
|
-
this.classDomainList = JSON.parse(JSON.stringify(this.props.classDomainList));
|
|
217
|
-
this.initgoods();
|
|
218
|
-
},
|
|
219
|
-
computed: {},
|
|
220
|
-
methods: {
|
|
221
|
-
initgoods() {
|
|
222
|
-
let that = this;
|
|
223
|
-
if (isLc) {
|
|
224
|
-
return this.LcGetGoodsList(that);
|
|
225
|
-
}
|
|
226
|
-
return this.getGoodsList(that);
|
|
227
|
-
},
|
|
228
|
-
async LcGetGoodsList(that) {
|
|
229
|
-
// 遍历classDomainList
|
|
230
|
-
let tempList = that.classDomainList;
|
|
231
|
-
for (let item of tempList) {
|
|
232
|
-
//分类
|
|
233
|
-
if (item.changeGoodsType == 1) {
|
|
234
|
-
const url = `${find}?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=${item.classtreeCode}&channelCode=${query.channelCode}`;
|
|
235
|
-
const res = await fetchPost(url);
|
|
236
|
-
item.goodsList = res.list;
|
|
237
|
-
}
|
|
238
|
-
//商品
|
|
239
|
-
if (item.changeGoodsType == 2) {
|
|
240
|
-
const url = `${querySkuFromJm}?rows=200&page=1&skuCodeStr=${item.changeGoodsStr.replace('arsenalGoodsClass,','')}`;
|
|
241
|
-
const res = await fetchPost(url);
|
|
242
|
-
// 将返回的res.list设置给当前元素的goodsList属性
|
|
243
|
-
item.goodsList = res.list;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
that.classDomainList = tempList;
|
|
248
|
-
},
|
|
249
|
-
async getGoodsList(that) {
|
|
250
|
-
// 遍历classDomainList
|
|
251
|
-
for (let item of that.classDomainList) {
|
|
252
|
-
// 调用getNotice方法,传入classtreeCode
|
|
253
|
-
let params = {
|
|
254
|
-
vendibilityFlag: true,
|
|
255
|
-
childFlag: true,
|
|
256
|
-
bizType: "goods",
|
|
257
|
-
hjFlag: true,
|
|
258
|
-
area: that.$storage.get("addressValue") ? that.$storage.get("addressValue") : "北京朝阳区八里庄街道",
|
|
259
|
-
page: 1,
|
|
260
|
-
rows: 20,
|
|
261
|
-
searchType: "match_phrase",
|
|
262
|
-
goodsType: "00,40,41,60,61,62,32",
|
|
263
|
-
classtreeCode: item.classtreeCode
|
|
264
|
-
};
|
|
265
|
-
//分类
|
|
266
|
-
if (item.changeGoodsType == 1) {
|
|
267
|
-
const res = await that.http.get(`${find}`, params);
|
|
268
|
-
// 将返回的res.list设置给当前元素的goodsList属性
|
|
269
|
-
that.$set(item, "goodsList", res.list);
|
|
270
|
-
}
|
|
271
|
-
let paramObj = {
|
|
272
|
-
skuCode: item.changeGoodsStr.replace('arsenalGoodsClass,','')
|
|
273
|
-
}
|
|
274
|
-
//商品
|
|
275
|
-
if (item.changeGoodsType == 2) {
|
|
276
|
-
const res = await fetchGoodImpl(that, paramObj);
|
|
277
|
-
// 将返回的res.list设置给当前元素的goodsList属性
|
|
278
|
-
that.$set(item, "goodsList", res.list);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
checkClass(index) {
|
|
283
|
-
this.checkClassIndex = index;
|
|
284
|
-
this.targetId = `item-${index}`;
|
|
285
|
-
},
|
|
286
|
-
addShoppingShow(el) {
|
|
287
|
-
if (isLc) {
|
|
288
|
-
return;
|
|
289
|
-
}
|
|
290
|
-
this.$emit("addShoppingShow", el);
|
|
291
|
-
},
|
|
292
|
-
getMaskState(state) {
|
|
293
|
-
if (state === "1") {
|
|
294
|
-
return "预售中";
|
|
295
|
-
} else {
|
|
296
|
-
return "补货中";
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
getTextStyle(item) {
|
|
300
|
-
return {
|
|
301
|
-
color: item.titleColor || "#000000",
|
|
302
|
-
fontSize: item.titleFontSize || "16px",
|
|
303
|
-
};
|
|
304
|
-
},
|
|
305
|
-
goGoodsDetail(item) {
|
|
306
|
-
if (isLc) {
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
const { skuCode } = item;
|
|
310
|
-
let params = {
|
|
311
|
-
skuNo: skuCode,
|
|
312
|
-
};
|
|
313
|
-
this.$routers.push("detail", params);
|
|
314
|
-
},
|
|
315
|
-
handleScroll(e) {
|
|
316
|
-
this.scrollTop = e.detail.scrollTop
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
};
|
|
320
|
-
</script>
|
|
321
|
-
<style lang="less" scoped>
|
|
322
|
-
.headerImg {
|
|
323
|
-
width: 100%;
|
|
324
|
-
}
|
|
325
|
-
.classTitle {
|
|
326
|
-
overflow-x: scroll;
|
|
327
|
-
white-space: nowrap;
|
|
328
|
-
padding: 0 12px;
|
|
329
|
-
.classTitleItem {
|
|
330
|
-
margin-right: 10px;
|
|
331
|
-
.classSpan {
|
|
332
|
-
border-radius: 20px;
|
|
333
|
-
padding: 4px 12px;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
.classContent {
|
|
338
|
-
.classContentItem {
|
|
339
|
-
.classContentSpan {
|
|
340
|
-
display: flex;
|
|
341
|
-
justify-content: center;
|
|
342
|
-
padding: 30px 0;
|
|
343
|
-
}
|
|
344
|
-
.classContentImg {
|
|
345
|
-
width: 100%;
|
|
346
|
-
}
|
|
347
|
-
.classContentImgBox {
|
|
348
|
-
position: relative;
|
|
349
|
-
width: 100%;
|
|
350
|
-
.classContentImg {
|
|
351
|
-
width: 100%;
|
|
352
|
-
height: auto;
|
|
353
|
-
display: block;
|
|
354
|
-
}
|
|
355
|
-
.text-overlay{
|
|
356
|
-
position: absolute;
|
|
357
|
-
top: 0;
|
|
358
|
-
left: 0;
|
|
359
|
-
width: 100%;
|
|
360
|
-
height: 100%;
|
|
361
|
-
display: flex;
|
|
362
|
-
justify-content: center;
|
|
363
|
-
align-items: center;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
.cube-container {
|
|
370
|
-
display: grid;
|
|
371
|
-
&.arrange-4 {
|
|
372
|
-
display: flex;
|
|
373
|
-
justify-content: space-between;
|
|
374
|
-
flex-wrap: wrap;
|
|
375
|
-
.cube-item {
|
|
376
|
-
flex: 0 0 auto;
|
|
377
|
-
width: 30%;
|
|
378
|
-
max-width: 30%;
|
|
379
|
-
.goodsImg {
|
|
380
|
-
width: 100%;
|
|
381
|
-
height: 100%;
|
|
382
|
-
aspect-ratio: 1;
|
|
383
|
-
}
|
|
384
|
-
.goodsDescription {
|
|
385
|
-
.goodsPrice {
|
|
386
|
-
font-size: 18px;
|
|
387
|
-
.scribing {
|
|
388
|
-
font-size: 14px;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
.goodsName {
|
|
392
|
-
font-size: 20px;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
.cube-item:not(:last-child) {
|
|
397
|
-
margin-right: 10px;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
&.arrange-3 {
|
|
401
|
-
display: flex;
|
|
402
|
-
overflow-x: scroll;
|
|
403
|
-
.cube-item {
|
|
404
|
-
flex: 0 0 auto;
|
|
405
|
-
width: 32%;
|
|
406
|
-
max-width: 32%;
|
|
407
|
-
.goodsImg {
|
|
408
|
-
width: 100%;
|
|
409
|
-
height: 100%;
|
|
410
|
-
aspect-ratio: 1;
|
|
411
|
-
}
|
|
412
|
-
.goodsDescription {
|
|
413
|
-
.goodsPrice {
|
|
414
|
-
font-size: 18px;
|
|
415
|
-
.scribing {
|
|
416
|
-
font-size: 14px;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
.goodsName {
|
|
420
|
-
font-size: 20px;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
.cube-item:not(:last-child) {
|
|
425
|
-
margin-right: 10px;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
&.arrange-2 {
|
|
429
|
-
grid-template-columns: repeat(2, 1fr);
|
|
430
|
-
.cube-item {
|
|
431
|
-
margin: 0 5px;
|
|
432
|
-
.goodsImg {
|
|
433
|
-
width: 100%;
|
|
434
|
-
height: 100%;
|
|
435
|
-
aspect-ratio: 1;
|
|
436
|
-
}
|
|
437
|
-
.goodsDescription {
|
|
438
|
-
position: relative;
|
|
439
|
-
.goodsName {
|
|
440
|
-
font-size: 16px;
|
|
441
|
-
height: 42px;
|
|
442
|
-
width: 41vw;
|
|
443
|
-
}
|
|
444
|
-
.specialGoodsName {
|
|
445
|
-
font-size: 12px;
|
|
446
|
-
height: 42px;
|
|
447
|
-
}
|
|
448
|
-
.footerContent {
|
|
449
|
-
.goodsPrice {
|
|
450
|
-
font-size: 14px;
|
|
451
|
-
.scribing {
|
|
452
|
-
font-size: 12px;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
&.arrange-1 {
|
|
460
|
-
.cube-item {
|
|
461
|
-
display: flex;
|
|
462
|
-
justify-content: space-around;
|
|
463
|
-
height: 100px;
|
|
464
|
-
|
|
465
|
-
.imgWrapper {
|
|
466
|
-
.goodsImg {
|
|
467
|
-
width: 100px;
|
|
468
|
-
height: 100px;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.goodsDescription {
|
|
473
|
-
position: relative;
|
|
474
|
-
width: 100%;
|
|
475
|
-
margin-left: 20px;
|
|
476
|
-
.goodsName {
|
|
477
|
-
height: auto;
|
|
478
|
-
font-size: 16px;
|
|
479
|
-
}
|
|
480
|
-
.footerContent {
|
|
481
|
-
.goodsPrice {
|
|
482
|
-
font-size: 16px;
|
|
483
|
-
.scribing {
|
|
484
|
-
font-size: 12px;
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
.goodsBuyWrapper {
|
|
489
|
-
position: relative;
|
|
490
|
-
.goodsBuy {
|
|
491
|
-
position: absolute;
|
|
492
|
-
top: 0;
|
|
493
|
-
right: 0;
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.cube-item {
|
|
501
|
-
.imgWrapper {
|
|
502
|
-
position: relative;
|
|
503
|
-
text-align: center;
|
|
504
|
-
}
|
|
505
|
-
.imgMarked {
|
|
506
|
-
position: absolute;
|
|
507
|
-
top: 0;
|
|
508
|
-
left: 0;
|
|
509
|
-
width: 100%;
|
|
510
|
-
height: 100%;
|
|
511
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
512
|
-
display: flex;
|
|
513
|
-
justify-content: center;
|
|
514
|
-
align-items: center;
|
|
515
|
-
z-index: 100;
|
|
516
|
-
.maskState {
|
|
517
|
-
font-size: 23px;
|
|
518
|
-
color: white;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
.goodsDescription {
|
|
522
|
-
display: flex;
|
|
523
|
-
flex-direction: column;
|
|
524
|
-
justify-content: space-between;
|
|
525
|
-
.goodsName {
|
|
526
|
-
display: -webkit-box;
|
|
527
|
-
-webkit-line-clamp: 2;
|
|
528
|
-
-webkit-box-orient: vertical;
|
|
529
|
-
overflow: hidden;
|
|
530
|
-
text-overflow: ellipsis;
|
|
531
|
-
}
|
|
532
|
-
.footerContent {
|
|
533
|
-
display: flex;
|
|
534
|
-
justify-content: space-between;
|
|
535
|
-
align-items: flex-end;
|
|
536
|
-
.goodsPrice {
|
|
537
|
-
color: #f53a50;
|
|
538
|
-
font-weight: 600;
|
|
539
|
-
.scribing {
|
|
540
|
-
display: inline-block;
|
|
541
|
-
color: #ccc;
|
|
542
|
-
text-decoration: line-through;
|
|
543
|
-
font-weight: normal;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.goodsBuy {
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
</style>
|
|
555
|
-
|