rfsg-vue-material 1.0.13 → 1.0.14

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 -0
  2. package/package.json +1 -1
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ import{openBlock as t,createElementBlock as e,normalizeStyle as i,toDisplayString as o,Fragment as a,renderList as r,createElementVNode as s,createCommentVNode as n,normalizeClass as l,createTextVNode as p,resolveComponent as c,createVNode as d,withCtx as g,createBlock as h,pushScopeId as u,popScopeId as m,withModifiers as f,renderSlot as x,createStaticVNode as b}from"vue";import"lodash";const y="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,v=t=>{let e={};for(let i in t)e[i]=w(t[i]);return e},w=t=>y?t+"px":2*t+"rpx",k="/web/rs/sku/querySkuByCheck.json",S="/web/pm/promotionplat/queryPromotionPageForC.json",C="/web/cms/notice/queryNoticePage.json",B="/web/tk/taskMain/queryTaskMainPage.json",j="/web/tk/taskMain/queryTaskMainCount.json";var T=Object.prototype;function A(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||T)}function _(t,e){return function(i){return t(e(i))}}var N=_(Object.keys,Object),L=Object.prototype.hasOwnProperty;function I(t){if(!A(t))return N(t);var e=[];for(var i in Object(t))L.call(t,i)&&"constructor"!=i&&e.push(i);return e}var z="object"==typeof global&&global&&global.Object===Object&&global,P="object"==typeof self&&self&&self.Object===Object&&self,D=z||P||Function("return this")(),O=D.Symbol,F=Object.prototype,R=F.hasOwnProperty,M=F.toString,U=O?O.toStringTag:void 0;var $=Object.prototype.toString;var E="[object Null]",G="[object Undefined]",K=O?O.toStringTag:void 0;function q(t){return null==t?void 0===t?G:E:K&&K in Object(t)?function(t){var e=R.call(t,U),i=t[U];try{t[U]=void 0;var o=!0}catch(t){}var a=M.call(t);return o&&(e?t[U]=i:delete t[U]),a}(t):function(t){return $.call(t)}(t)}function V(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var W="[object AsyncFunction]",Q="[object Function]",H="[object GeneratorFunction]",Y="[object Proxy]";function J(t){if(!V(t))return!1;var e=q(t);return e==Q||e==H||e==W||e==Y}var X,Z=D["__core-js_shared__"],tt=(X=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"";var et=Function.prototype.toString;function it(t){if(null!=t){try{return et.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ot=/^\[object .+?Constructor\]$/,at=Function.prototype,rt=Object.prototype,st=at.toString,nt=rt.hasOwnProperty,lt=RegExp("^"+st.call(nt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pt(t){return!(!V(t)||(e=t,tt&&tt in e))&&(J(t)?lt:ot).test(it(t));var e}function ct(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return pt(i)?i:void 0}var dt=ct(D,"DataView"),gt=ct(D,"Map"),ht=ct(D,"Promise"),ut=ct(D,"Set"),mt=ct(D,"WeakMap"),ft="[object Map]",xt="[object Promise]",bt="[object Set]",yt="[object WeakMap]",vt="[object DataView]",wt=it(dt),kt=it(gt),St=it(ht),Ct=it(ut),Bt=it(mt),jt=q;(dt&&jt(new dt(new ArrayBuffer(1)))!=vt||gt&&jt(new gt)!=ft||ht&&jt(ht.resolve())!=xt||ut&&jt(new ut)!=bt||mt&&jt(new mt)!=yt)&&(jt=function(t){var e=q(t),i="[object Object]"==e?t.constructor:void 0,o=i?it(i):"";if(o)switch(o){case wt:return vt;case kt:return ft;case St:return xt;case Ct:return bt;case Bt:return yt}return e});var Tt=jt;function At(t){return null!=t&&"object"==typeof t}var _t="[object Arguments]";function Nt(t){return At(t)&&q(t)==_t}var Lt=Object.prototype,It=Lt.hasOwnProperty,zt=Lt.propertyIsEnumerable,Pt=Nt(function(){return arguments}())?Nt:function(t){return At(t)&&It.call(t,"callee")&&!zt.call(t,"callee")},Dt=Array.isArray,Ot=9007199254740991;function Ft(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Ot}function Rt(t){return null!=t&&Ft(t.length)&&!J(t)}var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,$t=Ut&&Ut.exports===Mt?D.Buffer:void 0,Et=($t?$t.isBuffer:void 0)||function(){return!1},Gt={};function Kt(t){return function(e){return t(e)}}Gt["[object Float32Array]"]=Gt["[object Float64Array]"]=Gt["[object Int8Array]"]=Gt["[object Int16Array]"]=Gt["[object Int32Array]"]=Gt["[object Uint8Array]"]=Gt["[object Uint8ClampedArray]"]=Gt["[object Uint16Array]"]=Gt["[object Uint32Array]"]=!0,Gt["[object Arguments]"]=Gt["[object Array]"]=Gt["[object ArrayBuffer]"]=Gt["[object Boolean]"]=Gt["[object DataView]"]=Gt["[object Date]"]=Gt["[object Error]"]=Gt["[object Function]"]=Gt["[object Map]"]=Gt["[object Number]"]=Gt["[object Object]"]=Gt["[object RegExp]"]=Gt["[object Set]"]=Gt["[object String]"]=Gt["[object WeakMap]"]=!1;var qt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=qt&&"object"==typeof module&&module&&!module.nodeType&&module,Wt=Vt&&Vt.exports===qt&&z.process,Qt=function(){try{var t=Vt&&Vt.require&&Vt.require("util").types;return t||Wt&&Wt.binding&&Wt.binding("util")}catch(t){}}(),Ht=Qt&&Qt.isTypedArray,Yt=Ht?Kt(Ht):function(t){return At(t)&&Ft(t.length)&&!!Gt[q(t)]},Jt="[object Map]",Xt="[object Set]",Zt=Object.prototype.hasOwnProperty;function te(t){if(null==t)return!0;if(Rt(t)&&(Dt(t)||"string"==typeof t||"function"==typeof t.splice||Et(t)||Yt(t)||Pt(t)))return!t.length;var e=Tt(t);if(e==Jt||e==Xt)return!t.size;if(A(t))return!I(t).length;for(var i in t)if(Zt.call(t,i))return!1;return!0}function ee(t,e){return t===e||t!=t&&e!=e}function ie(t,e){for(var i=t.length;i--;)if(ee(t[i][0],e))return i;return-1}var oe=Array.prototype.splice;function ae(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var o=t[e];this.set(o[0],o[1])}}ae.prototype.clear=function(){this.__data__=[],this.size=0},ae.prototype.delete=function(t){var e=this.__data__,i=ie(e,t);return!(i<0)&&(i==e.length-1?e.pop():oe.call(e,i,1),--this.size,!0)},ae.prototype.get=function(t){var e=this.__data__,i=ie(e,t);return i<0?void 0:e[i][1]},ae.prototype.has=function(t){return ie(this.__data__,t)>-1},ae.prototype.set=function(t,e){var i=this.__data__,o=ie(i,t);return o<0?(++this.size,i.push([t,e])):i[o][1]=e,this};var re=ct(Object,"create");var se="__lodash_hash_undefined__",ne=Object.prototype.hasOwnProperty;var le=Object.prototype.hasOwnProperty;var pe="__lodash_hash_undefined__";function ce(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var o=t[e];this.set(o[0],o[1])}}function de(t,e){var i,o,a=t.__data__;return("string"==(o=typeof(i=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?a["string"==typeof e?"string":"hash"]:a.map}function ge(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var o=t[e];this.set(o[0],o[1])}}ce.prototype.clear=function(){this.__data__=re?re(null):{},this.size=0},ce.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ce.prototype.get=function(t){var e=this.__data__;if(re){var i=e[t];return i===se?void 0:i}return ne.call(e,t)?e[t]:void 0},ce.prototype.has=function(t){var e=this.__data__;return re?void 0!==e[t]:le.call(e,t)},ce.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=re&&void 0===e?pe:e,this},ge.prototype.clear=function(){this.size=0,this.__data__={hash:new ce,map:new(gt||ae),string:new ce}},ge.prototype.delete=function(t){var e=de(this,t).delete(t);return this.size-=e?1:0,e},ge.prototype.get=function(t){return de(this,t).get(t)},ge.prototype.has=function(t){return de(this,t).has(t)},ge.prototype.set=function(t,e){var i=de(this,t),o=i.size;return i.set(t,e),this.size+=i.size==o?0:1,this};var he=200;function ue(t){var e=this.__data__=new ae(t);this.size=e.size}ue.prototype.clear=function(){this.__data__=new ae,this.size=0},ue.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},ue.prototype.get=function(t){return this.__data__.get(t)},ue.prototype.has=function(t){return this.__data__.has(t)},ue.prototype.set=function(t,e){var i=this.__data__;if(i instanceof ae){var o=i.__data__;if(!gt||o.length<he-1)return o.push([t,e]),this.size=++i.size,this;i=this.__data__=new ge(o)}return i.set(t,e),this.size=i.size,this};var me="__lodash_hash_undefined__";function fe(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new ge;++e<i;)this.add(t[e])}function xe(t,e){for(var i=-1,o=null==t?0:t.length;++i<o;)if(e(t[i],i,t))return!0;return!1}fe.prototype.add=fe.prototype.push=function(t){return this.__data__.set(t,me),this},fe.prototype.has=function(t){return this.__data__.has(t)};var be=1,ye=2;function ve(t,e,i,o,a,r){var s=i&be,n=t.length,l=e.length;if(n!=l&&!(s&&l>n))return!1;var p=r.get(t),c=r.get(e);if(p&&c)return p==e&&c==t;var d=-1,g=!0,h=i&ye?new fe:void 0;for(r.set(t,e),r.set(e,t);++d<n;){var u=t[d],m=e[d];if(o)var f=s?o(m,u,d,e,t,r):o(u,m,d,t,e,r);if(void 0!==f){if(f)continue;g=!1;break}if(h){if(!xe(e,(function(t,e){if(s=e,!h.has(s)&&(u===t||a(u,t,i,o,r)))return h.push(e);var s}))){g=!1;break}}else if(u!==m&&!a(u,m,i,o,r)){g=!1;break}}return r.delete(t),r.delete(e),g}var we=D.Uint8Array;function ke(t){var e=-1,i=Array(t.size);return t.forEach((function(t,o){i[++e]=[o,t]})),i}function Se(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i}var Ce=1,Be=2,je="[object Boolean]",Te="[object Date]",Ae="[object Error]",_e="[object Map]",Ne="[object Number]",Le="[object RegExp]",Ie="[object Set]",ze="[object String]",Pe="[object Symbol]",De="[object ArrayBuffer]",Oe="[object DataView]",Fe=O?O.prototype:void 0,Re=Fe?Fe.valueOf:void 0;function Me(t,e){for(var i=-1,o=e.length,a=t.length;++i<o;)t[a+i]=e[i];return t}function Ue(t,e,i){var o=e(t);return Dt(t)?o:Me(o,i(t))}function $e(){return[]}var Ee=Object.prototype.propertyIsEnumerable,Ge=Object.getOwnPropertySymbols,Ke=Ge?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var i=-1,o=null==t?0:t.length,a=0,r=[];++i<o;){var s=t[i];e(s,i,t)&&(r[a++]=s)}return r}(Ge(t),(function(e){return Ee.call(t,e)})))}:$e,qe=Ke;var Ve=9007199254740991,We=/^(?:0|[1-9]\d*)$/;function Qe(t,e){var i=typeof t;return!!(e=null==e?Ve:e)&&("number"==i||"symbol"!=i&&We.test(t))&&t>-1&&t%1==0&&t<e}var He=Object.prototype.hasOwnProperty;function Ye(t,e){var i=Dt(t),o=!i&&Pt(t),a=!i&&!o&&Et(t),r=!i&&!o&&!a&&Yt(t),s=i||o||a||r,n=s?function(t,e){for(var i=-1,o=Array(t);++i<t;)o[i]=e(i);return o}(t.length,String):[],l=n.length;for(var p in t)!e&&!He.call(t,p)||s&&("length"==p||a&&("offset"==p||"parent"==p)||r&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||Qe(p,l))||n.push(p);return n}function Je(t){return Rt(t)?Ye(t):I(t)}function Xe(t){return Ue(t,Je,qe)}var Ze=1,ti=Object.prototype.hasOwnProperty;var ei=1,ii="[object Arguments]",oi="[object Array]",ai="[object Object]",ri=Object.prototype.hasOwnProperty;function si(t,e,i,o,a,r){var s=Dt(t),n=Dt(e),l=s?oi:Tt(t),p=n?oi:Tt(e),c=(l=l==ii?ai:l)==ai,d=(p=p==ii?ai:p)==ai,g=l==p;if(g&&Et(t)){if(!Et(e))return!1;s=!0,c=!1}if(g&&!c)return r||(r=new ue),s||Yt(t)?ve(t,e,i,o,a,r):function(t,e,i,o,a,r,s){switch(i){case Oe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case De:return!(t.byteLength!=e.byteLength||!r(new we(t),new we(e)));case je:case Te:case Ne:return ee(+t,+e);case Ae:return t.name==e.name&&t.message==e.message;case Le:case ze:return t==e+"";case _e:var n=ke;case Ie:var l=o&Ce;if(n||(n=Se),t.size!=e.size&&!l)return!1;var p=s.get(t);if(p)return p==e;o|=Be,s.set(t,e);var c=ve(n(t),n(e),o,a,r,s);return s.delete(t),c;case Pe:if(Re)return Re.call(t)==Re.call(e)}return!1}(t,e,l,i,o,a,r);if(!(i&ei)){var h=c&&ri.call(t,"__wrapped__"),u=d&&ri.call(e,"__wrapped__");if(h||u){var m=h?t.value():t,f=u?e.value():e;return r||(r=new ue),a(m,f,i,o,r)}}return!!g&&(r||(r=new ue),function(t,e,i,o,a,r){var s=i&Ze,n=Xe(t),l=n.length;if(l!=Xe(e).length&&!s)return!1;for(var p=l;p--;){var c=n[p];if(!(s?c in e:ti.call(e,c)))return!1}var d=r.get(t),g=r.get(e);if(d&&g)return d==e&&g==t;var h=!0;r.set(t,e),r.set(e,t);for(var u=s;++p<l;){var m=t[c=n[p]],f=e[c];if(o)var x=s?o(f,m,c,e,t,r):o(m,f,c,t,e,r);if(!(void 0===x?m===f||a(m,f,i,o,r):x)){h=!1;break}u||(u="constructor"==c)}if(h&&!u){var b=t.constructor,y=e.constructor;b==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(h=!1)}return r.delete(t),r.delete(e),h}(t,e,i,o,a,r))}function ni(t,e,i,o,a){return t===e||(null==t||null==e||!At(t)&&!At(e)?t!=t&&e!=e:si(t,e,i,o,ni,a))}const li=t=>{const{mGoodsInfo:e}=hi[t];return e},pi=(t,e,i)=>{hi[t]={mGoodsInfo:i,mGoods:e}},ci=t=>{const{goods:e,id:i}=t.props,{mGoods:o}=hi[i]||{};return ni(e,o)},di=t=>y?process.env.REACT_APP_BASE_URL:t.$imgDomain;const gi=y?async(t,e)=>{const{id:i,goods:o}=t.props;if(te(o))return Promise.resolve({list:[]});if(ci(t))return Promise.resolve(li(i));const a=localStorage.getItem("saas-token"),r=e.goods.map((t=>t.skuCode)).join(",");let s=di()+k+"?rows=200&page=1&checkFlag=true&skuCodeStr="+r;return 1===e.sortType&&(s+="&sortOrder=true"),await fetch(s,{method:"GET",headers:{"saas-token":a,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>(pi(i,o,t),t)))}:async(t,e)=>{const{goods:i=[]}=e;let o=`web/es/searchengine/find.json?rows=200&page=1&skuCode=${i.map((t=>t.skuCode)).join(",")}`;1===e.sortType?o+="&sortField=goodsSalesvolume&order=desc":o+="&orderFlagOr=true";const{list:a}=await t.http.get(o);return{list:a}},hi={};var ui="[object Symbol]";function mi(t){return"symbol"==typeof t||At(t)&&q(t)==ui}var fi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xi=/^\w*$/;var bi="Expected a function";function yi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(bi);var i=function(){var o=arguments,a=e?e.apply(this,o):o[0],r=i.cache;if(r.has(a))return r.get(a);var s=t.apply(this,o);return i.cache=r.set(a,s)||r,s};return i.cache=new(yi.Cache||ge),i}yi.Cache=ge;var vi=500;var wi,ki,Si,Ci=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bi=/\\(\\)?/g,ji=(wi=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ci,(function(t,i,o,a){e.push(o?a.replace(Bi,"$1"):i||t)})),e},ki=yi(wi,(function(t){return Si.size===vi&&Si.clear(),t})),Si=ki.cache,ki),Ti=ji;function Ai(t,e){for(var i=-1,o=null==t?0:t.length,a=Array(o);++i<o;)a[i]=e(t[i],i,t);return a}var _i=1/0,Ni=O?O.prototype:void 0,Li=Ni?Ni.toString:void 0;function Ii(t){if("string"==typeof t)return t;if(Dt(t))return Ai(t,Ii)+"";if(mi(t))return Li?Li.call(t):"";var e=t+"";return"0"==e&&1/t==-_i?"-0":e}function zi(t,e){return Dt(t)?t:function(t,e){if(Dt(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!mi(t))||xi.test(t)||!fi.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Ti(function(t){return null==t?"":Ii(t)}(t))}var Pi=1/0;function Di(t){if("string"==typeof t||mi(t))return t;var e=t+"";return"0"==e&&1/t==-Pi?"-0":e}function Oi(t,e){for(var i=0,o=(e=zi(e,t)).length;null!=t&&i<o;)t=t[Di(e[i++])];return i&&i==o?t:void 0}var Fi=function(){try{var t=ct(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ri=Fi;function Mi(t,e,i){"__proto__"==e&&Ri?Ri(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}var Ui=Object.prototype.hasOwnProperty;function $i(t,e,i){var o=t[e];Ui.call(t,e)&&ee(o,i)&&(void 0!==i||e in t)||Mi(t,e,i)}function Ei(t,e,i,o){if(!V(t))return t;for(var a=-1,r=(e=zi(e,t)).length,s=r-1,n=t;null!=n&&++a<r;){var l=Di(e[a]),p=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(a!=s){var c=n[l];void 0===(p=o?o(c,l,n):void 0)&&(p=V(c)?c:Qe(e[a+1])?[]:{})}$i(n,l,p),n=n[l]}return t}function Gi(t,e){return null!=t&&e in Object(t)}function Ki(t,e){return null!=t&&function(t,e,i){for(var o=-1,a=(e=zi(e,t)).length,r=!1;++o<a;){var s=Di(e[o]);if(!(r=null!=t&&i(t,s)))break;t=t[s]}return r||++o!=a?r:!!(a=null==t?0:t.length)&&Ft(a)&&Qe(s,a)&&(Dt(t)||Pt(t))}(t,e,Gi)}function qi(t,e){return function(t,e,i){for(var o=-1,a=e.length,r={};++o<a;){var s=e[o],n=Oi(t,s);i(n,s)&&Ei(r,zi(s,t),n)}return r}(t,e,(function(e,i){return Ki(t,i)}))}var Vi=O?O.isConcatSpreadable:void 0;function Wi(t){return Dt(t)||Pt(t)||!!(Vi&&t&&t[Vi])}function Qi(t,e,i,o,a){var r=-1,s=t.length;for(i||(i=Wi),a||(a=[]);++r<s;){var n=t[r];e>0&&i(n)?e>1?Qi(n,e-1,i,o,a):Me(a,n):o||(a[a.length]=n)}return a}function Hi(t){return(null==t?0:t.length)?Qi(t,1):[]}var Yi=Math.max;var Ji=Ri?function(t,e){return Ri(t,"toString",{configurable:!0,enumerable:!1,value:(i=e,function(){return i}),writable:!0});var i}:function(t){return t},Xi=Ji,Zi=800,to=16,eo=Date.now;var io=function(t){var e=0,i=0;return function(){var o=eo(),a=to-(o-i);if(i=o,a>0){if(++e>=Zi)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Xi),oo=io;function ao(t){return oo(function(t,e,i){return e=Yi(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,r=Yi(o.length-e,0),s=Array(r);++a<r;)s[a]=o[e+a];a=-1;for(var n=Array(e+1);++a<e;)n[a]=o[a];return n[e]=i(s),function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}(t,this,n)}}(t,void 0,Hi),t+"")}var ro=ao((function(t,e){return null==t?{}:qi(t,e)}));function so(t,e,i,o){var a=!i;i||(i={});for(var r=-1,s=e.length;++r<s;){var n=e[r],l=o?o(i[n],t[n],n,i,t):void 0;void 0===l&&(l=t[n]),a?Mi(i,n,l):$i(i,n,l)}return i}var no=Object.prototype.hasOwnProperty;function lo(t){if(!V(t))return function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e}(t);var e=A(t),i=[];for(var o in t)("constructor"!=o||!e&&no.call(t,o))&&i.push(o);return i}function po(t){return Rt(t)?Ye(t,!0):lo(t)}var co="object"==typeof exports&&exports&&!exports.nodeType&&exports,go=co&&"object"==typeof module&&module&&!module.nodeType&&module,ho=go&&go.exports===co?D.Buffer:void 0,uo=ho?ho.allocUnsafe:void 0;var mo=_(Object.getPrototypeOf,Object),fo=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Me(e,qe(t)),t=mo(t);return e}:$e,xo=fo;function bo(t){return Ue(t,po,xo)}var yo=Object.prototype.hasOwnProperty;function vo(t){var e=new t.constructor(t.byteLength);return new we(e).set(new we(t)),e}var wo=/\w*$/;var ko=O?O.prototype:void 0,So=ko?ko.valueOf:void 0;var Co="[object Boolean]",Bo="[object Date]",jo="[object Map]",To="[object Number]",Ao="[object RegExp]",_o="[object Set]",No="[object String]",Lo="[object Symbol]",Io="[object ArrayBuffer]",zo="[object DataView]",Po="[object Float32Array]",Do="[object Float64Array]",Oo="[object Int8Array]",Fo="[object Int16Array]",Ro="[object Int32Array]",Mo="[object Uint8Array]",Uo="[object Uint8ClampedArray]",$o="[object Uint16Array]",Eo="[object Uint32Array]";function Go(t,e,i){var o,a=t.constructor;switch(e){case Io:return vo(t);case Co:case Bo:return new a(+t);case zo:return function(t,e){var i=e?vo(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}(t,i);case Po:case Do:case Oo:case Fo:case Ro:case Mo:case Uo:case $o:case Eo:return function(t,e){var i=e?vo(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}(t,i);case jo:return new a;case To:case No:return new a(t);case Ao:return function(t){var e=new t.constructor(t.source,wo.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _o:return new a;case Lo:return o=t,So?Object(So.call(o)):{}}}var Ko=Object.create,qo=function(){function t(){}return function(e){if(!V(e))return{};if(Ko)return Ko(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}(),Vo=qo;var Wo="[object Map]";var Qo=Qt&&Qt.isMap,Ho=Qo?Kt(Qo):function(t){return At(t)&&Tt(t)==Wo},Yo="[object Set]";var Jo=Qt&&Qt.isSet,Xo=Jo?Kt(Jo):function(t){return At(t)&&Tt(t)==Yo},Zo=1,ta=2,ea=4,ia="[object Arguments]",oa="[object Function]",aa="[object GeneratorFunction]",ra="[object Object]",sa={};function na(t,e,i,o,a,r){var s,n=e&Zo,l=e&ta,p=e&ea;if(i&&(s=a?i(t,o,a,r):i(t)),void 0!==s)return s;if(!V(t))return t;var c=Dt(t);if(c){if(s=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&yo.call(t,"index")&&(i.index=t.index,i.input=t.input),i}(t),!n)return function(t,e){var i=-1,o=t.length;for(e||(e=Array(o));++i<o;)e[i]=t[i];return e}(t,s)}else{var d=Tt(t),g=d==oa||d==aa;if(Et(t))return function(t,e){if(e)return t.slice();var i=t.length,o=uo?uo(i):new t.constructor(i);return t.copy(o),o}(t,n);if(d==ra||d==ia||g&&!a){if(s=l||g?{}:function(t){return"function"!=typeof t.constructor||A(t)?{}:Vo(mo(t))}(t),!n)return l?function(t,e){return so(t,xo(t),e)}(t,function(t,e){return t&&so(e,po(e),t)}(s,t)):function(t,e){return so(t,qe(t),e)}(t,function(t,e){return t&&so(e,Je(e),t)}(s,t))}else{if(!sa[d])return a?t:{};s=Go(t,d,n)}}r||(r=new ue);var h=r.get(t);if(h)return h;r.set(t,s),Xo(t)?t.forEach((function(o){s.add(na(o,e,i,o,t,r))})):Ho(t)&&t.forEach((function(o,a){s.set(a,na(o,e,i,a,t,r))}));var u=c?void 0:(p?l?bo:Xe:l?po:Je)(t);return function(t,e){for(var i=-1,o=null==t?0:t.length;++i<o&&!1!==e(t[i],i,t););}(u||t,(function(o,a){u&&(o=t[a=o]),$i(s,a,na(o,e,i,a,t,r))})),s}function la(t,e){return e.length<2?t:Oi(t,function(t,e,i){var o=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(i=i>a?a:i)<0&&(i+=a),a=e>i?0:i-e>>>0,e>>>=0;for(var r=Array(a);++o<a;)r[o]=t[o+e];return r}(e,0,-1))}function pa(t,e){return null==(t=la(t,e=zi(e,t)))||delete t[Di((i=e,o=null==i?0:i.length,o?i[o-1]:void 0))];var i,o}sa[ia]=sa["[object Array]"]=sa["[object ArrayBuffer]"]=sa["[object DataView]"]=sa["[object Boolean]"]=sa["[object Date]"]=sa["[object Float32Array]"]=sa["[object Float64Array]"]=sa["[object Int8Array]"]=sa["[object Int16Array]"]=sa["[object Int32Array]"]=sa["[object Map]"]=sa["[object Number]"]=sa[ra]=sa["[object RegExp]"]=sa["[object Set]"]=sa["[object String]"]=sa["[object Symbol]"]=sa["[object Uint8Array]"]=sa["[object Uint8ClampedArray]"]=sa["[object Uint16Array]"]=sa["[object Uint32Array]"]=!0,sa["[object Error]"]=sa[oa]=sa["[object WeakMap]"]=!1;var ca="[object Object]",da=Function.prototype,ga=Object.prototype,ha=da.toString,ua=ga.hasOwnProperty,ma=ha.call(Object);function fa(t){return function(t){if(!At(t)||q(t)!=ca)return!1;var e=mo(t);if(null===e)return!0;var i=ua.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&ha.call(i)==ma}(t)?void 0:t}var xa=ao((function(t,e){var i={};if(null==t)return i;var o=!1;e=Ai(e,(function(e){return e=zi(e,t),o||(o=e.length>1),e})),so(t,bo(t),i),o&&(i=na(i,7,fa));for(var a=e.length;a--;)pa(i,e[a]);return i})),ba=xa,ya={name:"cyy-title",props:{props:{value:{type:String,default:"请填写主标题或文本"},fontSize:Number,textAlign:String,color:String,backgroundColor:String,fontWeight:String,fontStyle:String,textDecoration:Boolean,marginTop:Number,marginBottom:Number}},computed:{computedStyle(){const t=["fontSize","marginTop","marginBottom"],e=ro(this.props||{},t),i=ba(this.props||{},t);return{...v(e),...i}}}};function va(t){return void 0===t}ya.render=function(a,r,s,n,l,p){return t(),e("div",{style:i([[p.computedStyle],{"font-family":"PingFangSC, PingFang SC"}])},o(s.props.value),5)};var wa={name:"cyy-cube",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:t,defaultValue:e}=this.props,i=t.filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),console.log(52,o),o},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=ro(this.props,t),i=ba(this.props,t);return{...v(e),...i}}}};const ka=["src"];function Sa(t,e){void 0===e&&(e={});var i=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===i&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}Sa(".lc-img-item[data-v-e3f463ec]{box-sizing:border-box;width:100%}"),wa.render=function(o,n,l,p,c,d){return t(),e("div",null,[(t(!0),e(a,null,r(d.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([d.computedStyle,c.imgStyle]),src:a.imgUrl,alt:""},null,12,ka)])))),128))])},wa.__scopeId="data-v-e3f463ec";var Ca={name:"cyy-search",props:{props:{value:String,fontColor:String,iconShow:Boolean,backgroundColor:String,icon:String,marginTop:Number,marginBottom:Number}},mounted(){console.log(this.props,2008)},computed:{computedStyle(){const t=["marginTop","marginBottom"],e=ro(this.props,t),i=ba(this.props,t);return{...v(e),...i,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"17px"}}},methods:{goSearch(){y||this.$emit("ToSearch")}}};const Ba={style:{overflow:"hidden"}},ja={key:0,src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/sousuo.png",alt:"",style:{width:"20px",height:"20px","margin-top":"7px","margin-right":"10px","font-family":"PingFangSC, PingFang SC"}};function Ta(t,e,i){var o=null==t?void 0:Oi(t,e);return void 0===o?i:o}Ca.render=function(a,r,l,p,c,d){return t(),e("div",Ba,[s("div",{style:i([d.computedStyle]),onClick:r[0]||(r[0]=(...t)=>d.goSearch&&d.goSearch(...t))},[l.props.iconShow?(t(),e("img",ja)):n("",!0),s("div",{style:i([{flex:"1"},{color:l.props.fontColor}])},o(l.props.value),5)],4)])};var Aa={name:"cyy-goods",props:{props:{sortType:Number,goods:Array,SelectGoods:Object,arrange:Number,borderRadius:Number,margin:Number,markedPrice:Number,marginTop:Number,marginBottom:Number,purchaseIcon:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},domainNameUrl:"",isLc:y}),mounted(){this.init()},computed:{getPrice:()=>t=>"2"==t.pricesetType?"¥"+t.pricesetNprice:"3"==t.pricesetType||"4"==t.pricesetType?t.pricesetRefrice+"里程":t.pricesetNprice},methods:{async init(){this.domainNameUrl=di(this);const t=await gi(this,this.props);this.listArr=Ta(t,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(t){if(y)return;const{skuCode:e}=t;let i={skuNo:e};this.$routers.push("detail",i)},getMaskState:t=>"1"===t?"预售中":"补货中"}};const _a={key:1},Na=["onClick"],La={class:"imgWrapper"},Ia={class:"maskState"},za=["src"],Pa={key:0,class:"specialGoodsName"},Da={key:1,class:"goodsName"},Oa={class:"footerContent"},Fa={class:"goodsPrice"},Ra={key:0,class:"scribing"},Ma={key:0,class:"goodsBuy"};Sa(".cube-container[data-v-ecf0e578]{display:grid;font-family:PingFangSC,PingFang SC}.cube-container.arrange-1[data-v-ecf0e578]{grid-template-columns:repeat(1,1fr)}.cube-container.arrange-1 .cube-item .goodsImg[data-v-ecf0e578]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-ecf0e578]{background:#fff;padding:8px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-ecf0e578]{font-size:20px;margin-bottom:12px;margin-top:4px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-ecf0e578]{font-size:18px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-ecf0e578]{font-size:14px;margin-left:8px}.cube-container.arrange-2[data-v-ecf0e578]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item .goodsImg[data-v-ecf0e578]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-ecf0e578]{background:#fff;padding:8px;position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-ecf0e578]{font-size:14px;height:38px;margin-bottom:4px;margin-top:8px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-ecf0e578]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;overflow:hidden;text-overflow:ellipsis}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-ecf0e578]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-ecf0e578]{font-size:12px}.cube-container.arrange-3[data-v-ecf0e578]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-ecf0e578]{flex:0 0 auto;max-width:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-ecf0e578]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription[data-v-ecf0e578]{background:#fff;margin-bottom:13px;padding:8px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-ecf0e578]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-ecf0e578]{font-size:14px;margin-left:8px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-ecf0e578]{font-size:20px;margin-bottom:12px;margin-top:12px}.cube-container.arrange-3 .cube-item[data-v-ecf0e578]:not(:last-child){margin-right:10px}.cube-container.arrange-4 .cube-item[data-v-ecf0e578]{background:#fff;display:flex;justify-content:space-around;padding:8px}.cube-container.arrange-4 .cube-item .imgWrapper .goodsImg[data-v-ecf0e578]{height:100px;width:100px}.cube-container.arrange-4 .cube-item .goodsDescription[data-v-ecf0e578]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-ecf0e578]{font-size:16px;height:auto}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-ecf0e578]{font-size:16px}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-ecf0e578]{font-size:12px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper[data-v-ecf0e578]{position:relative}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-ecf0e578]{align-self:flex-end;background-color:#ed4444;border-radius:17px;color:#fff;font-size:12px;position:absolute;right:0;top:0}.cube-container .cube-item .imgWrapper[data-v-ecf0e578]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-ecf0e578]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.cube-container .cube-item .imgMarked .maskState[data-v-ecf0e578]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-ecf0e578]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-ecf0e578]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-ecf0e578]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-ecf0e578]{color:#ff9745;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-ecf0e578]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container .cube-item .goodsDescription .goodsBuy[data-v-ecf0e578]{align-self:flex-end;background-color:#ed4444;border-radius:17px;color:#fff;font-size:14px;line-height:22px;padding:1px 20px;text-align:center}"),Aa.render=function(c,d,g,h,u,m){return t(),e("div",null,[u.listArr.length?(t(),e("div",_a,[s("div",{class:l(["cube-container",`arrange-${g.props.arrange}`,{isLc:u.isLc}]),style:i({marginTop:`${g.props.marginTop}px`,marginBottom:`${g.props.marginBottom}px`,gap:`${g.props.margin}px`})},[(t(!0),e(a,null,r(u.listArr,((a,r)=>(t(),e("div",{class:"cube-item",key:a.skuCode,onClick:t=>m.goGoodsDetail(a)},[s("div",La,[!1===u.isLc&&(a.goodsSupplynum<=0||"1"===a.goodsProperty5)?(t(),e("div",{key:0,class:"imgMarked",style:i({borderRadius:`${g.props.borderRadius}px`})},[s("div",Ia,o(m.getMaskState(a.goodsProperty5)),1)],4)):n("",!0),s("img",{class:"goodsImg",src:a.dataPic?-1===a.dataPic.indexOf("http")?u.domainNameUrl+a.dataPic:a.dataPic:"",alt:"",style:i({borderRadius:`${g.props.borderRadius}px ${g.props.borderRadius}px 0px 0px`})},null,12,za)]),s("div",{class:"goodsDescription",style:i({borderRadius:`0px 0px ${g.props.borderRadius}px ${g.props.borderRadius}px`})},[!0===u.isLc&&2===g.props.arrange?(t(),e("div",Pa,o(a.goodsName),1)):(t(),e("div",Da,o(a.goodsName),1)),s("section",Oa,[s("div",Fa,[p(o("2"===a.pricesetType?m.getPrice(a):"3"===a.pricesetType||"4"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice)+" ",1),1===g.props.markedPrice?(t(),e("div",Ra,"¥"+o(a.pricesetMakeprice),1)):n("",!0)]),1===g.props.purchaseIcon?(t(),e("div",Ma,"立即购买")):n("",!0)])],4)],8,Na)))),128))],6)])):(t(),e("div",{key:0,style:i(u.noDataStyle)},"请选择商品",4))])},Aa.__scopeId="data-v-ecf0e578";var Ua={name:"cyy-slider",data:()=>({lowCode:y}),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:e}=this.props,i=t.filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),o},imgH(){const{imgHeight:t}=this.props;return t.height/t.width*750},sliderStyle(){const t=ro(this.props,["marginTop","marginBottom"]);return{...v(t)}},reDirection(){const{direction:t}=this.props;return"horizontal"!==t}}};const $a={key:0},Ea=["src"],Ga={key:1},Ka=["src"];Sa(".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}"),Ua.render=function(o,n,l,p,u,m){const f=c("swiper-item"),x=c("swiper");return t(),e("div",null,[u.lowCode?(t(),e("div",$a,[s("div",{class:"lowCode-warp",style:i([m.sliderStyle])},[s("img",{src:m.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Ea),s("ul",null,[(t(!0),e(a,null,r(m.resultArr,((i,a)=>(t(),e("li",{key:o.cyy})))),128))])],4)])):(t(),e("div",Ga,[d(x,{"indicator-dots":!0,autoplay:l.props.autoplay,interval:l.props.autoplayInterval,vertical:m.reDirection,circular:l.props.loop,style:i({height:m.imgH+"rpx"})},{default:g((()=>[(t(!0),e(a,null,r(m.resultArr,((e,a)=>(t(),h(f,{key:o.cyy,style:i([m.sliderStyle,{boxSizing:"border-box"}])},{default:g((()=>[s("img",{src:e.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Ka)])),_:2},1032,["style"])))),128))])),_:1},8,["autoplay","interval","vertical","circular","style"])]))])};var qa={name:"cyy-goodsOne",props:{props:{title:Object,more:Number,bill:String,SelectGoods:Object,arrange:Number,circular:Number,margin:Number,markedPrice:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number}},data:()=>({listArr:[],noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),mounted(){console.log(75),this.init()},methods:{async init(){console.log(196);const{goods:t=[]}=this.props;console.log(197);const e=t.toString();console.log(198);const i={goodsCode:e};console.log(199,i);const o=await gi(this,i);this.listArr=Ta(o,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(t){if(y)return;const{skuCode:e,skuNo:i}=t;let o={skuCode:e,skuNo:i};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:t=>"1"===t?"预售中":"补货中"};const Va=t=>(u("data-v-19499394"),t=t(),m(),t),Wa={key:1},Qa={class:"three-layout"},Ha={key:0,class:"top-left"},Ya={key:1,class:"top-right"},Ja=[Va((()=>s("div",null,"更多",-1))),Va((()=>s("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],Xa={class:"three-layout-content"},Za={class:"three-layout-bigImg"},tr=["src"],er={class:"three-layout-goods"},ir=["src"],or={key:0,class:"mask-three-more"},ar={class:"price-box"},rr={class:"now-price"},sr={key:0,class:"origin-price"};Sa(".three-layout[data-v-19499394]{border-radius:7px}.three-layout .mask-three-more[data-v-19499394]{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 .three-layout-title[data-v-19499394]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout .three-layout-title .top-left[data-v-19499394]{color:#333;font-family:PingFangSC-Semibold,PingFang SC;font-size:16px;font-weight:600;line-height:22px}.three-layout .three-layout-title .top-right[data-v-19499394]{align-items:center;display:flex}.three-layout .three-layout-title .top-right div[data-v-19499394]{color:#595959;font-size:12px}.three-layout .three-layout-title .top-right image[data-v-19499394]{height:9px;margin-left:3px;width:6px}.three-layout .three-layout-content[data-v-19499394]{background:#fff;border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:15px 14.5px}.three-layout .three-layout-content .three-layout-bigImg image[data-v-19499394]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout .three-layout-content .three-layout-goods[data-v-19499394]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout .three-layout-content .three-layout-goods .goods-items[data-v-19499394]{width:106px}.scroll-list[data-v-19499394]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list .scroll-item[data-v-19499394]{display:inline-block;margin-right:10px}.scroll-list .scroll-item image[data-v-19499394]{border-radius:5px;height:98px;width:98px}.scroll-list .scroll-item p[data-v-19499394]{-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-19499394]{margin-top:10px}"),qa.render=function(l,h,u,m,f,x){const b=c("vop-label"),y=c("scroll-view");return t(),e("div",null,[u.props.goods?(t(),e("div",Wa,[s("div",Qa,[s("div",{class:"three-layout-title",onClick:h[0]||(h[0]=t=>x.jumpToSearch())},[u.props.title.isShow?n("",!0):(t(),e("div",Ha,o(u.props.title.title||""),1)),1===u.props.more?(t(),e("div",Ya,Ja)):n("",!0)]),s("div",Xa,[s("div",Za,[s("image",{"lazy-load":!0,src:u.props.bill?u.props.bill:"",mode:"aspectFill"},null,8,tr)]),s("div",er,[d(y,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:g((()=>[(t(!0),e(a,null,r(f.listArr,((i,a)=>(t(),e("div",{class:"scroll-item",key:a,onClick:h[1]||(h[1]=t=>l.toDetail())},[s("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+i.dataPic,mode:"aspectFill"},null,8,ir),i.goodsSupplynum<=0||"1"===i.goodsProperty5?(t(),e("div",or,o(l.maskTitle(i.goodsProperty5)),1)):n("",!0),s("p",null,[d(b,{goodsType:i.contlistPrice1},null,8,["goodsType"]),p(o(i.goodsName),1)]),s("div",ar,[s("div",rr,"¥"+o(i.pricesetMakeprice||0),1),1==i.contlistConNow?(t(),e("div",sr,"¥"+o(i.pricesetBaseprice||0),1)):n("",!0)])])))),128))])),_:1})])])])])):(t(),e("div",{key:0,style:i(f.noDataStyle)},"请选择商品样式一",4))])},qa.__scopeId="data-v-19499394";var nr={name:"cyy-ArsenalPicture",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,cornerStyle:Number,verticalSpacing:Number,horizontalLayout:Number,marginTop:Number,marginBottom:Number,selectImg:Array,defaultValue:Array}},mounted(){console.log(this.props,2007)},computed:{resultArr(){const{selectImg:t,defaultValue:e}=this.props,i=t.filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCornerKing:t=>16===t?"6px":32===t?"16px":"0",linkClick(t){this.$emit("linkClick",t)}}};const lr={key:0,class:"holder"},pr=["src","onClick"];Sa(".holder[data-v-1789a828]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-1789a828]{display:flex;width:100%}.ArsenalPicture .ArsenalImg[data-v-1789a828]{height:80px;width:80px}.ArsenalPicture-colunm .ArsenalImg[data-v-1789a828],.ArsenalPicture-colunm[data-v-1789a828]{width:100%}.ArsenalPicture-colunm .verticalSpacing[data-v-1789a828]{margin-bottom:10px}.horizontalLayout0[data-v-1789a828]{justify-content:space-between}.horizontalLayout1[data-v-1789a828]{justify-content:space-between;padding:0 10px}.horizontalLayout2[data-v-1789a828]{justify-content:space-around}"),nr.render=function(o,n,p,c,d,g){return t(),e("div",null,[p.props.selectImg.length?(t(),e("div",{key:1,class:l([1===p.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture",{horizontalLayout0:0===p.props.horizontalLayout&&0===p.props.showStyle,horizontalLayout1:1===p.props.horizontalLayout&&0===p.props.showStyle,horizontalLayout2:2===p.props.horizontalLayout&&0===p.props.showStyle}]),style:i({marginTop:p.props.marginTop+"px",marginBottom:p.props.marginBottom+"px"})},[(t(!0),e(a,null,r(g.resultArr,((o,a)=>(t(),e("div",{key:a,class:l({verticalSpacing:0===p.props.verticalSpacing&&1===p.props.showStyle})},[s("img",{class:"ArsenalImg",src:o.imgUrl,alt:"",style:i({borderRadius:g.classifyPhotoCornerKing(p.props.cornerStyle)}),onClick:t=>g.linkClick(o)},null,12,pr)],2)))),128))],6)):(t(),e("div",lr,"请选择添加图片"))])},nr.__scopeId="data-v-1789a828";var cr={name:"cyy-ArsenalPicture",data:()=>({skeleton:["导航1","导航2","导航3","导航4"],imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{showStyle:Number,photoSize:Number,photoCorner:Number,fontColor:String,backgroundColor:String,marginTop:Number,marginBottom:Number,selectImg:Array,navigationNum:Number}},mounted(){5===this.props.navigationNum&&(this.skeleton=["导航1","导航2","导航3","导航4","导航5"])},computed:{resultArr(){const{selectImg:t,defaultValue:e}=this.props,i=t.filter((t=>null!==t)).filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCornerKing:t=>20===t?"6px":50===t?"50%":"0",classifyPhotoCorner:t=>20===t?6:50===t?16:t,linkClick(t){this.$emit("linkClick",t)}}};const dr={key:0,class:"holder"},gr=(t=>(u("data-v-5c6c4e37"),t=t(),m(),t))((()=>s("div",null,null,-1))),hr=["onClick"],ur=["src"],mr={key:1},fr=["onClick"],xr=["src"];Sa(".holder[data-v-5c6c4e37]{height:75px;padding:10px 0;width:100%}.holder ul[data-v-5c6c4e37]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder ul li[data-v-5c6c4e37]{list-style:none}.holder ul li div[data-v-5c6c4e37]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder ul li div span[data-v-5c6c4e37]{display:flex;font-size:12px;justify-content:center}.golds[data-v-5c6c4e37]{border-radius:6px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap}.golds .golds-item[data-v-5c6c4e37]{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;margin:10px 0}.golds .golds-item div[data-v-5c6c4e37]{font-family:PingFangSC-Medium,PingFang SC;font-size:11px;line-height:15px;margin-top:4px;text-align:center}.golds .navigationNum4[data-v-5c6c4e37]{width:25%}.golds .navigationNum5[data-v-5c6c4e37]{width:20%}.photoSizeBig[data-v-5c6c4e37]{height:58px;width:58px}.photoSizeSmall[data-v-5c6c4e37]{height:48px;width:48px}.classify-list[data-v-5c6c4e37]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list .classify-item[data-v-5c6c4e37]{border-radius:14px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;margin-top:16px;padding:8px 5px .25px}.classify-list .classify-item div[data-v-5c6c4e37]{font-weight:700}.classify-list .classify-item img[data-v-5c6c4e37]{margin:7.5px 0}.classify-list .classify-item[data-v-5c6c4e37]:first-child,.classify-list .classify-item[data-v-5c6c4e37]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-5c6c4e37]{width:48%}.classifyItemSmall[data-v-5c6c4e37]{width:46%}.classifyImgBig[data-v-5c6c4e37]{height:90px;width:100%}.classifyImgSmall[data-v-5c6c4e37]{height:87.75px;width:100%}.classifyFontBig[data-v-5c6c4e37]{font-size:12px;height:12px;line-height:12px}.classifyFontSmall[data-v-5c6c4e37]{font-size:11px;height:12px}"),cr.render=function(p,c,d,g,h,u){return t(),e("div",null,[u.resultArr.length?(t(),e(a,{key:1},[0===d.props.showStyle?(t(),e("div",{key:0,class:"golds",style:i({backgroundColor:d.props.backgroundColor,marginTop:d.props.marginTop+"px",marginBottom:d.props.marginBottom+"px",justifyContent:u.resultArr.length>3?"space-between":"flex-start"})},[(t(!0),e(a,null,r(u.resultArr,((a,r)=>(t(),e("div",{class:l(["golds-item",[5===d.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:r,onClick:t=>u.linkClick(a)},[s("img",{class:l([1===d.props.photoSize?"photoSizeBig":"photoSizeSmall"]),style:i({borderRadius:u.classifyPhotoCornerKing(d.props.photoCorner)}),"lazy-load":!0,src:a.imgUrl},null,14,ur),s("div",{style:i({color:d.props.fontColor})},o(a.name),5)],10,hr)))),128))],4)):n("",!0),1===d.props.showStyle?(t(),e("div",mr,[s("div",{class:"classify-list",style:i({marginTop:d.props.marginTop+"px",marginBottom:d.props.marginBottom+"px"})},[(t(!0),e(a,null,r(u.resultArr,((a,r)=>(t(),e("div",{class:l(["classify-item",[1===d.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:i({backgroundColor:d.props.backgroundColor}),key:r,onClick:t=>u.linkClick(a)},[s("div",{class:l([1===d.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:i({color:d.props.fontColor})},o(a.name),7),s("img",{class:l([1===d.props.photoSize?"classifyImgBig":"classifyImgSmall"]),style:i({borderRadius:u.classifyPhotoCorner(d.props.photoCorner)+"px"}),"lazy-load":!0,src:a.imgUrl},null,14,xr)],14,fr)))),128))],4)])):n("",!0)],64)):(t(),e("div",dr,[s("ul",null,[(t(!0),e(a,null,r(h.skeleton,((i,a)=>(t(),e("li",{key:a},[gr,s("span",null,o(i),1)])))),128))])]))])},cr.__scopeId="data-v-5c6c4e37";var br={name:"cyy-ArsenalCarousel",data:()=>({lowCode:y}),props:{props:{photoCorner:Number,autoPlay:Number,autoplayInterval:Number,direction:Number,loop:Number,marginTop:Number,marginBottom:Number,selectImg:Array}},mounted(){console.log(this.props,2023)},computed:{autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:t,defaultValue:e}=this.props,i=t.filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCorner:t=>20===t?10:50===t?20:t,linkClick(t){this.$emit("linkClick",t)}}};const yr={key:0},vr=["src"],wr={class:"swiper"},kr=["src","onClick"];Sa(".holder[data-v-7b0ae6ba]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-7b0ae6ba]{border-radius:6px;height:217.4335px;width:100%}@media (max-width:320px){.swiperBox[data-v-7b0ae6ba]{height:160.6275px}}@media (min-width:321px) and (max-width:360px){.swiperBox[data-v-7b0ae6ba]{height:182.4075px}}@media (min-width:361px) and (max-width:375px){.swiperBox[data-v-7b0ae6ba]{height:190.575px}}@media (min-width:376px) and (max-width:390px){.swiperBox[data-v-7b0ae6ba]{height:198.7425px}}@media (min-width:391px) and (max-width:412px){.swiperBox[data-v-7b0ae6ba]{height:210.7215px}}@media (min-width:413px) and (max-width:414px){.swiperBox[data-v-7b0ae6ba]{height:211.8105px}}@media (min-width:415px) and (max-width:428px){.swiperBox[data-v-7b0ae6ba]{height:219.4335px}}@media (min-width:429px) and (max-width:430px){.swiperBox[data-v-7b0ae6ba]{height:220.5225px}}@media (min-width:431px) and (max-width:440px){.swiperBox[data-v-7b0ae6ba]{height:225.9675px}}@media (min-width:441px) and (max-width:450px){.swiperBox[data-v-7b0ae6ba]{height:231.4125px}}@media (min-width:451px) and (max-width:460px){.swiperBox[data-v-7b0ae6ba]{height:236.8575px}}@media (min-width:461px) and (max-width:475px){.swiperBox[data-v-7b0ae6ba]{height:245.025px}}@media (min-width:476px) and (max-width:490px){.swiperBox[data-v-7b0ae6ba]{height:253.1925px}}@media (min-width:491px) and (max-width:505px){.swiperBox[data-v-7b0ae6ba]{height:261.36px}}@media (min-width:431px) and (max-width:550px){.swiperBox[data-v-7b0ae6ba]{height:285.8625px}}@media (min-width:551px) and (max-width:700px){.swiperBox[data-v-7b0ae6ba]{height:328.3335px}}@media (min-width:701px) and (max-width:768px){.swiperBox[data-v-7b0ae6ba]{height:404.5634px}}@media (min-width:769px) and (max-width:800px){.swiperBox[data-v-7b0ae6ba]{height:421.9875px}}@media (min-width:801px) and (max-width:1024px){.swiperBox[data-v-7b0ae6ba]{height:543.9555px}}.swiperBox .swiper .swiper-content[data-v-7b0ae6ba],.swiperBox .swiper[data-v-7b0ae6ba]{height:100%;width:100%}.swiperBox .swiper .swiper-content .img-item[data-v-7b0ae6ba]{box-sizing:border-box;padding:0 12.5px}.swiperBox .swiper img[data-v-7b0ae6ba]{border-radius:6px;height:100%;width:100%}"),br.render=function(o,n,l,p,u,m){const f=c("swiper-item"),x=c("block"),b=c("swiper");return t(),e("div",null,[u.lowCode?(t(),e("div",yr,[s("div",{class:"lowCode-warp",style:i({marginTop:l.props.marginTop+"px",marginBottom:l.props.marginBottom+"px"})},[s("img",{src:m.resultArr[0].imgUrl,alt:"",style:i({borderRadius:m.classifyPhotoCorner(l.props.photoCorner)+"px",width:"100%"})},null,12,vr),s("ul",null,[(t(!0),e(a,null,r(m.resultArr,((i,o)=>(t(),e("li",{key:o})))),128))])],4)])):(t(),e("div",{key:1,class:"swiperBox",style:i({marginTop:l.props.marginTop+"px",marginBottom:l.props.marginBottom+"px"})},[s("div",wr,[d(b,{interval:"4000",class:"swiper-content",circular:"true",vertical:m.directionResult,autoplay:m.autoplayResult,duration:l.props.autoplayInterval},{default:g((()=>[(t(!0),e(a,null,r(m.resultArr,((e,o)=>(t(),h(x,{key:o},{default:g((()=>[d(f,{class:"img-item"},{default:g((()=>[s("img",{style:i({borderRadius:m.classifyPhotoCorner(l.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl,onClick:t=>m.linkClick(e)},null,12,kr)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},br.__scopeId="data-v-7b0ae6ba";var Sr={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Cr={key:0,class:"label"};Sa(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Sr.render=function(i,o,a,r,s,l){return"40"===a.goodsType?(t(),e("text",Cr,"京东优选")):n("",!0)},Sr.__scopeId="data-v-3a887c2c";var Br={name:"cyy-collocation",props:{props:{sortType:Number,goods:Array,arrange:Number,selectImg:String,selectImgs:Array,selectGoods:Array,markedPrice:Number,purchaseIcon:Number,more:Number,activityTitle:String,activitySubtitle:String,activityTitleLable:Array,goodsTag:Array,backgroundColor:String,cornerStyle:Number,spacingStyle:Number,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},goodsList:[],completeGoodsList:[],domainNameUrl:"",imgUrl:"",isLc:y}),computed:{getPrice:()=>t=>"2"==t.pricesetType?"¥"+t.pricesetNprice:"3"==t.pricesetType||"4"==t.pricesetType?t.pricesetRefrice+"里程":t.pricesetNprice,mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},hasNewActivityTitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].title:this.props.activityTitle},hasNewActivitySubtitle(){return this.props.activityTitleLable?.length?2===this.props.activityTitleLable[0].lable?"":this.props.activityTitleLable[0].subTitle:this.props.activitySubtitle},ruleTitle(){return 1===this.props.arrange&&!!this.props.activityTitleLable?.length},ruleTitleImg(){return this.ruleTitle?`url(${this.props.activityTitleLable[0]?.imgUrl}) no-repeat`:""},selectImgRule(){return t=>"show"===t?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===t?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===t?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Sr},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=di(this);const t=await gi(this,this.props);this.completeGoodsList=Ta(t,"list",[]),this.completeGoodsList.forEach((t=>{t.rsGoodsFileDomainList=[],t.rsSkuDomainList=[]})),1===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,12):2===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,2):3===this.props.arrange?this.goodsList=this.completeGoodsList.slice(0,3):[4,5].includes(this.props.arrange)&&(this.goodsList=this.completeGoodsList.slice(0,60))},goGoodsDetail(t){if(y)return;const{skuCode:e}=t;let i={skuNo:e};this.$routers.push("detail",i)},goMoreGoods(){y||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:t=>"1"===t?"预售中":"补货中",linkClick(t){this.$emit("linkClick",t)}}},jr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const Tr=t=>(u("data-v-bc1b6856"),t=t(),m(),t),Ar={key:0},_r={key:1,class:"title"},Nr={class:"subtitle"},Lr=Tr((()=>s("img",{src:jr},null,-1))),Ir={key:3,class:"more"},zr={class:"title"},Pr=Tr((()=>s("div",{class:"line"},null,-1))),Dr={class:"mainTitle"},Or=Tr((()=>s("div",{class:"line"},null,-1))),Fr={key:2,class:"mainImage"},Rr=["src"],Mr=["src"],Ur=["onClick"],$r=["src"],Er={class:"maskState"},Gr={class:"goodsDescription"},Kr={class:"goodsName"},qr={class:"footerContent"},Vr={key:0,class:"goodsTagList"},Wr={class:"tag"},Qr={class:"goodsPrice"},Hr={key:0,class:"scribing"},Yr=["onClick"];Sa("body{margin:0}");Sa('.mainTitleColor[data-v-bc1b6856]{color:#f52b43}.top[data-v-bc1b6856]{margin:0 10px;padding:12px 0}.top .mainTitle[data-v-bc1b6856]{font-size:16px;font-weight:600}.top.left[data-v-bc1b6856]{align-items:flex-end;display:flex;justify-content:space-between}.top.left .title .subtitle[data-v-bc1b6856]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top.left .more[data-v-bc1b6856]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top.left .more img[data-v-bc1b6856]{height:8px;width:6px}.top.center[data-v-bc1b6856]{padding:18px 0}.top.center .title[data-v-bc1b6856]{align-items:center;display:flex;justify-content:center}.top.center .title .line[data-v-bc1b6856]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top.center .title .mainTitle[data-v-bc1b6856]{text-align:center}.mainImage[data-v-bc1b6856]{max-width:100%}.mainImage .mainImageSon[data-v-bc1b6856]{-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-bc1b6856]{margin:8px 10px 0}.goodsList .goodsBox[data-v-bc1b6856]{background-color:#fff}.goodsList .goodsBox .imgMarked[data-v-bc1b6856]{align-items:center;background-color:rgba(0,0,0,.5);display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.goodsList .goodsBox .imgMarked .maskState[data-v-bc1b6856]{color:#fff;font-size:23px}.goodsList .goodsBox .goodsDescription[data-v-bc1b6856]{padding:8px}.goodsList .goodsBox .goodsDescription .goodsName[data-v-bc1b6856]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;height:2em;line-height:1em;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.goodsList .goodsBox .goodsDescription .footerContent[data-v-bc1b6856]{margin-bottom:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList[data-v-bc1b6856]{display:flex;font-size:12px;margin-top:6px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-bc1b6856]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-bc1b6856]:not(:last-child){margin-right:8px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-bc1b6856]{color:#ff9745;font-size:14px;font-weight:600}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .priceUnit[data-v-bc1b6856]{font-size:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .scribing[data-v-bc1b6856]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-bc1b6856]{background-color:#ed4444;border:0;border-radius:17px;color:#fff;font-size:12px;line-height:22px;margin-left:auto;margin-right:auto;margin-top:8px;text-align:center;width:100%;width:5em}.arrange-1[data-v-bc1b6856]{display:flex;justify-content:space-between;overflow:hidden;overflow-x:scroll}.arrange-1 .goodsBox .goodsImageWrapper .goodsImage[data-v-bc1b6856]{height:100px;width:100px}.arrange-1 .goodsBox[data-v-bc1b6856]:not(:last-child){padding-right:20px}.arrange-1 .goodsBox:not(:last-child) .spacingStyle[data-v-bc1b6856]:after{background-color:#d3d3d3;content:"";height:100%;position:absolute;right:-10px;top:0;width:1px}.arrange-1 .footerContent[data-v-bc1b6856]{margin-top:10px}.arrange-1 .footerContent .goodsBuy[data-v-bc1b6856]{margin-bottom:10px;text-align:center}.arrange-2[data-v-bc1b6856],.arrange-4[data-v-bc1b6856]{display:flex;flex-direction:column;margin:8px auto}.arrange-2 .goodsBox[data-v-bc1b6856],.arrange-4 .goodsBox[data-v-bc1b6856]{display:flex;margin-bottom:10px;padding:10px}.arrange-2 .goodsBox .goodsImageWrapper[data-v-bc1b6856],.arrange-4 .goodsBox .goodsImageWrapper[data-v-bc1b6856]{width:50%}.arrange-2 .goodsBox .goodsImageWrapper .goodsImage[data-v-bc1b6856],.arrange-4 .goodsBox .goodsImageWrapper .goodsImage[data-v-bc1b6856]{aspect-ratio:1;height:100%;width:100%}.arrange-2 .goodsBox .goodsDescription[data-v-bc1b6856],.arrange-4 .goodsBox .goodsDescription[data-v-bc1b6856]{margin-left:10px;position:relative;width:100%}.arrange-2 .goodsBox .goodsDescription .goodsName[data-v-bc1b6856],.arrange-4 .goodsBox .goodsDescription .goodsName[data-v-bc1b6856]{font-size:14px;height:auto}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-bc1b6856],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-bc1b6856]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-bc1b6856],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-bc1b6856]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-bc1b6856]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3 .goodsBox[data-v-bc1b6856]{background:#fff;margin-top:10px;width:48%}.arrange-3 .goodsBox .goodsImage[data-v-bc1b6856]{aspect-ratio:1;height:100%;width:100%}.arrange-3 .goodsBox .goodsDescription .goodsName[data-v-bc1b6856]{height:2em;line-height:1em;margin-top:10px}.arrange-3 .goodsBox .goodsDescription .footerContent[data-v-bc1b6856]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-bc1b6856]{margin:0}.arrange-3 .goodsBox[data-v-bc1b6856]:first-child{width:100%}.arrange-3 .goodsBox:first-child .goodsImage[data-v-bc1b6856]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3 .goodsBox:first-child .goodsName[data-v-bc1b6856]{height:auto}.arrange-5[data-v-bc1b6856]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5 .goodsBox[data-v-bc1b6856]{background:#fff}.arrange-5 .goodsBox .goodsImage[data-v-bc1b6856]{aspect-ratio:1;height:100%;width:100%}.arrange-5 .goodsDescription .footerContent[data-v-bc1b6856]{margin-bottom:10px}.arrange-5 .goodsDescription .footerContent .goodsPrice[data-v-bc1b6856]{text-align:center}.arrange-5 .goodsDescription .footerContent .goodsBuy[data-v-bc1b6856]{margin-bottom:10px;text-align:center}'),Br.render=function(g,h,u,m,f,x){const b=c("vopLabel");return t(),e("div",null,[u.props.goods?(t(),e("div",{key:1,style:i({margin:`${u.props.marginTop}px 0 ${u.props.marginBottom}px 0`,backgroundColor:`${u.props.backgroundColor}`,borderRadius:`${u.props.cornerStyle}px`})},[4!==u.props.arrange?(t(),e("div",{key:0,class:l(["top",{left:4!==u.props.arrange}]),style:i({background:x.ruleTitle&&2===u.props.activityTitleLable[0].lable?`${x.ruleTitleImg}`:""})},[x.ruleTitle&&2===u.props.activityTitleLable[0].lable?(t(),e("div",Ar)):(t(),e("div",_r,[s("span",{class:l(["mainTitle",x.mainTitleColor])},o(x.ruleTitle?u.props.activityTitleLable[0].title:x.hasNewActivityTitle),3),s("span",Nr,o(x.ruleTitle?u.props.activityTitleLable[0].subTitle:x.hasNewActivitySubtitle),1)])),1===u.props.more&&[1,2,3].includes(u.props.arrange)?(t(),e("div",{key:2,class:"more",onClick:h[0]||(h[0]=t=>x.goMoreGoods())},[p("更多"),Lr])):(t(),e("div",Ir))],6)):4===u.props.arrange?(t(),e("div",{key:1,class:l(["top",{center:4===u.props.arrange}])},[s("div",zr,[Pr,s("div",Dr,o(x.hasNewActivityTitle),1),Or])],2)):n("",!0),x.selectImgRule("show")?(t(),e("div",Fr,[f.isLc?(t(),e("img",{key:0,class:"mainImageSon",style:i({borderTopLeftRadius:`${u.props.cornerStyle}px`,borderTopRightRadius:`${u.props.cornerStyle}px`}),src:x.selectImgRule("url"),alt:"主图",onClick:h[1]||(h[1]=t=>x.linkClick(x.selectImgRule("link")))},null,12,Rr)):(t(),e("image",{key:1,class:"mainImageSon",style:i({borderTopLeftRadius:`${u.props.cornerStyle}px`,borderTopRightRadius:`${u.props.cornerStyle}px`}),mode:"widthFix",src:x.selectImgRule("url"),alt:"主图",onClick:h[2]||(h[2]=t=>x.linkClick(x.selectImgRule("link")))},null,12,Mr))])):n("",!0),s("div",{class:l(["goodsList",[`arrange-${u.props.arrange}`,{isLc:!f.isLc}]])},[(t(!0),e(a,null,r(f.goodsList,((c,h)=>(t(),e("div",{class:"goodsBox",style:i({borderRadius:`${u.props.cornerStyle}px`}),key:c.skuCode,onClick:t=>x.goGoodsDetail(c)},[s("div",{class:l(["goodsImageWrapper",{spacingStyle:2===u.props.spacingStyle}]),style:{position:"relative"}},[s("img",{class:"goodsImage",style:i({borderRadius:`${u.props.cornerStyle}px`}),src:c.dataPic?-1===c.dataPic.indexOf("http")?f.domainNameUrl+c.dataPic:c.dataPic:"",alt:"商品图片"},null,12,$r),!1===f.isLc&&(c.goodsSupplynum<=0||"1"===c.goodsProperty5)?(t(),e("div",{key:0,class:"imgMarked",style:i({borderRadius:u.props.borderRadius})},[s("div",Er,o(x.getMaskState(c.goodsProperty5)),1)],4)):n("",!0)],2),s("div",Gr,[s("div",Kr,[d(b),p(o(c.goodsName),1)]),s("section",qr,[u.props.goodsTag.length>0&&[2,4].includes(u.props.arrange)?(t(),e("div",Vr,[(t(!0),e(a,null,r(u.props.goodsTag,(i=>(t(),e("div",{key:i.id},[s("span",Wr,o(i.value),1)])))),128))])):n("",!0),s("div",Qr,[p(o("2"===c.pricesetType?x.getPrice(c):"3"===c.pricesetType||"4"===c.pricesetType?c.pricesetRefrice+"里程":"¥"+c.pricesetBaseprice)+" ",1),1===u.props.markedPrice?(t(),e("div",Hr,"¥"+o(c.pricesetMakeprice),1)):n("",!0)]),1===u.props.purchaseIcon?(t(),e("div",{key:1,class:"goodsBuy",onClick:t=>g.handleBuyGoods(c.skuNo)},"立即购买",8,Yr)):n("",!0)])])],12,Ur)))),128))],2)],4)):(t(),e("div",{key:0,style:i(f.noDataStyle)},"请选择商品",4))])},Br.__scopeId="data-v-bc1b6856";const Jr="%[a-f0-9]{2}",Xr=new RegExp("("+Jr+")|([^%]+?)","gi"),Zr=new RegExp("("+Jr+")+","gi");function ts(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const i=t.slice(0,e),o=t.slice(e);return Array.prototype.concat.call([],ts(i),ts(o))}function es(t){try{return decodeURIComponent(t)}catch{let e=t.match(Xr)||[];for(let i=1;i<e.length;i++)e=(t=ts(e,i).join("")).match(Xr)||[];return t}}function is(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return function(t){const e={"%FE%FF":"��","%FF%FE":"��"};let i=Zr.exec(t);for(;i;){try{e[i[0]]=decodeURIComponent(i[0])}catch{const t=es(i[0]);t!==i[0]&&(e[i[0]]=t)}i=Zr.exec(t)}e["%C2"]="�";const o=Object.keys(e);for(const i of o)t=t.replace(new RegExp(i,"g"),e[i]);return t}(t)}}function os(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const i=t.indexOf(e);return-1===i?[]:[t.slice(0,i),t.slice(i+e.length)]}function as(t,e){const i={};if(Array.isArray(e))for(const o of e){const e=Object.getOwnPropertyDescriptor(t,o);e?.enumerable&&Object.defineProperty(i,o,e)}else for(const o of Reflect.ownKeys(t)){const a=Object.getOwnPropertyDescriptor(t,o);if(a.enumerable){e(o,t[o],t)&&Object.defineProperty(i,o,a)}}return i}const rs=t=>null==t,ss=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),ns=Symbol("encodeFragmentIdentifier");function ls(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function ps(t,e){return e.encode?e.strict?ss(t):encodeURIComponent(t):t}function cs(t,e){return e.decode?is(t):t}function ds(t){return Array.isArray(t)?t.sort():"object"==typeof t?ds(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function gs(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function hs(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function us(t){const e=(t=gs(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function ms(t,e){ls((e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e}).arrayFormatSeparator);const i=function(t){let e;switch(t.arrayFormat){case"index":return(t,i,o)=>{e=/\[(\d*)]$/.exec(t),t=t.replace(/\[\d*]$/,""),e?(void 0===o[t]&&(o[t]={}),o[t][e[1]]=i):o[t]=i};case"bracket":return(t,i,o)=>{e=/(\[])$/.exec(t),t=t.replace(/\[]$/,""),e?void 0!==o[t]?o[t]=[...o[t],i]:o[t]=[i]:o[t]=i};case"colon-list-separator":return(t,i,o)=>{e=/(:list)$/.exec(t),t=t.replace(/:list$/,""),e?void 0!==o[t]?o[t]=[...o[t],i]:o[t]=[i]:o[t]=i};case"comma":case"separator":return(e,i,o)=>{const a="string"==typeof i&&i.includes(t.arrayFormatSeparator),r="string"==typeof i&&!a&&cs(i,t).includes(t.arrayFormatSeparator);i=r?cs(i,t):i;const s=a||r?i.split(t.arrayFormatSeparator).map((e=>cs(e,t))):null===i?i:cs(i,t);o[e]=s};case"bracket-separator":return(e,i,o)=>{const a=/(\[])$/.test(e);if(e=e.replace(/\[]$/,""),!a)return void(o[e]=i?cs(i,t):i);const r=null===i?[]:i.split(t.arrayFormatSeparator).map((e=>cs(e,t)));void 0!==o[e]?o[e]=[...o[e],...r]:o[e]=r};default:return(t,e,i)=>{void 0!==i[t]?i[t]=[...[i[t]].flat(),e]:i[t]=e}}}(e),o=Object.create(null);if("string"!=typeof t)return o;if(!(t=t.trim().replace(/^[?#&]/,"")))return o;for(const a of t.split("&")){if(""===a)continue;const t=e.decode?a.replace(/\+/g," "):a;let[r,s]=os(t,"=");void 0===r&&(r=t),s=void 0===s?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?s:cs(s,e),i(cs(r,e),s,o)}for(const[t,i]of Object.entries(o))if("object"==typeof i&&null!==i)for(const[t,o]of Object.entries(i))i[t]=hs(o,e);else o[t]=hs(i,e);return!1===e.sort?o:(!0===e.sort?Object.keys(o).sort():Object.keys(o).sort(e.sort)).reduce(((t,e)=>{const i=o[e];return Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?t[e]=ds(i):t[e]=i,t}),Object.create(null))}function fs(t,e){if(!t)return"";ls((e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e}).arrayFormatSeparator);const i=i=>e.skipNull&&rs(t[i])||e.skipEmptyString&&""===t[i],o=function(t){switch(t.arrayFormat){case"index":return e=>(i,o)=>{const a=i.length;return void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?i:null===o?[...i,[ps(e,t),"[",a,"]"].join("")]:[...i,[ps(e,t),"[",ps(a,t),"]=",ps(o,t)].join("")]};case"bracket":return e=>(i,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?i:null===o?[...i,[ps(e,t),"[]"].join("")]:[...i,[ps(e,t),"[]=",ps(o,t)].join("")];case"colon-list-separator":return e=>(i,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?i:null===o?[...i,[ps(e,t),":list="].join("")]:[...i,[ps(e,t),":list=",ps(o,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return i=>(o,a)=>void 0===a||t.skipNull&&null===a||t.skipEmptyString&&""===a?o:(a=null===a?"":a,0===o.length?[[ps(i,t),e,ps(a,t)].join("")]:[[o,ps(a,t)].join(t.arrayFormatSeparator)])}default:return e=>(i,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?i:null===o?[...i,ps(e,t)]:[...i,[ps(e,t),"=",ps(o,t)].join("")]}}(e),a={};for(const[e,o]of Object.entries(t))i(e)||(a[e]=o);const r=Object.keys(a);return!1!==e.sort&&r.sort(e.sort),r.map((i=>{const a=t[i];return void 0===a?"":null===a?ps(i,e):Array.isArray(a)?0===a.length&&"bracket-separator"===e.arrayFormat?ps(i,e)+"[]":a.reduce(o(i),[]).join("&"):ps(i,e)+"="+ps(a,e)})).filter((t=>t.length>0)).join("&")}function xs(t,e){e={decode:!0,...e};let[i,o]=os(t,"#");return void 0===i&&(i=t),{url:i?.split("?")?.[0]??"",query:ms(us(t),e),...e&&e.parseFragmentIdentifier&&o?{fragmentIdentifier:cs(o,e)}:{}}}function bs(t,e){e={encode:!0,strict:!0,[ns]:!0,...e};const i=gs(t.url).split("?")[0]||"";let o=fs({...ms(us(t.url),{sort:!1}),...t.query},e);o&&(o=`?${o}`);let a=function(t){let e="";const i=t.indexOf("#");return-1!==i&&(e=t.slice(i)),e}(t.url);if(t.fragmentIdentifier){const o=new URL(i);o.hash=t.fragmentIdentifier,a=e[ns]?o.hash:`#${t.fragmentIdentifier}`}return`${i}${o}${a}`}function ys(t,e,i){i={parseFragmentIdentifier:!0,[ns]:!1,...i};const{url:o,query:a,fragmentIdentifier:r}=xs(t,i);return bs({url:o,query:as(a,e),fragmentIdentifier:r},i)}var vs=Object.freeze({__proto__:null,extract:us,parse:ms,stringify:fs,parseUrl:xs,stringifyUrl:bs,pick:ys,exclude:function(t,e,i){return ys(t,Array.isArray(e)?t=>!e.includes(t):(t,i)=>!e(t,i),i)}}),ws={name:"cyy-ArsenalTop",data:()=>({lowCode:y,color:"#FD1738",userData:{userlevel:"",userinfoCompname:"",userTag:"",userinfoPhone:"",workingYears:"",totalTaskNum:"",companyAddress:""},identityhtml:"buy",userDataImg:{}}),props:{props:{autoPlay:Number,autoplayInterval:Number,direction:Number,siteName:String,mallSlogan:String,iconImg:String,couponImg:String,topImg:String,backImg:String,coupon:Number,marginTop:Number,marginBottom:Number,selectImg:Array,checkButton:Number,msgButton:Number,signInButton:Number,searchPlaceholder:String,categoryButton:Number,categoryButtonText:String},identity:String,isShopMode:{type:Boolean,default:!1},hideAddress:{type:Boolean,default:!1},pointsLabel:{type:String,default:"能量豆"},pointsValue:{type:[String,Number],default:"0"},shopSupplier:{type:Boolean,default:!1}},mounted(){if(y){this.userData={userlevel:"3星",userinfoCompname:"张伟",userTag:"精工",userinfoPhone:18987250932,workingYears:"12年",totalTaskNum:"85",companyAddress:"邯郸县丛台路"};const t=location.hash.replace(/[\\/#?]/g,""),e=vs.parse(t);this.identityhtml=e.tginfoScope??"","merchant"===this.identityhtml&&(this.userData.userTag="经销商"),"supplier"===this.identityhtml&&(this.userData.userTag="代理商"),console.log("打印this.identityhtml",this.identityhtml)}else this.identityhtml=this.identity;"tourist"!==this.identityhtml&&this.getIsLc()},computed:{resultArrImg:()=>t=>t[0]?.imgUrl||"https://static-rs.s3.cn-east-2.jdcloud-oss.com/decorate/66341675912421_.pic.jpg",autoplayResult(){return 0===this.props.autoPlay},directionResult(){return 0!==this.props.direction},resultArr(){const{selectImg:t,defaultValue:e}=this.props,i=t.filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),console.log(52,o),o},shopSiteName(){return console.log(this.props,"props"),this.props.siteName||"邯郸县丛台路鼎灵五金建材经销处"},shopPointsText(){return this.props.pointsText?this.props.pointsText:`${this.pointsLabel}:${this.pointsValue}`},shopSearchPlaceholder(){return this.props.searchPlaceholder||"请输入你想要的商品"},showCategoryButton(){return 0===this.props.categoryButton||!0===this.props.categoryButton},categoryButtonText(){return this.props.categoryButtonText||"分类"},bgImageUrl(){const t=this.props.backImg||this.props.topImg;return t?t.replace(/([^:])\/+/g,"$1/"):""},swiperList(){return this.props.selectImg||[]},showSwiper(){return this.swiperList.length>0},autoPlay(){return 1===this.props.autoPlay||!0===this.props.autoPlay},autoplayInterval(){return this.props.autoplayInterval||1500},direction(){return this.props.direction||0}},methods:{getIsLc(){let t=this;if(!y)return this.getUser(t)},async getUser(t){const e=await t.http.get("/web/um/userservice/getUser.json");this.userData=e.dataObj;const i=await t.http.get("/web/um/card/getUmCardForUser.json");this.userDataImg=i},classifyPhotoCorner:t=>20===t?10:50===t?20:t,setimg(t){const e=t.detail.current;this.color=this.props.selectImg[e]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},switchRole(){this.$emit("switchRole")},ToSearch1(){this.$emit("ToSearch1")},linkClick(t){this.$emit("linkClick",t)},onLogin(){this.$emit("onLogin")},changeIdentity(){this.$emit("changeIdentity")},goJumpUser(){this.$emit("goJumpUser")},onMessage(){this.$emit("onMessage")},handleSwitch(){this.$emit("linkClick",{link:this.props.switchLink||"无操作"})},handleClass(){this.$emit("ToClass")},onSwiperChange(t){this.$emit("swiperChange",t.detail)},onSwiperClick(t){t.link&&this.$emit("linkClick",{link:t.link})}}};const ks=t=>(u("data-v-711659ed"),t=t(),m(),t),Ss={key:0,class:"shop-top"},Cs={class:"shop-top__bg"},Bs=["src"],js={class:"shop-top__content"},Ts={key:0,class:"shop-top__address"},As={class:"shop-top__address-left"},_s=ks((()=>s("image",{class:"shop-top__location-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame%402x.png",mode:"aspectFit"},null,-1))),Ns={class:"shop-top__site-name"},Ls=[ks((()=>s("image",{class:"shop-top__switch-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame246%402x.png",mode:"aspectFit"},null,-1))),ks((()=>s("text",{class:"shop-top__switch-text"},"切换",-1)))],Is={key:1,class:"shop-top__address"},zs={class:"shop-top__address-left"},Ps=ks((()=>s("image",{class:"shop-top__location-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame%402x.png",mode:"aspectFit"},null,-1))),Ds={class:"shop-top__site-name"},Os=[ks((()=>s("image",{class:"shop-top__switch-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame246%402x.png",mode:"aspectFit"},null,-1))),ks((()=>s("text",{class:"shop-top__switch-text"},"切换",-1)))],Fs={key:2,class:"shop-top__points-row"},Rs=ks((()=>s("image",{class:"shop-top__points-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame63%402x.png",mode:"aspectFit"},null,-1))),Ms={key:0,class:"shop-top__points-text"},Us={key:3,class:"shop-top__points-row"},$s=ks((()=>s("image",{class:"shop-top__points-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame63%402x.png",mode:"aspectFit"},null,-1))),Es={class:"shop-top__points-text"},Gs={class:"shop-top__search-row"},Ks={class:"shop-top__placeholder"},qs=ks((()=>s("image",{class:"shop-top__search-icon-img",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/sousuo.png",mode:"aspectFit"},null,-1))),Vs={class:"shop-top__class-text"},Ws={key:4,class:"shop-top__swiper-wrap"},Qs=["src"],Hs={key:1,class:"Box"},Ys={key:0,class:"boxBgL"},Js={key:1,class:"boxBg"},Xs=ks((()=>s("div",{class:"header-title name"},[s("span",null,"日丰工匠家"),s("img",{class:"ichulinewhite",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichulinewhite%402x.png",style:{width:"36rpx",height:"36rpx"}})],-1))),Zs={key:0,class:"btn nameIcon",style:{right:"20px"}},tn=ks((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/message.png",style:{width:"18px",height:"18px"}},null,-1))),en=[ks((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/checkin.png",style:{width:"18px",height:"18px"}},null,-1))),ks((()=>s("span",{class:"massage"},"签到",-1)))],on={class:"worterMan"},an={key:0,class:"user-details"},rn=ks((()=>s("div",{class:"avatar-container"},[s("img",{class:"avatar",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/maskgroup2x.png",mode:"aspectFill"})],-1))),sn={class:"worterManOther"},nn=ks((()=>s("div",{class:"user-name-row"},[s("span",{class:"user-name"},"你好!")],-1))),ln={class:"user-contactLogin"},pn=ks((()=>s("span",{class:"loginJingcai"}," 登录后享更多精彩",-1))),cn=[ks((()=>s("span",{class:"loginSpan"},"立即登录",-1)))],dn={key:3,class:"worterMan"},gn={key:0,class:"avatar-container"},hn=["src"],un={key:1,class:"avatar",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/maskgroup2x.png",mode:"aspectFill"},mn={class:"worterManOther"},fn={class:"user-name-row"},xn={class:"user-name"},bn={class:"expert-tag"},yn={key:0,src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/ic%EF%BC%8F%E8%BA%AB%E4%BB%BD.png",style:{width:"22px",height:"22px"}},vn={key:1,src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/shenfen2.png",style:{width:"22px",height:"22px"}},wn={class:"tag-text"},kn={class:"user-contact"},Sn=ks((()=>s("img",{style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icphone%402x.png"},null,-1))),Cn={class:"phone-number"},Bn={key:0,class:"work-info"},jn={key:1,class:"work-all"},Tn={key:2,style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/address2.png"},An={key:3,class:"work-all"},_n=ks((()=>s("div",{style:{height:"8px"}},null,-1))),Nn={key:4,class:"employee"},Ln={class:"employeeOne"},In={class:"employeeOneLeft"},zn={class:"employeeOneRight"},Pn=ks((()=>s("img",{class:"employeeOneRightImg",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/shenfen2.png"},null,-1))),Dn={class:"employeeOneRightE"},On={key:0,class:"worterManOther"},Fn={class:"user-contact"},Rn=ks((()=>s("img",{style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icphone%402x.png"},null,-1))),Mn={class:"phone-number"},Un=ks((()=>s("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),$n=["src"],En={key:3},Gn={class:"swiper"},Kn=["src","onClick"];Sa(".holder[data-v-711659ed]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-711659ed]{border-radius:6px;height:auto;width:100%}@media (max-width:320px){.swiperBox[data-v-711659ed]{height:116.37507px}}@media (min-width:321px) and (max-width:360px){.swiperBox[data-v-711659ed]{height:132.10144px}}@media (min-width:361px) and (max-width:375px){.swiperBox[data-v-711659ed]{height:137.99882px}}@media (min-width:376px) and (max-width:390px){.swiperBox[data-v-711659ed]{height:143.89621px}}@media (min-width:391px) and (max-width:412px){.swiperBox[data-v-711659ed]{height:152.5457px}}@media (min-width:413px) and (max-width:414px){.swiperBox[data-v-711659ed]{height:153.33202px}}@media (min-width:415px) and (max-width:428px){.swiperBox[data-v-711659ed]{height:158.83625px}}@media (min-width:429px) and (max-width:430px){.swiperBox[data-v-711659ed]{height:159.62257px}}@media (min-width:431px) and (max-width:440px){.swiperBox[data-v-711659ed]{height:163.55416px}}@media (min-width:441px) and (max-width:450px){.swiperBox[data-v-711659ed]{height:167.48575px}}@media (min-width:451px) and (max-width:460px){.swiperBox[data-v-711659ed]{height:171.41734px}}@media (min-width:461px) and (max-width:475px){.swiperBox[data-v-711659ed]{height:177.31472px}}@media (min-width:476px) and (max-width:490px){.swiperBox[data-v-711659ed]{height:183.21211px}}@media (min-width:491px) and (max-width:505px){.swiperBox[data-v-711659ed]{height:189.10949px}}@media (min-width:506px) and (max-width:550px){.swiperBox[data-v-711659ed]{height:206.80165px}}@media (min-width:551px) and (max-width:700px){.swiperBox[data-v-711659ed]{height:265.77551px}}@media (min-width:701px) and (max-width:768px){.swiperBox[data-v-711659ed]{height:292.51032px}}@media (min-width:769px) and (max-width:800px){.swiperBox[data-v-711659ed]{height:305.09141px}}@media (min-width:801px) and (max-width:1024px){.swiperBox[data-v-711659ed]{height:393.15903px}}.swiperBox .swiper .swiper-content[data-v-711659ed],.swiperBox .swiper[data-v-711659ed]{height:100%;width:100%}.swiperBox .swiper .swiper-content .img-item[data-v-711659ed]{box-sizing:border-box;padding:0 12.5px}.swiperBox .swiper img[data-v-711659ed]{border-radius:6px;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.Box[data-v-711659ed]{position:relative;width:100%}.boxBg[data-v-711659ed]{left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg .one[data-v-711659ed]{background-position:top;background-repeat:no-repeat;background-size:contain;width:100%}@media (max-width:320px){.boxBg .one[data-v-711659ed]{height:216.8224px}}@media (min-width:321px) and (max-width:360px){.boxBg .one[data-v-711659ed]{height:243.9252px}}@media (min-width:361px) and (max-width:375px){.boxBg .one[data-v-711659ed]{height:254.08875px}}@media (min-width:376px) and (max-width:390px){.boxBg .one[data-v-711659ed]{height:264.2523px}}@media (min-width:391px) and (max-width:412px){.boxBg .one[data-v-711659ed]{height:279.15884px}}@media (min-width:413px) and (max-width:414px){.boxBg .one[data-v-711659ed]{height:280.51398px}}@media (min-width:415px) and (max-width:428px){.boxBg .one[data-v-711659ed]{height:289.99996px}}@media (min-width:429px) and (max-width:430px){.boxBg .one[data-v-711659ed]{height:291.3551px}}@media (min-width:431px) and (max-width:440px){.boxBg .one[data-v-711659ed]{height:298.1308px}}@media (min-width:441px) and (max-width:450px){.boxBg .one[data-v-711659ed]{height:304.9065px}}@media (min-width:451px) and (max-width:460px){.boxBg .one[data-v-711659ed]{height:311.6822px}}@media (min-width:461px) and (max-width:475px){.boxBg .one[data-v-711659ed]{height:321.84575px}}@media (min-width:476px) and (max-width:490px){.boxBg .one[data-v-711659ed]{height:332.0093px}}@media (min-width:491px) and (max-width:505px){.boxBg .one[data-v-711659ed]{height:342.17285px}}@media (min-width:506px) and (max-width:550px){.boxBg .one[data-v-711659ed]{height:372.6635px}}@media (min-width:551px) and (max-width:700px){.boxBg .one[data-v-711659ed]{height:474.299px}}@media (min-width:701px) and (max-width:768px){.boxBg .one[data-v-711659ed]{height:520.37376px}}@media (min-width:769px) and (max-width:800px){.boxBg .one[data-v-711659ed]{height:542.056px}}@media (min-width:801px) and (max-width:1024px){.boxBg .one[data-v-711659ed]{height:693.83168px}}.boxBgL[data-v-711659ed]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL .one[data-v-711659ed]{height:150px;width:100%}.boxBgL .two[data-v-711659ed]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.employee[data-v-711659ed]{background:linear-gradient(93deg,hsla(0,0%,100%,.4),hsla(0,0%,100%,.8) 45.85%,hsla(0,0%,100%,0));-o-border-image:linear-gradient(273deg,#fff,#c9e2ff,#fff) 1 1;border-image:linear-gradient(273deg,#fff,#c9e2ff,#fff) 1 1;border-radius:8px 8px 8px 8px;box-shadow:0 0 0 1px #fff;margin:0 12px 12px;padding:16px;position:relative}.employee .employeeOne[data-v-711659ed]{display:flex}.employee .employeeOne .employeeOneLeft[data-v-711659ed]{color:#1c253a;font-family:PingFang SC;font-size:16px;font-weight:500;margin-right:8px}.employee .employeeOne .employeeOneRight .employeeOneRightImg[data-v-711659ed]{display:inline-block;height:24px;transform:translate(19px);width:24px}.employee .employeeOne .employeeOneRight .employeeOneRightE[data-v-711659ed]{background:linear-gradient(81deg,hsla(0,0%,100%,.6),hsla(0,0%,100%,0));border-radius:8px;box-shadow:0 0 0 1px #fff;color:#0081cc;display:inline-block;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:20px;padding:1px 6px 1px 22px}.employee .employeeTwo[data-v-711659ed]{display:flex;margin-top:10px}.employee .employeeTwo img[data-v-711659ed]{height:16px;width:16px}.employee .employeeTwo .number[data-v-711659ed]{color:#394259;font-family:Montserrat;font-size:12px;font-weight:400;line-height:16px;margin-left:4px}.address[data-v-711659ed]{display:flex;justify-content:space-between;padding:10px 12.5px}.address .addressLeft[data-v-711659ed]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:700}.address .addressLeft img[data-v-711659ed]{margin-right:5px}.address .addressRight[data-v-711659ed]{background:linear-gradient(270deg,#95d1f5,#bee2fc);border-radius:0 0 0 0;border-radius:73px 0 0 73px;box-shadow:0 4px 10px 0 rgba(0,129,204,.1);padding:3px 20px 3px 10px;transform:translate(12px,-2px)}.address .addressRight img[data-v-711659ed]{height:11px;margin-right:9px;width:13px}.address .addressRight .addressRspan[data-v-711659ed]{color:#0081cc;font-family:PingFang SC;font-size:12px;font-weight:500}.points[data-v-711659ed]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:700;padding:0 12.5px}.points img[data-v-711659ed]{margin-right:5px}.search[data-v-711659ed]{display:flex;justify-content:space-between;margin:18px 12.5px 16px}.search--input[data-v-711659ed]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);height:32px;position:relative;width:82%}.search--input--box[data-v-711659ed]{color:#878e98;font-family:PingFang SC;font-size:13px;font-weight:400;line-height:32px;margin-left:14px}.search--input--icon[data-v-711659ed]{align-items:center;border-radius:17.5px;display:flex;height:22px;justify-content:center;position:absolute;right:5px;top:5px;width:27.5px}.search .searchClass[data-v-711659ed]{background:#fff;border-radius:42px;color:#0081cc;font-family:PingFang SC;font-weight:700;line-height:25px;padding:8px 16px}.tag[data-v-711659ed]{display:flex;padding:7px 0}.tag--item[data-v-711659ed]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-711659ed]{display:flex;height:40px;justify-content:center}.title-l .title-t[data-v-711659ed]{color:#1c253a;font-size:19px;line-height:42px;padding-left:22px}.lowCode-warp[data-v-711659ed]{padding:0 20px}.coupon[data-v-711659ed]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon img[data-v-711659ed]{height:55px;width:55px}.worterMan[data-v-711659ed]{padding:10px 12.5px}.user-details[data-v-711659ed]{background:linear-gradient(93deg,hsla(0,0%,100%,.4),hsla(0,0%,100%,.8) 45.85%,hsla(0,0%,100%,0));border-radius:8px;box-shadow:0 0 0 1px #fff;display:flex;padding:8px 0 12px 8px;position:relative}.user-details .avatar-container[data-v-711659ed]{margin-right:20px;position:relative}.user-details .avatar-container .avatar[data-v-711659ed]{border-radius:50px;height:64px;width:64px}.user-details .avatar-container .star[data-v-711659ed]{align-items:center;background:#1677ff;border-radius:5px;bottom:0;box-shadow:0 0 2px rgba(0,0,0,.2);display:flex;font-size:10px;gap:5px;height:16px;justify-content:center;left:50%;position:absolute;transform:translateX(-50%);width:50px}.user-name-row[data-v-711659ed]{align-items:center;display:flex;position:relative}.user-name[data-v-711659ed]{color:#000;font-size:16px;font-weight:500;margin-right:16px}.expert-tag[data-v-711659ed]{align-items:center;background-color:hsla(0,0%,100%,.3);border-radius:12px;display:flex;gap:4px;padding:2px 8px}.tag-text[data-v-711659ed]{color:#fff;color:#0081cc;font-family:PingFang SC;font-size:12px;font-weight:500}.switch-btn[data-v-711659ed]{background:linear-gradient(270deg,#d7f0ff,#bee2fc);border-radius:8px 0 0 8px;box-shadow:0 4px 10px 0 rgba(0,129,204,.1);padding:2px 10px 2px 14px;right:0;top:10px}.switch-btnLogin[data-v-711659ed],.switch-btn[data-v-711659ed]{color:#0081cc;font-size:12px;line-height:20px;position:absolute}.switch-btnLogin[data-v-711659ed]{background:linear-gradient(0deg,#8acaf0,#0081cc);border-radius:14px;box-shadow:0 4px 12px 0 rgba(75,175,234,.2);padding:4px 24px;right:16px;top:28px}.switch-btnLogin .loginSpan[data-v-711659ed]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:22px}.user-contact[data-v-711659ed]{color:#fff;font-size:12px}.user-contactLogin[data-v-711659ed],.user-contact[data-v-711659ed]{align-items:center;display:flex;margin-top:18px;opacity:.9}.phone-number[data-v-711659ed]{color:#000;font-size:12px;margin-right:12px}.work-all[data-v-711659ed],.work-info[data-v-711659ed]{color:#000;font-size:12px;margin-right:12px;opacity:.8}.loginClass[data-v-711659ed]{color:#fff;font-size:18px}.btn[data-v-711659ed]{align-items:center;background:linear-gradient(100deg,hsla(0,0%,100%,.6),hsla(0,0%,100%,0));border:1px solid #fff;border-radius:8px;display:flex;gap:5px;height:28px;justify-content:center;line-height:1;padding:5px;position:absolute;width:70px}.btn .massage[data-v-711659ed]{color:#fff;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:1}.btn .icon[data-v-711659ed]{color:#fff}.header-title[data-v-711659ed]{color:#fff;font-family:YouSheBiaoTiHei;font-size:20px;font-weight:700;position:relative}.nav-bar[data-v-711659ed]{position:relative}.nav-bar .name[data-v-711659ed]{color:#fff;font-size:18px;left:22px;position:absolute}.ichulinewhite[data-v-711659ed]{left:28px;position:absolute;top:17px}.loginJingcai[data-v-711659ed]{color:#394259;font-family:PingFang SC;font-size:24rpx;font-style:normal;font-weight:400;line-height:40rpx;text-align:left;text-transform:none}.shop-top[data-v-711659ed]{padding:20rpx 30rpx 0;position:relative}.shop-top__bg[data-v-711659ed]{height:300rpx;left:0;position:absolute;right:0;top:0;z-index:0}.shop-top__bg-img[data-v-711659ed]{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.shop-top__content[data-v-711659ed]{position:relative;z-index:1000}.shop-top__address[data-v-711659ed]{align-items:center;display:flex;justify-content:space-between;margin-bottom:32rpx}.shop-top__address-left[data-v-711659ed]{align-items:center;display:flex;flex:1}.shop-top__location-icon[data-v-711659ed]{flex-shrink:0;height:28rpx;margin-right:10rpx;width:28rpx}.shop-top__site-name[data-v-711659ed]{color:#fff;font-size:26rpx;font-weight:500;max-width:480rpx;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-top__address-right[data-v-711659ed]{align-items:center;background:linear-gradient(270deg,#95d1f5,#bee2fc);border-radius:30rpx 0 0 30rpx;display:flex;margin-right:-30rpx;padding:6rpx 16rpx}.shop-top__switch-icon[data-v-711659ed]{height:24rpx;margin-right:8rpx;width:24rpx}.shop-top__switch-text[data-v-711659ed]{color:#0081cc;font-size:24rpx;font-weight:500}.shop-top__points-row[data-v-711659ed]{align-items:center;display:flex;font-size:26rpx;margin-bottom:20rpx;padding-left:4rpx}.shop-top__points-icon[data-v-711659ed]{flex-shrink:0;height:32rpx;margin-right:10rpx;width:32rpx}.shop-top__points-text[data-v-711659ed]{color:#fff;font-size:26rpx;font-weight:600}.shop-top__search-row[data-v-711659ed]{align-items:center;display:flex;gap:20rpx}.shop-top__search-box[data-v-711659ed]{align-items:center;background:#fff;border-radius:36rpx;box-shadow:0 4rpx 12rpx rgba(0,0,0,.1);display:flex;flex:1;height:72rpx;justify-content:space-between;padding:0 24rpx}.shop-top__placeholder[data-v-711659ed]{color:#999;font-size:26rpx}.shop-top__search-icon-img[data-v-711659ed]{height:36rpx;width:36rpx}.shop-top__class-btn[data-v-711659ed]{align-items:center;background:#fff;border-radius:36rpx;box-shadow:0 4rpx 12rpx rgba(0,0,0,.1);box-sizing:border-box;display:flex;height:72rpx;justify-content:center;line-height:72rpx;padding:0 28rpx}.shop-top__class-text[data-v-711659ed]{color:#0081cc;font-size:28rpx;font-weight:600}.shop-top__swiper-wrap[data-v-711659ed]{margin-top:32rpx;overflow:hidden}.shop-top__swiper-img[data-v-711659ed],.shop-top__swiper-wrap[data-v-711659ed],.shop-top__swiper[data-v-711659ed]{border-radius:16rpx;height:360rpx;width:686rpx}"),ws.render=function(l,p,u,m,x,b){const y=c("swiper-item"),v=c("swiper"),w=c("block");return t(),e("div",null,[u.isShopMode?(t(),e("view",Ss,[s("view",Cs,[b.bgImageUrl?(t(),e("image",{key:0,class:"shop-top__bg-img",src:b.bgImageUrl,mode:"aspectFill"},null,8,Bs)):n("",!0)]),s("view",js,[u.hideAddress?n("",!0):(t(),e("view",Ts,[s("view",As,[_s,s("text",Ns,o(b.shopSiteName),1)]),s("view",{class:"shop-top__address-right",onClick:p[0]||(p[0]=(...t)=>b.handleSwitch&&b.handleSwitch(...t))},Ls)])),u.shopSupplier?(t(),e("view",Is,[s("view",zs,[Ps,s("text",Ds,o(l.$storage.get("selectSupplier").agencyName),1)]),s("view",{class:"shop-top__address-right",onClick:p[1]||(p[1]=(...t)=>b.switchRole&&b.switchRole(...t))},Os)])):n("",!0),"积分"==u.pointsLabel&&"buy"==l.$storage.get("userinfoQuality")?(t(),e("view",Fs,[Rs,"buy"==l.$storage.get("userinfoQuality")?(t(),e("text",Ms,o(u.pointsLabel)+":"+o(l.$storage.get("selectSupplier").unusedScoreA),1)):n("",!0)])):"能量豆"==u.pointsLabel?(t(),e("view",Us,[$s,s("text",Es,o(b.shopPointsText),1)])):n("",!0),s("view",Gs,[s("view",{class:"shop-top__search-box",onClick:p[2]||(p[2]=(...t)=>b.ToSearch&&b.ToSearch(...t))},[s("text",Ks,o(b.shopSearchPlaceholder),1),qs]),b.showCategoryButton?(t(),e("view",{key:0,class:"shop-top__class-btn",onClick:p[3]||(p[3]=(...t)=>b.handleClass&&b.handleClass(...t))},[s("text",Vs,o(b.categoryButtonText),1)])):n("",!0)]),b.showSwiper?(t(),e("view",Ws,[d(v,{class:"shop-top__swiper","indicator-dots":!0,autoplay:b.autoPlay,interval:b.autoplayInterval,circular:!0,vertical:1===b.direction,onChange:b.onSwiperChange},{default:g((()=>[(t(!0),e(a,null,r(b.swiperList,((e,i)=>(t(),h(y,{key:i,onClick:t=>b.onSwiperClick(e)},{default:g((()=>[s("image",{class:"shop-top__swiper-img",src:e.imgUrl,mode:"aspectFill"},null,8,Qs)])),_:2},1032,["onClick"])))),128))])),_:1},8,["autoplay","interval","vertical","onChange"])])):n("",!0)])])):(t(),e("div",Hs,[x.lowCode?(t(),e("div",Ys,[s("div",{class:"one",style:i({backgroundImage:"url("+u.props.backImg+")"})},null,4)])):(t(),e("div",Js,[s("div",{class:"one",style:i({backgroundImage:"url("+u.props.backImg+")"})},null,4)])),x.lowCode?(t(),e("div",{key:2,class:"nav-bar",style:i({width:"100%",height:"28px",backgroundImage:"url("+u.props.topImg+")"})},[Xs,0==u.props.msgButton?(t(),e("div",Zs,[tn,s("span",{class:"massage",onClick:p[4]||(p[4]=(...t)=>b.onMessage&&b.onMessage(...t))},"消息")])):n("",!0),0==u.props.signInButton?(t(),e("div",{key:1,class:"btn nameIcon",style:i({right:0!==u.props.msgButton?"20px":"120px"})},en,4)):n("",!0)],4)):n("",!0),s("div",on,["tourist"===x.identityhtml?(t(),e("div",an,[rn,s("div",sn,[nn,s("div",ln,[pn,s("div",{class:"switch-btnLogin",onClick:p[5]||(p[5]=f(((...t)=>b.onLogin&&b.onLogin(...t)),["stop"]))},cn)])])])):n("",!0)]),"buy"===x.identityhtml||"merchant"===x.identityhtml?(t(),e("div",dn,[s("div",{class:"user-details",onClick:p[7]||(p[7]=(...t)=>b.goJumpUser&&b.goJumpUser(...t))},["buy"===x.identityhtml?(t(),e("div",gn,[x.userDataImg.noticePicurl?(t(),e("img",{key:0,class:"avatar",src:x.userDataImg.noticePicurl,mode:"aspectFill"},null,8,hn)):(t(),e("img",un))])):n("",!0),s("div",mn,[s("div",fn,[s("span",xn,o(x.userData.userinfoCompname||""),1),s("div",bn,["buy"===x.identityhtml?(t(),e("img",yn)):n("",!0),"merchant"===x.identityhtml?(t(),e("img",vn)):n("",!0),s("span",wn,o(x.userData.userTag||""),1)])]),s("div",kn,[Sn,s("span",Cn,o(x.userData.userinfoPhone||""),1),"buy"===x.identityhtml?(t(),e("span",Bn,"丰龄"+o(x.userData.workingYears||""),1)):n("",!0),"buy"===x.identityhtml?(t(),e("span",jn,"总工单 "+o(x.userData.totalTaskNum||0)+"单",1)):n("",!0),"merchant"===x.identityhtml?(t(),e("img",Tn)):n("",!0),"merchant"===x.identityhtml?(t(),e("span",An,o(x.userData.companyAddress||""),1)):n("",!0)])]),0===u.props.checkButton?(t(),e("div",{key:1,class:"switch-btn",onClick:p[6]||(p[6]=f(((...t)=>b.changeIdentity&&b.changeIdentity(...t)),["stop"]))}," 切换身份 ")):n("",!0)])])):n("",!0),_n,"supplier"===x.identityhtml?(t(),e("div",Nn,[s("div",Ln,[s("div",In,o(x.userData.userinfoCompname||""),1),s("div",zn,[Pn,s("div",Dn,o(x.userData.userTag||""),1)])]),1===x.userData.userType?(t(),e("div",On,[s("div",Fn,[Rn,s("span",Mn,o(x.userData.userinfoPhone||""),1)])])):n("",!0),0===u.props.checkButton&&1===x.userData.userType?(t(),e("div",{key:1,class:"switch-btn",onClick:p[8]||(p[8]=(...t)=>b.changeIdentity&&b.changeIdentity(...t))}," 切换身份 ")):n("",!0)])):n("",!0),n("",!0),n("",!0),n("",!0),Un])),x.lowCode&&!u.isShopMode?(t(),e("div",{key:2,class:"lowCode-warp",style:i({marginTop:u.props.marginTop+"px",marginBottom:u.props.marginBottom+"px"})},[s("img",{src:b.resultArrImg(b.resultArr),alt:"",style:{width:"100%"}},null,8,$n),s("ul",null,[(t(!0),e(a,null,r(b.resultArr,((i,o)=>(t(),e("li",{key:o})))),128))])],4)):u.isShopMode?n("",!0):(t(),e("div",En,[s("div",{class:"swiperBox",style:i({marginTop:u.props.marginTop+"px",marginBottom:u.props.marginBottom+"px"})},[s("div",Gn,[d(v,{interval:"4000",class:"swiper-content",circular:"true",vertical:b.directionResult,autoplay:b.autoplayResult,duration:u.props.autoplayInterval,onChange:b.setimg},{default:g((()=>[(t(!0),e(a,null,r(b.resultArr,((e,o)=>(t(),h(w,{key:o},{default:g((()=>[d(y,{class:"img-item"},{default:g((()=>[s("img",{style:i({bordeRadius:b.classifyPhotoCorner(u.props.photoCorner)+"px"}),"lazy-load":!0,src:e.imgUrl,onClick:t=>b.linkClick(e)},null,12,Kn)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)]))])},ws.__scopeId="data-v-711659ed";var qn={props:{props:{live:Array,title:String,cover:String,marginTop:Number,marginBottom:Number}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"}}),computed:{liveTitle(){return this.props.title&&""!==this.props.title?this.props.title:this.props.live.infuencerName},liveCover(){return this.props.cover&&""!==this.props.cover?this.props.cover:this.props.live.infuencerUrl1},liveState(){let t="";switch(this.props.live.dataState){case 0:t="初始化";break;case 1:t="上传直播间";break;case 101:t="直播中";break;case 102:t="未开始";break;case 103:t="已结束";break;case 104:t="禁播";break;case 105:t="暂停";break;case 106:t="异常";break;case 107:t="已过期"}return t}},methods:{handleToLive(){if(y)return;let t=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${t}`})}}};const Vn=["src"],Wn={class:"liveState"},Qn={class:"liveIntroduction"},Hn={class:"liveTitle"},Yn={class:"anchorName"};Sa(".live[data-v-0b07f37b]{display:flex;padding:10px}.live .liveCover[data-v-0b07f37b]{height:140px;position:relative;width:140px}.live .liveCover img[data-v-0b07f37b]{height:100%;width:100%}.live .liveCover .liveState[data-v-0b07f37b]{background-color:red;color:#fff;font-size:12px;left:0;padding:.25em .5em;position:absolute;top:0}.live .liveIntroduction[data-v-0b07f37b]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px;width:190px}.live .liveIntroduction .liveTitle[data-v-0b07f37b]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;font-size:14px;overflow:hidden;text-overflow:ellipsis}.live .liveIntroduction .anchorName[data-v-0b07f37b]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}"),qn.render=function(a,r,n,l,p,c){return t(),e("div",null,[n.props.live?(t(),e("div",{key:1,class:"live",style:i({marginTop:`${n.props.marginTop}px`,marginBottom:`${n.props.marginBottom}px`})},[s("div",{class:"liveCover",onClick:r[0]||(r[0]=t=>c.handleToLive())},[s("img",{src:c.liveCover},null,8,Vn),s("div",Wn,o(c.liveState),1)]),s("div",Qn,[s("div",Hn,o(c.liveTitle),1),s("div",Yn,o(n.props.live.infuencerInfname),1)])],4)):(t(),e("div",{key:0,style:i(p.noDataStyle)},"请选择直播",4))])},qn.__scopeId="data-v-0b07f37b";const Jn=async t=>{const e=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+t,{method:"POST",headers:{"saas-token":e,"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},credentials:"include"}).then((t=>t.json())).then(((t={})=>t))};var Xn={props:{props:{notice:{notice:Array,vertical:Boolean,color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({noDataStyle:{width:"100%",height:"180px",lineHeight:"180px",fontSize:"30px",backgroundColor:"#ccc",color:"#aaa",textAlign:"center"},noticeList:[],currentIndex:0}),mounted(){this.getIsLc()},methods:{getIsLc(){let t=this;return y?this.LcGetNotice(t):this.getNotice(t)},async LcGetNotice(t){const e=location.hash.replace(/[\\/#?]/g,"");vs.parse(e).modelTagvalueId;const i=`${C}?dataState=1`,o=await Jn(i);t.noticeList=o.list},async getNotice(t){const e=await t.http.get(`${C}`,{dataState:1});t.noticeList=e.list},onSwiperChange(t){this.currentIndex=t.detail.current},handleToNotice(){if(y)return;const t=this.noticeList[this.currentIndex];t&&t.noticeId&&this.$routers.push("/pages/noticeDedail/main",{id:t.noticeId})}}};const Zn=t=>(u("data-v-101db0c2"),t=t(),m(),t),tl=Zn((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icnotice%402x.png",style:{width:"22px",height:"22px","margin-left":"16px","margin-right":"8px"}},null,-1))),el={class:"notice-content"},il={class:"noticeTag"},ol=Zn((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/ic_com_listmore%402x.png",style:{width:"16px",height:"16px","margin-right":"16px"}},null,-1)));Sa(".noticeBox[data-v-101db0c2]{align-items:center;background:rgba(97,149,255,.1)!important;border-radius:8px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-sizing:border-box;cursor:pointer;display:flex;height:44px}.noticeBox .noticeTag[data-v-101db0c2]{background:linear-gradient(270deg,#d7f0ff,#bee2fc);border:1px solid #0081cc;border-radius:8px;color:#0081cc;font-size:11px;margin-right:7px;padding:1px 3px}.noticeBox .notice-logo[data-v-101db0c2]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox .notice-logo span[data-v-101db0c2]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox .notice-content[data-v-101db0c2]{flex:1;overflow:hidden}.noticeBox .notice-content .notice-list[data-v-101db0c2]{display:flex;flex-direction:column;height:22px}.noticeBox .notice-content .notice-list .swiper-item[data-v-101db0c2]{color:#394259;font-family:PingFang SC;font-size:13px;font-weight:400;line-height:22px}"),Xn.render=function(n,l,p,u,m,f){const x=c("swiper-item"),b=c("swiper");return t(),e("div",null,[m.noticeList&&0!==m.noticeList.length?(t(),e("div",{key:1,class:"noticeBox",style:i({marginTop:`${p.props.marginTop}px`,marginBottom:`${p.props.marginBottom}px`,backgroundColor:`${p.props.backgroundColor}`}),onClick:l[0]||(l[0]=(...t)=>f.handleToNotice&&f.handleToNotice(...t))},[tl,s("div",el,[d(b,{class:"notice-list",vertical:p.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000",onChange:f.onSwiperChange},{default:g((()=>[(t(!0),e(a,null,r(m.noticeList,(e=>(t(),h(x,{key:e.noticeId},{default:g((()=>[s("div",{class:"swiper-item",style:i({color:`${p.props.color}`})},[s("span",il,o("运营端"===e.memberName?"平台":"代理商"),1),s("span",null,o(e.noticeTitle),1)],4)])),_:2},1024)))),128))])),_:1},8,["vertical","onChange"])]),ol],4)):(t(),e("div",{key:0,style:i(m.noDataStyle)},"请选择公告",4))])},Xn.__scopeId="data-v-101db0c2";var al={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp(t,e){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let t={};return this.height&&(t.height=this.height+"rpx",t.width=this.height+"rpx"),this.showBorder&&(t.borderStyle="solid",t.borderColor=this.borderColor,t.borderWidth="1px"),this.bgColor&&(t.backgroundColor=this.bgColor),t},letterStyle(){let t={};return this.fontSize&&(t.fontSize=this.fontSize+"rpx"),this.color&&(t.color=this.color),t}},mounted(){this.autoplay&&this.timestamp&&this.start()},methods:{start(){this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((()=>{if(this.seconds--,this.$emit("change",this.seconds),this.seconds<0)return this.end();this.formatTime(this.seconds)}),1e3))},formatTime(t){t<=0&&this.end();let[e,i,o,a]=[0,0,0,0];e=Math.floor(t/86400),i=Math.floor(t/3600)-24*e;let r=null;r=this.showDays?i:Math.floor(t/3600),o=Math.floor(t/60)-60*i-24*e*60,a=Math.floor(t)-24*e*60*60-60*i*60-60*o,r=r<10?"0"+r:r,o=o<10?"0"+o:o,a=a<10?"0"+a:a,e=e<10?"0"+e:e,this.d=e,this.h=r,this.i=o,this.s=a},end(){this.clearTimer(),this.$emit("end",{})},clearTimer(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy(){clearInterval(this.timer),this.timer=null}};const rl={class:"u-countdown"};Sa(".u-countdown[data-v-4f36f3d2]{align-items:center;display:flex}.u-countdown-item[data-v-4f36f3d2]{align-items:center;border-radius:3px;display:flex;flex-direction:row;justify-content:center;padding:1px;transform:translateZ(0);white-space:nowrap}.u-countdown-time[data-v-4f36f3d2]{line-height:1;margin:0;padding:0}.u-countdown-colon[data-v-4f36f3d2]{align-items:center;display:flex;flex-direction:row;justify-content:center;line-height:1;padding:0 .5px 2px}.u-countdown-scale[data-v-4f36f3d2]{transform:scale(.9);transform-origin:center center}"),al.render=function(a,r,l,p,c,d){return t(),e("view",rl,[l.showDays&&(l.hideZeroDay||!l.hideZeroDay&&"00"!=c.d)?(t(),e("view",{key:0,class:"u-countdown-item",style:i([d.itemStyle])},[s("view",{class:"u-countdown-time",style:i([d.letterStyle])},o(c.d),5)],4)):n("",!0),l.showDays&&(l.hideZeroDay||!l.hideZeroDay&&"00"!=c.d)?(t(),e("view",{key:1,class:"u-countdown-colon",style:i({fontSize:l.separatorSize+"rpx",color:l.separatorColor,paddingBottom:"colon"==l.separator?"4rpx":0})},o("colon"==l.separator?":":"天"),5)):n("",!0),l.showHours?(t(),e("view",{key:2,class:"u-countdown-item",style:i([d.itemStyle])},[s("view",{class:"u-countdown-time",style:i({fontSize:l.fontSize+"rpx",color:l.color})},o(c.h),5)],4)):n("",!0),l.showHours?(t(),e("view",{key:3,class:"u-countdown-colon",style:i({fontSize:l.separatorSize+"rpx",color:l.separatorColor,paddingBottom:"colon"==l.separator?"4rpx":0})},o("colon"==l.separator?":":"时"),5)):n("",!0),l.showMinutes?(t(),e("view",{key:4,class:"u-countdown-item",style:i([d.itemStyle])},[s("view",{class:"u-countdown-time",style:i({fontSize:l.fontSize+"rpx",color:l.color})},o(c.i),5)],4)):n("",!0),l.showMinutes?(t(),e("view",{key:5,class:"u-countdown-colon",style:i({fontSize:l.separatorSize+"rpx",color:l.separatorColor,paddingBottom:"colon"==l.separator?"4rpx":0})},o("colon"==l.separator?":":"分"),5)):n("",!0),l.showSeconds?(t(),e("view",{key:6,class:"u-countdown-item",style:i([d.itemStyle])},[s("view",{class:"u-countdown-time",style:i({fontSize:l.fontSize+"rpx",color:l.color})},o(c.s),5)],4)):n("",!0),l.showSeconds&&"zh"==l.separator?(t(),e("view",{key:7,class:"u-countdown-colon",style:i({fontSize:l.separatorSize+"rpx",color:l.separatorColor,paddingBottom:"colon"==l.separator?"4rpx":0})}," 秒 ",4)):n("",!0)])},al.__scopeId="data-v-4f36f3d2";var sl={name:"u-line-progress",props:{round:{type:Boolean,default:!0},type:{type:String,default:""},activeColor:{type:String,default:"#19be6b"},inactiveColor:{type:String,default:"#ececec"},percent:{type:Number,default:0},showPercent:{type:Boolean,default:!0},height:{type:[Number,String],default:28},striped:{type:Boolean,default:!1},stripedActive:{type:Boolean,default:!1}},data:()=>({}),computed:{progressStyle(){let t={};return t.width=this.percent+"%",this.activeColor&&(t.backgroundColor=this.activeColor),t}},methods:{}};Sa(".u-progress[data-v-6b1ec6a3]{align-items:center;border-radius:3px;display:inline-flex;height:5px;overflow:hidden;width:152px}@media (max-width:320px){.u-progress[data-v-6b1ec6a3]{width:80px}}@media (min-width:321px) and (max-width:376px){.u-progress[data-v-6b1ec6a3]{width:132px}}.u-active[data-v-6b1ec6a3]{align-items:center;color:#fff;display:flex;font-size:10px;height:100%;justify-content:space-around;justify-items:flex-end;transition:all .4s ease;width:0}.u-striped[data-v-6b1ec6a3]{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:39px 39px}.u-striped-active[data-v-6b1ec6a3]{animation:progress-stripes-6b1ec6a3 2s linear infinite}@keyframes progress-stripes-6b1ec6a3{0%{background-position:0 0}to{background-position:39px 0}}"),sl.render=function(r,c,d,g,h,u){return t(),e("view",{class:"u-progress",style:i({borderRadius:d.round?"100rpx":0,height:d.height+"rpx",backgroundColor:d.inactiveColor})},[s("view",{class:l([[d.type?`u-type-${d.type}-bg`:"",d.striped?"u-striped":"",d.striped&&d.stripedActive?"u-striped-active":""],"u-active"]),style:i([u.progressStyle])},[r.$slots.default||r.$slots.$default?x(r.$slots,"default",{key:0}):d.showPercent?(t(),e(a,{key:1},[p(o(d.percent+"%"),1)],64)):n("",!0)],6)],4)},sl.__scopeId="data-v-6b1ec6a3";var nl={name:"cyy-ArsenalActivity",props:{props:{activityType:Number,countDown:Number,crossedPrice:Number,title:String,subTitle:String,backgroundColor:String,marginTop:Number,marginBottom:Number,activityList:Array}},components:{uContDown:al,uLineProgress:sl},data:()=>({lowCode:y,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=di(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>t=>"已终止"===t||"已抢空"===t?"#D7D7D7":"即将开始"===t?"#F59A23":"#ed4444",btnDataState:()=>(t,e)=>[-1,2,6].includes(t.dataState)?"已终止":[1].includes(t.dataState)?0===e.goodsSupplynum?"已抢空":"立即购买":[4].includes(t.dataState)?"即将开始":void 0,getPrice:()=>t=>"2"==t.pricesetType||"4"==t.pricesetType?"¥"+t.pricesetNprice:"3"==t.pricesetType?t.pricesetRefrice+"里程":t.pricesetNprice,activityCss:()=>t=>t.length?1===t.length?1:2===t.length?2:t.length>=3?3:"":"",diffFn:()=>t=>t?(t.goodsAhnum-t.goodsSupplynum)/t.goodsAhnum*100:"",minTime(){let t=[];this.secGoodList.forEach((e=>{t.push(e.gmtModified)}));for(let e=0;e<t.length-1;e++)for(let e=0;e<t.length-1;e++)if(t[e]>t[e+1]){let i=t[e];t[e]=t[e+1],t[e+1]=i}return t[0]},setPromotionDates:()=>(t,e)=>{let i=(new Date(e.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(e.promotionEndtime)-Date.parse(new Date))/1e3;return t.gmtCreate=i>0?i:0,t.gmtModified=o>0?o:0,{gmtCreate:t.gmtCreate,gmtModified:t.gmtModified}}},methods:{getIsLc(){let t=this;return y?this.LcGetSecGoodList(t):this.getSecGoodList(t)},async LcGetSecGoodList(t){if(0===t.props.activityType){const e="/web/pm/promotionSignUpCon/queryCouponBatchPage.json?rows=4&page=1&dataState=1",{list:i}=await Jn(e);if(0===i.length)return void(t.secGoodList=[]);const o=async()=>{for(let e=0;e<i.slice(0,4).length;e++){const o=await a(e);JSON.parse(o.promotionTerstr).pmPromotionRangeList.forEach((o=>{if(t.secGoodList.length<4){const{gmtCreate:a,gmtModified:r}=this.setPromotionDates(o,i[e]);o.gmtCreate=a,o.gmtModified=r,t.secGoodList.push(o)}}))}},a=async t=>await Jn(`/web/pm/promotionSignUpCon/getCouponBatchByCode.json?couponBatchCode=${i[t].couponBatchCode}`);o()}if(1===t.props.activityType){const e="/web/pm/promotion/queryPromotionPageGroupBuying.json?rows=4&page=1&dataState=1",{list:i}=await Jn(e);if(0===i.length)return void(t.secGoodList=[]);const o=async()=>{for(let e=0;e<i.slice(0,4).length;e++){(await a(e)).pmPromotionRangeList.forEach((o=>{if(t.secGoodList.length<4){const{gmtCreate:a,gmtModified:r}=this.setPromotionDates(o,i[e]);o.gmtCreate=a,o.gmtModified=r,t.secGoodList.push(o)}}))}},a=async t=>await Jn(`/web/pm/promotion/getPromotions.json?promotionId=${i[t].promotionId}`);o()}},changeOneChange(){this.getSecGoodList(this,"change")},async getSecGoodList(t,e=null){const i=(t,e=!1)=>{if(t&&(e?t.rows:t.list)&&(e?t.rows.length:t.list.length)){const i=e?t.rows:t.list;i.slice(0,3).forEach((t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,i=(t.promotionEndtime-Date.parse(new Date))/1e3;t.gmtCreate=e>0?e:0,t.gmtModified=i>0?i:0})),this.secGoodList=i.slice(0,4)}else this.secGoodList=[]};if(0===this.props.activityType){let o;if("change"===e&&this.props.activityList.length>1){const t=(t,e)=>{let i;do{i=Math.floor(Math.random()*t.length)}while(i===e);return i};this.changeNum=t(this.props.activityList,this.changeNum),o=this.props.activityList[this.changeNum]}else o=this.props.activityList[0];if(y){let t="";t=o?`${S}?pbCode=0007&dataStateStr=1,4,2,-1,6&rows=4&page=1&couponBatchCode=${o}`:`${S}?pbCode=0007&dataStateStr=1&rows=4&page=1&orderStr=PROMOTION_ENDTIME asc`;const{list:e}=await Jn(t);i({list:e})}else{let e={pbCode:"0007",dataStateStr:"1,4,2,-1,6",rows:4,page:1,couponBatchCode:o};o||(e.dataStateStr="1",e.orderStr="PROMOTION_ENDTIME asc"),t.http.post(S,e).then((t=>{i(t)}))}}if(1===this.props.activityType){let o;if("change"===e&&this.props.activityList.length>1){const t=(t,e)=>{let i;do{i=Math.floor(Math.random()*t.length)}while(i===e);return i};this.changeNum=t(this.props.activityList,this.changeNum),o=this.props.activityList[this.changeNum]}else o=this.props.activityList[0];if(y){let t="";t=o?`${S}?pbCode=0008&dataStateStr=1,4,2,-1,6&rows=4&page=1&promotionCode=${o}`:`${S}?pbCode=0008&dataStateStr=4,1&rows=4&page=1&orderStr=PROMOTION_ENDTIME asc`;const{rows:e}=await Jn(t);i({rows:e},!0)}else{let e={pbCode:"0008",dataStateStr:"1,4,2,-1,6",rows:4,page:1,promotionCode:o};o||(e.dataStateStr="1",e.orderStr="PROMOTION_ENDTIME asc"),t.http.post(S,e).then((async t=>{if(t&&t.rows)if(1===this.page&&0===t.rows.length)this.seckillGoodsList=[];else{const e=t.rows.map((t=>{let e=(t.promotionBegintime-Date.parse(new Date))/1e3,i=(t.promotionEndtime-Date.parse(new Date))/1e3;return t.gmtCreate=e>0?e:0,t.gmtModified=i>0?i:0,0==t.promotionState&&this.$set(t,"PeopleNum",t.couponOnceNump),t})).filter((t=>0==t.promotionState));this.secGoodList=e.slice(0,4)}}))}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(t,e){[-1,2,6].includes(e.dataState)||[1].includes(e.dataState)&&0===t.goodsSupplynum||(0===this.props.activityType&&this.$emit("gosecGoodsDetail",t.skuCode,(e.promotionEndtime-Date.parse(new Date))/1e3,e.promotionCode),1===this.props.activityType&&this.$emit("toDetail",e.promotionCode,e.promotionFrequency,e.gmtModified))}}};const ll=t=>(u("data-v-024a5c10"),t=t(),m(),t),pl={class:"secKill--tit"},cl={class:"title"},dl={key:0,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACDUlEQVRYR+2XPWgUQRTHf2/3EnO7ZVAbwTLCXq9gpXsiiJaiCFaCiI2CVQpRBK0DVhYp1MYijWkEvbGx0como4UgNhZiEAzcnsS4T/bkNNm73XFv40dxW+77mN/839s3s4Lj6bbi4yiLItxsrpjbAloWouD1ovYllXReVC4G1iyV+YsTIIqXgROZn8AzL/XOzbx+8mZU3NrcoTm/4S+CHvxhl8eh7RytC/AO2DtIIpAAV5vWLAik2XvlpN+LPl0Bris0fy6o+jF89XRXLYAkinsKM0NJhOfeNz39RVOZ9hsPQPfnfQQ2AmumagF0o3gVmB2VROClik6h0ipYZDW0ZmddgBsC8wqNzYmyZlThhWi/KQ9ov0V+PdnuFW6F1lyrBeBq0rp251dQdwFX/BBAErUfKnqMnOT5RKE1W2K7UVw6H4B1kLuh7ZzPlWpr6m4UbwC+i3wMgKxJ1gNrdrgAXDvpx48DMCpuqAS/IeWfBjic1ap0eIyrgMDXwJrp0hIkrfi+KqeAUoiqJcgWB1kKbOdMKYCr+bbb/v/NgcEOXc2YL0ESxWl+HG9WK+8/sBUqUBWgqv8EYKLARIGJAn9bAQ2t8UadI2WT8ANQ+FNR8TR8H1qzpxJAErXvKXq26PSrBCDcCVfMhUoAa/vi2YbHAsIRhd1jXkozFR8FPbksbzufKwFs97lflO+f3we+A25zCDA52E/UAAAAAElFTkSuQmCC",alt:"",style:{width:"16px",height:"16px"}},gl={key:1,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADPUlEQVRYR9WWT0gUcRTHv29mdd1Zo4I89EcL6aKzhp46SYuzClFgGHWorEN1iiiI/p0ivIggVNAhsFDJS2EkFOGfqQVPnSrd0UsIltTBiiB39k/OvBgtUXd2fjtKRHP9vfd9n/fe773fEP7xR/84PnwBJNXYIMBNXtASoTWU0B8Wmtj/BtDQBlCdZwWAzpChv/orFShU1I+drxZwNBpIz8r1FnCQQBGAyxaD0SyDEzLwrKTMGqV4fL5QiIIAePf+YCqYPQfia8z0O6h7CCKeBVN7KFN8l96/yIhAhABZtbF2HnY/A5UiseXnBEwFIB0uNobfevl5AmRqYs2WzX0MhP0E/2NLQFKW6HhwfGQgn39eALO6aS/DioNQspbgSz6MNEGOKhNDr910XAG4NrrJ/ClPANiaLzgz7tjzVptzHigKjDE4ry2Az0qRVU1v499X67kCzKlaBwGXvXtH7Yoxct2xMSPaDDO2C3rdoRj6VSHAj7r6MilT/EFUeoIrwCCAcgDVOTCMtB3MVmx4Mzq76rKuNE1GtNNgdIn6ngMAeqeki1rmFGujZFkvAag5GoQz4YR+3xtA1Z4CaPYDkFRj9xRsPk/G4ywDUiqi9TLjuIvGQNjQD4kApgFU+AFggAhgJ7ipag8AnMpz46cVQ9/lCWCqWoohHr3lLXAEFzJXY90MbvWY+bRi6CERQIaBYn8VOCKnIt+6mXFCMAlZxdCDohZ88pr/Zc5dYUM/yzgip9SvvQw6JoJ29kHY0LeJAIYANBYgZgHoI/BOBu0rwN4xGQ4b+oo/qpxFZEa0C8y4VaCgLzMiXFQS+m3PCqSqGnbaRFMgSL7URcYMW2KuDE2+dKZs6XNdxUlV6wFwUqTp87w3bOg54+kKYEaaysHW5Fqf4dVgzrMMkquUxNBHlzP3PEw1dhjgR858+8x0hTkBNkBHFWOkP89yyi8/V61dkggda4VwgtuMK6UTeqfHcvLOz4zEWpjZuROlPisxR0SnlMTIE8FyEsuae6I72JZvghd2vCzwsEDoIcm6oYzFZ0Tqwp/S5QKLl3O+mUEHQKghxhbnnAlfwBgn8HNQYMDtsq25BaIM1nvuqwLrDebm/wtZoDMwfXZXIwAAAABJRU5ErkJggg==",alt:"",style:{width:"16px",height:"16px"}},hl={style:{"font-size":"14px","font-family":"PingFangSC, PingFang SC",color:"#1c253a","margin-left":"5px","margin-right":"5px"}},ul={class:"more"},ml=ll((()=>s("div",{class:"img"},[s("img",{"lazy-load":!0,src:jr,mode:"",style:{width:"100%",height:"100%"}})],-1))),fl={key:0},xl=["onClick"],bl={class:"soneLeft"},yl=["src"],vl={class:"soneRight"},wl={class:"soneRightA"},kl={key:0,class:"soneRightB"},Sl={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Cl=ll((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/huo.png",alt:"",style:{width:"16px",height:"16px","margin-bottom":"2px"}},null,-1))),Bl={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},jl=ll((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/huo.png",alt:"",style:{width:"16px",height:"16px","margin-bottom":"2px"}},null,-1))),Tl={class:"soneRightC"},Al={class:"priceC"},_l={style:{color:"#ff9745"}},Nl={class:"dataStateButton"},Ll=["onClick"],Il=["src"],zl={class:"secKill-goodsName text-common"},Pl={class:"price"},Dl={style:{display:"flex"}},Ol={class:"now-price-common",style:{color:"#f53a50"}},Fl={class:"dataStateButton"},Rl=["onClick"],Ml=["src"],Ul={class:"secKill-goodsName text-common"},$l={class:"price"},El={style:{display:"flex"}},Gl={class:"now-price-common",style:{color:"#f53a50"}},Kl={class:"dataStateButton"};Sa(".secKill[data-v-024a5c10]{border-radius:7px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);margin:0 auto;padding:13.5px 10px 0}.secKill .soon[data-v-024a5c10]{background:linear-gradient(90deg,#ff9d0d,#eb2b27);border-radius:12px;color:#fff;font-family:PingFangSC-Medium,PingFang SC;font-size:12px;font-weight:500;height:24px;line-height:24px;text-align:center;width:64px}.secKill .secKill--tit[data-v-024a5c10]{align-items:center;display:flex;justify-content:space-between;padding-bottom:17px;width:100%}.secKill .secKill--tit .title[data-v-024a5c10]{align-items:center;display:flex}.secKill .secKill--tit .title .changeOnce[data-v-024a5c10]{color:#888e9b;font-size:10px;margin-left:6px;margin-top:2px}.secKill .secKill--tit .more[data-v-024a5c10]{color:#595959;display:flex;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400}.secKill .secKill--tit .more .img[data-v-024a5c10]{height:9px;margin-left:3px;width:5.5px}.secKill .secKill-all[data-v-024a5c10]{display:flex}.secKill .secKill-all .secKill--center[data-v-024a5c10]{background:#fff;border-radius:8px;margin-bottom:8px;margin-right:8px;padding:8px;position:relative}.secKill .secKill-all .secKill--center .secKill-goodsName[data-v-024a5c10]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#000;display:-webkit-box;font-family:PingFangSC-Regular,PingFang SC;font-size:12px;font-weight:400;height:34px;line-height:17px;overflow:hidden;text-overflow:ellipsis}.secKill .secKill-all .secKill--center .dataStateButton[data-v-024a5c10]{display:flex;justify-content:center;margin-top:5px}.secKill .secKill-all .secKill--center .dataStateButton span[data-v-024a5c10]{border-radius:14px;color:#fff;font-size:12px;padding:4px 10px}.secKill .secKill--bottom[data-v-024a5c10]{display:flex}.secKill .secKill--bottom .left[data-v-024a5c10]{border-right:2px solid #f6f6f6;height:255px;padding:0 7.5px;width:164px}.secKill .secKill--bottom .left .bigimgs[data-v-024a5c10]{height:100px;margin:0 auto;width:100px}.secKill .secKill--bottom .left .goodsName[data-v-024a5c10]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;height:37.5px;margin-bottom:8px;margin-top:7.5px;overflow:hidden;width:153px}.secKill .secKill--bottom .left .price[data-v-024a5c10]{align-items:center;display:flex;justify-content:space-between}.secKill .secKill--bottom .left[data-v-024a5c10]:nth-child(2){border:none}.secKill .secKill--bottom .right[data-v-024a5c10]{height:255px;padding-left:7.5px;width:164px}.secKill .secKill--bottom .right .bigimg[data-v-024a5c10]{background-color:rgba(0,0,0,.3);height:118px;width:153px}.secKill .secKill--bottom .right .goodsName[data-v-024a5c10]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#262626;display:-webkit-box;font-family:PingFangSC-Semibold,PingFang SC;font-size:13px;font-weight:600;margin-bottom:10px;overflow:hidden;width:153px}.secKill .secKill--bottom .right .price[data-v-024a5c10]{align-items:center;display:flex;justify-content:space-between}.goodsDetail3[data-v-024a5c10]{width:92px}@media (min-width:390px) and (max-width:414px){.goodsDetail3[data-v-024a5c10]{width:102px}}@media (min-width:415px) and (max-width:630px){.goodsDetail3[data-v-024a5c10]{width:112px}}.bigimg3[data-v-024a5c10]{height:90px;width:90px}@media (min-width:390px) and (max-width:414px){.bigimg3[data-v-024a5c10]{width:100px}}@media (min-width:415px) and (max-width:630px){.bigimg3[data-v-024a5c10]{width:110px}}.goodsDetail2[data-v-024a5c10]{width:132px}@media (max-width:320px){.goodsDetail2[data-v-024a5c10]{width:112px}}@media (min-width:321px) and (max-width:360px){.goodsDetail2[data-v-024a5c10]{width:122px}}@media (min-width:361px) and (max-width:389px){.goodsDetail2[data-v-024a5c10]{width:132px}}@media (min-width:390px) and (max-width:410px){.goodsDetail2[data-v-024a5c10]{width:142px}}@media (min-width:411px) and (max-width:430px){.goodsDetail2[data-v-024a5c10]{width:152px}}@media (min-width:431px) and (max-width:630px){.goodsDetail2[data-v-024a5c10]{width:162px}}.bigimg2[data-v-024a5c10]{height:130px;width:130px}@media (max-width:320px){.bigimg2[data-v-024a5c10]{height:110px;width:110px}}@media (min-width:321px) and (max-width:360px){.bigimg2[data-v-024a5c10]{height:120px;width:120px}}@media (min-width:361px) and (max-width:389px){.bigimg2[data-v-024a5c10]{height:130px;width:130px}}@media (min-width:390px) and (max-width:410px){.bigimg2[data-v-024a5c10]{height:140px;width:140px}}@media (min-width:411px) and (max-width:430px){.bigimg2[data-v-024a5c10]{height:150px;width:150px}}@media (min-width:431px) and (max-width:630px){.bigimg2[data-v-024a5c10]{height:160px;width:160px}}.overflowX[data-v-024a5c10]{overflow:hidden;overflow-x:scroll}.fel[data-v-024a5c10]{display:flex;justify-content:space-between}.secKill-One[data-v-024a5c10]{display:flex;padding:8px}.secKill-One .soneLeft[data-v-024a5c10]{height:110px;margin-right:8px;width:110px}.secKill-One .soneLeft img[data-v-024a5c10]{border-radius:6px;height:110px;width:110px}.secKill-One .soneRight[data-v-024a5c10]{display:flex;flex-direction:column;justify-content:space-between;width:100%}.secKill-One .soneRight .soneRightA[data-v-024a5c10]{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#394259;display:-webkit-box;font-family:PingFangSC,PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:21px;overflow:hidden;text-align:left;text-overflow:ellipsis}.secKill-One .soneRight .soneRightB[data-v-024a5c10]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightB .uline[data-v-024a5c10]{background:#ed4444;border-radius:3px;height:10px;opacity:.1;width:152px}.secKill-One .soneRight .soneRightC[data-v-024a5c10]{display:flex;justify-content:space-between}.secKill-One .soneRight .soneRightC .priceC[data-v-024a5c10]{font-family:DINAlternate;font-size:18px;font-style:normal;font-weight:700;line-height:29px;text-align:left}.secKill-One .soneRight .soneRightC .dataStateButton[data-v-024a5c10]{display:flex;justify-content:center;margin-top:5px}.secKill-One .soneRight .soneRightC .dataStateButton span[data-v-024a5c10]{border-radius:14px;color:#fff;font-size:12px;padding:4px 10px}"),nl.render=function(g,u,m,f,x,b){const y=c("uContDown"),v=c("u-count-down"),w=c("uLineProgress");return t(),e("div",null,[s("div",{class:"secKill",style:i({backgroundColor:m.props.backgroundColor,marginTop:`${m.props.marginTop}px`,marginBottom:`${m.props.marginBottom}px`})},[s("div",pl,[s("div",cl,[0===m.props.activityType?(t(),e("img",dl)):n("",!0),1===m.props.activityType?(t(),e("img",gl)):n("",!0),s("div",hl,o(m.props.title),1),x.lowCode?(t(),e(a,{key:2},[0===m.props.countDown?(t(),h(y,{key:0,timestamp:b.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):n("",!0)],64)):(t(),e(a,{key:3},[0===m.props.countDown?(t(),h(v,{key:0,timestamp:b.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):n("",!0)],64)),s("div",{class:"changeOnce",onClick:u[0]||(u[0]=(...t)=>b.changeOneChange&&b.changeOneChange(...t))},"换一换")]),s("div",ul,[s("div",{class:"",onClick:u[1]||(u[1]=(...t)=>b.goSecList&&b.goSecList(...t))},o(m.props.subTitle),1),ml])]),1===b.activityCss(x.secGoodList)?(t(),e("div",fl,[(t(!0),e(a,null,r(x.secGoodList,((l,c)=>(t(),e("div",{key:c},[(t(!0),e(a,null,r(l.rsSkuReDomainList,((a,r)=>(t(),e("div",{class:"secKill-One",key:r,onClick:t=>b.gosecGoodsDetail(a,l)},[s("div",bl,[s("img",{"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,8,yl)]),s("div",vl,[s("div",wl,o(a.goodsName),1),0===m.props.activityType?(t(),e("div",kl,[d(w,{"active-color":"#ED4444 ","inactive-color":"#FCE7E8",percent:b.diffFn(a),height:"10","show-percent":!1},null,8,["percent"]),x.lowCode?(t(),e("div",Sl,[Cl,p(" 剩"+o(a.goodsSupplynum||0)+"件 ",1)])):(t(),e("div",Bl,[jl,p(" 剩"+o(a.goodsSupplynum||0)+"件 ",1)]))])):n("",!0),s("div",Tl,[s("div",Al,[s("span",_l,o("2"===a.pricesetType?b.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)]),s("div",Nl,[s("span",{style:i({backgroundColor:b.btnDataStateColor(b.btnDataState(l,a))})},o(b.btnDataState(l,a)),5)])])])],8,xl)))),128))])))),128))])):n("",!0),2===b.activityCss(x.secGoodList)?(t(),e("div",{key:1,class:l(["secKill-all",{fel:!0}])},[(t(!0),e(a,null,r(x.secGoodList,((n,p)=>(t(),e("div",{class:"secKill--center",key:p},[(t(!0),e(a,null,r(n.rsSkuReDomainList,((a,r)=>(t(),e("div",{class:l({goodsDetail3:3===b.activityCss(x.secGoodList),goodsDetail2:2===b.activityCss(x.secGoodList)}),key:r,onClick:t=>b.gosecGoodsDetail(a,n)},[s("img",{class:l({bigimg3:3===b.activityCss(x.secGoodList),bigimg2:2===b.activityCss(x.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,Il),s("div",zl,o(a.goodsName),1),s("div",Pl,[s("div",Dl,[s("div",Ol,o("2"===a.pricesetType?b.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)])]),s("div",Fl,[s("span",{style:i({backgroundColor:b.btnDataStateColor(b.btnDataState(n,a))})},o(b.btnDataState(n,a)),5)])],10,Ll)))),128))])))),128))])):n("",!0),3===b.activityCss(x.secGoodList)?(t(),e("div",{key:2,class:l(["secKill-all",{overflowX:!0}])},[(t(!0),e(a,null,r(x.secGoodList,((n,p)=>(t(),e("div",{class:"secKill--center",key:p},[(t(!0),e(a,null,r(n.rsSkuReDomainList,((a,r)=>(t(),e("div",{class:l({goodsDetail3:3===b.activityCss(x.secGoodList),goodsDetail2:2===b.activityCss(x.secGoodList)}),key:r,onClick:t=>b.gosecGoodsDetail(a,n)},[s("img",{class:l({bigimg3:3===b.activityCss(x.secGoodList),bigimg2:2===b.activityCss(x.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,Ml),s("div",Ul,o(a.goodsName),1),s("div",$l,[s("div",El,[s("div",Gl,o("2"===a.pricesetType?b.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)])]),s("div",Kl,[s("span",{style:i({backgroundColor:b.btnDataStateColor(b.btnDataState(n,a))})},o(b.btnDataState(n,a)),5)])],10,Rl)))),128))])))),128))])):n("",!0)],4)])},nl.__scopeId="data-v-024a5c10";var ql={props:{props:{url:{type:String,default:""},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},marginTop:{type:Number,default:0},marginBottom:{type:Number,default:0}}}};const Vl=["src","poster","autoplay"];Sa("video[data-v-1141a1a5]{width:100%!important}"),ql.render=function(o,a,r,n,l,p){return t(),e("div",null,[s("video",{style:i({marginTop:`${r.props.marginTop}px`,marginBottom:`${r.props.marginBottom}px`}),controls:"",src:r.props.url,poster:r.props.poster,autoplay:r.props.autoplay},null,12,Vl)])},ql.__scopeId="data-v-1141a1a5";var Wl={props:{props:{mileage:{color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({crmMileage:0,numInfo:0}),mounted(){y||this.getData()},methods:{async getData(){const t=await this.http.get("/web/oc/outupm/getupm.json");t&&(this.crmMileage=t.ValidPoint,this.numInfo=Number(t.ExpirePointFirstMonth)+Number(t.ExpirePointSecondMonth)+Number(t.ExpirePointThirdMonth))}}};const Ql=(t=>(u("data-v-677c4df3"),t=t(),m(),t))((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/lichengchaxun.png"},null,-1)));Sa(".mileageBox[data-v-677c4df3]{font-family:PingFangSC,PingFang SC;font-size:14px;font-style:normal;font-weight:400;line-height:21px;padding:8px 16px;text-align:left}.mileageBox img[data-v-677c4df3]{height:12px;margin-bottom:3px;margin-right:5px;width:12px}"),Wl.render=function(a,r,n,l,c,d){return t(),e("div",null,[s("div",{class:"mileageBox",style:i({marginTop:`${n.props.marginTop}px`,marginBottom:`${n.props.marginBottom}px`,backgroundColor:`${n.props.backgroundColor}`,color:`${n.props.color}`})},[Ql,p(),s("span",null,"尊敬的会员:您的账户可用里程为 "+o(c.crmMileage)+" 公里, 3个月内到期里程 "+o(c.numInfo||0)+" 公里。",1)],4)])},Wl.__scopeId="data-v-677c4df3";var Hl={props:{props:{url:{type:String,default:""},poster:{type:String,default:""},autoplay:{type:Boolean,default:!1},marginTop:{type:Number,default:0},marginBottom:{type:Number,default:0}},identity:String,memberCodeP:String,memberNameP:String},data:()=>({lowCode:y,items:[],progressWidth:0,current:3,type:"0",page:1,rows:10,taskList:[],redTit1:0,redTit2:0,queryMerber1:[],queryMerber2:[],dataQualityUserList:[],memberCode:"",memberName:"",currentMerberIndex:0,currentMerberCode:"",isLastPage:!1,isLoading:!1,tempTaskList:[]}),mounted(){y&&(this.taskList=[{taskName:"任务名称",taskType:"1",taskCompleteQuantity:8,taskGoal:10,activityEndTime:17749512e5}]),"buy"===this.identity?this.items=[{label:"未参加",value:"1"},{label:"已参加",value:"2"},{label:"已结束",value:"3"},{label:"全部",value:"0"}]:this.items=[{label:"待开始",value:"1"},{label:"进行中",value:"2"},{label:"已结束",value:"3"},{label:"全部",value:"0"}],y||this.init()},watch:{memberCodeP:{handler(t){this.memberCode=t},deep:!0,immediate:!0},memberNameP:{handler(t){this.memberName=t},deep:!0,immediate:!0}},methods:{init(){["supplier"].includes(this.identity)?this.getTaskList():this.http.get("/web/ml/mlogin/qualityUserList.json").then((t=>{if(["merchant","buy"].includes(this.identity)){this.dataQualityUserList=JSON.parse(t.dataObj.qualityUserList)[this.identity];const e=this.dataQualityUserList.find((t=>t.userCode===JSON.parse(this.$storage.get("userInfo")).userCode));e&&(this.memberCode=e.memberCode,this.memberName=e.memberName)}["buy","merchant"].includes(this.identity)&&(this.http.get(`${j}`,{memberCode:this.dataQualityUserList.map((t=>t.memberCode)).join(","),type:"1"}).then((t=>{t.success&&(this.redTit1=JSON.parse(t.dataObj).total,this.queryMerber1=JSON.parse(t.dataObj).list)})),this.http.get(`${j}`,{memberCode:this.dataQualityUserList.map((t=>t.memberCode)).join(","),type:"2"}).then((t=>{t.success&&(this.redTit2=JSON.parse(t.dataObj).total,this.queryMerber2=JSON.parse(t.dataObj).list)}))),this.getTaskList()}))},async getTaskList(t=!1){let e={page:this.page,rows:this.rows,type:this.type};["buy","merchant"].includes(this.identity)&&(e.memberCode=this.memberCode);const i=await this.http.get(`${B}`,e);i.list&&(this.taskList=t?[...this.taskList,...i.list]:i.list)},async getTaskListAll(){if(this.isLoading)return;this.isLoading=!0;const t="1"===this.type?this.queryMerber1:this.queryMerber2;if(t&&0!==t.length){0!==this.currentMerberIndex||this.currentMerberCode||(this.tempTaskList=[],this.currentMerberCode=t[0].memberCode,this.page=1);try{await this.queryByCurrentMerber(t)}catch(t){console.error("查询失败:",t)}finally{this.isLoading=!1}}else this.isLoading=!1},async queryByCurrentMerber(t){const e=await this.http.get(`${B}`,{page:this.page,rows:this.rows,type:this.type,memberCode:this.currentMerberCode});if(e.list&&e.list.length){this.tempTaskList=[...this.tempTaskList,...e.list],this.taskList=[...this.tempTaskList];const i=Math.ceil(e.total/this.rows);this.page<i?(this.page++,await this.queryByCurrentMerber(t)):(this.page=1,this.currentMerberIndex++,this.currentMerberIndex<t.length?(this.currentMerberCode=t[this.currentMerberIndex].memberCode,await this.queryByCurrentMerber(t)):this.finishQuery())}else this.page=1,this.currentMerberIndex++,this.currentMerberIndex<t.length?(this.currentMerberCode=t[this.currentMerberIndex].memberCode,await this.queryByCurrentMerber(t)):this.finishQuery()},finishQuery(){this.taskList=this.tempTaskList,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],this.isLoading=!1},orderTitle(t,e){this.page=1,this.type=t.value,this.current=e,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],["merchant","buy"].includes(this.identity)?["0","3"].includes(this.type)?this.getTaskList(!1):this.http.get(`${j}`,{memberCode:this.dataQualityUserList.map((t=>t.memberCode)).join(","),type:this.type}).then((t=>{if(t.success){"1"===this.type?(this.redTit1=JSON.parse(t.dataObj).total,this.queryMerber1=JSON.parse(t.dataObj).list):(this.redTit2=JSON.parse(t.dataObj).total,this.queryMerber2=JSON.parse(t.dataObj).list);const e="1"===this.type?this.queryMerber1:this.queryMerber2;e&&0!==e.length?this.getTaskListAll(!1):this.taskList=[]}})):this.getTaskList(!1)},async loadMore(){console.log("任务触底加载",{isLoading:this.isLoading,identity:this.identity,type:this.type}),this.isLoading||(["merchant","buy"].includes(this.identity)&&["1","2"].includes(this.type)?await this.getTaskListAll():(this.page++,await this.getTaskList(!0)))},goTaskDetail(t){this.$emit("goTaskDetail",t)},goTaskJoin(t){this.$emit("goTaskJoin",t)},goTaskShare(t){this.$storage.set("taskShareName",t.taskName),this.$storage.set("taskShareCode",t.taskMainCode),setTimeout((()=>{this.$storage.remove("taskShareCode"),this.$storage.remove("taskShareName")}),1e3)},clickMemberList(){this.$emit("clickMemberList",this.dataQualityUserList,this.memberCode)},changeMemberData(t,e){this.memberCode=t,this.memberName=e},refreshTaskList(){this.page=1,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],this.isLoading=!1,["merchant","buy"].includes(this.identity)?["0","3"].includes(this.type)?this.getTaskList(!1):this.http.get(`${j}`,{memberCode:this.dataQualityUserList.map((t=>t.memberCode)).join(","),type:this.type}).then((t=>{if(t.success){"1"===this.type?(this.redTit1=JSON.parse(t.dataObj).total,this.queryMerber1=JSON.parse(t.dataObj).list):(this.redTit2=JSON.parse(t.dataObj).total,this.queryMerber2=JSON.parse(t.dataObj).list);const e="1"===this.type?this.queryMerber1:this.queryMerber2;e&&0!==e.length?this.getTaskListAll():this.taskList=[]}})):this.getTaskList(!1)},getProgressWidth(t){if(!t.taskGoal||0===t.taskGoal)return 0;const e=t.taskCompleteQuantity/t.taskGoal*100;return Math.min(e,100)},getTaskTypeName:t=>1===t.dataState?"待开始":2===t.dataState?"已开始":-1===t.dataState?"已结束":-2===t.dataState?"已取消":void 0,getTaskTypeStyle:t=>1===t.dataState?"linear-gradient(0deg, #8ACAF0 0%, #30A4E7 100%)":2===t.dataState?"linear-gradient(0deg, #03C9B3 0%, #56E7EA 100%)":-1===t.dataState||-2===t.dataState?"linear-gradient(0deg, #E5E6EB 0%, #C3C6CD 100%)":void 0,formatIndex(t){const e=t+1;return e<10?"0"+e:e},formatDate(t){function e(t){return t<10?"0"+t:t}var i=new Date(t),o=i.getFullYear(),a=i.getMonth()+1,r=i.getDate(),s=i.getHours(),n=i.getMinutes(),l=i.getSeconds();return o+"-"+e(a)+"-"+e(r)+" "+e(s)+":"+e(n)+":"+e(l)}}};const Yl=t=>(u("data-v-7077f774"),t=t(),m(),t),Jl={class:"fatherBox"},Xl={class:"orderList-tit"},Zl={key:0,style:{display:"flex","justify-content":"space-between",margin:"12px"}},tp=[Yl((()=>s("span",null,"任务栏",-1))),Yl((()=>s("span",null,"待开始",-1))),Yl((()=>s("span",null,"进行中",-1))),Yl((()=>s("span",null,"已结束",-1))),Yl((()=>s("span",{style:{color:"#0081cc"}},"完成",-1)))],ep={key:1,class:"titul"},ip=Yl((()=>s("div",{class:"titTask"},[s("span",null," 任务栏 "),s("img",{class:"blueLine",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichuline%402x.png"})],-1))),op=["onClick"],ap={key:0,class:"titLine"},rp=Yl((()=>s("img",{style:{width:"16px",height:"16px","margin-top":"3px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icdownla%402x.png"},null,-1))),sp=["onClick"],np={class:"progressdai-info"},lp={class:"progressdai-tag"},pp={class:"progressdai-title"},cp={key:0,class:"progressdai-two"},dp={class:"progressdai-two-1"},gp={class:"progressdai-two-2"},hp={class:"progressdai-two-3"},up={key:1,class:"progressdai-two"},mp=[b('<div class="progress-info" data-v-7077f774><span class="progress-text" data-v-7077f774>进度:</span><span class="progress-percent" data-v-7077f774>4/10</span></div><div class="progress-bar" data-v-7077f774><div class="progress-fill" style="width:40%;" data-v-7077f774></div></div>',2)],fp={key:2,class:"progressdai-two"},xp={class:"progress-info"},bp=Yl((()=>s("span",{class:"progress-text"},"进度:",-1))),yp={class:"progress-percent"},vp={class:"progress-bar"},wp={class:"progressdai-three"},kp={class:"progressdai-three-1"},Sp=["onClick"],Cp={key:1,class:"progressdai-three-3"},Bp=["onClick"],jp={key:1,class:"not-box"},Tp=[Yl((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/%E7%8A%B6%E6%80%81%403x-fail.png",alt:""},null,-1))),Yl((()=>s("view",{class:"not-text"},"暂无信息",-1)))];Sa(".fatherBox[data-v-7077f774]{background:#f6f8fa;border-radius:8px}.orderList-tit[data-v-7077f774]{padding:0 22px 0 0;width:100%;z-index:999}.orderList-tit .titul[data-v-7077f774]{display:flex;justify-content:space-between}.orderList-tit .titul .titTask[data-v-7077f774]{color:#1c253a;display:inline-block;font-family:PingFang SC;font-size:16px;font-weight:500;line-height:45px;padding-left:22px;position:relative}.orderList-tit .titul .titli[data-v-7077f774]{display:flex;position:relative}.orderList-tit .titul .titli .titSpan[data-v-7077f774]{color:#888e98;display:inline-block;font-family:PingFang SC;font-size:14px;font-weight:400;height:100%;line-height:45px;margin-right:16px;position:relative;width:100%}.orderList-tit .titul .titli .titLine[data-v-7077f774]{background:hsla(236,7%,48%,.2);height:10px;margin-top:17px;width:1px}.orderList-tit .titul .titli .titRed[data-v-7077f774]{align-items:center;background:linear-gradient(211deg,#ed4444,#ff5f6a);border-radius:50px;color:#fff;display:flex;font-size:12px;height:14px;justify-content:center;left:36px;min-width:14px;padding:2px;position:absolute;top:4px;z-index:10}.orderList-tit .titul .titli .active span[data-v-7077f774]{bottom:0;height:3rpx;left:0;position:absolute;width:100%}.progress-section[data-v-7077f774]{margin:0 12px}.progress-info[data-v-7077f774]{display:flex;justify-content:space-between;margin-bottom:2px}.progress-text[data-v-7077f774]{color:#394259;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:20px}.progress-percent[data-v-7077f774]{color:#394259;font-family:Montserrat;font-size:12px;font-weight:500;line-height:20px}.progress-bar[data-v-7077f774]{background:hsla(236,7%,48%,.2);border-radius:10px;height:5px;margin-bottom:8px;overflow:hidden}.progress-fill[data-v-7077f774]{background:linear-gradient(180deg,#03c9b3,#56e7ea);border-radius:10px;height:100%;transition:width 1.5s ease-in-out}.progressdai-section[data-v-7077f774]{background:linear-gradient(97deg,hsla(0,0%,100%,.6),hsla(0,0%,100%,0)),hsla(0,0%,100%,.6);border:1px solid #fff;border-radius:8px 8px 8px 8px;box-shadow:0 8px 32px 0 rgba(0,129,204,.1);margin:0 12px 12px;padding:12px 10px 16px;position:relative}.progressdai-section .progressdai-info[data-v-7077f774]{margin-bottom:10px;width:80%}.progressdai-section .progressdai-info .progressdai-tag[data-v-7077f774]{background:linear-gradient(120deg,#d7f0ff,#bee2fc);border-radius:5px 5px 0 5px;color:#0081cc;font-family:Montserrat;font-size:12px;font-style:normal;font-weight:500;line-height:20px;padding:3px 8px;text-align:center;text-transform:none}.progressdai-section .progressdai-info .progressdai-title[data-v-7077f774]{color:#394259;font-family:PingFang SC;font-size:16px;font-weight:500;line-height:24px;margin-left:10px;vertical-align:middle}.progressdai-section .progressdai-info .progressdai-logo[data-v-7077f774]{border-radius:0 8px 0 8px;box-shadow:0 4px 12px 0 rgba(48,219,198,.2);color:#fff;font-family:PingFang SC;font-size:14px;font-weight:500;padding:4px 17px;position:absolute;right:0;top:0}.progressdai-section .progressdai-two[data-v-7077f774]{background:rgba(50,197,255,.1);border-radius:8px 8px 8px 8px;color:#394259;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:20px;margin-bottom:12px;padding:8px}.progressdai-section .progressdai-two .progressdai-two-1[data-v-7077f774],.progressdai-section .progressdai-two .progressdai-two-2[data-v-7077f774]{display:inline-block;width:110px}.progressdai-section .progressdai-three[data-v-7077f774]{display:flex;justify-content:space-between}.progressdai-section .progressdai-three .progressdai-three-1[data-v-7077f774]{color:#888e98;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:28px}.progressdai-section .progressdai-three .progressdai-three-2[data-v-7077f774]{background:linear-gradient(180deg,#8acaf0,#0081cc);-o-border-image:linear-gradient(180deg,#9fd8f9,#0081cc) 1 1;border-image:linear-gradient(180deg,#9fd8f9,#0081cc) 1 1;border-radius:14px 14px 14px 14px;color:#fff;margin-right:6px}.progressdai-section .progressdai-three .progressdai-three-2[data-v-7077f774],.progressdai-section .progressdai-three .progressdai-three-3[data-v-7077f774]{box-shadow:0 4px 12px 0 rgba(75,175,234,.2);font-family:PingFang SC;font-size:14px;font-style:normal;font-weight:500;line-height:22px;padding:3px 16px;text-align:left;text-transform:none}.progressdai-section .progressdai-three .progressdai-three-3[data-v-7077f774]{border:1px solid hsla(236,7%,48%,.2);border-radius:14px 14px 14px 14px;color:#394259}.compClass[data-v-7077f774]{color:#394259;display:flex;font-family:PingFang SC;font-size:14px;font-weight:400;justify-content:space-between;line-height:22px}.blueLine[data-v-7077f774]{display:block;height:22px;left:38px;position:absolute;top:22px;width:22px}.not-box[data-v-7077f774]{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:50px;width:100%}.not-box img[data-v-7077f774]{height:200px;width:200px}.not-box .not-text[data-v-7077f774]{color:#394259;font-family:PingFang SC;font-size:16px;font-style:normal;font-weight:500;line-height:24px;text-align:center;text-transform:none}"),Hl.render=function(l,p,c,d,g,h){return t(),e("div",Jl,[s("div",Xl,[g.lowCode?(t(),e("div",Zl,tp)):(t(),e("div",ep,[ip,(t(!0),e(a,null,r(g.items,((a,r)=>(t(),e("div",{class:"titli",key:r,onClick:t=>h.orderTitle(a,r)},[s("span",{class:"titSpan",style:i({color:g.current==r?"#0081CC":""})},o(a.label),5),3!==r?(t(),e("span",ap)):n("",!0),["未参加","待开始"].includes(a.label)&&0!==g.redTit1?(t(),e("span",{key:1,class:"titRed",style:i({left:3==r?"22px":"36px"})},o(g.redTit1),5)):n("",!0),["已参加","进行中"].includes(a.label)&&0!==g.redTit2?(t(),e("span",{key:2,class:"titRed",style:i({left:3==r?"22px":"36px"})},o(g.redTit2),5)):n("",!0)],8,op)))),128))]))]),["merchant","buy"].includes(c.identity)&&["0","3"].includes(g.type)?(t(),e("div",{key:0,class:"progressdai-section compClass",onClick:p[0]||(p[0]=(...t)=>h.clickMemberList&&h.clickMemberList(...t))},[s("div",null,o(g.lowCode?"邯郸县丛台路鼎灵五金建材经销处":g.memberName),1),rp])):n("",!0),(t(!0),e(a,null,r(g.taskList,((a,r)=>(t(),e("div",{class:"progressdai-section",key:r,onClick:t=>h.goTaskDetail(a)},[s("div",np,[s("span",lp,o(h.formatIndex(r)),1),s("span",pp,o(a.taskName),1),g.lowCode?(t(),e("span",{key:0,class:"progressdai-logo",style:i({background:"linear-gradient(0deg, #03C9B3 0%, #56E7EA 100%)"})},"已参加",4)):(t(),e("span",{key:1,class:"progressdai-logo",style:i({background:h.getTaskTypeStyle(a)})},o(h.getTaskTypeName(a)),5))]),"supplier"===c.identity?(t(),e("div",cp,[s("span",dp,"报名人数:"+o(a.participantCount||0),1),s("span",gp,"达标人数:"+o(a.taskGoal||0),1),s("span",hp,"任务奖励发放人数:"+o(a.rewardRecipientCount||0),1)])):n("",!0),g.lowCode?(t(),e("div",up,mp)):n("",!0),"buy"===c.identity?(t(),e("div",fp,[s("div",xp,[bp,s("span",yp,o(Number(a.taskCompleteQuantity))+"/"+o(a.taskGoal||1),1)]),s("div",vp,[s("div",{class:"progress-fill",style:i({width:h.getProgressWidth(a)+"%"})},null,4)])])):n("",!0),s("div",wp,[s("span",kp,"截止时间: "+o(h.formatDate(a.activityEndTime)),1),s("div",null,["buy"!==c.identity||"0"!==a.participationStatus||[-1,-2].includes(a.dataState)?n("",!0):(t(),e("span",{key:0,class:"progressdai-three-2",onClick:f((t=>h.goTaskJoin(a)),["stop"])},"报名",8,Sp)),g.lowCode?(t(),e("span",Cp,"分享")):n("",!0),!g.lowCode&&[1,2].includes(a.dataState)?(t(),e("button",{key:2,"open-type":"share",style:{display:"inline"},class:"progressdai-three-3",onClick:f((t=>h.goTaskShare(a)),["stop"])}," 分享 ",8,Bp)):n("",!0)])])],8,sp)))),128)),0===g.taskList.length?(t(),e("view",jp,Tp)):n("",!0)])},Hl.__scopeId="data-v-7077f774";var Ap={name:"cyy-imgCombination",data:()=>({imgStyle:{width:"100%",boxSizing:"border-box"}}),props:{props:{selectImg:Array,showStyle:Number,borderStyle:Number,borderRadius:Number,marginTop:Number,paddingLeft:Number,paddingRight:Number,marginBottom:Number,defaultValue:Array}},computed:{resultArr(){const{selectImg:t,defaultValue:e}=this.props,i=t.filter((t=>!va(t))).filter((t=>!Object.values(t).every((t=>va(t)))));let o=e;return te(i)||(o=i),console.log(52,o),o},computedStyle(){const t=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],e=ro(this.props,t),i=ba(this.props,t);return{...v(e),...i}}}};const _p={class:"threeImg"},Np=["src"],Lp=["src"],Ip=["src"],zp=["src"],Pp=["src"],Dp=["src"],Op=["src"];Sa(".lc-img-item[data-v-db5d84e2]{box-sizing:border-box;width:100%}.threeImg[data-v-db5d84e2]{display:flex;flex-wrap:wrap;gap:10px}.threeImg img[data-v-db5d84e2]{background:#488cff;border-radius:8px;height:230px;-o-object-fit:cover;object-fit:cover;width:calc(33.33333% - 6.66667px)}"),Ap.render=function(o,l,p,c,d,g){return t(),e("div",null,[s("div",_p,[(t(!0),e(a,null,r(g.resultArr,((i,o)=>(t(),e("img",{key:o,src:i.imgUrl},null,8,Np)))),128))]),0===p.props.showStyle?(t(!0),e(a,{key:0},r(g.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([g.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,Lp)])))),128)):n("",!0),1===p.props.showStyle?(t(!0),e(a,{key:1},r(g.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([g.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,Ip)])))),128)):n("",!0),2===p.props.showStyle?(t(!0),e(a,{key:2},r(g.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([g.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,zp)])))),128)):n("",!0),3===p.props.showStyle?(t(!0),e(a,{key:3},r(g.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([g.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,Pp)])))),128)):n("",!0),4===p.props.showStyle?(t(!0),e(a,{key:4},r(g.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([g.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,Dp)])))),128)):n("",!0),5===p.props.showStyle?(t(!0),e(a,{key:5},r(g.resultArr,((a,r)=>(t(),e("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([g.computedStyle,d.imgStyle]),src:a.imgUrl,alt:""},null,12,Op)])))),128)):n("",!0)])},Ap.__scopeId="data-v-db5d84e2";export{nl as ArsenalActivity,br as ArsenalCarousel,cr as ArsenalNavigation,nr as ArsenalPicture,ws as ArsenalTop,Br as Collocation,wa as Cube,Aa as Goods,qa as GoodsOne,Ap as ImgCombination,qn as Live,Wl as Mileage,Xn as Notice,Ca as Search,Ua as Slider,Hl as Task,ya as Title,ql as Video};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rfsg-vue-material",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {