cyy-vue-material 1.0.29 → 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 +138 -0
- 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 t,isEqual as e,isUndefined as r,get as o}from"lodash-es";import{openBlock as n,createElementBlock as a,normalizeStyle as i,toDisplayString as c,Fragment as s,renderList as l,createElementVNode as u,createCommentVNode as p,normalizeClass as d,createTextVNode as f,resolveComponent as h,createVNode as b,withCtx as v,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,j=t=>{let e={};for(let r in t)e[r]=x(t[r]);return e},x=t=>w?t+"px":2*t+"rpx";const _=w?async(r,o)=>{const{id:n,goods:a}=r.props;if(t(a))return Promise.resolve({list:[]});const i=(t=>{const{goods:r,id:o}=t.props,{mGoods:n}=S[o]||{};return e(r,n)})(r);if(i)return Promise.resolve((t=>{const{mGoodsInfo:e}=S[t];return e})(n));const c=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+"web/rs/sku/querySkuFromJm.json?goodsCodeStr="+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((t=>t.json())).then(((t={})=>(((t,e,r)=>{S[t]={mGoodsInfo:r,mGoods:e}})(n,a,t),t)))}:(t,e)=>t.http.get("web/es/searchengine/find.json",e),S={};var A=Array.isArray,k="object"==typeof global&&global&&global.Object===Object&&global,O="object"==typeof self&&self&&self.Object===Object&&self,C=k||O||Function("return this")(),P=C.Symbol,N=Object.prototype,z=N.hasOwnProperty,T=N.toString,B=P?P.toStringTag:void 0;var I=Object.prototype.toString;var E="[object Null]",F="[object Undefined]",U=P?P.toStringTag:void 0;function R(t){return null==t?void 0===t?F:E:U&&U in Object(t)?function(t){var e=z.call(t,B),r=t[B];try{t[B]=void 0;var o=!0}catch(t){}var n=T.call(t);return o&&(e?t[B]=r:delete t[B]),n}(t):function(t){return I.call(t)}(t)}function D(t){return null!=t&&"object"==typeof t}var M="[object Symbol]";function L(t){return"symbol"==typeof t||D(t)&&R(t)==M}var G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;function $(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var H="[object AsyncFunction]",W="[object Function]",q="[object GeneratorFunction]",K="[object Proxy]";function J(t){if(!$(t))return!1;var e=R(t);return e==W||e==q||e==H||e==K}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 tt(t){if(null!=t){try{return Z.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var et=/^\[object .+?Constructor\]$/,rt=Function.prototype,ot=Object.prototype,nt=rt.toString,at=ot.hasOwnProperty,it=RegExp("^"+nt.call(at).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ct(t){return!(!$(t)||(e=t,Y&&Y in e))&&(J(t)?it:et).test(tt(t));var e}function st(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return ct(r)?r:void 0}var lt=st(Object,"create");var ut="__lodash_hash_undefined__",pt=Object.prototype.hasOwnProperty;var dt=Object.prototype.hasOwnProperty;var ft="__lodash_hash_undefined__";function ht(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 bt(t,e){return t===e||t!=t&&e!=e}function vt(t,e){for(var r=t.length;r--;)if(bt(t[r][0],e))return r;return-1}ht.prototype.clear=function(){this.__data__=lt?lt(null):{},this.size=0},ht.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ht.prototype.get=function(t){var e=this.__data__;if(lt){var r=e[t];return r===ut?void 0:r}return pt.call(e,t)?e[t]:void 0},ht.prototype.has=function(t){var e=this.__data__;return lt?void 0!==e[t]:dt.call(e,t)},ht.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=lt&&void 0===e?ft:e,this};var gt=Array.prototype.splice;function yt(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])}}yt.prototype.clear=function(){this.__data__=[],this.size=0},yt.prototype.delete=function(t){var e=this.__data__,r=vt(e,t);return!(r<0)&&(r==e.length-1?e.pop():gt.call(e,r,1),--this.size,!0)},yt.prototype.get=function(t){var e=this.__data__,r=vt(e,t);return r<0?void 0:e[r][1]},yt.prototype.has=function(t){return vt(this.__data__,t)>-1},yt.prototype.set=function(t,e){var r=this.__data__,o=vt(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};var mt=st(C,"Map");function wt(t,e){var r,o,n=t.__data__;return("string"==(o=typeof(r=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function jt(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])}}jt.prototype.clear=function(){this.size=0,this.__data__={hash:new ht,map:new(mt||yt),string:new ht}},jt.prototype.delete=function(t){var e=wt(this,t).delete(t);return this.size-=e?1:0,e},jt.prototype.get=function(t){return wt(this,t).get(t)},jt.prototype.has=function(t){return wt(this,t).has(t)},jt.prototype.set=function(t,e){var r=wt(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};var xt="Expected a function";function _t(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(xt);var r=function(){var o=arguments,n=e?e.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=t.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(_t.Cache||jt),r}_t.Cache=jt;var St=500;var At,kt,Ot,Ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pt=/\\(\\)?/g,Nt=(At=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ct,(function(t,r,o,n){e.push(o?n.replace(Pt,"$1"):r||t)})),e},kt=_t(At,(function(t){return Ot.size===St&&Ot.clear(),t})),Ot=kt.cache,kt),zt=Nt;function Tt(t,e){for(var r=-1,o=null==t?0:t.length,n=Array(o);++r<o;)n[r]=e(t[r],r,t);return n}var Bt=1/0,It=P?P.prototype:void 0,Et=It?It.toString:void 0;function Ft(t){if("string"==typeof t)return t;if(A(t))return Tt(t,Ft)+"";if(L(t))return Et?Et.call(t):"";var e=t+"";return"0"==e&&1/t==-Bt?"-0":e}function Ut(t,e){return A(t)?t:function(t,e){if(A(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!L(t))||V.test(t)||!G.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:zt(function(t){return null==t?"":Ft(t)}(t))}var Rt=1/0;function Dt(t){if("string"==typeof t||L(t))return t;var e=t+"";return"0"==e&&1/t==-Rt?"-0":e}function Mt(t,e){for(var r=0,o=(e=Ut(e,t)).length;null!=t&&r<o;)t=t[Dt(e[r++])];return r&&r==o?t:void 0}var Lt=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Gt=Lt;function Vt(t,e,r){"__proto__"==e&&Gt?Gt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var $t=Object.prototype.hasOwnProperty;function Ht(t,e,r){var o=t[e];$t.call(t,e)&&bt(o,r)&&(void 0!==r||e in t)||Vt(t,e,r)}var Wt=9007199254740991,qt=/^(?:0|[1-9]\d*)$/;function Kt(t,e){var r=typeof t;return!!(e=null==e?Wt:e)&&("number"==r||"symbol"!=r&&qt.test(t))&&t>-1&&t%1==0&&t<e}function Jt(t,e,r,o){if(!$(t))return t;for(var n=-1,a=(e=Ut(e,t)).length,i=a-1,c=t;null!=c&&++n<a;){var s=Dt(e[n]),l=r;if("__proto__"===s||"constructor"===s||"prototype"===s)return t;if(n!=i){var u=c[s];void 0===(l=o?o(u,s,c):void 0)&&(l=$(u)?u:Kt(e[n+1])?[]:{})}Ht(c,s,l),c=c[s]}return t}function Xt(t,e){return null!=t&&e in Object(t)}var Qt="[object Arguments]";function Yt(t){return D(t)&&R(t)==Qt}var Zt=Object.prototype,te=Zt.hasOwnProperty,ee=Zt.propertyIsEnumerable,re=Yt(function(){return arguments}())?Yt:function(t){return D(t)&&te.call(t,"callee")&&!ee.call(t,"callee")},oe=9007199254740991;function ne(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=oe}function ae(t,e){return null!=t&&function(t,e,r){for(var o=-1,n=(e=Ut(e,t)).length,a=!1;++o<n;){var i=Dt(e[o]);if(!(a=null!=t&&r(t,i)))break;t=t[i]}return a||++o!=n?a:!!(n=null==t?0:t.length)&&ne(n)&&Kt(i,n)&&(A(t)||re(t))}(t,e,Xt)}function ie(t,e){return function(t,e,r){for(var o=-1,n=e.length,a={};++o<n;){var i=e[o],c=Mt(t,i);r(c,i)&&Jt(a,Ut(i,t),c)}return a}(t,e,(function(e,r){return ae(t,r)}))}function ce(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t}var se=P?P.isConcatSpreadable:void 0;function le(t){return A(t)||re(t)||!!(se&&t&&t[se])}function ue(t,e,r,o,n){var a=-1,i=t.length;for(r||(r=le),n||(n=[]);++a<i;){var c=t[a];e>0&&r(c)?e>1?ue(c,e-1,r,o,n):ce(n,c):o||(n[n.length]=c)}return n}function pe(t){return(null==t?0:t.length)?ue(t,1):[]}var de=Math.max;var fe=Gt?function(t,e){return Gt(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:function(t){return t},he=fe,be=800,ve=16,ge=Date.now;var ye=function(t){var e=0,r=0;return function(){var o=ge(),n=ve-(o-r);if(r=o,n>0){if(++e>=be)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(he),me=ye;function we(t){return me(function(t,e,r){return e=de(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,a=de(o.length-e,0),i=Array(a);++n<a;)i[n]=o[e+n];n=-1;for(var c=Array(e+1);++n<e;)c[n]=o[n];return c[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,c)}}(t,void 0,pe),t+"")}var je=we((function(t,e){return null==t?{}:ie(t,e)}));var xe=200;function _e(t){var e=this.__data__=new yt(t);this.size=e.size}function Se(t,e,r,o){var n=!r;r||(r={});for(var a=-1,i=e.length;++a<i;){var c=e[a],s=o?o(r[c],t[c],c,r,t):void 0;void 0===s&&(s=t[c]),n?Vt(r,c,s):Ht(r,c,s)}return r}_e.prototype.clear=function(){this.__data__=new yt,this.size=0},_e.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},_e.prototype.get=function(t){return this.__data__.get(t)},_e.prototype.has=function(t){return this.__data__.has(t)},_e.prototype.set=function(t,e){var r=this.__data__;if(r instanceof yt){var o=r.__data__;if(!mt||o.length<xe-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new jt(o)}return r.set(t,e),this.size=r.size,this};var Ae="object"==typeof exports&&exports&&!exports.nodeType&&exports,ke=Ae&&"object"==typeof module&&module&&!module.nodeType&&module,Oe=ke&&ke.exports===Ae?C.Buffer:void 0,Ce=(Oe?Oe.isBuffer:void 0)||function(){return!1},Pe={};function Ne(t){return function(e){return t(e)}}Pe["[object Float32Array]"]=Pe["[object Float64Array]"]=Pe["[object Int8Array]"]=Pe["[object Int16Array]"]=Pe["[object Int32Array]"]=Pe["[object Uint8Array]"]=Pe["[object Uint8ClampedArray]"]=Pe["[object Uint16Array]"]=Pe["[object Uint32Array]"]=!0,Pe["[object Arguments]"]=Pe["[object Array]"]=Pe["[object ArrayBuffer]"]=Pe["[object Boolean]"]=Pe["[object DataView]"]=Pe["[object Date]"]=Pe["[object Error]"]=Pe["[object Function]"]=Pe["[object Map]"]=Pe["[object Number]"]=Pe["[object Object]"]=Pe["[object RegExp]"]=Pe["[object Set]"]=Pe["[object String]"]=Pe["[object WeakMap]"]=!1;var ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,Te=ze&&"object"==typeof module&&module&&!module.nodeType&&module,Be=Te&&Te.exports===ze&&k.process,Ie=function(){try{var t=Te&&Te.require&&Te.require("util").types;return t||Be&&Be.binding&&Be.binding("util")}catch(t){}}(),Ee=Ie&&Ie.isTypedArray,Fe=Ee?Ne(Ee):function(t){return D(t)&&ne(t.length)&&!!Pe[R(t)]},Ue=Object.prototype.hasOwnProperty;function Re(t,e){var r=A(t),o=!r&&re(t),n=!r&&!o&&Ce(t),a=!r&&!o&&!n&&Fe(t),i=r||o||n||a,c=i?function(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}(t.length,String):[],s=c.length;for(var l in t)!e&&!Ue.call(t,l)||i&&("length"==l||n&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Kt(l,s))||c.push(l);return c}var De=Object.prototype;function Me(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||De)}function Le(t,e){return function(r){return t(e(r))}}var Ge=Le(Object.keys,Object),Ve=Object.prototype.hasOwnProperty;function $e(t){return null!=t&&ne(t.length)&&!J(t)}function He(t){return $e(t)?Re(t):function(t){if(!Me(t))return Ge(t);var e=[];for(var r in Object(t))Ve.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}var We=Object.prototype.hasOwnProperty;function qe(t){if(!$(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&&We.call(t,o))&&r.push(o);return r}function Ke(t){return $e(t)?Re(t,!0):qe(t)}var Je="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xe=Je&&"object"==typeof module&&module&&!module.nodeType&&module,Qe=Xe&&Xe.exports===Je?C.Buffer:void 0,Ye=Qe?Qe.allocUnsafe:void 0;function Ze(){return[]}var tr=Object.prototype.propertyIsEnumerable,er=Object.getOwnPropertySymbols,rr=er?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,o=null==t?0:t.length,n=0,a=[];++r<o;){var i=t[r];e(i,r,t)&&(a[n++]=i)}return a}(er(t),(function(e){return tr.call(t,e)})))}:Ze,or=rr;var nr=Le(Object.getPrototypeOf,Object),ar=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)ce(e,or(t)),t=nr(t);return e}:Ze,ir=ar;function cr(t,e,r){var o=e(t);return A(t)?o:ce(o,r(t))}function sr(t){return cr(t,He,or)}function lr(t){return cr(t,Ke,ir)}var ur=st(C,"DataView"),pr=st(C,"Promise"),dr=st(C,"Set"),fr=st(C,"WeakMap"),hr="[object Map]",br="[object Promise]",vr="[object Set]",gr="[object WeakMap]",yr="[object DataView]",mr=tt(ur),wr=tt(mt),jr=tt(pr),xr=tt(dr),_r=tt(fr),Sr=R;(ur&&Sr(new ur(new ArrayBuffer(1)))!=yr||mt&&Sr(new mt)!=hr||pr&&Sr(pr.resolve())!=br||dr&&Sr(new dr)!=vr||fr&&Sr(new fr)!=gr)&&(Sr=function(t){var e=R(t),r="[object Object]"==e?t.constructor:void 0,o=r?tt(r):"";if(o)switch(o){case mr:return yr;case wr:return hr;case jr:return br;case xr:return vr;case _r:return gr}return e});var Ar=Sr,kr=Object.prototype.hasOwnProperty;var Or=C.Uint8Array;function Cr(t){var e=new t.constructor(t.byteLength);return new Or(e).set(new Or(t)),e}var Pr=/\w*$/;var Nr=P?P.prototype:void 0,zr=Nr?Nr.valueOf:void 0;var Tr="[object Boolean]",Br="[object Date]",Ir="[object Map]",Er="[object Number]",Fr="[object RegExp]",Ur="[object Set]",Rr="[object String]",Dr="[object Symbol]",Mr="[object ArrayBuffer]",Lr="[object DataView]",Gr="[object Float32Array]",Vr="[object Float64Array]",$r="[object Int8Array]",Hr="[object Int16Array]",Wr="[object Int32Array]",qr="[object Uint8Array]",Kr="[object Uint8ClampedArray]",Jr="[object Uint16Array]",Xr="[object Uint32Array]";function Qr(t,e,r){var o,n=t.constructor;switch(e){case Mr:return Cr(t);case Tr:case Br:return new n(+t);case Lr:return function(t,e){var r=e?Cr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case Gr:case Vr:case $r:case Hr:case Wr:case qr:case Kr:case Jr:case Xr:return function(t,e){var r=e?Cr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case Ir:return new n;case Er:case Rr:return new n(t);case Fr:return function(t){var e=new t.constructor(t.source,Pr.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Ur:return new n;case Dr:return o=t,zr?Object(zr.call(o)):{}}}var Yr=Object.create,Zr=function(){function t(){}return function(e){if(!$(e))return{};if(Yr)return Yr(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),to=Zr;var eo="[object Map]";var ro=Ie&&Ie.isMap,oo=ro?Ne(ro):function(t){return D(t)&&Ar(t)==eo},no="[object Set]";var ao=Ie&&Ie.isSet,io=ao?Ne(ao):function(t){return D(t)&&Ar(t)==no},co=1,so=2,lo=4,uo="[object Arguments]",po="[object Function]",fo="[object GeneratorFunction]",ho="[object Object]",bo={};function vo(t,e,r,o,n,a){var i,c=e&co,s=e&so,l=e&lo;if(r&&(i=n?r(t,o,n,a):r(t)),void 0!==i)return i;if(!$(t))return t;var u=A(t);if(u){if(i=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&kr.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!c)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 p=Ar(t),d=p==po||p==fo;if(Ce(t))return function(t,e){if(e)return t.slice();var r=t.length,o=Ye?Ye(r):new t.constructor(r);return t.copy(o),o}(t,c);if(p==ho||p==uo||d&&!n){if(i=s||d?{}:function(t){return"function"!=typeof t.constructor||Me(t)?{}:to(nr(t))}(t),!c)return s?function(t,e){return Se(t,ir(t),e)}(t,function(t,e){return t&&Se(e,Ke(e),t)}(i,t)):function(t,e){return Se(t,or(t),e)}(t,function(t,e){return t&&Se(e,He(e),t)}(i,t))}else{if(!bo[p])return n?t:{};i=Qr(t,p,c)}}a||(a=new _e);var f=a.get(t);if(f)return f;a.set(t,i),io(t)?t.forEach((function(o){i.add(vo(o,e,r,o,t,a))})):oo(t)&&t.forEach((function(o,n){i.set(n,vo(o,e,r,n,t,a))}));var h=u?void 0:(l?s?lr:sr:s?Ke:He)(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,n){h&&(o=t[n=o]),Ht(i,n,vo(o,e,r,n,t,a))})),i}function go(t,e){return e.length<2?t:Mt(t,function(t,e,r){var o=-1,n=t.length;e<0&&(e=-e>n?0:n+e),(r=r>n?n:r)<0&&(r+=n),n=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(n);++o<n;)a[o]=t[o+e];return a}(e,0,-1))}function yo(t,e){return null==(t=go(t,e=Ut(e,t)))||delete t[Dt((r=e,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}bo[uo]=bo["[object Array]"]=bo["[object ArrayBuffer]"]=bo["[object DataView]"]=bo["[object Boolean]"]=bo["[object Date]"]=bo["[object Float32Array]"]=bo["[object Float64Array]"]=bo["[object Int8Array]"]=bo["[object Int16Array]"]=bo["[object Int32Array]"]=bo["[object Map]"]=bo["[object Number]"]=bo[ho]=bo["[object RegExp]"]=bo["[object Set]"]=bo["[object String]"]=bo["[object Symbol]"]=bo["[object Uint8Array]"]=bo["[object Uint8ClampedArray]"]=bo["[object Uint16Array]"]=bo["[object Uint32Array]"]=!0,bo["[object Error]"]=bo[po]=bo["[object WeakMap]"]=!1;var mo="[object Object]",wo=Function.prototype,jo=Object.prototype,xo=wo.toString,_o=jo.hasOwnProperty,So=xo.call(Object);function Ao(t){return function(t){if(!D(t)||R(t)!=mo)return!1;var e=nr(t);if(null===e)return!0;var r=_o.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&xo.call(r)==So}(t)?void 0:t}var ko=we((function(t,e){var r={};if(null==t)return r;var o=!1;e=Tt(e,(function(e){return e=Ut(e,t),o||(o=e.length>1),e})),Se(t,lr(t),r),o&&(r=vo(r,7,Ao));for(var n=e.length;n--;)yo(r,e[n]);return r})),Oo=ko,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 t=["fontSize","paddingTop","paddingBottom"],e=je(this.props||{},t),r=Oo(this.props||{},t);return{...j(e),...r}}}};Co.render=function(t,e,r,o,s,l){return n(),a("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:e,defaultValue:o}=this.props,n=e.filter((t=>!r(t))).filter((t=>!Object.values(t).every((t=>r(t)))));let a=o;return t(n)||(a=n),console.log(52,a),a},computedStyle(){const t=["borderRadius","paddingTop","paddingLeft","paddingRight","paddingBottom"],e=je(this.props,t),r=Oo(this.props,t);return{...j(e),...r}}}};const No=["src"];function zo(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}zo(".lc-img-item[data-v-eb13d4ae]{box-sizing:border-box;width:100%}"),Po.render=function(t,e,r,o,c,p){return n(),a("div",null,[(n(!0),a(s,null,l(p.resultArr,((e,r)=>(n(),a("div",{key:t.cyy},[u("img",{mode:"widthFix",style:i([p.computedStyle,c.imgStyle]),src:e.imgUrl,alt:""},null,12,No)])))),128))])},Po.__scopeId="data-v-eb13d4ae";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=je(this.props,t),r=Oo(this.props,t);return{...j(e),...r,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){w||this.$routers.push("goodsList",{memberCode:this.memberCode})}}};const Bo={style:{overflow:"hidden"}},Io=["src"],Eo={style:{flex:"1"}};To.render=function(t,e,r,o,s,l){return n(),a("div",Bo,[u("div",{style:i([l.computedStyle]),onClick:e[0]||(e[0]=(...t)=>l.goSearch&&l.goSearch(...t))},[r.props.iconShow?(n(),a("img",{key:0,src:r.props.icon,alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px"}},null,8,Io)):p("",!0),u("div",Eo,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:t=[]}=this.props,e={goodsCode:t.toString()},r=await _(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)}}};const Uo={key:1},Ro=["onClick"],Do=["src"],Mo={class:"goodsName"},Lo={class:"goodsPrice"},Go={key:0,class:"scribing"};zo(".cube-container[data-v-5b81063a]{display:grid}.cube-container[data-v-5b81063a].two[data-v-5b81063a]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-5b81063a].two[data-v-5b81063a] .goodsName[data-v-5b81063a]{font-size:16px;padding:15px 0 2px}.cube-container[data-v-5b81063a].two[data-v-5b81063a] .goodsPrice[data-v-5b81063a]{font-size:14px;padding:2px 0 20px}.cube-container[data-v-5b81063a].two[data-v-5b81063a] .goodsPrice[data-v-5b81063a] .scribing[data-v-5b81063a]{font-size:12px}.cube-container[data-v-5b81063a].one[data-v-5b81063a]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-5b81063a].one[data-v-5b81063a] .goodsName[data-v-5b81063a]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-5b81063a].one[data-v-5b81063a] .goodsPrice[data-v-5b81063a]{font-size:18px;padding:5px 0 20px}.cube-container[data-v-5b81063a].one[data-v-5b81063a] .goodsPrice[data-v-5b81063a] .scribing[data-v-5b81063a]{font-size:14px}.cube-container[data-v-5b81063a] .cube-item[data-v-5b81063a] img[data-v-5b81063a]{width:100%}.cube-container[data-v-5b81063a] .cube-item[data-v-5b81063a] .goodsName[data-v-5b81063a]{color:#000}.cube-container[data-v-5b81063a] .cube-item[data-v-5b81063a] .goodsPrice[data-v-5b81063a]{color:#fe4854}.cube-container[data-v-5b81063a] .cube-item[data-v-5b81063a] .goodsPrice[data-v-5b81063a] .scribing[data-v-5b81063a]{color:#ccc;display:inline-block;text-decoration:line-through}"),Fo.render=function(t,e,r,o,h,b){return n(),a("div",null,[r.props.goods?(n(),a("div",Uo,[u("div",{class:d(["cube-container",1===r.props.arrange?"one":"two"]),style:i({paddingTop:r.props.paddingTop+"px",paddingBottom:r.props.paddingBottom+"px",gap:r.props.margin+"px"})},[(n(!0),a(s,null,l(h.listArr,((e,o)=>(n(),a("div",{class:"cube-item",key:t.cyy,onClick:t=>b.goGoodsDetail(e)},[u("img",{src:h.REACT_APP_BASE_URL+e.dataPic,mode:"widthFix",alt:"",style:i({borderRadius:r.props.borderRadius})},null,12,Do),u("div",Mo,c(e.goodsName),1),u("div",Lo,[f(" ¥"+c(e.pricesetNprice)+" ",1),1===r.props.markedPrice?(n(),a("div",Go," ¥"+c(e.pricesetMakeprice),1)):p("",!0)])],8,Ro)))),128))],6)])):(n(),a("div",{key:0,style:i(h.noDataStyle)},"请选择商品",4))])},Fo.__scopeId="data-v-5b81063a";var Vo={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,n=e.filter((t=>!r(t))).filter((t=>!Object.values(t).every((t=>r(t)))));let a=o;return t(n)||(a=n),a},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=je(this.props,["marginTop","marginBottom"]);return{...j(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const $o={key:0},Ho=["src"],Wo={key:1},qo=["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}"),Vo.render=function(t,e,r,o,c,p){const d=h("swiper-item"),f=h("swiper");return n(),a("div",null,[c.lowCode?(n(),a("div",$o,[u("div",{class:"lowCode-warp",style:i([p.sliderStyle])},[u("img",{src:p.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Ho),u("ul",null,[(n(!0),a(s,null,l(p.resultArr,((e,r)=>(n(),a("li",{key:t.cyy})))),128))])],4)])):(n(),a("div",Wo,[b(f,{"indicator-dots":!0,autoplay:r.props.autoplay,interval:r.props.autoplayInterval,vertical:p.reDirection,circular:r.props.loop,style:i({height:p.imgH+"rpx"})},{default:v((()=>[(n(!0),a(s,null,l(p.resultArr,((e,r)=>(n(),g(d,{key:t.cyy,style:i([p.sliderStyle,{boxSizing:"border-box"}])},{default:v((()=>[u("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,qo)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var Ko={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 n=await _(this,r);this.listArr=o(n,"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 Jo=t=>(y("data-v-02ef6f46"),t=t(),m(),t),Xo={key:1},Qo={class:"three-layout"},Yo={key:0,class:"top-left"},Zo={key:1,class:"top-right"},tn=[Jo((()=>u("div",null,"更多",-1))),Jo((()=>u("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],en={class:"three-layout-content"},rn={class:"three-layout-bigImg"},on=["src"],nn={class:"three-layout-goods"},an=["src"],cn={key:0,class:"mask-three-more"},sn={class:"price-box"},ln={class:"now-price"},un={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}"),Ko.render=function(t,e,r,o,d,g){const y=h("vop-label"),m=h("scroll-view");return n(),a("div",null,[r.props.goods?(n(),a("div",Xo,[u("div",Qo,[u("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>g.jumpToSearch())},[r.props.title.isShow?p("",!0):(n(),a("div",Yo,c(r.props.title.title||""),1)),1===r.props.more?(n(),a("div",Zo,tn)):p("",!0)]),u("div",en,[u("div",rn,[u("image",{"lazy-load":!0,src:r.props.bill?r.props.bill:"",mode:"aspectFill"},null,8,on)]),u("div",nn,[b(m,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:v((()=>[(n(!0),a(s,null,l(d.listArr,((r,o)=>(n(),a("div",{class:"scroll-item",key:o,onClick:e[1]||(e[1]=e=>t.toDetail())},[u("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+r.dataPic,mode:"aspectFill"},null,8,an),r.goodsSupplynum<=0||"1"===r.goodsProperty5?(n(),a("div",cn,c(t.maskTitle(r.goodsProperty5)),1)):p("",!0),u("p",null,[b(y,{goodsType:r.contlistPrice1},null,8,["goodsType"]),f(c(r.goodsName),1)]),u("div",sn,[u("div",ln,"¥"+c(r.pricesetMakeprice||0),1),1==r.contlistConNow?(n(),a("div",un,"¥"+c(r.pricesetBaseprice||0),1)):p("",!0)])])))),128))])),_:1})])])])])):(n(),a("div",{key:0,style:i(d.noDataStyle)},"请选择商品样式一",4))])},Ko.__scopeId="data-v-02ef6f46";const pn=[{imgUrl:"https://rcyx-platform-test.yoxuan.vip//paas/shop/2021011200000001/2023-03-14/e7195f36063f4b07b2d9d17c852b14f2.png",link:"pages/group/goods/main"},{imgUrl:"https://rcyx-platform-test.yoxuan.vip//paas/shop/2021011200000001/2023-03-08/27e0019a5c6a4cb5a70be74374900666.jpg",link:"pages/seckillList"},{imgUrl:"https://rcyx-platform-test.yoxuan.vip//paas/shop/2021011200000001/2023-03-01/3a094aebdaf84561a8616ad6bd3b7dff.jpg",link:"https://www.baidu.com"},{imgUrl:"https://rcyx-platform-test.yoxuan.vip//paas/shop/2021011200000001/2023-03-01/8a8782a4dc0446a28fe065b0675c5024.jpg"}];var dn={name:"cyy-ArsenalPicture",data:()=>({classOptions:{showA:!1,showB:!1,showC:!1,showD:!1,showE:!1},imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,spacing:Number,paddingTop:Number,paddingBottom:Number,selectImg:Array}},mounted(){this.whitchClass()},computed:{resultArr(){const{selectImg:e,defaultValue:o}=this.props,n=e.filter((t=>!r(t))).filter((t=>!Object.values(t).every((t=>r(t)))));let a=o;return t(n)||(a=n),console.log(52,a),a},computedStyle(){const t=["borderRadius","paddingTop","paddingLeft","paddingRight","paddingBottom"],e=je(this.props,t),r=Oo(this.props,t);return{...j(e),...r}}},methods:{whitchClass(){switch(pn.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}}}};const fn={key:0,class:"holder"},hn=["src"];zo(".holder[data-v-43ac3057]{background-color:#27d7b1;height:60px;padding:10px 0;width:100%}.classA-show[data-v-43ac3057]{color:red}.classB-show[data-v-43ac3057]{color:orange}.classC-show[data-v-43ac3057]{color:#ff0}.classD-show[data-v-43ac3057]{color:green}.classE-show[data-v-43ac3057]{color:cyan}.lc-img-item[data-v-43ac3057]{box-sizing:border-box;width:100%}"),dn.render=function(t,e,r,o,c,p){return n(),a("div",null,[p.resultArr.length?(n(),a("div",fn)):(n(!0),a(s,{key:1},l(t.mock.selectImg,((e,r)=>(n(),a("div",{key:r,class:d({"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}),style:i({paddingTop:t.mock.paddingTop+"px",paddingBottom:t.mock.paddingBottom+"px"})},[f(" 文字颜色 "),u("img",{mode:"widthFix",src:e.imgUrl,alt:"",style:i({borderRadius:t.mock.cornerStyle+"px"})},null,12,hn)],6)))),128))])},dn.__scopeId="data-v-43ac3057";const bn=[Fo,Co,Po,To,Vo,Ko],vn=function(t){bn.forEach((e=>{t.component(e.name,e)}))};"undefined"!=typeof window&&window.Vue&&vn(window.Vue);export{dn as ArsenalPicture,Po as Cube,Fo as Goods,Ko as GoodsOne,To as Search,Vo as Slider,Co as Title,vn 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";
|