cyy-vue-material 1.0.30 → 1.0.32
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 +110 -74
- package/src/package/cyy-goods/cyy-goods.vue +3 -3
- 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 t,isEqual as e,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 h,createVNode as v,withCtx as g,createBlock as y,pushScopeId as b,popScopeId as m}from"vue";const w="production"!==process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,x=t=>{let e={};for(let r in t)e[r]=j(t[r]);return e},j=t=>w?t+"px":2*t+"rpx",_=async(r,o)=>{const{id:a,goods:n}=r.props;if(t(n))return Promise.resolve({list:[]});const i=(t=>{const{goods:r,id:o}=t.props,{mGoods:a}=A[o]||{};return e(r,a)})(r);if(i)return Promise.resolve((t=>{const{mGoodsInfo:e}=A[t];return e})(a));const s=localStorage.getItem("saas-token");return await fetch(S()+"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((t=>t.json())).then(((t={})=>(((t,e,r)=>{A[t]={mGoodsInfo:r,mGoods:e}})(a,n,t),t)))},S=t=>w?process.env.REACT_APP_BASE_URL:t.$imgDomain;const k=w?_:(t,e)=>t.http.get("web/es/searchengine/find.json",e),A={};var C=Array.isArray,O="object"==typeof global&&global&&global.Object===Object&&global,P="object"==typeof self&&self&&self.Object===Object&&self,z=O||P||Function("return this")(),N=z.Symbol,B=Object.prototype,I=B.hasOwnProperty,T=B.toString,D=N?N.toStringTag:void 0;var F=Object.prototype.toString;var E="[object Null]",U="[object Undefined]",G=N?N.toStringTag:void 0;function $(t){return null==t?void 0===t?U:E:G&&G in Object(t)?function(t){var e=I.call(t,D),r=t[D];try{t[D]=void 0;var o=!0}catch(t){}var a=T.call(t);return o&&(e?t[D]=r:delete t[D]),a}(t):function(t){return F.call(t)}(t)}function R(t){return null!=t&&"object"==typeof t}var M="[object Symbol]";function H(t){return"symbol"==typeof t||R(t)&&$(t)==M}var V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function J(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var W="[object AsyncFunction]",q="[object Function]",K="[object GeneratorFunction]",X="[object Proxy]";function Q(t){if(!J(t))return!1;var e=$(t);return e==q||e==K||e==W||e==X}var Y,Z=z["__core-js_shared__"],tt=(Y=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"";var et=Function.prototype.toString;function rt(t){if(null!=t){try{return et.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ot=/^\[object .+?Constructor\]$/,at=Function.prototype,nt=Object.prototype,it=at.toString,st=nt.hasOwnProperty,ct=RegExp("^"+it.call(st).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lt(t){return!(!J(t)||(e=t,tt&&tt in e))&&(Q(t)?ct:ot).test(rt(t));var e}function dt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return lt(r)?r:void 0}var ut=dt(Object,"create");var pt="__lodash_hash_undefined__",ft=Object.prototype.hasOwnProperty;var ht=Object.prototype.hasOwnProperty;var vt="__lodash_hash_undefined__";function gt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}function yt(t,e){return t===e||t!=t&&e!=e}function bt(t,e){for(var r=t.length;r--;)if(yt(t[r][0],e))return r;return-1}gt.prototype.clear=function(){this.__data__=ut?ut(null):{},this.size=0},gt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},gt.prototype.get=function(t){var e=this.__data__;if(ut){var r=e[t];return r===pt?void 0:r}return ft.call(e,t)?e[t]:void 0},gt.prototype.has=function(t){var e=this.__data__;return ut?void 0!==e[t]:ht.call(e,t)},gt.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ut&&void 0===e?vt:e,this};var mt=Array.prototype.splice;function wt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}wt.prototype.clear=function(){this.__data__=[],this.size=0},wt.prototype.delete=function(t){var e=this.__data__,r=bt(e,t);return!(r<0)&&(r==e.length-1?e.pop():mt.call(e,r,1),--this.size,!0)},wt.prototype.get=function(t){var e=this.__data__,r=bt(e,t);return r<0?void 0:e[r][1]},wt.prototype.has=function(t){return bt(this.__data__,t)>-1},wt.prototype.set=function(t,e){var r=this.__data__,o=bt(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};var xt=dt(z,"Map");function jt(t,e){var r,o,a=t.__data__;return("string"==(o=typeof(r=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?a["string"==typeof e?"string":"hash"]:a.map}function _t(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}_t.prototype.clear=function(){this.size=0,this.__data__={hash:new gt,map:new(xt||wt),string:new gt}},_t.prototype.delete=function(t){var e=jt(this,t).delete(t);return this.size-=e?1:0,e},_t.prototype.get=function(t){return jt(this,t).get(t)},_t.prototype.has=function(t){return jt(this,t).has(t)},_t.prototype.set=function(t,e){var r=jt(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};var St="Expected a function";function kt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(St);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],n=r.cache;if(n.has(a))return n.get(a);var i=t.apply(this,o);return r.cache=n.set(a,i)||n,i};return r.cache=new(kt.Cache||_t),r}kt.Cache=_t;var At=500;var Ct,Ot,Pt,zt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nt=/\\(\\)?/g,Bt=(Ct=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(zt,(function(t,r,o,a){e.push(o?a.replace(Nt,"$1"):r||t)})),e},Ot=kt(Ct,(function(t){return Pt.size===At&&Pt.clear(),t})),Pt=Ot.cache,Ot),It=Bt;function Tt(t,e){for(var r=-1,o=null==t?0:t.length,a=Array(o);++r<o;)a[r]=e(t[r],r,t);return a}var Dt=1/0,Ft=N?N.prototype:void 0,Et=Ft?Ft.toString:void 0;function Ut(t){if("string"==typeof t)return t;if(C(t))return Tt(t,Ut)+"";if(H(t))return Et?Et.call(t):"";var e=t+"";return"0"==e&&1/t==-Dt?"-0":e}function Gt(t,e){return C(t)?t:function(t,e){if(C(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!H(t))||L.test(t)||!V.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:It(function(t){return null==t?"":Ut(t)}(t))}var $t=1/0;function Rt(t){if("string"==typeof t||H(t))return t;var e=t+"";return"0"==e&&1/t==-$t?"-0":e}function Mt(t,e){for(var r=0,o=(e=Gt(e,t)).length;null!=t&&r<o;)t=t[Rt(e[r++])];return r&&r==o?t:void 0}var Ht=function(){try{var t=dt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Vt=Ht;function Lt(t,e,r){"__proto__"==e&&Vt?Vt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Jt=Object.prototype.hasOwnProperty;function Wt(t,e,r){var o=t[e];Jt.call(t,e)&&yt(o,r)&&(void 0!==r||e in t)||Lt(t,e,r)}var qt=9007199254740991,Kt=/^(?:0|[1-9]\d*)$/;function Xt(t,e){var r=typeof t;return!!(e=null==e?qt:e)&&("number"==r||"symbol"!=r&&Kt.test(t))&&t>-1&&t%1==0&&t<e}function Qt(t,e,r,o){if(!J(t))return t;for(var a=-1,n=(e=Gt(e,t)).length,i=n-1,s=t;null!=s&&++a<n;){var c=Rt(e[a]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(a!=i){var d=s[c];void 0===(l=o?o(d,c,s):void 0)&&(l=J(d)?d:Xt(e[a+1])?[]:{})}Wt(s,c,l),s=s[c]}return t}function Yt(t,e){return null!=t&&e in Object(t)}var Zt="[object Arguments]";function te(t){return R(t)&&$(t)==Zt}var ee=Object.prototype,re=ee.hasOwnProperty,oe=ee.propertyIsEnumerable,ae=te(function(){return arguments}())?te:function(t){return R(t)&&re.call(t,"callee")&&!oe.call(t,"callee")},ne=9007199254740991;function ie(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ne}function se(t,e){return null!=t&&function(t,e,r){for(var o=-1,a=(e=Gt(e,t)).length,n=!1;++o<a;){var i=Rt(e[o]);if(!(n=null!=t&&r(t,i)))break;t=t[i]}return n||++o!=a?n:!!(a=null==t?0:t.length)&&ie(a)&&Xt(i,a)&&(C(t)||ae(t))}(t,e,Yt)}function ce(t,e){return function(t,e,r){for(var o=-1,a=e.length,n={};++o<a;){var i=e[o],s=Mt(t,i);r(s,i)&&Qt(n,Gt(i,t),s)}return n}(t,e,(function(e,r){return se(t,r)}))}function le(t,e){for(var r=-1,o=e.length,a=t.length;++r<o;)t[a+r]=e[r];return t}var de=N?N.isConcatSpreadable:void 0;function ue(t){return C(t)||ae(t)||!!(de&&t&&t[de])}function pe(t,e,r,o,a){var n=-1,i=t.length;for(r||(r=ue),a||(a=[]);++n<i;){var s=t[n];e>0&&r(s)?e>1?pe(s,e-1,r,o,a):le(a,s):o||(a[a.length]=s)}return a}function fe(t){return(null==t?0:t.length)?pe(t,1):[]}var he=Math.max;var ve=Vt?function(t,e){return Vt(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:function(t){return t},ge=ve,ye=800,be=16,me=Date.now;var we=function(t){var e=0,r=0;return function(){var o=me(),a=be-(o-r);if(r=o,a>0){if(++e>=ye)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ge),xe=we;function je(t){return xe(function(t,e,r){return e=he(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,n=he(o.length-e,0),i=Array(n);++a<n;)i[a]=o[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=o[a];return s[e]=r(i),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,s)}}(t,void 0,fe),t+"")}var _e=je((function(t,e){return null==t?{}:ce(t,e)}));var Se=200;function ke(t){var e=this.__data__=new wt(t);this.size=e.size}function Ae(t,e,r,o){var a=!r;r||(r={});for(var n=-1,i=e.length;++n<i;){var s=e[n],c=o?o(r[s],t[s],s,r,t):void 0;void 0===c&&(c=t[s]),a?Lt(r,s,c):Wt(r,s,c)}return r}ke.prototype.clear=function(){this.__data__=new wt,this.size=0},ke.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},ke.prototype.get=function(t){return this.__data__.get(t)},ke.prototype.has=function(t){return this.__data__.has(t)},ke.prototype.set=function(t,e){var r=this.__data__;if(r instanceof wt){var o=r.__data__;if(!xt||o.length<Se-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new _t(o)}return r.set(t,e),this.size=r.size,this};var Ce="object"==typeof exports&&exports&&!exports.nodeType&&exports,Oe=Ce&&"object"==typeof module&&module&&!module.nodeType&&module,Pe=Oe&&Oe.exports===Ce?z.Buffer:void 0,ze=(Pe?Pe.isBuffer:void 0)||function(){return!1},Ne={};function Be(t){return function(e){return t(e)}}Ne["[object Float32Array]"]=Ne["[object Float64Array]"]=Ne["[object Int8Array]"]=Ne["[object Int16Array]"]=Ne["[object Int32Array]"]=Ne["[object Uint8Array]"]=Ne["[object Uint8ClampedArray]"]=Ne["[object Uint16Array]"]=Ne["[object Uint32Array]"]=!0,Ne["[object Arguments]"]=Ne["[object Array]"]=Ne["[object ArrayBuffer]"]=Ne["[object Boolean]"]=Ne["[object DataView]"]=Ne["[object Date]"]=Ne["[object Error]"]=Ne["[object Function]"]=Ne["[object Map]"]=Ne["[object Number]"]=Ne["[object Object]"]=Ne["[object RegExp]"]=Ne["[object Set]"]=Ne["[object String]"]=Ne["[object WeakMap]"]=!1;var Ie="object"==typeof exports&&exports&&!exports.nodeType&&exports,Te=Ie&&"object"==typeof module&&module&&!module.nodeType&&module,De=Te&&Te.exports===Ie&&O.process,Fe=function(){try{var t=Te&&Te.require&&Te.require("util").types;return t||De&&De.binding&&De.binding("util")}catch(t){}}(),Ee=Fe&&Fe.isTypedArray,Ue=Ee?Be(Ee):function(t){return R(t)&&ie(t.length)&&!!Ne[$(t)]},Ge=Object.prototype.hasOwnProperty;function $e(t,e){var r=C(t),o=!r&&ae(t),a=!r&&!o&&ze(t),n=!r&&!o&&!a&&Ue(t),i=r||o||a||n,s=i?function(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}(t.length,String):[],c=s.length;for(var l in t)!e&&!Ge.call(t,l)||i&&("length"==l||a&&("offset"==l||"parent"==l)||n&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Xt(l,c))||s.push(l);return s}var Re=Object.prototype;function Me(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Re)}function He(t,e){return function(r){return t(e(r))}}var Ve=He(Object.keys,Object),Le=Object.prototype.hasOwnProperty;function Je(t){return null!=t&&ie(t.length)&&!Q(t)}function We(t){return Je(t)?$e(t):function(t){if(!Me(t))return Ve(t);var e=[];for(var r in Object(t))Le.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}var qe=Object.prototype.hasOwnProperty;function Ke(t){if(!J(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=Me(t),r=[];for(var o in t)("constructor"!=o||!e&&qe.call(t,o))&&r.push(o);return r}function Xe(t){return Je(t)?$e(t,!0):Ke(t)}var Qe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ye=Qe&&"object"==typeof module&&module&&!module.nodeType&&module,Ze=Ye&&Ye.exports===Qe?z.Buffer:void 0,tr=Ze?Ze.allocUnsafe:void 0;function er(){return[]}var rr=Object.prototype.propertyIsEnumerable,or=Object.getOwnPropertySymbols,ar=or?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,o=null==t?0:t.length,a=0,n=[];++r<o;){var i=t[r];e(i,r,t)&&(n[a++]=i)}return n}(or(t),(function(e){return rr.call(t,e)})))}:er,nr=ar;var ir=He(Object.getPrototypeOf,Object),sr=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)le(e,nr(t)),t=ir(t);return e}:er,cr=sr;function lr(t,e,r){var o=e(t);return C(t)?o:le(o,r(t))}function dr(t){return lr(t,We,nr)}function ur(t){return lr(t,Xe,cr)}var pr=dt(z,"DataView"),fr=dt(z,"Promise"),hr=dt(z,"Set"),vr=dt(z,"WeakMap"),gr="[object Map]",yr="[object Promise]",br="[object Set]",mr="[object WeakMap]",wr="[object DataView]",xr=rt(pr),jr=rt(xt),_r=rt(fr),Sr=rt(hr),kr=rt(vr),Ar=$;(pr&&Ar(new pr(new ArrayBuffer(1)))!=wr||xt&&Ar(new xt)!=gr||fr&&Ar(fr.resolve())!=yr||hr&&Ar(new hr)!=br||vr&&Ar(new vr)!=mr)&&(Ar=function(t){var e=$(t),r="[object Object]"==e?t.constructor:void 0,o=r?rt(r):"";if(o)switch(o){case xr:return wr;case jr:return gr;case _r:return yr;case Sr:return br;case kr:return mr}return e});var Cr=Ar,Or=Object.prototype.hasOwnProperty;var Pr=z.Uint8Array;function zr(t){var e=new t.constructor(t.byteLength);return new Pr(e).set(new Pr(t)),e}var Nr=/\w*$/;var Br=N?N.prototype:void 0,Ir=Br?Br.valueOf:void 0;var Tr="[object Boolean]",Dr="[object Date]",Fr="[object Map]",Er="[object Number]",Ur="[object RegExp]",Gr="[object Set]",$r="[object String]",Rr="[object Symbol]",Mr="[object ArrayBuffer]",Hr="[object DataView]",Vr="[object Float32Array]",Lr="[object Float64Array]",Jr="[object Int8Array]",Wr="[object Int16Array]",qr="[object Int32Array]",Kr="[object Uint8Array]",Xr="[object Uint8ClampedArray]",Qr="[object Uint16Array]",Yr="[object Uint32Array]";function Zr(t,e,r){var o,a=t.constructor;switch(e){case Mr:return zr(t);case Tr:case Dr:return new a(+t);case Hr:return function(t,e){var r=e?zr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Vr:case Lr:case Jr:case Wr:case qr:case Kr:case Xr:case Qr:case Yr:return function(t,e){var r=e?zr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case Fr:return new a;case Er:case $r:return new a(t);case Ur:return function(t){var e=new t.constructor(t.source,Nr.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Gr:return new a;case Rr:return o=t,Ir?Object(Ir.call(o)):{}}}var to=Object.create,eo=function(){function t(){}return function(e){if(!J(e))return{};if(to)return to(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),ro=eo;var oo="[object Map]";var ao=Fe&&Fe.isMap,no=ao?Be(ao):function(t){return R(t)&&Cr(t)==oo},io="[object Set]";var so=Fe&&Fe.isSet,co=so?Be(so):function(t){return R(t)&&Cr(t)==io},lo=1,uo=2,po=4,fo="[object Arguments]",ho="[object Function]",vo="[object GeneratorFunction]",go="[object Object]",yo={};function bo(t,e,r,o,a,n){var i,s=e&lo,c=e&uo,l=e&po;if(r&&(i=a?r(t,o,a,n):r(t)),void 0!==i)return i;if(!J(t))return t;var d=C(t);if(d){if(i=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&Or.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!s)return function(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}(t,i)}else{var u=Cr(t),p=u==ho||u==vo;if(ze(t))return function(t,e){if(e)return t.slice();var r=t.length,o=tr?tr(r):new t.constructor(r);return t.copy(o),o}(t,s);if(u==go||u==fo||p&&!a){if(i=c||p?{}:function(t){return"function"!=typeof t.constructor||Me(t)?{}:ro(ir(t))}(t),!s)return c?function(t,e){return Ae(t,cr(t),e)}(t,function(t,e){return t&&Ae(e,Xe(e),t)}(i,t)):function(t,e){return Ae(t,nr(t),e)}(t,function(t,e){return t&&Ae(e,We(e),t)}(i,t))}else{if(!yo[u])return a?t:{};i=Zr(t,u,s)}}n||(n=new ke);var f=n.get(t);if(f)return f;n.set(t,i),co(t)?t.forEach((function(o){i.add(bo(o,e,r,o,t,n))})):no(t)&&t.forEach((function(o,a){i.set(a,bo(o,e,r,a,t,n))}));var h=d?void 0:(l?c?ur:dr:c?Xe:We)(t);return function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););}(h||t,(function(o,a){h&&(o=t[a=o]),Wt(i,a,bo(o,e,r,a,t,n))})),i}function mo(t,e){return e.length<2?t:Mt(t,function(t,e,r){var o=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(r=r>a?a:r)<0&&(r+=a),a=e>r?0:r-e>>>0,e>>>=0;for(var n=Array(a);++o<a;)n[o]=t[o+e];return n}(e,0,-1))}function wo(t,e){return null==(t=mo(t,e=Gt(e,t)))||delete t[Rt((r=e,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}yo[fo]=yo["[object Array]"]=yo["[object ArrayBuffer]"]=yo["[object DataView]"]=yo["[object Boolean]"]=yo["[object Date]"]=yo["[object Float32Array]"]=yo["[object Float64Array]"]=yo["[object Int8Array]"]=yo["[object Int16Array]"]=yo["[object Int32Array]"]=yo["[object Map]"]=yo["[object Number]"]=yo[go]=yo["[object RegExp]"]=yo["[object Set]"]=yo["[object String]"]=yo["[object Symbol]"]=yo["[object Uint8Array]"]=yo["[object Uint8ClampedArray]"]=yo["[object Uint16Array]"]=yo["[object Uint32Array]"]=!0,yo["[object Error]"]=yo[ho]=yo["[object WeakMap]"]=!1;var xo="[object Object]",jo=Function.prototype,_o=Object.prototype,So=jo.toString,ko=_o.hasOwnProperty,Ao=So.call(Object);function Co(t){return function(t){if(!R(t)||$(t)!=xo)return!1;var e=ir(t);if(null===e)return!0;var r=ko.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&So.call(r)==Ao}(t)?void 0:t}var Oo=je((function(t,e){var r={};if(null==t)return r;var o=!1;e=Tt(e,(function(e){return e=Gt(e,t),o||(o=e.length>1),e})),Ae(t,ur(t),r),o&&(r=bo(r,7,Co));for(var a=e.length;a--;)wo(r,e[a]);return r})),Po=Oo,zo={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 t=["fontSize","paddingTop","paddingBottom"],e=_e(this.props||{},t),r=Po(this.props||{},t);return{...x(e),...r}}}};zo.render=function(t,e,r,o,c,l){return a(),n("div",{style:i([l.computedStyle])},s(r.props.value),5)};var No={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:e,defaultValue:o}=this.props,a=e.filter((t=>!r(t))).filter((t=>!Object.values(t).every((t=>r(t)))));let n=o;return t(a)||(n=a),console.log(52,n),n},computedStyle(){const t=["borderRadius","paddingTop","paddingLeft","paddingRight","paddingBottom"],e=_e(this.props,t),r=Po(this.props,t);return{...x(e),...r}}}};const Bo=["src"];function Io(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"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=t:a.appendChild(document.createTextNode(t))}}Io(".lc-img-item[data-v-eaee1e30]{box-sizing:border-box;width:100%}"),No.render=function(t,e,r,o,s,u){return a(),n("div",null,[(a(!0),n(c,null,l(u.resultArr,((e,r)=>(a(),n("div",{key:t.cyy},[d("img",{mode:"widthFix",style:i([u.computedStyle,s.imgStyle]),src:e.imgUrl,alt:""},null,12,Bo)])))),128))])},No.__scopeId="data-v-eaee1e30";var To={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const t=["marginTop","marginBottom"],e=_e(this.props,t),r=Po(this.props,t);return{...x(e),...r,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){w||this.$routers.push("goodsList",{memberCode:this.memberCode})}}};const Do={style:{overflow:"hidden"}},Fo=["src"],Eo={style:{flex:"1"}};To.render=function(t,e,r,o,c,l){return a(),n("div",Do,[d("div",{style:i([l.computedStyle]),onClick:e[0]||(e[0]=(...t)=>l.goSearch&&l.goSearch(...t))},[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,Fo)):u("",!0),d("div",Eo,s(r.props.value),1)],4)])};var Uo={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"},imgUrl:S()}),mounted(){this.init()},methods:{async init(){const{goods:t=[]}=this.props,e={goodsCode:t.toString()},r=await k(this,e);this.listArr=o(r,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(w)return;const{skuCode:e,skuNo:r}=t;let o={skuCode:e,skuNo:r};this.$routers.push("detail",o)},handleBuyGoods(t){w||this.$routers.push("detail",{skuNo:t})}}};const Go={key:1},$o=["onClick"],Ro=["src"],Mo={class:"goodsDescription"},Ho={class:"goodsName"},Vo={class:"footerContent"},Lo={class:"goodsPrice"},Jo={key:0,class:"scribing"},Wo=["onClick"];Io("button[data-v-1647f5e8]{border:none}.cube-container[data-v-1647f5e8]{display:grid}.cube-container[data-v-1647f5e8].arrange-1[data-v-1647f5e8]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-1647f5e8].arrange-1[data-v-1647f5e8] .goodsName[data-v-1647f5e8]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-1647f5e8].arrange-1[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8]{font-size:18px}.cube-container[data-v-1647f5e8].arrange-1[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8] .scribing[data-v-1647f5e8]{font-size:14px}.cube-container[data-v-1647f5e8].arrange-2[data-v-1647f5e8]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-1647f5e8].arrange-2[data-v-1647f5e8] .cube-item[data-v-1647f5e8]{margin:0 5px}.cube-container[data-v-1647f5e8].arrange-2[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8]{position:relative}.cube-container[data-v-1647f5e8].arrange-2[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .goodsName[data-v-1647f5e8]{font-size:16px;padding:15px 0 2px}.cube-container[data-v-1647f5e8].arrange-2[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8]{font-size:14px}.cube-container[data-v-1647f5e8].arrange-2[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8] .scribing[data-v-1647f5e8]{font-size:12px}.cube-container[data-v-1647f5e8].arrange-3[data-v-1647f5e8]{display:flex;overflow-x:scroll}.cube-container[data-v-1647f5e8].arrange-3[data-v-1647f5e8] .cube-item[data-v-1647f5e8]{flex:0 0 auto;max-width:100%;width:100%}.cube-container[data-v-1647f5e8].arrange-3[data-v-1647f5e8] .cube-item[data-v-1647f5e8]:not(:last-child){margin-right:10px}.cube-container[data-v-1647f5e8].arrange-4[data-v-1647f5e8] .cube-item[data-v-1647f5e8]{display:flex;justify-content:space-around}.cube-container[data-v-1647f5e8].arrange-4[data-v-1647f5e8] .cube-item[data-v-1647f5e8] img[data-v-1647f5e8]{width:40%}.cube-container[data-v-1647f5e8].arrange-4[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8]{display:block;position:relative}.cube-container[data-v-1647f5e8].arrange-4[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .footerContent[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8]{margin-top:10px}.cube-container[data-v-1647f5e8].arrange-4[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .footerContent[data-v-1647f5e8] .goodsBuy[data-v-1647f5e8]{left:65px;position:absolute;top:100px}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] img[data-v-1647f5e8]{width:100%}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8]{display:flex;flex-direction:column;justify-content:space-between}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .goodsName[data-v-1647f5e8]{color:#000}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .footerContent[data-v-1647f5e8]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .footerContent[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8]{color:#f53a50}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .footerContent[data-v-1647f5e8] .goodsPrice[data-v-1647f5e8] .scribing[data-v-1647f5e8]{color:#ccc;display:inline-block;text-decoration:line-through}.cube-container[data-v-1647f5e8] .cube-item[data-v-1647f5e8] .goodsDescription[data-v-1647f5e8] .footerContent[data-v-1647f5e8] .goodsBuy[data-v-1647f5e8]{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}"),Uo.render=function(t,e,r,o,h,v){return a(),n("div",null,[r.props.goods?(a(),n("div",Go,[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(h.listArr,((e,o)=>(a(),n("div",{class:"cube-item",key:t.cyy,onClick:t=>v.goGoodsDetail(e)},[d("img",{src:h.imgUrl+e.dataPic,mode:"widthFix",alt:"",style:i({borderRadius:r.props.borderRadius})},null,12,Ro),d("div",Mo,[d("div",Ho,s(e.goodsName),1),d("section",Vo,[d("div",Lo,[f(" ¥"+s(e.pricesetNprice)+" ",1),1===r.props.markedPrice?(a(),n("div",Jo," ¥"+s(e.pricesetMakeprice),1)):u("",!0)]),d("button",{onClick:t=>v.handleBuyGoods(e.skuNo),class:"goodsBuy"}," 立即购买 ",8,Wo)])])],8,$o)))),128))],6)])):(a(),n("div",{key:0,style:i(h.noDataStyle)},"请选择商品",4))])},Uo.__scopeId="data-v-1647f5e8";var qo={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:e,defaultValue:o}=this.props,a=e.filter((t=>!r(t))).filter((t=>!Object.values(t).every((t=>r(t)))));let n=o;return t(a)||(n=a),n},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=_e(this.props,["marginTop","marginBottom"]);return{...x(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const Ko={key:0},Xo=["src"],Qo={key:1},Yo=["src"];Io(".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}"),qo.render=function(t,e,r,o,s,u){const p=h("swiper-item"),f=h("swiper");return a(),n("div",null,[s.lowCode?(a(),n("div",Ko,[d("div",{class:"lowCode-warp",style:i([u.sliderStyle])},[d("img",{src:u.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Xo),d("ul",null,[(a(!0),n(c,null,l(u.resultArr,((e,r)=>(a(),n("li",{key:t.cyy})))),128))])],4)])):(a(),n("div",Qo,[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:g((()=>[(a(!0),n(c,null,l(u.resultArr,((e,r)=>(a(),y(p,{key:t.cyy,style:i([u.sliderStyle,{boxSizing:"border-box"}])},{default:g((()=>[d("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Yo)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var Zo={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:t=[]}=this.props;console.log(197);const e=t.toString();console.log(198);const r={goodsCode:e};console.log(199,r);const a=await k(this,r);this.listArr=o(a,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(w)return;const{skuCode:e,skuNo:r}=t;let o={skuCode:e,skuNo:r};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"无库存"};const ta=t=>(b("data-v-732ac73c"),t=t(),m(),t),ea={key:1},ra={class:"three-layout"},oa={key:0,class:"top-left"},aa={key:1,class:"top-right"},na=[ta((()=>d("div",null,"更多",-1))),ta((()=>d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],ia={class:"three-layout-content"},sa={class:"three-layout-bigImg"},ca=["src"],la={class:"three-layout-goods"},da=["src"],ua={key:0,class:"mask-three-more"},pa={class:"price-box"},fa={class:"now-price"},ha={key:0,class:"origin-price"};Io(".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}"),Zo.render=function(t,e,r,o,p,y){const b=h("vop-label"),m=h("scroll-view");return a(),n("div",null,[r.props.goods?(a(),n("div",ea,[d("div",ra,[d("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>y.jumpToSearch())},[r.props.title.isShow?u("",!0):(a(),n("div",oa,s(r.props.title.title||""),1)),1===r.props.more?(a(),n("div",aa,na)):u("",!0)]),d("div",ia,[d("div",sa,[d("image",{"lazy-load":!0,src:r.props.bill?r.props.bill:"",mode:"aspectFill"},null,8,ca)]),d("div",la,[v(m,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:g((()=>[(a(!0),n(c,null,l(p.listArr,((r,o)=>(a(),n("div",{class:"scroll-item",key:o,onClick:e[1]||(e[1]=e=>t.toDetail())},[d("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+r.dataPic,mode:"aspectFill"},null,8,da),r.goodsSupplynum<=0||"1"===r.goodsProperty5?(a(),n("div",ua,s(t.maskTitle(r.goodsProperty5)),1)):u("",!0),d("p",null,[v(b,{goodsType:r.contlistPrice1},null,8,["goodsType"]),f(s(r.goodsName),1)]),d("div",pa,[d("div",fa,"¥"+s(r.pricesetMakeprice||0),1),1==r.contlistConNow?(a(),n("div",ha,"¥"+s(r.pricesetBaseprice||0),1)):u("",!0)])])))),128))])),_:1})])])])])):(a(),n("div",{key:0,style:i(p.noDataStyle)},"请选择商品样式一",4))])},Zo.__scopeId="data-v-732ac73c";var va={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(t){this.$emit("linkClick",t)}}};const ga={key:0,class:"holder"},ya=["src","onClick"];Io(".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%}"),va.render=function(t,e,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,((t,e)=>(a(),n("div",{key:e,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:t.imgUrl,alt:"",style:i({borderRadius:r.props.cornerStyle+"px"}),onClick:e=>u.linkClick(t)},null,12,ya)],2)))),128))],6)):(a(),n("div",ga,"请上传图片"))])},va.__scopeId="data-v-e03f57e4";var ba={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:{classifyPhotoCorner:t=>20===t?8:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const ma={key:0,class:"holder"},wa=["onClick"],xa=["src"],ja={key:1},_a=["onClick"],Sa=["src"];Io(".holder[data-v-a13f7538]{background-color:#50ff49;height:60px;padding:10px 0;width:100%}.golds[data-v-a13f7538]{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-a13f7538] .golds-item[data-v-a13f7538]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0;width:80px}.golds[data-v-a13f7538] .golds-item[data-v-a13f7538] div[data-v-a13f7538]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;text-align:center;width:80px}.photoSizeBig[data-v-a13f7538]{height:58px;width:58px}.photoSizeSmall[data-v-a13f7538]{height:48px;width:48px}.classify-list[data-v-a13f7538]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list[data-v-a13f7538] .classify-item[data-v-a13f7538]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:8px 5px .25px}.classify-list[data-v-a13f7538] .classify-item[data-v-a13f7538] div[data-v-a13f7538]{font-weight:700}.classify-list[data-v-a13f7538] .classify-item[data-v-a13f7538] img[data-v-a13f7538]{margin-top:7.5px}.classify-list[data-v-a13f7538] .classify-item[data-v-a13f7538]:nth-child(3),.classify-list[data-v-a13f7538] .classify-item[data-v-a13f7538]:nth-child(4){margin-top:20px}.classifyItemBig[data-v-a13f7538]{width:170px}.classifyItemSmall[data-v-a13f7538]{width:166px}.classifyImgBig[data-v-a13f7538]{height:90px;width:160px}.classifyImgSmall[data-v-a13f7538]{height:87.75px;width:156px}.classifyFontBig[data-v-a13f7538]{font-size:12px}.classifyFontSmall[data-v-a13f7538]{font-size:11px}"),ba.render=function(t,e,r,o,f,h){return a(),n("div",null,[r.props.selectImg.length?(a(),n(c,{key:1},[0===r.props.showStyle?(a(),n("div",{key:0,class:"golds",style:i({backgroundColor:r.props.backgroundColor,paddingTop:r.props.paddingTop+"px",paddingBottom:r.props.paddingBottom+"px"})},[(a(!0),n(c,null,l(r.props.selectImg,((t,e)=>(a(),n("div",{class:"golds-item",key:e,onClick:e=>h.linkClick(t)},[d("img",{class:p([1===r.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:i({borderRadius:r.props.photoCorner+"%"}),"lazy-load":!0,src:t.imgUrl},null,14,xa),d("div",{style:i({color:r.props.fontColor})},s(t.name),5)],8,wa)))),128))],4)):u("",!0),1===r.props.showStyle?(a(),n("div",ja,[d("div",{class:"classify-list",style:i({paddingTop:r.props.paddingTop+"px",paddingBottom:r.props.paddingBottom+"px"})},[(a(!0),n(c,null,l(r.props.selectImg,(e=>(a(),n("div",{class:p(["classify-item",[1===r.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:i({backgroundColor:r.props.backgroundColor}),key:t.index,onClick:t=>h.linkClick(e)},[d("div",{class:p([1===r.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:i({color:r.props.fontColor})},s(e.name),7),d("img",{class:p([1===r.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:i({borderRadius:h.classifyPhotoCorner(r.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl},null,14,Sa)],14,_a)))),128))],4)])):u("",!0)],64)):(a(),n("div",ma,"请上传图片"))])},ba.__scopeId="data-v-a13f7538";const ka=[Uo,zo,No,To,qo,Zo],Aa=function(t){ka.forEach((e=>{t.component(e.name,e)}))};"undefined"!=typeof window&&window.Vue&&Aa(window.Vue);export{ba as ArsenalNavigation,va as ArsenalPicture,No as Cube,Uo as Goods,Zo as GoodsOne,To as Search,qo as Slider,zo 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.32",
|
|
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";
|