rfsg-vue-material 1.0.39 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{openBlock as e,createElementBlock as t,normalizeStyle as i,toDisplayString as o,Fragment as a,renderList as r,createElementVNode as s,createCommentVNode as n,normalizeClass as l,resolveComponent as c,createVNode as p,withCtx as d,createBlock as g,createTextVNode as h,pushScopeId as u,popScopeId as m,withModifiers as f,renderSlot as x,createStaticVNode as y}from"vue";import"lodash";const b="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,v=e=>{let t={};for(let i in e)t[i]=w(e[i]);return t},w=e=>b?e+"px":2*e+"rpx",k="/web/rs/sku/querySkuByCheck.json",C="/web/pm/promotionplat/queryPromotionPageForC.json",S="/web/cms/notice/queryNoticePage.json",T="/web/tk/taskMain/queryTaskMainPage.json",B="/web/tk/taskMain/queryTaskMainCount.json",j="/web/pfs/pfsmodeltagvalue/getCurrentUserPfsModelTagValueForMenuOpcode.json";var _=Object.prototype;function A(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_)}function L(e,t){return function(i){return e(t(i))}}var N=L(Object.keys,Object),I=Object.prototype.hasOwnProperty;function z(e){if(!A(e))return N(e);var t=[];for(var i in Object(e))I.call(e,i)&&"constructor"!=i&&t.push(i);return t}var P="object"==typeof global&&global&&global.Object===Object&&global,D="object"==typeof self&&self&&self.Object===Object&&self,M=P||D||Function("return this")(),F=M.Symbol,O=Object.prototype,R=O.hasOwnProperty,$=O.toString,U=F?F.toStringTag:void 0;var G=Object.prototype.toString;var E="[object Null]",q="[object Undefined]",K=F?F.toStringTag:void 0;function W(e){return null==e?void 0===e?q:E:K&&K in Object(e)?function(e){var t=R.call(e,U),i=e[U];try{e[U]=void 0;var o=!0}catch(e){}var a=$.call(e);return o&&(t?e[U]=i:delete e[U]),a}(e):function(e){return G.call(e)}(e)}function H(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var V="[object AsyncFunction]",Q="[object Function]",J="[object GeneratorFunction]",Y="[object Proxy]";function X(e){if(!H(e))return!1;var t=W(e);return t==Q||t==J||t==V||t==Y}var Z,ee=M["__core-js_shared__"],te=(Z=/[^.]+$/.exec(ee&&ee.keys&&ee.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"";var ie=Function.prototype.toString;function oe(e){if(null!=e){try{return ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var ae=/^\[object .+?Constructor\]$/,re=Function.prototype,se=Object.prototype,ne=re.toString,le=se.hasOwnProperty,ce=RegExp("^"+ne.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pe(e){return!(!H(e)||(t=e,te&&te in t))&&(X(e)?ce:ae).test(oe(e));var t}function de(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return pe(i)?i:void 0}var ge=de(M,"DataView"),he=de(M,"Map"),ue=de(M,"Promise"),me=de(M,"Set"),fe=de(M,"WeakMap"),xe="[object Map]",ye="[object Promise]",be="[object Set]",ve="[object WeakMap]",we="[object DataView]",ke=oe(ge),Ce=oe(he),Se=oe(ue),Te=oe(me),Be=oe(fe),je=W;(ge&&je(new ge(new ArrayBuffer(1)))!=we||he&&je(new he)!=xe||ue&&je(ue.resolve())!=ye||me&&je(new me)!=be||fe&&je(new fe)!=ve)&&(je=function(e){var t=W(e),i="[object Object]"==t?e.constructor:void 0,o=i?oe(i):"";if(o)switch(o){case ke:return we;case Ce:return xe;case Se:return ye;case Te:return be;case Be:return ve}return t});var _e=je;function Ae(e){return null!=e&&"object"==typeof e}var Le="[object Arguments]";function Ne(e){return Ae(e)&&W(e)==Le}var Ie=Object.prototype,ze=Ie.hasOwnProperty,Pe=Ie.propertyIsEnumerable,De=Ne(function(){return arguments}())?Ne:function(e){return Ae(e)&&ze.call(e,"callee")&&!Pe.call(e,"callee")},Me=Array.isArray,Fe=9007199254740991;function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Fe}function Re(e){return null!=e&&Oe(e.length)&&!X(e)}var $e="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ue=$e&&"object"==typeof module&&module&&!module.nodeType&&module,Ge=Ue&&Ue.exports===$e?M.Buffer:void 0,Ee=(Ge?Ge.isBuffer:void 0)||function(){return!1},qe={};function Ke(e){return function(t){return e(t)}}qe["[object Float32Array]"]=qe["[object Float64Array]"]=qe["[object Int8Array]"]=qe["[object Int16Array]"]=qe["[object Int32Array]"]=qe["[object Uint8Array]"]=qe["[object Uint8ClampedArray]"]=qe["[object Uint16Array]"]=qe["[object Uint32Array]"]=!0,qe["[object Arguments]"]=qe["[object Array]"]=qe["[object ArrayBuffer]"]=qe["[object Boolean]"]=qe["[object DataView]"]=qe["[object Date]"]=qe["[object Error]"]=qe["[object Function]"]=qe["[object Map]"]=qe["[object Number]"]=qe["[object Object]"]=qe["[object RegExp]"]=qe["[object Set]"]=qe["[object String]"]=qe["[object WeakMap]"]=!1;var We="object"==typeof exports&&exports&&!exports.nodeType&&exports,He=We&&"object"==typeof module&&module&&!module.nodeType&&module,Ve=He&&He.exports===We&&P.process,Qe=function(){try{var e=He&&He.require&&He.require("util").types;return e||Ve&&Ve.binding&&Ve.binding("util")}catch(e){}}(),Je=Qe&&Qe.isTypedArray,Ye=Je?Ke(Je):function(e){return Ae(e)&&Oe(e.length)&&!!qe[W(e)]},Xe="[object Map]",Ze="[object Set]",et=Object.prototype.hasOwnProperty;function tt(e){if(null==e)return!0;if(Re(e)&&(Me(e)||"string"==typeof e||"function"==typeof e.splice||Ee(e)||Ye(e)||De(e)))return!e.length;var t=_e(e);if(t==Xe||t==Ze)return!e.size;if(A(e))return!z(e).length;for(var i in e)if(et.call(e,i))return!1;return!0}function it(e,t){return e===t||e!=e&&t!=t}function ot(e,t){for(var i=e.length;i--;)if(it(e[i][0],t))return i;return-1}var at=Array.prototype.splice;function rt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}rt.prototype.clear=function(){this.__data__=[],this.size=0},rt.prototype.delete=function(e){var t=this.__data__,i=ot(t,e);return!(i<0)&&(i==t.length-1?t.pop():at.call(t,i,1),--this.size,!0)},rt.prototype.get=function(e){var t=this.__data__,i=ot(t,e);return i<0?void 0:t[i][1]},rt.prototype.has=function(e){return ot(this.__data__,e)>-1},rt.prototype.set=function(e,t){var i=this.__data__,o=ot(i,e);return o<0?(++this.size,i.push([e,t])):i[o][1]=t,this};var st=de(Object,"create");var nt="__lodash_hash_undefined__",lt=Object.prototype.hasOwnProperty;var ct=Object.prototype.hasOwnProperty;var pt="__lodash_hash_undefined__";function dt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}function gt(e,t){var i,o,a=e.__data__;return("string"==(o=typeof(i=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?a["string"==typeof t?"string":"hash"]:a.map}function ht(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}dt.prototype.clear=function(){this.__data__=st?st(null):{},this.size=0},dt.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},dt.prototype.get=function(e){var t=this.__data__;if(st){var i=t[e];return i===nt?void 0:i}return lt.call(t,e)?t[e]:void 0},dt.prototype.has=function(e){var t=this.__data__;return st?void 0!==t[e]:ct.call(t,e)},dt.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=st&&void 0===t?pt:t,this},ht.prototype.clear=function(){this.size=0,this.__data__={hash:new dt,map:new(he||rt),string:new dt}},ht.prototype.delete=function(e){var t=gt(this,e).delete(e);return this.size-=t?1:0,t},ht.prototype.get=function(e){return gt(this,e).get(e)},ht.prototype.has=function(e){return gt(this,e).has(e)},ht.prototype.set=function(e,t){var i=gt(this,e),o=i.size;return i.set(e,t),this.size+=i.size==o?0:1,this};var ut=200;function mt(e){var t=this.__data__=new rt(e);this.size=t.size}mt.prototype.clear=function(){this.__data__=new rt,this.size=0},mt.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},mt.prototype.get=function(e){return this.__data__.get(e)},mt.prototype.has=function(e){return this.__data__.has(e)},mt.prototype.set=function(e,t){var i=this.__data__;if(i instanceof rt){var o=i.__data__;if(!he||o.length<ut-1)return o.push([e,t]),this.size=++i.size,this;i=this.__data__=new ht(o)}return i.set(e,t),this.size=i.size,this};var ft="__lodash_hash_undefined__";function xt(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new ht;++t<i;)this.add(e[t])}function yt(e,t){for(var i=-1,o=null==e?0:e.length;++i<o;)if(t(e[i],i,e))return!0;return!1}xt.prototype.add=xt.prototype.push=function(e){return this.__data__.set(e,ft),this},xt.prototype.has=function(e){return this.__data__.has(e)};var bt=1,vt=2;function wt(e,t,i,o,a,r){var s=i&bt,n=e.length,l=t.length;if(n!=l&&!(s&&l>n))return!1;var c=r.get(e),p=r.get(t);if(c&&p)return c==t&&p==e;var d=-1,g=!0,h=i&vt?new xt:void 0;for(r.set(e,t),r.set(t,e);++d<n;){var u=e[d],m=t[d];if(o)var f=s?o(m,u,d,t,e,r):o(u,m,d,e,t,r);if(void 0!==f){if(f)continue;g=!1;break}if(h){if(!yt(t,(function(e,t){if(s=t,!h.has(s)&&(u===e||a(u,e,i,o,r)))return h.push(t);var s}))){g=!1;break}}else if(u!==m&&!a(u,m,i,o,r)){g=!1;break}}return r.delete(e),r.delete(t),g}var kt=M.Uint8Array;function Ct(e){var t=-1,i=Array(e.size);return e.forEach((function(e,o){i[++t]=[o,e]})),i}function St(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}var Tt=1,Bt=2,jt="[object Boolean]",_t="[object Date]",At="[object Error]",Lt="[object Map]",Nt="[object Number]",It="[object RegExp]",zt="[object Set]",Pt="[object String]",Dt="[object Symbol]",Mt="[object ArrayBuffer]",Ft="[object DataView]",Ot=F?F.prototype:void 0,Rt=Ot?Ot.valueOf:void 0;function $t(e,t){for(var i=-1,o=t.length,a=e.length;++i<o;)e[a+i]=t[i];return e}function Ut(e,t,i){var o=t(e);return Me(e)?o:$t(o,i(e))}function Gt(){return[]}var Et=Object.prototype.propertyIsEnumerable,qt=Object.getOwnPropertySymbols,Kt=qt?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var i=-1,o=null==e?0:e.length,a=0,r=[];++i<o;){var s=e[i];t(s,i,e)&&(r[a++]=s)}return r}(qt(e),(function(t){return Et.call(e,t)})))}:Gt,Wt=Kt;var Ht=9007199254740991,Vt=/^(?:0|[1-9]\d*)$/;function Qt(e,t){var i=typeof e;return!!(t=null==t?Ht:t)&&("number"==i||"symbol"!=i&&Vt.test(e))&&e>-1&&e%1==0&&e<t}var Jt=Object.prototype.hasOwnProperty;function Yt(e,t){var i=Me(e),o=!i&&De(e),a=!i&&!o&&Ee(e),r=!i&&!o&&!a&&Ye(e),s=i||o||a||r,n=s?function(e,t){for(var i=-1,o=Array(e);++i<e;)o[i]=t(i);return o}(e.length,String):[],l=n.length;for(var c in e)!t&&!Jt.call(e,c)||s&&("length"==c||a&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Qt(c,l))||n.push(c);return n}function Xt(e){return Re(e)?Yt(e):z(e)}function Zt(e){return Ut(e,Xt,Wt)}var ei=1,ti=Object.prototype.hasOwnProperty;var ii=1,oi="[object Arguments]",ai="[object Array]",ri="[object Object]",si=Object.prototype.hasOwnProperty;function ni(e,t,i,o,a,r){var s=Me(e),n=Me(t),l=s?ai:_e(e),c=n?ai:_e(t),p=(l=l==oi?ri:l)==ri,d=(c=c==oi?ri:c)==ri,g=l==c;if(g&&Ee(e)){if(!Ee(t))return!1;s=!0,p=!1}if(g&&!p)return r||(r=new mt),s||Ye(e)?wt(e,t,i,o,a,r):function(e,t,i,o,a,r,s){switch(i){case Ft:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Mt:return!(e.byteLength!=t.byteLength||!r(new kt(e),new kt(t)));case jt:case _t:case Nt:return it(+e,+t);case At:return e.name==t.name&&e.message==t.message;case It:case Pt:return e==t+"";case Lt:var n=Ct;case zt:var l=o&Tt;if(n||(n=St),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;o|=Bt,s.set(e,t);var p=wt(n(e),n(t),o,a,r,s);return s.delete(e),p;case Dt:if(Rt)return Rt.call(e)==Rt.call(t)}return!1}(e,t,l,i,o,a,r);if(!(i&ii)){var h=p&&si.call(e,"__wrapped__"),u=d&&si.call(t,"__wrapped__");if(h||u){var m=h?e.value():e,f=u?t.value():t;return r||(r=new mt),a(m,f,i,o,r)}}return!!g&&(r||(r=new mt),function(e,t,i,o,a,r){var s=i&ei,n=Zt(e),l=n.length;if(l!=Zt(t).length&&!s)return!1;for(var c=l;c--;){var p=n[c];if(!(s?p in t:ti.call(t,p)))return!1}var d=r.get(e),g=r.get(t);if(d&&g)return d==t&&g==e;var h=!0;r.set(e,t),r.set(t,e);for(var u=s;++c<l;){var m=e[p=n[c]],f=t[p];if(o)var x=s?o(f,m,p,t,e,r):o(m,f,p,e,t,r);if(!(void 0===x?m===f||a(m,f,i,o,r):x)){h=!1;break}u||(u="constructor"==p)}if(h&&!u){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(h=!1)}return r.delete(e),r.delete(t),h}(e,t,i,o,a,r))}function li(e,t,i,o,a){return e===t||(null==e||null==t||!Ae(e)&&!Ae(t)?e!=e&&t!=t:ni(e,t,i,o,li,a))}const ci=(e,t={})=>{const i=t||{},o=i.id??e?.props?.id;if(null!=o&&""!==o)return`id:${o}`;return`sku:${(i.goods||e?.props?.goods||[]).map((e=>e&&e.skuCode)).filter(Boolean).join(",")}`},pi=e=>{const{mGoodsInfo:t}=mi[e]||{};return t},di=(e,t,i)=>{mi[e]={mGoodsInfo:i,mGoods:t}},gi=(e,t={})=>{const i=t.goods||e?.props?.goods||[],o=ci(e,t),{mGoods:a}=mi[o]||{};return li(i,a)},hi=e=>b?process.env.REACT_APP_BASE_URL:e.$imgDomain;const ui=b?async(e,t)=>{const i=t.goods||e.props.goods||[];if(tt(i))return Promise.resolve({list:[]});const o=ci(e,t);if(gi(e,t))return Promise.resolve(pi(o));const a=localStorage.getItem("saas-token"),r=i.map((e=>e.skuCode)).filter(Boolean),s=r.join(",");let n=hi(e)+k+"?rows=200&page=1&checkFlag=true&skuCodeStr="+s;return 1===t.sortType&&(n+="&sortOrder=true"),await fetch(n,{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((e=>e.json())).then(((e={})=>{const t=e.list||[],a=new Map(t.map((e=>[e.skuCode,e]))),s=r.map((e=>a.get(e))).filter(Boolean),n={...e,list:s};return di(o,i,n),n}))}:async(e,t)=>{const{goods:i=[]}=t,o=i.map((e=>e&&e.skuCode)).filter(Boolean);if(!o.length)return{list:[]};let a=`web/es/searchengine/find.json?rows=200&page=1&skuCode=${o.join(",")}&orderFlagOr=true`;const{list:r=[]}=await e.http.get(a),s=new Set(o),n=r.filter((e=>s.has(e.skuCode))),l=new Map(n.map((e=>[e.skuCode,e]))),c=o.filter((e=>!l.has(e)));for(const t of c){const i=`web/es/searchengine/find.json?rows=1&page=1&skuCode=${t}&orderFlagOr=true`,o=await e.http.get(i),a=(o&&o.list||[]).find((e=>e.skuCode===t));a&&l.set(t,a)}let p=o.map((e=>l.get(e))).filter(Boolean);return 1===t.sortType&&(p=[...p].sort(((e,t)=>Number(t.goodsSalesvolume||0)-Number(e.goodsSalesvolume||0)))),{list:p}},mi={};var fi="[object Symbol]";function xi(e){return"symbol"==typeof e||Ae(e)&&W(e)==fi}var yi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bi=/^\w*$/;var vi="Expected a function";function wi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(vi);var i=function(){var o=arguments,a=t?t.apply(this,o):o[0],r=i.cache;if(r.has(a))return r.get(a);var s=e.apply(this,o);return i.cache=r.set(a,s)||r,s};return i.cache=new(wi.Cache||ht),i}wi.Cache=ht;var ki=500;var Ci,Si,Ti,Bi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ji=/\\(\\)?/g,_i=(Ci=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Bi,(function(e,i,o,a){t.push(o?a.replace(ji,"$1"):i||e)})),t},Si=wi(Ci,(function(e){return Ti.size===ki&&Ti.clear(),e})),Ti=Si.cache,Si),Ai=_i;function Li(e,t){for(var i=-1,o=null==e?0:e.length,a=Array(o);++i<o;)a[i]=t(e[i],i,e);return a}var Ni=1/0,Ii=F?F.prototype:void 0,zi=Ii?Ii.toString:void 0;function Pi(e){if("string"==typeof e)return e;if(Me(e))return Li(e,Pi)+"";if(xi(e))return zi?zi.call(e):"";var t=e+"";return"0"==t&&1/e==-Ni?"-0":t}function Di(e,t){return Me(e)?e:function(e,t){if(Me(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!xi(e))||bi.test(e)||!yi.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Ai(function(e){return null==e?"":Pi(e)}(e))}var Mi=1/0;function Fi(e){if("string"==typeof e||xi(e))return e;var t=e+"";return"0"==t&&1/e==-Mi?"-0":t}function Oi(e,t){for(var i=0,o=(t=Di(t,e)).length;null!=e&&i<o;)e=e[Fi(t[i++])];return i&&i==o?e:void 0}var Ri=function(){try{var e=de(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),$i=Ri;function Ui(e,t,i){"__proto__"==t&&$i?$i(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}var Gi=Object.prototype.hasOwnProperty;function Ei(e,t,i){var o=e[t];Gi.call(e,t)&&it(o,i)&&(void 0!==i||t in e)||Ui(e,t,i)}function qi(e,t,i,o){if(!H(e))return e;for(var a=-1,r=(t=Di(t,e)).length,s=r-1,n=e;null!=n&&++a<r;){var l=Fi(t[a]),c=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=s){var p=n[l];void 0===(c=o?o(p,l,n):void 0)&&(c=H(p)?p:Qt(t[a+1])?[]:{})}Ei(n,l,c),n=n[l]}return e}function Ki(e,t){return null!=e&&t in Object(e)}function Wi(e,t){return null!=e&&function(e,t,i){for(var o=-1,a=(t=Di(t,e)).length,r=!1;++o<a;){var s=Fi(t[o]);if(!(r=null!=e&&i(e,s)))break;e=e[s]}return r||++o!=a?r:!!(a=null==e?0:e.length)&&Oe(a)&&Qt(s,a)&&(Me(e)||De(e))}(e,t,Ki)}function Hi(e,t){return function(e,t,i){for(var o=-1,a=t.length,r={};++o<a;){var s=t[o],n=Oi(e,s);i(n,s)&&qi(r,Di(s,e),n)}return r}(e,t,(function(t,i){return Wi(e,i)}))}var Vi=F?F.isConcatSpreadable:void 0;function Qi(e){return Me(e)||De(e)||!!(Vi&&e&&e[Vi])}function Ji(e,t,i,o,a){var r=-1,s=e.length;for(i||(i=Qi),a||(a=[]);++r<s;){var n=e[r];t>0&&i(n)?t>1?Ji(n,t-1,i,o,a):$t(a,n):o||(a[a.length]=n)}return a}function Yi(e){return(null==e?0:e.length)?Ji(e,1):[]}var Xi=Math.max;var Zi=$i?function(e,t){return $i(e,"toString",{configurable:!0,enumerable:!1,value:(i=t,function(){return i}),writable:!0});var i}:function(e){return e},eo=Zi,to=800,io=16,oo=Date.now;var ao=function(e){var t=0,i=0;return function(){var o=oo(),a=io-(o-i);if(i=o,a>0){if(++t>=to)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(eo),ro=ao;function so(e){return ro(function(e,t,i){return t=Xi(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,r=Xi(o.length-t,0),s=Array(r);++a<r;)s[a]=o[t+a];a=-1;for(var n=Array(t+1);++a<t;)n[a]=o[a];return n[t]=i(s),function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}(e,this,n)}}(e,void 0,Yi),e+"")}var no=so((function(e,t){return null==e?{}:Hi(e,t)}));function lo(e,t,i,o){var a=!i;i||(i={});for(var r=-1,s=t.length;++r<s;){var n=t[r],l=o?o(i[n],e[n],n,i,e):void 0;void 0===l&&(l=e[n]),a?Ui(i,n,l):Ei(i,n,l)}return i}var co=Object.prototype.hasOwnProperty;function po(e){if(!H(e))return function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}(e);var t=A(e),i=[];for(var o in e)("constructor"!=o||!t&&co.call(e,o))&&i.push(o);return i}function go(e){return Re(e)?Yt(e,!0):po(e)}var ho="object"==typeof exports&&exports&&!exports.nodeType&&exports,uo=ho&&"object"==typeof module&&module&&!module.nodeType&&module,mo=uo&&uo.exports===ho?M.Buffer:void 0,fo=mo?mo.allocUnsafe:void 0;var xo=L(Object.getPrototypeOf,Object),yo=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)$t(t,Wt(e)),e=xo(e);return t}:Gt,bo=yo;function vo(e){return Ut(e,go,bo)}var wo=Object.prototype.hasOwnProperty;function ko(e){var t=new e.constructor(e.byteLength);return new kt(t).set(new kt(e)),t}var Co=/\w*$/;var So=F?F.prototype:void 0,To=So?So.valueOf:void 0;var Bo="[object Boolean]",jo="[object Date]",_o="[object Map]",Ao="[object Number]",Lo="[object RegExp]",No="[object Set]",Io="[object String]",zo="[object Symbol]",Po="[object ArrayBuffer]",Do="[object DataView]",Mo="[object Float32Array]",Fo="[object Float64Array]",Oo="[object Int8Array]",Ro="[object Int16Array]",$o="[object Int32Array]",Uo="[object Uint8Array]",Go="[object Uint8ClampedArray]",Eo="[object Uint16Array]",qo="[object Uint32Array]";function Ko(e,t,i){var o,a=e.constructor;switch(t){case Po:return ko(e);case Bo:case jo:return new a(+e);case Do:return function(e,t){var i=t?ko(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);case Mo:case Fo:case Oo:case Ro:case $o:case Uo:case Go:case Eo:case qo:return function(e,t){var i=t?ko(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}(e,i);case _o:return new a;case Ao:case Io:return new a(e);case Lo:return function(e){var t=new e.constructor(e.source,Co.exec(e));return t.lastIndex=e.lastIndex,t}(e);case No:return new a;case zo:return o=e,To?Object(To.call(o)):{}}}var Wo=Object.create,Ho=function(){function e(){}return function(t){if(!H(t))return{};if(Wo)return Wo(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}(),Vo=Ho;var Qo="[object Map]";var Jo=Qe&&Qe.isMap,Yo=Jo?Ke(Jo):function(e){return Ae(e)&&_e(e)==Qo},Xo="[object Set]";var Zo=Qe&&Qe.isSet,ea=Zo?Ke(Zo):function(e){return Ae(e)&&_e(e)==Xo},ta=1,ia=2,oa=4,aa="[object Arguments]",ra="[object Function]",sa="[object GeneratorFunction]",na="[object Object]",la={};function ca(e,t,i,o,a,r){var s,n=t&ta,l=t&ia,c=t&oa;if(i&&(s=a?i(e,o,a,r):i(e)),void 0!==s)return s;if(!H(e))return e;var p=Me(e);if(p){if(s=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&wo.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(e),!n)return function(e,t){var i=-1,o=e.length;for(t||(t=Array(o));++i<o;)t[i]=e[i];return t}(e,s)}else{var d=_e(e),g=d==ra||d==sa;if(Ee(e))return function(e,t){if(t)return e.slice();var i=e.length,o=fo?fo(i):new e.constructor(i);return e.copy(o),o}(e,n);if(d==na||d==aa||g&&!a){if(s=l||g?{}:function(e){return"function"!=typeof e.constructor||A(e)?{}:Vo(xo(e))}(e),!n)return l?function(e,t){return lo(e,bo(e),t)}(e,function(e,t){return e&&lo(t,go(t),e)}(s,e)):function(e,t){return lo(e,Wt(e),t)}(e,function(e,t){return e&&lo(t,Xt(t),e)}(s,e))}else{if(!la[d])return a?e:{};s=Ko(e,d,n)}}r||(r=new mt);var h=r.get(e);if(h)return h;r.set(e,s),ea(e)?e.forEach((function(o){s.add(ca(o,t,i,o,e,r))})):Yo(e)&&e.forEach((function(o,a){s.set(a,ca(o,t,i,a,e,r))}));var u=p?void 0:(c?l?vo:Zt:l?go:Xt)(e);return function(e,t){for(var i=-1,o=null==e?0:e.length;++i<o&&!1!==t(e[i],i,e););}(u||e,(function(o,a){u&&(o=e[a=o]),Ei(s,a,ca(o,t,i,a,e,r))})),s}function pa(e,t){return t.length<2?e:Oi(e,function(e,t,i){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(i=i>a?a:i)<0&&(i+=a),a=t>i?0:i-t>>>0,t>>>=0;for(var r=Array(a);++o<a;)r[o]=e[o+t];return r}(t,0,-1))}function da(e,t){return null==(e=pa(e,t=Di(t,e)))||delete e[Fi((i=t,o=null==i?0:i.length,o?i[o-1]:void 0))];var i,o}la[aa]=la["[object Array]"]=la["[object ArrayBuffer]"]=la["[object DataView]"]=la["[object Boolean]"]=la["[object Date]"]=la["[object Float32Array]"]=la["[object Float64Array]"]=la["[object Int8Array]"]=la["[object Int16Array]"]=la["[object Int32Array]"]=la["[object Map]"]=la["[object Number]"]=la[na]=la["[object RegExp]"]=la["[object Set]"]=la["[object String]"]=la["[object Symbol]"]=la["[object Uint8Array]"]=la["[object Uint8ClampedArray]"]=la["[object Uint16Array]"]=la["[object Uint32Array]"]=!0,la["[object Error]"]=la[ra]=la["[object WeakMap]"]=!1;var ga="[object Object]",ha=Function.prototype,ua=Object.prototype,ma=ha.toString,fa=ua.hasOwnProperty,xa=ma.call(Object);function ya(e){return function(e){if(!Ae(e)||W(e)!=ga)return!1;var t=xo(e);if(null===t)return!0;var i=fa.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&ma.call(i)==xa}(e)?void 0:e}var ba=so((function(e,t){var i={};if(null==e)return i;var o=!1;t=Li(t,(function(t){return t=Di(t,e),o||(o=t.length>1),t})),lo(e,vo(e),i),o&&(i=ca(i,7,ya));for(var a=t.length;a--;)da(i,t[a]);return i})),va=ba,wa={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 e=["fontSize","marginTop","marginBottom"],t=no(this.props||{},e),i=va(this.props||{},e);return{...v(t),...i}}}};function ka(e){return void 0===e}wa.render=function(a,r,s,n,l,c){return e(),t("div",{style:i([[c.computedStyle],{"font-family":"PingFangSC, PingFang SC"}])},o(s.props.value),5)};var Ca={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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o},computedStyle(){const e=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],t=no(this.props,e),i=va(this.props,e);return{...v(t),...i}}}};const Sa=["src"];function Ta(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"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=e:a.appendChild(document.createTextNode(e))}}Ta(".lc-img-item[data-v-e3f463ec]{box-sizing:border-box;width:100%}"),Ca.render=function(o,n,l,c,p,d){return e(),t("div",null,[(e(!0),t(a,null,r(d.resultArr,((a,r)=>(e(),t("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([d.computedStyle,p.imgStyle]),src:a.imgUrl,alt:""},null,12,Sa)])))),128))])},Ca.__scopeId="data-v-e3f463ec";var Ba={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 e=["marginTop","marginBottom"],t=no(this.props,e),i=va(this.props,e);return{...v(t),...i,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"17px"}}},methods:{goSearch(){b||this.$emit("ToSearch")}}};const ja={style:{overflow:"hidden"}},_a={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 Aa(e,t,i){var o=null==e?void 0:Oi(e,t);return void 0===o?i:o}Ba.render=function(a,r,l,c,p,d){return e(),t("div",ja,[s("div",{style:i([d.computedStyle]),onClick:r[0]||(r[0]=(...e)=>d.goSearch&&d.goSearch(...e))},[l.props.iconShow?(e(),t("img",_a)):n("",!0),s("div",{style:i([{flex:"1"},{color:l.props.fontColor}])},o(l.props.value),5)],4)])};var La={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:b}),mounted(){this.init()},computed:{getPrice:()=>e=>"2"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType||"4"==e.pricesetType?e.pricesetRefrice+"里程":e.pricesetNprice},methods:{async init(){this.domainNameUrl=hi(this);const e=await ui(this,this.props);this.listArr=Aa(e,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(e){if(b)return;const{skuCode:t}=e;let i={skuNo:t};this.$routers.push("detail",i)},getMaskState:e=>"1"===e?"预售中":"补货中"}};const Na={key:1},Ia=["onClick"],za={class:"imgWrapper"},Pa={class:"maskState"},Da=["src"],Ma={key:0,class:"specialGoodsName"},Fa={key:1,class:"goodsName"},Oa={class:"footerContent"},Ra={key:0,class:"goodsPrice"},$a={key:1,class:"goodsPrice"},Ua={key:2,class:"goodsPrice"},Ga={key:3,class:"goodsPrice"},Ea={key:4,class:"goodsBuy"};Ta(".cube-container[data-v-b9cf6cb0]{display:grid;font-family:PingFangSC,PingFang SC}.cube-container.arrange-1[data-v-b9cf6cb0]{grid-template-columns:repeat(1,1fr)}.cube-container.arrange-1 .cube-item .goodsImg[data-v-b9cf6cb0]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-b9cf6cb0]{background:#fff;padding:8px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:20px;margin-bottom:12px;margin-top:4px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-b9cf6cb0]{font-size:18px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:14px;margin-left:8px}.cube-container.arrange-2[data-v-b9cf6cb0]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item .goodsImg[data-v-b9cf6cb0]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-b9cf6cb0]{background:#fff;padding:8px;position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:14px;margin-bottom:4px;margin-top:8px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-b9cf6cb0]{-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-b9cf6cb0]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:12px}.cube-container.arrange-3[data-v-b9cf6cb0]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-b9cf6cb0]{flex:0 0 auto;max-width:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-b9cf6cb0]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription[data-v-b9cf6cb0]{background:#fff;margin-bottom:13px;padding:8px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-b9cf6cb0]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:14px;margin-left:8px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:20px;margin-bottom:12px;margin-top:12px}.cube-container.arrange-3 .cube-item[data-v-b9cf6cb0]:not(:last-child){margin-right:10px}.cube-container.arrange-4 .cube-item[data-v-b9cf6cb0]{background:#fff;display:flex;justify-content:space-around;padding:8px}.cube-container.arrange-4 .cube-item .imgWrapper .goodsImg[data-v-b9cf6cb0]{height:100px;width:100px}.cube-container.arrange-4 .cube-item .goodsDescription[data-v-b9cf6cb0]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:16px;height:auto}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-b9cf6cb0]{font-size:16px}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:12px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper[data-v-b9cf6cb0]{position:relative}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-b9cf6cb0]{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-b9cf6cb0]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-b9cf6cb0]{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-b9cf6cb0]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-b9cf6cb0]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-b9cf6cb0]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-b9cf6cb0]{color:#ed4444;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container .cube-item .goodsDescription .goodsBuy[data-v-b9cf6cb0]{align-self:flex-end;background-color:#ed4444;border-radius:17px;color:#fff;font-size:14px;line-height:22px;padding:1px 20px;text-align:center}"),La.render=function(c,p,d,g,h,u){return e(),t("div",null,[h.listArr.length?(e(),t("div",Na,[s("div",{class:l(["cube-container",`arrange-${d.props.arrange}`,{isLc:h.isLc}]),style:i({marginTop:`${d.props.marginTop}px`,marginBottom:`${d.props.marginBottom}px`,gap:`${d.props.margin}px`})},[(e(!0),t(a,null,r(h.listArr,((a,r)=>(e(),t("div",{class:"cube-item",key:a.skuCode,onClick:e=>u.goGoodsDetail(a)},[s("div",za,[!1===h.isLc&&(a.goodsSupplynum<=0||"1"===a.goodsProperty5)?(e(),t("div",{key:0,class:"imgMarked",style:i({borderRadius:`${d.props.borderRadius}px`})},[s("div",Pa,o(u.getMaskState(a.goodsProperty5)),1)],4)):n("",!0),s("img",{class:"goodsImg",src:a.dataPic?-1===a.dataPic.indexOf("http")?h.domainNameUrl+a.dataPic:a.dataPic:"",alt:"",style:i({borderRadius:`${d.props.borderRadius}px ${d.props.borderRadius}px 0px 0px`})},null,12,Da)]),s("div",{class:"goodsDescription",style:i({borderRadius:`0px 0px ${d.props.borderRadius}px ${d.props.borderRadius}px`})},[!0===h.isLc&&2===d.props.arrange?(e(),t("div",Ma,o(a.goodsName),1)):(e(),t("div",Fa,o(a.goodsName),1)),s("section",Oa,[c.$storage.get("sessionid")?1==c.$storage.get("shopModelTagValue").shopdeType&&"buy"==c.$storage.get("userinfoQuality")?(e(),t("div",$a,o(a.pricesetRefrice)+" 积分 ",1)):0==c.$storage.get("shopModelTagValue").shopdeType&&"buy"==c.$storage.get("userinfoQuality")?(e(),t("div",Ua,o(a.pricesetRefrice)+" 能量豆 ",1)):(e(),t("div",Ga," ¥"+o(a.pricesetNprice),1)):(e(),t("div",Ra," 登录后查看价格 ")),1===d.props.purchaseIcon?(e(),t("div",Ea,"立即购买")):n("",!0)])],4)],8,Ia)))),128))],6)])):(e(),t("div",{key:0,style:i(h.noDataStyle)},"请选择商品",4))])},La.__scopeId="data-v-b9cf6cb0";var qa={name:"cyy-slider",data:()=>({lowCode:b}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),o},imgH(){const{imgHeight:e}=this.props;return e.height/e.width*750},sliderStyle(){const e=no(this.props,["marginTop","marginBottom"]);return{...v(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const Ka={key:0},Wa=["src"],Ha={key:1},Va=["src"];Ta(".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}"),qa.render=function(o,n,l,h,u,m){const f=c("swiper-item"),x=c("swiper");return e(),t("div",null,[u.lowCode?(e(),t("div",Ka,[s("div",{class:"lowCode-warp",style:i([m.sliderStyle])},[s("img",{src:m.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Wa),s("ul",null,[(e(!0),t(a,null,r(m.resultArr,((i,a)=>(e(),t("li",{key:o.cyy})))),128))])],4)])):(e(),t("div",Ha,[p(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:d((()=>[(e(!0),t(a,null,r(m.resultArr,((t,a)=>(e(),g(f,{key:o.cyy,style:i([m.sliderStyle,{boxSizing:"border-box"}])},{default:d((()=>[s("img",{src:t.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Va)])),_: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:e=[]}=this.props;console.log(197);const t=e.toString();console.log(198);const i={goodsCode:t};console.log(199,i);const o=await ui(this,i);this.listArr=Aa(o,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(b)return;const{skuCode:t,skuNo:i}=e;let o={skuCode:t,skuNo:i};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:e=>"1"===e?"预售中":"补货中"};const Ja=e=>(u("data-v-12939422"),e=e(),m(),e),Ya={key:1},Xa={class:"three-layout"},Za={key:0,class:"top-left"},er={key:1,class:"top-right"},tr=[Ja((()=>s("div",null,"更多",-1))),Ja((()=>s("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],ir={class:"three-layout-content"},or={class:"three-layout-bigImg"},ar=["src"],rr={class:"three-layout-goods"},sr=["src"],nr={key:0,class:"mask-three-more"},lr={class:"price-box"},cr={key:0,class:"now-price"},pr={key:1},dr={class:"now-price"},gr={key:0,class:"origin-price"};Ta(".three-layout[data-v-12939422]{border-radius:7px}.three-layout .mask-three-more[data-v-12939422]{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-12939422]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout .three-layout-title .top-left[data-v-12939422]{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-12939422]{align-items:center;display:flex}.three-layout .three-layout-title .top-right div[data-v-12939422]{color:#595959;font-size:12px}.three-layout .three-layout-title .top-right image[data-v-12939422]{height:9px;margin-left:3px;width:6px}.three-layout .three-layout-content[data-v-12939422]{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-12939422]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout .three-layout-content .three-layout-goods[data-v-12939422]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout .three-layout-content .three-layout-goods .goods-items[data-v-12939422]{width:106px}.scroll-list[data-v-12939422]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list .scroll-item[data-v-12939422]{display:inline-block;margin-right:10px}.scroll-list .scroll-item image[data-v-12939422]{border-radius:5px;height:98px;width:98px}.scroll-list .scroll-item p[data-v-12939422]{-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-12939422]{margin-top:10px}"),Qa.render=function(l,g,u,m,f,x){const y=c("vop-label"),b=c("scroll-view");return e(),t("div",null,[u.props.goods?(e(),t("div",Ya,[s("div",Xa,[s("div",{class:"three-layout-title",onClick:g[0]||(g[0]=e=>x.jumpToSearch())},[u.props.title.isShow?n("",!0):(e(),t("div",Za,o(u.props.title.title||""),1)),1===u.props.more?(e(),t("div",er,tr)):n("",!0)]),s("div",ir,[s("div",or,[s("image",{"lazy-load":!0,src:u.props.bill?u.props.bill:"",mode:"aspectFill"},null,8,ar)]),s("div",rr,[p(b,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:d((()=>[(e(!0),t(a,null,r(f.listArr,((i,a)=>(e(),t("div",{class:"scroll-item",key:a,onClick:g[1]||(g[1]=e=>l.toDetail())},[s("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+i.dataPic,mode:"aspectFill"},null,8,sr),i.goodsSupplynum<=0||"1"===i.goodsProperty5?(e(),t("div",nr,o(l.maskTitle(i.goodsProperty5)),1)):n("",!0),s("p",null,[p(y,{goodsType:i.contlistPrice1},null,8,["goodsType"]),h(o(i.goodsName),1)]),s("div",lr,[l.$storage.get("sessionid")?(e(),t("div",pr,[s("div",dr,"¥"+o(i.pricesetMakeprice||0),1),1==i.contlistConNow?(e(),t("div",gr,"¥"+o(i.pricesetBaseprice||0),1)):n("",!0)])):(e(),t("div",cr,"登录后查看价格"))])])))),128))])),_:1})])])])])):(e(),t("div",{key:0,style:i(f.noDataStyle)},"请选择商品样式一",4))])},Qa.__scopeId="data-v-12939422";var hr={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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCornerKing:e=>16===e?"6px":32===e?"16px":"0",linkClick(e){this.$emit("linkClick",e)}}};const ur={key:0,class:"holder"},mr=["src","onClick"];Ta(".holder[data-v-51bfe23c]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-51bfe23c]{display:flex;width:100%}.ArsenalPicture .ArsenalImg[data-v-51bfe23c]{height:80px;width:80px}.ArsenalPicture-colunm .ArsenalImg[data-v-51bfe23c],.ArsenalPicture-colunm[data-v-51bfe23c]{width:100%}.ArsenalPicture-colunm .verticalSpacing[data-v-51bfe23c]{margin-bottom:10px}.horizontalLayout0[data-v-51bfe23c]{justify-content:space-between}.horizontalLayout1[data-v-51bfe23c]{justify-content:space-between;padding:0 10px}.horizontalLayout2[data-v-51bfe23c]{justify-content:space-around}"),hr.render=function(o,n,c,p,d,g){return e(),t("div",null,[c.props.selectImg.length?(e(),t("div",{key:1,class:l([1===c.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture",{horizontalLayout0:0===c.props.horizontalLayout&&0===c.props.showStyle,horizontalLayout1:1===c.props.horizontalLayout&&0===c.props.showStyle,horizontalLayout2:2===c.props.horizontalLayout&&0===c.props.showStyle}]),style:i({marginTop:c.props.marginTop+"px",marginBottom:c.props.marginBottom+"px"})},[(e(!0),t(a,null,r(g.resultArr,((o,a)=>(e(),t("div",{key:a,class:l({verticalSpacing:0===c.props.verticalSpacing&&1===c.props.showStyle})},[s("img",{class:"ArsenalImg",src:o.imgUrl,alt:"",style:i({borderRadius:g.classifyPhotoCornerKing(c.props.cornerStyle)}),mode:"widthFix",onClick:e=>g.linkClick(o)},null,12,mr)],2)))),128))],6)):(e(),t("div",ur,"请选择添加图片"))])},hr.__scopeId="data-v-51bfe23c";var fr={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:e,defaultValue:t}=this.props,i=e.filter((e=>null!==e)).filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCornerKing:e=>20===e?"6px":50===e?"50%":"0",classifyPhotoCorner:e=>20===e?6:50===e?16:e,linkClick(e){this.$emit("linkClick",e)}}};const xr={key:0,class:"holder"},yr=(e=>(u("data-v-5217407e"),e=e(),m(),e))((()=>s("div",null,null,-1))),br=["onClick"],vr=["src"],wr={key:1},kr=["onClick"],Cr=["src"];Ta(".holder[data-v-5217407e]{height:75px;padding:10px 0;width:100%}.holder ul[data-v-5217407e]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder ul li[data-v-5217407e]{list-style:none}.holder ul li div[data-v-5217407e]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder ul li div span[data-v-5217407e]{display:flex;font-size:12px;justify-content:center}.golds[data-v-5217407e]{border-radius:6px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap}.golds .golds-item[data-v-5217407e]{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-5217407e]{font-family:PingFangSC-Medium,PingFang SC;font-size:14px;line-height:15px;margin-top:4px;text-align:center}.golds .navigationNum4[data-v-5217407e]{width:25%}.golds .navigationNum5[data-v-5217407e]{width:20%}.photoSizeBig[data-v-5217407e]{height:58px;width:58px}.photoSizeSmall[data-v-5217407e]{height:42px;width:42px}.classify-list[data-v-5217407e]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list .classify-item[data-v-5217407e]{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-5217407e]{font-weight:700}.classify-list .classify-item img[data-v-5217407e]{margin:7.5px 0}.classify-list .classify-item[data-v-5217407e]:first-child,.classify-list .classify-item[data-v-5217407e]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-5217407e]{width:48%}.classifyItemSmall[data-v-5217407e]{width:46%}.classifyImgBig[data-v-5217407e]{height:90px;width:100%}.classifyImgSmall[data-v-5217407e]{height:87.75px;width:100%}.classifyFontBig[data-v-5217407e]{font-size:12px;height:12px;line-height:12px}.classifyFontSmall[data-v-5217407e]{font-size:11px;height:12px}"),fr.render=function(c,p,d,g,h,u){return e(),t("div",null,[u.resultArr.length?(e(),t(a,{key:1},[0===d.props.showStyle?(e(),t("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"})},[(e(!0),t(a,null,r(u.resultArr,((a,r)=>(e(),t("div",{class:l(["golds-item",[5===d.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:r,onClick:e=>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,vr),s("div",{style:i({color:d.props.fontColor})},o(a.name),5)],10,br)))),128))],4)):n("",!0),1===d.props.showStyle?(e(),t("div",wr,[s("div",{class:"classify-list",style:i({marginTop:d.props.marginTop+"px",marginBottom:d.props.marginBottom+"px"})},[(e(!0),t(a,null,r(u.resultArr,((a,r)=>(e(),t("div",{class:l(["classify-item",[1===d.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:i({backgroundColor:d.props.backgroundColor}),key:r,onClick:e=>u.linkClick(a)},[a.name?(e(),t("div",{key:0,class:l([1===d.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:i({color:d.props.fontColor})},o(a.name),7)):n("",!0),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,Cr)],14,kr)))),128))],4)])):n("",!0)],64)):(e(),t("div",xr,[s("ul",null,[(e(!0),t(a,null,r(h.skeleton,((i,a)=>(e(),t("li",{key:a},[yr,s("span",null,o(i),1)])))),128))])]))])},fr.__scopeId="data-v-5217407e";var Sr={name:"cyy-ArsenalCarousel",data:()=>({lowCode:b}),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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCorner:e=>20===e?10:50===e?20:e,linkClick(e){this.$emit("linkClick",e)}}};const Tr={key:0},Br=["src"],jr={class:"swiper"},_r=["src","onClick"];Ta(".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%}"),Sr.render=function(o,n,l,h,u,m){const f=c("swiper-item"),x=c("block"),y=c("swiper");return e(),t("div",null,[u.lowCode?(e(),t("div",Tr,[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,Br),s("ul",null,[(e(!0),t(a,null,r(m.resultArr,((i,o)=>(e(),t("li",{key:o})))),128))])],4)])):(e(),t("div",{key:1,class:"swiperBox",style:i({marginTop:l.props.marginTop+"px",marginBottom:l.props.marginBottom+"px"})},[s("div",jr,[p(y,{interval:"4000",class:"swiper-content",circular:"true",vertical:m.directionResult,autoplay:m.autoplayResult,duration:l.props.autoplayInterval},{default:d((()=>[(e(!0),t(a,null,r(m.resultArr,((t,o)=>(e(),g(x,{key:o},{default:d((()=>[p(f,{class:"img-item"},{default:d((()=>[s("img",{style:i({borderRadius:m.classifyPhotoCorner(l.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>m.linkClick(t)},null,12,_r)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},Sr.__scopeId="data-v-7b0ae6ba";var Ar={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Lr={key:0,class:"label"};Ta(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Ar.render=function(i,o,a,r,s,l){return"40"===a.goodsType?(e(),t("text",Lr,"京东优选")):n("",!0)},Ar.__scopeId="data-v-3a887c2c";var Nr={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:b}),computed:{getPrice:()=>e=>"2"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType||"4"==e.pricesetType?e.pricesetRefrice+"里程":e.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 e=>"show"===e?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===e?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===e?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Ar},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=hi(this);if(0===(this.props.goods||[]).length)return this.goodsList=[],void(this.completeGoodsList=[]);const e=Aa(await ui(this,this.props),"list",[]),t=new Map((e||[]).map((e=>[e.skuCode,e])));this.completeGoodsList=(this.props.goods||[]).map((e=>t.get(e.skuCode))).filter(Boolean),this.completeGoodsList.forEach((e=>{e.rsGoodsFileDomainList=[],e.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)),console.log("搭配里的商品个数",(this.props.goods||[]).length),console.log("completeGoodsList.length",this.completeGoodsList.length);const i=(this.props.goods||[]).map((e=>e.skuCode)),o=e.map((e=>e.skuCode)),a=i.filter((e=>!o.includes(e)));console.log("配置SKU",i),console.log("返回SKU",o),console.log("缺失SKU",a)},goGoodsDetail(e){if(b)return;const{skuCode:t}=e;let i={skuNo:t};this.$routers.push("detail",i)},goMoreGoods(){b||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:e=>"1"===e?"预售中":"补货中",linkClick(e){this.$emit("linkClick",e)}}},Ir="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const zr=e=>(u("data-v-55ea84b8"),e=e(),m(),e),Pr={key:0},Dr={key:1,class:"title"},Mr={class:"subtitle"},Fr=zr((()=>s("img",{src:Ir},null,-1))),Or={key:3,class:"more"},Rr={class:"title"},$r=zr((()=>s("div",{class:"line"},null,-1))),Ur={class:"mainTitle"},Gr=zr((()=>s("div",{class:"line"},null,-1))),Er={key:2,class:"mainImage"},qr=["src"],Kr=["src"],Wr=["onClick"],Hr=["src"],Vr={class:"maskState"},Qr={class:"goodsDescription"},Jr={class:"goodsName"},Yr={class:"footerContent"},Xr={key:0,class:"goodsTagList"},Zr={class:"tag"},es={key:1,class:"goodsPrice"},ts={class:"price-box"},is={class:"price2"},os=zr((()=>s("div",{class:"text1"},"积分",-1))),as={key:2,class:"goodsPrice"},rs={class:"price-box"},ss={class:"price2"},ns=zr((()=>s("div",{class:"text1"},"能量豆",-1))),ls={key:3,class:"goodsPrice"},cs={class:"price-box1"},ps={class:"price3"},ds=["onClick"];Ta("body{margin:0}");Ta(".mainTitleColor[data-v-55ea84b8]{color:#f52b43}.top[data-v-55ea84b8]{margin:0 10px;padding:12px 0}.top .mainTitle[data-v-55ea84b8]{font-size:16px;font-weight:600}.top.left[data-v-55ea84b8]{align-items:flex-end;display:flex;justify-content:space-between}.top.left .title .subtitle[data-v-55ea84b8]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top.left .more[data-v-55ea84b8]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top.left .more img[data-v-55ea84b8]{height:8px;width:6px}.top.center[data-v-55ea84b8]{padding:18px 0}.top.center .title[data-v-55ea84b8]{align-items:center;display:flex;justify-content:center}.top.center .title .line[data-v-55ea84b8]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top.center .title .mainTitle[data-v-55ea84b8]{text-align:center}.mainImage[data-v-55ea84b8]{max-width:100%}.mainImage .mainImageSon[data-v-55ea84b8]{-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-55ea84b8]{margin:8px 10px 0}.goodsList .goodsBox[data-v-55ea84b8]{background-color:#fff}.goodsList .goodsBox .imgMarked[data-v-55ea84b8]{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-55ea84b8]{color:#fff;font-size:23px}.goodsList .goodsBox .goodsDescription[data-v-55ea84b8]{padding:8px}.goodsList .goodsBox .goodsDescription .goodsName[data-v-55ea84b8]{-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-55ea84b8]{margin-bottom:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList[data-v-55ea84b8]{display:flex;font-size:12px;margin-top:6px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-55ea84b8]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-55ea84b8]:not(:last-child){margin-right:8px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-55ea84b8]{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box[data-v-55ea84b8]{color:#e02020;display:flex;flex-direction:row;font-weight:600}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box .price2[data-v-55ea84b8]{font-size:24px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box .text1[data-v-55ea84b8]{color:#3a4259;font-size:12px;margin-left:4px;padding-top:12px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box1[data-v-55ea84b8]{color:#e02020;display:flex;flex-direction:row;font-weight:600}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box1 .price3[data-v-55ea84b8]{font-size:18px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .priceUnit[data-v-55ea84b8]{font-size:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .scribing[data-v-55ea84b8]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-55ea84b8]{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-55ea84b8]{display:flex;flex-wrap:wrap;justify-content:flex-start;overflow:visible}.arrange-1 .goodsBox[data-v-55ea84b8]{background:#fff;display:flex;flex-direction:column;margin-bottom:10px;margin-right:10px;min-width:0;width:calc(33.33333% - 6.66667px)}.arrange-1 .goodsBox .goodsImageWrapper[data-v-55ea84b8]{width:100%}.arrange-1 .goodsBox .goodsImageWrapper .goodsImage[data-v-55ea84b8]{aspect-ratio:1;display:block;height:auto;margin:0;width:100%}.arrange-1 .goodsBox[data-v-55ea84b8]:nth-child(3n){margin-right:0}.arrange-1 .footerContent[data-v-55ea84b8]{margin-top:auto}.arrange-1 .footerContent .goodsBuy[data-v-55ea84b8]{margin-bottom:10px;text-align:center}.arrange-2[data-v-55ea84b8],.arrange-4[data-v-55ea84b8]{display:flex;flex-direction:column;margin:8px auto}.arrange-2 .goodsBox[data-v-55ea84b8],.arrange-4 .goodsBox[data-v-55ea84b8]{display:flex;margin-bottom:10px;padding:10px}.arrange-2 .goodsBox .goodsImageWrapper[data-v-55ea84b8],.arrange-4 .goodsBox .goodsImageWrapper[data-v-55ea84b8]{width:50%}.arrange-2 .goodsBox .goodsImageWrapper .goodsImage[data-v-55ea84b8],.arrange-4 .goodsBox .goodsImageWrapper .goodsImage[data-v-55ea84b8]{aspect-ratio:1;height:100%;width:100%}.arrange-2 .goodsBox .goodsDescription[data-v-55ea84b8],.arrange-4 .goodsBox .goodsDescription[data-v-55ea84b8]{margin-left:10px;position:relative;width:100%}.arrange-2 .goodsBox .goodsDescription .goodsName[data-v-55ea84b8],.arrange-4 .goodsBox .goodsDescription .goodsName[data-v-55ea84b8]{font-size:14px;height:auto}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-55ea84b8],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-55ea84b8]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-55ea84b8],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-55ea84b8]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-55ea84b8]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3 .goodsBox[data-v-55ea84b8]{background:#fff;margin-top:10px;width:48%}.arrange-3 .goodsBox .goodsImage[data-v-55ea84b8]{aspect-ratio:1;height:100%;width:100%}.arrange-3 .goodsBox .goodsDescription .goodsName[data-v-55ea84b8]{height:2em;line-height:1em;margin-top:10px}.arrange-3 .goodsBox .goodsDescription .footerContent[data-v-55ea84b8]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-55ea84b8]{margin:0}.arrange-3 .goodsBox[data-v-55ea84b8]:first-child{width:100%}.arrange-3 .goodsBox:first-child .goodsImage[data-v-55ea84b8]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3 .goodsBox:first-child .goodsName[data-v-55ea84b8]{height:auto}.arrange-5[data-v-55ea84b8]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5 .goodsBox[data-v-55ea84b8]{background:#fff}.arrange-5 .goodsBox .goodsImage[data-v-55ea84b8]{aspect-ratio:1;height:100%;width:100%}.arrange-5 .goodsDescription .footerContent[data-v-55ea84b8]{margin-bottom:10px}.arrange-5 .goodsDescription .footerContent .goodsPrice[data-v-55ea84b8]{text-align:center}.arrange-5 .goodsDescription .footerContent .goodsBuy[data-v-55ea84b8]{margin-bottom:10px;text-align:center}"),Nr.render=function(d,g,u,m,f,x){const y=c("vopLabel");return e(),t("div",null,[u.props.goods?(e(),t("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?(e(),t("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?(e(),t("div",Pr)):(e(),t("div",Dr,[s("span",{class:l(["mainTitle",x.mainTitleColor])},o(x.ruleTitle?u.props.activityTitleLable[0].title:x.hasNewActivityTitle),3),s("span",Mr,o(x.ruleTitle?u.props.activityTitleLable[0].subTitle:x.hasNewActivitySubtitle),1)])),1===u.props.more&&[1,2,3].includes(u.props.arrange)?(e(),t("div",{key:2,class:"more",onClick:g[0]||(g[0]=e=>x.goMoreGoods())},[h("更多"),Fr])):(e(),t("div",Or))],6)):4===u.props.arrange?(e(),t("div",{key:1,class:l(["top",{center:4===u.props.arrange}])},[s("div",Rr,[$r,s("div",Ur,o(x.hasNewActivityTitle),1),Gr])],2)):n("",!0),x.selectImgRule("show")?(e(),t("div",Er,[f.isLc?(e(),t("img",{key:0,class:"mainImageSon",style:i({borderTopLeftRadius:`${u.props.cornerStyle}px`,borderTopRightRadius:`${u.props.cornerStyle}px`}),src:x.selectImgRule("url"),alt:"主图",onClick:g[1]||(g[1]=e=>x.linkClick(x.selectImgRule("link")))},null,12,qr)):(e(),t("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:g[2]||(g[2]=e=>x.linkClick(x.selectImgRule("link")))},null,12,Kr))])):n("",!0),s("div",{class:l(["goodsList",[`arrange-${u.props.arrange}`,{isLc:!f.isLc}]])},[(e(!0),t(a,null,r(f.goodsList,((c,g)=>(e(),t("div",{class:"goodsBox",style:i({borderRadius:`${u.props.cornerStyle}px`}),key:c.skuCode,onClick:e=>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,Hr),!1===f.isLc&&(c.goodsSupplynum<=0||"1"===c.goodsProperty5)?(e(),t("div",{key:0,class:"imgMarked",style:i({borderRadius:u.props.borderRadius})},[s("div",Vr,o(x.getMaskState(c.goodsProperty5)),1)],4)):n("",!0)],2),s("div",Qr,[s("div",Jr,[p(y),h(o(c.goodsName),1)]),s("section",Yr,[u.props.goodsTag.length>0&&[2,4].includes(u.props.arrange)?(e(),t("div",Xr,[(e(!0),t(a,null,r(u.props.goodsTag,(i=>(e(),t("div",{key:i.id},[s("span",Zr,o(i.value),1)])))),128))])):n("",!0),1==d.$storage.get("shopModelTagValue").shopdeType&&"buy"==d.$storage.get("userinfoQuality")?(e(),t("div",es,[s("div",ts,[s("div",is,o(c.pricesetRefrice),1),os])])):0==d.$storage.get("shopModelTagValue").shopdeType&&"buy"==d.$storage.get("userinfoQuality")?(e(),t("div",as,[s("div",rs,[s("div",ss,o(c.pricesetRefrice),1),ns])])):(e(),t("div",ls,[s("div",cs,[s("div",ps,"¥"+o(c.pricesetNprice),1)])])),1===u.props.purchaseIcon?(e(),t("div",{key:4,class:"goodsBuy",onClick:e=>d.handleBuyGoods(c.skuNo)},"立即购买",8,ds)):n("",!0)])])],12,Wr)))),128))],2)],4)):(e(),t("div",{key:0,style:i(f.noDataStyle)},"请选择商品",4))])},Nr.__scopeId="data-v-55ea84b8";const gs="%[a-f0-9]{2}",hs=new RegExp("("+gs+")|([^%]+?)","gi"),us=new RegExp("("+gs+")+","gi");function ms(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const i=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],ms(i),ms(o))}function fs(e){try{return decodeURIComponent(e)}catch{let t=e.match(hs)||[];for(let i=1;i<t.length;i++)t=(e=ms(t,i).join("")).match(hs)||[];return e}}function xs(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let i=us.exec(e);for(;i;){try{t[i[0]]=decodeURIComponent(i[0])}catch{const e=fs(i[0]);e!==i[0]&&(t[i[0]]=e)}i=us.exec(e)}t["%C2"]="�";const o=Object.keys(t);for(const i of o)e=e.replace(new RegExp(i,"g"),t[i]);return e}(e)}}function ys(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const i=e.indexOf(t);return-1===i?[]:[e.slice(0,i),e.slice(i+t.length)]}function bs(e,t){const i={};if(Array.isArray(t))for(const o of t){const t=Object.getOwnPropertyDescriptor(e,o);t?.enumerable&&Object.defineProperty(i,o,t)}else for(const o of Reflect.ownKeys(e)){const a=Object.getOwnPropertyDescriptor(e,o);if(a.enumerable){t(o,e[o],e)&&Object.defineProperty(i,o,a)}}return i}const vs=e=>null==e,ws=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)),ks=Symbol("encodeFragmentIdentifier");function Cs(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Ss(e,t){return t.encode?t.strict?ws(e):encodeURIComponent(e):e}function Ts(e,t){return t.decode?xs(e):e}function Bs(e){return Array.isArray(e)?e.sort():"object"==typeof e?Bs(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function js(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function _s(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function As(e){const t=(e=js(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function Ls(e,t){Cs((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const i=function(e){let t;switch(e.arrayFormat){case"index":return(e,i,o)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===o[e]&&(o[e]={}),o[e][t[1]]=i):o[e]=i};case"bracket":return(e,i,o)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==o[e]?o[e]=[...o[e],i]:o[e]=[i]:o[e]=i};case"colon-list-separator":return(e,i,o)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==o[e]?o[e]=[...o[e],i]:o[e]=[i]:o[e]=i};case"comma":case"separator":return(t,i,o)=>{const a="string"==typeof i&&i.includes(e.arrayFormatSeparator),r="string"==typeof i&&!a&&Ts(i,e).includes(e.arrayFormatSeparator);i=r?Ts(i,e):i;const s=a||r?i.split(e.arrayFormatSeparator).map((t=>Ts(t,e))):null===i?i:Ts(i,e);o[t]=s};case"bracket-separator":return(t,i,o)=>{const a=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!a)return void(o[t]=i?Ts(i,e):i);const r=null===i?[]:i.split(e.arrayFormatSeparator).map((t=>Ts(t,e)));void 0!==o[t]?o[t]=[...o[t],...r]:o[t]=r};default:return(e,t,i)=>{void 0!==i[e]?i[e]=[...[i[e]].flat(),t]:i[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const a of e.split("&")){if(""===a)continue;const e=t.decode?a.replace(/\+/g," "):a;let[r,s]=ys(e,"=");void 0===r&&(r=e),s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ts(s,t),i(Ts(r,t),s,o)}for(const[e,i]of Object.entries(o))if("object"==typeof i&&null!==i)for(const[e,o]of Object.entries(i))i[e]=_s(o,t);else o[e]=_s(i,t);return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce(((e,t)=>{const i=o[t];return Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?e[t]=Bs(i):e[t]=i,e}),Object.create(null))}function Ns(e,t){if(!e)return"";Cs((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const i=i=>t.skipNull&&vs(e[i])||t.skipEmptyString&&""===e[i],o=function(e){switch(e.arrayFormat){case"index":return t=>(i,o)=>{const a=i.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,[Ss(t,e),"[",a,"]"].join("")]:[...i,[Ss(t,e),"[",Ss(a,e),"]=",Ss(o,e)].join("")]};case"bracket":return t=>(i,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,[Ss(t,e),"[]"].join("")]:[...i,[Ss(t,e),"[]=",Ss(o,e)].join("")];case"colon-list-separator":return t=>(i,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,[Ss(t,e),":list="].join("")]:[...i,[Ss(t,e),":list=",Ss(o,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return i=>(o,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?o:(a=null===a?"":a,0===o.length?[[Ss(i,e),t,Ss(a,e)].join("")]:[[o,Ss(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(i,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,Ss(t,e)]:[...i,[Ss(t,e),"=",Ss(o,e)].join("")]}}(t),a={};for(const[t,o]of Object.entries(e))i(t)||(a[t]=o);const r=Object.keys(a);return!1!==t.sort&&r.sort(t.sort),r.map((i=>{const a=e[i];return void 0===a?"":null===a?Ss(i,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?Ss(i,t)+"[]":a.reduce(o(i),[]).join("&"):Ss(i,t)+"="+Ss(a,t)})).filter((e=>e.length>0)).join("&")}function Is(e,t){t={decode:!0,...t};let[i,o]=ys(e,"#");return void 0===i&&(i=e),{url:i?.split("?")?.[0]??"",query:Ls(As(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:Ts(o,t)}:{}}}function zs(e,t){t={encode:!0,strict:!0,[ks]:!0,...t};const i=js(e.url).split("?")[0]||"";let o=Ns({...Ls(As(e.url),{sort:!1}),...e.query},t);o&&(o=`?${o}`);let a=function(e){let t="";const i=e.indexOf("#");return-1!==i&&(t=e.slice(i)),t}(e.url);if(e.fragmentIdentifier){const o=new URL(i);o.hash=e.fragmentIdentifier,a=t[ks]?o.hash:`#${e.fragmentIdentifier}`}return`${i}${o}${a}`}function Ps(e,t,i){i={parseFragmentIdentifier:!0,[ks]:!1,...i};const{url:o,query:a,fragmentIdentifier:r}=Is(e,i);return zs({url:o,query:bs(a,t),fragmentIdentifier:r},i)}var Ds=Object.freeze({__proto__:null,extract:As,parse:Ls,stringify:Ns,parseUrl:Is,stringifyUrl:zs,pick:Ps,exclude:function(e,t,i){return Ps(e,Array.isArray(t)?e=>!t.includes(e):(e,i)=>!t(e,i),i)}}),Ms={name:"cyy-ArsenalTop",data:()=>({lowCode:b,color:"#FD1738",userData:{userlevel:"",userinfoCompname:"",userTag:"",userinfoPhone:"",workingYears:"",totalTaskNum:"",companyAddress:""},identityhtml:"buy",userDataImg:{},isShopGoinRFFlag:!1}),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},isShopGoinRF:{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(b){this.userData={userlevel:"3星",userinfoCompname:"张伟",userTag:"精工",userinfoPhone:18987250932,workingYears:"12年",totalTaskNum:"85",companyAddress:"邯郸县丛台路"};const e=location.hash.replace(/[\\/#?]/g,""),t=Ds.parse(e);this.identityhtml=t.tginfoScope??"","merchant"===this.identityhtml&&(this.userData.userTag="经销商"),"supplier"===this.identityhtml&&(this.userData.userTag="代理商"),console.log("打印this.identityhtml",this.identityhtml)}else this.isShopGoinRFFlag=this.isShopGoinRF,this.identityhtml=this.identity;"tourist"!==this.identityhtml&&this.getIsLc()},computed:{resultArrImg:()=>e=>e[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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o},shopSiteName(){return console.log(this.props,"props"),b?new URLSearchParams(location.hash.split("?")[1]||"").get("tginfoName")||"":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(){return this.props.backImg||this.props.topImg||""},swiperList(){return this.props.selectImg||[]},showSwiper(){return this.swiperList.length>0},autoPlay(){return 0===this.props.autoPlay||!1===this.props.autoPlay},autoplayInterval(){return this.props.autoplayInterval||1500},direction(){return this.props.direction||0},showBtn(){return!this.$storage||(this.$storage.get("userinfoQuality")&&"supplier"!=this.$storage.get("userinfoQuality")||"supplier"==this.$storage.get("userinfoQuality")&&1==JSON.parse(this.$storage.get("userInfo")).userType)}},methods:{rpx2unit:e=>b?Math.round(e/2)+"px":e+"rpx",getIsLc(){let e=this;if(!b)return this.getUser(e)},async getUser(e){const t=await e.http.get("/web/um/userservice/getUser.json");this.userData=t.dataObj;const i=await e.http.get("/web/um/card/getUmCardForUser.json");this.userDataImg=i},classifyPhotoCorner:e=>20===e?10:50===e?20:e,setimg(e){const t=e.detail.current;this.color=this.props.selectImg[t]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},switchRole(){this.$emit("switchRole")},ToSearch1(){this.$emit("ToSearch1")},linkClick(e){this.$emit("linkClick",e)},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(e){this.$emit("swiperChange",e.detail)},onSwiperClick(e){e.link&&this.$emit("linkClick",{link:e.link})}}};const Fs=e=>(u("data-v-244315c6"),e=e(),m(),e),Os={class:"shop-top__bg"},Rs=["src"],$s={class:"shop-top__content"},Us={key:0,class:"shop-top__swiper-wrap"},Gs=["src"],Es={class:"shop-top__bg"},qs=["src"],Ks={class:"shop-top__content"},Ws={key:0,class:"shop-top__address"},Hs={class:"shop-top__address-left"},Vs=Fs((()=>s("image",{class:"shop-top__location-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame%402x.png",mode:"aspectFit"},null,-1))),Qs={class:"shop-top__site-name"},Js=[Fs((()=>s("image",{class:"shop-top__switch-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame246%402x.png",mode:"aspectFit"},null,-1))),Fs((()=>s("text",{class:"shop-top__switch-text"},"切换",-1)))],Ys={key:1,class:"shop-top__address"},Xs={class:"shop-top__address-left"},Zs=Fs((()=>s("image",{class:"shop-top__location-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame%402x.png",mode:"aspectFit"},null,-1))),en={key:0,class:"shop-top__site-name"},tn={key:1,class:"shop-top__site-name"},on=[Fs((()=>s("image",{class:"shop-top__switch-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame246%402x.png",mode:"aspectFit"},null,-1))),Fs((()=>s("text",{class:"shop-top__switch-text"},"切换",-1)))],an={key:2,class:"shop-top__points-row"},rn=Fs((()=>s("image",{class:"shop-top__points-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame63%402x.png",mode:"aspectFit"},null,-1))),sn={key:0,class:"shop-top__points-text"},nn={key:3,class:"shop-top__points-row"},ln=Fs((()=>s("image",{class:"shop-top__points-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame63%402x.png",mode:"aspectFit"},null,-1))),cn={class:"shop-top__points-text"},pn={class:"shop-top__search-row"},dn={class:"shop-top__placeholder"},gn=Fs((()=>s("image",{class:"shop-top__search-icon-img",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/sousuo.png",mode:"aspectFit"},null,-1))),hn={class:"shop-top__class-text"},un={key:4,class:"shop-top__swiper-wrap"},mn=["src"],fn={key:2,class:"Box"},xn={key:0,class:"boxBgL"},yn={key:1,class:"boxBg"},bn={class:"header-title name"},vn=Fs((()=>s("span",null,"日丰工匠家",-1))),wn={key:0,class:"btn nameIcon",style:{right:"20px"}},kn=Fs((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/message.png",style:{width:"18px",height:"18px"}},null,-1))),Cn=[Fs((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/checkin.png",style:{width:"18px",height:"18px"}},null,-1))),Fs((()=>s("span",{class:"massage"},"签到",-1)))],Sn={class:"worterMan"},Tn={key:0,class:"user-details"},Bn=Fs((()=>s("div",{class:"avatar-container"},[s("img",{class:"avatar",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/maskgroup2x.png",mode:"aspectFill"})],-1))),jn={class:"worterManOther"},_n=Fs((()=>s("div",{class:"user-name-row"},[s("span",{class:"user-name"},"你好!")],-1))),An={class:"user-contactLogin"},Ln=Fs((()=>s("span",{class:"loginJingcai"}," 登录后享更多精彩",-1))),Nn=[Fs((()=>s("span",{class:"loginSpan"},"立即登录",-1)))],In={key:3,class:"worterMan"},zn={key:0,class:"avatar-container"},Pn=["src"],Dn={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"},On={class:"user-name"},Rn={class:"expert-tag"},$n={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"}},Un={key:1,src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/shenfen2.png",style:{width:"22px",height:"22px"}},Gn={class:"tag-text"},En={class:"user-contact"},qn=Fs((()=>s("img",{style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icphone%402x.png"},null,-1))),Kn={class:"phone-number"},Wn={key:0,class:"work-info"},Hn={key:1,class:"work-all"},Vn={key:2,style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/address2.png"},Qn={key:3,class:"work-all"},Jn=Fs((()=>s("div",{style:{height:"8px"}},null,-1))),Yn={key:4,class:"employee"},Xn={class:"employeeOne"},Zn={class:"employeeOneLeft"},el={class:"employeeOneRight"},tl=Fs((()=>s("img",{class:"employeeOneRightImg",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/shenfen2.png"},null,-1))),il={class:"employeeOneRightE"},ol={key:0,class:"worterManOther"},al={class:"user-contact"},rl=Fs((()=>s("img",{style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icphone%402x.png"},null,-1))),sl={class:"phone-number"},nl=Fs((()=>s("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),ll=["src"],cl={key:4},pl={class:"swiper"},dl=["src","onClick"];Ta(".holder[data-v-244315c6]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-244315c6]{border-radius:6px;height:auto;width:100%}@media (max-width:320px){.swiperBox[data-v-244315c6]{height:116.37507px}}@media (min-width:321px) and (max-width:360px){.swiperBox[data-v-244315c6]{height:132.10144px}}@media (min-width:361px) and (max-width:375px){.swiperBox[data-v-244315c6]{height:137.99882px}}@media (min-width:376px) and (max-width:390px){.swiperBox[data-v-244315c6]{height:143.89621px}}@media (min-width:391px) and (max-width:412px){.swiperBox[data-v-244315c6]{height:152.5457px}}@media (min-width:413px) and (max-width:414px){.swiperBox[data-v-244315c6]{height:153.33202px}}@media (min-width:415px) and (max-width:428px){.swiperBox[data-v-244315c6]{height:158.83625px}}@media (min-width:429px) and (max-width:430px){.swiperBox[data-v-244315c6]{height:159.62257px}}@media (min-width:431px) and (max-width:440px){.swiperBox[data-v-244315c6]{height:163.55416px}}@media (min-width:441px) and (max-width:450px){.swiperBox[data-v-244315c6]{height:167.48575px}}@media (min-width:451px) and (max-width:460px){.swiperBox[data-v-244315c6]{height:171.41734px}}@media (min-width:461px) and (max-width:475px){.swiperBox[data-v-244315c6]{height:177.31472px}}@media (min-width:476px) and (max-width:490px){.swiperBox[data-v-244315c6]{height:183.21211px}}@media (min-width:491px) and (max-width:505px){.swiperBox[data-v-244315c6]{height:189.10949px}}@media (min-width:506px) and (max-width:550px){.swiperBox[data-v-244315c6]{height:206.80165px}}@media (min-width:551px) and (max-width:700px){.swiperBox[data-v-244315c6]{height:265.77551px}}@media (min-width:701px) and (max-width:768px){.swiperBox[data-v-244315c6]{height:292.51032px}}@media (min-width:769px) and (max-width:800px){.swiperBox[data-v-244315c6]{height:305.09141px}}@media (min-width:801px) and (max-width:1024px){.swiperBox[data-v-244315c6]{height:393.15903px}}.swiperBox .swiper .swiper-content[data-v-244315c6],.swiperBox .swiper[data-v-244315c6]{height:100%;width:100%}.swiperBox .swiper .swiper-content .img-item[data-v-244315c6]{box-sizing:border-box;padding:0 12.5px}.swiperBox .swiper img[data-v-244315c6]{border-radius:6px;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.Box[data-v-244315c6]{position:relative;width:100%}.boxBg[data-v-244315c6]{left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg .one[data-v-244315c6]{background-position:top;background-repeat:no-repeat;background-size:contain;width:100%}@media (max-width:320px){.boxBg .one[data-v-244315c6]{height:216.8224px}}@media (min-width:321px) and (max-width:360px){.boxBg .one[data-v-244315c6]{height:243.9252px}}@media (min-width:361px) and (max-width:375px){.boxBg .one[data-v-244315c6]{height:254.08875px}}@media (min-width:376px) and (max-width:390px){.boxBg .one[data-v-244315c6]{height:264.2523px}}@media (min-width:391px) and (max-width:412px){.boxBg .one[data-v-244315c6]{height:279.15884px}}@media (min-width:413px) and (max-width:414px){.boxBg .one[data-v-244315c6]{height:280.51398px}}@media (min-width:415px) and (max-width:428px){.boxBg .one[data-v-244315c6]{height:289.99996px}}@media (min-width:429px) and (max-width:430px){.boxBg .one[data-v-244315c6]{height:291.3551px}}@media (min-width:431px) and (max-width:440px){.boxBg .one[data-v-244315c6]{height:298.1308px}}@media (min-width:441px) and (max-width:450px){.boxBg .one[data-v-244315c6]{height:304.9065px}}@media (min-width:451px) and (max-width:460px){.boxBg .one[data-v-244315c6]{height:311.6822px}}@media (min-width:461px) and (max-width:475px){.boxBg .one[data-v-244315c6]{height:321.84575px}}@media (min-width:476px) and (max-width:490px){.boxBg .one[data-v-244315c6]{height:332.0093px}}@media (min-width:491px) and (max-width:505px){.boxBg .one[data-v-244315c6]{height:342.17285px}}@media (min-width:506px) and (max-width:550px){.boxBg .one[data-v-244315c6]{height:372.6635px}}@media (min-width:551px) and (max-width:700px){.boxBg .one[data-v-244315c6]{height:474.299px}}@media (min-width:701px) and (max-width:768px){.boxBg .one[data-v-244315c6]{height:520.37376px}}@media (min-width:769px) and (max-width:800px){.boxBg .one[data-v-244315c6]{height:542.056px}}@media (min-width:801px) and (max-width:1024px){.boxBg .one[data-v-244315c6]{height:693.83168px}}.boxBgL[data-v-244315c6]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL .one[data-v-244315c6]{background-size:cover;height:201px;width:100%}.boxBgL .two[data-v-244315c6]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.employee[data-v-244315c6]{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-244315c6]{display:flex}.employee .employeeOne .employeeOneLeft[data-v-244315c6]{color:#1c253a;font-family:PingFang SC;font-size:16px;font-weight:500;margin-right:8px}.employee .employeeOne .employeeOneRight .employeeOneRightImg[data-v-244315c6]{display:inline-block;height:24px;transform:translate(19px);width:24px}.employee .employeeOne .employeeOneRight .employeeOneRightE[data-v-244315c6]{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-244315c6]{display:flex;margin-top:10px}.employee .employeeTwo img[data-v-244315c6]{height:16px;width:16px}.employee .employeeTwo .number[data-v-244315c6]{color:#394259;font-family:Montserrat;font-size:12px;font-weight:400;line-height:16px;margin-left:4px}.address[data-v-244315c6]{display:flex;justify-content:space-between;padding:10px 12.5px}.address .addressLeft[data-v-244315c6]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:700}.address .addressLeft img[data-v-244315c6]{margin-right:5px}.address .addressRight[data-v-244315c6]{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-244315c6]{height:11px;margin-right:9px;width:13px}.address .addressRight .addressRspan[data-v-244315c6]{color:#0081cc;font-family:PingFang SC;font-size:12px;font-weight:500}.points[data-v-244315c6]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:700;padding:0 12.5px}.points img[data-v-244315c6]{margin-right:5px}.search[data-v-244315c6]{display:flex;height:32px;justify-content:space-between;margin:18px 12.5px 16px}.search--input[data-v-244315c6]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);font-size:12px;height:32px;position:relative}.search--input--box[data-v-244315c6]{color:#878e98;font-family:PingFang SC;font-size:13px;font-weight:400;line-height:32px;margin-left:14px;margin-right:14px}.search--input--icon[data-v-244315c6]{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-244315c6]{background:#fff;border-radius:42px;color:#0081cc;font-family:PingFang SC;font-size:16px;font-weight:700;line-height:25px;padding:8px 34px;width:64px}.tag[data-v-244315c6]{display:flex;padding:7px 0}.tag--item[data-v-244315c6]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-244315c6]{display:flex;height:40px;justify-content:center}.title-l .title-t[data-v-244315c6]{color:#1c253a;font-size:19px;line-height:42px;padding-left:22px}.lowCode-warp[data-v-244315c6]{padding:0 20px}.coupon[data-v-244315c6]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon img[data-v-244315c6]{height:55px;width:55px}.worterMan[data-v-244315c6]{padding:10px 12.5px}.user-details[data-v-244315c6]{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-244315c6]{margin-right:20px;position:relative}.user-details .avatar-container .avatar[data-v-244315c6]{border-radius:50px;height:64px;width:64px}.user-details .avatar-container .star[data-v-244315c6]{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-244315c6]{align-items:center;display:flex;position:relative}.user-name[data-v-244315c6]{color:#000;font-size:16px;font-weight:500;margin-right:16px}.expert-tag[data-v-244315c6]{align-items:center;background-color:hsla(0,0%,100%,.3);border-radius:12px;display:flex;gap:4px;padding:2px 8px}.tag-text[data-v-244315c6]{color:#fff;color:#0081cc;font-family:PingFang SC;font-size:12px;font-weight:500}.switch-btn[data-v-244315c6]{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-244315c6],.switch-btn[data-v-244315c6]{color:#0081cc;font-size:12px;line-height:20px;position:absolute}.switch-btnLogin[data-v-244315c6]{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-244315c6]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:22px}.user-contact[data-v-244315c6]{color:#fff;font-size:12px}.user-contactLogin[data-v-244315c6],.user-contact[data-v-244315c6]{align-items:center;display:flex;margin-top:18px;opacity:.9}.phone-number[data-v-244315c6]{color:#000;font-size:12px;margin-right:12px}.work-all[data-v-244315c6],.work-info[data-v-244315c6]{color:#000;font-size:12px;margin-right:12px;opacity:.8}.loginClass[data-v-244315c6]{color:#fff;font-size:18px}.btn[data-v-244315c6]{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-244315c6]{color:#fff;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:1}.btn .icon[data-v-244315c6]{color:#fff}.header-title[data-v-244315c6]{color:#fff;font-family:YouSheBiaoTiHei;font-size:20px;font-weight:700;position:relative}.nav-bar[data-v-244315c6]{position:relative}.nav-bar .name[data-v-244315c6]{color:#fff;font-size:18px;left:22px;position:absolute}.ichulinewhite[data-v-244315c6]{left:28px;position:absolute;top:17px}.loginJingcai[data-v-244315c6]{color:#394259;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:400;line-height:20px;text-align:left;text-transform:none}.shop-top[data-v-244315c6]{padding:4px 15px 0;position:relative}.shop-top__bg[data-v-244315c6]{height:150px;left:0;position:absolute;right:0;top:0;z-index:0}.shop-top__bg-img[data-v-244315c6]{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.goinrf-top__bg-img[data-v-244315c6]{height:150px;left:0;position:absolute;top:0;width:100%;z-index:0}.shop-top__content[data-v-244315c6]{padding-top:18px;position:relative;z-index:1000}.shop-top__address[data-v-244315c6]{align-items:center;display:flex;gap:4px;justify-content:space-between;margin-bottom:9px}.shop-top__address-left[data-v-244315c6]{align-items:center;display:flex;flex:1;font-size:14px;font-weight:500}.shop-top__location-icon[data-v-244315c6]{flex-shrink:0;height:16px;width:16px}.shop-top__site-name[data-v-244315c6]{color:#fff;font-size:14px;font-weight:700;margin-left:-3px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-top__address-right[data-v-244315c6]{align-items:center;background:linear-gradient(270deg,#95d1f5,#bee2fc);border-radius:15px 0 0 15px;display:flex;flex-shrink:0;height:24px;justify-content:center;margin-left:43px;position:absolute;right:-16px;width:72px}.shop-top__switch-icon[data-v-244315c6]{height:15px;margin-right:4px;width:15px}.shop-top__switch-text[data-v-244315c6]{color:#0081cc;font-size:12px;font-weight:500}.shop-top__points-row[data-v-244315c6]{align-items:center;display:flex;font-size:14px}.shop-top__points-icon[data-v-244315c6]{flex-shrink:0;height:18px;margin-right:4px;width:18px}.shop-top__points-text[data-v-244315c6]{color:#fff;font-size:14px;font-weight:700}.shop-top__search-row[data-v-244315c6]{align-items:center;display:flex;gap:6px;margin-top:18px}.shop-top__search-box[data-v-244315c6]{align-items:center;background:#fff;border-radius:18px;box-shadow:0 2px 6px rgba(0,0,0,.1);box-sizing:border-box;display:flex;flex:1;height:32px;justify-content:space-between;min-width:0;padding:0 12px}.shop-top__placeholder[data-v-244315c6]{color:#999;font-size:13px}.shop-top__search-icon-img[data-v-244315c6]{height:18px;width:18px}.shop-top__class-btn[data-v-244315c6]{align-items:center;background:#fff;border-radius:18px;box-shadow:0 2px 6px rgba(0,0,0,.1);box-sizing:border-box;display:flex;flex-shrink:0;height:32px;justify-content:center;line-height:32px;min-width:64px;padding:0 20px}.shop-top__class-text[data-v-244315c6]{color:#0081cc;font-size:14px;font-weight:600}.shop-top__swiper-wrap[data-v-244315c6]{margin-top:16px;overflow:hidden}.shop-top__swiper-img[data-v-244315c6],.shop-top__swiper-wrap[data-v-244315c6],.shop-top__swiper[data-v-244315c6]{border-radius:8px;height:135px;width:100%}.search--input[data-v-244315c6]{margin:auto;width:82%}"),Ms.render=function(l,h,u,m,x,y){const b=c("swiper-item"),v=c("swiper"),w=c("block");return e(),t("div",null,[x.isShopGoinRFFlag?(e(),t("view",{key:0,class:"shop-top",style:i({marginTop:(u.props.marginTop||0)+"px",marginBottom:(u.props.marginBottom-16||0)+"px"})},[s("view",Os,[y.bgImageUrl?(e(),t("image",{key:0,class:"goinrf-top__bg-img",src:y.bgImageUrl,mode:"aspectFill"},null,8,Rs)):n("",!0)]),s("view",$s,[y.showSwiper?(e(),t("view",Us,[p(v,{class:"shop-top__swiper","indicator-dots":!0,autoplay:y.autoPlay,interval:y.autoplayInterval,circular:!0,vertical:1===y.direction,onChange:y.onSwiperChange},{default:d((()=>[(e(!0),t(a,null,r(y.swiperList,((t,i)=>(e(),g(b,{key:i,onClick:e=>y.onSwiperClick(t)},{default:d((()=>[s("image",{class:"shop-top__swiper-img",src:t.imgUrl,mode:"scaleToFill"},null,8,Gs)])),_:2},1032,["onClick"])))),128))])),_:1},8,["autoplay","interval","vertical","onChange"])])):n("",!0)])],4)):u.isShopMode?(e(),t("view",{key:1,class:"shop-top",style:i({marginTop:(u.props.marginTop||0)+"px",marginBottom:(u.props.marginBottom-16||0)+"px"})},[s("view",Es,[y.bgImageUrl?(e(),t("image",{key:0,class:"shop-top__bg-img",src:y.bgImageUrl,mode:"aspectFill"},null,8,qs)):n("",!0)]),s("view",Ks,[u.hideAddress?n("",!0):(e(),t("view",Ws,[s("view",Hs,[Vs,s("text",Qs,o(y.shopSiteName),1)]),s("view",{class:"shop-top__address-right",onClick:h[0]||(h[0]=(...e)=>y.handleSwitch&&y.handleSwitch(...e))},Js)])),u.shopSupplier?(e(),t("view",Ys,[s("view",Xs,[Zs,x.lowCode?x.lowCode?(e(),t("text",tn,o(y.shopSiteName),1)):n("",!0):(e(),t("text",en,o(l.$storage.get("selectSupplier").agencyName),1))]),y.showBtn?(e(),t("view",{key:0,class:"shop-top__address-right",onClick:h[1]||(h[1]=(...e)=>y.switchRole&&y.switchRole(...e))},on)):n("",!0)])):n("",!0),"积分"==u.pointsLabel&&l.$storage&&"buy"==l.$storage.get("userinfoQuality")?(e(),t("view",an,[rn,l.$storage&&"buy"==l.$storage.get("userinfoQuality")?(e(),t("text",sn,o(u.pointsLabel)+":"+o(l.$storage&&l.$storage.get("selectSupplier")&&l.$storage.get("selectSupplier").unusedScoreA),1)):n("",!0)])):"能量豆"==u.pointsLabel?(e(),t("view",nn,[ln,s("text",cn,o(y.shopPointsText),1)])):n("",!0),s("view",pn,[s("view",{class:"shop-top__search-box",onClick:h[2]||(h[2]=(...e)=>y.ToSearch&&y.ToSearch(...e))},[s("text",dn,o(y.shopSearchPlaceholder),1),gn]),y.showCategoryButton?(e(),t("view",{key:0,class:"shop-top__class-btn",onClick:h[3]||(h[3]=(...e)=>y.handleClass&&y.handleClass(...e))},[s("text",hn,o(y.categoryButtonText),1)])):n("",!0)]),y.showSwiper?(e(),t("view",un,[p(v,{class:"shop-top__swiper","indicator-dots":!0,autoplay:y.autoPlay,interval:y.autoplayInterval,circular:!0,vertical:1===y.direction,onChange:y.onSwiperChange},{default:d((()=>[(e(!0),t(a,null,r(y.swiperList,((t,i)=>(e(),g(b,{key:i,onClick:e=>y.onSwiperClick(t)},{default:d((()=>[s("image",{class:"shop-top__swiper-img",src:t.imgUrl,mode:"scaleToFill"},null,8,mn)])),_:2},1032,["onClick"])))),128))])),_:1},8,["autoplay","interval","vertical","onChange"])])):n("",!0)])],4)):(e(),t("div",fn,[x.lowCode?(e(),t("div",xn,[s("div",{class:"one",style:i({backgroundImage:"url("+u.props.backImg+")"})},null,4)])):(e(),t("div",yn,[s("div",{class:"one",style:i({backgroundImage:"url("+u.props.backImg+")"})},null,4)])),x.lowCode?(e(),t("div",{key:2,class:"nav-bar",style:i({width:"100%",height:"28px",backgroundImage:"url("+u.props.topImg+")"})},[s("div",bn,[vn,s("img",{class:"ichulinewhite",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichulinewhite%402x.png",style:i({width:y.rpx2unit(36),height:y.rpx2unit(36)})},null,4)]),0==u.props.msgButton?(e(),t("div",wn,[kn,s("span",{class:"massage",onClick:h[4]||(h[4]=(...e)=>y.onMessage&&y.onMessage(...e))},"消息")])):n("",!0),0==u.props.signInButton?(e(),t("div",{key:1,class:"btn nameIcon",style:i({right:0!==u.props.msgButton?"20px":"120px"})},Cn,4)):n("",!0)],4)):n("",!0),s("div",Sn,["tourist"===x.identityhtml?(e(),t("div",Tn,[Bn,s("div",jn,[_n,s("div",An,[Ln,s("div",{class:"switch-btnLogin",onClick:h[5]||(h[5]=f(((...e)=>y.onLogin&&y.onLogin(...e)),["stop"]))},Nn)])])])):n("",!0)]),"buy"===x.identityhtml||"merchant"===x.identityhtml?(e(),t("div",In,[s("div",{class:"user-details",onClick:h[7]||(h[7]=(...e)=>y.goJumpUser&&y.goJumpUser(...e))},["buy"===x.identityhtml?(e(),t("div",zn,[x.userDataImg.noticePicurl?(e(),t("img",{key:0,class:"avatar",src:x.userDataImg.noticePicurl,mode:"aspectFill"},null,8,Pn)):(e(),t("img",Dn))])):n("",!0),s("div",Mn,[s("div",Fn,[s("span",On,o(x.userData.userinfoCompname||""),1),s("div",Rn,["buy"===x.identityhtml?(e(),t("img",$n)):n("",!0),"merchant"===x.identityhtml?(e(),t("img",Un)):n("",!0),s("span",Gn,o(x.userData.userTag||""),1)])]),s("div",En,[qn,s("span",Kn,o(x.userData.userinfoPhone||""),1),"buy"===x.identityhtml?(e(),t("span",Wn,"丰龄"+o(x.userData.workingYears||""),1)):n("",!0),"buy"===x.identityhtml?(e(),t("span",Hn,"总工单 "+o(x.userData.totalTaskNum||0)+"单",1)):n("",!0),"merchant"===x.identityhtml?(e(),t("img",Vn)):n("",!0),"merchant"===x.identityhtml?(e(),t("span",Qn,o(x.userData.companyAddress||""),1)):n("",!0)])]),0===u.props.checkButton?(e(),t("div",{key:1,class:"switch-btn",onClick:h[6]||(h[6]=f(((...e)=>y.changeIdentity&&y.changeIdentity(...e)),["stop"]))}," 切换身份 ")):n("",!0)])])):n("",!0),Jn,"supplier"===x.identityhtml?(e(),t("div",Yn,[s("div",Xn,[s("div",Zn,o(x.userData.userinfoCompname||""),1),s("div",el,[tl,s("div",il,o(x.userData.userTag||""),1)])]),1===x.userData.userType?(e(),t("div",ol,[s("div",al,[rl,s("span",sl,o(x.userData.userinfoPhone||""),1)])])):n("",!0),0===u.props.checkButton&&1===x.userData.userType?(e(),t("div",{key:1,class:"switch-btn",onClick:h[8]||(h[8]=(...e)=>y.changeIdentity&&y.changeIdentity(...e))}," 切换身份 ")):n("",!0)])):n("",!0),n("",!0),n("",!0),n("",!0),nl])),!x.lowCode||u.isShopMode||x.isShopGoinRFFlag?u.isShopMode||x.isShopGoinRFFlag?n("",!0):(e(),t("div",cl,[s("div",{class:"swiperBox",style:i({marginTop:u.props.marginTop+"px",marginBottom:u.props.marginBottom+"px"})},[s("div",pl,[p(v,{interval:"4000",class:"swiper-content",circular:"true",vertical:y.directionResult,autoplay:y.autoplayResult,duration:u.props.autoplayInterval,onChange:y.setimg},{default:d((()=>[(e(!0),t(a,null,r(y.resultArr,((t,o)=>(e(),g(w,{key:o},{default:d((()=>[p(b,{class:"img-item"},{default:d((()=>[s("img",{style:i({bordeRadius:y.classifyPhotoCorner(u.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>y.linkClick(t)},null,12,dl)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)])):(e(),t("div",{key:3,class:"lowCode-warp",style:i({marginTop:u.props.marginTop+"px",marginBottom:u.props.marginBottom+"px"})},[s("img",{src:y.resultArrImg(y.resultArr),alt:"",style:{width:"100%"}},null,8,ll),s("ul",null,[(e(!0),t(a,null,r(y.resultArr,((i,o)=>(e(),t("li",{key:o})))),128))])],4))])},Ms.__scopeId="data-v-244315c6";var gl={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 e="";switch(this.props.live.dataState){case 0:e="初始化";break;case 1:e="上传直播间";break;case 101:e="直播中";break;case 102:e="未开始";break;case 103:e="已结束";break;case 104:e="禁播";break;case 105:e="暂停";break;case 106:e="异常";break;case 107:e="已过期"}return e}},methods:{handleToLive(){if(b)return;let e=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${e}`})}}};const hl=["src"],ul={class:"liveState"},ml={class:"liveIntroduction"},fl={class:"liveTitle"},xl={class:"anchorName"};Ta(".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}"),gl.render=function(a,r,n,l,c,p){return e(),t("div",null,[n.props.live?(e(),t("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]=e=>p.handleToLive())},[s("img",{src:p.liveCover},null,8,hl),s("div",ul,o(p.liveState),1)]),s("div",ml,[s("div",fl,o(p.liveTitle),1),s("div",xl,o(n.props.live.infuencerInfname),1)])],4)):(e(),t("div",{key:0,style:i(c.noDataStyle)},"请选择直播",4))])},gl.__scopeId="data-v-0b07f37b";const yl=async e=>{const t=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+e,{method:"POST",headers:{"saas-token":t,"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((e=>e.json())).then(((e={})=>e))};var bl={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 e=this;return b?this.LcGetNotice(e):this.getNotice(e)},async LcGetNotice(e){const t=location.hash.replace(/[\\/#?]/g,"");Ds.parse(t).modelTagvalueId;const i=`${S}?dataState=1`,o=await yl(i);e.noticeList=o.list},async getNotice(e){const t=await e.http.get(`${S}`,{dataState:1});e.noticeList=t.list},onSwiperChange(e){this.currentIndex=e.detail.current},handleToNotice(){if(b)return;const e=this.noticeList[this.currentIndex];e&&e.noticeId&&this.$routers.push("/pages/noticeDedail/main",{id:e.noticeId})}}};const vl=e=>(u("data-v-7a06c768"),e=e(),m(),e),wl=vl((()=>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))),kl={class:"notice-content"},Cl={class:"noticeTag"},Sl=vl((()=>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)));Ta(".noticeBox[data-v-7a06c768]{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-7a06c768]{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-7a06c768]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox .notice-logo span[data-v-7a06c768]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox .notice-content[data-v-7a06c768]{flex:1;overflow:hidden}.noticeBox .notice-content .notice-list[data-v-7a06c768]{display:flex;flex-direction:column;height:22px}.noticeBox .notice-content .notice-list .swiper-item[data-v-7a06c768]{color:#394259;font-family:PingFang SC;font-size:13px;font-weight:400;line-height:22px}"),bl.render=function(n,l,h,u,m,f){const x=c("swiper-item"),y=c("swiper");return e(),t("div",null,[s("div",{class:"noticeBox",style:i({marginTop:`${h.props.marginTop}px`,marginBottom:`${h.props.marginBottom}px`,backgroundColor:`${h.props.backgroundColor}`}),onClick:l[0]||(l[0]=(...e)=>f.handleToNotice&&f.handleToNotice(...e))},[wl,s("div",kl,[p(y,{class:"notice-list",vertical:h.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000",onChange:f.onSwiperChange},{default:d((()=>[(e(!0),t(a,null,r(m.noticeList,(t=>(e(),g(x,{key:t.noticeId},{default:d((()=>[s("div",{class:"swiper-item",style:i({color:`${h.props.color}`})},[s("span",Cl,o("运营端"===t.memberName?"平台":"代理商"),1),s("span",null,o(t.noticeTitle),1)],4)])),_:2},1024)))),128))])),_:1},8,["vertical","onChange"])]),Sl],4)])},bl.__scopeId="data-v-7a06c768";var Tl={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(e,t){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let e={};return this.height&&(e.height=this.height+"rpx",e.width=this.height+"rpx"),this.showBorder&&(e.borderStyle="solid",e.borderColor=this.borderColor,e.borderWidth="1px"),this.bgColor&&(e.backgroundColor=this.bgColor),e},letterStyle(){let e={};return this.fontSize&&(e.fontSize=this.fontSize+"rpx"),this.color&&(e.color=this.color),e}},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(e){e<=0&&this.end();let[t,i,o,a]=[0,0,0,0];t=Math.floor(e/86400),i=Math.floor(e/3600)-24*t;let r=null;r=this.showDays?i:Math.floor(e/3600),o=Math.floor(e/60)-60*i-24*t*60,a=Math.floor(e)-24*t*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,t=t<10?"0"+t:t,this.d=t,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 Bl={class:"u-countdown"};Ta(".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}"),Tl.render=function(a,r,l,c,p,d){return e(),t("view",Bl,[l.showDays&&(l.hideZeroDay||!l.hideZeroDay&&"00"!=p.d)?(e(),t("view",{key:0,class:"u-countdown-item",style:i([d.itemStyle])},[s("view",{class:"u-countdown-time",style:i([d.letterStyle])},o(p.d),5)],4)):n("",!0),l.showDays&&(l.hideZeroDay||!l.hideZeroDay&&"00"!=p.d)?(e(),t("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?(e(),t("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(p.h),5)],4)):n("",!0),l.showHours?(e(),t("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?(e(),t("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(p.i),5)],4)):n("",!0),l.showMinutes?(e(),t("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?(e(),t("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(p.s),5)],4)):n("",!0),l.showSeconds&&"zh"==l.separator?(e(),t("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)])},Tl.__scopeId="data-v-4f36f3d2";var jl={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 e={};return e.width=this.percent+"%",this.activeColor&&(e.backgroundColor=this.activeColor),e}},methods:{}};Ta(".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}}"),jl.render=function(r,c,p,d,g,u){return e(),t("view",{class:"u-progress",style:i({borderRadius:p.round?"100rpx":0,height:p.height+"rpx",backgroundColor:p.inactiveColor})},[s("view",{class:l([[p.type?`u-type-${p.type}-bg`:"",p.striped?"u-striped":"",p.striped&&p.stripedActive?"u-striped-active":""],"u-active"]),style:i([u.progressStyle])},[r.$slots.default||r.$slots.$default?x(r.$slots,"default",{key:0}):p.showPercent?(e(),t(a,{key:1},[h(o(p.percent+"%"),1)],64)):n("",!0)],6)],4)},jl.__scopeId="data-v-6b1ec6a3";var _l={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:Tl,uLineProgress:jl},data:()=>({lowCode:b,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=hi(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>e=>"已终止"===e||"已抢空"===e?"#D7D7D7":"即将开始"===e?"#F59A23":"#ed4444",btnDataState:()=>(e,t)=>[-1,2,6].includes(e.dataState)?"已终止":[1].includes(e.dataState)?0===t.goodsSupplynum?"已抢空":"立即购买":[4].includes(e.dataState)?"即将开始":void 0,getPrice:()=>e=>"2"==e.pricesetType||"4"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType?e.pricesetRefrice+"里程":e.pricesetNprice,activityCss:()=>e=>e.length?1===e.length?1:2===e.length?2:e.length>=3?3:"":"",diffFn:()=>e=>e?(e.goodsAhnum-e.goodsSupplynum)/e.goodsAhnum*100:"",minTime(){let e=[];this.secGoodList.forEach((t=>{e.push(t.gmtModified)}));for(let t=0;t<e.length-1;t++)for(let t=0;t<e.length-1;t++)if(e[t]>e[t+1]){let i=e[t];e[t]=e[t+1],e[t+1]=i}return e[0]},setPromotionDates:()=>(e,t)=>{let i=(new Date(t.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(t.promotionEndtime)-Date.parse(new Date))/1e3;return e.gmtCreate=i>0?i:0,e.gmtModified=o>0?o:0,{gmtCreate:e.gmtCreate,gmtModified:e.gmtModified}}},methods:{getIsLc(){let e=this;return b?this.LcGetSecGoodList(e):this.getSecGoodList(e)},async LcGetSecGoodList(e){if(0===e.props.activityType){const t="/web/pm/promotionSignUpCon/queryCouponBatchPage.json?rows=4&page=1&dataState=1",{list:i}=await yl(t);if(0===i.length)return void(e.secGoodList=[]);const o=async()=>{for(let t=0;t<i.slice(0,4).length;t++){const o=await a(t);JSON.parse(o.promotionTerstr).pmPromotionRangeList.forEach((o=>{if(e.secGoodList.length<4){const{gmtCreate:a,gmtModified:r}=this.setPromotionDates(o,i[t]);o.gmtCreate=a,o.gmtModified=r,e.secGoodList.push(o)}}))}},a=async e=>await yl(`/web/pm/promotionSignUpCon/getCouponBatchByCode.json?couponBatchCode=${i[e].couponBatchCode}`);o()}if(1===e.props.activityType){const t="/web/pm/promotion/queryPromotionPageGroupBuying.json?rows=4&page=1&dataState=1",{list:i}=await yl(t);if(0===i.length)return void(e.secGoodList=[]);const o=async()=>{for(let t=0;t<i.slice(0,4).length;t++){(await a(t)).pmPromotionRangeList.forEach((o=>{if(e.secGoodList.length<4){const{gmtCreate:a,gmtModified:r}=this.setPromotionDates(o,i[t]);o.gmtCreate=a,o.gmtModified=r,e.secGoodList.push(o)}}))}},a=async e=>await yl(`/web/pm/promotion/getPromotions.json?promotionId=${i[e].promotionId}`);o()}},changeOneChange(){this.getSecGoodList(this,"change")},async getSecGoodList(e,t=null){const i=(e,t=!1)=>{if(e&&(t?e.rows:e.list)&&(t?e.rows.length:e.list.length)){const i=t?e.rows:e.list;i.slice(0,3).forEach((e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,i=(e.promotionEndtime-Date.parse(new Date))/1e3;e.gmtCreate=t>0?t:0,e.gmtModified=i>0?i:0})),this.secGoodList=i.slice(0,4)}else this.secGoodList=[]};if(0===this.props.activityType){let o;if("change"===t&&this.props.activityList.length>1){const e=(e,t)=>{let i;do{i=Math.floor(Math.random()*e.length)}while(i===t);return i};this.changeNum=e(this.props.activityList,this.changeNum),o=this.props.activityList[this.changeNum]}else o=this.props.activityList[0];if(b){let e="";e=o?`${C}?pbCode=0007&dataStateStr=1,4,2,-1,6&rows=4&page=1&couponBatchCode=${o}`:`${C}?pbCode=0007&dataStateStr=1&rows=4&page=1&orderStr=PROMOTION_ENDTIME asc`;const{list:t}=await yl(e);i({list:t})}else{let t={pbCode:"0007",dataStateStr:"1,4,2,-1,6",rows:4,page:1,couponBatchCode:o};o||(t.dataStateStr="1",t.orderStr="PROMOTION_ENDTIME asc"),e.http.post(C,t).then((e=>{i(e)}))}}if(1===this.props.activityType){let o;if("change"===t&&this.props.activityList.length>1){const e=(e,t)=>{let i;do{i=Math.floor(Math.random()*e.length)}while(i===t);return i};this.changeNum=e(this.props.activityList,this.changeNum),o=this.props.activityList[this.changeNum]}else o=this.props.activityList[0];if(b){let e="";e=o?`${C}?pbCode=0008&dataStateStr=1,4,2,-1,6&rows=4&page=1&promotionCode=${o}`:`${C}?pbCode=0008&dataStateStr=4,1&rows=4&page=1&orderStr=PROMOTION_ENDTIME asc`;const{rows:t}=await yl(e);i({rows:t},!0)}else{let t={pbCode:"0008",dataStateStr:"1,4,2,-1,6",rows:4,page:1,promotionCode:o};o||(t.dataStateStr="1",t.orderStr="PROMOTION_ENDTIME asc"),e.http.post(C,t).then((async e=>{if(e&&e.rows)if(1===this.page&&0===e.rows.length)this.seckillGoodsList=[];else{const t=e.rows.map((e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,i=(e.promotionEndtime-Date.parse(new Date))/1e3;return e.gmtCreate=t>0?t:0,e.gmtModified=i>0?i:0,0==e.promotionState&&this.$set(e,"PeopleNum",e.couponOnceNump),e})).filter((e=>0==e.promotionState));this.secGoodList=t.slice(0,4)}}))}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(e,t){[-1,2,6].includes(t.dataState)||[1].includes(t.dataState)&&0===e.goodsSupplynum||(0===this.props.activityType&&this.$emit("gosecGoodsDetail",e.skuCode,(t.promotionEndtime-Date.parse(new Date))/1e3,t.promotionCode),1===this.props.activityType&&this.$emit("toDetail",t.promotionCode,t.promotionFrequency,t.gmtModified))}}};const Al=e=>(u("data-v-024a5c10"),e=e(),m(),e),Ll={class:"secKill--tit"},Nl={class:"title"},Il={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"}},zl={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"}},Pl={style:{"font-size":"14px","font-family":"PingFangSC, PingFang SC",color:"#1c253a","margin-left":"5px","margin-right":"5px"}},Dl={class:"more"},Ml=Al((()=>s("div",{class:"img"},[s("img",{"lazy-load":!0,src:Ir,mode:"",style:{width:"100%",height:"100%"}})],-1))),Fl={key:0},Ol=["onClick"],Rl={class:"soneLeft"},$l=["src"],Ul={class:"soneRight"},Gl={class:"soneRightA"},El={key:0,class:"soneRightB"},ql={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Kl=Al((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/huo.png",alt:"",style:{width:"16px",height:"16px","margin-bottom":"2px"}},null,-1))),Wl={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Hl=Al((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/huo.png",alt:"",style:{width:"16px",height:"16px","margin-bottom":"2px"}},null,-1))),Vl={class:"soneRightC"},Ql={class:"priceC"},Jl={style:{color:"#ff9745"}},Yl={class:"dataStateButton"},Xl=["onClick"],Zl=["src"],ec={class:"secKill-goodsName text-common"},tc={class:"price"},ic={style:{display:"flex"}},oc={class:"now-price-common",style:{color:"#f53a50"}},ac={class:"dataStateButton"},rc=["onClick"],sc=["src"],nc={class:"secKill-goodsName text-common"},lc={class:"price"},cc={style:{display:"flex"}},pc={class:"now-price-common",style:{color:"#f53a50"}},dc={class:"dataStateButton"};Ta(".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}"),_l.render=function(d,u,m,f,x,y){const b=c("uContDown"),v=c("u-count-down"),w=c("uLineProgress");return e(),t("div",null,[s("div",{class:"secKill",style:i({backgroundColor:m.props.backgroundColor,marginTop:`${m.props.marginTop}px`,marginBottom:`${m.props.marginBottom}px`})},[s("div",Ll,[s("div",Nl,[0===m.props.activityType?(e(),t("img",Il)):n("",!0),1===m.props.activityType?(e(),t("img",zl)):n("",!0),s("div",Pl,o(m.props.title),1),x.lowCode?(e(),t(a,{key:2},[0===m.props.countDown?(e(),g(b,{key:0,timestamp:y.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):n("",!0)],64)):(e(),t(a,{key:3},[0===m.props.countDown?(e(),g(v,{key:0,timestamp:y.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]=(...e)=>y.changeOneChange&&y.changeOneChange(...e))},"换一换")]),s("div",Dl,[s("div",{class:"",onClick:u[1]||(u[1]=(...e)=>y.goSecList&&y.goSecList(...e))},o(m.props.subTitle),1),Ml])]),1===y.activityCss(x.secGoodList)?(e(),t("div",Fl,[(e(!0),t(a,null,r(x.secGoodList,((l,c)=>(e(),t("div",{key:c},[(e(!0),t(a,null,r(l.rsSkuReDomainList,((a,r)=>(e(),t("div",{class:"secKill-One",key:r,onClick:e=>y.gosecGoodsDetail(a,l)},[s("div",Rl,[s("img",{"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,8,$l)]),s("div",Ul,[s("div",Gl,o(a.goodsName),1),0===m.props.activityType?(e(),t("div",El,[p(w,{"active-color":"#ED4444 ","inactive-color":"#FCE7E8",percent:y.diffFn(a),height:"10","show-percent":!1},null,8,["percent"]),x.lowCode?(e(),t("div",ql,[Kl,h(" 剩"+o(a.goodsSupplynum||0)+"件 ",1)])):(e(),t("div",Wl,[Hl,h(" 剩"+o(a.goodsSupplynum||0)+"件 ",1)]))])):n("",!0),s("div",Vl,[s("div",Ql,[s("span",Jl,o("2"===a.pricesetType?y.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)]),s("div",Yl,[s("span",{style:i({backgroundColor:y.btnDataStateColor(y.btnDataState(l,a))})},o(y.btnDataState(l,a)),5)])])])],8,Ol)))),128))])))),128))])):n("",!0),2===y.activityCss(x.secGoodList)?(e(),t("div",{key:1,class:l(["secKill-all",{fel:!0}])},[(e(!0),t(a,null,r(x.secGoodList,((n,c)=>(e(),t("div",{class:"secKill--center",key:c},[(e(!0),t(a,null,r(n.rsSkuReDomainList,((a,r)=>(e(),t("div",{class:l({goodsDetail3:3===y.activityCss(x.secGoodList),goodsDetail2:2===y.activityCss(x.secGoodList)}),key:r,onClick:e=>y.gosecGoodsDetail(a,n)},[s("img",{class:l({bigimg3:3===y.activityCss(x.secGoodList),bigimg2:2===y.activityCss(x.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,Zl),s("div",ec,o(a.goodsName),1),s("div",tc,[s("div",ic,[s("div",oc,o("2"===a.pricesetType?y.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)])]),s("div",ac,[s("span",{style:i({backgroundColor:y.btnDataStateColor(y.btnDataState(n,a))})},o(y.btnDataState(n,a)),5)])],10,Xl)))),128))])))),128))])):n("",!0),3===y.activityCss(x.secGoodList)?(e(),t("div",{key:2,class:l(["secKill-all",{overflowX:!0}])},[(e(!0),t(a,null,r(x.secGoodList,((n,c)=>(e(),t("div",{class:"secKill--center",key:c},[(e(!0),t(a,null,r(n.rsSkuReDomainList,((a,r)=>(e(),t("div",{class:l({goodsDetail3:3===y.activityCss(x.secGoodList),goodsDetail2:2===y.activityCss(x.secGoodList)}),key:r,onClick:e=>y.gosecGoodsDetail(a,n)},[s("img",{class:l({bigimg3:3===y.activityCss(x.secGoodList),bigimg2:2===y.activityCss(x.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,sc),s("div",nc,o(a.goodsName),1),s("div",lc,[s("div",cc,[s("div",pc,o("2"===a.pricesetType?y.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)])]),s("div",dc,[s("span",{style:i({backgroundColor:y.btnDataStateColor(y.btnDataState(n,a))})},o(y.btnDataState(n,a)),5)])],10,rc)))),128))])))),128))])):n("",!0)],4)])},_l.__scopeId="data-v-024a5c10";var gc={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 hc=["src","poster","autoplay"];Ta("video[data-v-1141a1a5]{width:100%!important}"),gc.render=function(o,a,r,n,l,c){return e(),t("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,hc)])},gc.__scopeId="data-v-1141a1a5";var uc={props:{props:{mileage:{color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({crmMileage:0,numInfo:0}),mounted(){b||this.getData()},methods:{async getData(){const e=await this.http.get("/web/oc/outupm/getupm.json");e&&(this.crmMileage=e.ValidPoint,this.numInfo=Number(e.ExpirePointFirstMonth)+Number(e.ExpirePointSecondMonth)+Number(e.ExpirePointThirdMonth))}}};const mc=(e=>(u("data-v-677c4df3"),e=e(),m(),e))((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/lichengchaxun.png"},null,-1)));Ta(".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}"),uc.render=function(a,r,n,l,c,p){return e(),t("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}`})},[mc,h(),s("span",null,"尊敬的会员:您的账户可用里程为 "+o(c.crmMileage)+" 公里, 3个月内到期里程 "+o(c.numInfo||0)+" 公里。",1)],4)])},uc.__scopeId="data-v-677c4df3";var fc={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:b,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:[],titTaskW:0,titTaskH:0}),mounted(){this.$nextTick((()=>{this.drawTitTaskBg()})),b&&(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"}],b||this.init()},watch:{memberCodeP:{handler(e){this.memberCode=e},deep:!0,immediate:!0},memberNameP:{handler(e){this.memberName=e},deep:!0,immediate:!0}},methods:{drawTitTaskBg(){uni.createSelectorQuery().in(this).select(".titTask").boundingClientRect((e=>{if(!e)return;const t=e.width,i=e.height;this.titTaskW=t+20,this.titTaskH=i+20,this.$nextTick((()=>{uni.createSelectorQuery().in(this).select("#titTaskBg").fields({node:!0,size:!0}).exec((e=>{if(!e[0]||!e[0].node)return;const o=e[0].node,a=o.getContext("2d"),r=uni.getSystemInfoSync().pixelRatio;o.width=this.titTaskW*r,o.height=this.titTaskH*r,a.scale(r,r);const s=a.createLinearGradient(0,0,t,0);s.addColorStop(0,"#BEE2FC"),s.addColorStop(1,"#D7F0FF"),a.fillStyle=s;a.beginPath(),a.moveTo(0,10),a.quadraticCurveTo(0,0,10,0),a.lineTo(t,0),a.quadraticCurveTo(t-8-6,8,t-6,2),a.lineTo(t-12,i-10-20),a.quadraticCurveTo(t-12-5,i,t-12-10-5,i),a.lineTo(0,i+8+5),a.quadraticCurveTo(-2,i,0,i-8-6),a.lineTo(0,10),a.closePath(),a.fill()}))}))})).exec()},drawTitTaskBg(){const e=this.$el.querySelector(".titTask");if(!e)return;const t=e.getBoundingClientRect(),i=t.width,o=t.height;this.titTaskW=i+20,this.titTaskH=o+20,this.$nextTick((()=>{const e=this.$refs.titTaskBgH5;if(!e)return;const t=e.getContext("2d"),a=window.devicePixelRatio||1;e.width=this.titTaskW*a,e.height=this.titTaskH*a,t.scale(a,a);const r=t.createLinearGradient(0,0,i,0);r.addColorStop(0,"#BEE2FC"),r.addColorStop(1,"#D7F0FF"),t.fillStyle=r;t.beginPath(),t.moveTo(0,10),t.quadraticCurveTo(0,0,10,0),t.lineTo(i,0),t.quadraticCurveTo(i-8-6,8,i-6,2),t.lineTo(i-12,o-10-20),t.quadraticCurveTo(i-12-5,o,i-12-10-5,o),t.lineTo(0,o+8+5),t.quadraticCurveTo(-2,o,0,o-8-6),t.lineTo(0,10),t.closePath(),t.fill()}))},init(){["supplier"].includes(this.identity)?this.getTaskList():this.http.get("/web/ml/mlogin/qualityUserList.json").then((e=>{if(["merchant","buy"].includes(this.identity)){this.dataQualityUserList=JSON.parse(e.dataObj.qualityUserList)[this.identity];const t=this.dataQualityUserList.find((e=>e.userCode===JSON.parse(this.$storage.get("userInfo")).userCode));t&&(this.memberCode=t.memberCode,this.memberName=t.memberName)}["buy","merchant"].includes(this.identity)&&(this.http.get(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:"1"}).then((e=>{e.success&&(this.redTit1=JSON.parse(e.dataObj).total,this.queryMerber1=JSON.parse(e.dataObj).list)})),this.http.get(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:"2"}).then((e=>{e.success&&(this.redTit2=JSON.parse(e.dataObj).total,this.queryMerber2=JSON.parse(e.dataObj).list)}))),this.getTaskList()}))},async getTaskList(e=!1){let t={page:this.page,rows:this.rows,type:this.type};["buy","merchant"].includes(this.identity)&&(t.memberCode=this.memberCode);const i=await this.http.get(`${T}`,t);i.list&&(this.taskList=e?[...this.taskList,...i.list]:i.list)},async getTaskListAll(){if(this.isLoading)return;this.isLoading=!0;const e="1"===this.type?this.queryMerber1:this.queryMerber2;if(e&&0!==e.length){0!==this.currentMerberIndex||this.currentMerberCode||(this.tempTaskList=[],this.currentMerberCode=e[0].memberCode,this.page=1);try{await this.queryByCurrentMerber(e)}catch(e){console.error("查询失败:",e)}finally{this.isLoading=!1}}else this.isLoading=!1},async queryByCurrentMerber(e){const t=await this.http.get(`${T}`,{page:this.page,rows:this.rows,type:this.type,memberCode:this.currentMerberCode});if(t.list&&t.list.length){this.tempTaskList=[...this.tempTaskList,...t.list],this.taskList=[...this.tempTaskList];const i=Math.ceil(t.total/this.rows);this.page<i?(this.page++,await this.queryByCurrentMerber(e)):(this.page=1,this.currentMerberIndex++,this.currentMerberIndex<e.length?(this.currentMerberCode=e[this.currentMerberIndex].memberCode,await this.queryByCurrentMerber(e)):this.finishQuery())}else this.page=1,this.currentMerberIndex++,this.currentMerberIndex<e.length?(this.currentMerberCode=e[this.currentMerberIndex].memberCode,await this.queryByCurrentMerber(e)):this.finishQuery()},finishQuery(){this.taskList=this.tempTaskList,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],this.isLoading=!1},orderTitle(e,t){this.page=1,this.type=e.value,this.current=t,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],["merchant","buy"].includes(this.identity)?["0","3"].includes(this.type)?this.getTaskList(!1):this.http.get(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:this.type}).then((e=>{if(e.success){"1"===this.type?(this.redTit1=JSON.parse(e.dataObj).total,this.queryMerber1=JSON.parse(e.dataObj).list):(this.redTit2=JSON.parse(e.dataObj).total,this.queryMerber2=JSON.parse(e.dataObj).list);const t="1"===this.type?this.queryMerber1:this.queryMerber2;t&&0!==t.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(e){this.$emit("goTaskDetail",e)},goTaskJoin(e){this.$emit("goTaskJoin",e)},goTaskShare(e){this.$storage.set("taskShareName",e.taskName),this.$storage.set("taskShareCode",e.taskMainCode),setTimeout((()=>{this.$storage.remove("taskShareCode"),this.$storage.remove("taskShareName")}),1e3)},clickMemberList(){this.$emit("clickMemberList",this.dataQualityUserList,this.memberCode)},changeMemberData(e,t){this.memberCode=e,this.memberName=t},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(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:this.type}).then((e=>{if(e.success){"1"===this.type?(this.redTit1=JSON.parse(e.dataObj).total,this.queryMerber1=JSON.parse(e.dataObj).list):(this.redTit2=JSON.parse(e.dataObj).total,this.queryMerber2=JSON.parse(e.dataObj).list);const t="1"===this.type?this.queryMerber1:this.queryMerber2;t&&0!==t.length?this.getTaskListAll():this.taskList=[]}})):this.getTaskList(!1)},getProgressWidth(e){if(!e.taskGoal||0===e.taskGoal)return 0;const t=e.taskCompleteQuantity/e.taskGoal*100;return Math.min(t,100)},getTaskTypeName:e=>1===e.dataState?"待开始":2===e.dataState?"已开始":-1===e.dataState?"已结束":-2===e.dataState?"已取消":void 0,getTaskTypeStyle:e=>1===e.dataState?"linear-gradient(0deg, #8ACAF0 0%, #30A4E7 100%)":2===e.dataState?"linear-gradient(0deg, #03C9B3 0%, #56E7EA 100%)":-1===e.dataState||-2===e.dataState?"linear-gradient(0deg, #E5E6EB 0%, #C3C6CD 100%)":void 0,formatIndex(e){const t=e+1;return t<10?"0"+t:t},formatDate(e){function t(e){return e<10?"0"+e:e}var i=new Date(e),o=i.getFullYear(),a=i.getMonth()+1,r=i.getDate(),s=i.getHours(),n=i.getMinutes(),l=i.getSeconds();return o+"-"+t(a)+"-"+t(r)+" "+t(s)+":"+t(n)+":"+t(l)}}};const xc=e=>(u("data-v-6fb2acd9"),e=e(),m(),e),yc={class:"fatherBox"},bc={class:"orderList-tit"},vc={key:0,style:{display:"flex","justify-content":"space-between",margin:"12px"}},wc=[xc((()=>s("span",null,"活动栏",-1))),xc((()=>s("span",null,"待开始",-1))),xc((()=>s("span",null,"进行中",-1))),xc((()=>s("span",null,"已结束",-1))),xc((()=>s("span",{style:{color:"#0081cc"}},"完成",-1)))],kc={key:1,class:"titul"},Cc={class:"titTask",style:{position:"relative"}},Sc=xc((()=>s("span",{style:{position:"relative","z-index":"1","font-weight":"600"}}," 活动栏 ",-1))),Tc=xc((()=>s("img",{class:"blueLine",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichuline%402x.png"},null,-1))),Bc=["onClick"],jc={key:0,class:"titLine"},_c={class:"box"},Ac=xc((()=>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))),Lc=["onClick"],Nc={class:"progressdai-info"},Ic={class:"progressdai-tag"},zc={class:"progressdai-title"},Pc={key:0,class:"progressdai-two"},Dc={class:"progressdai-two-1"},Mc={class:"progressdai-two-2"},Fc={class:"progressdai-two-3"},Oc={key:1,class:"progressdai-two"},Rc=[y('<div class="progress-info" data-v-6fb2acd9><span class="progress-text" data-v-6fb2acd9>进度:</span><span class="progress-percent" data-v-6fb2acd9>4/10</span></div><div class="progress-bar" data-v-6fb2acd9><div class="progress-fill" style="width:40%;" data-v-6fb2acd9></div></div>',2)],$c={key:2,class:"progressdai-two"},Uc={class:"progress-info"},Gc=xc((()=>s("span",{class:"progress-text"},"进度:",-1))),Ec={class:"progress-percent"},qc={class:"progress-bar"},Kc={class:"progressdai-three"},Wc={class:"progressdai-three-1"},Hc=["onClick"],Vc={key:1,class:"progressdai-three-3"},Qc=["onClick"],Jc={key:0,class:"not-box"},Yc=[xc((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/%E7%8A%B6%E6%80%81%403x-fail.png",alt:""},null,-1))),xc((()=>s("view",{class:"not-text"},"暂无信息",-1)))];Ta(".fatherBox[data-v-6fb2acd9]{background:#f6f8fa;border-radius:8px;overflow:visible}.orderList-tit[data-v-6fb2acd9]{overflow:visible;padding:0;width:100%;z-index:999}.orderList-tit .titul[data-v-6fb2acd9]{display:flex;justify-content:space-between;overflow:visible}.orderList-tit .titul .titli[data-v-6fb2acd9]{display:flex;position:relative}.orderList-tit .titul .titli .titSpan[data-v-6fb2acd9]{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-6fb2acd9]{background:hsla(236,7%,48%,.2);height:10px;margin-top:17px;width:1px}.orderList-tit .titul .titli .titRed[data-v-6fb2acd9]{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-6fb2acd9]{bottom:0;height:3rpx;left:0;position:absolute;width:100%}.progress-section[data-v-6fb2acd9]{margin:0 12px}.progress-info[data-v-6fb2acd9]{display:flex;justify-content:space-between;margin-bottom:2px}.progress-text[data-v-6fb2acd9]{color:#394259;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:20px}.progress-percent[data-v-6fb2acd9]{color:#394259;font-family:Montserrat;font-size:12px;font-weight:500;line-height:20px}.progress-bar[data-v-6fb2acd9]{background:hsla(236,7%,48%,.2);border-radius:10px;height:5px;margin-bottom:8px;overflow:hidden}.progress-fill[data-v-6fb2acd9]{background:linear-gradient(180deg,#03c9b3,#56e7ea);border-radius:10px;height:100%;transition:width 1.5s ease-in-out}.progressdai-section[data-v-6fb2acd9]{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-6fb2acd9]{margin-bottom:10px;padding-right:65px;width:100%}.progressdai-section .progressdai-info .progressdai-tag[data-v-6fb2acd9]{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-6fb2acd9]{color:#394259;display:inline;font-family:PingFang SC;font-size:16px;font-weight:500;line-height:24px;margin-left:10px;vertical-align:middle;word-break:break-all}.progressdai-section .progressdai-info .progressdai-logo[data-v-6fb2acd9]{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-6fb2acd9]{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-6fb2acd9],.progressdai-section .progressdai-two .progressdai-two-2[data-v-6fb2acd9]{display:inline-block;width:110px}.progressdai-section .progressdai-three[data-v-6fb2acd9]{display:flex;justify-content:space-between}.progressdai-section .progressdai-three .progressdai-three-1[data-v-6fb2acd9]{color:#888e98;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:28px}.progressdai-section .progressdai-three .progressdai-three-2[data-v-6fb2acd9]{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-6fb2acd9],.progressdai-section .progressdai-three .progressdai-three-3[data-v-6fb2acd9]{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-6fb2acd9]{border:1px solid hsla(236,7%,48%,.2);border-radius:14px 14px 14px 14px;color:#394259}.compClass[data-v-6fb2acd9]{color:#394259;display:flex;font-family:PingFang SC;font-size:14px;font-weight:400;justify-content:space-between;line-height:22px}.blueLine[data-v-6fb2acd9]{display:block;height:22px;left:38px;position:absolute;top:22px;width:22px}.not-box[data-v-6fb2acd9]{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:50px;width:100%}.not-box img[data-v-6fb2acd9]{height:200px;width:200px}.not-box .not-text[data-v-6fb2acd9]{color:#394259;font-family:PingFang SC;font-size:16px;font-style:normal;font-weight:500;line-height:24px;text-align:center;text-transform:none}.titTaskCanvas[data-v-6fb2acd9]{left:0;position:absolute;top:0}.titTask[data-v-6fb2acd9]{color:#1c253a;display:inline-block;font-size:16px;font-weight:500;line-height:45px;margin-right:-10px;padding-left:22px;padding-right:30px;position:relative;z-index:10}.box[data-v-6fb2acd9]{background:#f6f8fa;border-radius:15px 15px 0 0;padding-top:10px;position:relative;width:100%;z-index:100}"),fc.render=function(l,c,p,d,g,h){return e(),t("div",yc,[s("div",bc,[g.lowCode?(e(),t("div",vc,wc)):(e(),t("div",kc,[s("div",Cc,[s("canvas",{type:"2d",id:"titTaskBg",class:"titTaskCanvas",style:i({width:g.titTaskW+"px",height:g.titTaskH+"px"})},null,4),s("canvas",{ref:"titTaskBgH5",class:"titTaskCanvas",style:i({width:g.titTaskW+"px",height:g.titTaskH+"px"})},null,4),Sc,Tc]),(e(!0),t(a,null,r(g.items,((a,r)=>(e(),t("div",{class:"titli",key:r,onClick:e=>h.orderTitle(a,r)},[s("span",{class:"titSpan",style:i({color:g.current==r?"#0081CC":""})},o(a.label),5),3!==r?(e(),t("span",jc)):n("",!0),["未参加","待开始"].includes(a.label)&&0!==g.redTit1?(e(),t("span",{key:1,class:"titRed",style:i({left:3==r?"22px":"36px"})},o(g.redTit1),5)):n("",!0),["已参加","进行中"].includes(a.label)&&0!==g.redTit2?(e(),t("span",{key:2,class:"titRed",style:i({left:3==r?"22px":"36px"})},o(g.redTit2),5)):n("",!0)],8,Bc)))),128))]))]),s("div",_c,[["merchant","buy"].includes(p.identity)&&["0","3"].includes(g.type)?(e(),t("div",{key:0,class:"progressdai-section compClass",onClick:c[0]||(c[0]=(...e)=>h.clickMemberList&&h.clickMemberList(...e))},[s("div",null,o(g.lowCode?"邯郸县丛台路鼎灵五金建材经销处":g.memberName),1),Ac])):n("",!0),(e(!0),t(a,null,r(g.taskList,((a,r)=>(e(),t("div",{class:"progressdai-section",key:r,onClick:e=>h.goTaskDetail(a)},[s("div",Nc,[s("span",Ic,o(h.formatIndex(r)),1),s("span",zc,o(a.taskName),1),g.lowCode?(e(),t("span",{key:0,class:"progressdai-logo",style:i({background:"linear-gradient(0deg, #03C9B3 0%, #56E7EA 100%)"})},"已参加",4)):(e(),t("span",{key:1,class:"progressdai-logo",style:i({background:h.getTaskTypeStyle(a)})},o(h.getTaskTypeName(a)),5))]),"supplier"===p.identity?(e(),t("div",Pc,[s("span",Dc,"报名人数:"+o(a.participantCount||0),1),s("span",Mc,"达标人数:"+o(a.taskGoal||0),1),s("span",Fc,"活动奖励发放人数:"+o(a.rewardRecipientCount||0),1)])):n("",!0),g.lowCode?(e(),t("div",Oc,Rc)):n("",!0),"buy"===p.identity?(e(),t("div",$c,[s("div",Uc,[Gc,s("span",Ec,o(Number(a.taskCompleteQuantity))+"/"+o(a.taskGoal||1),1)]),s("div",qc,[s("div",{class:"progress-fill",style:i({width:h.getProgressWidth(a)+"%"})},null,4)])])):n("",!0),s("div",Kc,[s("span",Wc,"截止时间: "+o(h.formatDate(a.activityEndTime)),1),s("div",null,["buy"!==p.identity||"0"!==a.participationStatus||[-1,-2].includes(a.dataState)?n("",!0):(e(),t("span",{key:0,class:"progressdai-three-2",onClick:f((e=>h.goTaskJoin(a)),["stop"])},"报名",8,Hc)),g.lowCode?(e(),t("span",Vc,"分享")):n("",!0),!g.lowCode&&[1,2].includes(a.dataState)?(e(),t("button",{key:2,"open-type":"share",style:{display:"inline"},class:"progressdai-three-3",onClick:f((e=>h.goTaskShare(a)),["stop"])}," 分享 ",8,Qc)):n("",!0)])])],8,Lc)))),128))]),0===g.taskList.length?(e(),t("view",Jc,Yc)):n("",!0)])},fc.__scopeId="data-v-6fb2acd9";var Xc={name:"cyy-imgCombination",props:{props:{type:Object,default:()=>({selectImg:[],borderStyle:0,borderRadius:0,marginTop:0,paddingLeft:0,paddingRight:0,marginBottom:0,defaultValue:[]})}},computed:{parsedBlocks(){const{selectImg:e}=this.props;if(!e||!e.length)return[];const t=[];let i=null;for(let o=0;o<e.length;o++){const a=e[o],r=a.blockId;a&&(i&&i.blockId===r?i.items.push({...a}):(i&&i.items.length>0&&t.push(i),i={blockId:r,styleType:a.styleType,items:[{...a}]}))}return i&&i.items.length>0&&t.push(i),t},computedStyle(){const e=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],t=no(this.props,e),i=va(this.props,e);return{...v(t),...i}}},methods:{getModuleField:(e,t,i)=>e&&e[`module${t}_${i}`]||"",handleModuleTitleClick(e,t){const i=this.getModuleField(e,t,"mainSubLink");i&&"无操作"!==i&&console.log("模块标题跳转:",i)},handleClick(e){e.link&&"无操作"!==e.link&&(console.log("图片跳转:",e.link,e.name),this.$emit("linkClick",e))}}};const Zc={class:"img-combination-container"},ep={key:0,class:"oneRowThree"},tp={class:"threeImg"},ip=["src","onClick"],op={key:1,class:"oneMainTwoSide"},ap={class:"img-container"},rp={class:"main-img-wrapper"},sp=["src","onClick"],np={class:"side-images"},lp={key:0,class:"side-img-wrapper"},cp=["src","onClick"],pp={key:1,class:"side-img-wrapper"},dp=["src","onClick"],gp={key:2,class:"oneRowFlat"},hp={class:"flatImg"},up=["src","onClick"],mp={key:3,class:"oneRowTwoMain"},fp={class:"img-container"},xp={class:"main-img-wrapper"},yp=["src","onClick"],bp={class:"side-images"},vp={key:0,class:"side-img-wrapper"},wp=["src","onClick"],kp={key:1,class:"side-img-wrapper"},Cp=["src","onClick"],Sp={key:4,class:"equalHeightNotWidth"},Tp={class:"img-grid"},Bp={class:"grid-row"},jp={key:0,class:"img-wrapper small"},_p=["src","onClick"],Ap={key:1,class:"img-wrapper large"},Lp=["src","onClick"],Np={class:"grid-row"},Ip={key:0,class:"img-wrapper large"},zp=["src","onClick"],Pp={key:1,class:"img-wrapper small"},Dp=["src","onClick"],Mp={key:5,class:"equalWidthNotHeight"},Fp={class:"img-two-columns"},Op={class:"left-column"},Rp={key:0,class:"img-wrapper wide"},$p=["src","onClick"],Up={key:1,class:"img-wrapper square"},Gp=["src","onClick"],Ep={class:"right-column"},qp={key:0,class:"img-wrapper square"},Kp=["src","onClick"],Wp={key:1,class:"img-wrapper wide"},Hp=["src","onClick"],Vp={key:6,class:"fourMainOneLong"},Qp={class:"fourMainOneLong-container"},Jp=["src","onClick"],Yp={key:7,class:"fourMainEightImg"},Xp={class:"fourMainEightImg-row"},Zp={class:"module-wrapper"},ed=["onClick"],td={class:"module-main-title"},id={class:"module-sub-title"},od={class:"module-images"},ad=["src","onClick"],rd=["src","onClick"],sd={class:"module-wrapper"},nd=["onClick"],ld={class:"module-main-title"},cd={class:"module-sub-title"},pd={class:"module-images"},dd=["src","onClick"],gd=["src","onClick"],hd={class:"fourMainEightImg-row"},ud={class:"module-wrapper"},md=["onClick"],fd={class:"module-main-title"},xd={class:"module-sub-title"},yd={class:"module-images"},bd=["src","onClick"],vd=["src","onClick"],wd={class:"module-wrapper"},kd=["onClick"],Cd={class:"module-main-title"},Sd={class:"module-sub-title"},Td={class:"module-images"},Bd=["src","onClick"],jd=["src","onClick"];Ta(".img-combination-container .block-container[data-v-301ea315]{margin-bottom:10px}.img-combination-container .block-container[data-v-301ea315]:last-child{margin-bottom:0}.oneRowThree .threeImg[data-v-301ea315]{display:flex;flex-wrap:wrap;gap:10px}.oneRowThree .threeImg img[data-v-301ea315]{background:#488cff;border-radius:8px;cursor:pointer;-o-object-fit:cover;object-fit:cover;width:calc(33.33333% - 6.66667px)}.oneMainTwoSide .img-container[data-v-301ea315]{display:flex;gap:10px;height:200px}.oneMainTwoSide .img-container .main-img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;height:100%;overflow:hidden;width:50%}.oneMainTwoSide .img-container .main-img-wrapper .main-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneMainTwoSide .img-container .main-img-wrapper .main-img[data-v-301ea315]:hover{transform:scale(1.02)}.oneMainTwoSide .img-container .side-images[data-v-301ea315]{display:flex;flex-direction:column;gap:10px;height:100%;width:50%}.oneMainTwoSide .img-container .side-images .side-img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;flex:1;min-height:0;overflow:hidden;width:100%}.oneMainTwoSide .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneMainTwoSide .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]:hover{transform:scale(1.02)}.oneRowFlat .flatImg[data-v-301ea315]{display:flex;flex-wrap:wrap;gap:10px}.oneRowFlat .flatImg img[data-v-301ea315]{aspect-ratio:2;border-radius:8px;cursor:pointer;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease,box-shadow .2s ease;width:calc(33.33333% - 6.66667px)}.oneRowFlat .flatImg img[data-v-301ea315]:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.oneRowTwoMain .img-container[data-v-301ea315]{display:flex;gap:10px}.oneRowTwoMain .img-container .main-img-wrapper[data-v-301ea315]{aspect-ratio:.72445255;background-color:#f5f7fa;border-radius:12px;flex:1;overflow:hidden}.oneRowTwoMain .img-container .main-img-wrapper .main-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneRowTwoMain .img-container .main-img-wrapper .main-img[data-v-301ea315]:hover{transform:scale(1.02)}.oneRowTwoMain .img-container .side-images[data-v-301ea315]{display:flex;flex:1;flex-direction:column;gap:10px}.oneRowTwoMain .img-container .side-images .side-img-wrapper[data-v-301ea315]{aspect-ratio:1;background-color:#f5f7fa;border-radius:12px;flex:1;overflow:hidden}.oneRowTwoMain .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneRowTwoMain .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]:hover{transform:scale(1.02)}.equalHeightNotWidth .img-grid[data-v-301ea315]{display:flex;flex-direction:column;gap:10px}.equalHeightNotWidth .img-grid .grid-row[data-v-301ea315]{display:flex;gap:10px}.equalHeightNotWidth .img-grid .grid-row .img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;cursor:pointer;overflow:hidden}.equalHeightNotWidth .img-grid .grid-row .img-wrapper img[data-v-301ea315]{height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.equalHeightNotWidth .img-grid .grid-row .img-wrapper img[data-v-301ea315]:hover{transform:scale(1.02)}.equalHeightNotWidth .img-grid .grid-row .small[data-v-301ea315]{aspect-ratio:1;flex:1}.equalHeightNotWidth .img-grid .grid-row .large[data-v-301ea315]{aspect-ratio:2;flex:2}.equalWidthNotHeight .img-two-columns[data-v-301ea315]{display:flex;gap:10px}.equalWidthNotHeight .img-two-columns .left-column[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column[data-v-301ea315]{display:flex;flex:1;flex-direction:column;gap:10px}.equalWidthNotHeight .img-two-columns .left-column .img-wrapper[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;cursor:pointer;overflow:hidden}.equalWidthNotHeight .img-two-columns .left-column .img-wrapper img[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .img-wrapper img[data-v-301ea315]{height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.equalWidthNotHeight .img-two-columns .left-column .img-wrapper img[data-v-301ea315]:hover,.equalWidthNotHeight .img-two-columns .right-column .img-wrapper img[data-v-301ea315]:hover{transform:scale(1.02)}.equalWidthNotHeight .img-two-columns .left-column .wide[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .wide[data-v-301ea315]{aspect-ratio:2}.equalWidthNotHeight .img-two-columns .left-column .square[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .square[data-v-301ea315]{aspect-ratio:1}.fourMainOneLong .fourMainOneLong-container[data-v-301ea315]{display:flex;flex-wrap:wrap;gap:10px}.fourMainOneLong .fourMainOneLong-container .main-img[data-v-301ea315]{cursor:pointer;height:120px;-o-object-fit:cover;object-fit:cover;width:calc(25% - 7.5px)}.fourMainOneLong .fourMainOneLong-container .long-img[data-v-301ea315]{cursor:pointer;height:180px;-o-object-fit:cover;object-fit:cover;width:100%}.fourMainEightImg .fourMainEightImg-row[data-v-301ea315]{display:flex;gap:8px;margin-bottom:8px}.fourMainEightImg .fourMainEightImg-row[data-v-301ea315]:last-child{margin-bottom:0}.fourMainEightImg .module-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:8px;display:flex;flex:1;flex-direction:column;overflow:hidden}.fourMainEightImg .module-wrapper .module-title-area[data-v-301ea315]{cursor:pointer;padding:8px 10px 6px;text-align:left}.fourMainEightImg .module-wrapper .module-title-area .module-main-title[data-v-301ea315]{color:#333;font-size:15px;font-weight:600;line-height:1.3;margin-bottom:2px}.fourMainEightImg .module-wrapper .module-title-area .module-sub-title[data-v-301ea315]{color:#999;font-size:12px;line-height:1.3}.fourMainEightImg .module-wrapper .module-images[data-v-301ea315]{display:flex;gap:4px;padding:0 8px 8px}.fourMainEightImg .module-wrapper .module-images img[data-v-301ea315]{border-radius:4px;cursor:pointer;flex:1;height:100px;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:50%}.fourMainEightImg .module-wrapper .module-images img[data-v-301ea315]:hover{transform:scale(1.03)}"),Xc.render=function(c,p,d,g,h,u){return e(),t("div",Zc,[(e(!0),t(a,null,r(u.parsedBlocks,((c,p)=>(e(),t("div",{key:c.blockId,class:"block-container",style:i(u.computedStyle)},["oneRowThree"===c.styleType?(e(),t("div",ep,[s("div",tp,[(e(!0),t(a,null,r(c.items,((i,o)=>(e(),t("img",{key:o,src:i.imgUrl,onClick:e=>u.handleClick(i)},null,8,ip)))),128))])])):n("",!0),"oneMainTwoSide"===c.styleType?(e(),t("div",op,[s("div",ap,[s("div",rp,[c.items[0]?(e(),t("img",{key:0,src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0]),class:"main-img"},null,8,sp)):n("",!0)]),s("div",np,[c.items[1]?(e(),t("div",lp,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1]),class:"side-img top-img"},null,8,cp)])):n("",!0),c.items[2]?(e(),t("div",pp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2]),class:"side-img bottom-img"},null,8,dp)])):n("",!0)])])])):n("",!0),"oneRowFlat"===c.styleType?(e(),t("div",gp,[s("div",hp,[(e(!0),t(a,null,r(c.items,((i,o)=>(e(),t("img",{key:o,src:i.imgUrl,onClick:e=>u.handleClick(i)},null,8,up)))),128))])])):n("",!0),"oneRowTwoMain"===c.styleType?(e(),t("div",mp,[s("div",fp,[s("div",xp,[c.items[0]?(e(),t("img",{key:0,src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0]),class:"main-img"},null,8,yp)):n("",!0)]),s("div",bp,[c.items[1]?(e(),t("div",vp,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1]),class:"side-img top-img"},null,8,wp)])):n("",!0),c.items[2]?(e(),t("div",kp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2]),class:"side-img bottom-img"},null,8,Cp)])):n("",!0)])])])):n("",!0),"equalHeightNotWidth"===c.styleType?(e(),t("div",Sp,[s("div",Tp,[s("div",Bp,[c.items[0]?(e(),t("div",jp,[s("img",{src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0])},null,8,_p)])):n("",!0),c.items[1]?(e(),t("div",Ap,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1])},null,8,Lp)])):n("",!0)]),s("div",Np,[c.items[2]?(e(),t("div",Ip,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2])},null,8,zp)])):n("",!0),c.items[3]?(e(),t("div",Pp,[s("img",{src:c.items[3].imgUrl,onClick:e=>u.handleClick(c.items[3])},null,8,Dp)])):n("",!0)])])])):n("",!0),"equalWidthNotHeight"===c.styleType?(e(),t("div",Mp,[s("div",Fp,[s("div",Op,[c.items[0]?(e(),t("div",Rp,[s("img",{src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0])},null,8,$p)])):n("",!0),c.items[1]?(e(),t("div",Up,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1])},null,8,Gp)])):n("",!0)]),s("div",Ep,[c.items[2]?(e(),t("div",qp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2])},null,8,Kp)])):n("",!0),c.items[3]?(e(),t("div",Wp,[s("img",{src:c.items[3].imgUrl,onClick:e=>u.handleClick(c.items[3])},null,8,Hp)])):n("",!0)])])])):n("",!0),"fourMainOneLong"===c.styleType?(e(),t("div",Vp,[s("div",Qp,[(e(!0),t(a,null,r(c.items,((i,o)=>(e(),t("img",{key:o,class:l({"long-img":4===o,"main-img":4!==o}),src:i.imgUrl,onClick:e=>u.handleClick(i)},null,10,Jp)))),128))])])):n("",!0),"fourMainEightImg"===c.styleType?(e(),t("div",Yp,[s("div",Xp,[s("div",Zp,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[0],0)},[s("div",td,o(u.getModuleField(c.items[0],0,"mainTitle")),1),s("div",id,o(u.getModuleField(c.items[0],0,"subTitle")),1)],8,ed),s("div",od,[c.items[0]?(e(),t("img",{key:0,src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0])},null,8,ad)):n("",!0),c.items[1]?(e(),t("img",{key:1,src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1])},null,8,rd)):n("",!0)])]),s("div",sd,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[2],1)},[s("div",ld,o(u.getModuleField(c.items[2],1,"mainTitle")),1),s("div",cd,o(u.getModuleField(c.items[2],1,"subTitle")),1)],8,nd),s("div",pd,[c.items[2]?(e(),t("img",{key:0,src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2])},null,8,dd)):n("",!0),c.items[3]?(e(),t("img",{key:1,src:c.items[3].imgUrl,onClick:e=>u.handleClick(c.items[3])},null,8,gd)):n("",!0)])])]),s("div",hd,[s("div",ud,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[4],2)},[s("div",fd,o(u.getModuleField(c.items[4],2,"mainTitle")),1),s("div",xd,o(u.getModuleField(c.items[4],2,"subTitle")),1)],8,md),s("div",yd,[c.items[4]?(e(),t("img",{key:0,src:c.items[4].imgUrl,onClick:e=>u.handleClick(c.items[4])},null,8,bd)):n("",!0),c.items[5]?(e(),t("img",{key:1,src:c.items[5].imgUrl,onClick:e=>u.handleClick(c.items[5])},null,8,vd)):n("",!0)])]),s("div",wd,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[6],3)},[s("div",Cd,o(u.getModuleField(c.items[6],3,"mainTitle")),1),s("div",Sd,o(u.getModuleField(c.items[6],3,"subTitle")),1)],8,kd),s("div",Td,[c.items[6]?(e(),t("img",{key:0,src:c.items[6].imgUrl,onClick:e=>u.handleClick(c.items[6])},null,8,Bd)):n("",!0),c.items[7]?(e(),t("img",{key:1,src:c.items[7].imgUrl,onClick:e=>u.handleClick(c.items[7])},null,8,jd)):n("",!0)])])])])):n("",!0)],4)))),128))])},Xc.__scopeId="data-v-301ea315";var _d={name:"cyy-column",props:{props:{type:Object,default:()=>({fontSize:"14",changeColor:"#0081CC",noChangeColor:"#888E98",lastLine:0,selectImg:[],marginTop:0,marginBottom:16})}},components:{"cyy-title":wa,"cyy-image":Ca,"cyy-search":Ba,"cyy-goods":La,"cyy-slider":qa,"cyy-goodsOne":Qa,"cyy-notice":bl,"cyy-collocation":Nr,"cyy-video":gc,"cyy-imgCombination":Xc,"cyy-ArsenalNavigation":fr,"cyy-ArsenalCarousel":Sr,"cyy-ArsenalActivity":_l,"cyy-ArsenalPicture":hr},data:()=>({current:0,floorArr:[],floorArrFlag:!0}),mounted(){console.log(this.props,2008),this.initData()},methods:{initData(){const e=this.props.selectImg[0];if(e){const t={modelTagvalueId:this.extractModelTagvalueId(e.link)};this.getIsLc(t)}},extractModelTagvalueId(e){if(!e)return 0;try{const t=new URL(e,"http://dummy.com").searchParams.get("modelTagvalueId");if(t)return Number(t)}catch(e){}const t=e.match(/modelTagvalueId=(\d+)/);if(t)return Number(t[1]);const i=e.split("?")[1];if(i){const e=new URLSearchParams(i).get("modelTagvalueId");if(e)return Number(e)}return 0},getIsLc(e){let t=this;return b?this.LcGetData(t,e):this.getData(t,e)},async LcGetData(e,t){try{const i=await yl(j);e.floorArr=e.handlerData(i),console.log(e.floorArr,"低代码环境获取数据,参数:",t)}catch(t){console.error("低代码环境获取数据失败:",t),e.floorArr=[]}},async getData(e,t){try{const i=await e.http.get(j,t);e.floorArr=e.handlerData(i),console.log(e.floorArr,"非低代码环境获取数据,参数:",t)}catch(t){console.error("获取数据失败:",t),e.floorArr=[]}},handlerData(e){const t=Aa(e,"modelTagvalueJson",{});if(tt(t))return[];try{return this.handleLcData(t).nodeGraph||[]}catch(e){return console.error("数据处理失败:",e),[]}},handleLcData:e=>JSON.parse(decodeURIComponent(e)),handleClick(e,t){this.current=t;const i={modelTagvalueId:this.extractModelTagvalueId(e.link)};console.log("点击栏目:",e.name,",提取的参数:",i),this.getIsLc(i)},linkClick(e){this.$emit("linkClick",e)},ToSearch(){b||this.$emit("ToSearch")},goSecList(e){console.log("goSecList:",e)},gosecGoodsDetail(e){console.log("gosecGoodsDetail:",e)},toDetail(e){console.log("toDetail:",e)},goSearch(){b||this.$emit("ToSearch")}}};const Ad={class:"titul"},Ld=["onClick"],Nd={class:"titContent"},Id={key:0,class:"activeLine",style:{backgroundColor:"#0081CC"}},zd={key:0,class:"cyy-wrap-margin"},Pd={key:1,class:"cyy-wrap-margin"},Dd={key:2,class:"cyy-wrap-margin"},Md={key:3,class:"cyy-wrap-margin"},Fd={key:4,class:"cyy-wrap-margin"},Od={key:5,class:"cyy-wrap-margin"},Rd={key:6,class:"cyy-wrap-margin"},$d={key:7},Ud={key:8,class:"cyy-wrap-margin"},Gd={key:9,class:"cyy-wrap-margin"},Ed={key:10,class:"cyy-wrap-margin"},qd={key:11,class:"cyy-wrap-margin"},Kd={key:12,class:"cyy-wrap-margin"},Wd={key:13,class:"cyy-wrap-margin"};Ta(".titul[data-v-2660cea8]{display:flex;overflow:visible}.titul .titli[data-v-2660cea8]{cursor:pointer;display:flex;position:relative}.titul .titli .titContent[data-v-2660cea8]{align-items:center;display:flex;flex-direction:column;margin-right:12px;position:relative}.titul .titli .titContent .titSpan[data-v-2660cea8]{color:#888e98;display:inline-block;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:1.2;padding-bottom:6px;position:relative;transition:color .3s ease}.titul .titli .titContent .activeLine[data-v-2660cea8]{background:#0081cc;border-radius:1px;display:block;height:2px;transition:all .3s ease;width:60%}.titul .titli .titLine[data-v-2660cea8]{background:hsla(236,7%,48%,.2);height:10px;margin-top:17px;width:1px}.titul .titli .titRed[data-v-2660cea8]{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}"),_d.render=function(l,d,h,u,m,f){const x=c("cyy-title"),y=c("cyy-image"),b=c("cyy-search"),v=c("cyy-goods"),w=c("cyy-slider"),k=c("cyy-goodsOne"),C=c("cyy-ArsenalNavigation"),S=c("cyy-ArsenalCarousel"),T=c("cyy-notice"),B=c("cyy-collocation"),j=c("cyy-ArsenalActivity"),_=c("cyy-video"),A=c("cyy-imgCombination"),L=c("cyy-ArsenalPicture");return e(),t("div",{style:i({marginTop:(h.props.marginTop||0)+"px",marginBottom:(h.props.marginBottom-16||0)+"px"})},[s("div",Ad,[(e(!0),t(a,null,r(h.props.selectImg,((a,r)=>(e(),t("div",{class:"titli",key:r,onClick:e=>f.handleClick(a,r)},[s("div",Nd,[s("span",{class:"titSpan",style:i({color:m.current===r?h.props.changeColor||"#0081CC":h.props.noChangeColor||"#888E98",fontSize:(h.props.fontSize||"14")+"px"})},o(a.name),5),m.current===r?(e(),t("span",Id)):n("",!0)])],8,Ld)))),128))]),s("div",null,[(e(!0),t(a,null,r(m.floorArr,((i,o)=>(e(),t("div",{key:o},["Title"===i.type?(e(),t("div",zd,[p(x,{props:i.props},null,8,["props"])])):n("",!0),"Cube"===i.type?(e(),t("div",Pd,[p(y,{props:i.props},null,8,["props"])])):n("",!0),"Search"===i.type?(e(),t("div",Dd,[p(b,{props:i.props,onToSearch:f.ToSearch},null,8,["props","onToSearch"])])):n("",!0),"Goods"===i.type?(e(),t("div",Md,[p(v,{props:i.props},null,8,["props"])])):n("",!0),"Slider"===i.type?(e(),t("div",Fd,[p(w,{props:i.props},null,8,["props"])])):n("",!0),"GoodsOne"===i.type?(e(),t("div",Od,[p(k,{props:i.props},null,8,["props"])])):n("",!0),"ArsenalNavigation"===i.type?(e(),t("div",Rd,[p(C,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0),"ArsenalCarousel"===i.type?(e(),t("div",$d,[p(S,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0),"Notice"===i.type?(e(),t("div",Ud,[m.floorArrFlag?(e(),g(T,{key:0,props:i.props},null,8,["props"])):n("",!0)])):n("",!0),"Collocation"===i.type?(e(),t("div",Gd,[p(B,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0),"ArsenalActivity"===i.type?(e(),t("div",Ed,[p(j,{props:i.props,onGoSecList:f.goSecList,onGosecGoodsDetail:f.gosecGoodsDetail,onToDetail:f.toDetail},null,8,["props","onGoSecList","onGosecGoodsDetail","onToDetail"])])):n("",!0),"Video"===i.type?(e(),t("div",qd,[p(_,{props:i.props},null,8,["props"])])):n("",!0),"ImgCombination"===i.type?(e(),t("div",Kd,[p(A,{props:i.props},null,8,["props"])])):n("",!0),"ArsenalPicture"===i.type?(e(),t("div",Wd,[p(L,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0)])))),128))])],4)},_d.__scopeId="data-v-2660cea8";export{_l as ArsenalActivity,Sr as ArsenalCarousel,fr as ArsenalNavigation,hr as ArsenalPicture,Ms as ArsenalTop,Nr as Collocation,_d as Column,Ca as Cube,La as Goods,Qa as GoodsOne,Xc as ImgCombination,gl as Live,uc as Mileage,bl as Notice,Ba as Search,qa as Slider,fc as Task,wa as Title,gc as Video};
1
+ import{openBlock as e,createElementBlock as t,normalizeStyle as i,toDisplayString as o,Fragment as a,renderList as r,createElementVNode as s,createCommentVNode as n,normalizeClass as l,resolveComponent as c,createVNode as p,withCtx as d,createBlock as g,createTextVNode as h,pushScopeId as u,popScopeId as m,withModifiers as f,renderSlot as x,createStaticVNode as y}from"vue";import"lodash";const b="dev"===process.env.NODE_ENV||"low-code"===process.env.VUE_APP_PLATFORM,v=e=>{let t={};for(let i in e)t[i]=w(e[i]);return t},w=e=>b?e+"px":2*e+"rpx",k="/web/rs/sku/querySkuByCheck.json",C="/web/pm/promotionplat/queryPromotionPageForC.json",S="/web/cms/notice/queryNoticePage.json",T="/web/tk/taskMain/queryTaskMainPage.json",B="/web/tk/taskMain/queryTaskMainCount.json",j="/web/pfs/pfsmodeltagvalue/getCurrentUserPfsModelTagValueForMenuOpcode.json";var _=Object.prototype;function A(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_)}function L(e,t){return function(i){return e(t(i))}}var N=L(Object.keys,Object),I=Object.prototype.hasOwnProperty;function z(e){if(!A(e))return N(e);var t=[];for(var i in Object(e))I.call(e,i)&&"constructor"!=i&&t.push(i);return t}var P="object"==typeof global&&global&&global.Object===Object&&global,M="object"==typeof self&&self&&self.Object===Object&&self,D=P||M||Function("return this")(),O=D.Symbol,F=Object.prototype,R=F.hasOwnProperty,U=F.toString,$=O?O.toStringTag:void 0;var G=Object.prototype.toString;var E="[object Null]",q="[object Undefined]",K=O?O.toStringTag:void 0;function W(e){return null==e?void 0===e?q:E:K&&K in Object(e)?function(e){var t=R.call(e,$),i=e[$];try{e[$]=void 0;var o=!0}catch(e){}var a=U.call(e);return o&&(t?e[$]=i:delete e[$]),a}(e):function(e){return G.call(e)}(e)}function H(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var V="[object AsyncFunction]",Q="[object Function]",J="[object GeneratorFunction]",Y="[object Proxy]";function X(e){if(!H(e))return!1;var t=W(e);return t==Q||t==J||t==V||t==Y}var Z,ee=D["__core-js_shared__"],te=(Z=/[^.]+$/.exec(ee&&ee.keys&&ee.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"";var ie=Function.prototype.toString;function oe(e){if(null!=e){try{return ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var ae=/^\[object .+?Constructor\]$/,re=Function.prototype,se=Object.prototype,ne=re.toString,le=se.hasOwnProperty,ce=RegExp("^"+ne.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pe(e){return!(!H(e)||(t=e,te&&te in t))&&(X(e)?ce:ae).test(oe(e));var t}function de(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return pe(i)?i:void 0}var ge=de(D,"DataView"),he=de(D,"Map"),ue=de(D,"Promise"),me=de(D,"Set"),fe=de(D,"WeakMap"),xe="[object Map]",ye="[object Promise]",be="[object Set]",ve="[object WeakMap]",we="[object DataView]",ke=oe(ge),Ce=oe(he),Se=oe(ue),Te=oe(me),Be=oe(fe),je=W;(ge&&je(new ge(new ArrayBuffer(1)))!=we||he&&je(new he)!=xe||ue&&je(ue.resolve())!=ye||me&&je(new me)!=be||fe&&je(new fe)!=ve)&&(je=function(e){var t=W(e),i="[object Object]"==t?e.constructor:void 0,o=i?oe(i):"";if(o)switch(o){case ke:return we;case Ce:return xe;case Se:return ye;case Te:return be;case Be:return ve}return t});var _e=je;function Ae(e){return null!=e&&"object"==typeof e}var Le="[object Arguments]";function Ne(e){return Ae(e)&&W(e)==Le}var Ie=Object.prototype,ze=Ie.hasOwnProperty,Pe=Ie.propertyIsEnumerable,Me=Ne(function(){return arguments}())?Ne:function(e){return Ae(e)&&ze.call(e,"callee")&&!Pe.call(e,"callee")},De=Array.isArray,Oe=9007199254740991;function Fe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Oe}function Re(e){return null!=e&&Fe(e.length)&&!X(e)}var Ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,$e=Ue&&"object"==typeof module&&module&&!module.nodeType&&module,Ge=$e&&$e.exports===Ue?D.Buffer:void 0,Ee=(Ge?Ge.isBuffer:void 0)||function(){return!1},qe={};function Ke(e){return function(t){return e(t)}}qe["[object Float32Array]"]=qe["[object Float64Array]"]=qe["[object Int8Array]"]=qe["[object Int16Array]"]=qe["[object Int32Array]"]=qe["[object Uint8Array]"]=qe["[object Uint8ClampedArray]"]=qe["[object Uint16Array]"]=qe["[object Uint32Array]"]=!0,qe["[object Arguments]"]=qe["[object Array]"]=qe["[object ArrayBuffer]"]=qe["[object Boolean]"]=qe["[object DataView]"]=qe["[object Date]"]=qe["[object Error]"]=qe["[object Function]"]=qe["[object Map]"]=qe["[object Number]"]=qe["[object Object]"]=qe["[object RegExp]"]=qe["[object Set]"]=qe["[object String]"]=qe["[object WeakMap]"]=!1;var We="object"==typeof exports&&exports&&!exports.nodeType&&exports,He=We&&"object"==typeof module&&module&&!module.nodeType&&module,Ve=He&&He.exports===We&&P.process,Qe=function(){try{var e=He&&He.require&&He.require("util").types;return e||Ve&&Ve.binding&&Ve.binding("util")}catch(e){}}(),Je=Qe&&Qe.isTypedArray,Ye=Je?Ke(Je):function(e){return Ae(e)&&Fe(e.length)&&!!qe[W(e)]},Xe="[object Map]",Ze="[object Set]",et=Object.prototype.hasOwnProperty;function tt(e){if(null==e)return!0;if(Re(e)&&(De(e)||"string"==typeof e||"function"==typeof e.splice||Ee(e)||Ye(e)||Me(e)))return!e.length;var t=_e(e);if(t==Xe||t==Ze)return!e.size;if(A(e))return!z(e).length;for(var i in e)if(et.call(e,i))return!1;return!0}function it(e,t){return e===t||e!=e&&t!=t}function ot(e,t){for(var i=e.length;i--;)if(it(e[i][0],t))return i;return-1}var at=Array.prototype.splice;function rt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}rt.prototype.clear=function(){this.__data__=[],this.size=0},rt.prototype.delete=function(e){var t=this.__data__,i=ot(t,e);return!(i<0)&&(i==t.length-1?t.pop():at.call(t,i,1),--this.size,!0)},rt.prototype.get=function(e){var t=this.__data__,i=ot(t,e);return i<0?void 0:t[i][1]},rt.prototype.has=function(e){return ot(this.__data__,e)>-1},rt.prototype.set=function(e,t){var i=this.__data__,o=ot(i,e);return o<0?(++this.size,i.push([e,t])):i[o][1]=t,this};var st=de(Object,"create");var nt="__lodash_hash_undefined__",lt=Object.prototype.hasOwnProperty;var ct=Object.prototype.hasOwnProperty;var pt="__lodash_hash_undefined__";function dt(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}function gt(e,t){var i,o,a=e.__data__;return("string"==(o=typeof(i=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?a["string"==typeof t?"string":"hash"]:a.map}function ht(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}dt.prototype.clear=function(){this.__data__=st?st(null):{},this.size=0},dt.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},dt.prototype.get=function(e){var t=this.__data__;if(st){var i=t[e];return i===nt?void 0:i}return lt.call(t,e)?t[e]:void 0},dt.prototype.has=function(e){var t=this.__data__;return st?void 0!==t[e]:ct.call(t,e)},dt.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=st&&void 0===t?pt:t,this},ht.prototype.clear=function(){this.size=0,this.__data__={hash:new dt,map:new(he||rt),string:new dt}},ht.prototype.delete=function(e){var t=gt(this,e).delete(e);return this.size-=t?1:0,t},ht.prototype.get=function(e){return gt(this,e).get(e)},ht.prototype.has=function(e){return gt(this,e).has(e)},ht.prototype.set=function(e,t){var i=gt(this,e),o=i.size;return i.set(e,t),this.size+=i.size==o?0:1,this};var ut=200;function mt(e){var t=this.__data__=new rt(e);this.size=t.size}mt.prototype.clear=function(){this.__data__=new rt,this.size=0},mt.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},mt.prototype.get=function(e){return this.__data__.get(e)},mt.prototype.has=function(e){return this.__data__.has(e)},mt.prototype.set=function(e,t){var i=this.__data__;if(i instanceof rt){var o=i.__data__;if(!he||o.length<ut-1)return o.push([e,t]),this.size=++i.size,this;i=this.__data__=new ht(o)}return i.set(e,t),this.size=i.size,this};var ft="__lodash_hash_undefined__";function xt(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new ht;++t<i;)this.add(e[t])}function yt(e,t){for(var i=-1,o=null==e?0:e.length;++i<o;)if(t(e[i],i,e))return!0;return!1}xt.prototype.add=xt.prototype.push=function(e){return this.__data__.set(e,ft),this},xt.prototype.has=function(e){return this.__data__.has(e)};var bt=1,vt=2;function wt(e,t,i,o,a,r){var s=i&bt,n=e.length,l=t.length;if(n!=l&&!(s&&l>n))return!1;var c=r.get(e),p=r.get(t);if(c&&p)return c==t&&p==e;var d=-1,g=!0,h=i&vt?new xt:void 0;for(r.set(e,t),r.set(t,e);++d<n;){var u=e[d],m=t[d];if(o)var f=s?o(m,u,d,t,e,r):o(u,m,d,e,t,r);if(void 0!==f){if(f)continue;g=!1;break}if(h){if(!yt(t,(function(e,t){if(s=t,!h.has(s)&&(u===e||a(u,e,i,o,r)))return h.push(t);var s}))){g=!1;break}}else if(u!==m&&!a(u,m,i,o,r)){g=!1;break}}return r.delete(e),r.delete(t),g}var kt=D.Uint8Array;function Ct(e){var t=-1,i=Array(e.size);return e.forEach((function(e,o){i[++t]=[o,e]})),i}function St(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}var Tt=1,Bt=2,jt="[object Boolean]",_t="[object Date]",At="[object Error]",Lt="[object Map]",Nt="[object Number]",It="[object RegExp]",zt="[object Set]",Pt="[object String]",Mt="[object Symbol]",Dt="[object ArrayBuffer]",Ot="[object DataView]",Ft=O?O.prototype:void 0,Rt=Ft?Ft.valueOf:void 0;function Ut(e,t){for(var i=-1,o=t.length,a=e.length;++i<o;)e[a+i]=t[i];return e}function $t(e,t,i){var o=t(e);return De(e)?o:Ut(o,i(e))}function Gt(){return[]}var Et=Object.prototype.propertyIsEnumerable,qt=Object.getOwnPropertySymbols,Kt=qt?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var i=-1,o=null==e?0:e.length,a=0,r=[];++i<o;){var s=e[i];t(s,i,e)&&(r[a++]=s)}return r}(qt(e),(function(t){return Et.call(e,t)})))}:Gt,Wt=Kt;var Ht=9007199254740991,Vt=/^(?:0|[1-9]\d*)$/;function Qt(e,t){var i=typeof e;return!!(t=null==t?Ht:t)&&("number"==i||"symbol"!=i&&Vt.test(e))&&e>-1&&e%1==0&&e<t}var Jt=Object.prototype.hasOwnProperty;function Yt(e,t){var i=De(e),o=!i&&Me(e),a=!i&&!o&&Ee(e),r=!i&&!o&&!a&&Ye(e),s=i||o||a||r,n=s?function(e,t){for(var i=-1,o=Array(e);++i<e;)o[i]=t(i);return o}(e.length,String):[],l=n.length;for(var c in e)!t&&!Jt.call(e,c)||s&&("length"==c||a&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Qt(c,l))||n.push(c);return n}function Xt(e){return Re(e)?Yt(e):z(e)}function Zt(e){return $t(e,Xt,Wt)}var ei=1,ti=Object.prototype.hasOwnProperty;var ii=1,oi="[object Arguments]",ai="[object Array]",ri="[object Object]",si=Object.prototype.hasOwnProperty;function ni(e,t,i,o,a,r){var s=De(e),n=De(t),l=s?ai:_e(e),c=n?ai:_e(t),p=(l=l==oi?ri:l)==ri,d=(c=c==oi?ri:c)==ri,g=l==c;if(g&&Ee(e)){if(!Ee(t))return!1;s=!0,p=!1}if(g&&!p)return r||(r=new mt),s||Ye(e)?wt(e,t,i,o,a,r):function(e,t,i,o,a,r,s){switch(i){case Ot:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Dt:return!(e.byteLength!=t.byteLength||!r(new kt(e),new kt(t)));case jt:case _t:case Nt:return it(+e,+t);case At:return e.name==t.name&&e.message==t.message;case It:case Pt:return e==t+"";case Lt:var n=Ct;case zt:var l=o&Tt;if(n||(n=St),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;o|=Bt,s.set(e,t);var p=wt(n(e),n(t),o,a,r,s);return s.delete(e),p;case Mt:if(Rt)return Rt.call(e)==Rt.call(t)}return!1}(e,t,l,i,o,a,r);if(!(i&ii)){var h=p&&si.call(e,"__wrapped__"),u=d&&si.call(t,"__wrapped__");if(h||u){var m=h?e.value():e,f=u?t.value():t;return r||(r=new mt),a(m,f,i,o,r)}}return!!g&&(r||(r=new mt),function(e,t,i,o,a,r){var s=i&ei,n=Zt(e),l=n.length;if(l!=Zt(t).length&&!s)return!1;for(var c=l;c--;){var p=n[c];if(!(s?p in t:ti.call(t,p)))return!1}var d=r.get(e),g=r.get(t);if(d&&g)return d==t&&g==e;var h=!0;r.set(e,t),r.set(t,e);for(var u=s;++c<l;){var m=e[p=n[c]],f=t[p];if(o)var x=s?o(f,m,p,t,e,r):o(m,f,p,e,t,r);if(!(void 0===x?m===f||a(m,f,i,o,r):x)){h=!1;break}u||(u="constructor"==p)}if(h&&!u){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(h=!1)}return r.delete(e),r.delete(t),h}(e,t,i,o,a,r))}function li(e,t,i,o,a){return e===t||(null==e||null==t||!Ae(e)&&!Ae(t)?e!=e&&t!=t:ni(e,t,i,o,li,a))}const ci=(e,t={})=>{const i=t||{},o=i.id??e?.props?.id;if(null!=o&&""!==o)return`id:${o}`;return`sku:${(i.goods||e?.props?.goods||[]).map((e=>e&&e.skuCode)).filter(Boolean).join(",")}`},pi=e=>{const{mGoodsInfo:t}=mi[e]||{};return t},di=(e,t,i)=>{mi[e]={mGoodsInfo:i,mGoods:t}},gi=(e,t={})=>{const i=t.goods||e?.props?.goods||[],o=ci(e,t),{mGoods:a}=mi[o]||{};return li(i,a)},hi=e=>b?process.env.REACT_APP_BASE_URL:e.$imgDomain;const ui=b?async(e,t)=>{const i=t.goods||e.props.goods||[];if(tt(i))return Promise.resolve({list:[]});const o=ci(e,t);if(gi(e,t))return Promise.resolve(pi(o));const a=localStorage.getItem("saas-token"),r=i.map((e=>e.skuCode)).filter(Boolean),s=r.join(",");let n=hi(e)+k+"?rows=200&page=1&checkFlag=true&skuCodeStr="+s;return 1===t.sortType&&(n+="&sortOrder=true"),await fetch(n,{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((e=>e.json())).then(((e={})=>{const t=e.list||[],a=new Map(t.map((e=>[e.skuCode,e]))),s=r.map((e=>a.get(e))).filter(Boolean),n={...e,list:s};return di(o,i,n),n}))}:async(e,t)=>{const{goods:i=[]}=t,o=i.map((e=>e&&e.skuCode)).filter(Boolean);if(!o.length)return{list:[]};let a=`web/es/searchengine/find.json?rows=200&page=1&skuCode=${o.join(",")}&orderFlagOr=true`;const{list:r=[]}=await e.http.get(a),s=new Set(o),n=r.filter((e=>s.has(e.skuCode))),l=new Map(n.map((e=>[e.skuCode,e]))),c=o.filter((e=>!l.has(e)));for(const t of c){const i=`web/es/searchengine/find.json?rows=1&page=1&skuCode=${t}&orderFlagOr=true`,o=await e.http.get(i),a=(o&&o.list||[]).find((e=>e.skuCode===t));a&&l.set(t,a)}let p=o.map((e=>l.get(e))).filter(Boolean);return 1===t.sortType&&(p=[...p].sort(((e,t)=>Number(t.goodsSalesvolume||0)-Number(e.goodsSalesvolume||0)))),{list:p}},mi={};var fi="[object Symbol]";function xi(e){return"symbol"==typeof e||Ae(e)&&W(e)==fi}var yi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bi=/^\w*$/;var vi="Expected a function";function wi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(vi);var i=function(){var o=arguments,a=t?t.apply(this,o):o[0],r=i.cache;if(r.has(a))return r.get(a);var s=e.apply(this,o);return i.cache=r.set(a,s)||r,s};return i.cache=new(wi.Cache||ht),i}wi.Cache=ht;var ki=500;var Ci,Si,Ti,Bi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ji=/\\(\\)?/g,_i=(Ci=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Bi,(function(e,i,o,a){t.push(o?a.replace(ji,"$1"):i||e)})),t},Si=wi(Ci,(function(e){return Ti.size===ki&&Ti.clear(),e})),Ti=Si.cache,Si),Ai=_i;function Li(e,t){for(var i=-1,o=null==e?0:e.length,a=Array(o);++i<o;)a[i]=t(e[i],i,e);return a}var Ni=1/0,Ii=O?O.prototype:void 0,zi=Ii?Ii.toString:void 0;function Pi(e){if("string"==typeof e)return e;if(De(e))return Li(e,Pi)+"";if(xi(e))return zi?zi.call(e):"";var t=e+"";return"0"==t&&1/e==-Ni?"-0":t}function Mi(e,t){return De(e)?e:function(e,t){if(De(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!xi(e))||bi.test(e)||!yi.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Ai(function(e){return null==e?"":Pi(e)}(e))}var Di=1/0;function Oi(e){if("string"==typeof e||xi(e))return e;var t=e+"";return"0"==t&&1/e==-Di?"-0":t}function Fi(e,t){for(var i=0,o=(t=Mi(t,e)).length;null!=e&&i<o;)e=e[Oi(t[i++])];return i&&i==o?e:void 0}var Ri=function(){try{var e=de(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ui=Ri;function $i(e,t,i){"__proto__"==t&&Ui?Ui(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}var Gi=Object.prototype.hasOwnProperty;function Ei(e,t,i){var o=e[t];Gi.call(e,t)&&it(o,i)&&(void 0!==i||t in e)||$i(e,t,i)}function qi(e,t,i,o){if(!H(e))return e;for(var a=-1,r=(t=Mi(t,e)).length,s=r-1,n=e;null!=n&&++a<r;){var l=Oi(t[a]),c=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=s){var p=n[l];void 0===(c=o?o(p,l,n):void 0)&&(c=H(p)?p:Qt(t[a+1])?[]:{})}Ei(n,l,c),n=n[l]}return e}function Ki(e,t){return null!=e&&t in Object(e)}function Wi(e,t){return null!=e&&function(e,t,i){for(var o=-1,a=(t=Mi(t,e)).length,r=!1;++o<a;){var s=Oi(t[o]);if(!(r=null!=e&&i(e,s)))break;e=e[s]}return r||++o!=a?r:!!(a=null==e?0:e.length)&&Fe(a)&&Qt(s,a)&&(De(e)||Me(e))}(e,t,Ki)}function Hi(e,t){return function(e,t,i){for(var o=-1,a=t.length,r={};++o<a;){var s=t[o],n=Fi(e,s);i(n,s)&&qi(r,Mi(s,e),n)}return r}(e,t,(function(t,i){return Wi(e,i)}))}var Vi=O?O.isConcatSpreadable:void 0;function Qi(e){return De(e)||Me(e)||!!(Vi&&e&&e[Vi])}function Ji(e,t,i,o,a){var r=-1,s=e.length;for(i||(i=Qi),a||(a=[]);++r<s;){var n=e[r];t>0&&i(n)?t>1?Ji(n,t-1,i,o,a):Ut(a,n):o||(a[a.length]=n)}return a}function Yi(e){return(null==e?0:e.length)?Ji(e,1):[]}var Xi=Math.max;var Zi=Ui?function(e,t){return Ui(e,"toString",{configurable:!0,enumerable:!1,value:(i=t,function(){return i}),writable:!0});var i}:function(e){return e},eo=Zi,to=800,io=16,oo=Date.now;var ao=function(e){var t=0,i=0;return function(){var o=oo(),a=io-(o-i);if(i=o,a>0){if(++t>=to)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(eo),ro=ao;function so(e){return ro(function(e,t,i){return t=Xi(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,r=Xi(o.length-t,0),s=Array(r);++a<r;)s[a]=o[t+a];a=-1;for(var n=Array(t+1);++a<t;)n[a]=o[a];return n[t]=i(s),function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}(e,this,n)}}(e,void 0,Yi),e+"")}var no=so((function(e,t){return null==e?{}:Hi(e,t)}));function lo(e,t,i,o){var a=!i;i||(i={});for(var r=-1,s=t.length;++r<s;){var n=t[r],l=o?o(i[n],e[n],n,i,e):void 0;void 0===l&&(l=e[n]),a?$i(i,n,l):Ei(i,n,l)}return i}var co=Object.prototype.hasOwnProperty;function po(e){if(!H(e))return function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}(e);var t=A(e),i=[];for(var o in e)("constructor"!=o||!t&&co.call(e,o))&&i.push(o);return i}function go(e){return Re(e)?Yt(e,!0):po(e)}var ho="object"==typeof exports&&exports&&!exports.nodeType&&exports,uo=ho&&"object"==typeof module&&module&&!module.nodeType&&module,mo=uo&&uo.exports===ho?D.Buffer:void 0,fo=mo?mo.allocUnsafe:void 0;var xo=L(Object.getPrototypeOf,Object),yo=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Ut(t,Wt(e)),e=xo(e);return t}:Gt,bo=yo;function vo(e){return $t(e,go,bo)}var wo=Object.prototype.hasOwnProperty;function ko(e){var t=new e.constructor(e.byteLength);return new kt(t).set(new kt(e)),t}var Co=/\w*$/;var So=O?O.prototype:void 0,To=So?So.valueOf:void 0;var Bo="[object Boolean]",jo="[object Date]",_o="[object Map]",Ao="[object Number]",Lo="[object RegExp]",No="[object Set]",Io="[object String]",zo="[object Symbol]",Po="[object ArrayBuffer]",Mo="[object DataView]",Do="[object Float32Array]",Oo="[object Float64Array]",Fo="[object Int8Array]",Ro="[object Int16Array]",Uo="[object Int32Array]",$o="[object Uint8Array]",Go="[object Uint8ClampedArray]",Eo="[object Uint16Array]",qo="[object Uint32Array]";function Ko(e,t,i){var o,a=e.constructor;switch(t){case Po:return ko(e);case Bo:case jo:return new a(+e);case Mo:return function(e,t){var i=t?ko(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);case Do:case Oo:case Fo:case Ro:case Uo:case $o:case Go:case Eo:case qo:return function(e,t){var i=t?ko(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}(e,i);case _o:return new a;case Ao:case Io:return new a(e);case Lo:return function(e){var t=new e.constructor(e.source,Co.exec(e));return t.lastIndex=e.lastIndex,t}(e);case No:return new a;case zo:return o=e,To?Object(To.call(o)):{}}}var Wo=Object.create,Ho=function(){function e(){}return function(t){if(!H(t))return{};if(Wo)return Wo(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}(),Vo=Ho;var Qo="[object Map]";var Jo=Qe&&Qe.isMap,Yo=Jo?Ke(Jo):function(e){return Ae(e)&&_e(e)==Qo},Xo="[object Set]";var Zo=Qe&&Qe.isSet,ea=Zo?Ke(Zo):function(e){return Ae(e)&&_e(e)==Xo},ta=1,ia=2,oa=4,aa="[object Arguments]",ra="[object Function]",sa="[object GeneratorFunction]",na="[object Object]",la={};function ca(e,t,i,o,a,r){var s,n=t&ta,l=t&ia,c=t&oa;if(i&&(s=a?i(e,o,a,r):i(e)),void 0!==s)return s;if(!H(e))return e;var p=De(e);if(p){if(s=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&wo.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(e),!n)return function(e,t){var i=-1,o=e.length;for(t||(t=Array(o));++i<o;)t[i]=e[i];return t}(e,s)}else{var d=_e(e),g=d==ra||d==sa;if(Ee(e))return function(e,t){if(t)return e.slice();var i=e.length,o=fo?fo(i):new e.constructor(i);return e.copy(o),o}(e,n);if(d==na||d==aa||g&&!a){if(s=l||g?{}:function(e){return"function"!=typeof e.constructor||A(e)?{}:Vo(xo(e))}(e),!n)return l?function(e,t){return lo(e,bo(e),t)}(e,function(e,t){return e&&lo(t,go(t),e)}(s,e)):function(e,t){return lo(e,Wt(e),t)}(e,function(e,t){return e&&lo(t,Xt(t),e)}(s,e))}else{if(!la[d])return a?e:{};s=Ko(e,d,n)}}r||(r=new mt);var h=r.get(e);if(h)return h;r.set(e,s),ea(e)?e.forEach((function(o){s.add(ca(o,t,i,o,e,r))})):Yo(e)&&e.forEach((function(o,a){s.set(a,ca(o,t,i,a,e,r))}));var u=p?void 0:(c?l?vo:Zt:l?go:Xt)(e);return function(e,t){for(var i=-1,o=null==e?0:e.length;++i<o&&!1!==t(e[i],i,e););}(u||e,(function(o,a){u&&(o=e[a=o]),Ei(s,a,ca(o,t,i,a,e,r))})),s}function pa(e,t){return t.length<2?e:Fi(e,function(e,t,i){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(i=i>a?a:i)<0&&(i+=a),a=t>i?0:i-t>>>0,t>>>=0;for(var r=Array(a);++o<a;)r[o]=e[o+t];return r}(t,0,-1))}function da(e,t){return null==(e=pa(e,t=Mi(t,e)))||delete e[Oi((i=t,o=null==i?0:i.length,o?i[o-1]:void 0))];var i,o}la[aa]=la["[object Array]"]=la["[object ArrayBuffer]"]=la["[object DataView]"]=la["[object Boolean]"]=la["[object Date]"]=la["[object Float32Array]"]=la["[object Float64Array]"]=la["[object Int8Array]"]=la["[object Int16Array]"]=la["[object Int32Array]"]=la["[object Map]"]=la["[object Number]"]=la[na]=la["[object RegExp]"]=la["[object Set]"]=la["[object String]"]=la["[object Symbol]"]=la["[object Uint8Array]"]=la["[object Uint8ClampedArray]"]=la["[object Uint16Array]"]=la["[object Uint32Array]"]=!0,la["[object Error]"]=la[ra]=la["[object WeakMap]"]=!1;var ga="[object Object]",ha=Function.prototype,ua=Object.prototype,ma=ha.toString,fa=ua.hasOwnProperty,xa=ma.call(Object);function ya(e){return function(e){if(!Ae(e)||W(e)!=ga)return!1;var t=xo(e);if(null===t)return!0;var i=fa.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&ma.call(i)==xa}(e)?void 0:e}var ba=so((function(e,t){var i={};if(null==e)return i;var o=!1;t=Li(t,(function(t){return t=Mi(t,e),o||(o=t.length>1),t})),lo(e,vo(e),i),o&&(i=ca(i,7,ya));for(var a=t.length;a--;)da(i,t[a]);return i})),va=ba,wa={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 e=["fontSize","marginTop","marginBottom"],t=no(this.props||{},e),i=va(this.props||{},e);return{...v(t),...i}}}};function ka(e){return void 0===e}wa.render=function(a,r,s,n,l,c){return e(),t("div",{style:i([[c.computedStyle],{"font-family":"PingFangSC, PingFang SC"}])},o(s.props.value),5)};var Ca={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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o},computedStyle(){const e=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],t=no(this.props,e),i=va(this.props,e);return{...v(t),...i}}}};const Sa=["src"];function Ta(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"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=e:a.appendChild(document.createTextNode(e))}}Ta(".lc-img-item[data-v-e3f463ec]{box-sizing:border-box;width:100%}"),Ca.render=function(o,n,l,c,p,d){return e(),t("div",null,[(e(!0),t(a,null,r(d.resultArr,((a,r)=>(e(),t("div",{key:o.cyy},[s("img",{mode:"widthFix",style:i([d.computedStyle,p.imgStyle]),src:a.imgUrl,alt:""},null,12,Sa)])))),128))])},Ca.__scopeId="data-v-e3f463ec";var Ba={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 e=["marginTop","marginBottom"],t=no(this.props,e),i=va(this.props,e);return{...v(t),...i,display:"flex",height:"34px",lineHeight:"34px",paddingLeft:"20px",borderRadius:"17px"}}},methods:{goSearch(){b||this.$emit("ToSearch")}}};const ja={style:{overflow:"hidden"}},_a={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 Aa(e,t,i){var o=null==e?void 0:Fi(e,t);return void 0===o?i:o}Ba.render=function(a,r,l,c,p,d){return e(),t("div",ja,[s("div",{style:i([d.computedStyle]),onClick:r[0]||(r[0]=(...e)=>d.goSearch&&d.goSearch(...e))},[l.props.iconShow?(e(),t("img",_a)):n("",!0),s("div",{style:i([{flex:"1"},{color:l.props.fontColor}])},o(l.props.value),5)],4)])};var La={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:b}),mounted(){this.init()},computed:{getPrice:()=>e=>"2"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType||"4"==e.pricesetType?e.pricesetRefrice+"里程":e.pricesetNprice},methods:{async init(){this.domainNameUrl=hi(this);const e=await ui(this,this.props);this.listArr=Aa(e,"list",[]),console.log("🐽🐽🐽🐽🐽🐽🐽🐽w",this.listArr)},goGoodsDetail(e){if(b)return;const{skuCode:t}=e;let i={skuNo:t};this.$routers.push("detail",i)},getMaskState:e=>"1"===e?"预售中":"补货中"}};const Na={key:1},Ia=["onClick"],za={class:"imgWrapper"},Pa={class:"maskState"},Ma=["src"],Da={key:0,class:"specialGoodsName"},Oa={key:1,class:"goodsName"},Fa={class:"footerContent"},Ra={key:0,class:"goodsPrice"},Ua={key:1,class:"goodsPrice"},$a={key:2,class:"goodsPrice"},Ga={key:3,class:"goodsPrice"},Ea={key:4,class:"goodsBuy"};Ta(".cube-container[data-v-b9cf6cb0]{display:grid;font-family:PingFangSC,PingFang SC}.cube-container.arrange-1[data-v-b9cf6cb0]{grid-template-columns:repeat(1,1fr)}.cube-container.arrange-1 .cube-item .goodsImg[data-v-b9cf6cb0]{aspect-ratio:1;height:100%;margin-left:auto;margin-right:auto;width:100%}.cube-container.arrange-1 .cube-item .goodsDescription[data-v-b9cf6cb0]{background:#fff;padding:8px}.cube-container.arrange-1 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:20px;margin-bottom:12px;margin-top:4px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-b9cf6cb0]{font-size:18px}.cube-container.arrange-1 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:14px;margin-left:8px}.cube-container.arrange-2[data-v-b9cf6cb0]{grid-template-columns:repeat(2,1fr)}.cube-container.arrange-2 .cube-item .goodsImg[data-v-b9cf6cb0]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-2 .cube-item .goodsDescription[data-v-b9cf6cb0]{background:#fff;padding:8px;position:relative}.cube-container.arrange-2 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:14px;margin-bottom:4px;margin-top:8px;width:41vw}.cube-container.arrange-2 .cube-item .goodsDescription .specialGoodsName[data-v-b9cf6cb0]{-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-b9cf6cb0]{font-size:14px}.cube-container.arrange-2 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:12px}.cube-container.arrange-3[data-v-b9cf6cb0]{display:flex;overflow-x:scroll}.cube-container.arrange-3 .cube-item[data-v-b9cf6cb0]{flex:0 0 auto;max-width:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsImg[data-v-b9cf6cb0]{aspect-ratio:1;height:100%;width:100%}.cube-container.arrange-3 .cube-item .goodsDescription[data-v-b9cf6cb0]{background:#fff;margin-bottom:13px;padding:8px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice[data-v-b9cf6cb0]{font-size:18px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:14px;margin-left:8px}.cube-container.arrange-3 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:20px;margin-bottom:12px;margin-top:12px}.cube-container.arrange-3 .cube-item[data-v-b9cf6cb0]:not(:last-child){margin-right:10px}.cube-container.arrange-4 .cube-item[data-v-b9cf6cb0]{background:#fff;display:flex;justify-content:space-around;padding:8px}.cube-container.arrange-4 .cube-item .imgWrapper .goodsImg[data-v-b9cf6cb0]{height:100px;width:100px}.cube-container.arrange-4 .cube-item .goodsDescription[data-v-b9cf6cb0]{margin-left:20px;position:relative;width:100%}.cube-container.arrange-4 .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{font-size:16px;height:auto}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice[data-v-b9cf6cb0]{font-size:16px}.cube-container.arrange-4 .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{font-size:12px}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper[data-v-b9cf6cb0]{position:relative}.cube-container.arrange-4 .cube-item .goodsDescription .goodsBuyWrapper .goodsBuy[data-v-b9cf6cb0]{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-b9cf6cb0]{position:relative;text-align:center}.cube-container .cube-item .imgMarked[data-v-b9cf6cb0]{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-b9cf6cb0]{color:#fff;font-size:23px}.cube-container .cube-item .goodsDescription[data-v-b9cf6cb0]{display:flex;flex-direction:column;justify-content:space-between}.cube-container .cube-item .goodsDescription .goodsName[data-v-b9cf6cb0]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.cube-container .cube-item .goodsDescription .footerContent[data-v-b9cf6cb0]{align-items:flex-end;display:flex;justify-content:space-between}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice[data-v-b9cf6cb0]{color:#ed4444;font-weight:600}.cube-container .cube-item .goodsDescription .footerContent .goodsPrice .scribing[data-v-b9cf6cb0]{color:#ccc;display:inline-block;font-weight:400;text-decoration:line-through}.cube-container .cube-item .goodsDescription .goodsBuy[data-v-b9cf6cb0]{align-self:flex-end;background-color:#ed4444;border-radius:17px;color:#fff;font-size:14px;line-height:22px;padding:1px 20px;text-align:center}"),La.render=function(c,p,d,g,h,u){return e(),t("div",null,[h.listArr.length?(e(),t("div",Na,[s("div",{class:l(["cube-container",`arrange-${d.props.arrange}`,{isLc:h.isLc}]),style:i({marginTop:`${d.props.marginTop}px`,marginBottom:`${d.props.marginBottom}px`,gap:`${d.props.margin}px`})},[(e(!0),t(a,null,r(h.listArr,((a,r)=>(e(),t("div",{class:"cube-item",key:a.skuCode,onClick:e=>u.goGoodsDetail(a)},[s("div",za,[!1===h.isLc&&(a.goodsSupplynum<=0||"1"===a.goodsProperty5)?(e(),t("div",{key:0,class:"imgMarked",style:i({borderRadius:`${d.props.borderRadius}px`})},[s("div",Pa,o(u.getMaskState(a.goodsProperty5)),1)],4)):n("",!0),s("img",{class:"goodsImg",src:a.dataPic?-1===a.dataPic.indexOf("http")?h.domainNameUrl+a.dataPic:a.dataPic:"",alt:"",style:i({borderRadius:`${d.props.borderRadius}px ${d.props.borderRadius}px 0px 0px`})},null,12,Ma)]),s("div",{class:"goodsDescription",style:i({borderRadius:`0px 0px ${d.props.borderRadius}px ${d.props.borderRadius}px`})},[!0===h.isLc&&2===d.props.arrange?(e(),t("div",Da,o(a.goodsName),1)):(e(),t("div",Oa,o(a.goodsName),1)),s("section",Fa,[c.$storage.get("sessionid")?1==c.$storage.get("shopModelTagValue").shopdeType&&"buy"==c.$storage.get("userinfoQuality")?(e(),t("div",Ua,o(a.pricesetRefrice)+" 积分 ",1)):0==c.$storage.get("shopModelTagValue").shopdeType&&"buy"==c.$storage.get("userinfoQuality")?(e(),t("div",$a,o(a.pricesetRefrice)+" 能量豆 ",1)):(e(),t("div",Ga," ¥"+o(a.pricesetNprice),1)):(e(),t("div",Ra," 登录后查看价格 ")),1===d.props.purchaseIcon?(e(),t("div",Ea,"立即购买")):n("",!0)])],4)],8,Ia)))),128))],6)])):(e(),t("div",{key:0,style:i(h.noDataStyle)},"请选择商品",4))])},La.__scopeId="data-v-b9cf6cb0";var qa={name:"cyy-slider",data:()=>({lowCode:b}),props:{props:{autoplay:Boolean,autoplayInterval:Number,direction:String,loop:Boolean,selectImg:Array,defaultValue:Array,imgHeight:Object,marginTop:Number,marginBottom:Number}},computed:{resultArr(){const{selectImg:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),o},imgH(){const{imgHeight:e}=this.props;return e.height/e.width*750},sliderStyle(){const e=no(this.props,["marginTop","marginBottom"]);return{...v(e)}},reDirection(){const{direction:e}=this.props;return"horizontal"!==e}}};const Ka={key:0},Wa=["src"],Ha={key:1},Va=["src"];Ta(".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}"),qa.render=function(o,n,l,h,u,m){const f=c("swiper-item"),x=c("swiper");return e(),t("div",null,[u.lowCode?(e(),t("div",Ka,[s("div",{class:"lowCode-warp",style:i([m.sliderStyle])},[s("img",{src:m.resultArr[0].imgUrl,alt:"",style:{width:"100%"}},null,8,Wa),s("ul",null,[(e(!0),t(a,null,r(m.resultArr,((i,a)=>(e(),t("li",{key:o.cyy})))),128))])],4)])):(e(),t("div",Ha,[p(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:d((()=>[(e(!0),t(a,null,r(m.resultArr,((t,a)=>(e(),g(f,{key:o.cyy,style:i([m.sliderStyle,{boxSizing:"border-box"}])},{default:d((()=>[s("img",{src:t.imgUrl,alt:"",mode:"widthFix",style:{width:"100%"}},null,8,Va)])),_: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:e=[]}=this.props;console.log(197);const t=e.toString();console.log(198);const i={goodsCode:t};console.log(199,i);const o=await ui(this,i);this.listArr=Aa(o,"list",[]),console.log(201),console.log("🐽🐽🐽🐽🐽🐽🐽🐽",this.listArr)},goGoodsDetail(e){if(b)return;const{skuCode:t,skuNo:i}=e;let o={skuCode:t,skuNo:i};this.$routers.push("detail",o)},jumpToSearch(){}},maskTitle:e=>"1"===e?"预售中":"补货中"};const Ja=e=>(u("data-v-12939422"),e=e(),m(),e),Ya={key:1},Xa={class:"three-layout"},Za={key:0,class:"top-left"},er={key:1,class:"top-right"},tr=[Ja((()=>s("div",null,"更多",-1))),Ja((()=>s("image",{"lazy-load":!0,src:"../../static/arrow.png"},null,-1)))],ir={class:"three-layout-content"},or={class:"three-layout-bigImg"},ar=["src"],rr={class:"three-layout-goods"},sr=["src"],nr={key:0,class:"mask-three-more"},lr={class:"price-box"},cr={key:0,class:"now-price"},pr={key:1},dr={class:"now-price"},gr={key:0,class:"origin-price"};Ta(".three-layout[data-v-12939422]{border-radius:7px}.three-layout .mask-three-more[data-v-12939422]{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-12939422]{display:flex;justify-content:space-between;margin:15px 12.5px}.three-layout .three-layout-title .top-left[data-v-12939422]{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-12939422]{align-items:center;display:flex}.three-layout .three-layout-title .top-right div[data-v-12939422]{color:#595959;font-size:12px}.three-layout .three-layout-title .top-right image[data-v-12939422]{height:9px;margin-left:3px;width:6px}.three-layout .three-layout-content[data-v-12939422]{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-12939422]{border-radius:28px 28px 0 0;display:inline-block;height:189px;width:100%}.three-layout .three-layout-content .three-layout-goods[data-v-12939422]{display:flex;justify-content:center;padding:0 10px 10px}.three-layout .three-layout-content .three-layout-goods .goods-items[data-v-12939422]{width:106px}.scroll-list[data-v-12939422]{box-sizing:border-box;display:flex;justify-content:space-between;overflow:hidden;white-space:nowrap;width:100%}.scroll-list .scroll-item[data-v-12939422]{display:inline-block;margin-right:10px}.scroll-list .scroll-item image[data-v-12939422]{border-radius:5px;height:98px;width:98px}.scroll-list .scroll-item p[data-v-12939422]{-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-12939422]{margin-top:10px}"),Qa.render=function(l,g,u,m,f,x){const y=c("vop-label"),b=c("scroll-view");return e(),t("div",null,[u.props.goods?(e(),t("div",Ya,[s("div",Xa,[s("div",{class:"three-layout-title",onClick:g[0]||(g[0]=e=>x.jumpToSearch())},[u.props.title.isShow?n("",!0):(e(),t("div",Za,o(u.props.title.title||""),1)),1===u.props.more?(e(),t("div",er,tr)):n("",!0)]),s("div",ir,[s("div",or,[s("image",{"lazy-load":!0,src:u.props.bill?u.props.bill:"",mode:"aspectFill"},null,8,ar)]),s("div",rr,[p(b,{"scroll-x":"true","scroll-with-animation":"true",class:"scroll-list scroll-top"},{default:d((()=>[(e(!0),t(a,null,r(f.listArr,((i,a)=>(e(),t("div",{class:"scroll-item",key:a,onClick:g[1]||(g[1]=e=>l.toDetail())},[s("image",{"lazy-load":!0,src:"https://rcyx-mp-test.yoxuan.vip"+i.dataPic,mode:"aspectFill"},null,8,sr),i.goodsSupplynum<=0||"1"===i.goodsProperty5?(e(),t("div",nr,o(l.maskTitle(i.goodsProperty5)),1)):n("",!0),s("p",null,[p(y,{goodsType:i.contlistPrice1},null,8,["goodsType"]),h(o(i.goodsName),1)]),s("div",lr,[l.$storage.get("sessionid")?(e(),t("div",pr,[s("div",dr,"¥"+o(i.pricesetMakeprice||0),1),1==i.contlistConNow?(e(),t("div",gr,"¥"+o(i.pricesetBaseprice||0),1)):n("",!0)])):(e(),t("div",cr,"登录后查看价格"))])])))),128))])),_:1})])])])])):(e(),t("div",{key:0,style:i(f.noDataStyle)},"请选择商品样式一",4))])},Qa.__scopeId="data-v-12939422";var hr={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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCornerKing:e=>16===e?"6px":32===e?"16px":"0",linkClick(e){this.$emit("linkClick",e)}}};const ur={key:0,class:"holder"},mr=["src","onClick"];Ta(".holder[data-v-51bfe23c]{background-color:#ccc;color:#aaa;font-size:30px;height:180px;line-height:180px;text-align:center;width:100%}.ArsenalPicture[data-v-51bfe23c]{display:flex;width:100%}.ArsenalPicture .ArsenalImg[data-v-51bfe23c]{height:80px;width:80px}.ArsenalPicture-colunm .ArsenalImg[data-v-51bfe23c],.ArsenalPicture-colunm[data-v-51bfe23c]{width:100%}.ArsenalPicture-colunm .verticalSpacing[data-v-51bfe23c]{margin-bottom:10px}.horizontalLayout0[data-v-51bfe23c]{justify-content:space-between}.horizontalLayout1[data-v-51bfe23c]{justify-content:space-between;padding:0 10px}.horizontalLayout2[data-v-51bfe23c]{justify-content:space-around}"),hr.render=function(o,n,c,p,d,g){return e(),t("div",null,[c.props.selectImg.length?(e(),t("div",{key:1,class:l([1===c.props.showStyle?"ArsenalPicture-colunm":"ArsenalPicture",{horizontalLayout0:0===c.props.horizontalLayout&&0===c.props.showStyle,horizontalLayout1:1===c.props.horizontalLayout&&0===c.props.showStyle,horizontalLayout2:2===c.props.horizontalLayout&&0===c.props.showStyle}]),style:i({marginTop:c.props.marginTop+"px",marginBottom:c.props.marginBottom+"px"})},[(e(!0),t(a,null,r(g.resultArr,((o,a)=>(e(),t("div",{key:a,class:l({verticalSpacing:0===c.props.verticalSpacing&&1===c.props.showStyle})},[s("img",{class:"ArsenalImg",src:o.imgUrl,alt:"",style:i({borderRadius:g.classifyPhotoCornerKing(c.props.cornerStyle)}),mode:"widthFix",onClick:e=>g.linkClick(o)},null,12,mr)],2)))),128))],6)):(e(),t("div",ur,"请选择添加图片"))])},hr.__scopeId="data-v-51bfe23c";var fr={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:e,defaultValue:t}=this.props,i=e.filter((e=>null!==e)).filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCornerKing:e=>20===e?"6px":50===e?"50%":"0",classifyPhotoCorner:e=>20===e?6:50===e?16:e,linkClick(e){this.$emit("linkClick",e)}}};const xr={key:0,class:"holder"},yr=(e=>(u("data-v-5217407e"),e=e(),m(),e))((()=>s("div",null,null,-1))),br=["onClick"],vr=["src"],wr={key:1},kr=["onClick"],Cr=["src"];Ta(".holder[data-v-5217407e]{height:75px;padding:10px 0;width:100%}.holder ul[data-v-5217407e]{display:flex;justify-content:space-between;list-style:none;padding:0 10px}.holder ul li[data-v-5217407e]{list-style:none}.holder ul li div[data-v-5217407e]{background-color:pink;border-radius:50%;height:40px;padding:10px;width:40px}.holder ul li div span[data-v-5217407e]{display:flex;font-size:12px;justify-content:center}.golds[data-v-5217407e]{border-radius:6px;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);display:flex;flex-wrap:wrap}.golds .golds-item[data-v-5217407e]{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-5217407e]{font-family:PingFangSC-Medium,PingFang SC;font-size:14px;line-height:15px;margin-top:4px;text-align:center}.golds .navigationNum4[data-v-5217407e]{width:25%}.golds .navigationNum5[data-v-5217407e]{width:20%}.photoSizeBig[data-v-5217407e]{height:58px;width:58px}.photoSizeSmall[data-v-5217407e]{height:42px;width:42px}.classify-list[data-v-5217407e]{display:flex;flex-wrap:wrap;justify-content:space-between}.classify-list .classify-item[data-v-5217407e]{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-5217407e]{font-weight:700}.classify-list .classify-item img[data-v-5217407e]{margin:7.5px 0}.classify-list .classify-item[data-v-5217407e]:first-child,.classify-list .classify-item[data-v-5217407e]:nth-child(2){margin-top:0!important}.classifyItemBig[data-v-5217407e]{width:48%}.classifyItemSmall[data-v-5217407e]{width:46%}.classifyImgBig[data-v-5217407e]{height:90px;width:100%}.classifyImgSmall[data-v-5217407e]{height:87.75px;width:100%}.classifyFontBig[data-v-5217407e]{font-size:12px;height:12px;line-height:12px}.classifyFontSmall[data-v-5217407e]{font-size:11px;height:12px}"),fr.render=function(c,p,d,g,h,u){return e(),t("div",null,[u.resultArr.length?(e(),t(a,{key:1},[0===d.props.showStyle?(e(),t("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"})},[(e(!0),t(a,null,r(u.resultArr,((a,r)=>(e(),t("div",{class:l(["golds-item",[5===d.props.navigationNum?"navigationNum5":"navigationNum4"]]),key:r,onClick:e=>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,vr),s("div",{style:i({color:d.props.fontColor})},o(a.name),5)],10,br)))),128))],4)):n("",!0),1===d.props.showStyle?(e(),t("div",wr,[s("div",{class:"classify-list",style:i({marginTop:d.props.marginTop+"px",marginBottom:d.props.marginBottom+"px"})},[(e(!0),t(a,null,r(u.resultArr,((a,r)=>(e(),t("div",{class:l(["classify-item",[1===d.props.photoSize?"classifyItemBig":"classifyItemSmall"]]),style:i({backgroundColor:d.props.backgroundColor}),key:r,onClick:e=>u.linkClick(a)},[a.name?(e(),t("div",{key:0,class:l([1===d.props.photoSize?"classifyFontBig":"classifyFontSmall"]),style:i({color:d.props.fontColor})},o(a.name),7)):n("",!0),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,Cr)],14,kr)))),128))],4)])):n("",!0)],64)):(e(),t("div",xr,[s("ul",null,[(e(!0),t(a,null,r(h.skeleton,((i,a)=>(e(),t("li",{key:a},[yr,s("span",null,o(i),1)])))),128))])]))])},fr.__scopeId="data-v-5217407e";var Sr={name:"cyy-ArsenalCarousel",data:()=>({lowCode:b}),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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o}},methods:{classifyPhotoCorner:e=>20===e?10:50===e?20:e,linkClick(e){this.$emit("linkClick",e)}}};const Tr={key:0},Br=["src"],jr={class:"swiper"},_r=["src","onClick"];Ta(".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%}"),Sr.render=function(o,n,l,h,u,m){const f=c("swiper-item"),x=c("block"),y=c("swiper");return e(),t("div",null,[u.lowCode?(e(),t("div",Tr,[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,Br),s("ul",null,[(e(!0),t(a,null,r(m.resultArr,((i,o)=>(e(),t("li",{key:o})))),128))])],4)])):(e(),t("div",{key:1,class:"swiperBox",style:i({marginTop:l.props.marginTop+"px",marginBottom:l.props.marginBottom+"px"})},[s("div",jr,[p(y,{interval:"4000",class:"swiper-content",circular:"true",vertical:m.directionResult,autoplay:m.autoplayResult,duration:l.props.autoplayInterval},{default:d((()=>[(e(!0),t(a,null,r(m.resultArr,((t,o)=>(e(),g(x,{key:o},{default:d((()=>[p(f,{class:"img-item"},{default:d((()=>[s("img",{style:i({borderRadius:m.classifyPhotoCorner(l.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>m.linkClick(t)},null,12,_r)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration"])])],4))])},Sr.__scopeId="data-v-7b0ae6ba";var Ar={name:"vop-label",data:()=>({}),props:{goodsType:{type:[String,Number],default:""}}};const Lr={key:0,class:"label"};Ta(".label[data-v-3a887c2c]{background-color:#c82a29;border-radius:4px;color:#fff;font-size:12px;margin-right:4px;padding:2px 4px}"),Ar.render=function(i,o,a,r,s,l){return"40"===a.goodsType?(e(),t("text",Lr,"京东优选")):n("",!0)},Ar.__scopeId="data-v-3a887c2c";var Nr={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:b}),computed:{getPrice:()=>e=>"2"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType||"4"==e.pricesetType?e.pricesetRefrice+"里程":e.pricesetNprice,mainTitleColor(){return{mainTitleColor:5===this.props.arrange}},mallShopType(){const e=this.$storage?.get?this.$storage.get("shopModelTagValue"):{};return Number(e?.shopdeType)},userIdentity(){return this.$storage?.get&&this.$storage.get("userinfoQuality")||""},isPointsMallBuyMode(){return 1===this.mallShopType&&"buy"===this.userIdentity},isEnergyMallBuyMode(){return 0===this.mallShopType&&"buy"===this.userIdentity},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 e=>"show"===e?!(!this.props.selectImg&&!this.props.selectImgs?.length):"url"===e?this.props.selectImgs?.length?this.props.selectImgs[0].imgUrl:this.props.selectImg?this.props.selectImg:"":"link"===e?this.props.selectImgs?.length?this.props.selectImgs[0]:[{link:"无操作"}]:void 0}},components:{vopLabel:Ar},mounted(){console.log(this.props,"💛💛"),this.init()},methods:{async init(){this.domainNameUrl=hi(this);if(0===(this.props.goods||[]).length)return this.goodsList=[],void(this.completeGoodsList=[]);const e=Aa(await ui(this,this.props),"list",[]),t=new Map((e||[]).map((e=>[e.skuCode,e])));this.completeGoodsList=(this.props.goods||[]).map((e=>t.get(e.skuCode))).filter(Boolean),this.completeGoodsList.forEach((e=>{e.rsGoodsFileDomainList=[],e.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)),console.log("搭配里的商品个数",(this.props.goods||[]).length),console.log("completeGoodsList.length",this.completeGoodsList.length);const i=(this.props.goods||[]).map((e=>e.skuCode)),o=e.map((e=>e.skuCode)),a=i.filter((e=>!o.includes(e)));console.log("配置SKU",i),console.log("返回SKU",o),console.log("缺失SKU",a)},goGoodsDetail(e){if(b)return;const{skuCode:t}=e;let i={skuNo:t};this.$routers.push("detail",i)},goMoreGoods(){b||(this.$storage.set("goodsList",this.completeGoodsList),this.$routers.push("/pages/goodsList/main"))},getMaskState:e=>"1"===e?"预售中":"补货中",linkClick(e){this.$emit("linkClick",e)}}},Ir="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAUElEQVQYV2NkYGBgNDIyCjh37tx6BiTAaGxszMrAwHCIgYHh1NmzZ/Nhcowghrm5Od+fP392IkuCJbBJwiWQJRkZGU8QlkC3B7fl+JyL1YMAA4U8YTAVJk0AAAAASUVORK5CYII=";const zr=e=>(u("data-v-066b8d0e"),e=e(),m(),e),Pr={key:0},Mr={key:1,class:"title"},Dr={class:"subtitle"},Or=zr((()=>s("img",{src:Ir},null,-1))),Fr={key:3,class:"more"},Rr={class:"title"},Ur=zr((()=>s("div",{class:"line"},null,-1))),$r={class:"mainTitle"},Gr=zr((()=>s("div",{class:"line"},null,-1))),Er={key:2,class:"mainImage"},qr=["src"],Kr=["src"],Wr=["onClick"],Hr=["src"],Vr={class:"maskState"},Qr={class:"goodsDescription"},Jr={class:"goodsName"},Yr={class:"footerContent"},Xr={key:0,class:"goodsTagList"},Zr={class:"tag"},es={key:1,class:"goodsPrice"},ts={class:"price-box"},is={class:"price2"},os=zr((()=>s("div",{class:"text1"},"积分",-1))),as={key:2,class:"goodsPrice"},rs={class:"price-box"},ss={class:"price2"},ns=zr((()=>s("div",{class:"text1"},"能量豆",-1))),ls={key:3,class:"goodsPrice"},cs={class:"price-box1"},ps={class:"price3"},ds=["onClick"];Ta("body{margin:0}");Ta(".mainTitleColor[data-v-066b8d0e]{color:#f52b43}.top[data-v-066b8d0e]{margin:0 10px;padding:12px 0}.top .mainTitle[data-v-066b8d0e]{font-size:16px;font-weight:600}.top.left[data-v-066b8d0e]{align-items:flex-end;display:flex;justify-content:space-between}.top.left .title .subtitle[data-v-066b8d0e]{color:#333;font-size:12px;font-weight:400;height:17px;line-height:17px;margin-left:8px}.top.left .more[data-v-066b8d0e]{align-items:center;color:#81848c;display:flex;font-size:12px;font-weight:400;height:18px;line-height:18px}.top.left .more img[data-v-066b8d0e]{height:8px;width:6px}.top.center[data-v-066b8d0e]{padding:18px 0}.top.center .title[data-v-066b8d0e]{align-items:center;display:flex;justify-content:center}.top.center .title .line[data-v-066b8d0e]{background:#d4d4d4;height:1px;margin:0 10px;width:72px}.top.center .title .mainTitle[data-v-066b8d0e]{text-align:center}.mainImage[data-v-066b8d0e]{max-width:100%}.mainImage .mainImageSon[data-v-066b8d0e]{-o-object-fit:cover;object-fit:cover;width:100%}.goodsList[data-v-066b8d0e]{margin:8px 10px 0}.goodsList .goodsBox[data-v-066b8d0e]{background-color:#fff}.goodsList .goodsBox .imgMarked[data-v-066b8d0e]{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-066b8d0e]{color:#fff;font-size:23px}.goodsList .goodsBox .goodsDescription[data-v-066b8d0e]{padding:8px}.goodsList .goodsBox .goodsDescription .goodsName[data-v-066b8d0e]{-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-066b8d0e]{margin-bottom:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList[data-v-066b8d0e]{display:flex;font-size:12px;margin-top:6px}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-066b8d0e]{background-color:#fee9ec;border-radius:10px;color:#f52b43;padding:.25em .5em}.goodsList .goodsBox .goodsDescription .footerContent .goodsTagList .tag[data-v-066b8d0e]:not(:last-child){margin-right:8px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-066b8d0e]{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box[data-v-066b8d0e]{color:#e02020;display:flex;flex-direction:row;font-weight:600}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box .price2[data-v-066b8d0e]{font-size:24px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box .text1[data-v-066b8d0e]{color:#3a4259;font-size:12px;margin-left:4px;padding-top:12px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box1[data-v-066b8d0e]{color:#e02020;display:flex;flex-direction:row;font-weight:600}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .price-box1 .price3[data-v-066b8d0e]{font-size:18px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .priceUnit[data-v-066b8d0e]{font-size:10px}.goodsList .goodsBox .goodsDescription .footerContent .goodsPrice .scribing[data-v-066b8d0e]{color:#ccc;display:inline-block;font-size:12px;font-weight:400;text-decoration:line-through}.goodsList .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-066b8d0e]{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-066b8d0e]{display:flex;flex-wrap:wrap;justify-content:flex-start;overflow:visible}.arrange-1 .goodsBox[data-v-066b8d0e]{background:#fff;display:flex;flex-direction:column;margin-bottom:10px;margin-right:10px;min-width:0;width:calc(33.33333% - 6.66667px)}.arrange-1 .goodsBox .goodsImageWrapper[data-v-066b8d0e]{width:100%}.arrange-1 .goodsBox .goodsImageWrapper .goodsImage[data-v-066b8d0e]{aspect-ratio:1;display:block;height:auto;margin:0;width:100%}.arrange-1 .goodsBox[data-v-066b8d0e]:nth-child(3n){margin-right:0}.arrange-1 .footerContent[data-v-066b8d0e]{margin-top:auto}.arrange-1 .footerContent .goodsBuy[data-v-066b8d0e]{margin-bottom:10px;text-align:center}.arrange-2[data-v-066b8d0e],.arrange-4[data-v-066b8d0e]{display:flex;flex-direction:column;margin:8px auto}.arrange-2 .goodsBox[data-v-066b8d0e],.arrange-4 .goodsBox[data-v-066b8d0e]{display:flex;margin-bottom:10px;padding:10px}.arrange-2 .goodsBox .goodsImageWrapper[data-v-066b8d0e],.arrange-4 .goodsBox .goodsImageWrapper[data-v-066b8d0e]{width:50%}.arrange-2 .goodsBox .goodsImageWrapper .goodsImage[data-v-066b8d0e],.arrange-4 .goodsBox .goodsImageWrapper .goodsImage[data-v-066b8d0e]{aspect-ratio:1;height:100%;width:100%}.arrange-2 .goodsBox .goodsDescription[data-v-066b8d0e],.arrange-4 .goodsBox .goodsDescription[data-v-066b8d0e]{margin-left:10px;position:relative;width:100%}.arrange-2 .goodsBox .goodsDescription .goodsName[data-v-066b8d0e],.arrange-4 .goodsBox .goodsDescription .goodsName[data-v-066b8d0e]{font-size:14px;height:auto}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-066b8d0e],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsPrice[data-v-066b8d0e]{bottom:0;display:inline;font-size:16px;left:0;position:absolute}.arrange-2 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-066b8d0e],.arrange-4 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-066b8d0e]{bottom:0;display:inline;margin-bottom:0;position:absolute;right:0}.arrange-3[data-v-066b8d0e]{display:flex;flex-wrap:wrap;justify-content:space-between}.arrange-3 .goodsBox[data-v-066b8d0e]{background:#fff;margin-top:10px;width:48%}.arrange-3 .goodsBox .goodsImage[data-v-066b8d0e]{aspect-ratio:1;height:100%;width:100%}.arrange-3 .goodsBox .goodsDescription .goodsName[data-v-066b8d0e]{height:2em;line-height:1em;margin-top:10px}.arrange-3 .goodsBox .goodsDescription .footerContent[data-v-066b8d0e]{align-items:flex-end;display:flex;justify-content:space-between;margin-top:5px}.arrange-3 .goodsBox .goodsDescription .footerContent .goodsBuy[data-v-066b8d0e]{margin:0}.arrange-3 .goodsBox[data-v-066b8d0e]:first-child{width:100%}.arrange-3 .goodsBox:first-child .goodsImage[data-v-066b8d0e]{height:120px;-o-object-fit:cover;object-fit:cover;width:100%}.arrange-3 .goodsBox:first-child .goodsName[data-v-066b8d0e]{height:auto}.arrange-5[data-v-066b8d0e]{grid-gap:10px 10px;display:grid;grid-template-columns:repeat(3,1fr)}.arrange-5 .goodsBox[data-v-066b8d0e]{background:#fff}.arrange-5 .goodsBox .goodsImage[data-v-066b8d0e]{aspect-ratio:1;height:100%;width:100%}.arrange-5 .goodsDescription .footerContent[data-v-066b8d0e]{margin-bottom:10px}.arrange-5 .goodsDescription .footerContent .goodsPrice[data-v-066b8d0e]{text-align:center}.arrange-5 .goodsDescription .footerContent .goodsBuy[data-v-066b8d0e]{margin-bottom:10px;text-align:center}"),Nr.render=function(d,g,u,m,f,x){const y=c("vopLabel");return e(),t("div",null,[u.props.goods?(e(),t("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?(e(),t("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?(e(),t("div",Pr)):(e(),t("div",Mr,[s("span",{class:l(["mainTitle",x.mainTitleColor])},o(x.ruleTitle?u.props.activityTitleLable[0].title:x.hasNewActivityTitle),3),s("span",Dr,o(x.ruleTitle?u.props.activityTitleLable[0].subTitle:x.hasNewActivitySubtitle),1)])),1===u.props.more&&[1,2,3].includes(u.props.arrange)?(e(),t("div",{key:2,class:"more",onClick:g[0]||(g[0]=e=>x.goMoreGoods())},[h("更多"),Or])):(e(),t("div",Fr))],6)):4===u.props.arrange?(e(),t("div",{key:1,class:l(["top",{center:4===u.props.arrange}])},[s("div",Rr,[Ur,s("div",$r,o(x.hasNewActivityTitle),1),Gr])],2)):n("",!0),x.selectImgRule("show")?(e(),t("div",Er,[f.isLc?(e(),t("img",{key:0,class:"mainImageSon",style:i({borderTopLeftRadius:`${u.props.cornerStyle}px`,borderTopRightRadius:`${u.props.cornerStyle}px`}),src:x.selectImgRule("url"),alt:"主图",onClick:g[1]||(g[1]=e=>x.linkClick(x.selectImgRule("link")))},null,12,qr)):(e(),t("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:g[2]||(g[2]=e=>x.linkClick(x.selectImgRule("link")))},null,12,Kr))])):n("",!0),s("div",{class:l(["goodsList",[`arrange-${u.props.arrange}`,{isLc:!f.isLc}]])},[(e(!0),t(a,null,r(f.goodsList,((c,g)=>(e(),t("div",{class:"goodsBox",style:i({borderRadius:`${u.props.cornerStyle}px`}),key:c.skuCode,onClick:e=>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,Hr),!1===f.isLc&&(c.goodsSupplynum<=0||"1"===c.goodsProperty5)?(e(),t("div",{key:0,class:"imgMarked",style:i({borderRadius:u.props.borderRadius})},[s("div",Vr,o(x.getMaskState(c.goodsProperty5)),1)],4)):n("",!0)],2),s("div",Qr,[s("div",Jr,[p(y),h(o(c.goodsName),1)]),s("section",Yr,[u.props.goodsTag.length>0&&[2,4].includes(u.props.arrange)?(e(),t("div",Xr,[(e(!0),t(a,null,r(u.props.goodsTag,(i=>(e(),t("div",{key:i.id},[s("span",Zr,o(i.value),1)])))),128))])):n("",!0),x.isPointsMallBuyMode?(e(),t("div",es,[s("div",ts,[s("div",is,o(c.pricesetRefrice),1),os])])):x.isEnergyMallBuyMode?(e(),t("div",as,[s("div",rs,[s("div",ss,o(c.pricesetRefrice),1),ns])])):(e(),t("div",ls,[s("div",cs,[s("div",ps,"¥"+o(c.pricesetNprice),1)])])),1===u.props.purchaseIcon?(e(),t("div",{key:4,class:"goodsBuy",onClick:e=>d.handleBuyGoods(c.skuNo)},"立即购买",8,ds)):n("",!0)])])],12,Wr)))),128))],2)],4)):(e(),t("div",{key:0,style:i(f.noDataStyle)},"请选择商品",4))])},Nr.__scopeId="data-v-066b8d0e";const gs="%[a-f0-9]{2}",hs=new RegExp("("+gs+")|([^%]+?)","gi"),us=new RegExp("("+gs+")+","gi");function ms(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const i=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],ms(i),ms(o))}function fs(e){try{return decodeURIComponent(e)}catch{let t=e.match(hs)||[];for(let i=1;i<t.length;i++)t=(e=ms(t,i).join("")).match(hs)||[];return e}}function xs(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let i=us.exec(e);for(;i;){try{t[i[0]]=decodeURIComponent(i[0])}catch{const e=fs(i[0]);e!==i[0]&&(t[i[0]]=e)}i=us.exec(e)}t["%C2"]="�";const o=Object.keys(t);for(const i of o)e=e.replace(new RegExp(i,"g"),t[i]);return e}(e)}}function ys(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const i=e.indexOf(t);return-1===i?[]:[e.slice(0,i),e.slice(i+t.length)]}function bs(e,t){const i={};if(Array.isArray(t))for(const o of t){const t=Object.getOwnPropertyDescriptor(e,o);t?.enumerable&&Object.defineProperty(i,o,t)}else for(const o of Reflect.ownKeys(e)){const a=Object.getOwnPropertyDescriptor(e,o);if(a.enumerable){t(o,e[o],e)&&Object.defineProperty(i,o,a)}}return i}const vs=e=>null==e,ws=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)),ks=Symbol("encodeFragmentIdentifier");function Cs(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Ss(e,t){return t.encode?t.strict?ws(e):encodeURIComponent(e):e}function Ts(e,t){return t.decode?xs(e):e}function Bs(e){return Array.isArray(e)?e.sort():"object"==typeof e?Bs(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function js(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function _s(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function As(e){const t=(e=js(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function Ls(e,t){Cs((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const i=function(e){let t;switch(e.arrayFormat){case"index":return(e,i,o)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===o[e]&&(o[e]={}),o[e][t[1]]=i):o[e]=i};case"bracket":return(e,i,o)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==o[e]?o[e]=[...o[e],i]:o[e]=[i]:o[e]=i};case"colon-list-separator":return(e,i,o)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==o[e]?o[e]=[...o[e],i]:o[e]=[i]:o[e]=i};case"comma":case"separator":return(t,i,o)=>{const a="string"==typeof i&&i.includes(e.arrayFormatSeparator),r="string"==typeof i&&!a&&Ts(i,e).includes(e.arrayFormatSeparator);i=r?Ts(i,e):i;const s=a||r?i.split(e.arrayFormatSeparator).map((t=>Ts(t,e))):null===i?i:Ts(i,e);o[t]=s};case"bracket-separator":return(t,i,o)=>{const a=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!a)return void(o[t]=i?Ts(i,e):i);const r=null===i?[]:i.split(e.arrayFormatSeparator).map((t=>Ts(t,e)));void 0!==o[t]?o[t]=[...o[t],...r]:o[t]=r};default:return(e,t,i)=>{void 0!==i[e]?i[e]=[...[i[e]].flat(),t]:i[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const a of e.split("&")){if(""===a)continue;const e=t.decode?a.replace(/\+/g," "):a;let[r,s]=ys(e,"=");void 0===r&&(r=e),s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ts(s,t),i(Ts(r,t),s,o)}for(const[e,i]of Object.entries(o))if("object"==typeof i&&null!==i)for(const[e,o]of Object.entries(i))i[e]=_s(o,t);else o[e]=_s(i,t);return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce(((e,t)=>{const i=o[t];return Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?e[t]=Bs(i):e[t]=i,e}),Object.create(null))}function Ns(e,t){if(!e)return"";Cs((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const i=i=>t.skipNull&&vs(e[i])||t.skipEmptyString&&""===e[i],o=function(e){switch(e.arrayFormat){case"index":return t=>(i,o)=>{const a=i.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,[Ss(t,e),"[",a,"]"].join("")]:[...i,[Ss(t,e),"[",Ss(a,e),"]=",Ss(o,e)].join("")]};case"bracket":return t=>(i,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,[Ss(t,e),"[]"].join("")]:[...i,[Ss(t,e),"[]=",Ss(o,e)].join("")];case"colon-list-separator":return t=>(i,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,[Ss(t,e),":list="].join("")]:[...i,[Ss(t,e),":list=",Ss(o,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return i=>(o,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?o:(a=null===a?"":a,0===o.length?[[Ss(i,e),t,Ss(a,e)].join("")]:[[o,Ss(a,e)].join(e.arrayFormatSeparator)])}default:return t=>(i,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?i:null===o?[...i,Ss(t,e)]:[...i,[Ss(t,e),"=",Ss(o,e)].join("")]}}(t),a={};for(const[t,o]of Object.entries(e))i(t)||(a[t]=o);const r=Object.keys(a);return!1!==t.sort&&r.sort(t.sort),r.map((i=>{const a=e[i];return void 0===a?"":null===a?Ss(i,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?Ss(i,t)+"[]":a.reduce(o(i),[]).join("&"):Ss(i,t)+"="+Ss(a,t)})).filter((e=>e.length>0)).join("&")}function Is(e,t){t={decode:!0,...t};let[i,o]=ys(e,"#");return void 0===i&&(i=e),{url:i?.split("?")?.[0]??"",query:Ls(As(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:Ts(o,t)}:{}}}function zs(e,t){t={encode:!0,strict:!0,[ks]:!0,...t};const i=js(e.url).split("?")[0]||"";let o=Ns({...Ls(As(e.url),{sort:!1}),...e.query},t);o&&(o=`?${o}`);let a=function(e){let t="";const i=e.indexOf("#");return-1!==i&&(t=e.slice(i)),t}(e.url);if(e.fragmentIdentifier){const o=new URL(i);o.hash=e.fragmentIdentifier,a=t[ks]?o.hash:`#${e.fragmentIdentifier}`}return`${i}${o}${a}`}function Ps(e,t,i){i={parseFragmentIdentifier:!0,[ks]:!1,...i};const{url:o,query:a,fragmentIdentifier:r}=Is(e,i);return zs({url:o,query:bs(a,t),fragmentIdentifier:r},i)}var Ms=Object.freeze({__proto__:null,extract:As,parse:Ls,stringify:Ns,parseUrl:Is,stringifyUrl:zs,pick:Ps,exclude:function(e,t,i){return Ps(e,Array.isArray(t)?e=>!t.includes(e):(e,i)=>!t(e,i),i)}}),Ds={name:"cyy-ArsenalTop",data:()=>({lowCode:b,color:"#FD1738",userData:{userlevel:"",userinfoCompname:"",userTag:"",userinfoPhone:"",workingYears:"",totalTaskNum:"",companyAddress:""},identityhtml:"buy",userDataImg:{},isShopGoinRFFlag:!1}),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},isShopGoinRF:{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(b){this.userData={userlevel:"3星",userinfoCompname:"张伟",userTag:"精工",userinfoPhone:18987250932,workingYears:"12年",totalTaskNum:"85",companyAddress:"邯郸县丛台路"};const e=location.hash.replace(/[\\/#?]/g,""),t=Ms.parse(e);this.identityhtml=t.tginfoScope??"","merchant"===this.identityhtml&&(this.userData.userTag="经销商"),"supplier"===this.identityhtml&&(this.userData.userTag="代理商"),console.log("打印this.identityhtml",this.identityhtml)}else this.isShopGoinRFFlag=this.isShopGoinRF,this.identityhtml=this.identity;"tourist"!==this.identityhtml&&this.getIsLc()},computed:{resultArrImg:()=>e=>e[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:e,defaultValue:t}=this.props,i=e.filter((e=>!ka(e))).filter((e=>!Object.values(e).every((e=>ka(e)))));let o=t;return tt(i)||(o=i),console.log(52,o),o},shopSiteName(){return console.log(this.props,"props"),b?new URLSearchParams(location.hash.split("?")[1]||"").get("tginfoName")||"":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(){return this.props.backImg||this.props.topImg||""},swiperList(){return this.props.selectImg||[]},showSwiper(){return this.swiperList.length>0},autoPlay(){return 0===this.props.autoPlay||!1===this.props.autoPlay},autoplayInterval(){return this.props.autoplayInterval||1500},direction(){return this.props.direction||0},showBtn(){return!this.$storage||(this.$storage.get("userinfoQuality")&&"supplier"!=this.$storage.get("userinfoQuality")||"supplier"==this.$storage.get("userinfoQuality")&&1==JSON.parse(this.$storage.get("userInfo")).userType)}},methods:{rpx2unit:e=>b?Math.round(e/2)+"px":e+"rpx",getIsLc(){let e=this;if(!b)return this.getUser(e)},async getUser(e){const t=await e.http.get("/web/um/userservice/getUser.json");this.userData=t.dataObj;const i=await e.http.get("/web/um/card/getUmCardForUser.json");this.userDataImg=i},classifyPhotoCorner:e=>20===e?10:50===e?20:e,setimg(e){const t=e.detail.current;this.color=this.props.selectImg[t]?.color||"#FD1738",this.$emit("setimg",this.color)},ToSearch(){this.$emit("ToSearch")},switchRole(){this.$emit("switchRole")},ToSearch1(){this.$emit("ToSearch1")},linkClick(e){this.$emit("linkClick",e)},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(e){this.$emit("swiperChange",e.detail)},onSwiperClick(e){e.link&&this.$emit("linkClick",{link:e.link})}}};const Os=e=>(u("data-v-244315c6"),e=e(),m(),e),Fs={class:"shop-top__bg"},Rs=["src"],Us={class:"shop-top__content"},$s={key:0,class:"shop-top__swiper-wrap"},Gs=["src"],Es={class:"shop-top__bg"},qs=["src"],Ks={class:"shop-top__content"},Ws={key:0,class:"shop-top__address"},Hs={class:"shop-top__address-left"},Vs=Os((()=>s("image",{class:"shop-top__location-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame%402x.png",mode:"aspectFit"},null,-1))),Qs={class:"shop-top__site-name"},Js=[Os((()=>s("image",{class:"shop-top__switch-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame246%402x.png",mode:"aspectFit"},null,-1))),Os((()=>s("text",{class:"shop-top__switch-text"},"切换",-1)))],Ys={key:1,class:"shop-top__address"},Xs={class:"shop-top__address-left"},Zs=Os((()=>s("image",{class:"shop-top__location-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame%402x.png",mode:"aspectFit"},null,-1))),en={key:0,class:"shop-top__site-name"},tn={key:1,class:"shop-top__site-name"},on=[Os((()=>s("image",{class:"shop-top__switch-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame246%402x.png",mode:"aspectFit"},null,-1))),Os((()=>s("text",{class:"shop-top__switch-text"},"切换",-1)))],an={key:2,class:"shop-top__points-row"},rn=Os((()=>s("image",{class:"shop-top__points-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame63%402x.png",mode:"aspectFit"},null,-1))),sn={key:0,class:"shop-top__points-text"},nn={key:3,class:"shop-top__points-row"},ln=Os((()=>s("image",{class:"shop-top__points-icon",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/Frame63%402x.png",mode:"aspectFit"},null,-1))),cn={class:"shop-top__points-text"},pn={class:"shop-top__search-row"},dn={class:"shop-top__placeholder"},gn=Os((()=>s("image",{class:"shop-top__search-icon-img",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/sousuo.png",mode:"aspectFit"},null,-1))),hn={class:"shop-top__class-text"},un={key:4,class:"shop-top__swiper-wrap"},mn=["src"],fn={key:2,class:"Box"},xn={key:0,class:"boxBgL"},yn={key:1,class:"boxBg"},bn={class:"header-title name"},vn=Os((()=>s("span",null,"日丰工匠家",-1))),wn={key:0,class:"btn nameIcon",style:{right:"20px"}},kn=Os((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/message.png",style:{width:"18px",height:"18px"}},null,-1))),Cn=[Os((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/checkin.png",style:{width:"18px",height:"18px"}},null,-1))),Os((()=>s("span",{class:"massage"},"签到",-1)))],Sn={class:"worterMan"},Tn={key:0,class:"user-details"},Bn=Os((()=>s("div",{class:"avatar-container"},[s("img",{class:"avatar",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/maskgroup2x.png",mode:"aspectFill"})],-1))),jn={class:"worterManOther"},_n=Os((()=>s("div",{class:"user-name-row"},[s("span",{class:"user-name"},"你好!")],-1))),An={class:"user-contactLogin"},Ln=Os((()=>s("span",{class:"loginJingcai"}," 登录后享更多精彩",-1))),Nn=[Os((()=>s("span",{class:"loginSpan"},"立即登录",-1)))],In={key:3,class:"worterMan"},zn={key:0,class:"avatar-container"},Pn=["src"],Mn={key:1,class:"avatar",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/maskgroup2x.png",mode:"aspectFill"},Dn={class:"worterManOther"},On={class:"user-name-row"},Fn={class:"user-name"},Rn={class:"expert-tag"},Un={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"}},$n={key:1,src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/shenfen2.png",style:{width:"22px",height:"22px"}},Gn={class:"tag-text"},En={class:"user-contact"},qn=Os((()=>s("img",{style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icphone%402x.png"},null,-1))),Kn={class:"phone-number"},Wn={key:0,class:"work-info"},Hn={key:1,class:"work-all"},Vn={key:2,style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/address2.png"},Qn={key:3,class:"work-all"},Jn=Os((()=>s("div",{style:{height:"8px"}},null,-1))),Yn={key:4,class:"employee"},Xn={class:"employeeOne"},Zn={class:"employeeOneLeft"},el={class:"employeeOneRight"},tl=Os((()=>s("img",{class:"employeeOneRightImg",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/shenfen2.png"},null,-1))),il={class:"employeeOneRightE"},ol={key:0,class:"worterManOther"},al={class:"user-contact"},rl=Os((()=>s("img",{style:{height:"14px",width:"14px"},src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/icphone%402x.png"},null,-1))),sl={class:"phone-number"},nl=Os((()=>s("canvas",{id:"canvasID","canvas-id":"mycanvas",style:{position:"fixed",left:"-500px"}},null,-1))),ll=["src"],cl={key:4},pl={class:"swiper"},dl=["src","onClick"];Ta(".holder[data-v-244315c6]{background-color:#ffff49;height:60px;padding:10px 0;width:100%}.swiperBox[data-v-244315c6]{border-radius:6px;height:auto;width:100%}@media (max-width:320px){.swiperBox[data-v-244315c6]{height:116.37507px}}@media (min-width:321px) and (max-width:360px){.swiperBox[data-v-244315c6]{height:132.10144px}}@media (min-width:361px) and (max-width:375px){.swiperBox[data-v-244315c6]{height:137.99882px}}@media (min-width:376px) and (max-width:390px){.swiperBox[data-v-244315c6]{height:143.89621px}}@media (min-width:391px) and (max-width:412px){.swiperBox[data-v-244315c6]{height:152.5457px}}@media (min-width:413px) and (max-width:414px){.swiperBox[data-v-244315c6]{height:153.33202px}}@media (min-width:415px) and (max-width:428px){.swiperBox[data-v-244315c6]{height:158.83625px}}@media (min-width:429px) and (max-width:430px){.swiperBox[data-v-244315c6]{height:159.62257px}}@media (min-width:431px) and (max-width:440px){.swiperBox[data-v-244315c6]{height:163.55416px}}@media (min-width:441px) and (max-width:450px){.swiperBox[data-v-244315c6]{height:167.48575px}}@media (min-width:451px) and (max-width:460px){.swiperBox[data-v-244315c6]{height:171.41734px}}@media (min-width:461px) and (max-width:475px){.swiperBox[data-v-244315c6]{height:177.31472px}}@media (min-width:476px) and (max-width:490px){.swiperBox[data-v-244315c6]{height:183.21211px}}@media (min-width:491px) and (max-width:505px){.swiperBox[data-v-244315c6]{height:189.10949px}}@media (min-width:506px) and (max-width:550px){.swiperBox[data-v-244315c6]{height:206.80165px}}@media (min-width:551px) and (max-width:700px){.swiperBox[data-v-244315c6]{height:265.77551px}}@media (min-width:701px) and (max-width:768px){.swiperBox[data-v-244315c6]{height:292.51032px}}@media (min-width:769px) and (max-width:800px){.swiperBox[data-v-244315c6]{height:305.09141px}}@media (min-width:801px) and (max-width:1024px){.swiperBox[data-v-244315c6]{height:393.15903px}}.swiperBox .swiper .swiper-content[data-v-244315c6],.swiperBox .swiper[data-v-244315c6]{height:100%;width:100%}.swiperBox .swiper .swiper-content .img-item[data-v-244315c6]{box-sizing:border-box;padding:0 12.5px}.swiperBox .swiper img[data-v-244315c6]{border-radius:6px;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.Box[data-v-244315c6]{position:relative;width:100%}.boxBg[data-v-244315c6]{left:0;position:absolute;top:0;width:100%;z-index:-1}.boxBg .one[data-v-244315c6]{background-position:top;background-repeat:no-repeat;background-size:contain;width:100%}@media (max-width:320px){.boxBg .one[data-v-244315c6]{height:216.8224px}}@media (min-width:321px) and (max-width:360px){.boxBg .one[data-v-244315c6]{height:243.9252px}}@media (min-width:361px) and (max-width:375px){.boxBg .one[data-v-244315c6]{height:254.08875px}}@media (min-width:376px) and (max-width:390px){.boxBg .one[data-v-244315c6]{height:264.2523px}}@media (min-width:391px) and (max-width:412px){.boxBg .one[data-v-244315c6]{height:279.15884px}}@media (min-width:413px) and (max-width:414px){.boxBg .one[data-v-244315c6]{height:280.51398px}}@media (min-width:415px) and (max-width:428px){.boxBg .one[data-v-244315c6]{height:289.99996px}}@media (min-width:429px) and (max-width:430px){.boxBg .one[data-v-244315c6]{height:291.3551px}}@media (min-width:431px) and (max-width:440px){.boxBg .one[data-v-244315c6]{height:298.1308px}}@media (min-width:441px) and (max-width:450px){.boxBg .one[data-v-244315c6]{height:304.9065px}}@media (min-width:451px) and (max-width:460px){.boxBg .one[data-v-244315c6]{height:311.6822px}}@media (min-width:461px) and (max-width:475px){.boxBg .one[data-v-244315c6]{height:321.84575px}}@media (min-width:476px) and (max-width:490px){.boxBg .one[data-v-244315c6]{height:332.0093px}}@media (min-width:491px) and (max-width:505px){.boxBg .one[data-v-244315c6]{height:342.17285px}}@media (min-width:506px) and (max-width:550px){.boxBg .one[data-v-244315c6]{height:372.6635px}}@media (min-width:551px) and (max-width:700px){.boxBg .one[data-v-244315c6]{height:474.299px}}@media (min-width:701px) and (max-width:768px){.boxBg .one[data-v-244315c6]{height:520.37376px}}@media (min-width:769px) and (max-width:800px){.boxBg .one[data-v-244315c6]{height:542.056px}}@media (min-width:801px) and (max-width:1024px){.boxBg .one[data-v-244315c6]{height:693.83168px}}.boxBgL[data-v-244315c6]{height:201px;left:0;position:absolute;top:0;width:100%}.boxBgL .one[data-v-244315c6]{background-size:cover;height:201px;width:100%}.boxBgL .two[data-v-244315c6]{border-radius:50%;height:102px;position:relative;top:-51px;width:100%}.employee[data-v-244315c6]{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-244315c6]{display:flex}.employee .employeeOne .employeeOneLeft[data-v-244315c6]{color:#1c253a;font-family:PingFang SC;font-size:16px;font-weight:500;margin-right:8px}.employee .employeeOne .employeeOneRight .employeeOneRightImg[data-v-244315c6]{display:inline-block;height:24px;transform:translate(19px);width:24px}.employee .employeeOne .employeeOneRight .employeeOneRightE[data-v-244315c6]{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-244315c6]{display:flex;margin-top:10px}.employee .employeeTwo img[data-v-244315c6]{height:16px;width:16px}.employee .employeeTwo .number[data-v-244315c6]{color:#394259;font-family:Montserrat;font-size:12px;font-weight:400;line-height:16px;margin-left:4px}.address[data-v-244315c6]{display:flex;justify-content:space-between;padding:10px 12.5px}.address .addressLeft[data-v-244315c6]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:700}.address .addressLeft img[data-v-244315c6]{margin-right:5px}.address .addressRight[data-v-244315c6]{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-244315c6]{height:11px;margin-right:9px;width:13px}.address .addressRight .addressRspan[data-v-244315c6]{color:#0081cc;font-family:PingFang SC;font-size:12px;font-weight:500}.points[data-v-244315c6]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:700;padding:0 12.5px}.points img[data-v-244315c6]{margin-right:5px}.search[data-v-244315c6]{display:flex;height:32px;justify-content:space-between;margin:18px 12.5px 16px}.search--input[data-v-244315c6]{background:hsla(0,0%,100%,.3);border-radius:17.5px;box-shadow:0 10px 20px 0 rgba(0,0,0,.1);font-size:12px;height:32px;position:relative}.search--input--box[data-v-244315c6]{color:#878e98;font-family:PingFang SC;font-size:13px;font-weight:400;line-height:32px;margin-left:14px;margin-right:14px}.search--input--icon[data-v-244315c6]{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-244315c6]{background:#fff;border-radius:42px;color:#0081cc;font-family:PingFang SC;font-size:16px;font-weight:700;line-height:25px;padding:8px 34px;width:64px}.tag[data-v-244315c6]{display:flex;padding:7px 0}.tag--item[data-v-244315c6]{align-items:center;display:flex;flex:1;justify-content:center}.title-l[data-v-244315c6]{display:flex;height:40px;justify-content:center}.title-l .title-t[data-v-244315c6]{color:#1c253a;font-size:19px;line-height:42px;padding-left:22px}.lowCode-warp[data-v-244315c6]{padding:0 20px}.coupon[data-v-244315c6]{height:60px;position:fixed;right:450px;width:60px;z-index:101}.coupon img[data-v-244315c6]{height:55px;width:55px}.worterMan[data-v-244315c6]{padding:10px 12.5px}.user-details[data-v-244315c6]{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-244315c6]{margin-right:20px;position:relative}.user-details .avatar-container .avatar[data-v-244315c6]{border-radius:50px;height:64px;width:64px}.user-details .avatar-container .star[data-v-244315c6]{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-244315c6]{align-items:center;display:flex;position:relative}.user-name[data-v-244315c6]{color:#000;font-size:16px;font-weight:500;margin-right:16px}.expert-tag[data-v-244315c6]{align-items:center;background-color:hsla(0,0%,100%,.3);border-radius:12px;display:flex;gap:4px;padding:2px 8px}.tag-text[data-v-244315c6]{color:#fff;color:#0081cc;font-family:PingFang SC;font-size:12px;font-weight:500}.switch-btn[data-v-244315c6]{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-244315c6],.switch-btn[data-v-244315c6]{color:#0081cc;font-size:12px;line-height:20px;position:absolute}.switch-btnLogin[data-v-244315c6]{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-244315c6]{color:#fff;font-family:PingFang SC;font-size:14px;font-weight:500;line-height:22px}.user-contact[data-v-244315c6]{color:#fff;font-size:12px}.user-contactLogin[data-v-244315c6],.user-contact[data-v-244315c6]{align-items:center;display:flex;margin-top:18px;opacity:.9}.phone-number[data-v-244315c6]{color:#000;font-size:12px;margin-right:12px}.work-all[data-v-244315c6],.work-info[data-v-244315c6]{color:#000;font-size:12px;margin-right:12px;opacity:.8}.loginClass[data-v-244315c6]{color:#fff;font-size:18px}.btn[data-v-244315c6]{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-244315c6]{color:#fff;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:1}.btn .icon[data-v-244315c6]{color:#fff}.header-title[data-v-244315c6]{color:#fff;font-family:YouSheBiaoTiHei;font-size:20px;font-weight:700;position:relative}.nav-bar[data-v-244315c6]{position:relative}.nav-bar .name[data-v-244315c6]{color:#fff;font-size:18px;left:22px;position:absolute}.ichulinewhite[data-v-244315c6]{left:28px;position:absolute;top:17px}.loginJingcai[data-v-244315c6]{color:#394259;font-family:PingFang SC;font-size:12px;font-style:normal;font-weight:400;line-height:20px;text-align:left;text-transform:none}.shop-top[data-v-244315c6]{padding:4px 15px 0;position:relative}.shop-top__bg[data-v-244315c6]{height:150px;left:0;position:absolute;right:0;top:0;z-index:0}.shop-top__bg-img[data-v-244315c6]{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.goinrf-top__bg-img[data-v-244315c6]{height:150px;left:0;position:absolute;top:0;width:100%;z-index:0}.shop-top__content[data-v-244315c6]{padding-top:18px;position:relative;z-index:1000}.shop-top__address[data-v-244315c6]{align-items:center;display:flex;gap:4px;justify-content:space-between;margin-bottom:9px}.shop-top__address-left[data-v-244315c6]{align-items:center;display:flex;flex:1;font-size:14px;font-weight:500}.shop-top__location-icon[data-v-244315c6]{flex-shrink:0;height:16px;width:16px}.shop-top__site-name[data-v-244315c6]{color:#fff;font-size:14px;font-weight:700;margin-left:-3px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-top__address-right[data-v-244315c6]{align-items:center;background:linear-gradient(270deg,#95d1f5,#bee2fc);border-radius:15px 0 0 15px;display:flex;flex-shrink:0;height:24px;justify-content:center;margin-left:43px;position:absolute;right:-16px;width:72px}.shop-top__switch-icon[data-v-244315c6]{height:15px;margin-right:4px;width:15px}.shop-top__switch-text[data-v-244315c6]{color:#0081cc;font-size:12px;font-weight:500}.shop-top__points-row[data-v-244315c6]{align-items:center;display:flex;font-size:14px}.shop-top__points-icon[data-v-244315c6]{flex-shrink:0;height:18px;margin-right:4px;width:18px}.shop-top__points-text[data-v-244315c6]{color:#fff;font-size:14px;font-weight:700}.shop-top__search-row[data-v-244315c6]{align-items:center;display:flex;gap:6px;margin-top:18px}.shop-top__search-box[data-v-244315c6]{align-items:center;background:#fff;border-radius:18px;box-shadow:0 2px 6px rgba(0,0,0,.1);box-sizing:border-box;display:flex;flex:1;height:32px;justify-content:space-between;min-width:0;padding:0 12px}.shop-top__placeholder[data-v-244315c6]{color:#999;font-size:13px}.shop-top__search-icon-img[data-v-244315c6]{height:18px;width:18px}.shop-top__class-btn[data-v-244315c6]{align-items:center;background:#fff;border-radius:18px;box-shadow:0 2px 6px rgba(0,0,0,.1);box-sizing:border-box;display:flex;flex-shrink:0;height:32px;justify-content:center;line-height:32px;min-width:64px;padding:0 20px}.shop-top__class-text[data-v-244315c6]{color:#0081cc;font-size:14px;font-weight:600}.shop-top__swiper-wrap[data-v-244315c6]{margin-top:16px;overflow:hidden}.shop-top__swiper-img[data-v-244315c6],.shop-top__swiper-wrap[data-v-244315c6],.shop-top__swiper[data-v-244315c6]{border-radius:8px;height:135px;width:100%}.search--input[data-v-244315c6]{margin:auto;width:82%}"),Ds.render=function(l,h,u,m,x,y){const b=c("swiper-item"),v=c("swiper"),w=c("block");return e(),t("div",null,[x.isShopGoinRFFlag?(e(),t("view",{key:0,class:"shop-top",style:i({marginTop:(u.props.marginTop||0)+"px",marginBottom:(u.props.marginBottom-16||0)+"px"})},[s("view",Fs,[y.bgImageUrl?(e(),t("image",{key:0,class:"goinrf-top__bg-img",src:y.bgImageUrl,mode:"aspectFill"},null,8,Rs)):n("",!0)]),s("view",Us,[y.showSwiper?(e(),t("view",$s,[p(v,{class:"shop-top__swiper","indicator-dots":!0,autoplay:y.autoPlay,interval:y.autoplayInterval,circular:!0,vertical:1===y.direction,onChange:y.onSwiperChange},{default:d((()=>[(e(!0),t(a,null,r(y.swiperList,((t,i)=>(e(),g(b,{key:i,onClick:e=>y.onSwiperClick(t)},{default:d((()=>[s("image",{class:"shop-top__swiper-img",src:t.imgUrl,mode:"scaleToFill"},null,8,Gs)])),_:2},1032,["onClick"])))),128))])),_:1},8,["autoplay","interval","vertical","onChange"])])):n("",!0)])],4)):u.isShopMode?(e(),t("view",{key:1,class:"shop-top",style:i({marginTop:(u.props.marginTop||0)+"px",marginBottom:(u.props.marginBottom-16||0)+"px"})},[s("view",Es,[y.bgImageUrl?(e(),t("image",{key:0,class:"shop-top__bg-img",src:y.bgImageUrl,mode:"aspectFill"},null,8,qs)):n("",!0)]),s("view",Ks,[u.hideAddress?n("",!0):(e(),t("view",Ws,[s("view",Hs,[Vs,s("text",Qs,o(y.shopSiteName),1)]),s("view",{class:"shop-top__address-right",onClick:h[0]||(h[0]=(...e)=>y.handleSwitch&&y.handleSwitch(...e))},Js)])),u.shopSupplier?(e(),t("view",Ys,[s("view",Xs,[Zs,x.lowCode?x.lowCode?(e(),t("text",tn,o(y.shopSiteName),1)):n("",!0):(e(),t("text",en,o(l.$storage.get("selectSupplier").agencyName),1))]),y.showBtn?(e(),t("view",{key:0,class:"shop-top__address-right",onClick:h[1]||(h[1]=(...e)=>y.switchRole&&y.switchRole(...e))},on)):n("",!0)])):n("",!0),"积分"==u.pointsLabel&&l.$storage&&"buy"==l.$storage.get("userinfoQuality")?(e(),t("view",an,[rn,l.$storage&&"buy"==l.$storage.get("userinfoQuality")?(e(),t("text",sn,o(u.pointsLabel)+":"+o(l.$storage&&l.$storage.get("selectSupplier")&&l.$storage.get("selectSupplier").unusedScoreA),1)):n("",!0)])):"能量豆"==u.pointsLabel?(e(),t("view",nn,[ln,s("text",cn,o(y.shopPointsText),1)])):n("",!0),s("view",pn,[s("view",{class:"shop-top__search-box",onClick:h[2]||(h[2]=(...e)=>y.ToSearch&&y.ToSearch(...e))},[s("text",dn,o(y.shopSearchPlaceholder),1),gn]),y.showCategoryButton?(e(),t("view",{key:0,class:"shop-top__class-btn",onClick:h[3]||(h[3]=(...e)=>y.handleClass&&y.handleClass(...e))},[s("text",hn,o(y.categoryButtonText),1)])):n("",!0)]),y.showSwiper?(e(),t("view",un,[p(v,{class:"shop-top__swiper","indicator-dots":!0,autoplay:y.autoPlay,interval:y.autoplayInterval,circular:!0,vertical:1===y.direction,onChange:y.onSwiperChange},{default:d((()=>[(e(!0),t(a,null,r(y.swiperList,((t,i)=>(e(),g(b,{key:i,onClick:e=>y.onSwiperClick(t)},{default:d((()=>[s("image",{class:"shop-top__swiper-img",src:t.imgUrl,mode:"scaleToFill"},null,8,mn)])),_:2},1032,["onClick"])))),128))])),_:1},8,["autoplay","interval","vertical","onChange"])])):n("",!0)])],4)):(e(),t("div",fn,[x.lowCode?(e(),t("div",xn,[s("div",{class:"one",style:i({backgroundImage:"url("+u.props.backImg+")"})},null,4)])):(e(),t("div",yn,[s("div",{class:"one",style:i({backgroundImage:"url("+u.props.backImg+")"})},null,4)])),x.lowCode?(e(),t("div",{key:2,class:"nav-bar",style:i({width:"100%",height:"28px",backgroundImage:"url("+u.props.topImg+")"})},[s("div",bn,[vn,s("img",{class:"ichulinewhite",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichulinewhite%402x.png",style:i({width:y.rpx2unit(36),height:y.rpx2unit(36)})},null,4)]),0==u.props.msgButton?(e(),t("div",wn,[kn,s("span",{class:"massage",onClick:h[4]||(h[4]=(...e)=>y.onMessage&&y.onMessage(...e))},"消息")])):n("",!0),0==u.props.signInButton?(e(),t("div",{key:1,class:"btn nameIcon",style:i({right:0!==u.props.msgButton?"20px":"120px"})},Cn,4)):n("",!0)],4)):n("",!0),s("div",Sn,["tourist"===x.identityhtml?(e(),t("div",Tn,[Bn,s("div",jn,[_n,s("div",An,[Ln,s("div",{class:"switch-btnLogin",onClick:h[5]||(h[5]=f(((...e)=>y.onLogin&&y.onLogin(...e)),["stop"]))},Nn)])])])):n("",!0)]),"buy"===x.identityhtml||"merchant"===x.identityhtml?(e(),t("div",In,[s("div",{class:"user-details",onClick:h[7]||(h[7]=(...e)=>y.goJumpUser&&y.goJumpUser(...e))},["buy"===x.identityhtml?(e(),t("div",zn,[x.userDataImg.noticePicurl?(e(),t("img",{key:0,class:"avatar",src:x.userDataImg.noticePicurl,mode:"aspectFill"},null,8,Pn)):(e(),t("img",Mn))])):n("",!0),s("div",Dn,[s("div",On,[s("span",Fn,o(x.userData.userinfoCompname||""),1),s("div",Rn,["buy"===x.identityhtml?(e(),t("img",Un)):n("",!0),"merchant"===x.identityhtml?(e(),t("img",$n)):n("",!0),s("span",Gn,o(x.userData.userTag||""),1)])]),s("div",En,[qn,s("span",Kn,o(x.userData.userinfoPhone||""),1),"buy"===x.identityhtml?(e(),t("span",Wn,"丰龄"+o(x.userData.workingYears||""),1)):n("",!0),"buy"===x.identityhtml?(e(),t("span",Hn,"总工单 "+o(x.userData.totalTaskNum||0)+"单",1)):n("",!0),"merchant"===x.identityhtml?(e(),t("img",Vn)):n("",!0),"merchant"===x.identityhtml?(e(),t("span",Qn,o(x.userData.companyAddress||""),1)):n("",!0)])]),0===u.props.checkButton?(e(),t("div",{key:1,class:"switch-btn",onClick:h[6]||(h[6]=f(((...e)=>y.changeIdentity&&y.changeIdentity(...e)),["stop"]))}," 切换身份 ")):n("",!0)])])):n("",!0),Jn,"supplier"===x.identityhtml?(e(),t("div",Yn,[s("div",Xn,[s("div",Zn,o(x.userData.userinfoCompname||""),1),s("div",el,[tl,s("div",il,o(x.userData.userTag||""),1)])]),1===x.userData.userType?(e(),t("div",ol,[s("div",al,[rl,s("span",sl,o(x.userData.userinfoPhone||""),1)])])):n("",!0),0===u.props.checkButton&&1===x.userData.userType?(e(),t("div",{key:1,class:"switch-btn",onClick:h[8]||(h[8]=(...e)=>y.changeIdentity&&y.changeIdentity(...e))}," 切换身份 ")):n("",!0)])):n("",!0),n("",!0),n("",!0),n("",!0),nl])),!x.lowCode||u.isShopMode||x.isShopGoinRFFlag?u.isShopMode||x.isShopGoinRFFlag?n("",!0):(e(),t("div",cl,[s("div",{class:"swiperBox",style:i({marginTop:u.props.marginTop+"px",marginBottom:u.props.marginBottom+"px"})},[s("div",pl,[p(v,{interval:"4000",class:"swiper-content",circular:"true",vertical:y.directionResult,autoplay:y.autoplayResult,duration:u.props.autoplayInterval,onChange:y.setimg},{default:d((()=>[(e(!0),t(a,null,r(y.resultArr,((t,o)=>(e(),g(w,{key:o},{default:d((()=>[p(b,{class:"img-item"},{default:d((()=>[s("img",{style:i({bordeRadius:y.classifyPhotoCorner(u.props.photoCorner)+"px"}),"lazy-load":!0,src:t.imgUrl,onClick:e=>y.linkClick(t)},null,12,dl)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["vertical","autoplay","duration","onChange"])])],4)])):(e(),t("div",{key:3,class:"lowCode-warp",style:i({marginTop:u.props.marginTop+"px",marginBottom:u.props.marginBottom+"px"})},[s("img",{src:y.resultArrImg(y.resultArr),alt:"",style:{width:"100%"}},null,8,ll),s("ul",null,[(e(!0),t(a,null,r(y.resultArr,((i,o)=>(e(),t("li",{key:o})))),128))])],4))])},Ds.__scopeId="data-v-244315c6";var gl={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 e="";switch(this.props.live.dataState){case 0:e="初始化";break;case 1:e="上传直播间";break;case 101:e="直播中";break;case 102:e="未开始";break;case 103:e="已结束";break;case 104:e="禁播";break;case 105:e="暂停";break;case 106:e="异常";break;case 107:e="已过期"}return e}},methods:{handleToLive(){if(b)return;let e=this.props.live.infuencerEcode;wx.navigateTo({url:`plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${e}`})}}};const hl=["src"],ul={class:"liveState"},ml={class:"liveIntroduction"},fl={class:"liveTitle"},xl={class:"anchorName"};Ta(".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}"),gl.render=function(a,r,n,l,c,p){return e(),t("div",null,[n.props.live?(e(),t("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]=e=>p.handleToLive())},[s("img",{src:p.liveCover},null,8,hl),s("div",ul,o(p.liveState),1)]),s("div",ml,[s("div",fl,o(p.liveTitle),1),s("div",xl,o(n.props.live.infuencerInfname),1)])],4)):(e(),t("div",{key:0,style:i(c.noDataStyle)},"请选择直播",4))])},gl.__scopeId="data-v-0b07f37b";const yl=async e=>{const t=localStorage.getItem("saas-token");return await fetch(process.env.REACT_APP_BASE_URL+e,{method:"POST",headers:{"saas-token":t,"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((e=>e.json())).then(((e={})=>e))};var bl={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 e=this;return b?this.LcGetNotice(e):this.getNotice(e)},async LcGetNotice(e){const t=location.hash.replace(/[\\/#?]/g,"");Ms.parse(t).modelTagvalueId;const i=`${S}?dataState=1`,o=await yl(i);e.noticeList=o.list},async getNotice(e){const t=await e.http.get(`${S}`,{dataState:1});e.noticeList=t.list},onSwiperChange(e){this.currentIndex=e.detail.current},handleToNotice(){if(b)return;const e=this.noticeList[this.currentIndex];e&&e.noticeId&&this.$routers.push("/pages/noticeDedail/main",{id:e.noticeId})}}};const vl=e=>(u("data-v-7a06c768"),e=e(),m(),e),wl=vl((()=>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))),kl={class:"notice-content"},Cl={class:"noticeTag"},Sl=vl((()=>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)));Ta(".noticeBox[data-v-7a06c768]{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-7a06c768]{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-7a06c768]{align-items:center;background:linear-gradient(270deg,#ff97bd,#e50f41);border-radius:10px;display:flex;padding:.5px 10px}.noticeBox .notice-logo span[data-v-7a06c768]{color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:10px;font-weight:400;line-height:17px}.noticeBox .notice-content[data-v-7a06c768]{flex:1;overflow:hidden}.noticeBox .notice-content .notice-list[data-v-7a06c768]{display:flex;flex-direction:column;height:22px}.noticeBox .notice-content .notice-list .swiper-item[data-v-7a06c768]{color:#394259;font-family:PingFang SC;font-size:13px;font-weight:400;line-height:22px}"),bl.render=function(n,l,h,u,m,f){const x=c("swiper-item"),y=c("swiper");return e(),t("div",null,[s("div",{class:"noticeBox",style:i({marginTop:`${h.props.marginTop}px`,marginBottom:`${h.props.marginBottom}px`,backgroundColor:`${h.props.backgroundColor}`}),onClick:l[0]||(l[0]=(...e)=>f.handleToNotice&&f.handleToNotice(...e))},[wl,s("div",kl,[p(y,{class:"notice-list",vertical:h.props.vertical,circular:"true",autoplay:"true",interval:"5000",duration:"1000",onChange:f.onSwiperChange},{default:d((()=>[(e(!0),t(a,null,r(m.noticeList,(t=>(e(),g(x,{key:t.noticeId},{default:d((()=>[s("div",{class:"swiper-item",style:i({color:`${h.props.color}`})},[s("span",Cl,o("运营端"===t.memberName?"平台":"代理商"),1),s("span",null,o(t.noticeTitle),1)],4)])),_:2},1024)))),128))])),_:1},8,["vertical","onChange"])]),Sl],4)])},bl.__scopeId="data-v-7a06c768";var Tl={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(e,t){this.clearTimer(),this.start()}},data:()=>({d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}),computed:{itemStyle(){let e={};return this.height&&(e.height=this.height+"rpx",e.width=this.height+"rpx"),this.showBorder&&(e.borderStyle="solid",e.borderColor=this.borderColor,e.borderWidth="1px"),this.bgColor&&(e.backgroundColor=this.bgColor),e},letterStyle(){let e={};return this.fontSize&&(e.fontSize=this.fontSize+"rpx"),this.color&&(e.color=this.color),e}},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(e){e<=0&&this.end();let[t,i,o,a]=[0,0,0,0];t=Math.floor(e/86400),i=Math.floor(e/3600)-24*t;let r=null;r=this.showDays?i:Math.floor(e/3600),o=Math.floor(e/60)-60*i-24*t*60,a=Math.floor(e)-24*t*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,t=t<10?"0"+t:t,this.d=t,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 Bl={class:"u-countdown"};Ta(".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}"),Tl.render=function(a,r,l,c,p,d){return e(),t("view",Bl,[l.showDays&&(l.hideZeroDay||!l.hideZeroDay&&"00"!=p.d)?(e(),t("view",{key:0,class:"u-countdown-item",style:i([d.itemStyle])},[s("view",{class:"u-countdown-time",style:i([d.letterStyle])},o(p.d),5)],4)):n("",!0),l.showDays&&(l.hideZeroDay||!l.hideZeroDay&&"00"!=p.d)?(e(),t("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?(e(),t("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(p.h),5)],4)):n("",!0),l.showHours?(e(),t("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?(e(),t("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(p.i),5)],4)):n("",!0),l.showMinutes?(e(),t("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?(e(),t("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(p.s),5)],4)):n("",!0),l.showSeconds&&"zh"==l.separator?(e(),t("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)])},Tl.__scopeId="data-v-4f36f3d2";var jl={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 e={};return e.width=this.percent+"%",this.activeColor&&(e.backgroundColor=this.activeColor),e}},methods:{}};Ta(".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}}"),jl.render=function(r,c,p,d,g,u){return e(),t("view",{class:"u-progress",style:i({borderRadius:p.round?"100rpx":0,height:p.height+"rpx",backgroundColor:p.inactiveColor})},[s("view",{class:l([[p.type?`u-type-${p.type}-bg`:"",p.striped?"u-striped":"",p.striped&&p.stripedActive?"u-striped-active":""],"u-active"]),style:i([u.progressStyle])},[r.$slots.default||r.$slots.$default?x(r.$slots,"default",{key:0}):p.showPercent?(e(),t(a,{key:1},[h(o(p.percent+"%"),1)],64)):n("",!0)],6)],4)},jl.__scopeId="data-v-6b1ec6a3";var _l={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:Tl,uLineProgress:jl},data:()=>({lowCode:b,secGoodList:[],domainNameUrl:"",changeNum:0}),mounted(){this.domainNameUrl=hi(this);this.getSecGoodList(this)},computed:{btnDataStateColor:()=>e=>"已终止"===e||"已抢空"===e?"#D7D7D7":"即将开始"===e?"#F59A23":"#ed4444",btnDataState:()=>(e,t)=>[-1,2,6].includes(e.dataState)?"已终止":[1].includes(e.dataState)?0===t.goodsSupplynum?"已抢空":"立即购买":[4].includes(e.dataState)?"即将开始":void 0,getPrice:()=>e=>"2"==e.pricesetType||"4"==e.pricesetType?"¥"+e.pricesetNprice:"3"==e.pricesetType?e.pricesetRefrice+"里程":e.pricesetNprice,activityCss:()=>e=>e.length?1===e.length?1:2===e.length?2:e.length>=3?3:"":"",diffFn:()=>e=>e?(e.goodsAhnum-e.goodsSupplynum)/e.goodsAhnum*100:"",minTime(){let e=[];this.secGoodList.forEach((t=>{e.push(t.gmtModified)}));for(let t=0;t<e.length-1;t++)for(let t=0;t<e.length-1;t++)if(e[t]>e[t+1]){let i=e[t];e[t]=e[t+1],e[t+1]=i}return e[0]},setPromotionDates:()=>(e,t)=>{let i=(new Date(t.promotionBegintime)-Date.parse(new Date))/1e3,o=(new Date(t.promotionEndtime)-Date.parse(new Date))/1e3;return e.gmtCreate=i>0?i:0,e.gmtModified=o>0?o:0,{gmtCreate:e.gmtCreate,gmtModified:e.gmtModified}}},methods:{getIsLc(){let e=this;return b?this.LcGetSecGoodList(e):this.getSecGoodList(e)},async LcGetSecGoodList(e){if(0===e.props.activityType){const t="/web/pm/promotionSignUpCon/queryCouponBatchPage.json?rows=4&page=1&dataState=1",{list:i}=await yl(t);if(0===i.length)return void(e.secGoodList=[]);const o=async()=>{for(let t=0;t<i.slice(0,4).length;t++){const o=await a(t);JSON.parse(o.promotionTerstr).pmPromotionRangeList.forEach((o=>{if(e.secGoodList.length<4){const{gmtCreate:a,gmtModified:r}=this.setPromotionDates(o,i[t]);o.gmtCreate=a,o.gmtModified=r,e.secGoodList.push(o)}}))}},a=async e=>await yl(`/web/pm/promotionSignUpCon/getCouponBatchByCode.json?couponBatchCode=${i[e].couponBatchCode}`);o()}if(1===e.props.activityType){const t="/web/pm/promotion/queryPromotionPageGroupBuying.json?rows=4&page=1&dataState=1",{list:i}=await yl(t);if(0===i.length)return void(e.secGoodList=[]);const o=async()=>{for(let t=0;t<i.slice(0,4).length;t++){(await a(t)).pmPromotionRangeList.forEach((o=>{if(e.secGoodList.length<4){const{gmtCreate:a,gmtModified:r}=this.setPromotionDates(o,i[t]);o.gmtCreate=a,o.gmtModified=r,e.secGoodList.push(o)}}))}},a=async e=>await yl(`/web/pm/promotion/getPromotions.json?promotionId=${i[e].promotionId}`);o()}},changeOneChange(){this.getSecGoodList(this,"change")},async getSecGoodList(e,t=null){const i=(e,t=!1)=>{if(e&&(t?e.rows:e.list)&&(t?e.rows.length:e.list.length)){const i=t?e.rows:e.list;i.slice(0,3).forEach((e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,i=(e.promotionEndtime-Date.parse(new Date))/1e3;e.gmtCreate=t>0?t:0,e.gmtModified=i>0?i:0})),this.secGoodList=i.slice(0,4)}else this.secGoodList=[]};if(0===this.props.activityType){let o;if("change"===t&&this.props.activityList.length>1){const e=(e,t)=>{let i;do{i=Math.floor(Math.random()*e.length)}while(i===t);return i};this.changeNum=e(this.props.activityList,this.changeNum),o=this.props.activityList[this.changeNum]}else o=this.props.activityList[0];if(b){let e="";e=o?`${C}?pbCode=0007&dataStateStr=1,4,2,-1,6&rows=4&page=1&couponBatchCode=${o}`:`${C}?pbCode=0007&dataStateStr=1&rows=4&page=1&orderStr=PROMOTION_ENDTIME asc`;const{list:t}=await yl(e);i({list:t})}else{let t={pbCode:"0007",dataStateStr:"1,4,2,-1,6",rows:4,page:1,couponBatchCode:o};o||(t.dataStateStr="1",t.orderStr="PROMOTION_ENDTIME asc"),e.http.post(C,t).then((e=>{i(e)}))}}if(1===this.props.activityType){let o;if("change"===t&&this.props.activityList.length>1){const e=(e,t)=>{let i;do{i=Math.floor(Math.random()*e.length)}while(i===t);return i};this.changeNum=e(this.props.activityList,this.changeNum),o=this.props.activityList[this.changeNum]}else o=this.props.activityList[0];if(b){let e="";e=o?`${C}?pbCode=0008&dataStateStr=1,4,2,-1,6&rows=4&page=1&promotionCode=${o}`:`${C}?pbCode=0008&dataStateStr=4,1&rows=4&page=1&orderStr=PROMOTION_ENDTIME asc`;const{rows:t}=await yl(e);i({rows:t},!0)}else{let t={pbCode:"0008",dataStateStr:"1,4,2,-1,6",rows:4,page:1,promotionCode:o};o||(t.dataStateStr="1",t.orderStr="PROMOTION_ENDTIME asc"),e.http.post(C,t).then((async e=>{if(e&&e.rows)if(1===this.page&&0===e.rows.length)this.seckillGoodsList=[];else{const t=e.rows.map((e=>{let t=(e.promotionBegintime-Date.parse(new Date))/1e3,i=(e.promotionEndtime-Date.parse(new Date))/1e3;return e.gmtCreate=t>0?t:0,e.gmtModified=i>0?i:0,0==e.promotionState&&this.$set(e,"PeopleNum",e.couponOnceNump),e})).filter((e=>0==e.promotionState));this.secGoodList=t.slice(0,4)}}))}}},goSecList(){this.$emit("goSecList",this.props)},gosecGoodsDetail(e,t){[-1,2,6].includes(t.dataState)||[1].includes(t.dataState)&&0===e.goodsSupplynum||(0===this.props.activityType&&this.$emit("gosecGoodsDetail",e.skuCode,(t.promotionEndtime-Date.parse(new Date))/1e3,t.promotionCode),1===this.props.activityType&&this.$emit("toDetail",t.promotionCode,t.promotionFrequency,t.gmtModified))}}};const Al=e=>(u("data-v-024a5c10"),e=e(),m(),e),Ll={class:"secKill--tit"},Nl={class:"title"},Il={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"}},zl={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"}},Pl={style:{"font-size":"14px","font-family":"PingFangSC, PingFang SC",color:"#1c253a","margin-left":"5px","margin-right":"5px"}},Ml={class:"more"},Dl=Al((()=>s("div",{class:"img"},[s("img",{"lazy-load":!0,src:Ir,mode:"",style:{width:"100%",height:"100%"}})],-1))),Ol={key:0},Fl=["onClick"],Rl={class:"soneLeft"},Ul=["src"],$l={class:"soneRight"},Gl={class:"soneRightA"},El={key:0,class:"soneRightB"},ql={key:0,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"5px"}},Kl=Al((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/huo.png",alt:"",style:{width:"16px",height:"16px","margin-bottom":"2px"}},null,-1))),Wl={key:1,style:{"font-size":"11px",color:"#595959","margin-left":"4px","line-height":"22px"}},Hl=Al((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/huo.png",alt:"",style:{width:"16px",height:"16px","margin-bottom":"2px"}},null,-1))),Vl={class:"soneRightC"},Ql={class:"priceC"},Jl={style:{color:"#ff9745"}},Yl={class:"dataStateButton"},Xl=["onClick"],Zl=["src"],ec={class:"secKill-goodsName text-common"},tc={class:"price"},ic={style:{display:"flex"}},oc={class:"now-price-common",style:{color:"#f53a50"}},ac={class:"dataStateButton"},rc=["onClick"],sc=["src"],nc={class:"secKill-goodsName text-common"},lc={class:"price"},cc={style:{display:"flex"}},pc={class:"now-price-common",style:{color:"#f53a50"}},dc={class:"dataStateButton"};Ta(".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}"),_l.render=function(d,u,m,f,x,y){const b=c("uContDown"),v=c("u-count-down"),w=c("uLineProgress");return e(),t("div",null,[s("div",{class:"secKill",style:i({backgroundColor:m.props.backgroundColor,marginTop:`${m.props.marginTop}px`,marginBottom:`${m.props.marginBottom}px`})},[s("div",Ll,[s("div",Nl,[0===m.props.activityType?(e(),t("img",Il)):n("",!0),1===m.props.activityType?(e(),t("img",zl)):n("",!0),s("div",Pl,o(m.props.title),1),x.lowCode?(e(),t(a,{key:2},[0===m.props.countDown?(e(),g(b,{key:0,timestamp:y.minTime,color:"#fff","separator-color":"#EB2B27","font-size":"20","bg-color":"#EB2B27"},null,8,["timestamp"])):n("",!0)],64)):(e(),t(a,{key:3},[0===m.props.countDown?(e(),g(v,{key:0,timestamp:y.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]=(...e)=>y.changeOneChange&&y.changeOneChange(...e))},"换一换")]),s("div",Ml,[s("div",{class:"",onClick:u[1]||(u[1]=(...e)=>y.goSecList&&y.goSecList(...e))},o(m.props.subTitle),1),Dl])]),1===y.activityCss(x.secGoodList)?(e(),t("div",Ol,[(e(!0),t(a,null,r(x.secGoodList,((l,c)=>(e(),t("div",{key:c},[(e(!0),t(a,null,r(l.rsSkuReDomainList,((a,r)=>(e(),t("div",{class:"secKill-One",key:r,onClick:e=>y.gosecGoodsDetail(a,l)},[s("div",Rl,[s("img",{"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,8,Ul)]),s("div",$l,[s("div",Gl,o(a.goodsName),1),0===m.props.activityType?(e(),t("div",El,[p(w,{"active-color":"#ED4444 ","inactive-color":"#FCE7E8",percent:y.diffFn(a),height:"10","show-percent":!1},null,8,["percent"]),x.lowCode?(e(),t("div",ql,[Kl,h(" 剩"+o(a.goodsSupplynum||0)+"件 ",1)])):(e(),t("div",Wl,[Hl,h(" 剩"+o(a.goodsSupplynum||0)+"件 ",1)]))])):n("",!0),s("div",Vl,[s("div",Ql,[s("span",Jl,o("2"===a.pricesetType?y.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)]),s("div",Yl,[s("span",{style:i({backgroundColor:y.btnDataStateColor(y.btnDataState(l,a))})},o(y.btnDataState(l,a)),5)])])])],8,Fl)))),128))])))),128))])):n("",!0),2===y.activityCss(x.secGoodList)?(e(),t("div",{key:1,class:l(["secKill-all",{fel:!0}])},[(e(!0),t(a,null,r(x.secGoodList,((n,c)=>(e(),t("div",{class:"secKill--center",key:c},[(e(!0),t(a,null,r(n.rsSkuReDomainList,((a,r)=>(e(),t("div",{class:l({goodsDetail3:3===y.activityCss(x.secGoodList),goodsDetail2:2===y.activityCss(x.secGoodList)}),key:r,onClick:e=>y.gosecGoodsDetail(a,n)},[s("img",{class:l({bigimg3:3===y.activityCss(x.secGoodList),bigimg2:2===y.activityCss(x.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,Zl),s("div",ec,o(a.goodsName),1),s("div",tc,[s("div",ic,[s("div",oc,o("2"===a.pricesetType?y.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)])]),s("div",ac,[s("span",{style:i({backgroundColor:y.btnDataStateColor(y.btnDataState(n,a))})},o(y.btnDataState(n,a)),5)])],10,Xl)))),128))])))),128))])):n("",!0),3===y.activityCss(x.secGoodList)?(e(),t("div",{key:2,class:l(["secKill-all",{overflowX:!0}])},[(e(!0),t(a,null,r(x.secGoodList,((n,c)=>(e(),t("div",{class:"secKill--center",key:c},[(e(!0),t(a,null,r(n.rsSkuReDomainList,((a,r)=>(e(),t("div",{class:l({goodsDetail3:3===y.activityCss(x.secGoodList),goodsDetail2:2===y.activityCss(x.secGoodList)}),key:r,onClick:e=>y.gosecGoodsDetail(a,n)},[s("img",{class:l({bigimg3:3===y.activityCss(x.secGoodList),bigimg2:2===y.activityCss(x.secGoodList)}),"lazy-load":!0,src:a.dataPic?-1===a.dataPic.indexOf("http")?x.domainNameUrl+a.dataPic:a.dataPic:"",mode:""},null,10,sc),s("div",nc,o(a.goodsName),1),s("div",lc,[s("div",cc,[s("div",pc,o("2"===a.pricesetType?y.getPrice(a):"3"===a.pricesetType?a.pricesetRefrice+"里程":"¥"+a.pricesetBaseprice),1)])]),s("div",dc,[s("span",{style:i({backgroundColor:y.btnDataStateColor(y.btnDataState(n,a))})},o(y.btnDataState(n,a)),5)])],10,rc)))),128))])))),128))])):n("",!0)],4)])},_l.__scopeId="data-v-024a5c10";var gc={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 hc=["src","poster","autoplay"];Ta("video[data-v-1141a1a5]{width:100%!important}"),gc.render=function(o,a,r,n,l,c){return e(),t("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,hc)])},gc.__scopeId="data-v-1141a1a5";var uc={props:{props:{mileage:{color:String,backgroundColor:String,marginTop:Number,marginBottom:Number}}},data:()=>({crmMileage:0,numInfo:0}),mounted(){b||this.getData()},methods:{async getData(){const e=await this.http.get("/web/oc/outupm/getupm.json");e&&(this.crmMileage=e.ValidPoint,this.numInfo=Number(e.ExpirePointFirstMonth)+Number(e.ExpirePointSecondMonth)+Number(e.ExpirePointThirdMonth))}}};const mc=(e=>(u("data-v-677c4df3"),e=e(),m(),e))((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/CH/lichengchaxun.png"},null,-1)));Ta(".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}"),uc.render=function(a,r,n,l,c,p){return e(),t("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}`})},[mc,h(),s("span",null,"尊敬的会员:您的账户可用里程为 "+o(c.crmMileage)+" 公里, 3个月内到期里程 "+o(c.numInfo||0)+" 公里。",1)],4)])},uc.__scopeId="data-v-677c4df3";var fc={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:b,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:[],titTaskW:0,titTaskH:0}),mounted(){b&&(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"}],b||this.init()},watch:{memberCodeP:{handler(e){this.memberCode=e},deep:!0,immediate:!0},memberNameP:{handler(e){this.memberName=e},deep:!0,immediate:!0}},methods:{init(){["supplier"].includes(this.identity)?this.getTaskList():this.http.get("/web/ml/mlogin/qualityUserList.json").then((e=>{if(["merchant","buy"].includes(this.identity)){this.dataQualityUserList=JSON.parse(e.dataObj.qualityUserList)[this.identity];const t=this.dataQualityUserList.find((e=>e.userCode===JSON.parse(this.$storage.get("userInfo")).userCode));t&&(this.memberCode=t.memberCode,this.memberName=t.memberName)}["buy","merchant"].includes(this.identity)&&(this.http.get(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:"1"}).then((e=>{e.success&&(this.redTit1=JSON.parse(e.dataObj).total,this.queryMerber1=JSON.parse(e.dataObj).list)})),this.http.get(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:"2"}).then((e=>{e.success&&(this.redTit2=JSON.parse(e.dataObj).total,this.queryMerber2=JSON.parse(e.dataObj).list)}))),this.getTaskList()}))},async getTaskList(e=!1){let t={page:this.page,rows:this.rows,type:this.type};["buy","merchant"].includes(this.identity)&&(t.memberCode=this.memberCode);const i=await this.http.get(`${T}`,t);i.list&&(this.taskList=e?[...this.taskList,...i.list]:i.list)},async getTaskListAll(){if(this.isLoading)return;this.isLoading=!0;const e="1"===this.type?this.queryMerber1:this.queryMerber2;if(e&&0!==e.length){0!==this.currentMerberIndex||this.currentMerberCode||(this.tempTaskList=[],this.currentMerberCode=e[0].memberCode,this.page=1);try{await this.queryByCurrentMerber(e)}catch(e){console.error("查询失败:",e)}finally{this.isLoading=!1}}else this.isLoading=!1},async queryByCurrentMerber(e){const t=await this.http.get(`${T}`,{page:this.page,rows:this.rows,type:this.type,memberCode:this.currentMerberCode});if(t.list&&t.list.length){this.tempTaskList=[...this.tempTaskList,...t.list],this.taskList=[...this.tempTaskList];const i=Math.ceil(t.total/this.rows);this.page<i?(this.page++,await this.queryByCurrentMerber(e)):(this.page=1,this.currentMerberIndex++,this.currentMerberIndex<e.length?(this.currentMerberCode=e[this.currentMerberIndex].memberCode,await this.queryByCurrentMerber(e)):this.finishQuery())}else this.page=1,this.currentMerberIndex++,this.currentMerberIndex<e.length?(this.currentMerberCode=e[this.currentMerberIndex].memberCode,await this.queryByCurrentMerber(e)):this.finishQuery()},finishQuery(){this.taskList=this.tempTaskList,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],this.isLoading=!1},orderTitle(e,t){this.page=1,this.type=e.value,this.current=t,this.currentMerberIndex=0,this.currentMerberCode="",this.tempTaskList=[],["merchant","buy"].includes(this.identity)?["0","3"].includes(this.type)?this.getTaskList(!1):this.http.get(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:this.type}).then((e=>{if(e.success){"1"===this.type?(this.redTit1=JSON.parse(e.dataObj).total,this.queryMerber1=JSON.parse(e.dataObj).list):(this.redTit2=JSON.parse(e.dataObj).total,this.queryMerber2=JSON.parse(e.dataObj).list);const t="1"===this.type?this.queryMerber1:this.queryMerber2;t&&0!==t.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(e){this.$emit("goTaskDetail",e)},goTaskJoin(e){this.$emit("goTaskJoin",e)},goTaskShare(e){this.$storage.set("taskShareName",e.taskName),this.$storage.set("taskShareCode",e.taskMainCode),setTimeout((()=>{this.$storage.remove("taskShareCode"),this.$storage.remove("taskShareName")}),1e3)},clickMemberList(){this.$emit("clickMemberList",this.dataQualityUserList,this.memberCode)},changeMemberData(e,t){this.memberCode=e,this.memberName=t},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(`${B}`,{memberCode:this.dataQualityUserList.map((e=>e.memberCode)).join(","),type:this.type}).then((e=>{if(e.success){"1"===this.type?(this.redTit1=JSON.parse(e.dataObj).total,this.queryMerber1=JSON.parse(e.dataObj).list):(this.redTit2=JSON.parse(e.dataObj).total,this.queryMerber2=JSON.parse(e.dataObj).list);const t="1"===this.type?this.queryMerber1:this.queryMerber2;t&&0!==t.length?this.getTaskListAll():this.taskList=[]}})):this.getTaskList(!1)},getProgressWidth(e){if(!e.taskGoal||0===e.taskGoal)return 0;const t=e.taskCompleteQuantity/e.taskGoal*100;return Math.min(t,100)},getTaskTypeName:e=>1===e.dataState?"待开始":2===e.dataState?"已开始":-1===e.dataState?"已结束":-2===e.dataState?"已取消":void 0,getTaskTypeStyle:e=>1===e.dataState?"linear-gradient(0deg, #8ACAF0 0%, #30A4E7 100%)":2===e.dataState?"linear-gradient(0deg, #03C9B3 0%, #56E7EA 100%)":-1===e.dataState||-2===e.dataState?"linear-gradient(0deg, #E5E6EB 0%, #C3C6CD 100%)":void 0,formatIndex(e){const t=e+1;return t<10?"0"+t:t},formatDate(e){function t(e){return e<10?"0"+e:e}var i=new Date(e),o=i.getFullYear(),a=i.getMonth()+1,r=i.getDate(),s=i.getHours(),n=i.getMinutes(),l=i.getSeconds();return o+"-"+t(a)+"-"+t(r)+" "+t(s)+":"+t(n)+":"+t(l)}}};const xc=e=>(u("data-v-07f84626"),e=e(),m(),e),yc={class:"fatherBox"},bc={class:"orderList-tit"},vc={key:0,class:"titul titulBg"},wc=[xc((()=>s("div",{class:"titTask"},[s("span",{style:{"font-weight":"600"}},"活动栏"),s("img",{class:"blueLine",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichuline%402x.png"})],-1))),xc((()=>s("span",null,"待开始",-1))),xc((()=>s("span",null,"进行中",-1))),xc((()=>s("span",null,"已结束",-1))),xc((()=>s("span",{style:{color:"#0081cc"}},"完成",-1)))],kc={key:1,class:"titul titulBg"},Cc=xc((()=>s("div",{class:"titTask"},[s("span",{style:{position:"relative","z-index":"1","font-weight":"600"}}," 活动栏 "),s("img",{class:"blueLine",src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/li/ichuline%402x.png"})],-1))),Sc=["onClick"],Tc={key:0,class:"titLine"},Bc={class:"box"},jc=xc((()=>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))),_c=["onClick"],Ac={class:"progressdai-info"},Lc={class:"progressdai-tag"},Nc={class:"progressdai-title"},Ic={key:0,class:"progressdai-two"},zc={class:"progressdai-two-1"},Pc={class:"progressdai-two-2"},Mc={class:"progressdai-two-3"},Dc={key:1,class:"progressdai-two"},Oc=[y('<div class="progress-info" data-v-07f84626><span class="progress-text" data-v-07f84626>进度:</span><span class="progress-percent" data-v-07f84626>4/10</span></div><div class="progress-bar" data-v-07f84626><div class="progress-fill" style="width:40%;" data-v-07f84626></div></div>',2)],Fc={key:2,class:"progressdai-two"},Rc={class:"progress-info"},Uc=xc((()=>s("span",{class:"progress-text"},"进度:",-1))),$c={class:"progress-percent"},Gc={class:"progress-bar"},Ec={class:"progressdai-three"},qc={class:"progressdai-three-1"},Kc=["onClick"],Wc={key:1,class:"progressdai-three-3"},Hc=["onClick"],Vc={key:0,class:"not-box"},Qc=[xc((()=>s("img",{src:"https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/%E7%8A%B6%E6%80%81%403x-fail.png",alt:""},null,-1))),xc((()=>s("view",{class:"not-text"},"暂无信息",-1)))];Ta(".fatherBox[data-v-07f84626]{background:#f6f8fa;border-radius:8px;overflow:visible}.orderList-tit[data-v-07f84626]{overflow:visible;padding:0;width:100%;z-index:999}.orderList-tit .titul[data-v-07f84626]{display:flex;justify-content:space-between;overflow:visible}.orderList-tit .titul .titli[data-v-07f84626]{display:flex;position:relative}.orderList-tit .titul .titli .titSpan[data-v-07f84626]{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-07f84626]{background:hsla(236,7%,48%,.2);height:10px;margin-top:17px;width:1px}.orderList-tit .titul .titli .titRed[data-v-07f84626]{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-07f84626]{bottom:0;height:3rpx;left:0;position:absolute;width:100%}.progress-section[data-v-07f84626]{margin:0 12px}.progress-info[data-v-07f84626]{display:flex;justify-content:space-between;margin-bottom:2px}.progress-text[data-v-07f84626]{color:#394259;font-family:PingFang SC;font-size:12px;font-weight:500;line-height:20px}.progress-percent[data-v-07f84626]{color:#394259;font-family:Montserrat;font-size:12px;font-weight:500;line-height:20px}.progress-bar[data-v-07f84626]{background:hsla(236,7%,48%,.2);border-radius:10px;height:5px;margin-bottom:8px;overflow:hidden}.progress-fill[data-v-07f84626]{background:linear-gradient(180deg,#03c9b3,#56e7ea);border-radius:10px;height:100%;transition:width 1.5s ease-in-out}.progressdai-section[data-v-07f84626]{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-07f84626]{margin-bottom:10px;padding-right:65px;width:100%}.progressdai-section .progressdai-info .progressdai-tag[data-v-07f84626]{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-07f84626]{color:#394259;display:inline;font-family:PingFang SC;font-size:16px;font-weight:500;line-height:24px;margin-left:10px;vertical-align:middle;word-break:break-all}.progressdai-section .progressdai-info .progressdai-logo[data-v-07f84626]{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-07f84626]{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-07f84626],.progressdai-section .progressdai-two .progressdai-two-2[data-v-07f84626]{display:inline-block;width:110px}.progressdai-section .progressdai-three[data-v-07f84626]{display:flex;justify-content:space-between}.progressdai-section .progressdai-three .progressdai-three-1[data-v-07f84626]{color:#888e98;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:28px}.progressdai-section .progressdai-three .progressdai-three-2[data-v-07f84626]{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-07f84626],.progressdai-section .progressdai-three .progressdai-three-3[data-v-07f84626]{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-07f84626]{border:1px solid hsla(236,7%,48%,.2);border-radius:14px 14px 14px 14px;color:#394259}.compClass[data-v-07f84626]{color:#394259;display:flex;font-family:PingFang SC;font-size:14px;font-weight:400;justify-content:space-between;line-height:22px}.blueLine[data-v-07f84626]{display:block;height:22px;left:38px;margin-top:4px;position:absolute;top:22px;width:22px}.not-box[data-v-07f84626]{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:50px;width:100%}.not-box img[data-v-07f84626]{height:200px;width:200px}.not-box .not-text[data-v-07f84626]{color:#394259;font-family:PingFang SC;font-size:16px;font-style:normal;font-weight:500;line-height:24px;text-align:center;text-transform:none}.titTaskCanvas[data-v-07f84626]{left:0;position:absolute;top:0}.titTask[data-v-07f84626]{color:#1c253a;display:inline-block;font-size:16px;font-weight:500;line-height:45px;margin-right:-10px;padding-left:22px;padding-right:30px;position:relative;z-index:10}.box[data-v-07f84626]{background:#f6f8fa;border-radius:15px 15px 0 0;margin-top:-30px;position:relative;width:100%;z-index:100}.titulBg[data-v-07f84626]{background-image:url(https://qjstatic.oss-cn-shanghai.aliyuncs.com/RFSG/Frame%203.png);background-position:0 0;background-repeat:no-repeat;background-size:100% 100%;border-radius:8px 8px 0 0;height:90px}"),fc.render=function(l,c,p,d,g,h){return e(),t("div",yc,[s("div",bc,[g.lowCode?(e(),t("div",vc,wc)):(e(),t("div",kc,[Cc,(e(!0),t(a,null,r(g.items,((a,r)=>(e(),t("div",{class:"titli",key:r,onClick:e=>h.orderTitle(a,r)},[s("span",{class:"titSpan",style:i({color:g.current==r?"#0081CC":""})},o(a.label),5),3!==r?(e(),t("span",Tc)):n("",!0),["未参加","待开始"].includes(a.label)&&0!==g.redTit1?(e(),t("span",{key:1,class:"titRed",style:i({left:3==r?"22px":"36px"})},o(g.redTit1),5)):n("",!0),["已参加","进行中"].includes(a.label)&&0!==g.redTit2?(e(),t("span",{key:2,class:"titRed",style:i({left:3==r?"22px":"36px"})},o(g.redTit2),5)):n("",!0)],8,Sc)))),128))]))]),s("div",Bc,[["merchant","buy"].includes(p.identity)&&["0","3"].includes(g.type)?(e(),t("div",{key:0,class:"progressdai-section compClass",onClick:c[0]||(c[0]=(...e)=>h.clickMemberList&&h.clickMemberList(...e))},[s("div",null,o(g.lowCode?"邯郸县丛台路鼎灵五金建材经销处":g.memberName),1),jc])):n("",!0),(e(!0),t(a,null,r(g.taskList,((a,r)=>(e(),t("div",{class:"progressdai-section",key:r,onClick:e=>h.goTaskDetail(a)},[s("div",Ac,[s("span",Lc,o(h.formatIndex(r)),1),s("span",Nc,o(a.taskName),1),g.lowCode?(e(),t("span",{key:0,class:"progressdai-logo",style:i({background:"linear-gradient(0deg, #03C9B3 0%, #56E7EA 100%)"})},"已参加",4)):(e(),t("span",{key:1,class:"progressdai-logo",style:i({background:h.getTaskTypeStyle(a)})},o(h.getTaskTypeName(a)),5))]),"supplier"===p.identity?(e(),t("div",Ic,[s("span",zc,"报名人数:"+o(a.participantCount||0),1),s("span",Pc,"达标人数:"+o(a.taskGoal||0),1),s("span",Mc,"活动奖励发放人数:"+o(a.rewardRecipientCount||0),1)])):n("",!0),g.lowCode?(e(),t("div",Dc,Oc)):n("",!0),"buy"===p.identity?(e(),t("div",Fc,[s("div",Rc,[Uc,s("span",$c,o(Number(a.taskCompleteQuantity))+"/"+o(a.taskGoal||1),1)]),s("div",Gc,[s("div",{class:"progress-fill",style:i({width:h.getProgressWidth(a)+"%"})},null,4)])])):n("",!0),s("div",Ec,[s("span",qc,"截止时间: "+o(h.formatDate(a.activityEndTime)),1),s("div",null,["buy"!==p.identity||"0"!==a.participationStatus||[-1,-2].includes(a.dataState)?n("",!0):(e(),t("span",{key:0,class:"progressdai-three-2",onClick:f((e=>h.goTaskJoin(a)),["stop"])},"报名",8,Kc)),g.lowCode?(e(),t("span",Wc,"分享")):n("",!0),!g.lowCode&&[1,2].includes(a.dataState)?(e(),t("button",{key:2,"open-type":"share",style:{display:"inline"},class:"progressdai-three-3",onClick:f((e=>h.goTaskShare(a)),["stop"])}," 分享 ",8,Hc)):n("",!0)])])],8,_c)))),128))]),0===g.taskList.length?(e(),t("view",Vc,Qc)):n("",!0)])},fc.__scopeId="data-v-07f84626";var Jc={name:"cyy-imgCombination",props:{props:{type:Object,default:()=>({selectImg:[],borderStyle:0,borderRadius:0,marginTop:0,paddingLeft:0,paddingRight:0,marginBottom:0,defaultValue:[]})}},computed:{parsedBlocks(){const{selectImg:e}=this.props;if(!e||!e.length)return[];const t=[];let i=null;for(let o=0;o<e.length;o++){const a=e[o],r=a.blockId;a&&(i&&i.blockId===r?i.items.push({...a}):(i&&i.items.length>0&&t.push(i),i={blockId:r,styleType:a.styleType,items:[{...a}]}))}return i&&i.items.length>0&&t.push(i),t},computedStyle(){const e=["borderRadius","marginTop","paddingLeft","paddingRight","marginBottom"],t=no(this.props,e),i=va(this.props,e);return{...v(t),...i}}},methods:{getModuleField:(e,t,i)=>e&&e[`module${t}_${i}`]||"",handleModuleTitleClick(e,t){const i=this.getModuleField(e,t,"mainSubLink");i&&"无操作"!==i&&console.log("模块标题跳转:",i)},handleClick(e){e.link&&"无操作"!==e.link&&(console.log("图片跳转:",e.link,e.name),this.$emit("linkClick",e))}}};const Yc={class:"img-combination-container"},Xc={key:0,class:"oneRowThree"},Zc={class:"threeImg"},ep=["src","onClick"],tp={key:1,class:"oneMainTwoSide"},ip={class:"img-container"},op={class:"main-img-wrapper"},ap=["src","onClick"],rp={class:"side-images"},sp={key:0,class:"side-img-wrapper"},np=["src","onClick"],lp={key:1,class:"side-img-wrapper"},cp=["src","onClick"],pp={key:2,class:"oneRowFlat"},dp={class:"flatImg"},gp=["src","onClick"],hp={key:3,class:"oneRowTwoMain"},up={class:"img-container"},mp={class:"main-img-wrapper"},fp=["src","onClick"],xp={class:"side-images"},yp={key:0,class:"side-img-wrapper"},bp=["src","onClick"],vp={key:1,class:"side-img-wrapper"},wp=["src","onClick"],kp={key:4,class:"equalHeightNotWidth"},Cp={class:"img-grid"},Sp={class:"grid-row"},Tp={key:0,class:"img-wrapper small"},Bp=["src","onClick"],jp={key:1,class:"img-wrapper large"},_p=["src","onClick"],Ap={class:"grid-row"},Lp={key:0,class:"img-wrapper large"},Np=["src","onClick"],Ip={key:1,class:"img-wrapper small"},zp=["src","onClick"],Pp={key:5,class:"equalWidthNotHeight"},Mp={class:"img-two-columns"},Dp={class:"left-column"},Op={key:0,class:"img-wrapper wide"},Fp=["src","onClick"],Rp={key:1,class:"img-wrapper square"},Up=["src","onClick"],$p={class:"right-column"},Gp={key:0,class:"img-wrapper square"},Ep=["src","onClick"],qp={key:1,class:"img-wrapper wide"},Kp=["src","onClick"],Wp={key:6,class:"fourMainOneLong"},Hp={class:"fourMainOneLong-container"},Vp=["src","onClick"],Qp={key:7,class:"fourMainEightImg"},Jp={class:"fourMainEightImg-row"},Yp={class:"module-wrapper"},Xp=["onClick"],Zp={class:"module-main-title"},ed={class:"module-sub-title"},td={class:"module-images"},id=["src","onClick"],od=["src","onClick"],ad={class:"module-wrapper"},rd=["onClick"],sd={class:"module-main-title"},nd={class:"module-sub-title"},ld={class:"module-images"},cd=["src","onClick"],pd=["src","onClick"],dd={class:"fourMainEightImg-row"},gd={class:"module-wrapper"},hd=["onClick"],ud={class:"module-main-title"},md={class:"module-sub-title"},fd={class:"module-images"},xd=["src","onClick"],yd=["src","onClick"],bd={class:"module-wrapper"},vd=["onClick"],wd={class:"module-main-title"},kd={class:"module-sub-title"},Cd={class:"module-images"},Sd=["src","onClick"],Td=["src","onClick"];Ta(".img-combination-container .block-container[data-v-301ea315]{margin-bottom:10px}.img-combination-container .block-container[data-v-301ea315]:last-child{margin-bottom:0}.oneRowThree .threeImg[data-v-301ea315]{display:flex;flex-wrap:wrap;gap:10px}.oneRowThree .threeImg img[data-v-301ea315]{background:#488cff;border-radius:8px;cursor:pointer;-o-object-fit:cover;object-fit:cover;width:calc(33.33333% - 6.66667px)}.oneMainTwoSide .img-container[data-v-301ea315]{display:flex;gap:10px;height:200px}.oneMainTwoSide .img-container .main-img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;height:100%;overflow:hidden;width:50%}.oneMainTwoSide .img-container .main-img-wrapper .main-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneMainTwoSide .img-container .main-img-wrapper .main-img[data-v-301ea315]:hover{transform:scale(1.02)}.oneMainTwoSide .img-container .side-images[data-v-301ea315]{display:flex;flex-direction:column;gap:10px;height:100%;width:50%}.oneMainTwoSide .img-container .side-images .side-img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;flex:1;min-height:0;overflow:hidden;width:100%}.oneMainTwoSide .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneMainTwoSide .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]:hover{transform:scale(1.02)}.oneRowFlat .flatImg[data-v-301ea315]{display:flex;flex-wrap:wrap;gap:10px}.oneRowFlat .flatImg img[data-v-301ea315]{aspect-ratio:2;border-radius:8px;cursor:pointer;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease,box-shadow .2s ease;width:calc(33.33333% - 6.66667px)}.oneRowFlat .flatImg img[data-v-301ea315]:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.oneRowTwoMain .img-container[data-v-301ea315]{display:flex;gap:10px}.oneRowTwoMain .img-container .main-img-wrapper[data-v-301ea315]{aspect-ratio:.72445255;background-color:#f5f7fa;border-radius:12px;flex:1;overflow:hidden}.oneRowTwoMain .img-container .main-img-wrapper .main-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneRowTwoMain .img-container .main-img-wrapper .main-img[data-v-301ea315]:hover{transform:scale(1.02)}.oneRowTwoMain .img-container .side-images[data-v-301ea315]{display:flex;flex:1;flex-direction:column;gap:10px}.oneRowTwoMain .img-container .side-images .side-img-wrapper[data-v-301ea315]{aspect-ratio:1;background-color:#f5f7fa;border-radius:12px;flex:1;overflow:hidden}.oneRowTwoMain .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]{cursor:pointer;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.oneRowTwoMain .img-container .side-images .side-img-wrapper .side-img[data-v-301ea315]:hover{transform:scale(1.02)}.equalHeightNotWidth .img-grid[data-v-301ea315]{display:flex;flex-direction:column;gap:10px}.equalHeightNotWidth .img-grid .grid-row[data-v-301ea315]{display:flex;gap:10px}.equalHeightNotWidth .img-grid .grid-row .img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;cursor:pointer;overflow:hidden}.equalHeightNotWidth .img-grid .grid-row .img-wrapper img[data-v-301ea315]{height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.equalHeightNotWidth .img-grid .grid-row .img-wrapper img[data-v-301ea315]:hover{transform:scale(1.02)}.equalHeightNotWidth .img-grid .grid-row .small[data-v-301ea315]{aspect-ratio:1;flex:1}.equalHeightNotWidth .img-grid .grid-row .large[data-v-301ea315]{aspect-ratio:2;flex:2}.equalWidthNotHeight .img-two-columns[data-v-301ea315]{display:flex;gap:10px}.equalWidthNotHeight .img-two-columns .left-column[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column[data-v-301ea315]{display:flex;flex:1;flex-direction:column;gap:10px}.equalWidthNotHeight .img-two-columns .left-column .img-wrapper[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .img-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:12px;cursor:pointer;overflow:hidden}.equalWidthNotHeight .img-two-columns .left-column .img-wrapper img[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .img-wrapper img[data-v-301ea315]{height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:100%}.equalWidthNotHeight .img-two-columns .left-column .img-wrapper img[data-v-301ea315]:hover,.equalWidthNotHeight .img-two-columns .right-column .img-wrapper img[data-v-301ea315]:hover{transform:scale(1.02)}.equalWidthNotHeight .img-two-columns .left-column .wide[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .wide[data-v-301ea315]{aspect-ratio:2}.equalWidthNotHeight .img-two-columns .left-column .square[data-v-301ea315],.equalWidthNotHeight .img-two-columns .right-column .square[data-v-301ea315]{aspect-ratio:1}.fourMainOneLong .fourMainOneLong-container[data-v-301ea315]{display:flex;flex-wrap:wrap;gap:10px}.fourMainOneLong .fourMainOneLong-container .main-img[data-v-301ea315]{cursor:pointer;height:120px;-o-object-fit:cover;object-fit:cover;width:calc(25% - 7.5px)}.fourMainOneLong .fourMainOneLong-container .long-img[data-v-301ea315]{cursor:pointer;height:180px;-o-object-fit:cover;object-fit:cover;width:100%}.fourMainEightImg .fourMainEightImg-row[data-v-301ea315]{display:flex;gap:8px;margin-bottom:8px}.fourMainEightImg .fourMainEightImg-row[data-v-301ea315]:last-child{margin-bottom:0}.fourMainEightImg .module-wrapper[data-v-301ea315]{background-color:#f5f7fa;border-radius:8px;display:flex;flex:1;flex-direction:column;overflow:hidden}.fourMainEightImg .module-wrapper .module-title-area[data-v-301ea315]{cursor:pointer;padding:8px 10px 6px;text-align:left}.fourMainEightImg .module-wrapper .module-title-area .module-main-title[data-v-301ea315]{color:#333;font-size:15px;font-weight:600;line-height:1.3;margin-bottom:2px}.fourMainEightImg .module-wrapper .module-title-area .module-sub-title[data-v-301ea315]{color:#999;font-size:12px;line-height:1.3}.fourMainEightImg .module-wrapper .module-images[data-v-301ea315]{display:flex;gap:4px;padding:0 8px 8px}.fourMainEightImg .module-wrapper .module-images img[data-v-301ea315]{border-radius:4px;cursor:pointer;flex:1;height:100px;-o-object-fit:cover;object-fit:cover;transition:transform .2s ease;width:50%}.fourMainEightImg .module-wrapper .module-images img[data-v-301ea315]:hover{transform:scale(1.03)}"),Jc.render=function(c,p,d,g,h,u){return e(),t("div",Yc,[(e(!0),t(a,null,r(u.parsedBlocks,((c,p)=>(e(),t("div",{key:c.blockId,class:"block-container",style:i(u.computedStyle)},["oneRowThree"===c.styleType?(e(),t("div",Xc,[s("div",Zc,[(e(!0),t(a,null,r(c.items,((i,o)=>(e(),t("img",{key:o,src:i.imgUrl,onClick:e=>u.handleClick(i)},null,8,ep)))),128))])])):n("",!0),"oneMainTwoSide"===c.styleType?(e(),t("div",tp,[s("div",ip,[s("div",op,[c.items[0]?(e(),t("img",{key:0,src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0]),class:"main-img"},null,8,ap)):n("",!0)]),s("div",rp,[c.items[1]?(e(),t("div",sp,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1]),class:"side-img top-img"},null,8,np)])):n("",!0),c.items[2]?(e(),t("div",lp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2]),class:"side-img bottom-img"},null,8,cp)])):n("",!0)])])])):n("",!0),"oneRowFlat"===c.styleType?(e(),t("div",pp,[s("div",dp,[(e(!0),t(a,null,r(c.items,((i,o)=>(e(),t("img",{key:o,src:i.imgUrl,onClick:e=>u.handleClick(i)},null,8,gp)))),128))])])):n("",!0),"oneRowTwoMain"===c.styleType?(e(),t("div",hp,[s("div",up,[s("div",mp,[c.items[0]?(e(),t("img",{key:0,src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0]),class:"main-img"},null,8,fp)):n("",!0)]),s("div",xp,[c.items[1]?(e(),t("div",yp,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1]),class:"side-img top-img"},null,8,bp)])):n("",!0),c.items[2]?(e(),t("div",vp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2]),class:"side-img bottom-img"},null,8,wp)])):n("",!0)])])])):n("",!0),"equalHeightNotWidth"===c.styleType?(e(),t("div",kp,[s("div",Cp,[s("div",Sp,[c.items[0]?(e(),t("div",Tp,[s("img",{src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0])},null,8,Bp)])):n("",!0),c.items[1]?(e(),t("div",jp,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1])},null,8,_p)])):n("",!0)]),s("div",Ap,[c.items[2]?(e(),t("div",Lp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2])},null,8,Np)])):n("",!0),c.items[3]?(e(),t("div",Ip,[s("img",{src:c.items[3].imgUrl,onClick:e=>u.handleClick(c.items[3])},null,8,zp)])):n("",!0)])])])):n("",!0),"equalWidthNotHeight"===c.styleType?(e(),t("div",Pp,[s("div",Mp,[s("div",Dp,[c.items[0]?(e(),t("div",Op,[s("img",{src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0])},null,8,Fp)])):n("",!0),c.items[1]?(e(),t("div",Rp,[s("img",{src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1])},null,8,Up)])):n("",!0)]),s("div",$p,[c.items[2]?(e(),t("div",Gp,[s("img",{src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2])},null,8,Ep)])):n("",!0),c.items[3]?(e(),t("div",qp,[s("img",{src:c.items[3].imgUrl,onClick:e=>u.handleClick(c.items[3])},null,8,Kp)])):n("",!0)])])])):n("",!0),"fourMainOneLong"===c.styleType?(e(),t("div",Wp,[s("div",Hp,[(e(!0),t(a,null,r(c.items,((i,o)=>(e(),t("img",{key:o,class:l({"long-img":4===o,"main-img":4!==o}),src:i.imgUrl,onClick:e=>u.handleClick(i)},null,10,Vp)))),128))])])):n("",!0),"fourMainEightImg"===c.styleType?(e(),t("div",Qp,[s("div",Jp,[s("div",Yp,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[0],0)},[s("div",Zp,o(u.getModuleField(c.items[0],0,"mainTitle")),1),s("div",ed,o(u.getModuleField(c.items[0],0,"subTitle")),1)],8,Xp),s("div",td,[c.items[0]?(e(),t("img",{key:0,src:c.items[0].imgUrl,onClick:e=>u.handleClick(c.items[0])},null,8,id)):n("",!0),c.items[1]?(e(),t("img",{key:1,src:c.items[1].imgUrl,onClick:e=>u.handleClick(c.items[1])},null,8,od)):n("",!0)])]),s("div",ad,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[2],1)},[s("div",sd,o(u.getModuleField(c.items[2],1,"mainTitle")),1),s("div",nd,o(u.getModuleField(c.items[2],1,"subTitle")),1)],8,rd),s("div",ld,[c.items[2]?(e(),t("img",{key:0,src:c.items[2].imgUrl,onClick:e=>u.handleClick(c.items[2])},null,8,cd)):n("",!0),c.items[3]?(e(),t("img",{key:1,src:c.items[3].imgUrl,onClick:e=>u.handleClick(c.items[3])},null,8,pd)):n("",!0)])])]),s("div",dd,[s("div",gd,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[4],2)},[s("div",ud,o(u.getModuleField(c.items[4],2,"mainTitle")),1),s("div",md,o(u.getModuleField(c.items[4],2,"subTitle")),1)],8,hd),s("div",fd,[c.items[4]?(e(),t("img",{key:0,src:c.items[4].imgUrl,onClick:e=>u.handleClick(c.items[4])},null,8,xd)):n("",!0),c.items[5]?(e(),t("img",{key:1,src:c.items[5].imgUrl,onClick:e=>u.handleClick(c.items[5])},null,8,yd)):n("",!0)])]),s("div",bd,[s("div",{class:"module-title-area",onClick:e=>u.handleModuleTitleClick(c.items[6],3)},[s("div",wd,o(u.getModuleField(c.items[6],3,"mainTitle")),1),s("div",kd,o(u.getModuleField(c.items[6],3,"subTitle")),1)],8,vd),s("div",Cd,[c.items[6]?(e(),t("img",{key:0,src:c.items[6].imgUrl,onClick:e=>u.handleClick(c.items[6])},null,8,Sd)):n("",!0),c.items[7]?(e(),t("img",{key:1,src:c.items[7].imgUrl,onClick:e=>u.handleClick(c.items[7])},null,8,Td)):n("",!0)])])])])):n("",!0)],4)))),128))])},Jc.__scopeId="data-v-301ea315";var Bd={name:"cyy-column",props:{props:{type:Object,default:()=>({fontSize:"14",changeColor:"#0081CC",noChangeColor:"#888E98",lastLine:0,selectImg:[],marginTop:0,marginBottom:16})}},components:{"cyy-title":wa,"cyy-image":Ca,"cyy-search":Ba,"cyy-goods":La,"cyy-slider":qa,"cyy-goodsOne":Qa,"cyy-notice":bl,"cyy-collocation":Nr,"cyy-video":gc,"cyy-imgCombination":Jc,"cyy-ArsenalNavigation":fr,"cyy-ArsenalCarousel":Sr,"cyy-ArsenalActivity":_l,"cyy-ArsenalPicture":hr},data:()=>({current:0,floorArr:[],floorArrFlag:!0}),mounted(){console.log(this.props,2008),this.initData()},methods:{initData(){const e=this.props.selectImg[0];if(e){const t={modelTagvalueId:this.extractModelTagvalueId(e.link)};this.getIsLc(t)}},extractModelTagvalueId(e){if(!e)return 0;try{const t=new URL(e,"http://dummy.com").searchParams.get("modelTagvalueId");if(t)return Number(t)}catch(e){}const t=e.match(/modelTagvalueId=(\d+)/);if(t)return Number(t[1]);const i=e.split("?")[1];if(i){const e=new URLSearchParams(i).get("modelTagvalueId");if(e)return Number(e)}return 0},getIsLc(e){let t=this;return b?this.LcGetData(t,e):this.getData(t,e)},async LcGetData(e,t){try{const i=await yl(j);e.floorArr=e.handlerData(i),console.log(e.floorArr,"低代码环境获取数据,参数:",t)}catch(t){console.error("低代码环境获取数据失败:",t),e.floorArr=[]}},async getData(e,t){try{const i=await e.http.get(j,t);e.floorArr=e.handlerData(i),console.log(e.floorArr,"非低代码环境获取数据,参数:",t)}catch(t){console.error("获取数据失败:",t),e.floorArr=[]}},handlerData(e){const t=Aa(e,"modelTagvalueJson",{});if(tt(t))return[];try{return this.handleLcData(t).nodeGraph||[]}catch(e){return console.error("数据处理失败:",e),[]}},handleLcData:e=>JSON.parse(decodeURIComponent(e)),handleClick(e,t){this.current=t;const i={modelTagvalueId:this.extractModelTagvalueId(e.link)};console.log("点击栏目:",e.name,",提取的参数:",i),this.getIsLc(i)},linkClick(e){this.$emit("linkClick",e)},ToSearch(){b||this.$emit("ToSearch")},goSecList(e){console.log("goSecList:",e)},gosecGoodsDetail(e){console.log("gosecGoodsDetail:",e)},toDetail(e){console.log("toDetail:",e)},goSearch(){b||this.$emit("ToSearch")}}};const jd={class:"titul"},_d=["onClick"],Ad={class:"titContent"},Ld={key:0,class:"activeLine",style:{backgroundColor:"#0081CC"}},Nd={key:0,class:"cyy-wrap-margin"},Id={key:1,class:"cyy-wrap-margin"},zd={key:2,class:"cyy-wrap-margin"},Pd={key:3,class:"cyy-wrap-margin"},Md={key:4,class:"cyy-wrap-margin"},Dd={key:5,class:"cyy-wrap-margin"},Od={key:6,class:"cyy-wrap-margin"},Fd={key:7},Rd={key:8,class:"cyy-wrap-margin"},Ud={key:9,class:"cyy-wrap-margin"},$d={key:10,class:"cyy-wrap-margin"},Gd={key:11,class:"cyy-wrap-margin"},Ed={key:12,class:"cyy-wrap-margin"},qd={key:13,class:"cyy-wrap-margin"};Ta(".titul[data-v-2660cea8]{display:flex;overflow:visible}.titul .titli[data-v-2660cea8]{cursor:pointer;display:flex;position:relative}.titul .titli .titContent[data-v-2660cea8]{align-items:center;display:flex;flex-direction:column;margin-right:12px;position:relative}.titul .titli .titContent .titSpan[data-v-2660cea8]{color:#888e98;display:inline-block;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:1.2;padding-bottom:6px;position:relative;transition:color .3s ease}.titul .titli .titContent .activeLine[data-v-2660cea8]{background:#0081cc;border-radius:1px;display:block;height:2px;transition:all .3s ease;width:60%}.titul .titli .titLine[data-v-2660cea8]{background:hsla(236,7%,48%,.2);height:10px;margin-top:17px;width:1px}.titul .titli .titRed[data-v-2660cea8]{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}"),Bd.render=function(l,d,h,u,m,f){const x=c("cyy-title"),y=c("cyy-image"),b=c("cyy-search"),v=c("cyy-goods"),w=c("cyy-slider"),k=c("cyy-goodsOne"),C=c("cyy-ArsenalNavigation"),S=c("cyy-ArsenalCarousel"),T=c("cyy-notice"),B=c("cyy-collocation"),j=c("cyy-ArsenalActivity"),_=c("cyy-video"),A=c("cyy-imgCombination"),L=c("cyy-ArsenalPicture");return e(),t("div",{style:i({marginTop:(h.props.marginTop||0)+"px",marginBottom:(h.props.marginBottom-16||0)+"px"})},[s("div",jd,[(e(!0),t(a,null,r(h.props.selectImg,((a,r)=>(e(),t("div",{class:"titli",key:r,onClick:e=>f.handleClick(a,r)},[s("div",Ad,[s("span",{class:"titSpan",style:i({color:m.current===r?h.props.changeColor||"#0081CC":h.props.noChangeColor||"#888E98",fontSize:(h.props.fontSize||"14")+"px"})},o(a.name),5),m.current===r?(e(),t("span",Ld)):n("",!0)])],8,_d)))),128))]),s("div",null,[(e(!0),t(a,null,r(m.floorArr,((i,o)=>(e(),t("div",{key:o},["Title"===i.type?(e(),t("div",Nd,[p(x,{props:i.props},null,8,["props"])])):n("",!0),"Cube"===i.type?(e(),t("div",Id,[p(y,{props:i.props},null,8,["props"])])):n("",!0),"Search"===i.type?(e(),t("div",zd,[p(b,{props:i.props,onToSearch:f.ToSearch},null,8,["props","onToSearch"])])):n("",!0),"Goods"===i.type?(e(),t("div",Pd,[p(v,{props:i.props},null,8,["props"])])):n("",!0),"Slider"===i.type?(e(),t("div",Md,[p(w,{props:i.props},null,8,["props"])])):n("",!0),"GoodsOne"===i.type?(e(),t("div",Dd,[p(k,{props:i.props},null,8,["props"])])):n("",!0),"ArsenalNavigation"===i.type?(e(),t("div",Od,[p(C,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0),"ArsenalCarousel"===i.type?(e(),t("div",Fd,[p(S,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0),"Notice"===i.type?(e(),t("div",Rd,[m.floorArrFlag?(e(),g(T,{key:0,props:i.props},null,8,["props"])):n("",!0)])):n("",!0),"Collocation"===i.type?(e(),t("div",Ud,[p(B,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0),"ArsenalActivity"===i.type?(e(),t("div",$d,[p(j,{props:i.props,onGoSecList:f.goSecList,onGosecGoodsDetail:f.gosecGoodsDetail,onToDetail:f.toDetail},null,8,["props","onGoSecList","onGosecGoodsDetail","onToDetail"])])):n("",!0),"Video"===i.type?(e(),t("div",Gd,[p(_,{props:i.props},null,8,["props"])])):n("",!0),"ImgCombination"===i.type?(e(),t("div",Ed,[p(A,{props:i.props},null,8,["props"])])):n("",!0),"ArsenalPicture"===i.type?(e(),t("div",qd,[p(L,{props:i.props,onLinkClick:f.linkClick},null,8,["props","onLinkClick"])])):n("",!0)])))),128))])],4)},Bd.__scopeId="data-v-2660cea8";export{_l as ArsenalActivity,Sr as ArsenalCarousel,fr as ArsenalNavigation,hr as ArsenalPicture,Ds as ArsenalTop,Nr as Collocation,Bd as Column,Ca as Cube,La as Goods,Qa as GoodsOne,Jc as ImgCombination,gl as Live,uc as Mileage,bl as Notice,Ba as Search,qa as Slider,fc as Task,wa as Title,gc as Video};