cyy-vue-material 1.0.30 → 1.0.31
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 -1
- package/package.json +32 -32
- package/src/App.vue +35 -35
- package/src/api/index.js +2 -2
- package/src/common/js/constant.js +5 -5
- package/src/common/js/index.js +1 -1
- package/src/package/cyy-ArsenalNavigation/cyy-ArsenalNavigation.vue +12 -12
- package/src/package/cyy-goodsOne/cyy-goodsOne.vue +217 -217
- package/src/package/cyy-image/cyy-image.vue +79 -79
- package/src/package/cyy-search/cyy-search.vue +62 -62
- package/src/package/cyy-slider/cyy-slider.vue +117 -117
- package/src/package/cyy-title/cyy-title.vue +42 -42
- package/src/package/index.js +8 -8
- package/src/utils/checkEnv.js +16 -16
- package/src/utils/fetchFactory.js +78 -78
- package/src/utils/index.js +2 -2
- package/dist/dev.js +0 -1
- package/dist/index.html +0 -15
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isEmpty as e,isEqual as t,isUndefined as r,get as o}from"lodash-es";import{openBlock as a,createElementBlock as n,normalizeStyle as i,toDisplayString as s,Fragment as c,renderList as l,createElementVNode as d,createCommentVNode as u,normalizeClass as p,createTextVNode as f,resolveComponent as b,createVNode as v,withCtx as h,createBlock as g,pushScopeId as y,popScopeId as m}from"vue";const w="production"!==process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,x=e=>{let t={};for(let r in e)t[r]=j(e[r]);return t},j=e=>w?e+"px":2*e+"rpx";const _=w?async(r,o)=>{const{id:a,goods:n}=r.props;if(e(n))return Promise.resolve({list:[]});const i=(e=>{const{goods:r,id:o}=e.props,{mGoods:a}=A[o]||{};return t(r,a)})(r);if(i)return Promise.resolve((e=>{const{mGoodsInfo:t}=A[e];return t})(a));const s=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+"web/rs/sku/querySkuFromJm.json?skuCodeStr="+o.goodsCode,{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"}}).then((e=>e.json())).then(((e={})=>(((e,t,r)=>{A[e]={mGoodsInfo:r,mGoods:t}})(a,n,e),e)))}:(e,t)=>e.http.get("web/es/searchengine/find.json",t),A={};var k=Array.isArray,S="object"==typeof global&&global&&global.Object===Object&&global,O="object"==typeof self&&self&&self.Object===Object&&self,C=S||O||Function("return this")(),P=C.Symbol,N=Object.prototype,z=N.hasOwnProperty,B=N.toString,I=P?P.toStringTag:void 0;var T=Object.prototype.toString;var D="[object Null]",F="[object Undefined]",E=P?P.toStringTag:void 0;function U(e){return null==e?void 0===e?F:D:E&&E in Object(e)?function(e){var t=z.call(e,I),r=e[I];try{e[I]=void 0;var o=!0}catch(e){}var a=B.call(e);return o&&(t?e[I]=r:delete e[I]),a}(e):function(e){return T.call(e)}(e)}function R(e){return null!=e&&"object"==typeof e}var G="[object Symbol]";function $(e){return"symbol"==typeof e||R(e)&&U(e)==G}var M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function H(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var V="[object AsyncFunction]",J="[object Function]",W="[object GeneratorFunction]",q="[object Proxy]";function K(e){if(!H(e))return!1;var t=U(e);return t==J||t==W||t==V||t==q}var X,Q=C["__core-js_shared__"],Y=(X=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"";var Z=Function.prototype.toString;function ee(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var te=/^\[object .+?Constructor\]$/,re=Function.prototype,oe=Object.prototype,ae=re.toString,ne=oe.hasOwnProperty,ie=RegExp("^"+ae.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function se(e){return!(!H(e)||(t=e,Y&&Y in t))&&(K(e)?ie:te).test(ee(e));var t}function ce(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return se(r)?r:void 0}var le=ce(Object,"create");var de="__lodash_hash_undefined__",ue=Object.prototype.hasOwnProperty;var pe=Object.prototype.hasOwnProperty;var fe="__lodash_hash_undefined__";function be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function ve(e,t){return e===t||e!=e&&t!=t}function he(e,t){for(var r=e.length;r--;)if(ve(e[r][0],t))return r;return-1}be.prototype.clear=function(){this.__data__=le?le(null):{},this.size=0},be.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},be.prototype.get=function(e){var t=this.__data__;if(le){var r=t[e];return r===de?void 0:r}return ue.call(t,e)?t[e]:void 0},be.prototype.has=function(e){var t=this.__data__;return le?void 0!==t[e]:pe.call(t,e)},be.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=le&&void 0===t?fe:t,this};var ge=Array.prototype.splice;function ye(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ye.prototype.clear=function(){this.__data__=[],this.size=0},ye.prototype.delete=function(e){var t=this.__data__,r=he(t,e);return!(r<0)&&(r==t.length-1?t.pop():ge.call(t,r,1),--this.size,!0)},ye.prototype.get=function(e){var t=this.__data__,r=he(t,e);return r<0?void 0:t[r][1]},ye.prototype.has=function(e){return he(this.__data__,e)>-1},ye.prototype.set=function(e,t){var r=this.__data__,o=he(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};var me=ce(C,"Map");function we(e,t){var r,o,a=e.__data__;return("string"==(o=typeof(r=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?a["string"==typeof t?"string":"hash"]:a.map}function xe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}xe.prototype.clear=function(){this.size=0,this.__data__={hash:new be,map:new(me||ye),string:new be}},xe.prototype.delete=function(e){var t=we(this,e).delete(e);return this.size-=t?1:0,t},xe.prototype.get=function(e){return we(this,e).get(e)},xe.prototype.has=function(e){return we(this,e).has(e)},xe.prototype.set=function(e,t){var r=we(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};var je="Expected a function";function _e(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(je);var r=function(){var o=arguments,a=t?t.apply(this,o):o[0],n=r.cache;if(n.has(a))return n.get(a);var i=e.apply(this,o);return r.cache=n.set(a,i)||n,i};return r.cache=new(_e.Cache||xe),r}_e.Cache=xe;var Ae=500;var ke,Se,Oe,Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pe=/\\(\\)?/g,Ne=(ke=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ce,(function(e,r,o,a){t.push(o?a.replace(Pe,"$1"):r||e)})),t},Se=_e(ke,(function(e){return Oe.size===Ae&&Oe.clear(),e})),Oe=Se.cache,Se),ze=Ne;function Be(e,t){for(var r=-1,o=null==e?0:e.length,a=Array(o);++r<o;)a[r]=t(e[r],r,e);return a}var Ie=1/0,Te=P?P.prototype:void 0,De=Te?Te.toString:void 0;function Fe(e){if("string"==typeof e)return e;if(k(e))return Be(e,Fe)+"";if($(e))return De?De.call(e):"";var t=e+"";return"0"==t&&1/e==-Ie?"-0":t}function Ee(e,t){return k(e)?e:function(e,t){if(k(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!$(e))||L.test(e)||!M.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:ze(function(e){return null==e?"":Fe(e)}(e))}var Ue=1/0;function Re(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-Ue?"-0":t}function Ge(e,t){for(var r=0,o=(t=Ee(t,e)).length;null!=e&&r<o;)e=e[Re(t[r++])];return r&&r==o?e:void 0}var $e=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Me=$e;function Le(e,t,r){"__proto__"==t&&Me?Me(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var He=Object.prototype.hasOwnProperty;function Ve(e,t,r){var o=e[t];He.call(e,t)&&ve(o,r)&&(void 0!==r||t in e)||Le(e,t,r)}var Je=9007199254740991,We=/^(?:0|[1-9]\d*)$/;function qe(e,t){var r=typeof e;return!!(t=null==t?Je:t)&&("number"==r||"symbol"!=r&&We.test(e))&&e>-1&&e%1==0&&e<t}function Ke(e,t,r,o){if(!H(e))return e;for(var a=-1,n=(t=Ee(t,e)).length,i=n-1,s=e;null!=s&&++a<n;){var c=Re(t[a]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(a!=i){var d=s[c];void 0===(l=o?o(d,c,s):void 0)&&(l=H(d)?d:qe(t[a+1])?[]:{})}Ve(s,c,l),s=s[c]}return e}function Xe(e,t){return null!=e&&t in Object(e)}var Qe="[object Arguments]";function Ye(e){return R(e)&&U(e)==Qe}var Ze=Object.prototype,et=Ze.hasOwnProperty,tt=Ze.propertyIsEnumerable,rt=Ye(function(){return arguments}())?Ye:function(e){return R(e)&&et.call(e,"callee")&&!tt.call(e,"callee")},ot=9007199254740991;function at(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ot}function nt(e,t){return null!=e&&function(e,t,r){for(var o=-1,a=(t=Ee(t,e)).length,n=!1;++o<a;){var i=Re(t[o]);if(!(n=null!=e&&r(e,i)))break;e=e[i]}return n||++o!=a?n:!!(a=null==e?0:e.length)&&at(a)&&qe(i,a)&&(k(e)||rt(e))}(e,t,Xe)}function it(e,t){return function(e,t,r){for(var o=-1,a=t.length,n={};++o<a;){var i=t[o],s=Ge(e,i);r(s,i)&&Ke(n,Ee(i,e),s)}return n}(e,t,(function(t,r){return nt(e,r)}))}function st(e,t){for(var r=-1,o=t.length,a=e.length;++r<o;)e[a+r]=t[r];return e}var ct=P?P.isConcatSpreadable:void 0;function lt(e){return k(e)||rt(e)||!!(ct&&e&&e[ct])}function dt(e,t,r,o,a){var n=-1,i=e.length;for(r||(r=lt),a||(a=[]);++n<i;){var s=e[n];t>0&&r(s)?t>1?dt(s,t-1,r,o,a):st(a,s):o||(a[a.length]=s)}return a}function ut(e){return(null==e?0:e.length)?dt(e,1):[]}var pt=Math.max;var ft=Me?function(e,t){return Me(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:function(e){return e},bt=ft,vt=800,ht=16,gt=Date.now;var yt=function(e){var t=0,r=0;return function(){var o=gt(),a=ht-(o-r);if(r=o,a>0){if(++t>=vt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(bt),mt=yt;function wt(e){return mt(function(e,t,r){return t=pt(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,n=pt(o.length-t,0),i=Array(n);++a<n;)i[a]=o[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=o[a];return s[t]=r(i),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,s)}}(e,void 0,ut),e+"")}var xt=wt((function(e,t){return null==e?{}:it(e,t)}));var jt=200;function _t(e){var t=this.__data__=new ye(e);this.size=t.size}function At(e,t,r,o){var a=!r;r||(r={});for(var n=-1,i=t.length;++n<i;){var s=t[n],c=o?o(r[s],e[s],s,r,e):void 0;void 0===c&&(c=e[s]),a?Le(r,s,c):Ve(r,s,c)}return r}_t.prototype.clear=function(){this.__data__=new ye,this.size=0},_t.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},_t.prototype.get=function(e){return this.__data__.get(e)},_t.prototype.has=function(e){return this.__data__.has(e)},_t.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ye){var o=r.__data__;if(!me||o.length<jt-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new xe(o)}return r.set(e,t),this.size=r.size,this};var kt="object"==typeof exports&&exports&&!exports.nodeType&&exports,St=kt&&"object"==typeof module&&module&&!module.nodeType&&module,Ot=St&&St.exports===kt?C.Buffer:void 0,Ct=(Ot?Ot.isBuffer:void 0)||function(){return!1},Pt={};function Nt(e){return function(t){return e(t)}}Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;var zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Bt=zt&&"object"==typeof module&&module&&!module.nodeType&&module,It=Bt&&Bt.exports===zt&&S.process,Tt=function(){try{var e=Bt&&Bt.require&&Bt.require("util").types;return e||It&&It.binding&&It.binding("util")}catch(e){}}(),Dt=Tt&&Tt.isTypedArray,Ft=Dt?Nt(Dt):function(e){return R(e)&&at(e.length)&&!!Pt[U(e)]},Et=Object.prototype.hasOwnProperty;function Ut(e,t){var r=k(e),o=!r&&rt(e),a=!r&&!o&&Ct(e),n=!r&&!o&&!a&&Ft(e),i=r||o||a||n,s=i?function(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}(e.length,String):[],c=s.length;for(var l in e)!t&&!Et.call(e,l)||i&&("length"==l||a&&("offset"==l||"parent"==l)||n&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qe(l,c))||s.push(l);return s}var Rt=Object.prototype;function Gt(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Rt)}function $t(e,t){return function(r){return e(t(r))}}var Mt=$t(Object.keys,Object),Lt=Object.prototype.hasOwnProperty;function Ht(e){return null!=e&&at(e.length)&&!K(e)}function Vt(e){return Ht(e)?Ut(e):function(e){if(!Gt(e))return Mt(e);var t=[];for(var r in Object(e))Lt.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}var Jt=Object.prototype.hasOwnProperty;function Wt(e){if(!H(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=Gt(e),r=[];for(var o in e)("constructor"!=o||!t&&Jt.call(e,o))&&r.push(o);return r}function qt(e){return Ht(e)?Ut(e,!0):Wt(e)}var Kt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xt=Kt&&"object"==typeof module&&module&&!module.nodeType&&module,Qt=Xt&&Xt.exports===Kt?C.Buffer:void 0,Yt=Qt?Qt.allocUnsafe:void 0;function Zt(){return[]}var er=Object.prototype.propertyIsEnumerable,tr=Object.getOwnPropertySymbols,rr=tr?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,o=null==e?0:e.length,a=0,n=[];++r<o;){var i=e[r];t(i,r,e)&&(n[a++]=i)}return n}(tr(e),(function(t){return er.call(e,t)})))}:Zt,or=rr;var ar=$t(Object.getPrototypeOf,Object),nr=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)st(t,or(e)),e=ar(e);return t}:Zt,ir=nr;function sr(e,t,r){var o=t(e);return k(e)?o:st(o,r(e))}function cr(e){return sr(e,Vt,or)}function lr(e){return sr(e,qt,ir)}var dr=ce(C,"DataView"),ur=ce(C,"Promise"),pr=ce(C,"Set"),fr=ce(C,"WeakMap"),br="[object Map]",vr="[object Promise]",hr="[object Set]",gr="[object WeakMap]",yr="[object DataView]",mr=ee(dr),wr=ee(me),xr=ee(ur),jr=ee(pr),_r=ee(fr),Ar=U;(dr&&Ar(new dr(new ArrayBuffer(1)))!=yr||me&&Ar(new me)!=br||ur&&Ar(ur.resolve())!=vr||pr&&Ar(new pr)!=hr||fr&&Ar(new fr)!=gr)&&(Ar=function(e){var t=U(e),r="[object Object]"==t?e.constructor:void 0,o=r?ee(r):"";if(o)switch(o){case mr:return yr;case wr:return br;case xr:return vr;case jr:return hr;case _r:return gr}return t});var kr=Ar,Sr=Object.prototype.hasOwnProperty;var Or=C.Uint8Array;function Cr(e){var t=new e.constructor(e.byteLength);return new Or(t).set(new Or(e)),t}var Pr=/\w*$/;var Nr=P?P.prototype:void 0,zr=Nr?Nr.valueOf:void 0;var Br="[object Boolean]",Ir="[object Date]",Tr="[object Map]",Dr="[object Number]",Fr="[object RegExp]",Er="[object Set]",Ur="[object String]",Rr="[object Symbol]",Gr="[object ArrayBuffer]",$r="[object DataView]",Mr="[object Float32Array]",Lr="[object Float64Array]",Hr="[object Int8Array]",Vr="[object Int16Array]",Jr="[object Int32Array]",Wr="[object Uint8Array]",qr="[object Uint8ClampedArray]",Kr="[object Uint16Array]",Xr="[object Uint32Array]";function Qr(e,t,r){var o,a=e.constructor;switch(t){case Gr:return Cr(e);case Br:case Ir:return new a(+e);case $r:return function(e,t){var r=t?Cr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case Mr:case Lr:case Hr:case Vr:case Jr:case Wr:case qr:case Kr:case Xr:return function(e,t){var r=t?Cr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}(e,r);case Tr:return new a;case Dr:case Ur:return new a(e);case Fr:return function(e){var t=new e.constructor(e.source,Pr.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Er:return new a;case Rr:return o=e,zr?Object(zr.call(o)):{}}}var Yr=Object.create,Zr=function(){function e(){}return function(t){if(!H(t))return{};if(Yr)return Yr(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),eo=Zr;var to="[object Map]";var ro=Tt&&Tt.isMap,oo=ro?Nt(ro):function(e){return R(e)&&kr(e)==to},ao="[object Set]";var no=Tt&&Tt.isSet,io=no?Nt(no):function(e){return R(e)&&kr(e)==ao},so=1,co=2,lo=4,uo="[object Arguments]",po="[object Function]",fo="[object GeneratorFunction]",bo="[object Object]",vo={};function ho(e,t,r,o,a,n){var i,s=t&so,c=t&co,l=t&lo;if(r&&(i=a?r(e,o,a,n):r(e)),void 0!==i)return i;if(!H(e))return e;var d=k(e);if(d){if(i=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Sr.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!s)return function(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}(e,i)}else{var u=kr(e),p=u==po||u==fo;if(Ct(e))return function(e,t){if(t)return e.slice();var r=e.length,o=Yt?Yt(r):new e.constructor(r);return e.copy(o),o}(e,s);if(u==bo||u==uo||p&&!a){if(i=c||p?{}:function(e){return"function"!=typeof e.constructor||Gt(e)?{}:eo(ar(e))}(e),!s)return c?function(e,t){return At(e,ir(e),t)}(e,function(e,t){return e&&At(t,qt(t),e)}(i,e)):function(e,t){return At(e,or(e),t)}(e,function(e,t){return e&&At(t,Vt(t),e)}(i,e))}else{if(!vo[u])return a?e:{};i=Qr(e,u,s)}}n||(n=new _t);var f=n.get(e);if(f)return f;n.set(e,i),io(e)?e.forEach((function(o){i.add(ho(o,t,r,o,e,n))})):oo(e)&&e.forEach((function(o,a){i.set(a,ho(o,t,r,a,e,n))}));var b=d?void 0:(l?c?lr:cr:c?qt:Vt)(e);return function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o&&!1!==t(e[r],r,e););}(b||e,(function(o,a){b&&(o=e[a=o]),Ve(i,a,ho(o,t,r,a,e,n))})),i}function go(e,t){return t.length<2?e:Ge(e,function(e,t,r){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var n=Array(a);++o<a;)n[o]=e[o+t];return n}(t,0,-1))}function yo(e,t){return null==(e=go(e,t=Ee(t,e)))||delete e[Re((r=t,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}vo[uo]=vo["[object Array]"]=vo["[object ArrayBuffer]"]=vo["[object DataView]"]=vo["[object Boolean]"]=vo["[object Date]"]=vo["[object Float32Array]"]=vo["[object Float64Array]"]=vo["[object Int8Array]"]=vo["[object Int16Array]"]=vo["[object Int32Array]"]=vo["[object Map]"]=vo["[object Number]"]=vo[bo]=vo["[object RegExp]"]=vo["[object Set]"]=vo["[object String]"]=vo["[object Symbol]"]=vo["[object Uint8Array]"]=vo["[object Uint8ClampedArray]"]=vo["[object Uint16Array]"]=vo["[object Uint32Array]"]=!0,vo["[object Error]"]=vo[po]=vo["[object WeakMap]"]=!1;var mo="[object Object]",wo=Function.prototype,xo=Object.prototype,jo=wo.toString,_o=xo.hasOwnProperty,Ao=jo.call(Object);function ko(e){return function(e){if(!R(e)||U(e)!=mo)return!1;var t=ar(e);if(null===t)return!0;var r=_o.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&jo.call(r)==Ao}(e)?void 0:e}var So=wt((function(e,t){var r={};if(null==e)return r;var o=!1;t=Be(t,(function(t){return t=Ee(t,e),o||(o=t.length>1),t})),At(e,lr(e),r),o&&(r=ho(r,7,ko));for(var a=t.length;a--;)yo(r,t[a]);return r})),Oo=So,Co={name:"cyy-title",props:{props:{value:String,fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,paddingTop:Number,paddingBottom:Number}},computed:{computedStyle(){const e=["fontSize","paddingTop","paddingBottom"],t=xt(this.props||{},e),r=Oo(this.props||{},e);return{...x(t),...r}}}};Co.render=function(e,t,r,o,c,l){return a(),n("div",{style:i([l.computedStyle])},s(r.props.value),5)};var Po={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,paddingTop:Number,paddingLeft:Number,paddingRight:Number,paddingBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,a=t.filter((e=>!r(e))).filter((e=>!Object.values(e).every((e=>r(e)))));let n=o;return e(a)||(n=a),console.log(52,n),n},computedStyle(){const e=["borderRadius","paddingTop","paddingLeft","paddingRight","paddingBottom"],t=xt(this.props,e),r=Oo(this.props,e);return{...x(t),...r}}}};const No=["src"];function zo(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}zo(".lc-img-item[data-v-eb13d4ae]{box-sizing:border-box;width:100%}"),Po.render=function(e,t,r,o,s,u){return a(),n("div",null,[(a(!0),n(c,null,l(u.resultArr,((t,r)=>(a(),n("div",{key:e.cyy},[d("img",{mode:"widthFix",style:i([u.computedStyle,s.imgStyle]),src:t.imgUrl,alt:""},null,12,No)])))),128))])},Po.__scopeId="data-v-eb13d4ae";var Bo={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const e=["marginTop","marginBottom"],t=xt(this.props,e),r=Oo(this.props,e);return{...x(t),...r,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){w||this.$routers.push("goodsList",{memberCode:this.memberCode})}}};const Io={style:{overflow:"hidden"}},To=["src"],Do={style:{flex:"1"}};Bo.render=function(e,t,r,o,c,l){return a(),n("div",Io,[d("div",{style:i([l.computedStyle]),onClick:t[0]||(t[0]=(...e)=>l.goSearch&&l.goSearch(...e))},[r.props.iconShow?(a(),n("img",{key:0,src:r.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,To)):u("",!0),d("div",Do,s(r.props.value),1)],4)])};var Fo={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,paddingTop:Number,paddingBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},REACT_APP_BASE_URL:process.env.REACT_APP_BASE_URL}),mounted(){this.init()},methods:{async init(){const{goods:e=[]}=this.props,t={goodsCode:e.toString()},r=await _(this,t);this.listArr=o(r,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(w)return;const{skuCode:t,skuNo:r}=e;let o={skuCode:t,skuNo:r};this.$routers.push("detail",o)},handleBuyGoods(e){w||this.$routers.push("detail",{skuNo:e})}}};const Eo={key:1},Uo=["onClick"],Ro=["src"],Go={class:"goodsDescription"},$o={class:"goodsName"},Mo={class:"footerContent"},Lo={class:"goodsPrice"},Ho={key:0,class:"scribing"},Vo=["onClick"];zo("button[data-v-388eb8e6]{border:none}.cube-container[data-v-388eb8e6]{display:grid}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6] .goodsName[data-v-388eb8e6]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{font-size:18px}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6] .scribing[data-v-388eb8e6]{font-size:14px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6]{margin:0 5px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6]{position:relative}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsName[data-v-388eb8e6]{font-size:16px;padding:15px 0 2px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{font-size:14px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6] .scribing[data-v-388eb8e6]{font-size:12px}.cube-container[data-v-388eb8e6].arrange-3[data-v-388eb8e6]{display:flex;overflow-x:scroll}.cube-container[data-v-388eb8e6].arrange-3[data-v-388eb8e6] .cube-item[data-v-388eb8e6]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-388eb8e6].arrange-3[data-v-388eb8e6] .cube-item[data-v-388eb8e6]:not(:last-child){margin-right:10px}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6]{display:flex;justify-content:space-around}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] img[data-v-388eb8e6]{width:40%}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6]{display:block;position:relative}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{margin-top:10px}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsBuy[data-v-388eb8e6]{left:65px;position:absolute;top:100px}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] img[data-v-388eb8e6]{width:100%}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsName[data-v-388eb8e6]{color:#000}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{color:#f53a50}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6] .scribing[data-v-388eb8e6]{color:#ccc;display:inline-block;text-decoration:line-through}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsBuy[data-v-388eb8e6]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;height:1.5em;margin:.5em .25em 0;min-width:74px;padding:0 .75em}"),Fo.render=function(e,t,r,o,b,v){return a(),n("div",null,[r.props.goods?(a(),n("div",Eo,[d("div",{class:p(["cube-container",`arrange-${r.props.arrange}`]),style:i({paddingTop:`${r.props.paddingTop}px`,paddingBottom:`${r.props.paddingBottom}px`,gap:`${r.props.margin}px`})},[(a(!0),n(c,null,l(b.listArr,((t,o)=>(a(),n("div",{class:"cube-item",key:e.cyy,onClick:e=>v.goGoodsDetail(t)},[d("img",{src:b.REACT_APP_BASE_URL+t.dataPic,mode:"widthFix",alt:"",style:i({borderRadius:r.props.borderRadius})},null,12,Ro),d("div",Go,[d("div",$o,s(t.goodsName),1),d("section",Mo,[d("div",Lo,[f(" ¥"+s(t.pricesetNprice)+" ",1),1===r.props.markedPrice?(a(),n("div",Ho," ¥"+s(t.pricesetMakeprice),1)):u("",!0)]),d("button",{onClick:e=>v.handleBuyGoods(t.skuNo),class:"goodsBuy"}," 立即购买 ",8,Vo)])])],8,Uo)))),128))],6)])):(a(),n("div",{key:0,style:i(b.noDataStyle)},"请选择商品",4))])},Fo.__scopeId="data-v-388eb8e6";var Jo={name:"cyy-slider",data:()=>({lowCode:w}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,a=t.filter((e=>!r(e))).filter((e=>!Object.values(e).every((e=>r(e)))));let n=o;return e(a)||(n=a),n},imgH(){const{imgHeight:e}=this.props;return e.height/e.width*750},sliderStyle(){const e=xt(this.props,["marginTop","marginBottom"]);return{...x(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const Wo={key:0},qo=["src"],Ko={key:1},Xo=["src"];zo(".lowCode-warp{position:relative}.lowCode-warp ul{bottom:10px;padding:0;position:absolute;text-align:center;width:100%}.lowCode-warp li{background-color:rgba(0,0,0,.3);border-radius:50%;display:inline-block;height:8px;margin:0 4px;width:8px}.lowCode-warp li:first-child{background-color:#000}"),Jo.render=function(e,t,r,o,s,u){const p=b("swiper-item"),f=b("swiper");return a(),n("div",null,[s.lowCode?(a(),n("div",Wo,[d("div",{class:"lowCode-warp",style:i([u.sliderStyle])},[d("img",{src:u.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,qo),d("ul",null,[(a(!0),n(c,null,l(u.resultArr,((t,r)=>(a(),n("li",{key:e.cyy})))),128))])],4)])):(a(),n("div",Ko,[v(f,{"indicator-dots":!0,autoplay:r.props.autoplay,interval:r.props.autoplayInterval,vertical:u.reDirection,circular:r.props.loop,style:i({height:u.imgH+"rpx"})},{default:h((()=>[(a(!0),n(c,null,l(u.resultArr,((t,r)=>(a(),g(p,{key:e.cyy,style:i([u.sliderStyle,{boxSizing:"border-box"}])},{default:h((()=>[d("img",{src:t.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Xo)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var Qo={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,paddingTop:Number,paddingLeft:Number,paddingRight:Number,paddingBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:e=[]}=this.props;console.log(197);const t=e.toString();console.log(198);const r={goodsCode:t};console.log(199,r);const a=await _(this,r);this.listArr=o(a,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(w)return;const{skuCode:t,skuNo:r}=e;let o={skuCode:t,skuNo:r};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:e=>"1"===e?"预售中":"无库存"};const Yo=e=>(y("data-v-02ef6f46"),e=e(),m(),e),Zo={key:1},ea={class:"three-layout"},ta={key:0,class:"top-left"},ra={key:1,class:"top-right"},oa=[Yo((()=>d("div",null,"更多",-1))),Yo((()=>d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],aa={class:"three-layout-content"},na={class:"three-layout-bigImg"},ia=["src"],sa={class:"three-layout-goods"},ca=["src"],la={key:0,class:"mask-three-more"},da={class:"price-box"},ua={class:"now-price"},pa={key:0,class:"origin-price"};zo(".three-layout[data-v-02ef6f46]{border-radius:7px}.three-layout[data-v-02ef6f46] .mask-three-more[data-v-02ef6f46]{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-02ef6f46] .three-layout-title[data-v-02ef6f46]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-02ef6f46] .three-layout-title[data-v-02ef6f46] .top-left[data-v-02ef6f46]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-02ef6f46] .three-layout-title[data-v-02ef6f46] .top-right[data-v-02ef6f46]{align-items:center;display:flex}.three-layout[data-v-02ef6f46] .three-layout-title[data-v-02ef6f46] .top-right[data-v-02ef6f46] div[data-v-02ef6f46]{color:#595959;font-size:12px}.three-layout[data-v-02ef6f46] .three-layout-title[data-v-02ef6f46] .top-right[data-v-02ef6f46] image[data-v-02ef6f46]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-02ef6f46] .three-layout-content[data-v-02ef6f46]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-02ef6f46] .three-layout-content[data-v-02ef6f46] .three-layout-bigImg[data-v-02ef6f46] image[data-v-02ef6f46]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-02ef6f46] .three-layout-content[data-v-02ef6f46] .three-layout-goods[data-v-02ef6f46]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-02ef6f46] .three-layout-content[data-v-02ef6f46] .three-layout-goods[data-v-02ef6f46] .goods-items[data-v-02ef6f46]{width:106px}.scroll-list[data-v-02ef6f46]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-02ef6f46] .scroll-item[data-v-02ef6f46]{display:inline-block;margin-right:10px}.scroll-list[data-v-02ef6f46] .scroll-item[data-v-02ef6f46] image[data-v-02ef6f46]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-02ef6f46] .scroll-item[data-v-02ef6f46] p[data-v-02ef6f46]{-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-02ef6f46]{margin-top:10px}"),Qo.render=function(e,t,r,o,p,g){const y=b("vop-label"),m=b("scroll-view");return a(),n("div",null,[r.props.goods?(a(),n("div",Zo,[d("div",ea,[d("div",{class:"three-layout-title",onClick:t[0]||(t[0]=e=>g.jumpToSearch())},[r.props.title.isShow?u("",!0):(a(),n("div",ta,s(r.props.title.title||""),1)),1===r.props.more?(a(),n("div",ra,oa)):u("",!0)]),d("div",aa,[d("div",na,[d("image",{"lazy-load":!0,src:r.props.bill?r.props.bill:"",mode:"aspectFill"},null,8,ia)]),d("div",sa,[v(m,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:h((()=>[(a(!0),n(c,null,l(p.listArr,((r,o)=>(a(),n("div",{class:"scroll-item",key:o,onClick:t[1]||(t[1]=t=>e.toDetail())},[d("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+r.dataPic,mode:"aspectFill"},null,8,ca),r.goodsSupplynum<=0||"1"===r.goodsProperty5?(a(),n("div",la,s(e.maskTitle(r.goodsProperty5)),1)):u("",!0),d("p",null,[v(y,{goodsType:r.contlistPrice1},null,8,["goodsType"]),f(s(r.goodsName),1)]),d("div",da,[d("div",ua,"¥"+s(r.pricesetMakeprice||0),1),1==r.contlistConNow?(a(),n("div",pa,"¥"+s(r.pricesetBaseprice||0),1)):u("",!0)])])))),128))])),_:1})])])])])):(a(),n("div",{key:0,style:i(p.noDataStyle)},"请选择商品样式一",4))])},Qo.__scopeId="data-v-02ef6f46";var fa={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,paddingTop:Number,paddingBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},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.props.selectImg.length){case 1:this.classOptions.showA=!0;break;case 2:this.classOptions.showB=!0;break;case 3:this.classOptions.showC=!0;break;case 4:this.classOptions.showD=!0}else switch(this.props.selectImg.length){case 1:this.classOptions.showE=!0;break;case 2:this.classOptions.showF=!0;break;case 3:this.classOptions.showG=!0;break;case 4:this.classOptions.showH=!0}},linkClick(e){this.$emit("linkClick",e)}}};const ba={key:0,class:"holder"},va=["src","onClick"];zo(".holder[data-v-e03f57e4]{background-color:#27d7b1;height:60px;padding:10px 0;width:100%}.ArsenalPicture[data-v-e03f57e4]{display:flex;justify-content:space-between;width:100%}.ArsenalPicture[data-v-e03f57e4] .classA-show[data-v-e03f57e4]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture[data-v-e03f57e4] .classB-show[data-v-e03f57e4]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture[data-v-e03f57e4] .classC-show[data-v-e03f57e4]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture[data-v-e03f57e4] .classD-show[data-v-e03f57e4]{aspect-ratio:1;width:25%}.ArsenalPicture[data-v-e03f57e4] .classE-show[data-v-e03f57e4]{height:392px;width:392px}.ArsenalPicture[data-v-e03f57e4] .classF-show[data-v-e03f57e4]{height:180px;width:180px}.ArsenalPicture[data-v-e03f57e4] .classG-show[data-v-e03f57e4]{height:120px;width:120px}.ArsenalPicture[data-v-e03f57e4] .classH-show[data-v-e03f57e4]{height:80px;width:80px}.ArsenalPicture[data-v-e03f57e4] .ArsenalImg[data-v-e03f57e4]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-e03f57e4]{width:100%}.ArsenalPicture-colunm[data-v-e03f57e4] .classI-show[data-v-e03f57e4]{aspect-ratio:1;width:100%}.ArsenalPicture-colunm[data-v-e03f57e4] .classJ-show[data-v-e03f57e4]{aspect-ratio:1;margin-bottom:20px;width:100%}.ArsenalPicture-colunm[data-v-e03f57e4] .ArsenalImg[data-v-e03f57e4]{height:100%!important;width:100%}"),fa.render=function(e,t,r,o,s,u){return a(),n("div",null,[r.props.selectImg.length?(a(),n("div",{key:1,class:p([1===r.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:i({paddingTop:r.props.paddingTop+"px",paddingBottom:r.props.paddingBottom+"px"})},[(a(!0),n(c,null,l(r.props.selectImg,((e,t)=>(a(),n("div",{key:t,class:p({"classA-show":s.classOptions.showA,"classB-show":s.classOptions.showB,"classC-show":s.classOptions.showC,"classD-show":s.classOptions.showD,"classE-show":s.classOptions.showE,"classF-show":s.classOptions.showF,"classG-show":s.classOptions.showG,"classH-show":s.classOptions.showH,"classI-show":s.classOptions.showI,"classJ-show":s.classOptions.showJ})},[d("img",{class:"ArsenalImg",mode:"widthFix",src:e.imgUrl,alt:"",style:i({borderRadius:r.props.cornerStyle+"px"}),onClick:t=>u.linkClick(e)},null,12,va)],2)))),128))],6)):(a(),n("div",ba,"请上传图片"))])},fa.__scopeId="data-v-e03f57e4";var ha={name:"cyy-ArsenalPicture",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,paddingTop:Number,paddingBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},methods:{linkClick(e){this.$emit("linkClick",e)}}};const ga={key:0,class:"holder"},ya={key:1,class:"golds-notice"},ma={class:"gold-area"},wa={class:"golds"},xa=["onClick"],ja=["src"];zo(".holder[data-v-3dacaea5]{background-color:#50ff49;height:60px;padding:10px 0;width:100%}.golds-notice[data-v-3dacaea5]{background:#fff;border:4rpx solid #f6f6f6;border-radius:14rpx;box-shadow:0 10rpx 20rpx 0 rgba(0,0,0,.1)}.golds-notice[data-v-3dacaea5] .gold-area[data-v-3dacaea5]{box-sizing:border-box;padding:20rpx 0rpx;width:100%}.golds-notice[data-v-3dacaea5] .gold-area[data-v-3dacaea5] .golds[data-v-3dacaea5]{background:#fff;border-radius:8rpx;display:flex;flex-wrap:wrap;justify-content:space-between}.golds-notice[data-v-3dacaea5] .gold-area[data-v-3dacaea5] .golds[data-v-3dacaea5] .golds-item[data-v-3dacaea5]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:20rpx 0;width:150rpx}.golds-notice[data-v-3dacaea5] .gold-area[data-v-3dacaea5] .golds[data-v-3dacaea5] .golds-item[data-v-3dacaea5] img[data-v-3dacaea5]{border-radius:50%;height:96rpx;width:96rpx}.golds-notice[data-v-3dacaea5] .gold-area[data-v-3dacaea5] .golds[data-v-3dacaea5] .golds-item[data-v-3dacaea5] div[data-v-3dacaea5]{color:#595959;font-family:PingFangSC-Medium,PingFang SC;font-size:22rpx;line-height:30rpx;text-align:center;width:160rpx}"),ha.render=function(e,t,r,o,i,u){return a(),n("div",null,[r.props.selectImg.length?(a(),n("div",ya,[d("div",ma,[d("div",wa,[(a(!0),n(c,null,l(r.props.selectImg,((e,t)=>(a(),n("div",{class:"golds-item",key:t,onClick:t=>u.linkClick(e)},[d("img",{"lazy-load":!0,src:e.imgUrl},null,8,ja),d("div",null,s(e.name),1)],8,xa)))),128))])])])):(a(),n("div",ga,"请上传图片"))])},ha.__scopeId="data-v-3dacaea5";const _a=[Fo,Co,Po,Bo,Jo,Qo],Aa=function(e){_a.forEach((t=>{e.component(t.name,t)}))};"undefined"!=typeof window&&window.Vue&&Aa(window.Vue);export{ha as ArsenalNavigation,fa as ArsenalPicture,Po as Cube,Fo as Goods,Qo as GoodsOne,Bo as Search,Jo as Slider,Co as Title,Aa as default};
|
|
1
|
+
import{isEmpty as e,isEqual as t,isUndefined as r,get as o}from"lodash-es";import{openBlock as a,createElementBlock as n,normalizeStyle as i,toDisplayString as c,Fragment as s,renderList as l,createElementVNode as d,createCommentVNode as u,normalizeClass as p,createTextVNode as b,resolveComponent as f,createVNode as v,withCtx as h,createBlock as g,pushScopeId as y,popScopeId as m}from"vue";const w="production"!==process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,x=e=>{let t={};for(let r in e)t[r]=j(e[r]);return t},j=e=>w?e+"px":2*e+"rpx";const _=w?async(r,o)=>{const{id:a,goods:n}=r.props;if(e(n))return Promise.resolve({list:[]});const i=(e=>{const{goods:r,id:o}=e.props,{mGoods:a}=A[o]||{};return t(r,a)})(r);if(i)return Promise.resolve((e=>{const{mGoodsInfo:t}=A[e];return t})(a));const c=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+"web/rs/sku/querySkuFromJm.json?skuCodeStr="+o.goodsCode,{method:"GET",headers:{"saas-token":c,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}}).then((e=>e.json())).then(((e={})=>(((e,t,r)=>{A[e]={mGoodsInfo:r,mGoods:t}})(a,n,e),e)))}:(e,t)=>e.http.get("web/es/searchengine/find.json",t),A={};var k=Array.isArray,S="object"==typeof global&&global&&global.Object===Object&&global,O="object"==typeof self&&self&&self.Object===Object&&self,C=S||O||Function("return this")(),P=C.Symbol,N=Object.prototype,z=N.hasOwnProperty,B=N.toString,I=P?P.toStringTag:void 0;var T=Object.prototype.toString;var D="[object Null]",F="[object Undefined]",E=P?P.toStringTag:void 0;function U(e){return null==e?void 0===e?F:D:E&&E in Object(e)?function(e){var t=z.call(e,I),r=e[I];try{e[I]=void 0;var o=!0}catch(e){}var a=B.call(e);return o&&(t?e[I]=r:delete e[I]),a}(e):function(e){return T.call(e)}(e)}function R(e){return null!=e&&"object"==typeof e}var G="[object Symbol]";function $(e){return"symbol"==typeof e||R(e)&&U(e)==G}var M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function H(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var V="[object AsyncFunction]",J="[object Function]",W="[object GeneratorFunction]",q="[object Proxy]";function K(e){if(!H(e))return!1;var t=U(e);return t==J||t==W||t==V||t==q}var X,Q=C["__core-js_shared__"],Y=(X=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"";var Z=Function.prototype.toString;function ee(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var te=/^\[object .+?Constructor\]$/,re=Function.prototype,oe=Object.prototype,ae=re.toString,ne=oe.hasOwnProperty,ie=RegExp("^"+ae.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ce(e){return!(!H(e)||(t=e,Y&&Y in t))&&(K(e)?ie:te).test(ee(e));var t}function se(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return ce(r)?r:void 0}var le=se(Object,"create");var de="__lodash_hash_undefined__",ue=Object.prototype.hasOwnProperty;var pe=Object.prototype.hasOwnProperty;var be="__lodash_hash_undefined__";function fe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function ve(e,t){return e===t||e!=e&&t!=t}function he(e,t){for(var r=e.length;r--;)if(ve(e[r][0],t))return r;return-1}fe.prototype.clear=function(){this.__data__=le?le(null):{},this.size=0},fe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},fe.prototype.get=function(e){var t=this.__data__;if(le){var r=t[e];return r===de?void 0:r}return ue.call(t,e)?t[e]:void 0},fe.prototype.has=function(e){var t=this.__data__;return le?void 0!==t[e]:pe.call(t,e)},fe.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=le&&void 0===t?be:t,this};var ge=Array.prototype.splice;function ye(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ye.prototype.clear=function(){this.__data__=[],this.size=0},ye.prototype.delete=function(e){var t=this.__data__,r=he(t,e);return!(r<0)&&(r==t.length-1?t.pop():ge.call(t,r,1),--this.size,!0)},ye.prototype.get=function(e){var t=this.__data__,r=he(t,e);return r<0?void 0:t[r][1]},ye.prototype.has=function(e){return he(this.__data__,e)>-1},ye.prototype.set=function(e,t){var r=this.__data__,o=he(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};var me=se(C,"Map");function we(e,t){var r,o,a=e.__data__;return("string"==(o=typeof(r=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?a["string"==typeof t?"string":"hash"]:a.map}function xe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}xe.prototype.clear=function(){this.size=0,this.__data__={hash:new fe,map:new(me||ye),string:new fe}},xe.prototype.delete=function(e){var t=we(this,e).delete(e);return this.size-=t?1:0,t},xe.prototype.get=function(e){return we(this,e).get(e)},xe.prototype.has=function(e){return we(this,e).has(e)},xe.prototype.set=function(e,t){var r=we(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};var je="Expected a function";function _e(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(je);var r=function(){var o=arguments,a=t?t.apply(this,o):o[0],n=r.cache;if(n.has(a))return n.get(a);var i=e.apply(this,o);return r.cache=n.set(a,i)||n,i};return r.cache=new(_e.Cache||xe),r}_e.Cache=xe;var Ae=500;var ke,Se,Oe,Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pe=/\\(\\)?/g,Ne=(ke=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ce,(function(e,r,o,a){t.push(o?a.replace(Pe,"$1"):r||e)})),t},Se=_e(ke,(function(e){return Oe.size===Ae&&Oe.clear(),e})),Oe=Se.cache,Se),ze=Ne;function Be(e,t){for(var r=-1,o=null==e?0:e.length,a=Array(o);++r<o;)a[r]=t(e[r],r,e);return a}var Ie=1/0,Te=P?P.prototype:void 0,De=Te?Te.toString:void 0;function Fe(e){if("string"==typeof e)return e;if(k(e))return Be(e,Fe)+"";if($(e))return De?De.call(e):"";var t=e+"";return"0"==t&&1/e==-Ie?"-0":t}function Ee(e,t){return k(e)?e:function(e,t){if(k(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!$(e))||L.test(e)||!M.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:ze(function(e){return null==e?"":Fe(e)}(e))}var Ue=1/0;function Re(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-Ue?"-0":t}function Ge(e,t){for(var r=0,o=(t=Ee(t,e)).length;null!=e&&r<o;)e=e[Re(t[r++])];return r&&r==o?e:void 0}var $e=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Me=$e;function Le(e,t,r){"__proto__"==t&&Me?Me(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var He=Object.prototype.hasOwnProperty;function Ve(e,t,r){var o=e[t];He.call(e,t)&&ve(o,r)&&(void 0!==r||t in e)||Le(e,t,r)}var Je=9007199254740991,We=/^(?:0|[1-9]\d*)$/;function qe(e,t){var r=typeof e;return!!(t=null==t?Je:t)&&("number"==r||"symbol"!=r&&We.test(e))&&e>-1&&e%1==0&&e<t}function Ke(e,t,r,o){if(!H(e))return e;for(var a=-1,n=(t=Ee(t,e)).length,i=n-1,c=e;null!=c&&++a<n;){var s=Re(t[a]),l=r;if("__proto__"===s||"constructor"===s||"prototype"===s)return e;if(a!=i){var d=c[s];void 0===(l=o?o(d,s,c):void 0)&&(l=H(d)?d:qe(t[a+1])?[]:{})}Ve(c,s,l),c=c[s]}return e}function Xe(e,t){return null!=e&&t in Object(e)}var Qe="[object Arguments]";function Ye(e){return R(e)&&U(e)==Qe}var Ze=Object.prototype,et=Ze.hasOwnProperty,tt=Ze.propertyIsEnumerable,rt=Ye(function(){return arguments}())?Ye:function(e){return R(e)&&et.call(e,"callee")&&!tt.call(e,"callee")},ot=9007199254740991;function at(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ot}function nt(e,t){return null!=e&&function(e,t,r){for(var o=-1,a=(t=Ee(t,e)).length,n=!1;++o<a;){var i=Re(t[o]);if(!(n=null!=e&&r(e,i)))break;e=e[i]}return n||++o!=a?n:!!(a=null==e?0:e.length)&&at(a)&&qe(i,a)&&(k(e)||rt(e))}(e,t,Xe)}function it(e,t){return function(e,t,r){for(var o=-1,a=t.length,n={};++o<a;){var i=t[o],c=Ge(e,i);r(c,i)&&Ke(n,Ee(i,e),c)}return n}(e,t,(function(t,r){return nt(e,r)}))}function ct(e,t){for(var r=-1,o=t.length,a=e.length;++r<o;)e[a+r]=t[r];return e}var st=P?P.isConcatSpreadable:void 0;function lt(e){return k(e)||rt(e)||!!(st&&e&&e[st])}function dt(e,t,r,o,a){var n=-1,i=e.length;for(r||(r=lt),a||(a=[]);++n<i;){var c=e[n];t>0&&r(c)?t>1?dt(c,t-1,r,o,a):ct(a,c):o||(a[a.length]=c)}return a}function ut(e){return(null==e?0:e.length)?dt(e,1):[]}var pt=Math.max;var bt=Me?function(e,t){return Me(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:function(e){return e},ft=bt,vt=800,ht=16,gt=Date.now;var yt=function(e){var t=0,r=0;return function(){var o=gt(),a=ht-(o-r);if(r=o,a>0){if(++t>=vt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ft),mt=yt;function wt(e){return mt(function(e,t,r){return t=pt(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,n=pt(o.length-t,0),i=Array(n);++a<n;)i[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=r(i),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,c)}}(e,void 0,ut),e+"")}var xt=wt((function(e,t){return null==e?{}:it(e,t)}));var jt=200;function _t(e){var t=this.__data__=new ye(e);this.size=t.size}function At(e,t,r,o){var a=!r;r||(r={});for(var n=-1,i=t.length;++n<i;){var c=t[n],s=o?o(r[c],e[c],c,r,e):void 0;void 0===s&&(s=e[c]),a?Le(r,c,s):Ve(r,c,s)}return r}_t.prototype.clear=function(){this.__data__=new ye,this.size=0},_t.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},_t.prototype.get=function(e){return this.__data__.get(e)},_t.prototype.has=function(e){return this.__data__.has(e)},_t.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ye){var o=r.__data__;if(!me||o.length<jt-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new xe(o)}return r.set(e,t),this.size=r.size,this};var kt="object"==typeof exports&&exports&&!exports.nodeType&&exports,St=kt&&"object"==typeof module&&module&&!module.nodeType&&module,Ot=St&&St.exports===kt?C.Buffer:void 0,Ct=(Ot?Ot.isBuffer:void 0)||function(){return!1},Pt={};function Nt(e){return function(t){return e(t)}}Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;var zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Bt=zt&&"object"==typeof module&&module&&!module.nodeType&&module,It=Bt&&Bt.exports===zt&&S.process,Tt=function(){try{var e=Bt&&Bt.require&&Bt.require("util").types;return e||It&&It.binding&&It.binding("util")}catch(e){}}(),Dt=Tt&&Tt.isTypedArray,Ft=Dt?Nt(Dt):function(e){return R(e)&&at(e.length)&&!!Pt[U(e)]},Et=Object.prototype.hasOwnProperty;function Ut(e,t){var r=k(e),o=!r&&rt(e),a=!r&&!o&&Ct(e),n=!r&&!o&&!a&&Ft(e),i=r||o||a||n,c=i?function(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}(e.length,String):[],s=c.length;for(var l in e)!t&&!Et.call(e,l)||i&&("length"==l||a&&("offset"==l||"parent"==l)||n&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qe(l,s))||c.push(l);return c}var Rt=Object.prototype;function Gt(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Rt)}function $t(e,t){return function(r){return e(t(r))}}var Mt=$t(Object.keys,Object),Lt=Object.prototype.hasOwnProperty;function Ht(e){return null!=e&&at(e.length)&&!K(e)}function Vt(e){return Ht(e)?Ut(e):function(e){if(!Gt(e))return Mt(e);var t=[];for(var r in Object(e))Lt.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}var Jt=Object.prototype.hasOwnProperty;function Wt(e){if(!H(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=Gt(e),r=[];for(var o in e)("constructor"!=o||!t&&Jt.call(e,o))&&r.push(o);return r}function qt(e){return Ht(e)?Ut(e,!0):Wt(e)}var Kt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xt=Kt&&"object"==typeof module&&module&&!module.nodeType&&module,Qt=Xt&&Xt.exports===Kt?C.Buffer:void 0,Yt=Qt?Qt.allocUnsafe:void 0;function Zt(){return[]}var er=Object.prototype.propertyIsEnumerable,tr=Object.getOwnPropertySymbols,rr=tr?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,o=null==e?0:e.length,a=0,n=[];++r<o;){var i=e[r];t(i,r,e)&&(n[a++]=i)}return n}(tr(e),(function(t){return er.call(e,t)})))}:Zt,or=rr;var ar=$t(Object.getPrototypeOf,Object),nr=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)ct(t,or(e)),e=ar(e);return t}:Zt,ir=nr;function cr(e,t,r){var o=t(e);return k(e)?o:ct(o,r(e))}function sr(e){return cr(e,Vt,or)}function lr(e){return cr(e,qt,ir)}var dr=se(C,"DataView"),ur=se(C,"Promise"),pr=se(C,"Set"),br=se(C,"WeakMap"),fr="[object Map]",vr="[object Promise]",hr="[object Set]",gr="[object WeakMap]",yr="[object DataView]",mr=ee(dr),wr=ee(me),xr=ee(ur),jr=ee(pr),_r=ee(br),Ar=U;(dr&&Ar(new dr(new ArrayBuffer(1)))!=yr||me&&Ar(new me)!=fr||ur&&Ar(ur.resolve())!=vr||pr&&Ar(new pr)!=hr||br&&Ar(new br)!=gr)&&(Ar=function(e){var t=U(e),r="[object Object]"==t?e.constructor:void 0,o=r?ee(r):"";if(o)switch(o){case mr:return yr;case wr:return fr;case xr:return vr;case jr:return hr;case _r:return gr}return t});var kr=Ar,Sr=Object.prototype.hasOwnProperty;var Or=C.Uint8Array;function Cr(e){var t=new e.constructor(e.byteLength);return new Or(t).set(new Or(e)),t}var Pr=/\w*$/;var Nr=P?P.prototype:void 0,zr=Nr?Nr.valueOf:void 0;var Br="[object Boolean]",Ir="[object Date]",Tr="[object Map]",Dr="[object Number]",Fr="[object RegExp]",Er="[object Set]",Ur="[object String]",Rr="[object Symbol]",Gr="[object ArrayBuffer]",$r="[object DataView]",Mr="[object Float32Array]",Lr="[object Float64Array]",Hr="[object Int8Array]",Vr="[object Int16Array]",Jr="[object Int32Array]",Wr="[object Uint8Array]",qr="[object Uint8ClampedArray]",Kr="[object Uint16Array]",Xr="[object Uint32Array]";function Qr(e,t,r){var o,a=e.constructor;switch(t){case Gr:return Cr(e);case Br:case Ir:return new a(+e);case $r:return function(e,t){var r=t?Cr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case Mr:case Lr:case Hr:case Vr:case Jr:case Wr:case qr:case Kr:case Xr:return function(e,t){var r=t?Cr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}(e,r);case Tr:return new a;case Dr:case Ur:return new a(e);case Fr:return function(e){var t=new e.constructor(e.source,Pr.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Er:return new a;case Rr:return o=e,zr?Object(zr.call(o)):{}}}var Yr=Object.create,Zr=function(){function e(){}return function(t){if(!H(t))return{};if(Yr)return Yr(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),eo=Zr;var to="[object Map]";var ro=Tt&&Tt.isMap,oo=ro?Nt(ro):function(e){return R(e)&&kr(e)==to},ao="[object Set]";var no=Tt&&Tt.isSet,io=no?Nt(no):function(e){return R(e)&&kr(e)==ao},co=1,so=2,lo=4,uo="[object Arguments]",po="[object Function]",bo="[object GeneratorFunction]",fo="[object Object]",vo={};function ho(e,t,r,o,a,n){var i,c=t&co,s=t&so,l=t&lo;if(r&&(i=a?r(e,o,a,n):r(e)),void 0!==i)return i;if(!H(e))return e;var d=k(e);if(d){if(i=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Sr.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!c)return function(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}(e,i)}else{var u=kr(e),p=u==po||u==bo;if(Ct(e))return function(e,t){if(t)return e.slice();var r=e.length,o=Yt?Yt(r):new e.constructor(r);return e.copy(o),o}(e,c);if(u==fo||u==uo||p&&!a){if(i=s||p?{}:function(e){return"function"!=typeof e.constructor||Gt(e)?{}:eo(ar(e))}(e),!c)return s?function(e,t){return At(e,ir(e),t)}(e,function(e,t){return e&&At(t,qt(t),e)}(i,e)):function(e,t){return At(e,or(e),t)}(e,function(e,t){return e&&At(t,Vt(t),e)}(i,e))}else{if(!vo[u])return a?e:{};i=Qr(e,u,c)}}n||(n=new _t);var b=n.get(e);if(b)return b;n.set(e,i),io(e)?e.forEach((function(o){i.add(ho(o,t,r,o,e,n))})):oo(e)&&e.forEach((function(o,a){i.set(a,ho(o,t,r,a,e,n))}));var f=d?void 0:(l?s?lr:sr:s?qt:Vt)(e);return function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o&&!1!==t(e[r],r,e););}(f||e,(function(o,a){f&&(o=e[a=o]),Ve(i,a,ho(o,t,r,a,e,n))})),i}function go(e,t){return t.length<2?e:Ge(e,function(e,t,r){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var n=Array(a);++o<a;)n[o]=e[o+t];return n}(t,0,-1))}function yo(e,t){return null==(e=go(e,t=Ee(t,e)))||delete e[Re((r=t,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}vo[uo]=vo["[object Array]"]=vo["[object ArrayBuffer]"]=vo["[object DataView]"]=vo["[object Boolean]"]=vo["[object Date]"]=vo["[object Float32Array]"]=vo["[object Float64Array]"]=vo["[object Int8Array]"]=vo["[object Int16Array]"]=vo["[object Int32Array]"]=vo["[object Map]"]=vo["[object Number]"]=vo[fo]=vo["[object RegExp]"]=vo["[object Set]"]=vo["[object String]"]=vo["[object Symbol]"]=vo["[object Uint8Array]"]=vo["[object Uint8ClampedArray]"]=vo["[object Uint16Array]"]=vo["[object Uint32Array]"]=!0,vo["[object Error]"]=vo[po]=vo["[object WeakMap]"]=!1;var mo="[object Object]",wo=Function.prototype,xo=Object.prototype,jo=wo.toString,_o=xo.hasOwnProperty,Ao=jo.call(Object);function ko(e){return function(e){if(!R(e)||U(e)!=mo)return!1;var t=ar(e);if(null===t)return!0;var r=_o.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&jo.call(r)==Ao}(e)?void 0:e}var So=wt((function(e,t){var r={};if(null==e)return r;var o=!1;t=Be(t,(function(t){return t=Ee(t,e),o||(o=t.length>1),t})),At(e,lr(e),r),o&&(r=ho(r,7,ko));for(var a=t.length;a--;)yo(r,t[a]);return r})),Oo=So,Co={name:"cyy-title",props:{props:{value:String,fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,paddingTop:Number,paddingBottom:Number}},computed:{computedStyle(){const e=["fontSize","paddingTop","paddingBottom"],t=xt(this.props||{},e),r=Oo(this.props||{},e);return{...x(t),...r}}}};Co.render=function(e,t,r,o,s,l){return a(),n("div",{style:i([l.computedStyle])},c(r.props.value),5)};var Po={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,paddingTop:Number,paddingLeft:Number,paddingRight:Number,paddingBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,a=t.filter((e=>!r(e))).filter((e=>!Object.values(e).every((e=>r(e)))));let n=o;return e(a)||(n=a),console.log(52,n),n},computedStyle(){const e=["borderRadius","paddingTop","paddingLeft","paddingRight","paddingBottom"],t=xt(this.props,e),r=Oo(this.props,e);return{...x(t),...r}}}};const No=["src"];function zo(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}zo(".lc-img-item[data-v-eaee1e30]{box-sizing:border-box;width:100%}"),Po.render=function(e,t,r,o,c,u){return a(),n("div",null,[(a(!0),n(s,null,l(u.resultArr,((t,r)=>(a(),n("div",{key:e.cyy},[d("img",{mode:"widthFix",style:i([u.computedStyle,c.imgStyle]),src:t.imgUrl,alt:""},null,12,No)])))),128))])},Po.__scopeId="data-v-eaee1e30";var Bo={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const e=["marginTop","marginBottom"],t=xt(this.props,e),r=Oo(this.props,e);return{...x(t),...r,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){w||this.$routers.push("goodsList",{memberCode:this.memberCode})}}};const Io={style:{overflow:"hidden"}},To=["src"],Do={style:{flex:"1"}};Bo.render=function(e,t,r,o,s,l){return a(),n("div",Io,[d("div",{style:i([l.computedStyle]),onClick:t[0]||(t[0]=(...e)=>l.goSearch&&l.goSearch(...e))},[r.props.iconShow?(a(),n("img",{key:0,src:r.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,To)):u("",!0),d("div",Do,c(r.props.value),1)],4)])};var Fo={name:"cyy-goods",props:{props:{goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,paddingTop:Number,paddingBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},REACT_APP_BASE_URL:process.env.REACT_APP_BASE_URL}),mounted(){this.init()},methods:{async init(){const{goods:e=[]}=this.props,t={goodsCode:e.toString()},r=await _(this,t);this.listArr=o(r,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(w)return;const{skuCode:t,skuNo:r}=e;let o={skuCode:t,skuNo:r};this.$routers.push("detail",o)},handleBuyGoods(e){w||this.$routers.push("detail",{skuNo:e})}}};const Eo={key:1},Uo=["onClick"],Ro=["src"],Go={class:"goodsDescription"},$o={class:"goodsName"},Mo={class:"footerContent"},Lo={class:"goodsPrice"},Ho={key:0,class:"scribing"},Vo=["onClick"];zo("button[data-v-388eb8e6]{border:none}.cube-container[data-v-388eb8e6]{display:grid}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6] .goodsName[data-v-388eb8e6]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{font-size:18px}.cube-container[data-v-388eb8e6].arrange-1[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6] .scribing[data-v-388eb8e6]{font-size:14px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6]{margin:0 5px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6]{position:relative}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsName[data-v-388eb8e6]{font-size:16px;padding:15px 0 2px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{font-size:14px}.cube-container[data-v-388eb8e6].arrange-2[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6] .scribing[data-v-388eb8e6]{font-size:12px}.cube-container[data-v-388eb8e6].arrange-3[data-v-388eb8e6]{display:flex;overflow-x:scroll}.cube-container[data-v-388eb8e6].arrange-3[data-v-388eb8e6] .cube-item[data-v-388eb8e6]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-388eb8e6].arrange-3[data-v-388eb8e6] .cube-item[data-v-388eb8e6]:not(:last-child){margin-right:10px}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6]{display:flex;justify-content:space-around}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] img[data-v-388eb8e6]{width:40%}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6]{display:block;position:relative}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{margin-top:10px}.cube-container[data-v-388eb8e6].arrange-4[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsBuy[data-v-388eb8e6]{left:65px;position:absolute;top:100px}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] img[data-v-388eb8e6]{width:100%}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .goodsName[data-v-388eb8e6]{color:#000}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6]{color:#f53a50}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsPrice[data-v-388eb8e6] .scribing[data-v-388eb8e6]{color:#ccc;display:inline-block;text-decoration:line-through}.cube-container[data-v-388eb8e6] .cube-item[data-v-388eb8e6] .goodsDescription[data-v-388eb8e6] .footerContent[data-v-388eb8e6] .goodsBuy[data-v-388eb8e6]{align-self:flex-end;background-color:red;border-radius:5px;color:#fff;height:1.5em;margin:.5em .25em 0;min-width:74px;padding:0 .75em}"),Fo.render=function(e,t,r,o,f,v){return a(),n("div",null,[r.props.goods?(a(),n("div",Eo,[d("div",{class:p(["cube-container",`arrange-${r.props.arrange}`]),style:i({paddingTop:`${r.props.paddingTop}px`,paddingBottom:`${r.props.paddingBottom}px`,gap:`${r.props.margin}px`})},[(a(!0),n(s,null,l(f.listArr,((t,o)=>(a(),n("div",{class:"cube-item",key:e.cyy,onClick:e=>v.goGoodsDetail(t)},[d("img",{src:f.REACT_APP_BASE_URL+t.dataPic,mode:"widthFix",alt:"",style:i({borderRadius:r.props.borderRadius})},null,12,Ro),d("div",Go,[d("div",$o,c(t.goodsName),1),d("section",Mo,[d("div",Lo,[b(" ¥"+c(t.pricesetNprice)+" ",1),1===r.props.markedPrice?(a(),n("div",Ho," ¥"+c(t.pricesetMakeprice),1)):u("",!0)]),d("button",{onClick:e=>v.handleBuyGoods(t.skuNo),class:"goodsBuy"}," 立即购买 ",8,Vo)])])],8,Uo)))),128))],6)])):(a(),n("div",{key:0,style:i(f.noDataStyle)},"请选择商品",4))])},Fo.__scopeId="data-v-388eb8e6";var Jo={name:"cyy-slider",data:()=>({lowCode:w}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:t,defaultValue:o}=this.props,a=t.filter((e=>!r(e))).filter((e=>!Object.values(e).every((e=>r(e)))));let n=o;return e(a)||(n=a),n},imgH(){const{imgHeight:e}=this.props;return e.height/e.width*750},sliderStyle(){const e=xt(this.props,["marginTop","marginBottom"]);return{...x(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const Wo={key:0},qo=["src"],Ko={key:1},Xo=["src"];zo(".lowCode-warp{position:relative}.lowCode-warp ul{bottom:10px;padding:0;position:absolute;text-align:center;width:100%}.lowCode-warp li{background-color:rgba(0,0,0,.3);border-radius:50%;display:inline-block;height:8px;margin:0 4px;width:8px}.lowCode-warp li:first-child{background-color:#000}"),Jo.render=function(e,t,r,o,c,u){const p=f("swiper-item"),b=f("swiper");return a(),n("div",null,[c.lowCode?(a(),n("div",Wo,[d("div",{class:"lowCode-warp",style:i([u.sliderStyle])},[d("img",{src:u.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,qo),d("ul",null,[(a(!0),n(s,null,l(u.resultArr,((t,r)=>(a(),n("li",{key:e.cyy})))),128))])],4)])):(a(),n("div",Ko,[v(b,{"indicator-dots":!0,autoplay:r.props.autoplay,interval:r.props.autoplayInterval,vertical:u.reDirection,circular:r.props.loop,style:i({height:u.imgH+"rpx"})},{default:h((()=>[(a(!0),n(s,null,l(u.resultArr,((t,r)=>(a(),g(p,{key:e.cyy,style:i([u.sliderStyle,{boxSizing:"border-box"}])},{default:h((()=>[d("img",{src:t.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Xo)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var Qo={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,paddingTop:Number,paddingLeft:Number,paddingRight:Number,paddingBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:e=[]}=this.props;console.log(197);const t=e.toString();console.log(198);const r={goodsCode:t};console.log(199,r);const a=await _(this,r);this.listArr=o(a,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(w)return;const{skuCode:t,skuNo:r}=e;let o={skuCode:t,skuNo:r};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:e=>"1"===e?"预售中":"无库存"};const Yo=e=>(y("data-v-732ac73c"),e=e(),m(),e),Zo={key:1},ea={class:"three-layout"},ta={key:0,class:"top-left"},ra={key:1,class:"top-right"},oa=[Yo((()=>d("div",null,"更多",-1))),Yo((()=>d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],aa={class:"three-layout-content"},na={class:"three-layout-bigImg"},ia=["src"],ca={class:"three-layout-goods"},sa=["src"],la={key:0,class:"mask-three-more"},da={class:"price-box"},ua={class:"now-price"},pa={key:0,class:"origin-price"};zo(".three-layout[data-v-732ac73c]{border-radius:7px}.three-layout[data-v-732ac73c] .mask-three-more[data-v-732ac73c]{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-732ac73c] .three-layout-title[data-v-732ac73c]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-732ac73c] .three-layout-title[data-v-732ac73c] .top-left[data-v-732ac73c]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-732ac73c] .three-layout-title[data-v-732ac73c] .top-right[data-v-732ac73c]{align-items:center;display:flex}.three-layout[data-v-732ac73c] .three-layout-title[data-v-732ac73c] .top-right[data-v-732ac73c] div[data-v-732ac73c]{color:#595959;font-size:12px}.three-layout[data-v-732ac73c] .three-layout-title[data-v-732ac73c] .top-right[data-v-732ac73c] image[data-v-732ac73c]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-732ac73c] .three-layout-content[data-v-732ac73c]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-732ac73c] .three-layout-content[data-v-732ac73c] .three-layout-bigImg[data-v-732ac73c] image[data-v-732ac73c]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-732ac73c] .three-layout-content[data-v-732ac73c] .three-layout-goods[data-v-732ac73c]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-732ac73c] .three-layout-content[data-v-732ac73c] .three-layout-goods[data-v-732ac73c] .goods-items[data-v-732ac73c]{width:106px}.scroll-list[data-v-732ac73c]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-732ac73c] .scroll-item[data-v-732ac73c]{display:inline-block;margin-right:10px}.scroll-list[data-v-732ac73c] .scroll-item[data-v-732ac73c] image[data-v-732ac73c]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-732ac73c] .scroll-item[data-v-732ac73c] p[data-v-732ac73c]{-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-732ac73c]{margin-top:10px}"),Qo.render=function(e,t,r,o,p,g){const y=f("vop-label"),m=f("scroll-view");return a(),n("div",null,[r.props.goods?(a(),n("div",Zo,[d("div",ea,[d("div",{class:"three-layout-title",onClick:t[0]||(t[0]=e=>g.jumpToSearch())},[r.props.title.isShow?u("",!0):(a(),n("div",ta,c(r.props.title.title||""),1)),1===r.props.more?(a(),n("div",ra,oa)):u("",!0)]),d("div",aa,[d("div",na,[d("image",{"lazy-load":!0,src:r.props.bill?r.props.bill:"",mode:"aspectFill"},null,8,ia)]),d("div",ca,[v(m,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:h((()=>[(a(!0),n(s,null,l(p.listArr,((r,o)=>(a(),n("div",{class:"scroll-item",key:o,onClick:t[1]||(t[1]=t=>e.toDetail())},[d("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+r.dataPic,mode:"aspectFill"},null,8,sa),r.goodsSupplynum<=0||"1"===r.goodsProperty5?(a(),n("div",la,c(e.maskTitle(r.goodsProperty5)),1)):u("",!0),d("p",null,[v(y,{goodsType:r.contlistPrice1},null,8,["goodsType"]),b(c(r.goodsName),1)]),d("div",da,[d("div",ua,"¥"+c(r.pricesetMakeprice||0),1),1==r.contlistConNow?(a(),n("div",pa,"¥"+c(r.pricesetBaseprice||0),1)):u("",!0)])])))),128))])),_:1})])])])])):(a(),n("div",{key:0,style:i(p.noDataStyle)},"请选择商品样式一",4))])},Qo.__scopeId="data-v-732ac73c";var ba={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,paddingTop:Number,paddingBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2007),this.whitchClass()},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.props.selectImg.length){case 1:this.classOptions.showA=!0;break;case 2:this.classOptions.showB=!0;break;case 3:this.classOptions.showC=!0;break;case 4:this.classOptions.showD=!0}else switch(this.props.selectImg.length){case 1:this.classOptions.showE=!0;break;case 2:this.classOptions.showF=!0;break;case 3:this.classOptions.showG=!0;break;case 4:this.classOptions.showH=!0}},linkClick(e){this.$emit("linkClick",e)}}};const fa={key:0,class:"holder"},va=["src","onClick"];zo(".holder[data-v-e03f57e4]{background-color:#27d7b1;height:60px;padding:10px 0;width:100%}.ArsenalPicture[data-v-e03f57e4]{display:flex;justify-content:space-between;width:100%}.ArsenalPicture[data-v-e03f57e4] .classA-show[data-v-e03f57e4]{aspect-ratio:1;color:red;width:100%}.ArsenalPicture[data-v-e03f57e4] .classB-show[data-v-e03f57e4]{aspect-ratio:1;color:orange;width:50%}.ArsenalPicture[data-v-e03f57e4] .classC-show[data-v-e03f57e4]{aspect-ratio:1;color:#ff0;width:33.33%}.ArsenalPicture[data-v-e03f57e4] .classD-show[data-v-e03f57e4]{aspect-ratio:1;width:25%}.ArsenalPicture[data-v-e03f57e4] .classE-show[data-v-e03f57e4]{height:392px;width:392px}.ArsenalPicture[data-v-e03f57e4] .classF-show[data-v-e03f57e4]{height:180px;width:180px}.ArsenalPicture[data-v-e03f57e4] .classG-show[data-v-e03f57e4]{height:120px;width:120px}.ArsenalPicture[data-v-e03f57e4] .classH-show[data-v-e03f57e4]{height:80px;width:80px}.ArsenalPicture[data-v-e03f57e4] .ArsenalImg[data-v-e03f57e4]{height:100%!important;width:100%}.ArsenalPicture-colunm[data-v-e03f57e4]{width:100%}.ArsenalPicture-colunm[data-v-e03f57e4] .classI-show[data-v-e03f57e4]{aspect-ratio:1;width:100%}.ArsenalPicture-colunm[data-v-e03f57e4] .classJ-show[data-v-e03f57e4]{aspect-ratio:1;margin-bottom:20px;width:100%}.ArsenalPicture-colunm[data-v-e03f57e4] .ArsenalImg[data-v-e03f57e4]{height:100%!important;width:100%}"),ba.render=function(e,t,r,o,c,u){return a(),n("div",null,[r.props.selectImg.length?(a(),n("div",{key:1,class:p([1===r.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture"]),style:i({paddingTop:r.props.paddingTop+"px",paddingBottom:r.props.paddingBottom+"px"})},[(a(!0),n(s,null,l(r.props.selectImg,((e,t)=>(a(),n("div",{key:t,class:p({"classA-show":c.classOptions.showA,"classB-show":c.classOptions.showB,"classC-show":c.classOptions.showC,"classD-show":c.classOptions.showD,"classE-show":c.classOptions.showE,"classF-show":c.classOptions.showF,"classG-show":c.classOptions.showG,"classH-show":c.classOptions.showH,"classI-show":c.classOptions.showI,"classJ-show":c.classOptions.showJ})},[d("img",{class:"ArsenalImg",mode:"widthFix",src:e.imgUrl,alt:"",style:i({borderRadius:r.props.cornerStyle+"px"}),onClick:t=>u.linkClick(e)},null,12,va)],2)))),128))],6)):(a(),n("div",fa,"请上传图片"))])},ba.__scopeId="data-v-e03f57e4";var ha={name:"cyy-ArsenalPicture",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,paddingTop:Number,paddingBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},methods:{linkClick(e){this.$emit("linkClick",e)}}};const ga={key:0,class:"holder"},ya={key:1,class:"golds-notice"},ma={class:"gold-area"},wa={class:"golds"},xa=["onClick"],ja=["src"];zo(".holder[data-v-829f1280]{background-color:#50ff49;height:60px;padding:10px 0;width:100%}.golds-notice[data-v-829f1280]{background:#fff;border:2px solid #f6f6f6;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1)}.golds-notice[data-v-829f1280] .gold-area[data-v-829f1280]{box-sizing:border-box;padding:10px 0;width:100%}.golds-notice[data-v-829f1280] .gold-area[data-v-829f1280] .golds[data-v-829f1280]{background:#fff;border-radius:4px;display:flex;flex-wrap:wrap;justify-content:space-between}.golds-notice[data-v-829f1280] .gold-area[data-v-829f1280] .golds[data-v-829f1280] .golds-item[data-v-829f1280]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0;width:75px}.golds-notice[data-v-829f1280] .gold-area[data-v-829f1280] .golds[data-v-829f1280] .golds-item[data-v-829f1280] img[data-v-829f1280]{border-radius:50%;height:48px;width:48px}.golds-notice[data-v-829f1280] .gold-area[data-v-829f1280] .golds[data-v-829f1280] .golds-item[data-v-829f1280] div[data-v-829f1280]{color:#595959;font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center;width:80px}"),ha.render=function(e,t,r,o,i,u){return a(),n("div",null,[r.props.selectImg.length?(a(),n("div",ya,[d("div",ma,[d("div",wa,[(a(!0),n(s,null,l(r.props.selectImg,((e,t)=>(a(),n("div",{class:"golds-item",key:t,onClick:t=>u.linkClick(e)},[d("img",{"lazy-load":!0,src:e.imgUrl},null,8,ja),d("div",null,c(e.name),1)],8,xa)))),128))])])])):(a(),n("div",ga,"请上传图片"))])},ha.__scopeId="data-v-829f1280";const _a=[Fo,Co,Po,Bo,Jo,Qo],Aa=function(e){_a.forEach((t=>{e.component(t.name,t)}))};"undefined"!=typeof window&&window.Vue&&Aa(window.Vue);export{ha as ArsenalNavigation,ba as ArsenalPicture,Po as Cube,Fo as Goods,Qo as GoodsOne,Bo as Search,Jo as Slider,Co as Title,Aa as default};
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cyy-vue-material",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"watch": "cross-env NODE_ENV=development rollup -c -w",
|
|
8
|
-
"build": "cross-env NODE_ENV=production rollup -c",
|
|
9
|
-
"clean": "rm -rf dist"
|
|
10
|
-
},
|
|
11
|
-
"author": "",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
15
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
16
|
-
"@rollup/plugin-terser": "^0.4.0",
|
|
17
|
-
"@vue/compiler-sfc": "^3.2.45",
|
|
18
|
-
"autoprefixer": "^10.4.13",
|
|
19
|
-
"cross-env": "^7.0.3",
|
|
20
|
-
"rollup": "2.78.0",
|
|
21
|
-
"rollup-plugin-less": "^1.1.3",
|
|
22
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
23
|
-
"rollup-plugin-serve": "^2.0.2",
|
|
24
|
-
"rollup-plugin-vue": "^6.0.0"
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@brushes/api": "^0.3.11",
|
|
28
|
-
"lodash-es": "^4.17.21",
|
|
29
|
-
"vue": "^3.2.45"
|
|
30
|
-
},
|
|
31
|
-
"type": "module"
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "cyy-vue-material",
|
|
3
|
+
"version": "1.0.31",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"watch": "cross-env NODE_ENV=development rollup -c -w",
|
|
8
|
+
"build": "cross-env NODE_ENV=production rollup -c",
|
|
9
|
+
"clean": "rm -rf dist"
|
|
10
|
+
},
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
15
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
16
|
+
"@rollup/plugin-terser": "^0.4.0",
|
|
17
|
+
"@vue/compiler-sfc": "^3.2.45",
|
|
18
|
+
"autoprefixer": "^10.4.13",
|
|
19
|
+
"cross-env": "^7.0.3",
|
|
20
|
+
"rollup": "2.78.0",
|
|
21
|
+
"rollup-plugin-less": "^1.1.3",
|
|
22
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
23
|
+
"rollup-plugin-serve": "^2.0.2",
|
|
24
|
+
"rollup-plugin-vue": "^6.0.0"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@brushes/api": "^0.3.11",
|
|
28
|
+
"lodash-es": "^4.17.21",
|
|
29
|
+
"vue": "^3.2.45"
|
|
30
|
+
},
|
|
31
|
+
"type": "module"
|
|
32
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<!-- <Title :props="titleProp" /> -->
|
|
4
|
-
<Goods :props="goodsProp" />
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import { Title, Goods } from "./package/index";
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
data() {
|
|
13
|
-
return {
|
|
14
|
-
titleProp: {
|
|
15
|
-
value: "test",
|
|
16
|
-
},
|
|
17
|
-
goodsProp: {
|
|
18
|
-
arrange: 1,
|
|
19
|
-
borderRadius: 0,
|
|
20
|
-
goods: ["2022010600000012", "2022010600000082", "2022010600000013"],
|
|
21
|
-
margin: 10,
|
|
22
|
-
markedPrice: 1,
|
|
23
|
-
paddingBottom: 0,
|
|
24
|
-
paddingTop: 0,
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
components: {
|
|
29
|
-
Title,
|
|
30
|
-
Goods,
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
</script>
|
|
34
|
-
|
|
35
|
-
<style lang="scss" scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<!-- <Title :props="titleProp" /> -->
|
|
4
|
+
<Goods :props="goodsProp" />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import { Title, Goods } from "./package/index";
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
titleProp: {
|
|
15
|
+
value: "test",
|
|
16
|
+
},
|
|
17
|
+
goodsProp: {
|
|
18
|
+
arrange: 1,
|
|
19
|
+
borderRadius: 0,
|
|
20
|
+
goods: ["2022010600000012", "2022010600000082", "2022010600000013"],
|
|
21
|
+
margin: 10,
|
|
22
|
+
markedPrice: 1,
|
|
23
|
+
paddingBottom: 0,
|
|
24
|
+
paddingTop: 0,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
components: {
|
|
29
|
+
Title,
|
|
30
|
+
Goods,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<style lang="scss" scoped></style>
|
package/src/api/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// 获取商品列表
|
|
2
|
-
export const querySkuFromJm = "web/rs/sku/querySkuFromJm.json";
|
|
1
|
+
// 获取商品列表
|
|
2
|
+
export const querySkuFromJm = "web/rs/sku/querySkuFromJm.json";
|