cyy-vue-material 1.0.25 → 1.0.26

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
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 l,renderList as u,createElementVNode as d,createCommentVNode as s,normalizeClass as p,createTextVNode as f,resolveComponent as v,createVNode as b,withCtx as g,createBlock as y,pushScopeId as h,popScopeId as m}from"vue";const j="low-code"===process.env.VUE_APP_PLATFORM,x=t=>{let e={};for(let r in t)e[r]=_(t[r]);return e},_=t=>j?t+"px":2*t+"rpx",w=t=>{const e=new URLSearchParams;for(let r in t)e.append(r,t[r]);return e};const S=j?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}=A[o]||{};return e(r,n)})(r);if(i)return Promise.resolve((t=>{const{mGoodsInfo:e}=A[t];return e})(n));const c=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+"web/rs/sku/querySkuFromJm.json?channelCode=530813714907123723&exportFuzzy=true",{method:"POST",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"},body:w(o)}).then((t=>t.json())).then(((t={})=>(((t,e,r)=>{A[t]={mGoodsInfo:r,mGoods:e}})(n,a,t),t)))}:(t,e)=>t.http.get("web/es/searchengine/find.json",e),A={};var k=Array.isArray,O="object"==typeof global&&global&&global.Object===Object&&global,N="object"==typeof self&&self&&self.Object===Object&&self,P=O||N||Function("return this")(),C=P.Symbol,z=Object.prototype,T=z.hasOwnProperty,B=z.toString,F=C?C.toStringTag:void 0;var I=Object.prototype.toString;var R="[object Null]",U="[object Undefined]",D=C?C.toStringTag:void 0;function E(t){return null==t?void 0===t?U:R:D&&D in Object(t)?function(t){var e=T.call(t,F),r=t[F];try{t[F]=void 0;var o=!0}catch(t){}var n=B.call(t);return o&&(e?t[F]=r:delete t[F]),n}(t):function(t){return I.call(t)}(t)}function L(t){return null!=t&&"object"==typeof t}var M="[object Symbol]";function G(t){return"symbol"==typeof t||L(t)&&E(t)==M}var $=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;function H(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var W="[object AsyncFunction]",q="[object Function]",K="[object GeneratorFunction]",J="[object Proxy]";function X(t){if(!H(t))return!1;var e=E(t);return e==q||e==K||e==W||e==J}var Q,Y=P["__core-js_shared__"],Z=(Q=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"";var tt=Function.prototype.toString;function et(t){if(null!=t){try{return tt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var rt=/^\[object .+?Constructor\]$/,ot=Function.prototype,nt=Object.prototype,at=ot.toString,it=nt.hasOwnProperty,ct=RegExp("^"+at.call(it).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lt(t){return!(!H(t)||(e=t,Z&&Z in e))&&(X(t)?ct:rt).test(et(t));var e}function ut(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return lt(r)?r:void 0}var dt=ut(Object,"create");var st="__lodash_hash_undefined__",pt=Object.prototype.hasOwnProperty;var ft=Object.prototype.hasOwnProperty;var vt="__lodash_hash_undefined__";function bt(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 gt(t,e){return t===e||t!=t&&e!=e}function yt(t,e){for(var r=t.length;r--;)if(gt(t[r][0],e))return r;return-1}bt.prototype.clear=function(){this.__data__=dt?dt(null):{},this.size=0},bt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},bt.prototype.get=function(t){var e=this.__data__;if(dt){var r=e[t];return r===st?void 0:r}return pt.call(e,t)?e[t]:void 0},bt.prototype.has=function(t){var e=this.__data__;return dt?void 0!==e[t]:ft.call(e,t)},bt.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=dt&&void 0===e?vt:e,this};var ht=Array.prototype.splice;function mt(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])}}mt.prototype.clear=function(){this.__data__=[],this.size=0},mt.prototype.delete=function(t){var e=this.__data__,r=yt(e,t);return!(r<0)&&(r==e.length-1?e.pop():ht.call(e,r,1),--this.size,!0)},mt.prototype.get=function(t){var e=this.__data__,r=yt(e,t);return r<0?void 0:e[r][1]},mt.prototype.has=function(t){return yt(this.__data__,t)>-1},mt.prototype.set=function(t,e){var r=this.__data__,o=yt(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};var jt=ut(P,"Map");function xt(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 _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 bt,map:new(jt||mt),string:new bt}},_t.prototype.delete=function(t){var e=xt(this,t).delete(t);return this.size-=e?1:0,e},_t.prototype.get=function(t){return xt(this,t).get(t)},_t.prototype.has=function(t){return xt(this,t).has(t)},_t.prototype.set=function(t,e){var r=xt(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};var wt="Expected a function";function St(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(wt);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(St.Cache||_t),r}St.Cache=_t;var At=500;var kt,Ot,Nt,Pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/\\(\\)?/g,zt=(kt=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Pt,(function(t,r,o,n){e.push(o?n.replace(Ct,"$1"):r||t)})),e},Ot=St(kt,(function(t){return Nt.size===At&&Nt.clear(),t})),Nt=Ot.cache,Ot),Tt=zt;function Bt(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 Ft=1/0,It=C?C.prototype:void 0,Rt=It?It.toString:void 0;function Ut(t){if("string"==typeof t)return t;if(k(t))return Bt(t,Ut)+"";if(G(t))return Rt?Rt.call(t):"";var e=t+"";return"0"==e&&1/t==-Ft?"-0":e}function Dt(t,e){return k(t)?t:function(t,e){if(k(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!G(t))||V.test(t)||!$.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Tt(function(t){return null==t?"":Ut(t)}(t))}var Et=1/0;function Lt(t){if("string"==typeof t||G(t))return t;var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function Mt(t,e){for(var r=0,o=(e=Dt(e,t)).length;null!=t&&r<o;)t=t[Lt(e[r++])];return r&&r==o?t:void 0}var Gt=function(){try{var t=ut(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),$t=Gt;function Vt(t,e,r){"__proto__"==e&&$t?$t(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Ht=Object.prototype.hasOwnProperty;function Wt(t,e,r){var o=t[e];Ht.call(t,e)&&gt(o,r)&&(void 0!==r||e in t)||Vt(t,e,r)}var qt=9007199254740991,Kt=/^(?:0|[1-9]\d*)$/;function Jt(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 Xt(t,e,r,o){if(!H(t))return t;for(var n=-1,a=(e=Dt(e,t)).length,i=a-1,c=t;null!=c&&++n<a;){var l=Lt(e[n]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(n!=i){var d=c[l];void 0===(u=o?o(d,l,c):void 0)&&(u=H(d)?d:Jt(e[n+1])?[]:{})}Wt(c,l,u),c=c[l]}return t}function Qt(t,e){return null!=t&&e in Object(t)}var Yt="[object Arguments]";function Zt(t){return L(t)&&E(t)==Yt}var te=Object.prototype,ee=te.hasOwnProperty,re=te.propertyIsEnumerable,oe=Zt(function(){return arguments}())?Zt:function(t){return L(t)&&ee.call(t,"callee")&&!re.call(t,"callee")},ne=9007199254740991;function ae(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ne}function ie(t,e){return null!=t&&function(t,e,r){for(var o=-1,n=(e=Dt(e,t)).length,a=!1;++o<n;){var i=Lt(e[o]);if(!(a=null!=t&&r(t,i)))break;t=t[i]}return a||++o!=n?a:!!(n=null==t?0:t.length)&&ae(n)&&Jt(i,n)&&(k(t)||oe(t))}(t,e,Qt)}function ce(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)&&Xt(a,Dt(i,t),c)}return a}(t,e,(function(e,r){return ie(t,r)}))}function le(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t}var ue=C?C.isConcatSpreadable:void 0;function de(t){return k(t)||oe(t)||!!(ue&&t&&t[ue])}function se(t,e,r,o,n){var a=-1,i=t.length;for(r||(r=de),n||(n=[]);++a<i;){var c=t[a];e>0&&r(c)?e>1?se(c,e-1,r,o,n):le(n,c):o||(n[n.length]=c)}return n}function pe(t){return(null==t?0:t.length)?se(t,1):[]}var fe=Math.max;var ve=$t?function(t,e){return $t(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:function(t){return t},be=ve,ge=800,ye=16,he=Date.now;var me=function(t){var e=0,r=0;return function(){var o=he(),n=ye-(o-r);if(r=o,n>0){if(++e>=ge)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(be),je=me;function xe(t){return je(function(t,e,r){return e=fe(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,a=fe(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 _e=xe((function(t,e){return null==t?{}:ce(t,e)}));var we=200;function Se(t){var e=this.__data__=new mt(t);this.size=e.size}function Ae(t,e,r,o){var n=!r;r||(r={});for(var a=-1,i=e.length;++a<i;){var c=e[a],l=o?o(r[c],t[c],c,r,t):void 0;void 0===l&&(l=t[c]),n?Vt(r,c,l):Wt(r,c,l)}return r}Se.prototype.clear=function(){this.__data__=new mt,this.size=0},Se.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Se.prototype.get=function(t){return this.__data__.get(t)},Se.prototype.has=function(t){return this.__data__.has(t)},Se.prototype.set=function(t,e){var r=this.__data__;if(r instanceof mt){var o=r.__data__;if(!jt||o.length<we-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 ke="object"==typeof exports&&exports&&!exports.nodeType&&exports,Oe=ke&&"object"==typeof module&&module&&!module.nodeType&&module,Ne=Oe&&Oe.exports===ke?P.Buffer:void 0,Pe=(Ne?Ne.isBuffer:void 0)||function(){return!1},Ce={};function ze(t){return function(e){return t(e)}}Ce["[object Float32Array]"]=Ce["[object Float64Array]"]=Ce["[object Int8Array]"]=Ce["[object Int16Array]"]=Ce["[object Int32Array]"]=Ce["[object Uint8Array]"]=Ce["[object Uint8ClampedArray]"]=Ce["[object Uint16Array]"]=Ce["[object Uint32Array]"]=!0,Ce["[object Arguments]"]=Ce["[object Array]"]=Ce["[object ArrayBuffer]"]=Ce["[object Boolean]"]=Ce["[object DataView]"]=Ce["[object Date]"]=Ce["[object Error]"]=Ce["[object Function]"]=Ce["[object Map]"]=Ce["[object Number]"]=Ce["[object Object]"]=Ce["[object RegExp]"]=Ce["[object Set]"]=Ce["[object String]"]=Ce["[object WeakMap]"]=!1;var Te="object"==typeof exports&&exports&&!exports.nodeType&&exports,Be=Te&&"object"==typeof module&&module&&!module.nodeType&&module,Fe=Be&&Be.exports===Te&&O.process,Ie=function(){try{var t=Be&&Be.require&&Be.require("util").types;return t||Fe&&Fe.binding&&Fe.binding("util")}catch(t){}}(),Re=Ie&&Ie.isTypedArray,Ue=Re?ze(Re):function(t){return L(t)&&ae(t.length)&&!!Ce[E(t)]},De=Object.prototype.hasOwnProperty;function Ee(t,e){var r=k(t),o=!r&&oe(t),n=!r&&!o&&Pe(t),a=!r&&!o&&!n&&Ue(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):[],l=c.length;for(var u in t)!e&&!De.call(t,u)||i&&("length"==u||n&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Jt(u,l))||c.push(u);return c}var Le=Object.prototype;function Me(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Le)}function Ge(t,e){return function(r){return t(e(r))}}var $e=Ge(Object.keys,Object),Ve=Object.prototype.hasOwnProperty;function He(t){return null!=t&&ae(t.length)&&!X(t)}function We(t){return He(t)?Ee(t):function(t){if(!Me(t))return $e(t);var e=[];for(var r in Object(t))Ve.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}var qe=Object.prototype.hasOwnProperty;function Ke(t){if(!H(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 Je(t){return He(t)?Ee(t,!0):Ke(t)}var Xe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Qe=Xe&&"object"==typeof module&&module&&!module.nodeType&&module,Ye=Qe&&Qe.exports===Xe?P.Buffer:void 0,Ze=Ye?Ye.allocUnsafe:void 0;function tr(){return[]}var er=Object.prototype.propertyIsEnumerable,rr=Object.getOwnPropertySymbols,or=rr?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}(rr(t),(function(e){return er.call(t,e)})))}:tr,nr=or;var ar=Ge(Object.getPrototypeOf,Object),ir=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)le(e,nr(t)),t=ar(t);return e}:tr,cr=ir;function lr(t,e,r){var o=e(t);return k(t)?o:le(o,r(t))}function ur(t){return lr(t,We,nr)}function dr(t){return lr(t,Je,cr)}var sr=ut(P,"DataView"),pr=ut(P,"Promise"),fr=ut(P,"Set"),vr=ut(P,"WeakMap"),br="[object Map]",gr="[object Promise]",yr="[object Set]",hr="[object WeakMap]",mr="[object DataView]",jr=et(sr),xr=et(jt),_r=et(pr),wr=et(fr),Sr=et(vr),Ar=E;(sr&&Ar(new sr(new ArrayBuffer(1)))!=mr||jt&&Ar(new jt)!=br||pr&&Ar(pr.resolve())!=gr||fr&&Ar(new fr)!=yr||vr&&Ar(new vr)!=hr)&&(Ar=function(t){var e=E(t),r="[object Object]"==e?t.constructor:void 0,o=r?et(r):"";if(o)switch(o){case jr:return mr;case xr:return br;case _r:return gr;case wr:return yr;case Sr:return hr}return e});var kr=Ar,Or=Object.prototype.hasOwnProperty;var Nr=P.Uint8Array;function Pr(t){var e=new t.constructor(t.byteLength);return new Nr(e).set(new Nr(t)),e}var Cr=/\w*$/;var zr=C?C.prototype:void 0,Tr=zr?zr.valueOf:void 0;var Br="[object Boolean]",Fr="[object Date]",Ir="[object Map]",Rr="[object Number]",Ur="[object RegExp]",Dr="[object Set]",Er="[object String]",Lr="[object Symbol]",Mr="[object ArrayBuffer]",Gr="[object DataView]",$r="[object Float32Array]",Vr="[object Float64Array]",Hr="[object Int8Array]",Wr="[object Int16Array]",qr="[object Int32Array]",Kr="[object Uint8Array]",Jr="[object Uint8ClampedArray]",Xr="[object Uint16Array]",Qr="[object Uint32Array]";function Yr(t,e,r){var o,n=t.constructor;switch(e){case Mr:return Pr(t);case Br:case Fr:return new n(+t);case Gr:return function(t,e){var r=e?Pr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case $r:case Vr:case Hr:case Wr:case qr:case Kr:case Jr:case Xr:case Qr:return function(t,e){var r=e?Pr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case Ir:return new n;case Rr:case Er:return new n(t);case Ur:return function(t){var e=new t.constructor(t.source,Cr.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Dr:return new n;case Lr:return o=t,Tr?Object(Tr.call(o)):{}}}var Zr=Object.create,to=function(){function t(){}return function(e){if(!H(e))return{};if(Zr)return Zr(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),eo=to;var ro="[object Map]";var oo=Ie&&Ie.isMap,no=oo?ze(oo):function(t){return L(t)&&kr(t)==ro},ao="[object Set]";var io=Ie&&Ie.isSet,co=io?ze(io):function(t){return L(t)&&kr(t)==ao},lo=1,uo=2,so=4,po="[object Arguments]",fo="[object Function]",vo="[object GeneratorFunction]",bo="[object Object]",go={};function yo(t,e,r,o,n,a){var i,c=e&lo,l=e&uo,u=e&so;if(r&&(i=n?r(t,o,n,a):r(t)),void 0!==i)return i;if(!H(t))return t;var d=k(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),!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 s=kr(t),p=s==fo||s==vo;if(Pe(t))return function(t,e){if(e)return t.slice();var r=t.length,o=Ze?Ze(r):new t.constructor(r);return t.copy(o),o}(t,c);if(s==bo||s==po||p&&!n){if(i=l||p?{}:function(t){return"function"!=typeof t.constructor||Me(t)?{}:eo(ar(t))}(t),!c)return l?function(t,e){return Ae(t,cr(t),e)}(t,function(t,e){return t&&Ae(e,Je(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(!go[s])return n?t:{};i=Yr(t,s,c)}}a||(a=new Se);var f=a.get(t);if(f)return f;a.set(t,i),co(t)?t.forEach((function(o){i.add(yo(o,e,r,o,t,a))})):no(t)&&t.forEach((function(o,n){i.set(n,yo(o,e,r,n,t,a))}));var v=d?void 0:(u?l?dr:ur:l?Je:We)(t);return function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););}(v||t,(function(o,n){v&&(o=t[n=o]),Wt(i,n,yo(o,e,r,n,t,a))})),i}function ho(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 mo(t,e){return null==(t=ho(t,e=Dt(e,t)))||delete t[Lt((r=e,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}go[po]=go["[object Array]"]=go["[object ArrayBuffer]"]=go["[object DataView]"]=go["[object Boolean]"]=go["[object Date]"]=go["[object Float32Array]"]=go["[object Float64Array]"]=go["[object Int8Array]"]=go["[object Int16Array]"]=go["[object Int32Array]"]=go["[object Map]"]=go["[object Number]"]=go[bo]=go["[object RegExp]"]=go["[object Set]"]=go["[object String]"]=go["[object Symbol]"]=go["[object Uint8Array]"]=go["[object Uint8ClampedArray]"]=go["[object Uint16Array]"]=go["[object Uint32Array]"]=!0,go["[object Error]"]=go[fo]=go["[object WeakMap]"]=!1;var jo="[object Object]",xo=Function.prototype,_o=Object.prototype,wo=xo.toString,So=_o.hasOwnProperty,Ao=wo.call(Object);function ko(t){return function(t){if(!L(t)||E(t)!=jo)return!1;var e=ar(t);if(null===e)return!0;var r=So.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&wo.call(r)==Ao}(t)?void 0:t}var Oo=xe((function(t,e){var r={};if(null==t)return r;var o=!1;e=Bt(e,(function(e){return e=Dt(e,t),o||(o=e.length>1),e})),Ae(t,dr(t),r),o&&(r=yo(r,7,ko));for(var n=e.length;n--;)mo(r,e[n]);return r})),No=Oo,Po={name:"cyy-title",props:{props:{value:String,fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,paddingTop:Number,paddingLeft:Number,paddingRight:Number,paddingBottom:Number}},computed:{computedStyle(){const t=["fontSize","paddingTop","paddingLeft","paddingRight","paddingBottom"],e=_e(this.props||{},t),r=No(this.props||{},t);return{...x(e),...r}}}};Po.render=function(t,e,r,o,l,u){return n(),a("div",{style:i([u.computedStyle])},c(r.props.value),5)},Po.__file="src/package/cyy-title/cyy-title.vue";var Co={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=_e(this.props,t),r=No(this.props,t);return{...x(e),...r}}}};const zo=["src"];function To(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))}}To(".lc-img-item[data-v-347d4d81]{box-sizing:border-box;width:100%}"),Co.render=function(t,e,r,o,c,s){return n(),a("div",null,[(n(!0),a(l,null,u(s.resultArr,((e,r)=>(n(),a("div",{key:t.cyy},[d("img",{mode:"widthFix",style:i([s.computedStyle,c.imgStyle]),src:e.imgUrl,alt:""},null,12,zo)])))),128))])},Co.__scopeId="data-v-347d4d81",Co.__file="src/package/cyy-image/cyy-image.vue";var Bo={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,borderRadius:Number,icon:String,marginTop:Number,marginLeft:Number,marginRight:Number,marginBottom:Number}},computed:{computedStyle(){const t=["borderRadius","marginTop","marginLeft","marginRight","marginBottom"],e=_e(this.props,t),r=No(this.props,t);return{...x(e),...r,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px"}}},methods:{goSearch(){j||this.$routers.push("goodsList",{memberCode:this.memberCode})}}};const Fo={style:{overflow:"hidden"}},Io={style:{flex:"1"}},Ro=["src"];Bo.render=function(t,e,r,o,l,u){return n(),a("div",Fo,[d("div",{style:i([u.computedStyle]),onClick:e[0]||(e[0]=(...t)=>u.goSearch&&u.goSearch(...t))},[d("div",Io,c(r.props.value),1),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,Ro)):s("v-if",!0)],4)])},Bo.__file="src/package/cyy-search/cyy-search.vue";var Uo={name:"cyy-goods",props:{props:{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(){const{goods:t=[]}=this.props,e={goodsCode:t.toString()},r=await S(this,e);this.listArr=o(r,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(j)return;const{skuCode:e,skuNo:r}=t;let o={skuCode:e,skuNo:r};this.$routers.push("detail",o)}}};const Do={key:1},Eo=["onClick"],Lo=["src"],Mo={class:"goodsName"},Go={class:"goodsPrice"},$o={key:0,class:"scribing"};To(".cube-container[data-v-585820b7]{display:grid}.cube-container[data-v-585820b7].two[data-v-585820b7]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-585820b7].two[data-v-585820b7] .goodsName[data-v-585820b7]{font-size:16px;padding:15px 0 2px}.cube-container[data-v-585820b7].two[data-v-585820b7] .goodsPrice[data-v-585820b7]{font-size:14px;padding:2px 0 20px}.cube-container[data-v-585820b7].two[data-v-585820b7] .goodsPrice[data-v-585820b7] .scribing[data-v-585820b7]{font-size:12px}.cube-container[data-v-585820b7].one[data-v-585820b7]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-585820b7].one[data-v-585820b7] .goodsName[data-v-585820b7]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-585820b7].one[data-v-585820b7] .goodsPrice[data-v-585820b7]{font-size:18px;padding:5px 0 20px}.cube-container[data-v-585820b7].one[data-v-585820b7] .goodsPrice[data-v-585820b7] .scribing[data-v-585820b7]{font-size:14px}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] img[data-v-585820b7]{width:100%}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] .goodsName[data-v-585820b7]{color:#000}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] .goodsPrice[data-v-585820b7]{color:#fe4854}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] .goodsPrice[data-v-585820b7] .scribing[data-v-585820b7]{color:#ccc;display:inline-block;text-decoration:line-through}"),Uo.render=function(t,e,r,o,v,b){return n(),a("div",null,[r.props.goods?(n(),a("div",Do,[d("div",{class:p(["cube-container",1===r.props.arrange?"one":"two"]),style:i({paddingTop:r.props.paddingTop+"px",paddingLeft:r.props.paddingLeft+"px",paddingRight:r.props.paddingRight+"px",paddingBottom:r.props.paddingBottom+"px",gap:r.props.margin+"px"})},[(n(!0),a(l,null,u(v.listArr,((e,o)=>(n(),a("div",{class:"cube-item",key:t.cyy,onClick:t=>b.goGoodsDetail(e)},[d("img",{src:e.dataPic,mode:"widthFix",alt:"",style:i({borderRadius:2===r.props.circular?"0px":"10px"})},null,12,Lo),d("div",Mo,c(e.goodsName),1),d("div",Go,[f(" ¥"+c(e.pricesetNprice)+" ",1),1===r.props.markedPrice?(n(),a("div",$o," ¥"+c(e.pricesetMakeprice),1)):s("v-if",!0)])],8,Eo)))),128))],6)])):(n(),a("div",{key:0,style:i(v.noDataStyle)},"请选择商品",4))])},Uo.__scopeId="data-v-585820b7",Uo.__file="src/package/cyy-goods/cyy-goods.vue";var Vo={name:"cyy-slider",data:()=>({lowCode:j}),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=_e(this.props,["marginTop","marginBottom"]);return{...x(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const Ho={key:0},Wo=["src"],qo={key:1},Ko=["src"];To(".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,s){const p=v("swiper-item"),f=v("swiper");return n(),a("div",null,[c.lowCode?(n(),a("div",Ho,[d("div",{class:"lowCode-warp",style:i([s.sliderStyle])},[d("img",{src:s.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Wo),d("ul",null,[(n(!0),a(l,null,u(s.resultArr,((e,r)=>(n(),a("li",{key:t.cyy})))),128))])],4)])):(n(),a("div",qo,[b(f,{"indicator-dots":!0,autoplay:r.props.autoplay,interval:r.props.autoplayInterval,vertical:s.reDirection,circular:r.props.loop,style:i({height:s.imgH+"rpx"})},{default:g((()=>[(n(!0),a(l,null,u(s.resultArr,((e,r)=>(n(),y(p,{key:t.cyy,style:i([s.sliderStyle,{boxSizing:"border-box"}])},{default:g((()=>[d("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Ko)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])},Vo.__file="src/package/cyy-slider/cyy-slider.vue";var Jo={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 S(this,r);this.listArr=o(n,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(j)return;const{skuCode:e,skuNo:r}=t;let o={skuCode:e,skuNo:r};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"无库存"};const Xo=t=>(h("data-v-6a9dc7dd"),t=t(),m(),t),Qo={key:1},Yo={class:"three-layout"},Zo={key:0,class:"top-left"},tn={key:1,class:"top-right"},en=[Xo((()=>d("div",null,"更多",-1))),Xo((()=>d("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],rn={class:"three-layout-content"},on={class:"three-layout-bigImg"},nn=["src"],an={class:"three-layout-goods"},cn=["src"],ln={key:0,class:"mask-three-more"},un={class:"price-box"},dn={class:"now-price"},sn={key:0,class:"origin-price"};To(".three-layout[data-v-6a9dc7dd]{border-radius:7px}.three-layout[data-v-6a9dc7dd] .mask-three-more[data-v-6a9dc7dd]{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-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-left[data-v-6a9dc7dd]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-right[data-v-6a9dc7dd]{align-items:center;display:flex}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-right[data-v-6a9dc7dd] div[data-v-6a9dc7dd]{color:#595959;font-size:12px}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-right[data-v-6a9dc7dd] image[data-v-6a9dc7dd]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd] .three-layout-bigImg[data-v-6a9dc7dd] image[data-v-6a9dc7dd]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd] .three-layout-goods[data-v-6a9dc7dd]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd] .three-layout-goods[data-v-6a9dc7dd] .goods-items[data-v-6a9dc7dd]{width:106px}.scroll-list[data-v-6a9dc7dd]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-6a9dc7dd] .scroll-item[data-v-6a9dc7dd]{display:inline-block;margin-right:10px}.scroll-list[data-v-6a9dc7dd] .scroll-item[data-v-6a9dc7dd] image[data-v-6a9dc7dd]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-6a9dc7dd] .scroll-item[data-v-6a9dc7dd] p[data-v-6a9dc7dd]{-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-6a9dc7dd]{margin-top:10px}"),Jo.render=function(t,e,r,o,p,y){const h=v("vop-label"),m=v("scroll-view");return n(),a("div",null,[r.props.goods?(n(),a("div",Qo,[d("div",Yo,[d("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>y.jumpToSearch())},[r.props.title.isShow?s("v-if",!0):(n(),a("div",Zo,c(r.props.title.title||""),1)),1===r.props.more?(n(),a("div",tn,en)):s("v-if",!0)]),d("div",rn,[d("div",on,[d("image",{"lazy-load":!0,src:r.props.bill?r.props.bill:"",mode:"aspectFill"},null,8,nn)]),d("div",an,[b(m,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:g((()=>[(n(!0),a(l,null,u(p.listArr,((r,o)=>(n(),a("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,cn),r.goodsSupplynum<=0||"1"===r.goodsProperty5?(n(),a("div",ln,c(t.maskTitle(r.goodsProperty5)),1)):s("v-if",!0),d("p",null,[b(h,{goodsType:r.contlistPrice1},null,8,["goodsType"]),f(c(r.goodsName),1)]),d("div",un,[d("div",dn,"¥"+c(r.pricesetMakeprice||0),1),1==r.contlistConNow?(n(),a("div",sn,"¥"+c(r.pricesetBaseprice||0),1)):s("v-if",!0)])])))),128))])),_:1})])])])])):(n(),a("div",{key:0,style:i(p.noDataStyle)},"请选择商品样式一",4))])},Jo.__scopeId="data-v-6a9dc7dd",Jo.__file="src/package/cyy-goodsOne/cyy-goodsOne.vue";const pn=[Uo,Po,Co,Bo,Vo,Jo],fn=function(t){pn.forEach((e=>{t.component(e.name,e)}))};"undefined"!=typeof window&&window.Vue&&fn(window.Vue);export{Co as Cube,Uo as Goods,Jo as GoodsOne,Bo as Search,Vo as Slider,Po as Title,fn as default};
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 l,renderList as s,createElementVNode as u,createCommentVNode as d,normalizeClass as p,createTextVNode as f,resolveComponent as v,createVNode as y,withCtx as b,createBlock as g,pushScopeId as h,popScopeId as m}from"vue";const j="low-code"===process.env.VUE_APP_PLATFORM,x=t=>{let e={};for(let r in t)e[r]=_(t[r]);return e},_=t=>j?t+"px":2*t+"rpx",w=t=>{const e=new URLSearchParams;for(let r in t)e.append(r,t[r]);return e};const S=j?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}=A[o]||{};return e(r,n)})(r);if(i)return Promise.resolve((t=>{const{mGoodsInfo:e}=A[t];return e})(n));const c=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+"web/rs/sku/querySkuFromJm.json",{method:"POST",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"},body:w(o)}).then((t=>t.json())).then(((t={})=>(((t,e,r)=>{A[t]={mGoodsInfo:r,mGoods:e}})(n,a,t),t)))}:(t,e)=>t.http.get("web/es/searchengine/find.json",e),A={};var k=Array.isArray,O="object"==typeof global&&global&&global.Object===Object&&global,N="object"==typeof self&&self&&self.Object===Object&&self,P=O||N||Function("return this")(),C=P.Symbol,z=Object.prototype,T=z.hasOwnProperty,B=z.toString,I=C?C.toStringTag:void 0;var F=Object.prototype.toString;var U="[object Null]",D="[object Undefined]",R=C?C.toStringTag:void 0;function E(t){return null==t?void 0===t?D:U:R&&R in Object(t)?function(t){var e=T.call(t,I),r=t[I];try{t[I]=void 0;var o=!0}catch(t){}var n=B.call(t);return o&&(e?t[I]=r:delete t[I]),n}(t):function(t){return F.call(t)}(t)}function M(t){return null!=t&&"object"==typeof t}var L="[object Symbol]";function G(t){return"symbol"==typeof t||M(t)&&E(t)==L}var $=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;function H(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var W="[object AsyncFunction]",q="[object Function]",K="[object GeneratorFunction]",J="[object Proxy]";function X(t){if(!H(t))return!1;var e=E(t);return e==q||e==K||e==W||e==J}var Q,Y=P["__core-js_shared__"],Z=(Q=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"";var tt=Function.prototype.toString;function et(t){if(null!=t){try{return tt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var rt=/^\[object .+?Constructor\]$/,ot=Function.prototype,nt=Object.prototype,at=ot.toString,it=nt.hasOwnProperty,ct=RegExp("^"+at.call(it).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lt(t){return!(!H(t)||(e=t,Z&&Z in e))&&(X(t)?ct:rt).test(et(t));var e}function st(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return lt(r)?r:void 0}var ut=st(Object,"create");var dt="__lodash_hash_undefined__",pt=Object.prototype.hasOwnProperty;var ft=Object.prototype.hasOwnProperty;var vt="__lodash_hash_undefined__";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])}}function bt(t,e){return t===e||t!=t&&e!=e}function gt(t,e){for(var r=t.length;r--;)if(bt(t[r][0],e))return r;return-1}yt.prototype.clear=function(){this.__data__=ut?ut(null):{},this.size=0},yt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yt.prototype.get=function(t){var e=this.__data__;if(ut){var r=e[t];return r===dt?void 0:r}return pt.call(e,t)?e[t]:void 0},yt.prototype.has=function(t){var e=this.__data__;return ut?void 0!==e[t]:ft.call(e,t)},yt.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 ht=Array.prototype.splice;function mt(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])}}mt.prototype.clear=function(){this.__data__=[],this.size=0},mt.prototype.delete=function(t){var e=this.__data__,r=gt(e,t);return!(r<0)&&(r==e.length-1?e.pop():ht.call(e,r,1),--this.size,!0)},mt.prototype.get=function(t){var e=this.__data__,r=gt(e,t);return r<0?void 0:e[r][1]},mt.prototype.has=function(t){return gt(this.__data__,t)>-1},mt.prototype.set=function(t,e){var r=this.__data__,o=gt(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};var jt=st(P,"Map");function xt(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 _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 yt,map:new(jt||mt),string:new yt}},_t.prototype.delete=function(t){var e=xt(this,t).delete(t);return this.size-=e?1:0,e},_t.prototype.get=function(t){return xt(this,t).get(t)},_t.prototype.has=function(t){return xt(this,t).has(t)},_t.prototype.set=function(t,e){var r=xt(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};var wt="Expected a function";function St(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(wt);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(St.Cache||_t),r}St.Cache=_t;var At=500;var kt,Ot,Nt,Pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/\\(\\)?/g,zt=(kt=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Pt,(function(t,r,o,n){e.push(o?n.replace(Ct,"$1"):r||t)})),e},Ot=St(kt,(function(t){return Nt.size===At&&Nt.clear(),t})),Nt=Ot.cache,Ot),Tt=zt;function Bt(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 It=1/0,Ft=C?C.prototype:void 0,Ut=Ft?Ft.toString:void 0;function Dt(t){if("string"==typeof t)return t;if(k(t))return Bt(t,Dt)+"";if(G(t))return Ut?Ut.call(t):"";var e=t+"";return"0"==e&&1/t==-It?"-0":e}function Rt(t,e){return k(t)?t:function(t,e){if(k(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!G(t))||V.test(t)||!$.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Tt(function(t){return null==t?"":Dt(t)}(t))}var Et=1/0;function Mt(t){if("string"==typeof t||G(t))return t;var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function Lt(t,e){for(var r=0,o=(e=Rt(e,t)).length;null!=t&&r<o;)t=t[Mt(e[r++])];return r&&r==o?t:void 0}var Gt=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),$t=Gt;function Vt(t,e,r){"__proto__"==e&&$t?$t(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Ht=Object.prototype.hasOwnProperty;function Wt(t,e,r){var o=t[e];Ht.call(t,e)&&bt(o,r)&&(void 0!==r||e in t)||Vt(t,e,r)}var qt=9007199254740991,Kt=/^(?:0|[1-9]\d*)$/;function Jt(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 Xt(t,e,r,o){if(!H(t))return t;for(var n=-1,a=(e=Rt(e,t)).length,i=a-1,c=t;null!=c&&++n<a;){var l=Mt(e[n]),s=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(n!=i){var u=c[l];void 0===(s=o?o(u,l,c):void 0)&&(s=H(u)?u:Jt(e[n+1])?[]:{})}Wt(c,l,s),c=c[l]}return t}function Qt(t,e){return null!=t&&e in Object(t)}var Yt="[object Arguments]";function Zt(t){return M(t)&&E(t)==Yt}var te=Object.prototype,ee=te.hasOwnProperty,re=te.propertyIsEnumerable,oe=Zt(function(){return arguments}())?Zt:function(t){return M(t)&&ee.call(t,"callee")&&!re.call(t,"callee")},ne=9007199254740991;function ae(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ne}function ie(t,e){return null!=t&&function(t,e,r){for(var o=-1,n=(e=Rt(e,t)).length,a=!1;++o<n;){var i=Mt(e[o]);if(!(a=null!=t&&r(t,i)))break;t=t[i]}return a||++o!=n?a:!!(n=null==t?0:t.length)&&ae(n)&&Jt(i,n)&&(k(t)||oe(t))}(t,e,Qt)}function ce(t,e){return function(t,e,r){for(var o=-1,n=e.length,a={};++o<n;){var i=e[o],c=Lt(t,i);r(c,i)&&Xt(a,Rt(i,t),c)}return a}(t,e,(function(e,r){return ie(t,r)}))}function le(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t}var se=C?C.isConcatSpreadable:void 0;function ue(t){return k(t)||oe(t)||!!(se&&t&&t[se])}function de(t,e,r,o,n){var a=-1,i=t.length;for(r||(r=ue),n||(n=[]);++a<i;){var c=t[a];e>0&&r(c)?e>1?de(c,e-1,r,o,n):le(n,c):o||(n[n.length]=c)}return n}function pe(t){return(null==t?0:t.length)?de(t,1):[]}var fe=Math.max;var ve=$t?function(t,e){return $t(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:function(t){return t},ye=ve,be=800,ge=16,he=Date.now;var me=function(t){var e=0,r=0;return function(){var o=he(),n=ge-(o-r);if(r=o,n>0){if(++e>=be)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ye),je=me;function xe(t){return je(function(t,e,r){return e=fe(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,a=fe(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 _e=xe((function(t,e){return null==t?{}:ce(t,e)}));var we=200;function Se(t){var e=this.__data__=new mt(t);this.size=e.size}function Ae(t,e,r,o){var n=!r;r||(r={});for(var a=-1,i=e.length;++a<i;){var c=e[a],l=o?o(r[c],t[c],c,r,t):void 0;void 0===l&&(l=t[c]),n?Vt(r,c,l):Wt(r,c,l)}return r}Se.prototype.clear=function(){this.__data__=new mt,this.size=0},Se.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Se.prototype.get=function(t){return this.__data__.get(t)},Se.prototype.has=function(t){return this.__data__.has(t)},Se.prototype.set=function(t,e){var r=this.__data__;if(r instanceof mt){var o=r.__data__;if(!jt||o.length<we-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 ke="object"==typeof exports&&exports&&!exports.nodeType&&exports,Oe=ke&&"object"==typeof module&&module&&!module.nodeType&&module,Ne=Oe&&Oe.exports===ke?P.Buffer:void 0,Pe=(Ne?Ne.isBuffer:void 0)||function(){return!1},Ce={};function ze(t){return function(e){return t(e)}}Ce["[object Float32Array]"]=Ce["[object Float64Array]"]=Ce["[object Int8Array]"]=Ce["[object Int16Array]"]=Ce["[object Int32Array]"]=Ce["[object Uint8Array]"]=Ce["[object Uint8ClampedArray]"]=Ce["[object Uint16Array]"]=Ce["[object Uint32Array]"]=!0,Ce["[object Arguments]"]=Ce["[object Array]"]=Ce["[object ArrayBuffer]"]=Ce["[object Boolean]"]=Ce["[object DataView]"]=Ce["[object Date]"]=Ce["[object Error]"]=Ce["[object Function]"]=Ce["[object Map]"]=Ce["[object Number]"]=Ce["[object Object]"]=Ce["[object RegExp]"]=Ce["[object Set]"]=Ce["[object String]"]=Ce["[object WeakMap]"]=!1;var Te="object"==typeof exports&&exports&&!exports.nodeType&&exports,Be=Te&&"object"==typeof module&&module&&!module.nodeType&&module,Ie=Be&&Be.exports===Te&&O.process,Fe=function(){try{var t=Be&&Be.require&&Be.require("util").types;return t||Ie&&Ie.binding&&Ie.binding("util")}catch(t){}}(),Ue=Fe&&Fe.isTypedArray,De=Ue?ze(Ue):function(t){return M(t)&&ae(t.length)&&!!Ce[E(t)]},Re=Object.prototype.hasOwnProperty;function Ee(t,e){var r=k(t),o=!r&&oe(t),n=!r&&!o&&Pe(t),a=!r&&!o&&!n&&De(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):[],l=c.length;for(var s in t)!e&&!Re.call(t,s)||i&&("length"==s||n&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Jt(s,l))||c.push(s);return c}var Me=Object.prototype;function Le(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Me)}function Ge(t,e){return function(r){return t(e(r))}}var $e=Ge(Object.keys,Object),Ve=Object.prototype.hasOwnProperty;function He(t){return null!=t&&ae(t.length)&&!X(t)}function We(t){return He(t)?Ee(t):function(t){if(!Le(t))return $e(t);var e=[];for(var r in Object(t))Ve.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}var qe=Object.prototype.hasOwnProperty;function Ke(t){if(!H(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=Le(t),r=[];for(var o in t)("constructor"!=o||!e&&qe.call(t,o))&&r.push(o);return r}function Je(t){return He(t)?Ee(t,!0):Ke(t)}var Xe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Qe=Xe&&"object"==typeof module&&module&&!module.nodeType&&module,Ye=Qe&&Qe.exports===Xe?P.Buffer:void 0,Ze=Ye?Ye.allocUnsafe:void 0;function tr(){return[]}var er=Object.prototype.propertyIsEnumerable,rr=Object.getOwnPropertySymbols,or=rr?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}(rr(t),(function(e){return er.call(t,e)})))}:tr,nr=or;var ar=Ge(Object.getPrototypeOf,Object),ir=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)le(e,nr(t)),t=ar(t);return e}:tr,cr=ir;function lr(t,e,r){var o=e(t);return k(t)?o:le(o,r(t))}function sr(t){return lr(t,We,nr)}function ur(t){return lr(t,Je,cr)}var dr=st(P,"DataView"),pr=st(P,"Promise"),fr=st(P,"Set"),vr=st(P,"WeakMap"),yr="[object Map]",br="[object Promise]",gr="[object Set]",hr="[object WeakMap]",mr="[object DataView]",jr=et(dr),xr=et(jt),_r=et(pr),wr=et(fr),Sr=et(vr),Ar=E;(dr&&Ar(new dr(new ArrayBuffer(1)))!=mr||jt&&Ar(new jt)!=yr||pr&&Ar(pr.resolve())!=br||fr&&Ar(new fr)!=gr||vr&&Ar(new vr)!=hr)&&(Ar=function(t){var e=E(t),r="[object Object]"==e?t.constructor:void 0,o=r?et(r):"";if(o)switch(o){case jr:return mr;case xr:return yr;case _r:return br;case wr:return gr;case Sr:return hr}return e});var kr=Ar,Or=Object.prototype.hasOwnProperty;var Nr=P.Uint8Array;function Pr(t){var e=new t.constructor(t.byteLength);return new Nr(e).set(new Nr(t)),e}var Cr=/\w*$/;var zr=C?C.prototype:void 0,Tr=zr?zr.valueOf:void 0;var Br="[object Boolean]",Ir="[object Date]",Fr="[object Map]",Ur="[object Number]",Dr="[object RegExp]",Rr="[object Set]",Er="[object String]",Mr="[object Symbol]",Lr="[object ArrayBuffer]",Gr="[object DataView]",$r="[object Float32Array]",Vr="[object Float64Array]",Hr="[object Int8Array]",Wr="[object Int16Array]",qr="[object Int32Array]",Kr="[object Uint8Array]",Jr="[object Uint8ClampedArray]",Xr="[object Uint16Array]",Qr="[object Uint32Array]";function Yr(t,e,r){var o,n=t.constructor;switch(e){case Lr:return Pr(t);case Br:case Ir:return new n(+t);case Gr:return function(t,e){var r=e?Pr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case $r:case Vr:case Hr:case Wr:case qr:case Kr:case Jr:case Xr:case Qr:return function(t,e){var r=e?Pr(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case Fr:return new n;case Ur:case Er:return new n(t);case Dr:return function(t){var e=new t.constructor(t.source,Cr.exec(t));return e.lastIndex=t.lastIndex,e}(t);case Rr:return new n;case Mr:return o=t,Tr?Object(Tr.call(o)):{}}}var Zr=Object.create,to=function(){function t(){}return function(e){if(!H(e))return{};if(Zr)return Zr(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),eo=to;var ro="[object Map]";var oo=Fe&&Fe.isMap,no=oo?ze(oo):function(t){return M(t)&&kr(t)==ro},ao="[object Set]";var io=Fe&&Fe.isSet,co=io?ze(io):function(t){return M(t)&&kr(t)==ao},lo=1,so=2,uo=4,po="[object Arguments]",fo="[object Function]",vo="[object GeneratorFunction]",yo="[object Object]",bo={};function go(t,e,r,o,n,a){var i,c=e&lo,l=e&so,s=e&uo;if(r&&(i=n?r(t,o,n,a):r(t)),void 0!==i)return i;if(!H(t))return t;var u=k(t);if(u){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),!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 d=kr(t),p=d==fo||d==vo;if(Pe(t))return function(t,e){if(e)return t.slice();var r=t.length,o=Ze?Ze(r):new t.constructor(r);return t.copy(o),o}(t,c);if(d==yo||d==po||p&&!n){if(i=l||p?{}:function(t){return"function"!=typeof t.constructor||Le(t)?{}:eo(ar(t))}(t),!c)return l?function(t,e){return Ae(t,cr(t),e)}(t,function(t,e){return t&&Ae(e,Je(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(!bo[d])return n?t:{};i=Yr(t,d,c)}}a||(a=new Se);var f=a.get(t);if(f)return f;a.set(t,i),co(t)?t.forEach((function(o){i.add(go(o,e,r,o,t,a))})):no(t)&&t.forEach((function(o,n){i.set(n,go(o,e,r,n,t,a))}));var v=u?void 0:(s?l?ur:sr:l?Je:We)(t);return function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););}(v||t,(function(o,n){v&&(o=t[n=o]),Wt(i,n,go(o,e,r,n,t,a))})),i}function ho(t,e){return e.length<2?t:Lt(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 mo(t,e){return null==(t=ho(t,e=Rt(e,t)))||delete t[Mt((r=e,o=null==r?0:r.length,o?r[o-1]:void 0))];var r,o}bo[po]=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[yo]=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[fo]=bo["[object WeakMap]"]=!1;var jo="[object Object]",xo=Function.prototype,_o=Object.prototype,wo=xo.toString,So=_o.hasOwnProperty,Ao=wo.call(Object);function ko(t){return function(t){if(!M(t)||E(t)!=jo)return!1;var e=ar(t);if(null===e)return!0;var r=So.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&wo.call(r)==Ao}(t)?void 0:t}var Oo=xe((function(t,e){var r={};if(null==t)return r;var o=!1;e=Bt(e,(function(e){return e=Rt(e,t),o||(o=e.length>1),e})),Ae(t,ur(t),r),o&&(r=go(r,7,ko));for(var n=e.length;n--;)mo(r,e[n]);return r})),No=Oo,Po={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=No(this.props||{},t);return{...x(e),...r}}}};Po.render=function(t,e,r,o,l,s){return n(),a("div",{style:i([s.computedStyle])},c(r.props.value),5)},Po.__file="src/package/cyy-title/cyy-title.vue";var Co={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=_e(this.props,t),r=No(this.props,t);return{...x(e),...r}}}};const zo=["src"];function To(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))}}To(".lc-img-item[data-v-347d4d81]{box-sizing:border-box;width:100%}"),Co.render=function(t,e,r,o,c,d){return n(),a("div",null,[(n(!0),a(l,null,s(d.resultArr,((e,r)=>(n(),a("div",{key:t.cyy},[u("img",{mode:"widthFix",style:i([d.computedStyle,c.imgStyle]),src:e.imgUrl,alt:""},null,12,zo)])))),128))])},Co.__scopeId="data-v-347d4d81",Co.__file="src/package/cyy-image/cyy-image.vue";var Bo={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=No(this.props,t);return{...x(e),...r,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"30px"}}},methods:{goSearch(){j||this.$routers.push("goodsList",{memberCode:this.memberCode})}}};const Io={style:{overflow:"hidden"}},Fo=["src"],Uo={style:{flex:"1"}};Bo.render=function(t,e,r,o,l,s){return n(),a("div",Io,[u("div",{style:i([s.computedStyle]),onClick:e[0]||(e[0]=(...t)=>s.goSearch&&s.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,Fo)):d("v-if",!0),u("div",Uo,c(r.props.value),1)],4)])},Bo.__file="src/package/cyy-search/cyy-search.vue";var Do={name:"cyy-goods",props:{props:{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(){const{goods:t=[]}=this.props,e={goodsCode:t.toString()},r=await S(this,e);this.listArr=o(r,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(j)return;const{skuCode:e,skuNo:r}=t;let o={skuCode:e,skuNo:r};this.$routers.push("detail",o)}}};const Ro={key:1},Eo=["onClick"],Mo=["src"],Lo={class:"goodsName"},Go={class:"goodsPrice"},$o={key:0,class:"scribing"};To(".cube-container[data-v-585820b7]{display:grid}.cube-container[data-v-585820b7].two[data-v-585820b7]{grid-template-columns:repeat(2,1fr)}.cube-container[data-v-585820b7].two[data-v-585820b7] .goodsName[data-v-585820b7]{font-size:16px;padding:15px 0 2px}.cube-container[data-v-585820b7].two[data-v-585820b7] .goodsPrice[data-v-585820b7]{font-size:14px;padding:2px 0 20px}.cube-container[data-v-585820b7].two[data-v-585820b7] .goodsPrice[data-v-585820b7] .scribing[data-v-585820b7]{font-size:12px}.cube-container[data-v-585820b7].one[data-v-585820b7]{grid-template-columns:repeat(1,1fr)}.cube-container[data-v-585820b7].one[data-v-585820b7] .goodsName[data-v-585820b7]{font-size:20px;padding:20px 0 5px}.cube-container[data-v-585820b7].one[data-v-585820b7] .goodsPrice[data-v-585820b7]{font-size:18px;padding:5px 0 20px}.cube-container[data-v-585820b7].one[data-v-585820b7] .goodsPrice[data-v-585820b7] .scribing[data-v-585820b7]{font-size:14px}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] img[data-v-585820b7]{width:100%}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] .goodsName[data-v-585820b7]{color:#000}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] .goodsPrice[data-v-585820b7]{color:#fe4854}.cube-container[data-v-585820b7] .cube-item[data-v-585820b7] .goodsPrice[data-v-585820b7] .scribing[data-v-585820b7]{color:#ccc;display:inline-block;text-decoration:line-through}"),Do.render=function(t,e,r,o,v,y){return n(),a("div",null,[r.props.goods?(n(),a("div",Ro,[u("div",{class:p(["cube-container",1===r.props.arrange?"one":"two"]),style:i({paddingTop:r.props.paddingTop+"px",paddingLeft:r.props.paddingLeft+"px",paddingRight:r.props.paddingRight+"px",paddingBottom:r.props.paddingBottom+"px",gap:r.props.margin+"px"})},[(n(!0),a(l,null,s(v.listArr,((e,o)=>(n(),a("div",{class:"cube-item",key:t.cyy,onClick:t=>y.goGoodsDetail(e)},[u("img",{src:e.dataPic,mode:"widthFix",alt:"",style:i({borderRadius:2===r.props.circular?"0px":"10px"})},null,12,Mo),u("div",Lo,c(e.goodsName),1),u("div",Go,[f(" ¥"+c(e.pricesetNprice)+" ",1),1===r.props.markedPrice?(n(),a("div",$o," ¥"+c(e.pricesetMakeprice),1)):d("v-if",!0)])],8,Eo)))),128))],6)])):(n(),a("div",{key:0,style:i(v.noDataStyle)},"请选择商品",4))])},Do.__scopeId="data-v-585820b7",Do.__file="src/package/cyy-goods/cyy-goods.vue";var Vo={name:"cyy-slider",data:()=>({lowCode:j}),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=_e(this.props,["marginTop","marginBottom"]);return{...x(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const Ho={key:0},Wo=["src"],qo={key:1},Ko=["src"];To(".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,d){const p=v("swiper-item"),f=v("swiper");return n(),a("div",null,[c.lowCode?(n(),a("div",Ho,[u("div",{class:"lowCode-warp",style:i([d.sliderStyle])},[u("img",{src:d.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Wo),u("ul",null,[(n(!0),a(l,null,s(d.resultArr,((e,r)=>(n(),a("li",{key:t.cyy})))),128))])],4)])):(n(),a("div",qo,[y(f,{"indicator-dots":!0,autoplay:r.props.autoplay,interval:r.props.autoplayInterval,vertical:d.reDirection,circular:r.props.loop,style:i({height:d.imgH+"rpx"})},{default:b((()=>[(n(!0),a(l,null,s(d.resultArr,((e,r)=>(n(),g(p,{key:t.cyy,style:i([d.sliderStyle,{boxSizing:"border-box"}])},{default:b((()=>[u("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Ko)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])},Vo.__file="src/package/cyy-slider/cyy-slider.vue";var Jo={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 S(this,r);this.listArr=o(n,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(j)return;const{skuCode:e,skuNo:r}=t;let o={skuCode:e,skuNo:r};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"无库存"};const Xo=t=>(h("data-v-6a9dc7dd"),t=t(),m(),t),Qo={key:1},Yo={class:"three-layout"},Zo={key:0,class:"top-left"},tn={key:1,class:"top-right"},en=[Xo((()=>u("div",null,"更多",-1))),Xo((()=>u("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],rn={class:"three-layout-content"},on={class:"three-layout-bigImg"},nn=["src"],an={class:"three-layout-goods"},cn=["src"],ln={key:0,class:"mask-three-more"},sn={class:"price-box"},un={class:"now-price"},dn={key:0,class:"origin-price"};To(".three-layout[data-v-6a9dc7dd]{border-radius:7px}.three-layout[data-v-6a9dc7dd] .mask-three-more[data-v-6a9dc7dd]{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-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-left[data-v-6a9dc7dd]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-right[data-v-6a9dc7dd]{align-items:center;display:flex}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-right[data-v-6a9dc7dd] div[data-v-6a9dc7dd]{color:#595959;font-size:12px}.three-layout[data-v-6a9dc7dd] .three-layout-title[data-v-6a9dc7dd] .top-right[data-v-6a9dc7dd] image[data-v-6a9dc7dd]{height:9px;margin-left:3px;width:6px}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd] .three-layout-bigImg[data-v-6a9dc7dd] image[data-v-6a9dc7dd]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd] .three-layout-goods[data-v-6a9dc7dd]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout[data-v-6a9dc7dd] .three-layout-content[data-v-6a9dc7dd] .three-layout-goods[data-v-6a9dc7dd] .goods-items[data-v-6a9dc7dd]{width:106px}.scroll-list[data-v-6a9dc7dd]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list[data-v-6a9dc7dd] .scroll-item[data-v-6a9dc7dd]{display:inline-block;margin-right:10px}.scroll-list[data-v-6a9dc7dd] .scroll-item[data-v-6a9dc7dd] image[data-v-6a9dc7dd]{border-radius:5px;height:98px;width:98px}.scroll-list[data-v-6a9dc7dd] .scroll-item[data-v-6a9dc7dd] p[data-v-6a9dc7dd]{-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-6a9dc7dd]{margin-top:10px}"),Jo.render=function(t,e,r,o,p,g){const h=v("vop-label"),m=v("scroll-view");return n(),a("div",null,[r.props.goods?(n(),a("div",Qo,[u("div",Yo,[u("div",{class:"three-layout-title",onClick:e[0]||(e[0]=t=>g.jumpToSearch())},[r.props.title.isShow?d("v-if",!0):(n(),a("div",Zo,c(r.props.title.title||""),1)),1===r.props.more?(n(),a("div",tn,en)):d("v-if",!0)]),u("div",rn,[u("div",on,[u("image",{"lazy-load":!0,src:r.props.bill?r.props.bill:"",mode:"aspectFill"},null,8,nn)]),u("div",an,[y(m,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:b((()=>[(n(!0),a(l,null,s(p.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,cn),r.goodsSupplynum<=0||"1"===r.goodsProperty5?(n(),a("div",ln,c(t.maskTitle(r.goodsProperty5)),1)):d("v-if",!0),u("p",null,[y(h,{goodsType:r.contlistPrice1},null,8,["goodsType"]),f(c(r.goodsName),1)]),u("div",sn,[u("div",un,"¥"+c(r.pricesetMakeprice||0),1),1==r.contlistConNow?(n(),a("div",dn,"¥"+c(r.pricesetBaseprice||0),1)):d("v-if",!0)])])))),128))])),_:1})])])])])):(n(),a("div",{key:0,style:i(p.noDataStyle)},"请选择商品样式一",4))])},Jo.__scopeId="data-v-6a9dc7dd",Jo.__file="src/package/cyy-goodsOne/cyy-goodsOne.vue";const pn=[Do,Po,Co,Bo,Vo,Jo],fn=function(t){pn.forEach((e=>{t.component(e.name,e)}))};"undefined"!=typeof window&&window.Vue&&fn(window.Vue);export{Co as Cube,Do as Goods,Jo as GoodsOne,Bo as Search,Vo as Slider,Po as Title,fn as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyy-vue-material",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {