s-material-react 1.4.28 → 1.4.29
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/css/pages/afterSalesDetailGroup/afterSalesDetail.scss +1 -0
- package/css/pages/goodsClassifyGroup/goodsClassifyTwo.scss +3 -0
- package/dist/components/AfterSalesDetailGroup/AfterSalesDetail/state.d.ts +1 -1
- package/dist/components/GoodsClassifyGroup/GoodsClassifyTwo/components/level3Arr.d.ts +1 -0
- package/dist/components/MyAgreementGroup/MyAgreement/index.d.ts +2 -0
- package/dist/components/MyAgreementGroup/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getState: (refundType: string, orderState: number
|
|
1
|
+
export declare const getState: (refundType: string, orderState: number) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MyAgreement';
|
|
@@ -36,6 +36,7 @@ export * from './PaymentModeGroup';
|
|
|
36
36
|
export * from './RefundGroup';
|
|
37
37
|
export * from './RefundOnlyGroup';
|
|
38
38
|
export * from './MySettingGroup';
|
|
39
|
+
export * from './MyAgreementGroup';
|
|
39
40
|
export * from './AfterSalesTypeGroup';
|
|
40
41
|
export * from './AfterSalesApplyGroup';
|
|
41
42
|
export * from './AfterSalesDetailGroup';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a,Fragment as l}from"react/jsx-runtime";import{NoticeBar as o,useComponent as s,antdMobile as n,IconMobile as i}from"@brushes/simulate-component";import{useNotice as t,useCube as c,useOrderOperate as r,orderStatusImpl as d,useOrderList as m,orderStatusList as h,useOrderDetail as p,useGoodsClassify as u,useGoodsList as g,useEvaluateDetail as N,useExpressInfo as C,useEditAddress as f,useOrderResultResult as b,useCouponList as y,useStore as x,useCartItem as k,StoreProvider as w,useCartList as v,useCartTop as S,useCartListNext as I,useCartOperate as A,useFootprint as B,useCollectionList as V,useNoticeDetail as T,useArticleDetail as D,useOrderAddress as L,useOrderGood as P,useOrderCoupon as R,useOrderInfo as z,useOrderPay as M,useGoTop as O,useGoods as F,useGoodDetail as j,useBanner as G,useGoodCollection as W,useGoodSpecAndPrice as E,useGoodFootprint as H,useGoodsShare as Y,popupImplement as U,useGoodSkuStore as Q,usePromotion as K,useAddCoupon as q,useCoupon as $,useEvaluate as _,useAddShopping as Z,useGoodSku as X,useAllCoupon as J,useMarketingPromotion as ee,useAddressItem as ae,useAddressList as le,useOrderResult as oe,useMySetting as se,useAfterSalesChooseType as ne,useAfterSalesApply as ie,useAfterSalesDetail as te,useAfterSalesList as ce,afterSalesTabConfig as re}from"qj-mobile-store";import de,{memo as me,useMemo as he,useState as pe,useEffect as ue,createElement as ge,createContext as Ne,useContext as Ce,useRef as fe,Fragment as be}from"react";import{navigatorHandler as ye,getEnv as xe,getStorage as ke,getTaro as we,useImmutableCallback as ve,navigatorBackImpl as Se,setStorage as Ie}from"@brushes/utils";import Ae from"classnames";import{queryOcsconfigList as Be,getContractNumbers as Ve,find as Te}from"qj-b2c-api";import De from"dayjs";import{get as Le,isEmpty as Pe,groupBy as Re,isEqual as ze,noop as Me}from"lodash-es";import Oe from"china-division/dist/provinces.json";import Fe from"china-division/dist/cities.json";import je from"china-division/dist/areas.json";const Ge=({direction:a,speed:l,num:s,color:n})=>{const{content:i,navigator:c}=t(s);return e(o,{navigator:c,color:n,speed:l,direction:a,content:i})},We=me((({value:a,textIndent:l,fontSize:o,textAlign:n,color:i,backgroundColor:t,fontWeight:c,textDecoration:r,fontStyle:d,paddingTop:m,paddingLeft:h,paddingRight:p,paddingBottom:u})=>{const{View:g}=s();return e(g,{className:"components-title",style:{paddingTop:m,paddingBottom:u},children:e(g,{style:{fontSize:o,textAlign:n,color:i,backgroundColor:t,fontWeight:c,textDecoration:r,fontStyle:d,paddingLeft:h,paddingRight:p,textIndent:l},children:a})})})),Ee=me((({defaultValue:a,type:l,borderRadius:o,outerShadow:n,paddingRight:i,paddingLeft:t,picGap:r,xGap:d,paddingTop:m,paddingBottom:h,selectImg:p})=>{const{View:u,Image:g}=s(),N=c(a,p);return e(u,{style:{paddingTop:m,paddingBottom:h,paddingLeft:d,paddingRight:d},children:e(u,{className:`cube-type${l}`,style:{paddingLeft:t,paddingRight:i,gap:r},children:N.map(((a,s)=>e(g,{className:"block "+(n?"outer-shadow":""),mode:1===l?"widthFix":"scaleToFill",src:a.imgUrl,style:{width:"100%",borderRadius:o+"px"},onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)}},s)))})})})),He=me((({url:a,poster:l,autoplay:o,loop:n,paddingTop:i,paddingBottom:t,paddingLeft:c,paddingRight:r})=>{const{View:d}=s();return e(d,{style:{paddingTop:i,paddingBottom:t},children:e("video",{className:"components-video",src:a,poster:l,autoPlay:o,loop:n,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:c,paddingRight:r}})})})),Ye=me((({width:a,height:l,top:o,right:n,bottom:i,left:t,borderRadius:c})=>{const{View:r}=s();return e(r,{style:{width:a,height:l,borderRadius:c,top:o,left:t,right:n,bottom:i},className:"components-service"})})),Ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADcdJREFUeF7tnQXMZUcVx38FihUvbkGCu7sVDVYo7lLctUhwd1JcUiw4FCgeXIMU1+LuUtwtP3Ze2C673zvn3pkr37sn2WzTPTNv5sz/jhzdi4U2WgJ7bfTsl8mzAGDDQbAAYAHAhktgw6e/7AALADZcAhs+/WUHWACw4RLY8OkvO8ACgG0jgb2BMwHnKH+fCNgHOB7gfwv2vwF/BI4E/gD8Cvg68DXgh9tGEomJzHkHOCewH3B54LzAGYFjJOa+K6uAEAifAt4HfAD4eY/+ZtF0TgA4FnBN4ICy8KdsLOF/A18C3g28Gji88e+N0v0cAHAh4JbATYCTjSKlHT96BPAa4GXAt0ccR9WfnioAjg7cGHgQcK6qM+7f2b+Aw4DHleOif48j9jA1AHiR80t/MHC2EeUS/emPAg8H3httMDW+KQHg2sDBwBmmJqTAeN4B3B34VoB3UixTAMBpgMcDt5iUZPKD8Yn5dOARwF/yzcdpMSYA/O37FYEdd5zpN/nVbwIHAh9q0nvlTscCwEmBlwJXrzyfqXT3T+AxwKMAL42TpTEAcFnglYBb/3an9wM3BX461YkODYC7lXOyj8Zud7L0i/s88Nmi2lW965/f7aT6td0xi3r4xMC+wFmBs5cXx8WA0zdYqB8D1wA+16Dv3l0OCYBHAw/pPeL/daDu/g3lCeZ5+5sKfZ8ZuAJwZeBawHEq9GkXvwWuU9TLlbqs080QAFCp8xzgDhWGrCHn0KKNc3tteb6eALheeZ1ob+grq78CNyvjryCKOl30ndS6Ubj4nvc3XMe45t+13j0TeEax4PXsLt1cY5PKqesDzqkreVTdtgC4ax9V27UGwPOAO/YYsV+8KlcX//c9+qnV1DuDR1kfQP8DuC7w1lqD6tNPSwD4BHpoj8EpIC+N3+vRR6umHgnPBjRJd6E/A1cBPtKlcc02rQBwlyKgLmP9RdkmJ/GFbDEBXxTaAR4IHK3DRH8NXAb4Soe21Zq0AIDPqQ8DGnay5G3ed/OPsg1H5PfV8ArgVB3G8A1Ac/dox1ttAPi29i1+ug7CeFK5aHlRmhu5+L5OLtFh4C8f0w5SEwD29UZg/6QQ9Lw5CHhKst3U2LVnvLYofbJjux1wSLZRDf6aALhX0fJlxvV34NblqZhpN1VeNZwupB5MGfJSeMHidZRp15u3FgBOC3y1eOBGB+WX75v4JdEGM+FTphq6suZt7z++LpTLYFQLAK8vWrPMwO8LPC3TYEa8XoDfAlw1OWYvwK9KtunFXgMAVwP0iMmQ5/39Mw1myHv88s5XixilnxTjlEasQagvADzzfMeeJTFalR8+ndSIbXdSc2icgWCI0lOLo0yUvxdfXwB42fG8i5LKDy87U9TuReeQ5btRiSuItvtTCXIZJCilDwDUfhk4YShWlNSBvynKvI34jCXIXAqfUFzim4ugDwC0jL0uMcI3d9ARJLqfNKsKMsPO/DtC3gH0jtYK2pT6AMCzTTVmhNzWDPD4boR5m/LcufhFRKenIU2/wqbUFQAXAD6TGNkji/dvosm2Y9WP4NPA+YIz82Mx2rmpXqArAHy/3zs4kcG2s+B4xmS7QVEXR8dwudbu5V0A4NPvB0A0OtegD71pFtphNv5CIt5RtbJ2gmbUBQB6uEZt9UbIeJn5WbMZzK/jWyXU3+6efmjaCppQFwC8MIFKw6mN8l3ofxI4NqDGz6wlETInwtsijF14ugDAAEgvJxFqOvjIACbK49auISxC3re0mzShLAAMnIhq8dRkaSXU5LvQUSWg1U+39ggZUOKrqwllAXAb4EXBkXhU1IgFCP7crNi8DBouFsl4YuzDKYBftphhFgDq/aPODiZ6MLfOQruXgN5DPgsjZICKUVDVKQsAlT+R7UjlxamnHBRZXZL5DjOaQb2PdbOvThkAyOuzxLx760jvoK4+8+v63i7/blCqcoqQTiI6i1SnDAC80KkAipBbv0fAQnuWgPcAI598Fq4jVcgXXsfU5d8zALhSyZkX+Z1F9x+REnwROHeA1SSWBqtWtwtkAHB74AWBwcpiFKxBoQttLQHN6ZrVI6RGsLpGNQMA8/k8OTJS4OLAJ4K8m8z2xBITEZGBafNMelGVMgBwW39Y8Ne94OgAsdDWEjARptHPEdL3ImOCj/SZSnqQMQF7YZxTfF9IWA2YjH429D1Cag8/GGHM8GR2gIwR6ITlyZgZyybyZiyDJtI01qAqZQCQ0QIaJ9fMhFlVAuN25lM5ellWa2gATlXKAMCECMb9R8g8gBZjWGhrCWReVuZUzAbgrJV/BgC6Kj9gbY87GCzesMkOoEExcR/AQJAINXEPywDAFG/mx4mQ4VAqORbaWgLq+M0tHKHRXwH3KNm8I4M1z957IowbzmP6PI1CETLMzIwiVSmzA2QuLD5vvDMstLUE/EiuGBCSPgFerM01WJUyAHALMhgkQubzu2eEccN5zHYayZksX5e0O2vFmwGAZmDNwZE27+oQG792sNuMISNPk26ZZLs6RRZz5x+NIta8vT4F55jwqbqQ99ChW3/0nvTihBNpavxZAETPLAeh/Vo79kK7l8BjEwEzd03GFYZlngWAUT4mRoyQGUDmnvkrMs+uPB8rVtNIe93wmqSbzwLA553ne4QsuGg61IX+XwInKbb9SN0EvYYMImmSUSULAJ8iZvmwiuc68vz35moUzEJHlcCdgOcGhWIZ28hTMdjdUdmyALC1JsnojXQ7ZwLrJPDSyHqDlwx2oLrYamRNqAsAMiphy7icv8nI59upVUnU6EVlL3+zUrXRQews7uwEzAhmJe6FdkhAJZlFJiPU/APqAgAHbqq3S0VmUN66Xh4X2hHi9Z1ELSJd8KIGuE7y7QoAq4BYDSRKnnc+ezadMiZ1b/3mVmjqWtcVAJZdsxxaJKjBRbe4snEFm0zZfMpmXj+gtcC6AsBxZXwE5TdRhAkjNpUyMQDKSB2KupSm1AcAXgaPACLKDCfhjqG7+GjVMZpKcuvOMwo0ezKPkK+n6pFAuw6zDwDsy2oXRgFFyciiPlXEor8zJT49pLWJ+MFEya3fI6A59QWAaWJNF5spmnTzUmOn+eQm8gPWE8pE9lpyR9+L5l+/8ukLAPvIuIvLr0+BlsLq7k0TWfCdh5HJAbBqZ8naaBa23lOuAQDftt4FolmvHLQp5i2Zpl1hu5IKMN24I3aTlQzMBmZircGoBgAcrPbqZyVH/UlgvxIjn2w6efbzlAyfmY/CQBpDxZupfXcntVoAMA/uxzskMXCrM//N3ya/pPEBetnThStbR9BAURVFg1ItADhoUW9IeLbkum9db70mQZg7+XRz24+m0V3N149HC+vgKfVqAsDJmBbu+R1WUW9jU9AOUiWjw/giTYzetRiGz74M/bYk3tJGMDjVBoATyD57VpP27LMq9xz9CI2ZNHw+c+Fbzds5ZwpvVAVJCwBYIOlwwIwWWTLwwUwk2Qtl9ndq8Zu3R5V413LyHnvWWh6tgHQLAChccwnr9ZI9C1cLY3kZbebfr7VSDfpRvatbV0bDt7thmPfH19AoIGgFACfqpVD3MS2HXcgyM+Yk0hO5ekhUlwGVNt7uze2TKQK17ue8++j3p1Z1UGoJACfixeidHc/GlSDUGAoC7Q6D35J3Wo2Tw3/DudV5RJJlZhdylJ2gNQAUgrd78+LqUdyHzFJuiXmBMFhlzbLFGxlt5Y6+c1g3/8FBMAQAnLQXHZU+hov1JauQGKFkLT6fXS12BTV45uRxm3drHkpOymbQ42DIianm9DiIRMNGQeIb2qrb+s77x9y7XQDhy0WQqr/3QqaxKurnEB1rhm+wnWBIACgAC06Y6OgiGWkkeF189Qkap/xbY5NPLf8YYeNCq6jxDPdMN+mCz9WaoNx1uDrAZGoHr9oPAoKhAeDk/LIsiHjQwFtrAkdVWL2n6PyiYsvqIF1A1vw4GAMAK+nuDxj23PWZWGWVGnWiIsyMKtZXkqyuPkkQjAkABWPs4MGARaW3A6m7MKWuauFdgzk9arynWEgjS82Og7EBsBKEFy9zCuk0OlfylaP2cqv0eJPbCaYCABddM7J2AEvSzulYMIGzETzR2n5ePD0OJrETTAkAqy/fG/qBJSll1qliyN3jy2W791WTdeCczE4wRQCsFnGfon0znaql56dAnuuHlbA4o52yC7/zHCaxE0wZADsLSzdptXLerH2/D026ah9aXi0GuNSi0UEwFwCsBL43cOmirfPieNFGGjuVN7ppebHzi49WS+0CjFFBMDcA7Cpg7wsCwtzECtJXhH/2Da6EW7qp79Qa+mbXNc0oZm3zQ6a4Gw0EcwfAntZZ1auGJwGy+uP/UzunWlgX7CNL/qIutoMgvlJso4BguwIgJfkJMQ/+OlgAMKHVL0PpsxOYkU1DWzipxAKA6QHAEfXZCVLhZQsApgmAviDQKTcUZ7AAYLoA6AMCjWt6S62lBQBrRTQ6Q5fjQD/Mt0dGvgAgIqXxeTIgMNBWQ1OoatsCgPEXNzqCKAhM3xetQzSot2t0ogvfniUgCDRC7al8jO5nxmKEI62XHWB+cDMji84zhtSv1s/IqUOKCT28+E59AcD8ALAasU6mFpLwzNeG0SndzgKA+QKgysgXAFQR43w7WQAw37WrMvIFAFXEON9OFgDMd+2qjHwBQBUxzreTBQDzXbsqI18AUEWM8+1kAcB8167KyBcAVBHjfDv5D+vIKZ/vdzjHAAAAAElFTkSuQmCC",Qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",Ke=me((({value:l,iconShow:o,fontColor:n,backgroundColor:i,borderRadius:t,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=[]})=>{const{View:u,Image:g}=s(),N=he((()=>Ae("txt",...p)),[p]);return e(u,{onClick:()=>ye("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxpositon":"",children:a(u,{className:"components-search",style:{backgroundColor:i,borderRadius:t?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(g,{src:Ue,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:n,display:"inline-block",fontSize:m},children:l})]})})})),qe=me((({value:l,iconShow:o,fontColor:n,backgroundColor:i,borderRadius:t,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=["mockWeight","mockItalic"]})=>{const{View:u,Image:g}=s(),N=he((()=>Ae("txt",...p)),[p]);return e(u,{onClick:()=>ye("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxPosition":"",children:a(u,{className:"components-search",style:{border:`1px solid ${i}`,borderRadius:t?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff"},children:[a(u,{style:{width:"80%"},children:[e(g,{src:Ue,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:n,display:"inline-block",fontSize:m},children:l})]}),e(u,{className:["seachBtn",t?"btnBorderRadius":""].join(" "),style:{fontSize:m,backgroundColor:i,width:"20%",color:n},children:"搜索"})]})})})),$e=me((({item:a,position:l,direction:o})=>{var n,i;const{Image:t,View:c}=s();return e(t,{mode:"scaleToFill",src:a.imgUrl,style:{width:"100%",height:"100%",paddingBottom:"top"===l&&"vertical"===o?"30px":"",marginTop:"top"===l&&"horizontal"===o?"30px":""},onClick:ye.bind(null,null===(n=a.link)||void 0===n?void 0:n.value,null===(i=a.link)||void 0===i?void 0:i.params)})})),_e=me((({Position:o,className:n="",className1:i="",defaultValue:t=[],type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C,selectImg:f,imgHeight:b,fontsize:y=16,textAlign:x="center",fontColor:k="#000000",backGroundColor:w="#ffffff"})=>{const v=he((()=>Ae({paddingbtm:"none"!==o,imgHeights:"bottom"===o&&"horizontal"===h}))),{SmoothSwiper:S,View:I}=s(),A=c(t,f||[]),B=a=>e(I,{className:i,style:{fontSize:y,zIndex:99,justifyContent:"left"===x?"flex-start":"center"===x?"center":"flex-end",color:k,backgroundColor:w},children:a.title});return e(I,{className:n,style:{paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C},children:e(S,{imgHeight:b,data:A,className:v,type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,interval:5e3,vertical:"vertical"===h,render:s=>a(l,{children:["top"===o||"bottom"===o?B(s):null,e($e,{item:s,position:o,direction:h})]})})})})),Ze=me((({paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:n,defaultValue:i=[],type:t,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTB:g=0,paddingLR:N=0,fontsize:C=16,textAlign:f="center",fontColor:b="#000000",backGroundColor:y="#ffffff",otherStyles:x=[],ImgShadow:k=!1,Position:w="top"})=>{const{View:v}=s(),S=he((()=>Ae("silder-title",{"silder-tops1":"top"===w&&"horizontal"===d,"silder-bottoms":"bottom"===w&&"horizontal"===d,"silder-bottoms1":"vertical"===d&&"bottom"===w,"silder-tops":"vertical"===d&&"top"===w},...x)),[x,w]);return e(v,{style:{padding:`${g}px ${N}px`},children:e(_e,{Position:w,defaultValue:i,type:t,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:n,fontsize:C,textAlign:f,fontColor:b,backGroundColor:y,className:Ae({"outer-shadow":k}),className1:S})})}));function Xe(e,a){var l={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&a.indexOf(o)<0&&(l[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)a.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(l[o[s]]=e[o[s]])}return l}function Je(e,a,l,o){return new(l||(l=Promise))((function(s,n){function i(e){try{c(o.next(e))}catch(e){n(e)}}function t(e){try{c(o.throw(e))}catch(e){n(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof l?a:new l((function(e){e(a)}))).then(i,t)}c((o=o.apply(e,a||[])).next())}))}const ea=xe(),aa=()=>{const[e,a]=pe([]);ue((()=>{Je(void 0,void 0,void 0,(function*(){const e=ke("service");if(e)a(l(e));else{const e=yield Be();a(l(e))}}))}),[]);const l=e=>{let a=[];for(let l=0;l<e.length;l++){const o=e[l].ocsOcserviceReDomain;a.push(`${o.ocserviceName}: ${o.ocserviceRemark}`)}return a};return{servicePopup:()=>{if(!ea)return;we().showActionSheet({itemList:e,success:function(e){console.log(e.tapIndex)},fail:function(e){console.log(e.errMsg)}})}}},la=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2}):"¥ 0",oa=(e=0)=>e?e.toLocaleString("en-Us",{minimumFractionDigits:2}):"0",sa=({dataPic:o,goodsName:n,goodsCamount:i,pricesetNprice:t,skuName:c,children:r})=>{const{View:d,Image:m,SmoothView:h}=s(),p=la(t),u=he((()=>i?`x ${i}`:""),[i]);return e(l,{children:a(d,{className:"card-item",children:[e(m,{src:o,alt:"",className:"card-item-img"}),a(d,{className:"card-item-info",children:[a(d,{className:"card-item-info-container",children:[e(h,{className:"card-item-info-container-title",children:n}),e(h,{className:"card-item-info-container-price",children:p})]}),a(d,{className:"card-item-info-sub",children:[e(h,{className:"sku",children:c}),e(h,{className:"count",children:u})]}),r]})]})})},{Button:na}=n,ia=a=>{var{dataState:o}=a,s=Xe(a,["dataState"]);return e(l,{children:["2","-1"].includes(o+"")?null:e(ta,Object.assign({dataState:o},s))})},ta=a=>{var{dataState:l,contractAppraise:o,color:n,borderColor:i,btnColor:t,btnShape:c}=a,d=Xe(a,["dataState","contractAppraise","color","borderColor","btnColor","btnShape"]);const{View:m}=s();4!==l&&4!==l||1===o?4!==l&&4!==l||1!==o||(l=5):l=4;const{operateArray:h,handlerImpl:p}=r(Object.assign({dataState:l},d));return e(m,{className:"btnGroup",children:h.map(((a,l)=>e(na,{style:{color:n,borderColor:i,backgroundColor:t},className:Ae({btn:!0,white:0===l,black:1===l}),onClick:()=>p(a.handler),shape:c,children:a.name},l)))})};const ca=(e,a)=>{const[l,o]=pe("");return ue((()=>{const l=setTimeout((()=>{const l=new Date(e),s=new Date,n=l.getTime()-s.getTime();n<999&&n>0?a():n>1e3&&o(((e,a)=>{const l=Math.floor(e/1e3)%60,o=Math.floor(e/1e3/60)%60,s=Math.floor(e/1e3/60/60)%24;return`${Math.floor(e/1e3/60/60/24)}天 ${s}小时 ${o}分钟 ${l}秒${a}`})(n,"后将取消订单,请尽快支付"))}),1e3);return()=>{clearTimeout(l)}}),[l]),{resultTime:l}},{Button:ra}=n,da=({contractPaydate:a,init:o})=>{const{View:n,SmoothView:i}=s(),{resultTime:t}=ca(a,o);return e(l,{children:t?e(n,{className:"card-item-info-countDown",children:e(i,{children:t})}):null})};function ma({contractBillcode:l,dataBmoney:o,dataBnum:n,goodsList:i,dataState:t,contractId:c,init:r,contractAppraise:m,borderRadius:h,orderSpacing:p,contractPaydate:u}){const{View:g}=s(),N=d(t);return a(g,{className:"orderListItem",style:{borderRadius:h?8:"",marginTop:p,marginBottom:p},children:[a(g,{onClick:()=>ye("orderDetail",{contractBillcode:l}),children:[a(g,{className:"topInfo",children:[a(g,{className:"orderNo",children:["订单号: ",l,e(ra,{className:"copy",size:"mini",fill:"outline",children:"复制"})]}),e(g,{className:"status",children:N})]}),e(g,{className:"card-item-info-countDown"}),e(g,{className:"goodsItemWrap",children:i.map((a=>e(sa,Object.assign({},a,{dataState:t,children:1===t&&e(da,{contractPaydate:u,init:r})}),a.contractGoodsId)))})]}),a(g,{className:"allInfo",children:[a(g,{className:"totalNum",children:["共",n,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",la(o)]})]}),e(ia,{init:r,contractId:c,contractBillcode:l,dataState:t,contractAppraise:m})]})}const ha=xe(),pa=a=>{var{bottomHeight:l,children:o,id:n,heightWrap:i}=a,t=Xe(a,["bottomHeight","children","id","heightWrap"]);const c=function(e){const[a,l]=pe(0);return ue((()=>{if(!xe()||!e)return;const a=we().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;l(a)}})).exec()}))})),a}(n),r=function(e=""){return he((()=>{if(!xe())return 0;const a=we(),l=a.getStorageSync("safeArea"),o=a.getStorageSync("tabBarHeight")||0;return l+(a.getCurrentPages().at(-1).$taroPath.indexOf("pages/")>=0?o:0)+(e?+e:0)}),[])}(l),{View:d}=s(),m=he((()=>{if(!ha)return n?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(n){return{height:`calc(${we().getSystemInfoSync().windowHeight+"px"} - ${c+r}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[c,r]);return e(d,Object.assign({},t,{style:Object.assign(Object.assign({},m),{paddingBottom:n?"":r}),id:n,children:o}))},ua=()=>{const{View:a,Image:l}=s();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const ga=me((function({item:l,refreshNum:o,borderRadius:n,orderSpacing:i}){const{View:t,ScrollView:c,Loading:r}=s(),{onScroll:d,data:h,loading:p,init:u}=m(l,o);return e(t,{className:"orderListItemWrap",children:e(pa,{id:"orderListItemWrap",children:e(c,{onScroll:d,children:h.length>0?a(t,{children:[h.map(((e,a)=>ge(ma,Object.assign({init:u},e,{key:a,borderRadius:n,orderSpacing:i})))),e(t,{children:p?e(r,{}):null})]}):a(t,{className:"nodata_img",children:[e(ua,{}),e(t,{className:"nodata-btn",onClick:()=>ye("goodList"),children:"前往购物"})]})})})})})),Na=me((({refreshNum:a=0,indexId:l=0,borderRadius:o=!1,orderSpacing:n=12})=>{const{View:i,Tabs:t}=s();return e(i,{className:"order-container",children:e(t,{defaultIndex:+l,tabs:h,render:l=>e(i,{className:"orderList",children:e(ga,{item:l,orderSpacing:n,refreshNum:a,borderRadius:o})})})})})),Ca=({className:a="iconfont",prefixClass:l="icon",onClick:o=(()=>{}),style:n={fontSize:16,color:"#444",fontWeight:900},value:i})=>{const{Text:t}=s();return e(t,{onClick:o,className:Ae(l,i?`${l}-${i}`:"",a),style:n})},{Button:fa}=n,ba=me((({copyContent:a=""})=>{const[l,o]=pe(!1),s=xe();return e(fa,{className:"copy",size:"mini",fill:"outline",onClick:()=>{if(s){const e=we();if(""===a)return void e.showToast({title:"复制内容为空",icon:"error"});e.setClipboardData({data:a,success:()=>{e.showToast({title:"复制成功",icon:"success"}),o(!0)},fail:()=>{e.showToast({title:"复制失败",icon:"error"})}})}},children:l?"已复制":"复制"})})),ya=me((({contractBillcode:o,expressWay:n,backgroundColor:i,color:t,paddingBottom:c,paddingTop:r,borderColor:m,btnColor:h,btnShape:u})=>{const{View:g,Text:N}=s(),{orderDetail:C,handleApplyBtn:f}=p(o||""),b=e=>De(e).format("YYYY-MM-DD HH:mm:ss");return a(g,{className:"orderDetail",children:[e(g,{style:{backgroundColor:i},className:"orderDetailTopTitle",children:a(g,{className:"orderDetailTopTitleContent",children:[a(g,{className:"icon_text",children:["待收货"===d(C.dataState)?e(Ca,{value:"daishouhuo",style:{color:"#ffffff",marginRight:"10px",fontSize:"20px"}}):"",e(N,{className:"title",children:d(C.dataState)})]}),e(g,{className:"subTitleWrap",children:b(C.gmtCreate)})]})}),e(g,{className:"orderDetailContent",style:{paddingTop:r+"px",paddingBottom:c+"px"},children:a(g,{style:{position:"relative",top:-26},children:[a(g,{className:"addressInfo",children:[e(g,{className:"lPart",children:e(Ca,{value:"dizhi"})}),a(g,{className:"mPart",children:[a(g,{className:"personInfo",children:[e(N,{className:"personName",children:C.goodsReceiptMem}),e(N,{className:"personPhone",children:C.goodsReceiptPhone})]}),e(g,{className:"address",children:C.goodsReceiptArrdess})]}),e(g,{className:"rPart"})]}),a(g,{className:"orderDetailGoodsWrap",children:[C.goodsList.map((o=>a(l,{children:[e(sa,Object.assign({},o),o.contractGoodsId),Number(C.dataState)>1?e(g,{className:"orderBtn",onClick:f.bind(null,o,C.dataState),children:"申请退款"}):""]}))),a(g,{className:"priceInfo",children:[a(g,{className:"priceInfoFloor top",children:[a(g,{className:"totalNum",children:["共",C.goodsNum,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",parseFloat((C.dataBmoney-C.refundMoney).toFixed(2))]})]}),a(g,{className:"priceInfoFloor",children:[e(g,{className:"totalNum",children:"商品总额"}),a(g,{className:"totalPrice",children:["¥",C.contractInmoney]})]}),a(g,{className:"priceInfoFloor",children:[e(g,{className:"totalNum",children:"优惠"}),a(g,{className:"totalPrice",children:["¥",C.goodsPmoney]})]})]})]}),n&&a(g,{className:"express",children:[e(g,{className:"label",children:"配送方式"}),e(g,{className:"name",children:"快递"})]}),a(g,{className:"orderInfo",children:[e(g,{className:"orderInfoItem",children:e(g,{className:"label",children:"订单信息"})}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"订单编号"}),a(g,{className:"context_copy",children:[e(g,{className:"name",children:C.contractBillcode}),e(ba,{copyContent:C.contractBillcode})]})]}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"下单时间"}),e(g,{className:"name",children:b(C.gmtCreate)})]})]}),e(g,{className:"btnGroupFooter",children:e(ia,{borderColor:m,btnColor:h,btnShape:u,color:t,contractBillcode:C.contractBillcode,contractId:C.contractId,dataState:C.dataState})})]})})]})})),xa=me((({navList:o,activeKey:n,cell:i=4})=>{const{View:t,Text:c,Image:r}=s();return e(l,{children:o.map((l=>e(t,{className:["content",n===`${l.goodsClassCode}`?" active":""].join(""),children:((null==l?void 0:l.childList)||[]).map((l=>a(t,{className:"classifyFloor",children:["0"===l.goodsClassHide?a(t,{className:"titleWrap",children:[e(c,{className:"title",children:l.goodsClassName}),e(c,{className:"line"})]}):"",e(t,{className:`container container_columns${i}`,style:{marginTop:"0"===l.goodsClassHide?"":"20px"},children:((null==l?void 0:l.childList)||[]).map((({classtreeCode:l,goodsClassCode:o,goodsClassLogo:s,goodsClassName:n})=>a(t,{onClick:()=>ye("goodList",{classtreeCode:l}),className:"classifyFloorGoodsItem",children:[e(r,{src:s,className:"logo"}),e(t,{className:"title",children:n})]},o)))})]},l.goodsClassCode)))},l.goodsClassCode)))})})),{SideBar:ka}=n,wa=me((({cell:l,color:o,activeTitle:n,paddingTop:i,paddingBottom:t})=>{const{View:c,ScrollView:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(c,{children:e(pa,{id:"goodsClassify",children:e(r,{children:a(c,{style:{height:p?"100%":"667px",paddingTop:i,paddingBottom:t},className:"goodsClassifyContainer",children:[e(c,{className:"side",children:e(ka,{activeKey:d,onChange:m,style:{"--width":"90px","--background-color":"#f5f5f5"},children:h.map((a=>e(ka.Item,{title:a.goodsClassName,className:0===n?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===d?o:"#000"}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(xa,{navList:h,activeKey:d,cell:l})})]})})})})})),va=Ne(null),Sa=me((()=>{const{navList:l,activeKey:o,setActiveKey:n,setFCoe:t,setSCoe:c,selectFontColor:r}=Ce(va),{View:d,ScrollView:m}=s(),[h,p]=pe(!1),u=(e,a)=>{n.bind(null,e)(),t(`${a}`),c("0"),h&&p(!1)};return a(d,{className:"goodsClassifyOne-headerPart",children:[a(d,{className:"goodsClassifyOne-topListWrap",children:[e(d,{className:"goodsClassifyOne-topList",children:l.map(((a,l)=>e(d,{className:["goodsClassifyOne-topListItem"].join(" "),onClick:()=>u(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?r:"#000",borderColor:o===`${a.goodsClassCode}`?r:"#000"},children:a.goodsClassName},l)))}),e(d,{className:"goodsClassifyOne-icon",onClick:()=>p(!0),children:e(i,{value:"paixusort-jiang"})})]}),h?a(d,{className:"goodsClassifyOne-tipWrap",children:[e(d,{className:"goodsClassifyOne-tipWrap-handleBar",children:e(d,{className:"goodsClassifyOne-icon",onClick:()=>p(!1),children:e(i,{value:"paixusort-sheng"})})}),e(pa,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:l.map(((a,l)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>u(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?r:"#000",borderColor:o===`${a.goodsClassCode}`?r:"#000"},children:a.goodsClassName},l)))})})})]}):null]})})),Ia=me((({thirdList:l})=>{const{View:o,Image:n}=s(),{picShadow:i,layout:t}=Ce(va);return e(o,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${t}, 1fr)`},children:l.map(((l,s)=>a(o,{className:"goodsClassifyOneFloorItem",onClick:()=>ye("goodList",{classtreeCode:l.classtreeCode}),children:[e(n,{src:l.goodsClassLogo,className:"pic",style:{boxShadow:i?"#DDDDDD 0px 0px 10px":""}}),e(o,{className:"title",children:l.goodsClassName})]},s)))})})),Aa=xe(),Ba=me((()=>{const{navList:l,fCoe:o,sCoe:n,setSCoe:i,selectFontColor:t,selectBlcShow:c,selectBlcStyle:r}=Ce(va),{secondList:d,thirdList:m}=(({navList:e,fCoe:a,sCoe:l})=>{const o=he((()=>{var l;return(null===(l=e[a])||void 0===l?void 0:l.childList)||[]}),[a,e]),s=he((()=>{var e;return(null===(e=o[l])||void 0===e?void 0:e.childList)||[]}),[l,a,e]);return{secondList:o,thirdList:s}})({navList:l,fCoe:o,sCoe:n}),{View:h,ScrollView:p,SideBar:u}=s();return e(h,{children:e(pa,{id:"goodsClassifyOneContent",children:e(p,{children:a(h,{className:"goodsClassifyOneContent",style:{height:Aa?"100%":"667px"},children:[e(u,{activeKey:n,onChange:i,children:d.map(((a,l)=>e(u.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===r?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":t,"--adm-color-primary":t}},l)))}),e(Ia,{thirdList:m})]})})})})})),Va=me((({selectFontColor:l,selectBlcColor:o,selectBlcShow:n,selectBlc:i,selectBlcStyle:t,picShadow:c,layout:r})=>{const{View:d}=s(),{navList:m,activeKey:h,setActiveKey:p}=u(),[g,N]=pe("0"),[C,f]=pe("0");return e(va.Provider,{value:{fCoe:g,setFCoe:N,sCoe:C,setSCoe:f,navList:m,activeKey:h,setActiveKey:p,selectFontColor:l,selectBlcColor:o,selectBlcShow:n,selectBlc:i,selectBlcStyle:t,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(Sa,{}),e(Ba,{})]})})})),Ta=me((({childList:l,layout:o,picShadow:n})=>{const{View:i,Image:t}=s();return e(i,{className:"level3Arr",style:{gridTemplateColumns:`repeat(${o}, 1fr)`},children:l.map(((l,o)=>a(i,{className:"level3ArrItem",onClick:()=>ye("goodList",{classtreeCode:l.classtreeCode}),children:[e(t,{src:l.goodsClassLogo,className:"logo",style:{boxShadow:n?"#DDDDDD 0px 0px 10px":""}}),e(i,{className:"title",children:l.goodsClassName})]},o)))})})),Da=me((({navList:l,activeKey:o,layout:n,picShadow:i})=>{var t;const[c,r]=pe(0);ue((()=>{r(l.findIndex(d))}),[o,c]);const d=e=>e.goodsClassCode===o,{View:m,Image:h}=s();return a(m,{className:"goodsClassifyTwoContent",children:[e(h,{className:"firstLevelImg",src:Le(l[c],"goodsClassLogo"),mode:"widthFix"}),null===(t=Le(l[c],"childList"))||void 0===t?void 0:t.map(((l,o)=>a(m,{children:["0"===l.goodsClassHide?e(m,{className:"level2Title",children:l.goodsClassName}):"",e(Ta,{childList:l.childList,layout:n,picShadow:i,style:{marginTop:"0"===l.goodsClassHide?"":"30px"}})]},o)))]})})),{SideBar:La}=n,Pa=me((({selectFontColor:l,selectBlcShow:o,selectBlcColor:n,selectBlcStyle:i,layout:t,picShadow:c})=>{const{View:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(r,{className:"goodsClassifyTwo",children:e(pa,{id:"goodsClassifyTwo",children:a(r,{className:"goodsClassifyTwoWrap",style:{height:p?"100%":"667px"},children:[e(r,{className:"side",children:e(La,{activeKey:d,onChange:m,style:{"--width":"88px","--background-color":"#f5f5f5"},children:h.map((a=>e(La.Item,{title:a.goodsClassName,className:[o?"":"goodsClassifyTwoFloorNoBlc",1===i?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":l}},a.goodsClassCode)))})}),e(r,{className:"main",children:e(Da,{navList:h,activeKey:d,layout:t,picShadow:c})})]})})})})),Ra=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],za=({setParams:l,activeColor:o})=>{const{View:n}=s(),[i,t]=pe(0),[c,r]=pe(Ra);return e(n,{className:"sortWrap",children:c.map((({order:s,sortField:c,name:d},m)=>a(n,{className:"sortItem "+(i===m?"active":""),onClick:()=>((e,a,o)=>{t(a),o&&r((e=>(e[a].order="asc"===o?"desc":"asc",[...e]))),l({sortField:e,order:o})})(c,m,s),style:{color:i===m?o:""},children:[d,s&&a(n,{className:"orderIcons",children:[e(Ca,{style:{color:i===m&&"desc"!==s?o:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(Ca,{style:{color:i===m&&"desc"===s?o:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},Ma=me((({classtreeCode:l="",searchParam:o="",activeColor:n="#e54e29",goodsName:i=!0,goodsPrice:t=!0,lineationGoods:c=!0,salesQuantity:r=!0,goodsCar:d=!0,borderRadius:m=!0,goodsColor:h=!0,goodsGap:p=10,paddingLR:u=0})=>{const{View:N,Loading:C,SmoothView:f,Image:b,ScrollView:y}=s(),[x,k]=pe({}),{loading:w,getData:v,list:S}=g(l,o,x),I=he((()=>Ae("textBox",{btm:!t&&!c})),[t,c]),A=he((()=>Ae("name",{boxNone:!i})),[i]),B=he((()=>Ae("middle_margin",{boxNone:!r})),[r]),V=he((()=>Ae("goodDetail",{boxNone:!t&&!c&&!d})),[t,c,d]),T=he((()=>Ae({detailContent:!(A.includes("boxNone")&&B.includes("boxNone")&&V.includes("boxNone"))})),[A,B,V]);return a(N,{className:"goodsList",children:[e(N,{className:"top-info",children:e(za,{setParams:k,activeColor:n})}),e(N,{className:"listWrap",style:{padding:` 0px ${u}px`},children:e(pa,{id:"listWrap",children:a(y,{onScroll:()=>v(x),children:[e(N,{className:"list",style:{gap:p},children:S.map((l=>a(N,{onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),className:"listItem",style:{borderRadius:m?"8px":"",boxShadow:h?"4px 4px 4px #969292":""},children:[e(b,{src:l.dataPic,className:"img"}),a(N,{className:T,children:[e(f,{className:A,children:l.goodsName}),a(N,{className:B,children:["已售:",l.goodsNum]}),a(N,{className:V,children:[a(N,{className:I,children:[e(f,{className:"price",style:{display:t?"block":"none"},children:la(l.pricesetNprice)})," ",e(N,{className:"decoration",style:{display:c?"block":"none"},children:la(l.pricesetMakeprice)})]}),e(N,{style:{display:d?"block":"none"},children:e(Ca,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},l.skuCode)))}),w?e(C,{}):null]})})})]})})),Oa=xe(),Fa=me((({placeholder:l,placeholderText:o,history:n,historyText:i,paddingBottom:t,paddingTop:c})=>{const{View:r,Text:d,Input:m}=s(),[h,p]=pe((()=>ke("history")||[])),u=ve((e=>Je(void 0,void 0,void 0,(function*(){Oa&&(p((a=>{if(Pe(e.detail.value))return a;const l=a.concat(e.detail.value);return Ie("history",l),l})),g(e.detail.value))})))),g=ve((e=>{ye("goodList",{searchParam:e})}));return a(r,{className:"searchPage",style:{paddingTop:c,paddingBottom:t},children:[a(r,{className:"search-title",children:[e("img",{src:Ue,alt:""}),e(m,Object.assign({"confirm-type":"search",type:"text",className:"content",onConfirm:u},l?{placeholder:o}:{})),e(d,{className:"btn",onClick:()=>Se(),children:"取消"})]}),n?a(r,{className:"historyWrap",children:[a(r,{className:"title",children:[a(r,{className:"label",children:[e(r,{className:"icon"}),i]}),e(Ca,{onClick:()=>Je(void 0,void 0,void 0,(function*(){(yield we()).removeStorageSync("history"),p([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(r,{className:"content",children:h.map(((a,l)=>e(r,{onClick:()=>g(a),className:"historyItem",children:a},l)))})]}):null]})})),ja=({starColor:l="#FF0934",starSize:o="12px",itemData:i})=>{const{View:t,Text:c,Image:r}=s(),{Rate:d}=n;return a(t,{className:"evaluateItem",children:[a(t,{className:"userInfo",children:[e(r,{src:i.avatar,className:"avatar"}),a(t,{className:"userNameWrap",children:[e(c,{className:"userName",children:i.userName}),e(d,{readOnly:!0,value:i.rate,style:{"--star-size":o,"--active-color":l}})]})]}),a(t,{className:"size",children:["规格: ",i.size]}),e(t,{className:"content",children:i.evaluate}),e(t,{className:"img-group",children:i.imgUrls.map(((a,l)=>e(r,{src:a.imgUrl,className:"img"},l)))})]})},Ga=[{avatar:"http://www.qianjiangcloud.com/images/centerimga/pic%EF%BC%8Flogo+@2x.png",userName:"张三李四王五",rate:4.5,size:"一大通",evaluate:"实物与描述的一样,质量相当好,卖家态度也好,有问必答,发货速度杠杠的,值得购买哦。外观设计漂亮,尺寸大小合适,包装仔细完整,宝贝手感不错,感觉很好,发货速度快,服务态度一流,给力!5星好评!",imgUrls:[{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"},{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"},{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"},{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"}]},{avatar:"http://www.qianjiangcloud.com/images/centerimga/pic%EF%BC%8Flogo+@2x.png",userName:"张三李四王五",rate:4.5,size:"一大通",evaluate:"实物与描述的一样,质量相当好,卖家态度也好,有问必答,发货速度杠杠的,值得购买哦。外观设计漂亮,尺寸大小合适,包装仔细完整,宝贝手感不错,感觉很好,发货速度快,服务态度一流,给力!5星好评!",imgUrls:[{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"}]}],Wa=me((()=>{const[o,n]=pe("1"),{View:i}=s(),t=fe([{label:"全部",num:"900+",index:"1"},{label:"好评",num:"800+",index:"2"},{label:"中评",num:"99+",index:"3"},{label:"差评",num:"12",index:"4"}]),c=e=>{n(e)};return a(l,{children:[e(i,{className:"evaluateListTab",children:t.current.map((e=>a(i,{className:"evaluateListTabItem "+(e.index===o?"active":""),"data-index":e.index,onClick:c.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(i,{className:"evaluateListContent",children:Ga.map(((a,l)=>e(ja,{itemData:a},l)))})]})})),Ea=({onChange:a,readOnly:l=!1,size:o=22,count:n})=>{const{View:i}=s(),[t,c]=pe([{icon:"star-fill"},{icon:"star"},{icon:"star"},{icon:"star"},{icon:"star"}]);ue((()=>{if(n){const e=[...t];for(let a=0;a<e.length;a++)e[a].icon=a>n-1?"star":"star-fill";c(e)}}),[]);const r=e=>{if(!l){for(let a=0;a<t.length;a++)t[a].icon=a>e?"star":"star-fill";c([...t]),a(e+1)}};return e(i,{children:t.map(((a,l)=>e(Ca,{onClick:r.bind(null,l),value:a.icon,style:{color:"#EC6C5C",fontSize:o}},l)))})},Ha=me((({code:l,borderRadius:o,borderColor:i,color:t,buttonColor:c,buttonBorderRadius:r,paddingTop:d,paddingBottom:m})=>{const{orderInfo:h,changeStar:p,Submit:u,changeContent:g}=N(l),{Button:C}=n,{View:f,Image:b,TextArea:y,Textarea:x}=s(),k=y||x,w=fe("宝贝满足你吗?分享一下它吧");return a(f,{className:"evaluateDetail",style:{paddingTop:d,paddingBottom:m},children:[h.map(((l,s)=>a(be,{children:[a(f,{className:"topInfo",children:[a(f,{className:"lPart",children:[e(b,{src:l.dataPic,className:"img",style:{borderRadius:1===o?"20px":"0px"}}),a(f,{className:"goodsInfo",children:[e(f,{className:"goodsName",children:l.goodsName}),e(f,{className:"goodsSize",children:l.skuName})]})]}),e(f,{className:"rPart",children:a(f,{className:"price",children:["¥ ",l.pricesetNprice]})})]}),a(f,{className:"rate",children:[e(f,{className:"title",children:"商品评价"}),e(Ea,{onChange:p.bind(null,s)})]}),e(f,{className:"evaluate",children:e(k,{className:"content",placeholder:w.current,rows:5,maxLength:30,onInput:g.bind(null,s)})})]},s))),e(C,{style:{border:`1px solid ${i}`,color:t,backgroundColor:c,borderRadius:1===r?"20px":"0px"},className:"btn",onClick:u,children:"提交"})]})})),Ya=({code:l,defaultValue:o})=>{const{info:n,detail:i,stateObj:t}=C(l),{View:c}=s(),r=Le(n,"packageList[0].contractGoodsList[0].dataPic",o.dataPic),d=Le(n,"packageList.length",o.count),m=Le(n,"packageList[0].expressName",o.expressName),h=Le(n,"packageList[0].packageBillno",o.packageBillno),p=Le(i,"state",o.result)||"-1";return a(c,{className:"expressInfoTop",children:[e(c,{className:"goodsImg",style:{backgroundImage:`url(${r})`},children:a(c,{className:"tip",children:["共 ",d," 件商品"]})}),a(c,{className:"list",children:[a(c,{className:"listItem",children:["物流状态:",p?t[p]:"暂时无法获取物流状态"]}),a(c,{className:"listItem",children:["快递公司:",m]}),a(c,{className:"listItem",children:["快递单号:",h]})]})]})},Ua=({code:l,defaultValue:o})=>{const{detail:n}=C(l),{View:i}=s(),t=Le(n,"message",o.message),c=Le(n,"data",o.list);return e(i,{className:"expressInfoStep",children:"ok"===t?c.map(((l,o)=>a(i,{className:"step",children:[e(i,{className:"time",children:l.time}),e(i,{children:l.context})]},o))):e(i,{className:"noInfo",children:t})})},Qa=me((({code:l,defaultValue:o})=>{const{View:n}=s();return a(n,{className:"expressInfo",children:[e(Ya,{code:l,defaultValue:o}),e(Ua,{code:l,defaultValue:o})]})})),Ka=[{type:"input",props:{onlyShowClearWhenFocus:!0,placeholder:"请填写收货人姓名"},label:"收货人",name:"addressMember",rules:[{required:!0,message:"收货人姓名不能为空"}]},{type:"input",props:{type:"number",onlyShowClearWhenFocus:!0,placeholder:"请填写收货人手机号码"},label:"手机号码",name:"addressPhone",rules:[{required:!0,message:"收货人手机号码不能为空"},{validator:(e,a)=>new Promise(((e,l)=>{!/^1[3456789]\d{9}$/.test(a)&&a?l("请输入正确手机号"):e("")}))}]},{type:"cascader",label:"所在地区",name:"area",rules:[{required:!0,message:"所在地区不能为空"}]},{type:"input",props:{onlyShowClearWhenFocus:!0,placeholder:"街道/楼牌号等"},label:"详细地址",name:"addressDetail",rules:[{required:!0,message:"收货人详细地址不能为空"}]},{type:"switch",props:{},label:"设置默认地址",name:"addressDefault"}],qa=me((()=>{const{View:a,Skeleton:o}=s(),n=fe(new Array(5).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:n.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));je.forEach((e=>{const a=Fe.filter((a=>a.code===e.cityCode))[0];a&&(a.children=a.children||[],a.children.push({label:e.name,value:e.code}))})),Fe.forEach((e=>{const a=Oe.filter((a=>a.code===e.provinceCode))[0];a&&(a.children=a.children||[],a.children.push({label:e.name,value:e.code+"00",children:e.children}))}));const $a=Oe.map((e=>({label:e.name,value:e.code+"0000",children:e.children}))),_a=({form:l,handleArea:o})=>{const{View:i}=s(),{CascadePicker:t}=n,c=l.getFieldValue("area"),[r,d]=pe(!1),m=e=>{const a={provinceName:"",provinceCode:e[0],cityName:"",cityCode:e[1],areaName:"",areaCode:e[2]},l={pIndex:0,cIndex:0};for(let o=0;o<$a.length;o++)if($a[o].value===e[0]){a.provinceName=$a[o].label,l.pIndex=o;break}for(let o=0;o<$a[l.pIndex].children.length;o++)if($a[l.pIndex].children[o].value===e[1]){a.cityName=$a[l.pIndex].children[o].label,l.cIndex=o;break}for(let o=0;o<$a[l.pIndex].children[l.cIndex].children.length;o++)if($a[l.pIndex].children[l.cIndex].children[o].value===e[2]){a.areaName=$a[l.pIndex].children[l.cIndex].children[o].label;break}return a};return a(i,{children:[e(i,{className:"txt",onClick:()=>d(!0),children:(null==c?void 0:c.provinceName)?`${c.provinceName}—${c.cityName}-${c.areaName}`:"请选择所在地区"}),e(t,{onConfirm:e=>{o("h5",m(e))},options:$a,visible:r,onClose:()=>d(!1)})]})},Za=({checked:a,onChange:l})=>{const{View:o}=s(),{Switch:i}=n;return e(o,{children:e(i,{checked:a,onChange:l,style:{"--checked-color":"#000000","--height":"36px","--width":"60px"}})})},Xa=xe(),Ja=me((({addressId:a,btnShape:o,btnColor:i,borderColor:t,color:c,paddingTop:r,paddingBottom:d})=>{const{View:m,Switch:h}=s(),{Form:p,Button:u,Input:g}=n,N=process.env.TARO_ENV,{skullShow:C,form:b,area:y,defaultAddress:x,handleArea:k,handleDefaultAddress:w,handleFinish:v}=f(a,p,Xa);return e(m,{className:"addressDetail",style:{height:Xa?"100%":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:C?e(qa,{}):e(p,{form:b,layout:"horizontal",mode:"card",onFinish:v,footer:e(u,{style:{color:c,backgroundColor:i,borderColor:t},shape:o,block:!0,type:"submit",size:"large",children:"提交"}),children:Ka.map(((a,o)=>e(p.Item,{label:a.label,name:a.name,rules:a.rules,trigger:"cascader"===a.type?"onConfirm":"onChange",arrow:!1,children:"input"===a.type?e(g,Object.assign({},a.props)):"switch"===a.type?"h5"===N?e(Za,{onChange:w.bind(null,"h5"),checked:"1"===x}):e(h,{color:"#000",onChange:w.bind(null,"weapp"),checked:"1"===x}):"cascader"===a.type?e(l,{children:Xa?"h5"===N?e(_a,{form:b,handleArea:k}):e("picker",{mode:"region",onChange:k.bind(null,"weapp"),value:y,children:e(m,{className:"areaWrap",children:y.provinceName?`${y.provinceName}—${y.cityName}-${y.areaName}`:"请选择所在地区"})}):"请选择所在地区"}):void 0},o)))})})})),el=({dataObj:l})=>{const{View:o,Text:n}=s();return a(o,{className:"placeOrderResultWrap",children:[a(o,{className:"placeOrderResultItem",children:[e(n,{className:"label",children:"订单号:"}),e(n,{className:"value",children:l.contractBillcode})]}),a(o,{className:"placeOrderResultItem",children:[e(n,{className:"label",children:"支付方式:"}),e(n,{className:"value",children:"在线支付"})]}),a(o,{className:"placeOrderResultItem",children:[e(n,{className:"label",children:"支付金额:"}),e(n,{className:"value",children:la(l.dataBmoney)})]})]})},al=me((({code:l,borderRadius:o,leftColor:n,leftButtonColor:i,leftBorderColor:t,leftBorderRadius:c,rightValue:r,rightAddHref:d,rightColor:m,rightButtonColor:h,rightBorderColor:p,rightBorderRadius:u,paddingTop:g,paddingBottom:N})=>{const{View:C,Text:f,IconMobile:y,WrapLoading:x}=s(),{result:k,loading:w}=b(l||(ke("contractBillcode")||{}).contractBillcode);return console.log(62,k),e(C,{className:"placeOrderResult",style:{paddingTop:g,paddingBottom:N},children:e(x,{loading:w,children:a(C,{className:"placeOrderResultContent",style:{borderRadius:1===o?"20px":"0px"},children:[e(y,{value:k.icon,style:{fontSize:"35px",color:k.color}}),a(C,{className:"tips",children:[e(f,{className:"title",children:k.msg}),e(f,{className:"tip",children:k.info})]}),"success"===k.sysRecode&&e(el,{dataObj:k.dataObj}),a(C,{className:"btnGroup",style:{marginTop:20},children:[e(C,{className:"btn black",onClick:()=>ye(k.menuCode,{contractBillcode:k.dataObj.contractBillcode}),style:{color:n,backgroundColor:i,border:`1px solid ${t}`,borderRadius:1===c?"20px":"0px"},children:k.buttonText}),e(C,{style:{color:m,backgroundColor:h,border:`1px solid ${p}`,borderRadius:1===u?"20px":"0px"},onClick:()=>ye(d.value),className:"btn white",children:r})]})]})})})}));me((()=>{const{View:a,Skeleton:o}=s(),n=fe(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:n.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));const ll=()=>{const{View:a,Image:l}=s();return e(a,{className:"noData",children:e(l,{src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/no_coupon.png",className:"img"})})},ol=({list:o,coe:n,config:i,backgroundColor:t,color:c})=>{const{View:r,Text:d}=s();return e(l,{children:o.length?o.map(((o,s)=>e(r,{className:`couponListItem\n ${i.current[n.current].styleName}`,style:{backgroundColor:t,color:c},children:a(r,{className:"coupon-content",children:[e(r,{className:"price",children:e(d,{className:"num",children:o.pbName})}),a(r,{className:"couponListItem-info",children:[e(d,{className:"title",children:o.discName}),a(d,{className:"date",children:["有效期至:",`${new Date(o.gmtModified).getFullYear()}-${new Date(o.gmtModified).getMonth()+1}-${new Date(o.gmtModified).getDate()}`]}),i.current[n.current].text?e(r,{className:"btn",children:i.current[n.current].text}):null,2===n.current?e(l,{children:e(r,{className:"round",children:"已失效"})}):null]})]})},s))):e(ll,{})})},sl=me((({backgroundColor:l,color:o,paddingTop:n,paddingBottom:i,queue:t})=>{const{View:c,Text:r,ScrollView:d}=s(),{coe:m,getList:h,config:p,switchTab:u,list:g=[]}=y();return a(c,{className:"couponList",children:[e(c,{className:"couponTab",children:p.current.map(((l,o)=>a(c,{className:"couponTabItem "+(m.current===o?"active":""),onClick:()=>u(o),children:[l.label,e(r,{className:"icon"})]},l.id)))}),e(pa,{id:"couponTab",bottomHeight:"60",children:e(d,{onScroll:h,children:e(c,{className:"couponListContent",style:{paddingTop:n,paddingBottom:i},children:e(ol,{backgroundColor:l,color:o,queue:t,list:g,coe:m,config:p})})})})]})})),nl=({list:l,cartItemRadius:o})=>{const{View:n,Text:i,Image:t,Checkbox:c,NumStep:r,SmoothCheckbox:d,WrapLoading:m}=s(),{loading:h}=x(),{select:p,onChange:u,handleStep:g}=k();return e(m,{loading:h,children:e(d,{onChange:u,children:l.map(((l,s)=>e(n,{className:"cartItem",children:a(n,{className:"cartItem-box",style:{borderRadius:o},children:[e(n,{className:"checkBoxWrap",children:e(c,{checked:p.includes(l.shoppingGoodsId+""),value:l.shoppingGoodsId,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})}),e(t,{className:"img",src:l.dataPic,onClick:()=>ye("goodDetail",{skuCode:l.skuCode})}),a(n,{className:"cartItem-info",children:[e(i,{className:"cartItem-goodsName",children:l.goodsName}),a(n,{className:"cartItem-size",children:["规格:",l.skuName," X ",l.goodsCamount]}),a(n,{className:"cartItem-handleWrap",children:[e(i,{className:"price",children:la(l.pricesetNprice)}),e(r,{count:l.goodsCamount,handleStep:g.bind(null,l.shoppingGoodsId,l.goodsCamount)})]})]})]})},s)))})})},il=me((({url:l,title:o,subTitle:n,link:t,style:c})=>{const{View:r,Image:d}=s();return e(r,{className:"noData",style:c,children:a(r,{className:"content",children:[e(d,{className:"img",src:l}),e(r,{className:"title",children:o}),e(r,{className:"subTitle",children:n}),t?a(r,{className:"link",onClick:()=>ye(t),children:["去看看",e(i,{value:"xiangyou1"})]}):null]})})})),tl=xe(),cl=({refreshNum:o,btnStyle:n,borderColor:i,textColor:t,btnColor:c,btnShape:r,cartItemRadius:d,countBorderColor:m,countTextColor:h,countBtnColor:p,countBtnShape:u})=>{const{View:g,SmoothView:N,Checkbox:C,SmoothCheckbox:f,ScrollView:b}=s(),[y,x]=pe(!0),{cartList:k,amount:w,selectAll:S,allCart:I,toOrderImpl:A,select:B,deleteCart:V,disMoney:T}=v(o),D=he((()=>({border:n?`2px solid ${i}`:"",color:n?t:"",background:n?c:"",borderRadius:n?r:""})),[n,i,t,c,r]),L=he((()=>({border:`1px solid ${m}`,color:h,background:p,borderRadius:u})),[m,h,p,u]);return e(g,{className:"cart",style:{height:tl?"100%":"667px"},children:k.length?a(l,{children:[e(g,{className:"edit",children:e(g,{className:"btn",style:D,onClick:()=>x(!y),children:y?"编辑":"完成"})}),e(pa,{id:"editId",bottomHeight:"50",children:e(b,{children:e(nl,{list:k,cartItemRadius:d})})}),a(g,{className:"cart-dashboard",children:[e(g,{className:"choose",children:e(f,{onChange:S,children:e(C,{checked:I.current.length===B.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),y?a(g,{className:"check",children:[a(g,{className:"priceGroup",children:[a(g,{className:"discount",children:["优惠: ",e(N,{className:"data",children:la(T)})]}),a(g,{className:"all",children:["合计: ",e(N,{className:"data",children:la(w.amount)})]})]}),a(g,{onClick:A,className:"btn",style:L,children:["结算(",w.num,")"]})]}):e(g,{className:"del",children:e(g,{onClick:V,className:"btn",children:"删除"})})]})]}):e(il,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})},rl=me((a=>e(w,{children:e(cl,Object.assign({},a))}))),dl=({dispatchPageStore:a,btnStyle:l,borderColor:o,textColor:n,btnColor:i,btnShape:t})=>{const{View:c}=s(),{isEditor:r,editorImpl:d}=S(a),m=he((()=>({border:l?`2px solid ${o}`:"",color:l?n:"",background:l?i:"",borderRadius:l?t:""})),[l,o,n,i,t]);return e(c,{className:"cart-edit",children:e(c,{className:"btn",onClick:d,style:m,children:r?"完成":"编辑"})})},ml=me((({promotionName:l,checked:o,promotionCode:n})=>{const{View:i,Radio:t}=s();return a(i,{className:"promotion-item",children:[e(i,{className:"content",children:l}),e(i,{className:"choose",children:e(t,{checked:o,value:n})})]})})),hl=({onChange:a,promotionCode:l,visible:o,setVisible:n,promotion:i})=>{const{Popup:t,ScrollView:c,View:r,SmoothRadio:d}=s();return e(t,{popupVisible:o,popupHandler:n,children:e(r,{className:"goodsDetail-coupon-popup",children:e(pa,{children:e(c,{children:e(d,{onChange:a,children:i.map(((e,a)=>ge(ml,Object.assign({checked:e.promotionCode===l},e,{key:a}))))})})})})})},pl=me((({goodsName:o,skuName:n,goodsCamount:i,shoppingGoodsId:t,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=s();return e(l,{children:a(d,{className:"cartItem-info",children:[e(m,{className:"cartItem-goodsName",children:o}),a(d,{className:"cartItem-size",children:["规格:",n," X ",i]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:la(c)}),e(h,{count:i,handleStep:r.bind(null,t,i)})]})]})})})),ul=me((({dataPic:a,skuCode:l})=>{const{Image:o}=s();return e(o,{className:"img",src:a,onClick:()=>ye("goodDetail",{skuCode:l})})})),gl=me((a=>{var{shoppingGoodsId:l}=a,o=Xe(a,["shoppingGoodsId"]);const{View:n,Checkbox:i}=s(),{select:t=[]}=o;return e(n,{className:"checkBoxWrap",children:e(i,{checked:t.includes(l+""),value:l,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),Nl=({promotion:o=[],updatePm:n,shoppingGoodsId:i,promotionCode:t})=>{const{View:c}=s(),[r,d]=pe(!1),m=he((()=>((o||[]).find((e=>e.promotionCode===t))||{}).promotionName),[o]);return a(l,{children:[a(c,{className:"cart-promote-active",onClick:()=>d(!0),children:[m,e(c,{children:"修改"})]}),e(hl,{promotionCode:t,onChange:e=>{d(!1),n(i,e.detail.value)},promotion:o||[],visible:r,setVisible:d})]})},Cl=me((l=>{var{item:o}=l,n=Xe(l,["item"]);const{View:i}=s();return a(i,{className:"cart-list-item",children:[e(gl,Object.assign({},n,{shoppingGoodsId:o.shoppingGoodsId})),e(ul,{dataPic:o.dataPic,skuCode:o.skuCode}),e(pl,Object.assign({},o,n))]})})),fl=o=>{var{shoppingGoodsList:s=[]}=o,n=Xe(o,["shoppingGoodsList"]);return e(l,{children:s.map(((l,o)=>a(be,{children:[e(Cl,Object.assign({},n,{item:l})),l.pmPromotionList?e(Nl,{promotionCode:n.promotionCode,shoppingGoodsId:l.shoppingGoodsId,updatePm:n.updatePm,promotion:l.pmPromotionList}):null]},o)))})},bl=({disNextMsg:l,promotionName:o,pbName:n})=>{const{View:i,SmoothView:t}=s();return a(i,{className:"cart-dis-title",children:[e(t,{className:"tips",children:n}),e(t,{style:{padding:"0 10px"},children:o}),e(t,{children:l})]})},yl=({refreshNum:o,cartSelect:n,dispatchPageStore:i,cartUpdateCount:t=0,cartItemRadius:c="10px"})=>{const{SmoothCheckbox:r,WrapLoading:d,View:m}=s(),{loading:h,cartList:p,onChange:u,handleStep:g,updatePm:N}=I(o,t,i);return e(d,{loading:h,children:e(m,{className:"cart-wrap",children:e(r,{onChange:u,children:p.length?e(l,{children:p.map((({memberCname:l,promotionCode:o,disNextMsg:s,promotionName:i,pbName:t,shoppingGoodsList:r},d)=>a(be,{children:[e("h4",{children:l}),a(m,{className:"cart-bg",style:{borderRadius:c},children:[i?e(bl,{disNextMsg:s,promotionName:i,pbName:t}):null,e(fl,{promotionCode:o,handleStep:g,select:n,updatePm:N,shoppingGoodsList:r,cartItemRadius:c})]})]},d)))}):e(il,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},xl=({cartInfo:l=[],cartDisMoney:o=0,cartSelect:n=[],cartIsEditor:i=!1,dispatchPageStore:t,countBorderColor:c="#000000",countTextColor:r="#ffffff",countBtnColor:d="#000000",countBtnShape:m="20px"})=>{const{View:h,SmoothView:p,SmoothCheckbox:u,Checkbox:g}=s(),{toOrderImpl:N,deleteCart:C,selectAll:f,cartDetail:b}=A(n,l,t),y=he((()=>({border:`1px solid ${c}`,color:r,background:d,borderRadius:m})),[c,r,d,m]);return a(h,{className:"cart-dashboard",children:[e(h,{className:"choose",children:e(u,{onChange:f,children:e(g,{checked:l.length===n.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),i?e(h,{className:"del",children:e(h,{onClick:C,className:"btn",children:"删除"})}):a(h,{className:"check",children:[a(h,{className:"priceGroup",children:[a(h,{className:"discount",children:["优惠: ",e(p,{className:"data",children:la(o)})]}),a(h,{className:"all",children:["总计: ",e(p,{className:"data",children:la(b.amount)})]})]}),a(h,{onClick:N,className:"btn",style:y,children:["结算(",b.num,")"]})]})]})},kl=me((({avatarStyle:l,paddingTop:o,paddingBottom:n,userAvatar:i,userNickname:t,refreshNum:c})=>{const{View:r,Text:d,IconMobile:m,Image:h}=s(),{servicePopup:p}=aa(),[u,g]=pe(t),[N,C]=pe(i);return ue((()=>{g(ke("userNickname")),C(ke("userAvatar"))}),[c]),a(r,{className:"mineData",style:{paddingTop:`${o}px`,paddingBottom:`${n}px`},children:[a(r,{className:"topBoard",children:[e(m,{value:"bianzu",onClick:()=>ye("/account/setting/index")}),e(m,{value:"kehufuwukefu",onClick:p})]}),a(r,{className:"userSetting",onClick:()=>ye("/account/setting/index"),children:[a(r,{className:"lPart",children:[e(d,{className:"name",children:u||"用户名称"}),e(r,{className:"link",style:{paddingTop:"10px"},children:"编辑个人资料 >"})]}),e(h,{src:N,alt:"",className:"avatar",style:{borderRadius:l?"50%":"2px"}})]})]})})),wl=me((({title:l,columnList:o})=>{const{View:n,Text:i,Badge:t,Image:c}=s(),[r,d]=pe({});ue((()=>{Je(void 0,void 0,void 0,(function*(){try{const e=yield Ve();d(e.dataObj)}catch(e){}}))}),[]);const m=(e,a)=>{4!==e.id?ye("orderlist",{indexId:a+1}):ye("afterSalesList")};return a(n,{className:"mineOrderEntry",children:[a(n,{className:"title",children:[e(n,{className:"name",children:l}),e(n,{className:"more",onClick:()=>ye("orderlist"),children:"查看全部"})]}),e(n,{className:"content",children:o.map(((l,o)=>a(n,{onClick:m.bind(null,l,o),className:"contentItem",style:{display:l.show?"block":"none"},children:[e(t,Object.assign({},r[l.code]>0?{content:r[l.code]}:{},{color:"#000",style:{color:"#fff",fontSize:12},children:e(c,{src:l.imgUrl,className:"icon"})})),e(i,{className:"subTitle",children:l.label})]},o)))})]})})),vl=me((({paddingTop:l,paddingBottom:o,columnList:n})=>{const{View:i,Text:t,IconMobile:c,Image:r}=s();return e(i,{className:"mineFunction",style:{paddingTop:l+"px",paddingBottom:o+"px"},children:n.map(((l,o)=>a(i,{className:"menuListItem",onClick:()=>ye(l.link.value),children:[a(i,{className:"lPart",children:[e(r,{src:l.imgUrl,className:"icon"}),e(t,{className:"label",children:l.link.label})]}),e(c,{value:"xiangyou1"})]},o)))})})),Sl=({footprintItem:l,edit:o})=>{const{View:n,Image:i,Checkbox:t,SmoothView:c}=s(),r=he((()=>l.footprintOpnum?`${l.footprintOpnum}元`:""),[l.footprintOpnum]);return a(n,{className:"footprintItem",children:[o?e(n,{className:"lPart",children:e(t,{value:l.footprintCode})}):null,a(n,{className:"rPart",onClick:()=>ye("goodDetail",{skuCode:l.footprintOpcode}),children:[e(i,{src:l.footprintOppic,className:"img"}),a(n,{className:"info",children:[e(c,{className:"title",children:l.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},Il=({item:o,edit:n})=>{const{View:i}=s();return a(i,{className:"footPrint",children:[e(l,{children:e(i,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==o?void 0:o.title})}),o.option.map(((a,l)=>e(Sl,{footprintItem:a,edit:n},l)))]})},Al=({footprintList:a,edit:o})=>{const s=he((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?De(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),l=Re(e,"gmtCreate");return Object.keys(l).map((e=>({title:e||"",option:l[e]})))}),[a]);return e(l,{children:s.map(((a,l)=>e(Il,{item:a,edit:o},l)))})},Bl=me((()=>{const{View:l,ScrollView:o,SmoothCheckbox:n,Button:i,Image:t}=s(),{footprintList:c,edit:r,setEdit:d,getSelectItem:m,delItem:h,getData:p}=B();return e(l,{className:"footprint",children:0===c.length?e(l,{className:"noDate",children:e(t,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(l,{className:"hasDate",children:[e(l,{className:"topBar",children:e(l,{className:"edit",onClick:()=>d(!r),children:r?"完成":"编辑"})}),e(pa,{id:"topBar1",children:a(o,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScroll:p,children:[e(n,{onChange:m,children:e(Al,{footprintList:c,edit:r})}),r?a(l,{className:"handleBar",children:[e(l,{className:"checkAll"}),e(i,{className:"btn",onClick:h,children:"删除"})]}):null]})})]})})})),Vl=({item:l,edit:o,checked:n})=>{const{View:i,Image:t,Checkbox:c,SmoothView:r}=s();return a(i,{className:"collectItem",children:[o?e(c,{className:"lPart",value:l.collectCode,checked:n}):null,a(i,{className:"rPart",onClick:()=>ye("goodDetail",{skuCode:l.collectOpcode}),children:[e(t,{src:l.collectOppic,className:"img"}),a(i,{className:"info",children:[e(r,{className:"title",children:l.collectOpcont}),a(r,{className:"price",children:[l.collectOpnum," 元"]})]})]})]})},Tl=me((()=>{const{collectionList:l,edit:o,setEdit:n,getData:i,getSelectItem:t,delItem:c,init:r,checked:d,handleSelectAll:m,selectAllChecked:h}=V(),{View:p,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:C,Image:f}=s();return e(p,{className:"collectList",children:0===l.length?e(p,{className:"noDate",children:e(f,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(p,{className:"hasDate",children:[e(p,{className:"topBar",children:e(p,{className:"edit",onClick:()=>n(!o),children:o?"完成":"编辑"})}),e(pa,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:i,onScrollToUpper:r,children:[e(g,{onChange:t,style:{height:"100%"},children:l.map((a=>e(Vl,{item:a,edit:o,checked:d},a.collectId)))}),o?a(p,{className:"handleBar",children:[e(p,{className:"checkAll",children:e(g,{onChange:m,children:e(N,{value:"1",checked:h,children:"全选"})})}),e(C,{className:"btn",onClick:c,children:"删除"})]}):null]})})]})})})),Dl=me((({noticeId:l})=>{const{View:o,Image:n}=s(),{info:i}=T(l);return a(o,{className:"noticeDetailContainer",children:[e(o,{className:"title",children:i.noticeTitle}),i.noticePicurl?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl}):null,i.noticePicurl1?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl1}):null,i.noticePicurl2?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl2}):null,i.noticePicurl3?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl3}):null,e(o,{className:"content",children:i.noticeContext})]})})),Ll=me((({doclistId:l=2031})=>{const{info:o}=D(l),{View:n,ScrollView:i}=s(),{doclistContent:t,doclistTitle:c,doclistTitle4:r}=o;return e(n,{className:"articleDetail",children:e(pa,{id:"a",children:a(i,{children:[e(n,{className:"title",children:c}),e(n,{className:"author",children:r}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:t||""}})]})})})})),Pl=({address:a})=>e(l,{children:Pe(a)?e(zl,{}):e(Rl,{address:a})}),Rl=({address:l})=>{const{View:o,SmoothView:n,IconMobile:i}=s(),t=he((()=>{const{provinceName:e,addressDefault:a,cityName:o,areaName:s,addressDetail:n,addressMember:i="",addressPhone:t=""}=l;return{addressDefault:"1"===a,addressMember:i,addressPhone:t,address:e+o+s+n}}),[l]);return a(o,{className:"address-info",children:[e(i,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(o,{className:"left",children:[a(o,{className:"left-title",children:[e(n,{children:t.addressMember}),e(n,{className:"left-padding",children:t.addressPhone}),t.addressDefault?e(n,{className:"left-padding left-title-default",children:"默认"}):null]}),e(n,{className:"left-detail",children:t.address})]}),e(i,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},zl=()=>{const{View:o,Text:n}=s();return a(l,{children:[a(o,{className:"group",children:[e(n,{className:"local"}),e(n,{className:"address",children:"选择收货地址"})]}),e(n,{className:"arrow"})]})},Ml=({refreshNum:a})=>{const{View:l}=s(),o=L(a);return e(l,{className:"placeOrder-chooseAddress",onClick:()=>ye("addressList"),children:e(Pl,{address:o})})},Ol=me((({couponStart:l,pbName:o,discName:n,promotionCode:i,promotionName:t,couponEnd:c,disable:r})=>{const{View:d,Text:m,Radio:h}=s();return e(d,{className:"couponItem",children:a(d,{className:"coupon-content",children:[a(d,{className:"price",children:[e(d,{className:"symbol",children:o}),e(d,{className:"num",children:n})]}),a(d,{className:"info",children:[e(m,{className:"title",children:t}),a(m,{className:"date",children:[De(l).format("YYYY-MM-DD")," - ",De(c).format("YYYY-MM-DD")]})]}),e(d,r?{className:"coupon-pick-default",children:"不能用"}:{className:"choose",children:e(h,{disabled:r,value:i})})]})})})),Fl=({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t})=>{const{View:c,Text:r,Popup:d,SmoothRadio:m,ScrollView:h}=s(),{amount:p,shoppingGoodsList:u}=P({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t}),{coupon:g,visible:N,setVisible:C,selectCoupon:f,onChange:b}=R(u);return a(l,{children:[a(c,{className:"coupon-select",onClick:()=>C(0!==g.length),children:[e(r,{className:"label",children:"使用优惠"}),a(c,{className:"info",children:[e(r,{className:"label",children:f?`已选择: ${f}`:0===g.length?"暂无可用优惠券":"请选择优惠券"}),0===g.length?null:e("img",{src:Qe,alt:"",className:"icon"})]})]}),e(d,{popupVisible:N,popupHandler:C,children:e(c,{className:"goodsDetail-coupon-popup",children:e(pa,{children:e(h,{children:e(m,{onChange:b,children:g.map(((e,a)=>ge(Ol,Object.assign({disable:p<e.discAmount},e,{key:a}))))})})})})})]})},jl=({shippingMethod:l=1})=>{const{View:o}=s();return e(o,{className:"info placeOrder-blcWrap",style:1===l?{display:"block"}:{display:"none"},children:a(o,{className:"express placeOrder-blcItem",children:[e(o,{className:"label",children:"配送方式"}),e(o,{className:"value",children:"快递"})]})})},Gl=({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:n})=>{const{View:i}=s(),{list:t}=P({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:n});return e(i,{className:"place-order-goods",children:t.map(((a,l)=>e(sa,Object.assign({},a),l)))})},Wl=({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t})=>{const{SmoothView:c,View:r}=s(),{payState:d,amount:m,disCount:h}=P({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t}),{shoppingCountPrice:p,freight:u,comDisMoney:g}=z(d);return e(l,{children:a(r,{className:"price placeOrder-blcWrap",children:[e(r,{className:"title",children:"价格明细"}),a(r,{className:"express placeOrder-blcItem",children:[e(r,{className:"label",children:"商品总金额"}),e(c,{className:"value",children:la(p)})]}),a(r,{className:"coupon placeOrder-blcItem",children:[e(r,{className:"label",children:"优惠金额"}),e(c,{className:"value",children:la(g+h)})]}),a(r,{className:"express placeOrder-blcItem",children:[e(r,{className:"label",children:"运费"}),e(c,{className:"value",children:la(u)})]}),a(r,{className:"all placeOrder-blcItem",children:[e(r,{className:"label",children:"总计"}),e(c,{className:"value",style:{color:"#000"},children:la(m-h)})]})]})})},El=({color:l,buttonColor:o,borderColor:n,borderRadius:i,refreshNum:t,goodsNum:c,skuId:r,shoppingGoodsId:d})=>{const{View:m,Text:h,WrapLoading:p}=s(),{amount:u,list:g,disCount:N,payState:C,orderStoreInfo:f,ocContractSettlList:b}=P({refreshNum:t,goodsNum:c,skuId:r,shoppingGoodsId:d}),{savePayPrice:y,loading:x}=M({ocContractSettlList:b,payState:C,list:g},r,c,f,d);return a(m,{className:"placeOrderFooter",children:[a(h,{className:"price",children:["合计: ",la(u-N)]}),e(p,{loading:x,children:e(m,{className:"btn",onClick:y,style:{color:`${l}`,border:`1px solid ${n}`,backgroundColor:`${o}`,borderRadius:1===i?"40px":"0px"},children:"生成订单"})})]})},Hl=xe(),Yl=me((({position:a=10,bg:l,color:o,fontSize:n})=>{const{View:i}=s(),{goTop:t}=O();return e(i,{className:"backTop",onClick:t,style:{padding:Hl?"0":"10px"},children:e(Ca,{style:{display:"inline-block",color:o,fontSize:n,backgroundColor:l,position:Hl?"fixed":"relative",right:Hl?"20px":"0",bottom:Hl?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),Ul=({TextLineBgColor:l,text:o,contentSize:n,lineStyle:i,fontSize:t,textAlign:c,fontColor:r,lineColor:d,fontWeight:m,fontStyle:h,textDecoration:p})=>{const{View:u}=s();return a(u,{className:"textLine",style:{backgroundColor:l,textAlign:c,margin:1===n?"0 10px":""},children:[e(u,{className:"blc",style:{borderBottom:`1px ${i} ${d}`}}),e(u,{className:"txt",style:{backgroundColor:l,fontWeight:m,fontStyle:h,textDecoration:p,fontSize:`${t}px`,color:r},children:o})]})},Ql=me((({borderStyle:a,borderRadius:l,height:o,width:n,backgroundColor:i,paddingTop:t,paddingBottom:c})=>{const{View:r}=s();return e(r,{style:{paddingTop:t,paddingBottom:c},children:e(r,{style:{borderRadius:l+"%",borderStyle:a,width:n+"%",height:o+"px",backgroundColor:i,marginLeft:"auto",marginRight:"auto"}})})})),Kl=me((({defaultValue:l,borderRadius:o,paddingTop:n,paddingBottom:i,selectClassifyNav:t})=>{const{View:r,Text:d}=s(),m=c(l,t);return e(r,{style:{paddingTop:n,paddingBottom:i},children:e(r,{className:"classifyNav",children:m.map(((l,s)=>a(r,{className:"classifyNavItem",onClick:()=>{var e,a;return ye(null===(e=l.link)||void 0===e?void 0:e.value,null===(a=l.link)||void 0===a?void 0:a.params)},children:[e("img",{src:l.imgUrl,alt:"",className:"img",style:{borderRadius:`${o}px`}}),e(d,{className:"label",children:l.title})]},s)))})})})),ql=({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:n,navBgColor:i,navBoxShadow:t,imgRadius:r,imgBoxShadow:d,layout:m,marginTop:h,marginBottom:p})=>{const{View:u}=s(),g=c(a,l);return e(u,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${m}, 1fr)`,borderRadius:o,border:`1px solid ${n}`,backgroundColor:i,boxShadow:t?"0px 0px 20px 10px #ddd":"none",marginTop:h,marginBottom:p},children:g.map(((a,l)=>e(u,{className:"classifyNav-item",onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},children:e("img",{src:a.imgUrl,alt:"",className:"classifyNav-item-img",style:{borderRadius:r,boxShadow:d?"0px 0px 20px 5px #EEE":"none"}})},l)))})},$l=me(ql),_l=me((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:n,navBgColor:i,navBoxShadow:t,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:p,marginTop:u,marginBottom:g})=>{const{View:N}=s(),C=c(a,l),f=he((()=>Ae("classifyNav-two-item-title",...h)),[h]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${p}, 1fr)`,border:`1px solid ${n}`,borderRadius:o,backgroundColor:i,boxShadow:t?"0px 0px 20px 5px #EEE":"none",marginTop:u,marginBottom:g},children:C.map(((a,l)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},style:{width:4===p?"74px":"60px"},children:e(N,{className:f,style:{fontSize:r,color:d},children:a.title})},l)))})})),Zl=me((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:n,navBgColor:i,navBoxShadow:t,imgRadius:r,imgBoxShadow:d,fontSize:m,fontColor:h,tagBgColor:p,otherStyle:u,layout:g,marginTop:N,marginBottom:C})=>{const{View:f}=s(),b=c(a,l);return e(f,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${g}, 1fr)`,border:`1px solid ${n}`,borderRadius:o,backgroundColor:i,boxShadow:t?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:C},children:b.map(((a,l)=>e(f,{className:"classifyNav-three-item",onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},style:{backgroundImage:`url(${a.imgUrl})`,borderRadius:r,boxShadow:d?"0px 0px 20px 5px #EEE":"none",width:4===g?"74px":"60px",height:4===g?"74px":"60px"},children:e(f,{className:"classifyNav-three-item-tag",style:{backgroundColor:p},children:e(f,{className:["classifyNav-three-item-txt",...u].join(" "),style:{fontSize:m,color:h},children:a.title})})},l)))})})),Xl=me((({defaultValue:l=[],classCode:o="",margin:n,circular:i=!1,cell:t,showSales:c=!0,gap:r=10,goods:d=[],markedPrice:m,paddingTop:h,paddingBottom:p,paddingLeft:u,paddingRight:g,goodsName:N=!0,goodsPrice:C=!0,goodsCar:f=!0,goodsBorder:b=!0,goodsShadow:y=!1,marginGap:x=10})=>{const[k,w]=pe(l),v=fe(),{View:S,Text:I}=s();return ue((()=>{ze(v.current,d)||(v.current=d,Pe(d)?w(l):Je(void 0,void 0,void 0,(function*(){try{const e=yield Te({goodsCode:d.toString(),distinctField:"goodsNo"}),a=Le(e,"list",[]);w(a)}catch(e){w(l)}})))}),[d]),e(S,{style:{paddingTop:h,paddingBottom:p},children:e(S,{className:Ae({[`goods-${o}`]:!0}),style:{display:"grid",gap:x,marginBottom:n,gridTemplateColumns:`repeat(${t}, 1fr)`,paddingLeft:u,paddingRight:g},children:k.map(((l,o)=>a(S,{style:{overflow:"hidden",borderRadius:i?"8px":"0px",border:b?"1px solid #000000":""},onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),className:["goods "+(y?"outer-shadow":"")].join(" "),children:[e(S,{className:"goods-img",style:{backgroundImage:`url(${l.dataPic})`}}),a(S,{className:"space",children:[e(S,{className:"titleType",style:{display:N?"block":"none"},children:l.goodsName}),e(S,{className:"subTitle",children:l.brandName}),c&&a(S,{className:"sales",children:["已售:",l.goodsSalesvolume,"件"]}),a(S,{className:"price",children:[a(S,{style:{fontSize:18},children:[C?la(l.pricesetNprice):"",1===m&&e(I,{className:"markedPrice",children:la(l.pricesetMakeprice)})]}),e(S,{className:"anticon",style:{display:f?"block":"none"},children:e(Ca,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},o)))})})})),Jl=me((({defaultValue:l,goods:o,price:n,marketPrice:i,cart:t,wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:p,goodsGap:u,marginTop:g,marginBottom:N,marginLeft:C,marginRight:f})=>{const{View:b}=s(),{list:y}=F({defaultValue:l,goods:o});return e(b,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N,marginLeft:C,marginRight:f},children:y.map(((l,o)=>a(b,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:p,marginRight:`${u}px`},onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),children:[e(b,{className:"img",style:{backgroundImage:`url(${l.dataPic})`}}),a(b,{className:"board",children:[e(b,{className:"title",children:l.goodsName}),a(b,{className:"info",children:[a(b,{className:"lPart",children:[n?e(b,{className:"price",children:la(l.pricesetNprice)}):null,i?e(b,{className:"marketPrice",children:la(l.pricesetMakeprice)}):null]}),t?e(b,{className:"rPart",children:e(Ca,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},o)))})})),eo=xe(),ao=me((({defaultValue:l,goods:o,GoodsSlideshowBg:n,marketPrice:i,goodsName:t,salesNum:c,price:r,goodsRadius:d,goodsBorder:m,goodsShadow:h,btnText:p,btnBg:u,btnColor:g,btnRadius:N})=>{const{list:C}=F({defaultValue:l,goods:o}),{SmoothSwiper:f,View:b,Image:y}=s(),[x,k]=pe(0);return a(b,{className:"goodsSlideshow",children:[e(y,{src:n,className:"bg",mode:"widthFix"}),e(f,{indicatorDots:!1,imgHeight:{width:190,height:410},defaultIndex:1,data:C,style:{},type:1,autoplay:!1,autoplayInterval:5e3,onChange:e=>{k(e.detail.current)},previousMargin:40,nextMargin:40,slideSize:70,trackOffset:15,render:l=>a(b,{className:["goodsSlideshowItem",""+(l.goodsCode===C[x].goodsCode&&eo?"active":"")].join(" "),style:{borderRadius:d,borderStyle:m?"solid":"none",boxShadow:h?"0px 0px 20px 10px #ddd":""},onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),children:[e(y,{className:"logo",src:l.dataPic,mode:"widthFix"}),t?e(b,{className:"goodsName",children:l.goodsShowname}):null,c?a(b,{className:"salesNum",children:["销量:",l.goodsSalesvolume]}):null,r?e(b,{className:"price",children:la(l.pricesetNprice)}):null,i?e(b,{className:"marketPrice",children:la(l.pricesetMakeprice)}):null,e(b,{className:"btn",style:{backgroundColor:u,color:g,borderRadius:N},children:p})]})})]})})),lo=({skuCode:a,autoplay:l,vertical:o})=>{const{rsGoodsFileDomainList:s=[]}=j(a),n=G(s);return e(_e,{selectImg:n,type:1,autoplay:l,vertical:o,imgHeight:{height:375,width:375}})},oo=l=>{const{SmoothView:o,View:n}=s(),{handleCollect:i,collection:t}=W(l);return a(n,{onClick:i,children:[Pe(t.dataObj)?e(Ca,{value:"star-fill",style:{fontSize:20}}):e(Ca,{value:"star-fill",style:{color:"red",fontSize:20}}),e(o,{className:"txt",children:Pe(t.dataObj)?"收藏":"已收藏"})]})},so=({skuCode:l,priceShow:o,collectionShow:n})=>{const{View:i,SmoothView:t}=s(),{rsSkuDomainList:c}=j(l),{goodInfo:r}=E(c);return H(l),a(i,{className:"goodsDetail-topInfo",children:[a(i,{className:"lPart",children:[e(t,{className:"name",children:r.goodsName}),e(t,{className:"price",style:{display:o?"block":"none"},children:la(r.pricesetNprice)})]}),e(i,{className:"rPart",style:{display:n?"flex":"none"},children:e(oo,{goodsName:r.goodsName,pricesetNprice:r.pricesetNprice,dataPic:r.dataPic,skuCode:l})})]})},no=me((l=>{const{collectionShow:o,shareShow:n}=l,{View:i}=s(),{handleCollect:t,collection:c}=W(l),{handleShare:r}=Y();return a(i,{className:"handleBar",children:[o?e(i,{className:"collection",onClick:t,style:{borderRight:n?"1px solid #ddd":"none"},children:Pe(c.dataObj)?"收藏":"已收藏"}):null,n?e(i,{className:"share",onClick:r,children:"分享"}):null]})})),io=me((({skuCode:l,priceShow:o,collectionShow:n,shareShow:i})=>{const{View:t,SmoothView:c}=s(),{rsSkuDomainList:r}=j(l),{goodInfo:d}=E(r);return H(l),a(t,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:o?"block":"none"},children:la(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(no,{collectionShow:n,shareShow:i,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:d.dataPic,skuCode:l})]})})),to=()=>{const{Text:e}=s(),l=Q((e=>e.count)),o=Q((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",l," 规格: ",o.toString()]})},co=({dispatchPageStore:o})=>{const{View:n,Text:i}=s(),{openPopup:t}=U(o);return e(l,{children:a(n,{className:"goodsDetail-size",onClick:t,children:[e(i,{className:"label",children:"规格"}),a(n,{className:"info",children:[e(to,{}),e("img",{src:Qe,alt:"",className:"icon"})]})]})})},ro=({skuCode:l})=>{const{View:o,Text:n}=s(),{rsSkuDomainList:i}=j(l),{goodInfo:t}=E(i),c=K(i,t.skuCode||l);return a(o,{className:"goodsDetail-promotion",children:[e(n,{className:"label",children:"促销"}),e(o,{className:"group",children:c.length?c.map((({discName:a},l)=>e(o,{className:"item",children:a},l))):e(o,{className:"noPromotion",children:"暂无促销活动"})})]})},mo=me((({promotionBegintime:l,pbName:o,discName:n,promotionCode:i,promotionName:t,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=s(),{save:p,isPick:u}=q(),g=he((()=>c-r),[c,r]);return e(m,{className:"couponItem",children:a(m,{className:"coupon-content",children:[a(m,{className:"price",children:[e(m,{className:"symbol",children:o}),e(m,{className:"num",children:n})]}),a(m,{className:"info",children:[e(h,{className:"title",children:t}),a(h,{className:"date",children:[De(l).format("YYYY-MM-DD")," - ",De(d).format("YYYY-MM-DD")]})]}),e(m,g>0?{className:u?"coupon-pick-default":"coupon-pick",onClick:()=>p({promotionCode:i,couponAmount:1}),children:u?"已领取":"领取"}:{className:"coupon-pick-default",children:"已领完"})]})})})),ho=()=>{const{View:a,Image:l}=s();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},po=({skuCode:o})=>{const{View:n,Text:i,Popup:t}=s(),{rsSkuDomainList:c}=j(o),{goodInfo:r}=E(c),{coupon:d,visible:m,setVisible:h}=$(c,r.skuCode||o);return a(l,{children:[a(n,{className:"goodsDetail-coupon",onClick:()=>h(!0),children:[e(i,{className:"label",children:"优惠券"}),a(n,{className:"info",children:[e(i,{className:"label",children:"请选择优惠券"}),e("img",{src:Qe,alt:"",className:"icon"})]})]}),e(t,{popupVisible:m,popupHandler:h,children:e(n,{className:"goodsDetail-coupon-popup",children:e(pa,{children:d.length>0?d.map(((e,a)=>ge(mo,Object.assign({},e,{key:a})))):a(n,{className:"NoDataImg",children:[e(ho,{}),e(n,{className:"btn",onClick:()=>h(!1),children:"确定"})]})})})})]})},uo=({item:l})=>{const{View:o,Image:n}=s();return a(o,{className:"rateItem",children:[a(o,{className:"topInfo",children:[a(o,{className:"lPart",children:[e(n,{src:l.userImgurl,className:"avatar"}),a(o,{className:"userInfo",children:[e(o,{className:"name",children:l.userName}),e(Ea,{readOnly:!0,size:14,count:l.evaluateScopeReList.length})]})]}),e(o,{className:"rPart",children:`${new Date(l.gmtCreate).getFullYear()}-${new Date(l.gmtCreate).getMonth()+1}-${new Date(l.gmtCreate).getDate()}`})]}),e(o,{className:"size",children:l.skuName}),e(o,{className:"content",children:l.evaluateGoodsContent})]})},go=({evaluateArr:l})=>{const{View:o}=s(),n=fe(l);return e(o,{className:"goodsDetailEvaluate",children:n.current.length?a(o,{children:[a(o,{className:"topInfo",children:["评价 (",n.current.length,")"]}),n.current.slice(0,5).map(((a,l)=>e(uo,{item:a},l)))]}):e(il,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},No=({goodsRemark:a})=>{const{View:l}=s(),o=he((()=>a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<img/gi,'<img class="mystyle" mode="widthFix"').replace(/<!--[\s\S]*-->/gi,"")),[a]);return e(l,{className:"goodsDetail-info",children:e("div",{dangerouslySetInnerHTML:{__html:o||""}})})},Co=({tabActive:o,setTabActive:n,evaluateShow:i,evaluateImgShow:t,evaluateImg:c})=>{const{Text:r}=s(),d=he((()=>t?[{title:"商品详情",id:"1"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[i]);return e(l,{children:d.map(((l,s)=>e(be,{children:a(r,{className:"tabsItem "+(o===s?"active":""),onClick:()=>n(s),children:[l.title,e(r,{className:"line"})]})},s)))})},fo=({skuCode:l,evaluateShow:o,evaluateImgShow:n,evaluateImg:i})=>{const{View:t}=s(),[c,r]=pe(0),{goodsRemark:d,goodsCode:m}=j(l),h=_(m);return a(t,{className:"goodsDetailTab",children:[e(t,{className:"tabs",children:e(Co,{tabActive:c,setTabActive:r,evaluateShow:o,evaluateImgShow:n,evaluateImg:i})}),e(t,{className:"group",children:0===c?e(No,{goodsRemark:d}):e(go,{evaluateArr:h,evaluateImgShow:n,evaluateImg:i})})]})},bo=({skuName:l,handleChooseSize:o,spec:n,skuOption:i,index:t})=>{const{View:c,Text:r}=s();return a(c,{className:"sizeArr",children:[e(r,{className:"title",children:l}),e(c,{className:"sizeArrItemWrap",children:i.map(((a,l)=>e(c,{className:"sizeItem "+(n[t]===a.specValueValue?"active":""),onClick:o.bind(null,a.specValueValue,t),children:a.specValueValue},l)))})]})},yo=me((({handleStep:l})=>{const{View:o,NumStep:n}=s(),i=Q((e=>e.count));return a(o,{className:"countWrap",children:[e(o,{className:"label",children:"购买数量"}),e(n,{count:i,handleStep:l})]})})),xo=({skuInfo:o,handleChooseSize:n,spec:i,goodInfo:t})=>{const{Image:c,View:r}=s(),{skuList:d}=o;return a(l,{children:[a(r,{className:"goodsInfo",children:[e(r,{className:"lPart",children:e(c,{src:t.dataPic,alt:"",className:"goodsImg"})}),a(r,{className:"rPart",children:[e(r,{className:"name",children:t.goodsName}),e(r,{className:"price",children:la(t.pricesetNprice)}),a(r,{className:"chosen",children:["已选择: ",i.toString()]})]})]}),d.map(((a,l)=>e(bo,{spec:i,handleChooseSize:n,index:l,skuName:a.skuName,skuOption:a.skuOption},l)))]})},ko=({cashImpl:o,addShoppingImpl:n,addCardImpl:i})=>{const{Text:t,View:c}=s(),r=Q((e=>e.isNeedButton));return e(l,{children:r?e(c,{className:"btnWrap",onClick:n,children:e(t,{className:"btn",children:"确认"})}):a(c,{className:"goods-detail-btn-group popup-buy-button",children:[e(c,{className:"btn addCart",onClick:i,children:"加入购物车"}),e(c,{className:"btn buy",onClick:o,children:"立即购买"})]})})},wo=me((({dispatchPageStore:l,goodsCode:o,skuInfo:n,rsSkuDomainList:i})=>{const{View:t}=s(),{spec:c,goodInfo:r}=E(i),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:p,addShoppingImpl:u}=Z(o,n,l);return a(t,{className:"goodsDetail-size-popup",children:[a(t,{className:"content",children:[e(xo,{skuInfo:n,handleChooseSize:d,spec:c,goodInfo:r}),e(yo,{handleStep:m.bind(null,r.goodsNum)})]}),e(ko,{cashImpl:p,addShoppingImpl:u,addCardImpl:h})]})})),vo=({popupVisible:a,dispatchPageStore:l,goodsCode:o,skuInfo:n,rsSkuDomainList:i})=>{const{Popup:t}=s();return e(t,{popupVisible:a,popupHandler:()=>{l((e=>Object.assign(Object.assign({},e),{popupVisible:!1})))},children:e(wo,{dispatchPageStore:l,goodsCode:o,skuInfo:n,rsSkuDomainList:i})})},So=({skuCode:o,serverShow:n,cartShow:i,lPartColor:t,lPartBgColor:c,lPartStyle:r,rPartColor:d,rPartBgColor:m,rPartStyle:h,popupVisible:p=!1,dispatchPageStore:u=Me})=>{const{Text:g,View:N,IconMobile:C}=s(),{rsSpecValueDomainList:f,goodsCode:b,rsSkuDomainList:y}=j(o),x=X(f),{servicePopup:k}=aa(),{addCardPopup:w,buyOpenPopup:v}=U(u);return a(l,{children:[a(N,{className:"goodsDetailHandleBar",children:[a(N,{className:"linkGroup server",onClick:k,style:{display:n?"block":"none"},children:[e(C,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(g,{className:"txt",children:"客服"})]}),a(N,{className:"linkGroup cart",onClick:()=>ye("shopping"),style:{display:i?"block":"none"},children:[e(C,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(g,{className:"txt",children:"购物车"})]}),a(N,{className:"goods-detail-btn-group",children:[e(N,{className:"btn addCart",onClick:w,style:{color:t,backgroundColor:c,borderTopLeftRadius:r,borderBottomLeftRadius:r},children:"加入购物车"}),e(N,{onClick:v,className:"btn buy",style:{color:d,backgroundColor:m,borderTopRightRadius:h,borderBottomRightRadius:h},children:"立即购买"})]})]}),e(vo,{dispatchPageStore:u,popupVisible:p,goodsCode:b,rsSkuDomainList:y,skuInfo:x})]})},Io=({skuCode:o,serverShow:n,cartShow:i,lBtnBorderColor:t,lBtnFontColor:c,lBtnColor:r,lBtnStyle:d,rBtnBorderColor:m,rBtnFontColor:h,rBtnColor:p,rBtnStyle:u,popupVisible:g=!1,dispatchPageStore:N=Me})=>{const{Text:C,View:f,IconMobile:b}=s(),{rsSpecValueDomainList:y,goodsCode:x,rsSkuDomainList:k}=j(o),w=X(y),{servicePopup:v}=aa(),{addCardPopup:S,buyOpenPopup:I}=U(N);return a(l,{children:[a(f,{className:"goodsDetailHandleBarOne",children:[a(f,{className:"linkGroup server",onClick:v,style:{display:n?"block":"none"},children:[e(b,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"客服"})]}),a(f,{className:"linkGroup cart",onClick:()=>ye("shopping"),style:{display:i?"block":"none"},children:[e(b,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"购物车"})]}),a(f,{className:"goods-detail-one-btn-group",children:[e(f,{className:"btn addCart",onClick:S,style:{border:`1px solid ${t}`,color:c,backgroundColor:r,borderRadius:1===d?"20px":"0"},children:"加入购物车"}),e(f,{onClick:I,className:"btn buy",style:{border:`1px solid ${m}`,color:h,backgroundColor:p,borderRadius:1===u?"20px":"0"},children:"立即购买"})]})]}),e(vo,{dispatchPageStore:N,popupVisible:g,goodsCode:x,rsSkuDomainList:k,skuInfo:w})]})},Ao=me((({defaultValue:l,coupons:o,bg:n,borderColor:i,btnColor:t,typeColor:c,titleColor:r,ruleColor:d,timeColor:m,paddingTop:h,paddingBottom:p})=>{const{View:u}=s(),{list:g,takeCoupon:N,takeList:C}=J({defaultValue:l,coupons:o});return e(u,{style:{paddingTop:`${h}px`,paddingBottom:`${p}px`},children:g.map(((l,o)=>{const s=Le(l,"pbName"),h=Le(l,"pmPromotionDiscountList"),p=Le(h.at(-1),"discName"),g=Le(l,"promotionName"),f=De(Le(l,"promotionBegintime")).format("YYYY-MM-DD"),b=De(Le(l,"promotionEndtime")).format("YYYY-MM-DD"),y=Le(l,"promotionCode");return a(u,{className:"OneLineOneBlc",style:{backgroundColor:n,borderColor:i},children:[a(u,{className:"lPart",children:[a(u,{className:"intro",children:[e(u,{className:"type",style:{color:c},children:s}),e(u,{className:"rule",style:{color:d},children:p})]}),a(u,{className:"info",children:[e(u,{className:"title",style:{color:r},children:g}),a(u,{className:"validity",style:{color:m},children:[f," - ",b]})]})]}),e(u,{className:"rPart",style:{backgroundColor:t},children:-1===l.availabledate||C.includes(o)?e(u,{className:"txt",children:"已 领 取"}):e(u,{className:"txt",onClick:()=>N({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),Bo=me((({defaultValue:l,coupons:o,bg:n,borderColor:i,btnColor:t,typeColor:c,ruleColor:r,titleColor:d,timeColor:m,gap:h,paddingTop:p,paddingBottom:u})=>{const{View:g}=s(),{list:N,takeCoupon:C,takeList:f}=J({defaultValue:l,coupons:o});return e(g,{className:"oneLineTwoBlc",style:{paddingTop:p,paddingBottom:u,paddingLeft:"10px",paddingRight:"10px",gap:h},children:N.map(((l,o)=>{const s=Le(l,"pbName"),h=Le(l,"pmPromotionDiscountList"),p=Le(h.at(-1),"discName"),u=Le(l,"promotionName"),N=De(Le(l,"promotionBegintime")).format("YYYY-MM-DD"),b=De(Le(l,"promotionEndtime")).format("YYYY-MM-DD"),y=Le(l,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:n,borderColor:i},children:[a(g,{className:"lPart",children:[e(g,{className:"type",style:{color:c},children:s}),e(g,{className:"rule",style:{color:r},children:p}),e(g,{className:"info",style:{color:d},children:u}),a(g,{className:"validity",style:{color:m},children:[N," - ",b]})]}),e(g,{className:"rPart",style:{backgroundColor:t},children:-1===l.availabledate||f.includes(o)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>C({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),Vo=me((l=>{var{type:o=1,coupons:n=[]}=l,i=Xe(l,["type","coupons"]);const{View:t}=s();return a(t,{className:"getCouponOne",children:[1===o?e(Ao,Object.assign({coupons:n},i)):null,2===o?e(Bo,Object.assign({coupons:n},i)):null]})})),To=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],Do=me((({activeColor:a,setParams:l,params:o})=>{const{View:n}=s();return e(n,{className:"promotionListTab",children:To.map(((s,i)=>e(n,{className:"promotionListTabItem",onClick:()=>l(s.val),style:{color:s.val===o?a:"#000"},children:s.label},i)))})})),Lo=({data:l})=>{const{View:o}=s(),{pbName:n,promotionName:i,pmPromotionDiscountList:t,promotionBegintime:c,promotionEndtime:r}=l;return a(o,{className:"promotionItem",children:[a(o,{className:"lPart",children:[e(o,{className:"round"}),e(o,{className:"tagBg",children:a(o,{className:"txt",children:["官方",n]})}),e(o,{className:"rule",children:t.at(-1).discName}),e(o,{className:"title",children:i}),a(o,{className:"time",children:[De(c).format("YYYY-MM-DD")," ~ ",De(r).format("YYYY-MM-DD")]})]}),e(o,{className:"rPart",children:e(o,{className:"sideBorder"})})]})},Po=me((({activeColor:l,paddingTop:o,paddingBottom:n})=>{const[i,t]=pe(To[0].val),{list:c,getData:r}=ee({params:i}),{View:d,ScrollView:m}=s();return a(d,{style:{padding:`${o}px 0 ${n}px`},children:[e(Do,{activeColor:l,setParams:t,params:i}),e(d,{children:e(pa,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,l)=>e(Lo,{data:a},l)))})})})]})})),Ro=me((()=>e(l,{children:"123"}))),zo=({setDefault:a,checked:l})=>{const{SmoothCheckbox:o,Checkbox:n}=s();return e(o,{onChange:a,children:e(n,{checked:l,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},Mo=({itemData:l,delAddress:o,setDefault:n})=>{const{View:i,Text:t}=s(),{handlerImpl:c}=ae(l);return a(i,{className:"addressItem",children:[a(i,{className:"upInfo",onClick:c,children:[a(i,{className:"userInfo",children:[l.addressMember," ",l.addressPhone]}),e(i,{className:"addressInfo",children:a(t,{className:"address",children:[l.provinceName," ",l.areaName," ",l.cityName," ",l.addressDetail]})})]}),a(i,{className:"downInfo",children:[e(zo,{checked:"1"===(null==l?void 0:l.addressDefault),setDefault:n}),e(t,{className:"del",onClick:o,children:"删除"})]})]})},Oo=me((()=>{const{View:a,Skeleton:o}=s(),n=fe(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:n.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})})),Fo=me((({refreshNum:a,btnShape:l,btnColor:o,borderColor:n,paddingBottom:i,paddingTop:t,color:c})=>{const{View:r}=s(),{list:d,delAddress:m,setDefault:h,skullShow:p}=le(a);return e(r,{className:"addressListWrap",style:{paddingTop:t+"px",marginBottom:i+"px"},children:p?e(Oo,{}):e(r,{className:"addressList",children:d.length?d.map(((a,l)=>e(Mo,{itemData:a,setDefault:h.bind(null,a,l),delAddress:m.bind(null,a)},null==a?void 0:a.addressId))):e(il,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),jo=me((({borderColor:a,color:l,btnColor:o,btnShape:n,paddingTop:i,paddingBottom:t})=>{const{View:c}=s();return e(c,{className:"addressListBtnWrap",style:{paddingTop:`${i}px`,paddingBottom:`${t}px`},children:e(c,{style:{borderRadius:n,borderColor:a,color:l,backgroundColor:o},className:"addressListBtn",onClick:()=>ye("addressEditor"),children:"+ 新增地址"})})})),Go=xe(),Wo=me((({contractBillcode:l,contractBbillcode:o,btnColor:n,btnShape:i,borderColor:t,paddingTop:c,paddingBottom:r,color:d})=>{const{View:m,Text:h,Radio:p,IconMobile:u,WrapLoading:g,SmoothRadio:N}=s(),{paymentImpl:C,channelList:f,contract:b,handleRadio:y,loading:x}=oe({contractBillcode:l,contractBbillcode:o});return a(m,{className:"paymentModeWrap",style:{height:Go?"inherit":"667px",paddingBottom:r+"px",paddingTop:c+"px"},children:[a(m,{className:"paymentMode",children:[a(m,{className:"topInfo",children:[a(h,{className:"title",children:[e(u,{value:"roundcheck"}),"订单提交成功"]}),a(m,{className:"info",children:["订单号:",b.current.contractBillcode," | 总金额:",la(b.current.dataBmoney),"元"]})]}),e(m,{className:"paymentGroup",children:e(N,{onChange:y,children:null==f?void 0:f.map((l=>a(m,{className:"paymentItem",children:[e(u,{value:l.icon}),a(m,{children:[a(m,{className:"base",children:[e(h,{children:l.fchannelName}),e(p,{value:l.fchannelCode,className:"choose"})]}),"account"===l.value?a(m,{className:"info",children:[e(m,{children:"账户余额:0元"}),e(m,{children:"本单抵扣:5.4元"})]}):null]})]},l.fchannelCode)))})})]}),e(m,{id:"v_html"}),e(g,{loading:x,children:e(m,{className:"btnGroup",onClick:C,children:e(m,{style:{borderRadius:i,backgroundColor:n,color:d,borderColor:t},className:"payment",children:"立即支付"})})})]})})),Eo=me((({title:l})=>{const{View:o}=s();return a(o,{className:"refundOptionStyle",children:[l,a(o,{className:"optionItem",onClick:()=>{ye("refundOnly",{})},children:[e(o,{className:"refund_icon",children:e(Ca,{value:"tuikuantuihuo",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(o,{className:"refund_text",children:[e(o,{className:"refund_type_title",children:"仅退款(无需退货)"}),e(o,{className:"refund_tip",children:"没收到货,或与卖家协商同意不用退货只退款"})]}),e(o,{className:"refund_icon_end",children:e(Ca,{value:"xiangyou1",style:{fontSize:16}})})]}),a(o,{className:"optionItem",children:[e(o,{className:"refund_icon",children:e(Ca,{value:"tuikuantuihuo1",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(o,{className:"refund_text",children:[e(o,{className:"refund_type_title",children:"我要退货退款"}),e(o,{className:"refund_tip",children:"已收到货,需要退还收到的货物"})]}),e(o,{className:"refund_icon_end",children:e(Ca,{value:"xiangyou1",style:{fontSize:16}})})]}),a(o,{className:"optionItem",children:[e(o,{className:"refund_icon",children:e(Ca,{value:"huanhuo",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(o,{className:"refund_text",children:[e(o,{className:"refund_type_title",children:"我要换货"}),e(o,{className:"refund_tip",children:"已收到或,需要退还更换"})]}),e(o,{className:"refund_icon_end",children:e(Ca,{value:"xiangyou1",style:{fontSize:16}})})]})]})})),Ho=me((({value:l,getAmountNum:o,goodsCamount:n})=>{const{View:i}=s(),t=xe();return a(i,{className:"count_btn_style",children:[e(i,{className:"btn_left",onClick:()=>{if(l<=1){if(t){we().showToast({title:"退货数量最低为1",icon:"none",mask:!0})}}else o(l-1)},children:"-"}),e(i,{className:"btn_middle",children:l}),e(i,{className:"btn_right",onClick:()=>{if(l>=n){if(t){we().showToast({title:"退货数量最多不得超出购买该商品总数量!",icon:"none",mask:!0})}}else o(l+1)},children:"+"})]})})),Yo=me((({title:l,dataPic:o,goodsName:n,goodsCamount:i=2,price:t})=>{const[c,r]=pe(!0),[d,m]=pe(i),{View:h,Image:p}=s();console.log("当前退货数量为",d);const u=he((()=>Ae("goods_nums",{goods_nums_btm:Number(i)>1},{goods_nums_btm1:Number(i)<2})),[i]);return a(h,{className:"refundGoodsDeatil",children:[l,a(h,{className:"goodsDeatilMsg",children:[e(h,{className:"goods_img",children:e(p,{src:"https://b2coptfa10b0d4f03f4ff48c571f14558fa068.saas.qjclouds.com/paas/shop/597370900596056114//63758997dcb34f15ae1b7f2244d52916.png",alt:"",className:"img"})}),a(h,{className:"goods_content",children:[a(h,{className:"goods_text",children:[e(h,{className:"goods_title",children:"花秘瑰萃 明星臻选套装 花秘瑰萃 明星臻发顺丰水电费付付水电费"}),e(h,{className:"goods_price",children:"¥980.00"})]}),a(h,{className:u,children:[e(h,{className:"goods_size",children:"30ml/清淡型"}),Number(i)>1?a(h,{className:"nums_btn",children:[e(h,{className:"icon_btn",onClick:()=>r(!c),children:e(Ca,{value:"bangzhu",style:{fontSize:15}})}),e(Ho,{value:d,getAmountNum:e=>{m(e)},goodsCamount:i})]}):`x${i}`]})]}),e(h,{className:"help_btn",style:{display:c?"block":"none"},children:"如部分商品售后成功,剩余商品将不能申请售后"})]})]})})),Uo=me((l=>{console.log("退款类型",l);const{View:o}=s();return a(o,{className:"refundPage",children:[e(o,{className:"goodsMsg",children:e(Yo,Object.assign({title:"退款商品"},l))}),e(o,{className:"refundOption",children:e(Eo,{title:"选择售后类型"})})]})})),Qo=me((()=>{const[l,o]=pe(!1),[n,i]=pe(980),{View:t,Input:c,Popup:r}=s();return a(t,{className:"refundMsgPage",children:[a(t,{className:"refundItem",onClick:()=>{o(!0)},children:[a(t,{className:"refundMsg",children:[a(t,{className:"inputText",children:[e(t,{className:"icon",children:"*"}),e(t,{className:"text",children:"退款原因"})]}),a(t,{className:"optionText",children:[e(t,{className:"text1",children:"请选择"}),e(t,{className:"icon",children:">"})]})]}),e(t,{className:"refundTip",children:"请选择退款原因!退款原因不能为空!"})]}),a(t,{className:"refundItem",children:[a(t,{className:"refundMsg",children:[a(t,{className:"inputText",children:[e(t,{className:"icon",children:"*"}),e(t,{className:"text",children:"退款金额"})]}),a(t,{className:"optionText",children:[e(t,{className:"text",children:a(t,{className:"textInp",children:["¥",e(c,{className:"inputText",disabled:!1,value:oa(n),onBlur:e=>{i(e.detail.value)}})]})}),e(t,{className:"icon1",children:a(t,{className:"iconContent",children:[e(Ca,{value:"bianjishuru",style:{fontSize:12,color:"#000000"}}),e(t,{className:"updatebtn",children:"修改"})]})})]})]}),e(t,{className:"refundTip1",children:"可修改,最多¥980.00,含运费¥0.00"})]}),e(r,{popupVisible:l,popupHandler:o,children:e(t,{className:"goodsDetail-coupon-popup",children:e(pa,{children:"123213"})})})]})})),Ko=me((()=>{const[l,o]=pe(!1),[n,i]=pe([]),{View:t,Popup:c,Image:r}=s(),d=xe();return console.log("图片路径",n),a(t,{className:"select_img",children:[a(t,{className:"icon_img",onClick:()=>{if(n.length>=3){if(d){we().showToast({title:"最多只能上传3张图片!",duration:2e3,icon:"none",mask:!0})}}else o(!0)},children:[e(Ca,{value:"shangchuanpingzheng",style:{fontSize:20,color:"#9e9e9e"}}),e(t,{children:"上传凭证"}),e(t,{children:"(最多3张)"})]}),n.length>0?n.map(((l,o)=>a(t,{className:"show_img",children:[e(t,{className:"delete_btn",onClick:()=>(e=>{console.log("下标",e);const a=n.slice();a.splice(e,1),i((e=>[...a]))})(o),children:"x"}),e(r,{className:"img",src:l,onClick:()=>(e=>{if(d){const a=we();let l=[];l.push(e),a.previewImage({current:e,urls:l,showmenu:!0})}})(l)},o)]}))):"",e(c,{popupVisible:l,popupHandler:o,children:e(t,{className:"upload_content",children:a(pa,{children:[e(t,{className:"upload_btn",children:"拍照"}),e(t,{className:"upload_btn",onClick:()=>{if(d){we().chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(e){console.log("上传图片-相册",e);var a=[];a.push(e.tempFilePaths[0]),console.log("上传路径",a),i((e=>[...e,...a])),o(!1)}})}},children:"从相册选择"}),e(t,{className:"upload_unbtn",onClick:()=>o(!1),children:"取消"})]})})})]})})),qo=me((()=>{const{View:l}=s();return a(l,{className:"uploadingPage",children:[e(l,{className:"uploadingContent",children:"补充描述和凭证"}),a(l,{className:"uploadingText",children:["补充描述,有助于商家更好的处理售后问题",e(l,{className:"uploadImg",children:e(Ko,{})})]})]})})),$o=me((()=>{const{View:l}=s();return a(l,{className:"refundOnlyPage",children:[e(l,{className:"refundTip",children:"请与商家协商,确认达成一致后填写协商好的退款金额"}),e(l,{className:"refundMsg_style",children:e(Qo,{})}),e(l,{className:"refundUploading",children:e(qo,{})})]})})),_o=()=>{const{View:l}=s(),{mySettingGoBind:o,mySettingLogout:n}=se();return a(l,{className:"mySetting",children:[a(l,{className:"item",onClick:o,children:[e(l,{children:"绑定手机"}),e(l,{children:e(Ca,{value:"xiangyou1"})})]}),e(l,{className:"btn",onClick:n,children:"退出登录"})]})},Zo=me(_o),Xo=de.createContext(null),Jo=me((()=>{const{View:l,Image:o,NumStep:n}=s(),{typeTip:i,setTypeTip:t,goodsNum:c,handleStep:r,goodsInfo:d}=Ce(Xo),{goodsName:m,skuName:h,dataPic:p,contractGoodsPrice:u}=d;return a(l,{className:"afterSalesTypeItem",children:[e(l,{className:"afterSalesTypeTitle",children:"退款商品"}),a(l,{className:"afterSalesTypeContent",children:[e(o,{src:p,className:"img"}),a(l,{className:"info",children:[a(l,{className:"base",children:[e(l,{className:"name",children:m}),e(l,{className:"price",children:la(u)})]}),a(l,{className:"advance",children:[e(l,{className:"size",children:h}),a(l,{className:"stepWrap",children:[e(Ca,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>t((e=>!e))}),e(n,{count:c,handleStep:r})]})]}),i?e(l,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),es={1:[{label:"仅退款(无需退货)",value:"B01"},{label:"退货退款",value:"B02"}],2:[{label:"仅退款(无需退货)",value:"B01"}],3:[{label:"仅退款(无需退货)",value:"B01"},{label:"退货退款",value:"B02"}],4:[{label:"仅退款(无需退货)",value:"B01"},{label:"退货退款",value:"B02"}]},as=(e=2)=>es[e],ls=me((({afterSalesType:l=2,contractBillcode:o,skuCode:n})=>{const{View:i}=s(),{goApply:t,goodsNum:c}=Ce(Xo);return e(i,{children:a(i,{className:"afterSalesTypeType",children:[e(i,{className:"title",children:"售后类型"}),as(+l).map(((l,s)=>a(i,{className:"item",onClick:t.bind(null,l.value,o,n,c),children:[e(i,{className:"headline",children:l.label}),e(Ca,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},s)))]})})})),os=l=>{const{contractBillcode:o,skuCode:n,dataState:i}=l,{typeTip:t,setTypeTip:c,goodsNum:r,handleStep:d,goodsInfo:m,goApply:h}=ne({contractBillcode:o,skuCode:n}),{View:p}=s();return e(p,{className:"afterSalesType",children:a(Xo.Provider,{value:{typeTip:t,setTypeTip:c,goodsNum:r,handleStep:d,goodsInfo:m,goApply:h},children:[e(Jo,{}),e(ls,{afterSalesType:i,contractBillcode:o,skuCode:n})]})})},ss=de.createContext(null),ns=me((()=>{const{View:a}=s(),{tip:l}=Ce(ss);return e(a,{className:"afterSalesApplyTip",children:l})})),is=me((()=>{const{View:l,SmoothRadio:o,Radio:n,Popup:i,ScrollView:t}=s(),{handlePopupShow:c,popupVisible:r,reasonList:d,handleChooseReason:m}=Ce(ss);return e(i,{popupVisible:r,popupHandler:c,children:e(l,{className:"reasonPopup",children:e(pa,{children:a(t,{children:[e(l,{className:"title",children:"退款原因"}),e(o,{onChange:m,children:d.map(((o,s)=>a(l,{className:"reasonItem",children:[e(l,{className:"label",children:o.flagSettingInfo}),e(n,{value:o.flagSettingInfo})]},s)))})]})})})})})),ts=me((()=>{const{View:l}=s(),{handlePopupShow:o,popupVisible:n,reason:i,goodsInfo:t,goodsNum:c}=Ce(ss);return a(l,{className:"afterSalesApplyFillIn",children:[a(l,{className:"reason",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款原因"})]}),e(l,{className:"choose",onClick:o,children:i?e(l,{className:"chooseResult",children:i}):a(l,{children:["请选择",e(Ca,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]})})]}),a(l,{className:"price",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款金额"})]}),a(l,{className:"allPrice",children:[e(l,{className:"single",children:la(null==t?void 0:t.pricesetNprice)}),a(l,{className:"count",children:["x ",c]})]})]}),e(is,{popupShow:n})]})})),cs=me((()=>{const{View:l,TextArea:o,Textarea:n}=s(),i=n||o,{handleChooseImg:t,imgGroup:c,placeholder:r,handleDelImg:d,limit:m,handleFillInReason:h}=Ce(ss);return a(l,{className:"afterSalesApplySubFillIn",children:[e(l,{className:"title",children:"补充描述和凭证"}),a(l,{className:"content",children:[e(i,{placeholder:r,rows:5,maxLength:200,style:{marginBottom:15},onInput:h}),a(l,{className:"imgGroup",children:[c.length<m?e(l,{className:"add",onClick:t,children:a(l,{className:"addContent",children:[e(Ca,{value:"shangchuanpingzheng"}),e(l,{className:"word",children:"上传凭证"}),a(l,{className:"num",children:[c.length,"/",m]})]})}):null,c.map(((a,o)=>e(l,{className:"imgItem",style:{backgroundImage:`url(${a})`},children:e(l,{className:"cancel",onClick:d.bind(null,o),children:e(Ca,{value:"close-bold",style:{fontSize:12}})})},o)))]})]})]})})),rs=({refundType:l,contractBillcode:o,skuCode:n,goodsNum:i})=>{const{View:t,WrapLoading:c}=s();console.log(23,l,o,n,i);const{tip:r,reasonList:d,popupVisible:m,handlePopupShow:h,handleChooseReason:p,reason:u,handleChooseImg:g,imgGroup:N,placeholder:C,handleDelImg:f,limit:b,goodsInfo:y,handleFillInReason:x,handleSubmit:k,loading:w}=ie({contractBillcode:o,skuCode:n});return e(c,{loading:w,children:e(t,{className:"afterSalesApply",children:a(ss.Provider,{value:{tip:r,reasonList:d,popupVisible:m,handlePopupShow:h,handleChooseReason:p,reason:u,handleChooseImg:g,imgGroup:N,placeholder:C,handleDelImg:f,limit:b,goodsNum:i,goodsInfo:y,handleFillInReason:x,handleSubmit:k},children:[e(ns,{}),e(ts,{}),e(cs,{}),e(t,{className:"submitBtn",onClick:k.bind(null,i,o,l),children:"确定"})]})})})},ds=(e,a,l)=>{if(-1===a)return"MINI"===l?"撤销申请":"商家拒绝申请";if("B01"===e){return{0:"待审核",8:"退款完成"}[a]}if("B02"===e){return{0:"待审核",1:"商家通过申请-填写物流信息",2:"待商家收货",6:"商家拒绝收货",8:"退款成功"}[a]}},ms=de.createContext(null),hs=me((()=>{const{companyList:l,popupShow:o,handlePopupShow:n,chooseCompany:i}=Ce(ms),{View:t,SmoothRadio:c,Radio:r,Popup:d,ScrollView:m}=s();return e(d,{popupVisible:o,popupHandler:n,children:e(t,{className:"reasonPopup",children:e(pa,{children:a(m,{children:[e(t,{className:"title",children:"物流选择"}),e(c,{onChange:i,children:l.map(((l,o)=>a(t,{className:"reasonItem",children:[e(t,{className:"label",children:l.expressName}),e(r,{value:`${l.expressName}-${l.expressCode}`})]},o)))})]})})})})})),ps=me((()=>{const{handlePopupShow:o,packageName:n,setPackageBillno:i,submitExpressInfo:t}=Ce(ms),{View:c,Input:r}=s();return a(l,{children:[a(c,{className:"sender_content",children:[a(c,{className:"sender_name",children:[e(c,{className:"sender_icon",children:"*"}),e(c,{className:"sender_names",children:"物流公司"})]}),e(c,{className:"sender_input name_style",onClick:o,children:e(c,""===n?{style:{color:"#000"},children:"请填写"}:{children:n})})]}),a(c,{className:"sender_content",children:[a(c,{className:"sender_name",children:[e(c,{className:"sender_icon",children:"*"}),e(c,{className:"sender_names",children:"物流单号"})]}),e(c,{className:"sender_input",children:e(r,{type:"number",placeholder:"请填写",onInput:e=>i(e.detail.value)})})]}),e(c,{className:"expressInfo",children:e(c,{className:"expressInfo_btn",onClick:t,children:"提交物流信息"})}),e(hs,{})]})})),us=me((({refundCode:o})=>{const{afterSalesDetailInfo:n,submitExpressInfo:i,handleCancelAfterSales:t,companyList:c,popupShow:r,handlePopupShow:d,chooseCompany:m,packageName:h,setPackageBillno:p}=te({refundCode:o}),{dataState:u,gmtCreate:g,ocRefundGoodsList:N,refundMoney:C,refundMeo:f,refundEx:b,refundType:y,refundUcode:x,ocRefundFileList:k,goodsReceiptMem:w,goodsReceiptPhone:v,goodsReceiptArrdess:S,packageMode:I,packageBillno:A}=n,{View:B,Image:V}=s();return e(B,{className:"afterSalesDetail",children:a(ms.Provider,{value:{companyList:c,popupShow:r,handlePopupShow:d,chooseCompany:m,packageName:h,setPackageBillno:p,submitExpressInfo:i},children:[a(B,{className:"afterSalesDetailTopTitle",style:{background:"#000"},children:[e(B,{className:"left_text",children:ds(y,u,x)}),e(B,{className:"right_time",children:De(g).format("YYYY-MM-DD HH:mm:ss")})]}),e(B,{className:"afterSalesDetailContent",children:a(B,{className:"refundDetail",children:[e(B,{className:"title",children:"退款信息"}),e(B,{className:"goodsDetail",children:null==N?void 0:N.map(((a,l)=>e(sa,{dataPic:a.dataPic,pricesetNprice:a.pricesetNprice,goodsName:a.goodsName,goodsCamount:a.refundGoodsNum,skuName:a.skuName},l)))}),a(B,{className:"refund_Detail",children:[e(B,{className:"left",children:"退款原因"}),e(B,{className:"right",children:b})]}),a(B,{className:"refund_Detail",children:[e(B,{className:"left",children:"退款金额"}),e(B,{className:"right",children:C})]}),a(B,{className:"refund_Detail",children:[e(B,{className:"left",children:"描述说明"}),e(B,{className:"right",children:f})]}),a(B,{className:"refund_Detail",children:[e(B,{className:"left",children:"补充凭证"}),e(B,{className:"right",children:null==k?void 0:k.map(((a,l)=>e(V,{src:a.refundFileUrl,mode:"widthFix",className:"refundImg"},l)))})]}),a(B,{className:"refund_Detail",children:[e(B,{className:"left",children:"申请时间"}),e(B,{className:"right",children:De(g).format("YYYY-MM-DD HH:mm:ss")})]}),a(B,{className:"refund_Detail",children:[e(B,{className:"left",children:"退款编号"}),e(B,{className:"right",children:o})]}),e(l,{children:"B02"===y?a(l,{children:[u>0?a(B,{className:"merchantMsg",children:[e(B,{className:"title",children:"商家信息"}),a(B,{className:"name",children:[w," ",v]}),e(B,{className:"address",children:S})]}):"",1===u?a(B,{className:"writeMsg",children:[e(B,{className:"wlMsg",children:"物流信息"}),e(ps,{})]}):"",u>1?a(B,{className:"writeMsg",children:[e(B,{className:"wlMsg",children:"物流信息"}),a(B,{className:"express_content",children:[e(B,{className:"name",children:"物流单号"}),e(B,{className:"code",children:A})]}),a(B,{className:"express_content",children:[e(B,{className:"name",children:"物流公司"}),e(B,{className:"code",children:h})]}),a(B,{className:"express_content",children:[e(B,{className:"name",children:"物流公司编码"}),e(B,{className:"code",children:I})]})]}):""]}):""})]})}),0===u?e(B,{className:"footerBtn",children:e(B,{className:"btn",onClick:t.bind(null,N[0].goodsCode),children:"撤销申请"})}):null]})})})),gs={B01:{icon:"tuikuan1",label:"仅退款(无需退货)",color:"#58BE6A"},B02:{icon:"tuikuan1",label:"退货退款",color:"#C52922"}},Ns={B01:{"-1":"撤销申请/商家拒绝",0:"申请退款-待审核",8:"审核通过-退款完成",9:"退款失败"},B02:{"-1":"撤销申请/商家拒绝",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款中"}},Cs=me((({data:l,goAfterSalesDetail:o})=>{var n,i;const{View:t,Image:c}=s();return a(t,{className:"afterSalesListItem",onClick:o.bind(null,l.refundCode),children:[a(t,{className:"title",children:[a(t,{className:"lPart",children:["服务单号: ",l.refundCode]}),a(t,{className:"rPart",children:[e(Ca,{style:{color:null===(n=gs[l.refundType])||void 0===n?void 0:n.color,fontSize:12},value:null===(i=gs[l.refundType])||void 0===i?void 0:i.icon}),e(t,{className:"txt",children:gs[l.refundType].label})]})]}),a(t,{className:"goodsInfo",children:[e(t,{className:"lPart",children:e(c,{src:l.ocRefundGoodsList[0].dataPic,className:"img"})}),a(t,{className:"rPart",children:[e(t,{className:"goodsName",children:l.ocRefundGoodsList[0].goodsName}),a(t,{className:"count",children:["申请数量: ",l.ocRefundGoodsList[0].goodsNum]})]})]}),a(t,{className:"tip",children:[e(t,{class:"lPart",children:Ns[l.refundType][l.dataState]}),e(Ca,{style:{fontSize:12,color:"#A5A5A5"},value:"xiangyou1"})]})]})})),fs=me((()=>{const{View:a}=s();return e(a,{className:"noData",children:e(a,{className:"txt",children:"暂无售后单"})})})),bs=me((({item:a,refreshNum:l})=>{const{View:o,ScrollView:n}=s(),{afterSalesList:i,goAfterSalesDetail:t}=ce(a,l);return e(o,{className:"tabContent",children:e(pa,{id:"tabContent",children:e(n,{children:i.length?i.map((a=>e(Cs,{data:a,goAfterSalesDetail:t.bind(null,a.refundCode)}))):e(fs,{})})})})})),ys=me((({refreshNum:a=0})=>{const{View:l,Tabs:o}=s();return e(l,{className:"afterSalesList",children:e(o,{defaultIndex:0,tabs:re,render:l=>e(bs,{item:l,refreshNum:a})})})}));export{Ja as AddressDetail,Fo as AddressList,jo as AddressListBtn,rs as AfterSalesApply,us as AfterSalesDetail,ys as AfterSalesList,os as AfterSalesType,Ro as AllCouponList,Po as AllPromotionList,Ll as ArticleDetail,Yl as BackTop,rl as Cart,yl as CartList,xl as CartOperate,dl as CartTop,Kl as ClassifyNav,$l as ClassifyNavOne,ql as ClassifyNavOneJsx,Zl as ClassifyNavThree,_l as ClassifyNavTwo,Tl as CollectionList,sl as CouponList,Ee as Cube,Ha as EvaluateDetail,Wa as EvaluateList,Qa as ExpressInfo,Bl as FootPrint,Vo as GetCouponOne,Xl as Goods,wa as GoodsClassify,Va as GoodsClassifyOne,Pa as GoodsClassifyTwo,fo as GoodsDetailAndEvaluate,lo as GoodsDetailBanner,po as GoodsDetailCoupon,So as GoodsDetailHandleBar,Io as GoodsDetailHandleBarOne,so as GoodsDetailInfo,io as GoodsDetailInfoOne,ro as GoodsDetailPromotion,co as GoodsDetailSku,Ma as GoodsList,Jl as GoodsSlider,ao as GoodsSlideshow,Ql as Line,kl as MineData,vl as MineFunction,wl as MineOrderEntry,Zo as MySetting,_o as MySettingJsx,Ge as Notice,Dl as NoticeDetail,ya as OrderDetail,Na as OrderList,Wo as PaymentMode,Ml as PlaceOrderAddress,Fl as PlaceOrderCoupon,jl as PlaceOrderDelivery,Gl as PlaceOrderGood,Wl as PlaceOrderInfo,El as PlaceOrderOperate,al as PlaceOrderResult,Ca as QjMobileIcon,Uo as RefundAfter,$o as RefundOnly,Ke as Search,Fa as SearchPage,qe as SearchStyleTwo,Ye as Service,Ze as Slider,Ul as TextLine,We as Title,He as Video};
|
|
1
|
+
import{jsx as e,jsxs as a,Fragment as l}from"react/jsx-runtime";import{NoticeBar as o,useComponent as s,antdMobile as n,IconMobile as i}from"@brushes/simulate-component";import{useNotice as t,useCube as c,useOrderOperate as r,orderStatusImpl as d,useOrderList as m,orderStatusList as h,useOrderDetail as p,useGoodsClassify as u,useGoodsList as g,useEvaluateDetail as N,useExpressInfo as C,useEditAddress as f,useOrderResultResult as b,useCouponList as y,useStore as x,useCartItem as k,StoreProvider as w,useCartList as v,useCartTop as S,useCartListNext as I,useCartOperate as A,useFootprint as B,useCollectionList as V,useNoticeDetail as T,useArticleDetail as D,useOrderAddress as L,useOrderGood as P,useOrderCoupon as R,useOrderInfo as z,useOrderPay as O,useGoTop as M,useGoods as F,useGoodDetail as j,useBanner as G,useGoodCollection as W,useGoodSpecAndPrice as E,useGoodFootprint as H,useGoodsShare as Y,popupImplement as U,useGoodSkuStore as Q,usePromotion as K,useAddCoupon as q,useCoupon as $,useEvaluate as _,useAddShopping as Z,useGoodSku as X,useAllCoupon as J,useMarketingPromotion as ee,useAddressItem as ae,useAddressList as le,useOrderResult as oe,useMySetting as se,useAfterSalesChooseType as ne,useAfterSalesApply as ie,useAfterSalesDetail as te,useAfterSalesList as ce,afterSalesTabConfig as re}from"qj-mobile-store";import de,{memo as me,useMemo as he,useState as pe,useEffect as ue,createElement as ge,createContext as Ne,useContext as Ce,useRef as fe,Fragment as be}from"react";import{navigatorHandler as ye,getEnv as xe,getStorage as ke,getTaro as we,useImmutableCallback as ve,navigatorBackImpl as Se,setStorage as Ie}from"@brushes/utils";import Ae from"classnames";import{queryOcsconfigList as Be,getContractNumbers as Ve,find as Te}from"qj-b2c-api";import De from"dayjs";import{get as Le,isEmpty as Pe,groupBy as Re,isEqual as ze,noop as Oe}from"lodash-es";import Me from"china-division/dist/provinces.json";import Fe from"china-division/dist/cities.json";import je from"china-division/dist/areas.json";const Ge=({direction:a,speed:l,num:s,color:n})=>{const{content:i,navigator:c}=t(s);return e(o,{navigator:c,color:n,speed:l,direction:a,content:i})},We=me((({value:a,textIndent:l,fontSize:o,textAlign:n,color:i,backgroundColor:t,fontWeight:c,textDecoration:r,fontStyle:d,paddingTop:m,paddingLeft:h,paddingRight:p,paddingBottom:u})=>{const{View:g}=s();return e(g,{className:"components-title",style:{paddingTop:m,paddingBottom:u},children:e(g,{style:{fontSize:o,textAlign:n,color:i,backgroundColor:t,fontWeight:c,textDecoration:r,fontStyle:d,paddingLeft:h,paddingRight:p,textIndent:l},children:a})})})),Ee=me((({defaultValue:a,type:l,borderRadius:o,outerShadow:n,paddingRight:i,paddingLeft:t,picGap:r,xGap:d,paddingTop:m,paddingBottom:h,selectImg:p})=>{const{View:u,Image:g}=s(),N=c(a,p);return e(u,{style:{paddingTop:m,paddingBottom:h,paddingLeft:d,paddingRight:d},children:e(u,{className:`cube-type${l}`,style:{paddingLeft:t,paddingRight:i,gap:r},children:N.map(((a,s)=>e(g,{className:"block "+(n?"outer-shadow":""),mode:1===l?"widthFix":"scaleToFill",src:a.imgUrl,style:{width:"100%",borderRadius:o+"px"},onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)}},s)))})})})),He=me((({url:a,poster:l,autoplay:o,loop:n,paddingTop:i,paddingBottom:t,paddingLeft:c,paddingRight:r})=>{const{View:d}=s();return e(d,{style:{paddingTop:i,paddingBottom:t},children:e("video",{className:"components-video",src:a,poster:l,autoPlay:o,loop:n,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:c,paddingRight:r}})})})),Ye=me((({width:a,height:l,top:o,right:n,bottom:i,left:t,borderRadius:c})=>{const{View:r}=s();return e(r,{style:{width:a,height:l,borderRadius:c,top:o,left:t,right:n,bottom:i},className:"components-service"})})),Ue="data:image/png;base64,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",Qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",Ke=me((({value:l,iconShow:o,fontColor:n,backgroundColor:i,borderRadius:t,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=[]})=>{const{View:u,Image:g}=s(),N=he((()=>Ae("txt",...p)),[p]);return e(u,{onClick:()=>ye("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxpositon":"",children:a(u,{className:"components-search",style:{backgroundColor:i,borderRadius:t?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(g,{src:Ue,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:n,display:"inline-block",fontSize:m},children:l})]})})})),qe=me((({value:l,iconShow:o,fontColor:n,backgroundColor:i,borderRadius:t,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=["mockWeight","mockItalic"]})=>{const{View:u,Image:g}=s(),N=he((()=>Ae("txt",...p)),[p]);return e(u,{onClick:()=>ye("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxPosition":"",children:a(u,{className:"components-search",style:{border:`1px solid ${i}`,borderRadius:t?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff"},children:[a(u,{style:{width:"80%"},children:[e(g,{src:Ue,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:n,display:"inline-block",fontSize:m},children:l})]}),e(u,{className:["seachBtn",t?"btnBorderRadius":""].join(" "),style:{fontSize:m,backgroundColor:i,width:"20%",color:n},children:"搜索"})]})})})),$e=me((({item:a,position:l,direction:o})=>{var n,i;const{Image:t,View:c}=s();return e(t,{mode:"scaleToFill",src:a.imgUrl,style:{width:"100%",height:"100%",paddingBottom:"top"===l&&"vertical"===o?"30px":"",marginTop:"top"===l&&"horizontal"===o?"30px":""},onClick:ye.bind(null,null===(n=a.link)||void 0===n?void 0:n.value,null===(i=a.link)||void 0===i?void 0:i.params)})})),_e=me((({Position:o,className:n="",className1:i="",defaultValue:t=[],type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C,selectImg:f,imgHeight:b,fontsize:y=16,textAlign:x="center",fontColor:k="#000000",backGroundColor:w="#ffffff"})=>{const v=he((()=>Ae({paddingbtm:"none"!==o,imgHeights:"bottom"===o&&"horizontal"===h}))),{SmoothSwiper:S,View:I}=s(),A=c(t,f||[]),B=a=>e(I,{className:i,style:{fontSize:y,zIndex:99,justifyContent:"left"===x?"flex-start":"center"===x?"center":"flex-end",color:k,backgroundColor:w},children:a.title});return e(I,{className:n,style:{paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C},children:e(S,{imgHeight:b,data:A,className:v,type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,interval:5e3,vertical:"vertical"===h,render:s=>a(l,{children:["top"===o||"bottom"===o?B(s):null,e($e,{item:s,position:o,direction:h})]})})})})),Ze=me((({paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:n,defaultValue:i=[],type:t,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTB:g=0,paddingLR:N=0,fontsize:C=16,textAlign:f="center",fontColor:b="#000000",backGroundColor:y="#ffffff",otherStyles:x=[],ImgShadow:k=!1,Position:w="top"})=>{const{View:v}=s(),S=he((()=>Ae("silder-title",{"silder-tops1":"top"===w&&"horizontal"===d,"silder-bottoms":"bottom"===w&&"horizontal"===d,"silder-bottoms1":"vertical"===d&&"bottom"===w,"silder-tops":"vertical"===d&&"top"===w},...x)),[x,w]);return e(v,{style:{padding:`${g}px ${N}px`},children:e(_e,{Position:w,defaultValue:i,type:t,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:n,fontsize:C,textAlign:f,fontColor:b,backGroundColor:y,className:Ae({"outer-shadow":k}),className1:S})})}));function Xe(e,a){var l={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&a.indexOf(o)<0&&(l[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)a.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(l[o[s]]=e[o[s]])}return l}function Je(e,a,l,o){return new(l||(l=Promise))((function(s,n){function i(e){try{c(o.next(e))}catch(e){n(e)}}function t(e){try{c(o.throw(e))}catch(e){n(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof l?a:new l((function(e){e(a)}))).then(i,t)}c((o=o.apply(e,a||[])).next())}))}const ea=xe(),aa=()=>{const[e,a]=pe([]);ue((()=>{Je(void 0,void 0,void 0,(function*(){const e=ke("service");if(e)a(l(e));else{const e=yield Be();a(l(e))}}))}),[]);const l=e=>{let a=[];for(let l=0;l<e.length;l++){const o=e[l].ocsOcserviceReDomain;a.push(`${o.ocserviceName}: ${o.ocserviceRemark}`)}return a};return{servicePopup:()=>{if(!ea)return;we().showActionSheet({itemList:e,success:function(e){console.log(e.tapIndex)},fail:function(e){console.log(e.errMsg)}})}}},la=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2}):"¥ 0",oa=(e=0)=>e?e.toLocaleString("en-Us",{minimumFractionDigits:2}):"0",sa=({dataPic:o,goodsName:n,goodsCamount:i,pricesetNprice:t,skuName:c,children:r})=>{const{View:d,Image:m,SmoothView:h}=s(),p=la(t),u=he((()=>i?`x ${i}`:""),[i]);return e(l,{children:a(d,{className:"card-item",children:[e(m,{src:o,alt:"",className:"card-item-img"}),a(d,{className:"card-item-info",children:[a(d,{className:"card-item-info-container",children:[e(h,{className:"card-item-info-container-title",children:n}),e(h,{className:"card-item-info-container-price",children:p})]}),a(d,{className:"card-item-info-sub",children:[e(h,{className:"sku",children:c}),e(h,{className:"count",children:u})]}),r]})]})})},{Button:na}=n,ia=a=>{var{dataState:o}=a,s=Xe(a,["dataState"]);return e(l,{children:["2","-1"].includes(o+"")?null:e(ta,Object.assign({dataState:o},s))})},ta=a=>{var{dataState:l,contractAppraise:o,color:n,borderColor:i,btnColor:t,btnShape:c}=a,d=Xe(a,["dataState","contractAppraise","color","borderColor","btnColor","btnShape"]);const{View:m}=s();4!==l&&4!==l||1===o?4!==l&&4!==l||1!==o||(l=5):l=4;const{operateArray:h,handlerImpl:p}=r(Object.assign({dataState:l},d));return e(m,{className:"btnGroup",children:h.map(((a,l)=>e(na,{style:{color:n,borderColor:i,backgroundColor:t},className:Ae({btn:!0,white:0===l,black:1===l}),onClick:()=>p(a.handler),shape:c,children:a.name},l)))})};const ca=(e,a)=>{const[l,o]=pe("");return ue((()=>{const l=setTimeout((()=>{const l=new Date(e),s=new Date,n=l.getTime()-s.getTime();n<999&&n>0?a():n>1e3&&o(((e,a)=>{const l=Math.floor(e/1e3)%60,o=Math.floor(e/1e3/60)%60,s=Math.floor(e/1e3/60/60)%24;return`${Math.floor(e/1e3/60/60/24)}天 ${s}小时 ${o}分钟 ${l}秒${a}`})(n,"后将取消订单,请尽快支付"))}),1e3);return()=>{clearTimeout(l)}}),[l]),{resultTime:l}},{Button:ra}=n,da=({contractPaydate:a,init:o})=>{const{View:n,SmoothView:i}=s(),{resultTime:t}=ca(a,o);return e(l,{children:t?e(n,{className:"card-item-info-countDown",children:e(i,{children:t})}):null})};function ma({contractBillcode:l,dataBmoney:o,dataBnum:n,goodsList:i,dataState:t,contractId:c,init:r,contractAppraise:m,borderRadius:h,orderSpacing:p,contractPaydate:u}){const{View:g}=s(),N=d(t);return a(g,{className:"orderListItem",style:{borderRadius:h?8:"",marginTop:p,marginBottom:p},children:[a(g,{onClick:()=>ye("orderDetail",{contractBillcode:l}),children:[a(g,{className:"topInfo",children:[a(g,{className:"orderNo",children:["订单号: ",l,e(ra,{className:"copy",size:"mini",fill:"outline",children:"复制"})]}),e(g,{className:"status",children:N})]}),e(g,{className:"card-item-info-countDown"}),e(g,{className:"goodsItemWrap",children:i.map((a=>e(sa,Object.assign({},a,{dataState:t,children:1===t&&e(da,{contractPaydate:u,init:r})}),a.contractGoodsId)))})]}),a(g,{className:"allInfo",children:[a(g,{className:"totalNum",children:["共",n,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",la(o)]})]}),e(ia,{init:r,contractId:c,contractBillcode:l,dataState:t,contractAppraise:m})]})}const ha=xe(),pa=a=>{var{bottomHeight:l,children:o,id:n,heightWrap:i}=a,t=Xe(a,["bottomHeight","children","id","heightWrap"]);const c=function(e){const[a,l]=pe(0);return ue((()=>{if(!xe()||!e)return;const a=we().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;l(a)}})).exec()}))})),a}(n),r=function(e=""){return he((()=>{if(!xe())return 0;const a=we(),l=a.getStorageSync("safeArea"),o=a.getStorageSync("tabBarHeight")||0;return l+(a.getCurrentPages().at(-1).$taroPath.indexOf("pages/")>=0?o:0)+(e?+e:0)}),[])}(l),{View:d}=s(),m=he((()=>{if(!ha)return n?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(n){return{height:`calc(${we().getSystemInfoSync().windowHeight+"px"} - ${c+r}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[c,r]);return e(d,Object.assign({},t,{style:Object.assign(Object.assign({},m),{paddingBottom:n?"":r}),id:n,children:o}))},ua=()=>{const{View:a,Image:l}=s();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const ga=me((function({item:l,refreshNum:o,borderRadius:n,orderSpacing:i}){const{View:t,ScrollView:c,Loading:r}=s(),{onScroll:d,data:h,loading:p,init:u}=m(l,o);return e(t,{className:"orderListItemWrap",children:e(pa,{id:"orderListItemWrap",children:e(c,{onScroll:d,children:h.length>0?a(t,{children:[h.map(((e,a)=>ge(ma,Object.assign({init:u},e,{key:a,borderRadius:n,orderSpacing:i})))),e(t,{children:p?e(r,{}):null})]}):a(t,{className:"nodata_img",children:[e(ua,{}),e(t,{className:"nodata-btn",onClick:()=>ye("goodList"),children:"前往购物"})]})})})})})),Na=me((({refreshNum:a=0,indexId:l=0,borderRadius:o=!1,orderSpacing:n=12})=>{const{View:i,Tabs:t}=s();return e(i,{className:"order-container",children:e(t,{defaultIndex:+l,tabs:h,render:l=>e(i,{className:"orderList",children:e(ga,{item:l,orderSpacing:n,refreshNum:a,borderRadius:o})})})})})),Ca=({className:a="iconfont",prefixClass:l="icon",onClick:o=(()=>{}),style:n={fontSize:16,color:"#444",fontWeight:900},value:i})=>{const{Text:t}=s();return e(t,{onClick:o,className:Ae(l,i?`${l}-${i}`:"",a),style:n})},{Button:fa}=n,ba=me((({copyContent:a=""})=>{const[l,o]=pe(!1),s=xe();return e(fa,{className:"copy",size:"mini",fill:"outline",onClick:()=>{if(s){const e=we();if(""===a)return void e.showToast({title:"复制内容为空",icon:"error"});e.setClipboardData({data:a,success:()=>{e.showToast({title:"复制成功",icon:"success"}),o(!0)},fail:()=>{e.showToast({title:"复制失败",icon:"error"})}})}},children:l?"已复制":"复制"})})),ya=me((({contractBillcode:o,expressWay:n,backgroundColor:i,color:t,paddingBottom:c,paddingTop:r,borderColor:m,btnColor:h,btnShape:u})=>{const{View:g,Text:N}=s(),{orderDetail:C,handleApplyBtn:f}=p(o||""),b=e=>De(e).format("YYYY-MM-DD HH:mm:ss");return a(g,{className:"orderDetail",children:[e(g,{style:{backgroundColor:i},className:"orderDetailTopTitle",children:a(g,{className:"orderDetailTopTitleContent",children:[a(g,{className:"icon_text",children:["待收货"===d(C.dataState)?e(Ca,{value:"daishouhuo",style:{color:"#ffffff",marginRight:"10px",fontSize:"20px"}}):"",e(N,{className:"title",children:d(C.dataState)})]}),e(g,{className:"subTitleWrap",children:b(C.gmtCreate)})]})}),e(g,{className:"orderDetailContent",style:{paddingTop:r+"px",paddingBottom:c+"px"},children:a(g,{style:{position:"relative",top:-26},children:[a(g,{className:"addressInfo",children:[e(g,{className:"lPart",children:e(Ca,{value:"dizhi"})}),a(g,{className:"mPart",children:[a(g,{className:"personInfo",children:[e(N,{className:"personName",children:C.goodsReceiptMem}),e(N,{className:"personPhone",children:C.goodsReceiptPhone})]}),e(g,{className:"address",children:C.goodsReceiptArrdess})]}),e(g,{className:"rPart"})]}),a(g,{className:"orderDetailGoodsWrap",children:[C.goodsList.map((o=>a(l,{children:[e(sa,Object.assign({},o),o.contractGoodsId),Number(C.dataState)>1&&Number(C.dataState)<5?e(g,{className:"orderBtn",onClick:f.bind(null,o,C.dataState),children:"申请退款"}):""]}))),a(g,{className:"priceInfo",children:[a(g,{className:"priceInfoFloor top",children:[a(g,{className:"totalNum",children:["共",C.goodsNum,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",parseFloat((C.dataBmoney-C.refundMoney).toFixed(2))]})]}),a(g,{className:"priceInfoFloor",children:[e(g,{className:"totalNum",children:"商品总额"}),a(g,{className:"totalPrice",children:["¥",C.contractInmoney]})]}),a(g,{className:"priceInfoFloor",children:[e(g,{className:"totalNum",children:"优惠"}),a(g,{className:"totalPrice",children:["¥",C.goodsPmoney]})]})]})]}),n&&a(g,{className:"express",children:[e(g,{className:"label",children:"配送方式"}),e(g,{className:"name",children:"快递"})]}),a(g,{className:"orderInfo",children:[e(g,{className:"orderInfoItem",children:e(g,{className:"label",children:"订单信息"})}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"订单编号"}),a(g,{className:"context_copy",children:[e(g,{className:"name",children:C.contractBillcode}),e(ba,{copyContent:C.contractBillcode})]})]}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"下单时间"}),e(g,{className:"name",children:b(C.gmtCreate)})]})]}),e(g,{className:"btnGroupFooter",children:e(ia,{borderColor:m,btnColor:h,btnShape:u,color:t,contractBillcode:C.contractBillcode,contractId:C.contractId,dataState:C.dataState})})]})})]})})),xa=me((({navList:o,activeKey:n,cell:i=4})=>{const{View:t,Text:c,Image:r}=s();return e(l,{children:o.map((l=>e(t,{className:["content",n===`${l.goodsClassCode}`?" active":""].join(""),children:((null==l?void 0:l.childList)||[]).map((l=>a(t,{className:"classifyFloor",children:["0"===l.goodsClassHide?a(t,{className:"titleWrap",children:[e(c,{className:"title",children:l.goodsClassName}),e(c,{className:"line"})]}):"",e(t,{className:`container container_columns${i}`,style:{marginTop:"0"===l.goodsClassHide?"":"20px"},children:((null==l?void 0:l.childList)||[]).map((({classtreeCode:l,goodsClassCode:o,goodsClassLogo:s,goodsClassName:n})=>a(t,{onClick:()=>ye("goodList",{classtreeCode:l}),className:"classifyFloorGoodsItem",children:[e(r,{src:s,className:"logo"}),e(t,{className:"title",children:n})]},o)))})]},l.goodsClassCode)))},l.goodsClassCode)))})})),{SideBar:ka}=n,wa=me((({cell:l,color:o,activeTitle:n,paddingTop:i,paddingBottom:t})=>{const{View:c,ScrollView:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(c,{children:e(pa,{id:"goodsClassify",children:e(r,{children:a(c,{style:{height:p?"100%":"667px",paddingTop:i,paddingBottom:t},className:"goodsClassifyContainer",children:[e(c,{className:"side",children:e(ka,{activeKey:d,onChange:m,style:{"--width":"90px","--background-color":"#f5f5f5"},children:h.map((a=>e(ka.Item,{title:a.goodsClassName,className:0===n?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===d?o:"#000"}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(xa,{navList:h,activeKey:d,cell:l})})]})})})})})),va=Ne(null),Sa=me((()=>{const{navList:l,activeKey:o,setActiveKey:n,setFCoe:t,setSCoe:c,selectFontColor:r}=Ce(va),{View:d,ScrollView:m}=s(),[h,p]=pe(!1),u=(e,a)=>{n.bind(null,e)(),t(`${a}`),c("0"),h&&p(!1)};return a(d,{className:"goodsClassifyOne-headerPart",children:[a(d,{className:"goodsClassifyOne-topListWrap",children:[e(d,{className:"goodsClassifyOne-topList",children:l.map(((a,l)=>e(d,{className:["goodsClassifyOne-topListItem"].join(" "),onClick:()=>u(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?r:"#000",borderColor:o===`${a.goodsClassCode}`?r:"#000"},children:a.goodsClassName},l)))}),e(d,{className:"goodsClassifyOne-icon",onClick:()=>p(!0),children:e(i,{value:"paixusort-jiang"})})]}),h?a(d,{className:"goodsClassifyOne-tipWrap",children:[e(d,{className:"goodsClassifyOne-tipWrap-handleBar",children:e(d,{className:"goodsClassifyOne-icon",onClick:()=>p(!1),children:e(i,{value:"paixusort-sheng"})})}),e(pa,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:l.map(((a,l)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>u(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?r:"#000",borderColor:o===`${a.goodsClassCode}`?r:"#000"},children:a.goodsClassName},l)))})})})]}):null]})})),Ia=me((({thirdList:l})=>{const{View:o,Image:n}=s(),{picShadow:i,layout:t}=Ce(va);return e(o,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${t}, 1fr)`},children:l.map(((l,s)=>a(o,{className:"goodsClassifyOneFloorItem",onClick:()=>ye("goodList",{classtreeCode:l.classtreeCode}),children:[e(n,{src:l.goodsClassLogo,className:"pic",style:{boxShadow:i?"#DDDDDD 0px 0px 10px":""}}),e(o,{className:"title",children:l.goodsClassName})]},s)))})})),Aa=xe(),Ba=me((()=>{const{navList:l,fCoe:o,sCoe:n,setSCoe:i,selectFontColor:t,selectBlcShow:c,selectBlcStyle:r}=Ce(va),{secondList:d,thirdList:m}=(({navList:e,fCoe:a,sCoe:l})=>{const o=he((()=>{var l;return(null===(l=e[a])||void 0===l?void 0:l.childList)||[]}),[a,e]),s=he((()=>{var e;return(null===(e=o[l])||void 0===e?void 0:e.childList)||[]}),[l,a,e]);return{secondList:o,thirdList:s}})({navList:l,fCoe:o,sCoe:n}),{View:h,ScrollView:p,SideBar:u}=s();return e(h,{children:e(pa,{id:"goodsClassifyOneContent",children:e(p,{children:a(h,{className:"goodsClassifyOneContent",style:{height:Aa?"100%":"667px"},children:[e(u,{activeKey:n,onChange:i,children:d.map(((a,l)=>e(u.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===r?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":t,"--adm-color-primary":t}},l)))}),e(Ia,{thirdList:m})]})})})})})),Va=me((({selectFontColor:l,selectBlcColor:o,selectBlcShow:n,selectBlc:i,selectBlcStyle:t,picShadow:c,layout:r})=>{const{View:d}=s(),{navList:m,activeKey:h,setActiveKey:p}=u(),[g,N]=pe("0"),[C,f]=pe("0");return e(va.Provider,{value:{fCoe:g,setFCoe:N,sCoe:C,setSCoe:f,navList:m,activeKey:h,setActiveKey:p,selectFontColor:l,selectBlcColor:o,selectBlcShow:n,selectBlc:i,selectBlcStyle:t,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(Sa,{}),e(Ba,{})]})})})),Ta=me((({childList:l,layout:o,picShadow:n,style:i})=>{const{View:t,Image:c}=s();return e(t,{className:"level3Arr",style:Object.assign({gridTemplateColumns:`repeat(${o}, 1fr)`},i),children:l.map(((l,o)=>a(t,{className:"level3ArrItem",onClick:()=>ye("goodList",{classtreeCode:l.classtreeCode}),children:[e(c,{src:l.goodsClassLogo,className:"logo",style:{boxShadow:n?"#DDDDDD 0px 0px 10px":""}}),e(t,{className:"title",children:l.goodsClassName})]},o)))})})),Da=me((({navList:l,activeKey:o,layout:n,picShadow:i})=>{var t;const[c,r]=pe(0);ue((()=>{r(l.findIndex(d))}),[o,c]);const d=e=>e.goodsClassCode===o,{View:m,Image:h}=s();return a(m,{className:"goodsClassifyTwoContent",children:[e(h,{className:"firstLevelImg",src:Le(l[c],"goodsClassLogo"),mode:"widthFix"}),null===(t=Le(l[c],"childList"))||void 0===t?void 0:t.map(((l,o)=>a(m,{children:["0"===l.goodsClassHide?e(m,{className:"level2Title",children:l.goodsClassName}):"",e(Ta,{childList:l.childList,layout:n,picShadow:i,style:{marginTop:"0"===l.goodsClassHide?"":"30px"}})]},o)))]})})),{SideBar:La}=n,Pa=me((({selectFontColor:l,selectBlcShow:o,selectBlcColor:n,selectBlcStyle:i,layout:t,picShadow:c})=>{const{View:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(r,{className:"goodsClassifyTwo",children:e(pa,{id:"goodsClassifyTwo",children:a(r,{className:"goodsClassifyTwoWrap",style:{height:p?"100%":"667px"},children:[e(r,{className:"side",children:e(La,{activeKey:d,onChange:m,style:{"--width":"88px","--background-color":"#f5f5f5"},children:h.map((a=>e(La.Item,{title:a.goodsClassName,className:[o?"":"goodsClassifyTwoFloorNoBlc",1===i?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":l}},a.goodsClassCode)))})}),e(r,{className:"main",children:e(Da,{navList:h,activeKey:d,layout:t,picShadow:c})})]})})})})),Ra=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],za=({setParams:l,activeColor:o})=>{const{View:n}=s(),[i,t]=pe(0),[c,r]=pe(Ra);return e(n,{className:"sortWrap",children:c.map((({order:s,sortField:c,name:d},m)=>a(n,{className:"sortItem "+(i===m?"active":""),onClick:()=>((e,a,o)=>{t(a),o&&r((e=>(e[a].order="asc"===o?"desc":"asc",[...e]))),l({sortField:e,order:o})})(c,m,s),style:{color:i===m?o:""},children:[d,s&&a(n,{className:"orderIcons",children:[e(Ca,{style:{color:i===m&&"desc"!==s?o:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(Ca,{style:{color:i===m&&"desc"===s?o:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},Oa=me((({classtreeCode:l="",searchParam:o="",activeColor:n="#e54e29",goodsName:i=!0,goodsPrice:t=!0,lineationGoods:c=!0,salesQuantity:r=!0,goodsCar:d=!0,borderRadius:m=!0,goodsColor:h=!0,goodsGap:p=10,paddingLR:u=0})=>{const{View:N,Loading:C,SmoothView:f,Image:b,ScrollView:y}=s(),[x,k]=pe({}),{loading:w,getData:v,list:S}=g(l,o,x),I=he((()=>Ae("textBox",{btm:!t&&!c})),[t,c]),A=he((()=>Ae("name",{boxNone:!i})),[i]),B=he((()=>Ae("middle_margin",{boxNone:!r})),[r]),V=he((()=>Ae("goodDetail",{boxNone:!t&&!c&&!d})),[t,c,d]),T=he((()=>Ae({detailContent:!(A.includes("boxNone")&&B.includes("boxNone")&&V.includes("boxNone"))})),[A,B,V]);return a(N,{className:"goodsList",children:[e(N,{className:"top-info",children:e(za,{setParams:k,activeColor:n})}),e(N,{className:"listWrap",style:{padding:` 0px ${u}px`},children:e(pa,{id:"listWrap",children:a(y,{onScroll:()=>v(x),children:[e(N,{className:"list",style:{gap:p},children:S.map((l=>a(N,{onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),className:"listItem",style:{borderRadius:m?"8px":"",boxShadow:h?"4px 4px 4px #969292":""},children:[e(b,{src:l.dataPic,className:"img"}),a(N,{className:T,children:[e(f,{className:A,children:l.goodsName}),a(N,{className:B,children:["已售:",l.goodsNum]}),a(N,{className:V,children:[a(N,{className:I,children:[e(f,{className:"price",style:{display:t?"block":"none"},children:la(l.pricesetNprice)})," ",e(N,{className:"decoration",style:{display:c?"block":"none"},children:la(l.pricesetMakeprice)})]}),e(N,{style:{display:d?"block":"none"},children:e(Ca,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},l.skuCode)))}),w?e(C,{}):null]})})})]})})),Ma=xe(),Fa=me((({placeholder:l,placeholderText:o,history:n,historyText:i,paddingBottom:t,paddingTop:c})=>{const{View:r,Text:d,Input:m}=s(),[h,p]=pe((()=>ke("history")||[])),u=ve((e=>Je(void 0,void 0,void 0,(function*(){Ma&&(p((a=>{if(Pe(e.detail.value))return a;const l=a.concat(e.detail.value);return Ie("history",l),l})),g(e.detail.value))})))),g=ve((e=>{ye("goodList",{searchParam:e})}));return a(r,{className:"searchPage",style:{paddingTop:c,paddingBottom:t},children:[a(r,{className:"search-title",children:[e("img",{src:Ue,alt:""}),e(m,Object.assign({"confirm-type":"search",type:"text",className:"content",onConfirm:u},l?{placeholder:o}:{})),e(d,{className:"btn",onClick:()=>Se(),children:"取消"})]}),n?a(r,{className:"historyWrap",children:[a(r,{className:"title",children:[a(r,{className:"label",children:[e(r,{className:"icon"}),i]}),e(Ca,{onClick:()=>Je(void 0,void 0,void 0,(function*(){(yield we()).removeStorageSync("history"),p([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(r,{className:"content",children:h.map(((a,l)=>e(r,{onClick:()=>g(a),className:"historyItem",children:a},l)))})]}):null]})})),ja=({starColor:l="#FF0934",starSize:o="12px",itemData:i})=>{const{View:t,Text:c,Image:r}=s(),{Rate:d}=n;return a(t,{className:"evaluateItem",children:[a(t,{className:"userInfo",children:[e(r,{src:i.avatar,className:"avatar"}),a(t,{className:"userNameWrap",children:[e(c,{className:"userName",children:i.userName}),e(d,{readOnly:!0,value:i.rate,style:{"--star-size":o,"--active-color":l}})]})]}),a(t,{className:"size",children:["规格: ",i.size]}),e(t,{className:"content",children:i.evaluate}),e(t,{className:"img-group",children:i.imgUrls.map(((a,l)=>e(r,{src:a.imgUrl,className:"img"},l)))})]})},Ga=[{avatar:"http://www.qianjiangcloud.com/images/centerimga/pic%EF%BC%8Flogo+@2x.png",userName:"张三李四王五",rate:4.5,size:"一大通",evaluate:"实物与描述的一样,质量相当好,卖家态度也好,有问必答,发货速度杠杠的,值得购买哦。外观设计漂亮,尺寸大小合适,包装仔细完整,宝贝手感不错,感觉很好,发货速度快,服务态度一流,给力!5星好评!",imgUrls:[{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"},{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"},{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"},{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"}]},{avatar:"http://www.qianjiangcloud.com/images/centerimga/pic%EF%BC%8Flogo+@2x.png",userName:"张三李四王五",rate:4.5,size:"一大通",evaluate:"实物与描述的一样,质量相当好,卖家态度也好,有问必答,发货速度杠杠的,值得购买哦。外观设计漂亮,尺寸大小合适,包装仔细完整,宝贝手感不错,感觉很好,发货速度快,服务态度一流,给力!5星好评!",imgUrls:[{imgUrl:"https://img12.360buyimg.com/n1/jfs/t1/137059/18/27631/76566/635fc607E0b9e9c60/762dac6802e989d3.jpg"}]}],Wa=me((()=>{const[o,n]=pe("1"),{View:i}=s(),t=fe([{label:"全部",num:"900+",index:"1"},{label:"好评",num:"800+",index:"2"},{label:"中评",num:"99+",index:"3"},{label:"差评",num:"12",index:"4"}]),c=e=>{n(e)};return a(l,{children:[e(i,{className:"evaluateListTab",children:t.current.map((e=>a(i,{className:"evaluateListTabItem "+(e.index===o?"active":""),"data-index":e.index,onClick:c.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(i,{className:"evaluateListContent",children:Ga.map(((a,l)=>e(ja,{itemData:a},l)))})]})})),Ea=({onChange:a,readOnly:l=!1,size:o=22,count:n})=>{const{View:i}=s(),[t,c]=pe([{icon:"star-fill"},{icon:"star"},{icon:"star"},{icon:"star"},{icon:"star"}]);ue((()=>{if(n){const e=[...t];for(let a=0;a<e.length;a++)e[a].icon=a>n-1?"star":"star-fill";c(e)}}),[]);const r=e=>{if(!l){for(let a=0;a<t.length;a++)t[a].icon=a>e?"star":"star-fill";c([...t]),a(e+1)}};return e(i,{children:t.map(((a,l)=>e(Ca,{onClick:r.bind(null,l),value:a.icon,style:{color:"#EC6C5C",fontSize:o}},l)))})},Ha=me((({code:l,borderRadius:o,borderColor:i,color:t,buttonColor:c,buttonBorderRadius:r,paddingTop:d,paddingBottom:m})=>{const{orderInfo:h,changeStar:p,Submit:u,changeContent:g}=N(l),{Button:C}=n,{View:f,Image:b,TextArea:y,Textarea:x}=s(),k=y||x,w=fe("宝贝满足你吗?分享一下它吧");return a(f,{className:"evaluateDetail",style:{paddingTop:d,paddingBottom:m},children:[h.map(((l,s)=>a(be,{children:[a(f,{className:"topInfo",children:[a(f,{className:"lPart",children:[e(b,{src:l.dataPic,className:"img",style:{borderRadius:1===o?"20px":"0px"}}),a(f,{className:"goodsInfo",children:[e(f,{className:"goodsName",children:l.goodsName}),e(f,{className:"goodsSize",children:l.skuName})]})]}),e(f,{className:"rPart",children:a(f,{className:"price",children:["¥ ",l.pricesetNprice]})})]}),a(f,{className:"rate",children:[e(f,{className:"title",children:"商品评价"}),e(Ea,{onChange:p.bind(null,s)})]}),e(f,{className:"evaluate",children:e(k,{className:"content",placeholder:w.current,rows:5,maxLength:30,onInput:g.bind(null,s)})})]},s))),e(C,{style:{border:`1px solid ${i}`,color:t,backgroundColor:c,borderRadius:1===r?"20px":"0px"},className:"btn",onClick:u,children:"提交"})]})})),Ya=({code:l,defaultValue:o})=>{const{info:n,detail:i,stateObj:t}=C(l),{View:c}=s(),r=Le(n,"packageList[0].contractGoodsList[0].dataPic",o.dataPic),d=Le(n,"packageList.length",o.count),m=Le(n,"packageList[0].expressName",o.expressName),h=Le(n,"packageList[0].packageBillno",o.packageBillno),p=Le(i,"state",o.result)||"-1";return a(c,{className:"expressInfoTop",children:[e(c,{className:"goodsImg",style:{backgroundImage:`url(${r})`},children:a(c,{className:"tip",children:["共 ",d," 件商品"]})}),a(c,{className:"list",children:[a(c,{className:"listItem",children:["物流状态:",p?t[p]:"暂时无法获取物流状态"]}),a(c,{className:"listItem",children:["快递公司:",m]}),a(c,{className:"listItem",children:["快递单号:",h]})]})]})},Ua=({code:l,defaultValue:o})=>{const{detail:n}=C(l),{View:i}=s(),t=Le(n,"message",o.message),c=Le(n,"data",o.list);return e(i,{className:"expressInfoStep",children:"ok"===t?c.map(((l,o)=>a(i,{className:"step",children:[e(i,{className:"time",children:l.time}),e(i,{children:l.context})]},o))):e(i,{className:"noInfo",children:t})})},Qa=me((({code:l,defaultValue:o})=>{const{View:n}=s();return a(n,{className:"expressInfo",children:[e(Ya,{code:l,defaultValue:o}),e(Ua,{code:l,defaultValue:o})]})})),Ka=[{type:"input",props:{onlyShowClearWhenFocus:!0,placeholder:"请填写收货人姓名"},label:"收货人",name:"addressMember",rules:[{required:!0,message:"收货人姓名不能为空"}]},{type:"input",props:{type:"number",onlyShowClearWhenFocus:!0,placeholder:"请填写收货人手机号码"},label:"手机号码",name:"addressPhone",rules:[{required:!0,message:"收货人手机号码不能为空"},{validator:(e,a)=>new Promise(((e,l)=>{!/^1[3456789]\d{9}$/.test(a)&&a?l("请输入正确手机号"):e("")}))}]},{type:"cascader",label:"所在地区",name:"area",rules:[{required:!0,message:"所在地区不能为空"}]},{type:"input",props:{onlyShowClearWhenFocus:!0,placeholder:"街道/楼牌号等"},label:"详细地址",name:"addressDetail",rules:[{required:!0,message:"收货人详细地址不能为空"}]},{type:"switch",props:{},label:"设置默认地址",name:"addressDefault"}],qa=me((()=>{const{View:a,Skeleton:o}=s(),n=fe(new Array(5).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:n.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));je.forEach((e=>{const a=Fe.filter((a=>a.code===e.cityCode))[0];a&&(a.children=a.children||[],a.children.push({label:e.name,value:e.code}))})),Fe.forEach((e=>{const a=Me.filter((a=>a.code===e.provinceCode))[0];a&&(a.children=a.children||[],a.children.push({label:e.name,value:e.code+"00",children:e.children}))}));const $a=Me.map((e=>({label:e.name,value:e.code+"0000",children:e.children}))),_a=({form:l,handleArea:o})=>{const{View:i}=s(),{CascadePicker:t}=n,c=l.getFieldValue("area"),[r,d]=pe(!1),m=e=>{const a={provinceName:"",provinceCode:e[0],cityName:"",cityCode:e[1],areaName:"",areaCode:e[2]},l={pIndex:0,cIndex:0};for(let o=0;o<$a.length;o++)if($a[o].value===e[0]){a.provinceName=$a[o].label,l.pIndex=o;break}for(let o=0;o<$a[l.pIndex].children.length;o++)if($a[l.pIndex].children[o].value===e[1]){a.cityName=$a[l.pIndex].children[o].label,l.cIndex=o;break}for(let o=0;o<$a[l.pIndex].children[l.cIndex].children.length;o++)if($a[l.pIndex].children[l.cIndex].children[o].value===e[2]){a.areaName=$a[l.pIndex].children[l.cIndex].children[o].label;break}return a};return a(i,{children:[e(i,{className:"txt",onClick:()=>d(!0),children:(null==c?void 0:c.provinceName)?`${c.provinceName}—${c.cityName}-${c.areaName}`:"请选择所在地区"}),e(t,{onConfirm:e=>{o("h5",m(e))},options:$a,visible:r,onClose:()=>d(!1)})]})},Za=({checked:a,onChange:l})=>{const{View:o}=s(),{Switch:i}=n;return e(o,{children:e(i,{checked:a,onChange:l,style:{"--checked-color":"#000000","--height":"36px","--width":"60px"}})})},Xa=xe(),Ja=me((({addressId:a,btnShape:o,btnColor:i,borderColor:t,color:c,paddingTop:r,paddingBottom:d})=>{const{View:m,Switch:h}=s(),{Form:p,Button:u,Input:g}=n,N=process.env.TARO_ENV,{skullShow:C,form:b,area:y,defaultAddress:x,handleArea:k,handleDefaultAddress:w,handleFinish:v}=f(a,p,Xa);return e(m,{className:"addressDetail",style:{height:Xa?"100%":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:C?e(qa,{}):e(p,{form:b,layout:"horizontal",mode:"card",onFinish:v,footer:e(u,{style:{color:c,backgroundColor:i,borderColor:t},shape:o,block:!0,type:"submit",size:"large",children:"提交"}),children:Ka.map(((a,o)=>e(p.Item,{label:a.label,name:a.name,rules:a.rules,trigger:"cascader"===a.type?"onConfirm":"onChange",arrow:!1,children:"input"===a.type?e(g,Object.assign({},a.props)):"switch"===a.type?"h5"===N?e(Za,{onChange:w.bind(null,"h5"),checked:"1"===x}):e(h,{color:"#000",onChange:w.bind(null,"weapp"),checked:"1"===x}):"cascader"===a.type?e(l,{children:Xa?"h5"===N?e(_a,{form:b,handleArea:k}):e("picker",{mode:"region",onChange:k.bind(null,"weapp"),value:y,children:e(m,{className:"areaWrap",children:y.provinceName?`${y.provinceName}—${y.cityName}-${y.areaName}`:"请选择所在地区"})}):"请选择所在地区"}):void 0},o)))})})})),el=({dataObj:l})=>{const{View:o,Text:n}=s();return a(o,{className:"placeOrderResultWrap",children:[a(o,{className:"placeOrderResultItem",children:[e(n,{className:"label",children:"订单号:"}),e(n,{className:"value",children:l.contractBillcode})]}),a(o,{className:"placeOrderResultItem",children:[e(n,{className:"label",children:"支付方式:"}),e(n,{className:"value",children:"在线支付"})]}),a(o,{className:"placeOrderResultItem",children:[e(n,{className:"label",children:"支付金额:"}),e(n,{className:"value",children:la(l.dataBmoney)})]})]})},al=me((({code:l,borderRadius:o,leftColor:n,leftButtonColor:i,leftBorderColor:t,leftBorderRadius:c,rightValue:r,rightAddHref:d,rightColor:m,rightButtonColor:h,rightBorderColor:p,rightBorderRadius:u,paddingTop:g,paddingBottom:N})=>{const{View:C,Text:f,IconMobile:y,WrapLoading:x}=s(),{result:k,loading:w}=b(l||(ke("contractBillcode")||{}).contractBillcode);return console.log(62,k),e(C,{className:"placeOrderResult",style:{paddingTop:g,paddingBottom:N},children:e(x,{loading:w,children:a(C,{className:"placeOrderResultContent",style:{borderRadius:1===o?"20px":"0px"},children:[e(y,{value:k.icon,style:{fontSize:"35px",color:k.color}}),a(C,{className:"tips",children:[e(f,{className:"title",children:k.msg}),e(f,{className:"tip",children:k.info})]}),"success"===k.sysRecode&&e(el,{dataObj:k.dataObj}),a(C,{className:"btnGroup",style:{marginTop:20},children:[e(C,{className:"btn black",onClick:()=>ye(k.menuCode,{contractBillcode:k.dataObj.contractBillcode}),style:{color:n,backgroundColor:i,border:`1px solid ${t}`,borderRadius:1===c?"20px":"0px"},children:k.buttonText}),e(C,{style:{color:m,backgroundColor:h,border:`1px solid ${p}`,borderRadius:1===u?"20px":"0px"},onClick:()=>ye(d.value),className:"btn white",children:r})]})]})})})}));me((()=>{const{View:a,Skeleton:o}=s(),n=fe(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:n.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));const ll=()=>{const{View:a,Image:l}=s();return e(a,{className:"noData",children:e(l,{src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/no_coupon.png",className:"img"})})},ol=({list:o,coe:n,config:i,backgroundColor:t,color:c})=>{const{View:r,Text:d}=s();return e(l,{children:o.length?o.map(((o,s)=>e(r,{className:`couponListItem\n ${i.current[n.current].styleName}`,style:{backgroundColor:t,color:c},children:a(r,{className:"coupon-content",children:[e(r,{className:"price",children:e(d,{className:"num",children:o.pbName})}),a(r,{className:"couponListItem-info",children:[e(d,{className:"title",children:o.discName}),a(d,{className:"date",children:["有效期至:",`${new Date(o.gmtModified).getFullYear()}-${new Date(o.gmtModified).getMonth()+1}-${new Date(o.gmtModified).getDate()}`]}),i.current[n.current].text?e(r,{className:"btn",children:i.current[n.current].text}):null,2===n.current?e(l,{children:e(r,{className:"round",children:"已失效"})}):null]})]})},s))):e(ll,{})})},sl=me((({backgroundColor:l,color:o,paddingTop:n,paddingBottom:i,queue:t})=>{const{View:c,Text:r,ScrollView:d}=s(),{coe:m,getList:h,config:p,switchTab:u,list:g=[]}=y();return a(c,{className:"couponList",children:[e(c,{className:"couponTab",children:p.current.map(((l,o)=>a(c,{className:"couponTabItem "+(m.current===o?"active":""),onClick:()=>u(o),children:[l.label,e(r,{className:"icon"})]},l.id)))}),e(pa,{id:"couponTab",bottomHeight:"60",children:e(d,{onScroll:h,children:e(c,{className:"couponListContent",style:{paddingTop:n,paddingBottom:i},children:e(ol,{backgroundColor:l,color:o,queue:t,list:g,coe:m,config:p})})})})]})})),nl=({list:l,cartItemRadius:o})=>{const{View:n,Text:i,Image:t,Checkbox:c,NumStep:r,SmoothCheckbox:d,WrapLoading:m}=s(),{loading:h}=x(),{select:p,onChange:u,handleStep:g}=k();return e(m,{loading:h,children:e(d,{onChange:u,children:l.map(((l,s)=>e(n,{className:"cartItem",children:a(n,{className:"cartItem-box",style:{borderRadius:o},children:[e(n,{className:"checkBoxWrap",children:e(c,{checked:p.includes(l.shoppingGoodsId+""),value:l.shoppingGoodsId,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})}),e(t,{className:"img",src:l.dataPic,onClick:()=>ye("goodDetail",{skuCode:l.skuCode})}),a(n,{className:"cartItem-info",children:[e(i,{className:"cartItem-goodsName",children:l.goodsName}),a(n,{className:"cartItem-size",children:["规格:",l.skuName," X ",l.goodsCamount]}),a(n,{className:"cartItem-handleWrap",children:[e(i,{className:"price",children:la(l.pricesetNprice)}),e(r,{count:l.goodsCamount,handleStep:g.bind(null,l.shoppingGoodsId,l.goodsCamount)})]})]})]})},s)))})})},il=me((({url:l,title:o,subTitle:n,link:t,style:c})=>{const{View:r,Image:d}=s();return e(r,{className:"noData",style:c,children:a(r,{className:"content",children:[e(d,{className:"img",src:l}),e(r,{className:"title",children:o}),e(r,{className:"subTitle",children:n}),t?a(r,{className:"link",onClick:()=>ye(t),children:["去看看",e(i,{value:"xiangyou1"})]}):null]})})})),tl=xe(),cl=({refreshNum:o,btnStyle:n,borderColor:i,textColor:t,btnColor:c,btnShape:r,cartItemRadius:d,countBorderColor:m,countTextColor:h,countBtnColor:p,countBtnShape:u})=>{const{View:g,SmoothView:N,Checkbox:C,SmoothCheckbox:f,ScrollView:b}=s(),[y,x]=pe(!0),{cartList:k,amount:w,selectAll:S,allCart:I,toOrderImpl:A,select:B,deleteCart:V,disMoney:T}=v(o),D=he((()=>({border:n?`2px solid ${i}`:"",color:n?t:"",background:n?c:"",borderRadius:n?r:""})),[n,i,t,c,r]),L=he((()=>({border:`1px solid ${m}`,color:h,background:p,borderRadius:u})),[m,h,p,u]);return e(g,{className:"cart",style:{height:tl?"100%":"667px"},children:k.length?a(l,{children:[e(g,{className:"edit",children:e(g,{className:"btn",style:D,onClick:()=>x(!y),children:y?"编辑":"完成"})}),e(pa,{id:"editId",bottomHeight:"50",children:e(b,{children:e(nl,{list:k,cartItemRadius:d})})}),a(g,{className:"cart-dashboard",children:[e(g,{className:"choose",children:e(f,{onChange:S,children:e(C,{checked:I.current.length===B.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),y?a(g,{className:"check",children:[a(g,{className:"priceGroup",children:[a(g,{className:"discount",children:["优惠: ",e(N,{className:"data",children:la(T)})]}),a(g,{className:"all",children:["合计: ",e(N,{className:"data",children:la(w.amount)})]})]}),a(g,{onClick:A,className:"btn",style:L,children:["结算(",w.num,")"]})]}):e(g,{className:"del",children:e(g,{onClick:V,className:"btn",children:"删除"})})]})]}):e(il,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})},rl=me((a=>e(w,{children:e(cl,Object.assign({},a))}))),dl=({dispatchPageStore:a,btnStyle:l,borderColor:o,textColor:n,btnColor:i,btnShape:t})=>{const{View:c}=s(),{isEditor:r,editorImpl:d}=S(a),m=he((()=>({border:l?`2px solid ${o}`:"",color:l?n:"",background:l?i:"",borderRadius:l?t:""})),[l,o,n,i,t]);return e(c,{className:"cart-edit",children:e(c,{className:"btn",onClick:d,style:m,children:r?"完成":"编辑"})})},ml=me((({promotionName:l,checked:o,promotionCode:n})=>{const{View:i,Radio:t}=s();return a(i,{className:"promotion-item",children:[e(i,{className:"content",children:l}),e(i,{className:"choose",children:e(t,{checked:o,value:n})})]})})),hl=({onChange:a,promotionCode:l,visible:o,setVisible:n,promotion:i})=>{const{Popup:t,ScrollView:c,View:r,SmoothRadio:d}=s();return e(t,{popupVisible:o,popupHandler:n,children:e(r,{className:"goodsDetail-coupon-popup",children:e(pa,{children:e(c,{children:e(d,{onChange:a,children:i.map(((e,a)=>ge(ml,Object.assign({checked:e.promotionCode===l},e,{key:a}))))})})})})})},pl=me((({goodsName:o,skuName:n,goodsCamount:i,shoppingGoodsId:t,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=s();return e(l,{children:a(d,{className:"cartItem-info",children:[e(m,{className:"cartItem-goodsName",children:o}),a(d,{className:"cartItem-size",children:["规格:",n," X ",i]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:la(c)}),e(h,{count:i,handleStep:r.bind(null,t,i)})]})]})})})),ul=me((({dataPic:a,skuCode:l})=>{const{Image:o}=s();return e(o,{className:"img",src:a,onClick:()=>ye("goodDetail",{skuCode:l})})})),gl=me((a=>{var{shoppingGoodsId:l}=a,o=Xe(a,["shoppingGoodsId"]);const{View:n,Checkbox:i}=s(),{select:t=[]}=o;return e(n,{className:"checkBoxWrap",children:e(i,{checked:t.includes(l+""),value:l,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),Nl=({promotion:o=[],updatePm:n,shoppingGoodsId:i,promotionCode:t})=>{const{View:c}=s(),[r,d]=pe(!1),m=he((()=>((o||[]).find((e=>e.promotionCode===t))||{}).promotionName),[o]);return a(l,{children:[a(c,{className:"cart-promote-active",onClick:()=>d(!0),children:[m,e(c,{children:"修改"})]}),e(hl,{promotionCode:t,onChange:e=>{d(!1),n(i,e.detail.value)},promotion:o||[],visible:r,setVisible:d})]})},Cl=me((l=>{var{item:o}=l,n=Xe(l,["item"]);const{View:i}=s();return a(i,{className:"cart-list-item",children:[e(gl,Object.assign({},n,{shoppingGoodsId:o.shoppingGoodsId})),e(ul,{dataPic:o.dataPic,skuCode:o.skuCode}),e(pl,Object.assign({},o,n))]})})),fl=o=>{var{shoppingGoodsList:s=[]}=o,n=Xe(o,["shoppingGoodsList"]);return e(l,{children:s.map(((l,o)=>a(be,{children:[e(Cl,Object.assign({},n,{item:l})),l.pmPromotionList?e(Nl,{promotionCode:n.promotionCode,shoppingGoodsId:l.shoppingGoodsId,updatePm:n.updatePm,promotion:l.pmPromotionList}):null]},o)))})},bl=({disNextMsg:l,promotionName:o,pbName:n})=>{const{View:i,SmoothView:t}=s();return a(i,{className:"cart-dis-title",children:[e(t,{className:"tips",children:n}),e(t,{style:{padding:"0 10px"},children:o}),e(t,{children:l})]})},yl=({refreshNum:o,cartSelect:n,dispatchPageStore:i,cartUpdateCount:t=0,cartItemRadius:c="10px"})=>{const{SmoothCheckbox:r,WrapLoading:d,View:m}=s(),{loading:h,cartList:p,onChange:u,handleStep:g,updatePm:N}=I(o,t,i);return e(d,{loading:h,children:e(m,{className:"cart-wrap",children:e(r,{onChange:u,children:p.length?e(l,{children:p.map((({memberCname:l,promotionCode:o,disNextMsg:s,promotionName:i,pbName:t,shoppingGoodsList:r},d)=>a(be,{children:[e("h4",{children:l}),a(m,{className:"cart-bg",style:{borderRadius:c},children:[i?e(bl,{disNextMsg:s,promotionName:i,pbName:t}):null,e(fl,{promotionCode:o,handleStep:g,select:n,updatePm:N,shoppingGoodsList:r,cartItemRadius:c})]})]},d)))}):e(il,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},xl=({cartInfo:l=[],cartDisMoney:o=0,cartSelect:n=[],cartIsEditor:i=!1,dispatchPageStore:t,countBorderColor:c="#000000",countTextColor:r="#ffffff",countBtnColor:d="#000000",countBtnShape:m="20px"})=>{const{View:h,SmoothView:p,SmoothCheckbox:u,Checkbox:g}=s(),{toOrderImpl:N,deleteCart:C,selectAll:f,cartDetail:b}=A(n,l,t),y=he((()=>({border:`1px solid ${c}`,color:r,background:d,borderRadius:m})),[c,r,d,m]);return a(h,{className:"cart-dashboard",children:[e(h,{className:"choose",children:e(u,{onChange:f,children:e(g,{checked:l.length===n.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),i?e(h,{className:"del",children:e(h,{onClick:C,className:"btn",children:"删除"})}):a(h,{className:"check",children:[a(h,{className:"priceGroup",children:[a(h,{className:"discount",children:["优惠: ",e(p,{className:"data",children:la(o)})]}),a(h,{className:"all",children:["总计: ",e(p,{className:"data",children:la(b.amount)})]})]}),a(h,{onClick:N,className:"btn",style:y,children:["结算(",b.num,")"]})]})]})},kl=me((({avatarStyle:l,paddingTop:o,paddingBottom:n,userAvatar:i,userNickname:t,refreshNum:c})=>{const{View:r,Text:d,IconMobile:m,Image:h}=s(),{servicePopup:p}=aa(),[u,g]=pe(t),[N,C]=pe(i);return ue((()=>{g(ke("userNickname")),C(ke("userAvatar"))}),[c]),a(r,{className:"mineData",style:{paddingTop:`${o}px`,paddingBottom:`${n}px`},children:[a(r,{className:"topBoard",children:[e(m,{value:"bianzu",onClick:()=>ye("/account/setting/index")}),e(m,{value:"kehufuwukefu",onClick:p})]}),a(r,{className:"userSetting",onClick:()=>ye("/account/setting/index"),children:[a(r,{className:"lPart",children:[e(d,{className:"name",children:u||"用户名称"}),e(r,{className:"link",style:{paddingTop:"10px"},children:"编辑个人资料 >"})]}),e(h,{src:N,alt:"",className:"avatar",style:{borderRadius:l?"50%":"2px"}})]})]})})),wl=me((({title:l,columnList:o})=>{const{View:n,Text:i,Badge:t,Image:c}=s(),[r,d]=pe({});ue((()=>{Je(void 0,void 0,void 0,(function*(){try{const e=yield Ve();d(e.dataObj)}catch(e){}}))}),[]);const m=(e,a)=>{4!==e.id?ye("orderlist",{indexId:a+1}):ye("afterSalesList")};return a(n,{className:"mineOrderEntry",children:[a(n,{className:"title",children:[e(n,{className:"name",children:l}),e(n,{className:"more",onClick:()=>ye("orderlist"),children:"查看全部"})]}),e(n,{className:"content",children:o.map(((l,o)=>a(n,{onClick:m.bind(null,l,o),className:"contentItem",style:{display:l.show?"block":"none"},children:[e(t,Object.assign({},r[l.code]>0?{content:r[l.code]}:{},{color:"#000",style:{color:"#fff",fontSize:12},children:e(c,{src:l.imgUrl,className:"icon"})})),e(i,{className:"subTitle",children:l.label})]},o)))})]})})),vl=me((({paddingTop:l,paddingBottom:o,columnList:n})=>{const{View:i,Text:t,IconMobile:c,Image:r}=s();return e(i,{className:"mineFunction",style:{paddingTop:l+"px",paddingBottom:o+"px"},children:n.map(((l,o)=>a(i,{className:"menuListItem",onClick:()=>ye(l.link.value),children:[a(i,{className:"lPart",children:[e(r,{src:l.imgUrl,className:"icon"}),e(t,{className:"label",children:l.link.label})]}),e(c,{value:"xiangyou1"})]},o)))})})),Sl=({footprintItem:l,edit:o})=>{const{View:n,Image:i,Checkbox:t,SmoothView:c}=s(),r=he((()=>l.footprintOpnum?`${l.footprintOpnum}元`:""),[l.footprintOpnum]);return a(n,{className:"footprintItem",children:[o?e(n,{className:"lPart",children:e(t,{value:l.footprintCode})}):null,a(n,{className:"rPart",onClick:()=>ye("goodDetail",{skuCode:l.footprintOpcode}),children:[e(i,{src:l.footprintOppic,className:"img"}),a(n,{className:"info",children:[e(c,{className:"title",children:l.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},Il=({item:o,edit:n})=>{const{View:i}=s();return a(i,{className:"footPrint",children:[e(l,{children:e(i,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==o?void 0:o.title})}),o.option.map(((a,l)=>e(Sl,{footprintItem:a,edit:n},l)))]})},Al=({footprintList:a,edit:o})=>{const s=he((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?De(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),l=Re(e,"gmtCreate");return Object.keys(l).map((e=>({title:e||"",option:l[e]})))}),[a]);return e(l,{children:s.map(((a,l)=>e(Il,{item:a,edit:o},l)))})},Bl=me((()=>{const{View:l,ScrollView:o,SmoothCheckbox:n,Button:i,Image:t}=s(),{footprintList:c,edit:r,setEdit:d,getSelectItem:m,delItem:h,getData:p}=B();return e(l,{className:"footprint",children:0===c.length?e(l,{className:"noDate",children:e(t,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(l,{className:"hasDate",children:[e(l,{className:"topBar",children:e(l,{className:"edit",onClick:()=>d(!r),children:r?"完成":"编辑"})}),e(pa,{id:"topBar1",children:a(o,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScroll:p,children:[e(n,{onChange:m,children:e(Al,{footprintList:c,edit:r})}),r?a(l,{className:"handleBar",children:[e(l,{className:"checkAll"}),e(i,{className:"btn",onClick:h,children:"删除"})]}):null]})})]})})})),Vl=({item:l,edit:o,checked:n})=>{const{View:i,Image:t,Checkbox:c,SmoothView:r}=s();return a(i,{className:"collectItem",children:[o?e(c,{className:"lPart",value:l.collectCode,checked:n}):null,a(i,{className:"rPart",onClick:()=>ye("goodDetail",{skuCode:l.collectOpcode}),children:[e(t,{src:l.collectOppic,className:"img"}),a(i,{className:"info",children:[e(r,{className:"title",children:l.collectOpcont}),a(r,{className:"price",children:[l.collectOpnum," 元"]})]})]})]})},Tl=me((()=>{const{collectionList:l,edit:o,setEdit:n,getData:i,getSelectItem:t,delItem:c,init:r,checked:d,handleSelectAll:m,selectAllChecked:h}=V(),{View:p,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:C,Image:f}=s();return e(p,{className:"collectList",children:0===l.length?e(p,{className:"noDate",children:e(f,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(p,{className:"hasDate",children:[e(p,{className:"topBar",children:e(p,{className:"edit",onClick:()=>n(!o),children:o?"完成":"编辑"})}),e(pa,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:i,onScrollToUpper:r,children:[e(g,{onChange:t,style:{height:"100%"},children:l.map((a=>e(Vl,{item:a,edit:o,checked:d},a.collectId)))}),o?a(p,{className:"handleBar",children:[e(p,{className:"checkAll",children:e(g,{onChange:m,children:e(N,{value:"1",checked:h,children:"全选"})})}),e(C,{className:"btn",onClick:c,children:"删除"})]}):null]})})]})})})),Dl=me((({noticeId:l})=>{const{View:o,Image:n}=s(),{info:i}=T(l);return a(o,{className:"noticeDetailContainer",children:[e(o,{className:"title",children:i.noticeTitle}),i.noticePicurl?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl}):null,i.noticePicurl1?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl1}):null,i.noticePicurl2?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl2}):null,i.noticePicurl3?e(n,{className:"img",mode:"widthFix",src:i.noticePicurl3}):null,e(o,{className:"content",children:i.noticeContext})]})})),Ll=me((({doclistId:l=2031})=>{const{info:o}=D(l),{View:n,ScrollView:i}=s(),{doclistContent:t,doclistTitle:c,doclistTitle4:r}=o;return e(n,{className:"articleDetail",children:e(pa,{id:"a",children:a(i,{children:[e(n,{className:"title",children:c}),e(n,{className:"author",children:r}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:t||""}})]})})})})),Pl=({address:a})=>e(l,{children:Pe(a)?e(zl,{}):e(Rl,{address:a})}),Rl=({address:l})=>{const{View:o,SmoothView:n,IconMobile:i}=s(),t=he((()=>{const{provinceName:e,addressDefault:a,cityName:o,areaName:s,addressDetail:n,addressMember:i="",addressPhone:t=""}=l;return{addressDefault:"1"===a,addressMember:i,addressPhone:t,address:e+o+s+n}}),[l]);return a(o,{className:"address-info",children:[e(i,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(o,{className:"left",children:[a(o,{className:"left-title",children:[e(n,{children:t.addressMember}),e(n,{className:"left-padding",children:t.addressPhone}),t.addressDefault?e(n,{className:"left-padding left-title-default",children:"默认"}):null]}),e(n,{className:"left-detail",children:t.address})]}),e(i,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},zl=()=>{const{View:o,Text:n}=s();return a(l,{children:[a(o,{className:"group",children:[e(n,{className:"local"}),e(n,{className:"address",children:"选择收货地址"})]}),e(n,{className:"arrow"})]})},Ol=({refreshNum:a})=>{const{View:l}=s(),o=L(a);return e(l,{className:"placeOrder-chooseAddress",onClick:()=>ye("addressList"),children:e(Pl,{address:o})})},Ml=me((({couponStart:l,pbName:o,discName:n,promotionCode:i,promotionName:t,couponEnd:c,disable:r})=>{const{View:d,Text:m,Radio:h}=s();return e(d,{className:"couponItem",children:a(d,{className:"coupon-content",children:[a(d,{className:"price",children:[e(d,{className:"symbol",children:o}),e(d,{className:"num",children:n})]}),a(d,{className:"info",children:[e(m,{className:"title",children:t}),a(m,{className:"date",children:[De(l).format("YYYY-MM-DD")," - ",De(c).format("YYYY-MM-DD")]})]}),e(d,r?{className:"coupon-pick-default",children:"不能用"}:{className:"choose",children:e(h,{disabled:r,value:i})})]})})})),Fl=({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t})=>{const{View:c,Text:r,Popup:d,SmoothRadio:m,ScrollView:h}=s(),{amount:p,shoppingGoodsList:u}=P({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t}),{coupon:g,visible:N,setVisible:C,selectCoupon:f,onChange:b}=R(u);return a(l,{children:[a(c,{className:"coupon-select",onClick:()=>C(0!==g.length),children:[e(r,{className:"label",children:"使用优惠"}),a(c,{className:"info",children:[e(r,{className:"label",children:f?`已选择: ${f}`:0===g.length?"暂无可用优惠券":"请选择优惠券"}),0===g.length?null:e("img",{src:Qe,alt:"",className:"icon"})]})]}),e(d,{popupVisible:N,popupHandler:C,children:e(c,{className:"goodsDetail-coupon-popup",children:e(pa,{children:e(h,{children:e(m,{onChange:b,children:g.map(((e,a)=>ge(Ml,Object.assign({disable:p<e.discAmount},e,{key:a}))))})})})})})]})},jl=({shippingMethod:l=1})=>{const{View:o}=s();return e(o,{className:"info placeOrder-blcWrap",style:1===l?{display:"block"}:{display:"none"},children:a(o,{className:"express placeOrder-blcItem",children:[e(o,{className:"label",children:"配送方式"}),e(o,{className:"value",children:"快递"})]})})},Gl=({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:n})=>{const{View:i}=s(),{list:t}=P({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:n});return e(i,{className:"place-order-goods",children:t.map(((a,l)=>e(sa,Object.assign({},a),l)))})},Wl=({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t})=>{const{SmoothView:c,View:r}=s(),{payState:d,amount:m,disCount:h}=P({refreshNum:o,goodsNum:n,skuId:i,shoppingGoodsId:t}),{shoppingCountPrice:p,freight:u,comDisMoney:g}=z(d);return e(l,{children:a(r,{className:"price placeOrder-blcWrap",children:[e(r,{className:"title",children:"价格明细"}),a(r,{className:"express placeOrder-blcItem",children:[e(r,{className:"label",children:"商品总金额"}),e(c,{className:"value",children:la(p)})]}),a(r,{className:"coupon placeOrder-blcItem",children:[e(r,{className:"label",children:"优惠金额"}),e(c,{className:"value",children:la(g+h)})]}),a(r,{className:"express placeOrder-blcItem",children:[e(r,{className:"label",children:"运费"}),e(c,{className:"value",children:la(u)})]}),a(r,{className:"all placeOrder-blcItem",children:[e(r,{className:"label",children:"总计"}),e(c,{className:"value",style:{color:"#000"},children:la(m-h)})]})]})})},El=({color:l,buttonColor:o,borderColor:n,borderRadius:i,refreshNum:t,goodsNum:c,skuId:r,shoppingGoodsId:d})=>{const{View:m,Text:h,WrapLoading:p}=s(),{amount:u,list:g,disCount:N,payState:C,orderStoreInfo:f,ocContractSettlList:b}=P({refreshNum:t,goodsNum:c,skuId:r,shoppingGoodsId:d}),{savePayPrice:y,loading:x}=O({ocContractSettlList:b,payState:C,list:g},r,c,f,d);return a(m,{className:"placeOrderFooter",children:[a(h,{className:"price",children:["合计: ",la(u-N)]}),e(p,{loading:x,children:e(m,{className:"btn",onClick:y,style:{color:`${l}`,border:`1px solid ${n}`,backgroundColor:`${o}`,borderRadius:1===i?"40px":"0px"},children:"生成订单"})})]})},Hl=xe(),Yl=me((({position:a=10,bg:l,color:o,fontSize:n})=>{const{View:i}=s(),{goTop:t}=M();return e(i,{className:"backTop",onClick:t,style:{padding:Hl?"0":"10px"},children:e(Ca,{style:{display:"inline-block",color:o,fontSize:n,backgroundColor:l,position:Hl?"fixed":"relative",right:Hl?"20px":"0",bottom:Hl?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),Ul=({TextLineBgColor:l,text:o,contentSize:n,lineStyle:i,fontSize:t,textAlign:c,fontColor:r,lineColor:d,fontWeight:m,fontStyle:h,textDecoration:p})=>{const{View:u}=s();return a(u,{className:"textLine",style:{backgroundColor:l,textAlign:c,margin:1===n?"0 10px":""},children:[e(u,{className:"blc",style:{borderBottom:`1px ${i} ${d}`}}),e(u,{className:"txt",style:{backgroundColor:l,fontWeight:m,fontStyle:h,textDecoration:p,fontSize:`${t}px`,color:r},children:o})]})},Ql=me((({borderStyle:a,borderRadius:l,height:o,width:n,backgroundColor:i,paddingTop:t,paddingBottom:c})=>{const{View:r}=s();return e(r,{style:{paddingTop:t,paddingBottom:c},children:e(r,{style:{borderRadius:l+"%",borderStyle:a,width:n+"%",height:o+"px",backgroundColor:i,marginLeft:"auto",marginRight:"auto"}})})})),Kl=me((({defaultValue:l,borderRadius:o,paddingTop:n,paddingBottom:i,selectClassifyNav:t})=>{const{View:r,Text:d}=s(),m=c(l,t);return e(r,{style:{paddingTop:n,paddingBottom:i},children:e(r,{className:"classifyNav",children:m.map(((l,s)=>a(r,{className:"classifyNavItem",onClick:()=>{var e,a;return ye(null===(e=l.link)||void 0===e?void 0:e.value,null===(a=l.link)||void 0===a?void 0:a.params)},children:[e("img",{src:l.imgUrl,alt:"",className:"img",style:{borderRadius:`${o}px`}}),e(d,{className:"label",children:l.title})]},s)))})})})),ql=({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:n,navBgColor:i,navBoxShadow:t,imgRadius:r,imgBoxShadow:d,layout:m,marginTop:h,marginBottom:p})=>{const{View:u}=s(),g=c(a,l);return e(u,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${m}, 1fr)`,borderRadius:o,border:`1px solid ${n}`,backgroundColor:i,boxShadow:t?"0px 0px 20px 10px #ddd":"none",marginTop:h,marginBottom:p},children:g.map(((a,l)=>e(u,{className:"classifyNav-item",onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},children:e("img",{src:a.imgUrl,alt:"",className:"classifyNav-item-img",style:{borderRadius:r,boxShadow:d?"0px 0px 20px 5px #EEE":"none"}})},l)))})},$l=me(ql),_l=me((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:n,navBgColor:i,navBoxShadow:t,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:p,marginTop:u,marginBottom:g})=>{const{View:N}=s(),C=c(a,l),f=he((()=>Ae("classifyNav-two-item-title",...h)),[h]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${p}, 1fr)`,border:`1px solid ${n}`,borderRadius:o,backgroundColor:i,boxShadow:t?"0px 0px 20px 5px #EEE":"none",marginTop:u,marginBottom:g},children:C.map(((a,l)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},style:{width:4===p?"74px":"60px"},children:e(N,{className:f,style:{fontSize:r,color:d},children:a.title})},l)))})})),Zl=me((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:n,navBgColor:i,navBoxShadow:t,imgRadius:r,imgBoxShadow:d,fontSize:m,fontColor:h,tagBgColor:p,otherStyle:u,layout:g,marginTop:N,marginBottom:C})=>{const{View:f}=s(),b=c(a,l);return e(f,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${g}, 1fr)`,border:`1px solid ${n}`,borderRadius:o,backgroundColor:i,boxShadow:t?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:C},children:b.map(((a,l)=>e(f,{className:"classifyNav-three-item",onClick:()=>{var e,l;return ye(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},style:{backgroundImage:`url(${a.imgUrl})`,borderRadius:r,boxShadow:d?"0px 0px 20px 5px #EEE":"none",width:4===g?"74px":"60px",height:4===g?"74px":"60px"},children:e(f,{className:"classifyNav-three-item-tag",style:{backgroundColor:p},children:e(f,{className:["classifyNav-three-item-txt",...u].join(" "),style:{fontSize:m,color:h},children:a.title})})},l)))})})),Xl=me((({defaultValue:l=[],classCode:o="",margin:n,circular:i=!1,cell:t,showSales:c=!0,gap:r=10,goods:d=[],markedPrice:m,paddingTop:h,paddingBottom:p,paddingLeft:u,paddingRight:g,goodsName:N=!0,goodsPrice:C=!0,goodsCar:f=!0,goodsBorder:b=!0,goodsShadow:y=!1,marginGap:x=10})=>{const[k,w]=pe(l),v=fe(),{View:S,Text:I}=s();return ue((()=>{ze(v.current,d)||(v.current=d,Pe(d)?w(l):Je(void 0,void 0,void 0,(function*(){try{const e=yield Te({goodsCode:d.toString(),distinctField:"goodsNo"}),a=Le(e,"list",[]);w(a)}catch(e){w(l)}})))}),[d]),e(S,{style:{paddingTop:h,paddingBottom:p},children:e(S,{className:Ae({[`goods-${o}`]:!0}),style:{display:"grid",gap:x,marginBottom:n,gridTemplateColumns:`repeat(${t}, 1fr)`,paddingLeft:u,paddingRight:g},children:k.map(((l,o)=>a(S,{style:{overflow:"hidden",borderRadius:i?"8px":"0px",border:b?"1px solid #000000":""},onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),className:["goods "+(y?"outer-shadow":"")].join(" "),children:[e(S,{className:"goods-img",style:{backgroundImage:`url(${l.dataPic})`}}),a(S,{className:"space",children:[e(S,{className:"titleType",style:{display:N?"block":"none"},children:l.goodsName}),e(S,{className:"subTitle",children:l.brandName}),c&&a(S,{className:"sales",children:["已售:",l.goodsSalesvolume,"件"]}),a(S,{className:"price",children:[a(S,{style:{fontSize:18},children:[C?la(l.pricesetNprice):"",1===m&&e(I,{className:"markedPrice",children:la(l.pricesetMakeprice)})]}),e(S,{className:"anticon",style:{display:f?"block":"none"},children:e(Ca,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},o)))})})})),Jl=me((({defaultValue:l,goods:o,price:n,marketPrice:i,cart:t,wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:p,goodsGap:u,marginTop:g,marginBottom:N,marginLeft:C,marginRight:f})=>{const{View:b}=s(),{list:y}=F({defaultValue:l,goods:o});return e(b,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N,marginLeft:C,marginRight:f},children:y.map(((l,o)=>a(b,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:p,marginRight:`${u}px`},onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),children:[e(b,{className:"img",style:{backgroundImage:`url(${l.dataPic})`}}),a(b,{className:"board",children:[e(b,{className:"title",children:l.goodsName}),a(b,{className:"info",children:[a(b,{className:"lPart",children:[n?e(b,{className:"price",children:la(l.pricesetNprice)}):null,i?e(b,{className:"marketPrice",children:la(l.pricesetMakeprice)}):null]}),t?e(b,{className:"rPart",children:e(Ca,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},o)))})})),eo=xe(),ao=me((({defaultValue:l,goods:o,GoodsSlideshowBg:n,marketPrice:i,goodsName:t,salesNum:c,price:r,goodsRadius:d,goodsBorder:m,goodsShadow:h,btnText:p,btnBg:u,btnColor:g,btnRadius:N})=>{const{list:C}=F({defaultValue:l,goods:o}),{SmoothSwiper:f,View:b,Image:y}=s(),[x,k]=pe(0);return a(b,{className:"goodsSlideshow",children:[e(y,{src:n,className:"bg",mode:"widthFix"}),e(f,{indicatorDots:!1,imgHeight:{width:190,height:410},defaultIndex:1,data:C,style:{},type:1,autoplay:!1,autoplayInterval:5e3,onChange:e=>{k(e.detail.current)},previousMargin:40,nextMargin:40,slideSize:70,trackOffset:15,render:l=>a(b,{className:["goodsSlideshowItem",""+(l.goodsCode===C[x].goodsCode&&eo?"active":"")].join(" "),style:{borderRadius:d,borderStyle:m?"solid":"none",boxShadow:h?"0px 0px 20px 10px #ddd":""},onClick:()=>ye("goodDetail",{skuCode:l.skuCode}),children:[e(y,{className:"logo",src:l.dataPic,mode:"widthFix"}),t?e(b,{className:"goodsName",children:l.goodsShowname}):null,c?a(b,{className:"salesNum",children:["销量:",l.goodsSalesvolume]}):null,r?e(b,{className:"price",children:la(l.pricesetNprice)}):null,i?e(b,{className:"marketPrice",children:la(l.pricesetMakeprice)}):null,e(b,{className:"btn",style:{backgroundColor:u,color:g,borderRadius:N},children:p})]})})]})})),lo=({skuCode:a,autoplay:l,vertical:o})=>{const{rsGoodsFileDomainList:s=[]}=j(a),n=G(s);return e(_e,{selectImg:n,type:1,autoplay:l,vertical:o,imgHeight:{height:375,width:375}})},oo=l=>{const{SmoothView:o,View:n}=s(),{handleCollect:i,collection:t}=W(l);return a(n,{onClick:i,children:[Pe(t.dataObj)?e(Ca,{value:"star-fill",style:{fontSize:20}}):e(Ca,{value:"star-fill",style:{color:"red",fontSize:20}}),e(o,{className:"txt",children:Pe(t.dataObj)?"收藏":"已收藏"})]})},so=({skuCode:l,priceShow:o,collectionShow:n})=>{const{View:i,SmoothView:t}=s(),{rsSkuDomainList:c}=j(l),{goodInfo:r}=E(c);return H(l),a(i,{className:"goodsDetail-topInfo",children:[a(i,{className:"lPart",children:[e(t,{className:"name",children:r.goodsName}),e(t,{className:"price",style:{display:o?"block":"none"},children:la(r.pricesetNprice)})]}),e(i,{className:"rPart",style:{display:n?"flex":"none"},children:e(oo,{goodsName:r.goodsName,pricesetNprice:r.pricesetNprice,dataPic:r.dataPic,skuCode:l})})]})},no=me((l=>{const{collectionShow:o,shareShow:n}=l,{View:i}=s(),{handleCollect:t,collection:c}=W(l),{handleShare:r}=Y();return a(i,{className:"handleBar",children:[o?e(i,{className:"collection",onClick:t,style:{borderRight:n?"1px solid #ddd":"none"},children:Pe(c.dataObj)?"收藏":"已收藏"}):null,n?e(i,{className:"share",onClick:r,children:"分享"}):null]})})),io=me((({skuCode:l,priceShow:o,collectionShow:n,shareShow:i})=>{const{View:t,SmoothView:c}=s(),{rsSkuDomainList:r}=j(l),{goodInfo:d}=E(r);return H(l),a(t,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:o?"block":"none"},children:la(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(no,{collectionShow:n,shareShow:i,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:d.dataPic,skuCode:l})]})})),to=()=>{const{Text:e}=s(),l=Q((e=>e.count)),o=Q((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",l," 规格: ",o.toString()]})},co=({dispatchPageStore:o})=>{const{View:n,Text:i}=s(),{openPopup:t}=U(o);return e(l,{children:a(n,{className:"goodsDetail-size",onClick:t,children:[e(i,{className:"label",children:"规格"}),a(n,{className:"info",children:[e(to,{}),e("img",{src:Qe,alt:"",className:"icon"})]})]})})},ro=({skuCode:l})=>{const{View:o,Text:n}=s(),{rsSkuDomainList:i}=j(l),{goodInfo:t}=E(i),c=K(i,t.skuCode||l);return a(o,{className:"goodsDetail-promotion",children:[e(n,{className:"label",children:"促销"}),e(o,{className:"group",children:c.length?c.map((({discName:a},l)=>e(o,{className:"item",children:a},l))):e(o,{className:"noPromotion",children:"暂无促销活动"})})]})},mo=me((({promotionBegintime:l,pbName:o,discName:n,promotionCode:i,promotionName:t,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=s(),{save:p,isPick:u}=q(),g=he((()=>c-r),[c,r]);return e(m,{className:"couponItem",children:a(m,{className:"coupon-content",children:[a(m,{className:"price",children:[e(m,{className:"symbol",children:o}),e(m,{className:"num",children:n})]}),a(m,{className:"info",children:[e(h,{className:"title",children:t}),a(h,{className:"date",children:[De(l).format("YYYY-MM-DD")," - ",De(d).format("YYYY-MM-DD")]})]}),e(m,g>0?{className:u?"coupon-pick-default":"coupon-pick",onClick:()=>p({promotionCode:i,couponAmount:1}),children:u?"已领取":"领取"}:{className:"coupon-pick-default",children:"已领完"})]})})})),ho=()=>{const{View:a,Image:l}=s();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},po=({skuCode:o})=>{const{View:n,Text:i,Popup:t}=s(),{rsSkuDomainList:c}=j(o),{goodInfo:r}=E(c),{coupon:d,visible:m,setVisible:h}=$(c,r.skuCode||o);return a(l,{children:[a(n,{className:"goodsDetail-coupon",onClick:()=>h(!0),children:[e(i,{className:"label",children:"优惠券"}),a(n,{className:"info",children:[e(i,{className:"label",children:"请选择优惠券"}),e("img",{src:Qe,alt:"",className:"icon"})]})]}),e(t,{popupVisible:m,popupHandler:h,children:e(n,{className:"goodsDetail-coupon-popup",children:e(pa,{children:d.length>0?d.map(((e,a)=>ge(mo,Object.assign({},e,{key:a})))):a(n,{className:"NoDataImg",children:[e(ho,{}),e(n,{className:"btn",onClick:()=>h(!1),children:"确定"})]})})})})]})},uo=({item:l})=>{const{View:o,Image:n}=s();return a(o,{className:"rateItem",children:[a(o,{className:"topInfo",children:[a(o,{className:"lPart",children:[e(n,{src:l.userImgurl,className:"avatar"}),a(o,{className:"userInfo",children:[e(o,{className:"name",children:l.userName}),e(Ea,{readOnly:!0,size:14,count:l.evaluateScopeReList.length})]})]}),e(o,{className:"rPart",children:`${new Date(l.gmtCreate).getFullYear()}-${new Date(l.gmtCreate).getMonth()+1}-${new Date(l.gmtCreate).getDate()}`})]}),e(o,{className:"size",children:l.skuName}),e(o,{className:"content",children:l.evaluateGoodsContent})]})},go=({evaluateArr:l})=>{const{View:o}=s(),n=fe(l);return e(o,{className:"goodsDetailEvaluate",children:n.current.length?a(o,{children:[a(o,{className:"topInfo",children:["评价 (",n.current.length,")"]}),n.current.slice(0,5).map(((a,l)=>e(uo,{item:a},l)))]}):e(il,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},No=({goodsRemark:a})=>{const{View:l}=s(),o=he((()=>a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<img/gi,'<img class="mystyle" mode="widthFix"').replace(/<!--[\s\S]*-->/gi,"")),[a]);return e(l,{className:"goodsDetail-info",children:e("div",{dangerouslySetInnerHTML:{__html:o||""}})})},Co=({tabActive:o,setTabActive:n,evaluateShow:i,evaluateImgShow:t,evaluateImg:c})=>{const{Text:r}=s(),d=he((()=>t?[{title:"商品详情",id:"1"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[i]);return e(l,{children:d.map(((l,s)=>e(be,{children:a(r,{className:"tabsItem "+(o===s?"active":""),onClick:()=>n(s),children:[l.title,e(r,{className:"line"})]})},s)))})},fo=({skuCode:l,evaluateShow:o,evaluateImgShow:n,evaluateImg:i})=>{const{View:t}=s(),[c,r]=pe(0),{goodsRemark:d,goodsCode:m}=j(l),h=_(m);return a(t,{className:"goodsDetailTab",children:[e(t,{className:"tabs",children:e(Co,{tabActive:c,setTabActive:r,evaluateShow:o,evaluateImgShow:n,evaluateImg:i})}),e(t,{className:"group",children:0===c?e(No,{goodsRemark:d}):e(go,{evaluateArr:h,evaluateImgShow:n,evaluateImg:i})})]})},bo=({skuName:l,handleChooseSize:o,spec:n,skuOption:i,index:t})=>{const{View:c,Text:r}=s();return a(c,{className:"sizeArr",children:[e(r,{className:"title",children:l}),e(c,{className:"sizeArrItemWrap",children:i.map(((a,l)=>e(c,{className:"sizeItem "+(n[t]===a.specValueValue?"active":""),onClick:o.bind(null,a.specValueValue,t),children:a.specValueValue},l)))})]})},yo=me((({handleStep:l})=>{const{View:o,NumStep:n}=s(),i=Q((e=>e.count));return a(o,{className:"countWrap",children:[e(o,{className:"label",children:"购买数量"}),e(n,{count:i,handleStep:l})]})})),xo=({skuInfo:o,handleChooseSize:n,spec:i,goodInfo:t})=>{const{Image:c,View:r}=s(),{skuList:d}=o;return a(l,{children:[a(r,{className:"goodsInfo",children:[e(r,{className:"lPart",children:e(c,{src:t.dataPic,alt:"",className:"goodsImg"})}),a(r,{className:"rPart",children:[e(r,{className:"name",children:t.goodsName}),e(r,{className:"price",children:la(t.pricesetNprice)}),a(r,{className:"chosen",children:["已选择: ",i.toString()]})]})]}),d.map(((a,l)=>e(bo,{spec:i,handleChooseSize:n,index:l,skuName:a.skuName,skuOption:a.skuOption},l)))]})},ko=({cashImpl:o,addShoppingImpl:n,addCardImpl:i})=>{const{Text:t,View:c}=s(),r=Q((e=>e.isNeedButton));return e(l,{children:r?e(c,{className:"btnWrap",onClick:n,children:e(t,{className:"btn",children:"确认"})}):a(c,{className:"goods-detail-btn-group popup-buy-button",children:[e(c,{className:"btn addCart",onClick:i,children:"加入购物车"}),e(c,{className:"btn buy",onClick:o,children:"立即购买"})]})})},wo=me((({dispatchPageStore:l,goodsCode:o,skuInfo:n,rsSkuDomainList:i})=>{const{View:t}=s(),{spec:c,goodInfo:r}=E(i),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:p,addShoppingImpl:u}=Z(o,n,l);return a(t,{className:"goodsDetail-size-popup",children:[a(t,{className:"content",children:[e(xo,{skuInfo:n,handleChooseSize:d,spec:c,goodInfo:r}),e(yo,{handleStep:m.bind(null,r.goodsNum)})]}),e(ko,{cashImpl:p,addShoppingImpl:u,addCardImpl:h})]})})),vo=({popupVisible:a,dispatchPageStore:l,goodsCode:o,skuInfo:n,rsSkuDomainList:i})=>{const{Popup:t}=s();return e(t,{popupVisible:a,popupHandler:()=>{l((e=>Object.assign(Object.assign({},e),{popupVisible:!1})))},children:e(wo,{dispatchPageStore:l,goodsCode:o,skuInfo:n,rsSkuDomainList:i})})},So=({skuCode:o,serverShow:n,cartShow:i,lPartColor:t,lPartBgColor:c,lPartStyle:r,rPartColor:d,rPartBgColor:m,rPartStyle:h,popupVisible:p=!1,dispatchPageStore:u=Oe})=>{const{Text:g,View:N,IconMobile:C}=s(),{rsSpecValueDomainList:f,goodsCode:b,rsSkuDomainList:y}=j(o),x=X(f),{servicePopup:k}=aa(),{addCardPopup:w,buyOpenPopup:v}=U(u);return a(l,{children:[a(N,{className:"goodsDetailHandleBar",children:[a(N,{className:"linkGroup server",onClick:k,style:{display:n?"block":"none"},children:[e(C,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(g,{className:"txt",children:"客服"})]}),a(N,{className:"linkGroup cart",onClick:()=>ye("shopping"),style:{display:i?"block":"none"},children:[e(C,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(g,{className:"txt",children:"购物车"})]}),a(N,{className:"goods-detail-btn-group",children:[e(N,{className:"btn addCart",onClick:w,style:{color:t,backgroundColor:c,borderTopLeftRadius:r,borderBottomLeftRadius:r},children:"加入购物车"}),e(N,{onClick:v,className:"btn buy",style:{color:d,backgroundColor:m,borderTopRightRadius:h,borderBottomRightRadius:h},children:"立即购买"})]})]}),e(vo,{dispatchPageStore:u,popupVisible:p,goodsCode:b,rsSkuDomainList:y,skuInfo:x})]})},Io=({skuCode:o,serverShow:n,cartShow:i,lBtnBorderColor:t,lBtnFontColor:c,lBtnColor:r,lBtnStyle:d,rBtnBorderColor:m,rBtnFontColor:h,rBtnColor:p,rBtnStyle:u,popupVisible:g=!1,dispatchPageStore:N=Oe})=>{const{Text:C,View:f,IconMobile:b}=s(),{rsSpecValueDomainList:y,goodsCode:x,rsSkuDomainList:k}=j(o),w=X(y),{servicePopup:v}=aa(),{addCardPopup:S,buyOpenPopup:I}=U(N);return a(l,{children:[a(f,{className:"goodsDetailHandleBarOne",children:[a(f,{className:"linkGroup server",onClick:v,style:{display:n?"block":"none"},children:[e(b,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"客服"})]}),a(f,{className:"linkGroup cart",onClick:()=>ye("shopping"),style:{display:i?"block":"none"},children:[e(b,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"购物车"})]}),a(f,{className:"goods-detail-one-btn-group",children:[e(f,{className:"btn addCart",onClick:S,style:{border:`1px solid ${t}`,color:c,backgroundColor:r,borderRadius:1===d?"20px":"0"},children:"加入购物车"}),e(f,{onClick:I,className:"btn buy",style:{border:`1px solid ${m}`,color:h,backgroundColor:p,borderRadius:1===u?"20px":"0"},children:"立即购买"})]})]}),e(vo,{dispatchPageStore:N,popupVisible:g,goodsCode:x,rsSkuDomainList:k,skuInfo:w})]})},Ao=me((({defaultValue:l,coupons:o,bg:n,borderColor:i,btnColor:t,typeColor:c,titleColor:r,ruleColor:d,timeColor:m,paddingTop:h,paddingBottom:p})=>{const{View:u}=s(),{list:g,takeCoupon:N,takeList:C}=J({defaultValue:l,coupons:o});return e(u,{style:{paddingTop:`${h}px`,paddingBottom:`${p}px`},children:g.map(((l,o)=>{const s=Le(l,"pbName"),h=Le(l,"pmPromotionDiscountList"),p=Le(h.at(-1),"discName"),g=Le(l,"promotionName"),f=De(Le(l,"promotionBegintime")).format("YYYY-MM-DD"),b=De(Le(l,"promotionEndtime")).format("YYYY-MM-DD"),y=Le(l,"promotionCode");return a(u,{className:"OneLineOneBlc",style:{backgroundColor:n,borderColor:i},children:[a(u,{className:"lPart",children:[a(u,{className:"intro",children:[e(u,{className:"type",style:{color:c},children:s}),e(u,{className:"rule",style:{color:d},children:p})]}),a(u,{className:"info",children:[e(u,{className:"title",style:{color:r},children:g}),a(u,{className:"validity",style:{color:m},children:[f," - ",b]})]})]}),e(u,{className:"rPart",style:{backgroundColor:t},children:-1===l.availabledate||C.includes(o)?e(u,{className:"txt",children:"已 领 取"}):e(u,{className:"txt",onClick:()=>N({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),Bo=me((({defaultValue:l,coupons:o,bg:n,borderColor:i,btnColor:t,typeColor:c,ruleColor:r,titleColor:d,timeColor:m,gap:h,paddingTop:p,paddingBottom:u})=>{const{View:g}=s(),{list:N,takeCoupon:C,takeList:f}=J({defaultValue:l,coupons:o});return e(g,{className:"oneLineTwoBlc",style:{paddingTop:p,paddingBottom:u,paddingLeft:"10px",paddingRight:"10px",gap:h},children:N.map(((l,o)=>{const s=Le(l,"pbName"),h=Le(l,"pmPromotionDiscountList"),p=Le(h.at(-1),"discName"),u=Le(l,"promotionName"),N=De(Le(l,"promotionBegintime")).format("YYYY-MM-DD"),b=De(Le(l,"promotionEndtime")).format("YYYY-MM-DD"),y=Le(l,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:n,borderColor:i},children:[a(g,{className:"lPart",children:[e(g,{className:"type",style:{color:c},children:s}),e(g,{className:"rule",style:{color:r},children:p}),e(g,{className:"info",style:{color:d},children:u}),a(g,{className:"validity",style:{color:m},children:[N," - ",b]})]}),e(g,{className:"rPart",style:{backgroundColor:t},children:-1===l.availabledate||f.includes(o)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>C({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),Vo=me((l=>{var{type:o=1,coupons:n=[]}=l,i=Xe(l,["type","coupons"]);const{View:t}=s();return a(t,{className:"getCouponOne",children:[1===o?e(Ao,Object.assign({coupons:n},i)):null,2===o?e(Bo,Object.assign({coupons:n},i)):null]})})),To=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],Do=me((({activeColor:a,setParams:l,params:o})=>{const{View:n}=s();return e(n,{className:"promotionListTab",children:To.map(((s,i)=>e(n,{className:"promotionListTabItem",onClick:()=>l(s.val),style:{color:s.val===o?a:"#000"},children:s.label},i)))})})),Lo=({data:l})=>{const{View:o}=s(),{pbName:n,promotionName:i,pmPromotionDiscountList:t,promotionBegintime:c,promotionEndtime:r}=l;return a(o,{className:"promotionItem",children:[a(o,{className:"lPart",children:[e(o,{className:"round"}),e(o,{className:"tagBg",children:a(o,{className:"txt",children:["官方",n]})}),e(o,{className:"rule",children:t.at(-1).discName}),e(o,{className:"title",children:i}),a(o,{className:"time",children:[De(c).format("YYYY-MM-DD")," ~ ",De(r).format("YYYY-MM-DD")]})]}),e(o,{className:"rPart",children:e(o,{className:"sideBorder"})})]})},Po=me((({activeColor:l,paddingTop:o,paddingBottom:n})=>{const[i,t]=pe(To[0].val),{list:c,getData:r}=ee({params:i}),{View:d,ScrollView:m}=s();return a(d,{style:{padding:`${o}px 0 ${n}px`},children:[e(Do,{activeColor:l,setParams:t,params:i}),e(d,{children:e(pa,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,l)=>e(Lo,{data:a},l)))})})})]})})),Ro=me((()=>e(l,{children:"123"}))),zo=({setDefault:a,checked:l})=>{const{SmoothCheckbox:o,Checkbox:n}=s();return e(o,{onChange:a,children:e(n,{checked:l,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},Oo=({itemData:l,delAddress:o,setDefault:n})=>{const{View:i,Text:t}=s(),{handlerImpl:c}=ae(l);return a(i,{className:"addressItem",children:[a(i,{className:"upInfo",onClick:c,children:[a(i,{className:"userInfo",children:[l.addressMember," ",l.addressPhone]}),e(i,{className:"addressInfo",children:a(t,{className:"address",children:[l.provinceName," ",l.areaName," ",l.cityName," ",l.addressDetail]})})]}),a(i,{className:"downInfo",children:[e(zo,{checked:"1"===(null==l?void 0:l.addressDefault),setDefault:n}),e(t,{className:"del",onClick:o,children:"删除"})]})]})},Mo=me((()=>{const{View:a,Skeleton:o}=s(),n=fe(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:n.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})})),Fo=me((({refreshNum:a,btnShape:l,btnColor:o,borderColor:n,paddingBottom:i,paddingTop:t,color:c})=>{const{View:r}=s(),{list:d,delAddress:m,setDefault:h,skullShow:p}=le(a);return e(r,{className:"addressListWrap",style:{paddingTop:t+"px",marginBottom:i+"px"},children:p?e(Mo,{}):e(r,{className:"addressList",children:d.length?d.map(((a,l)=>e(Oo,{itemData:a,setDefault:h.bind(null,a,l),delAddress:m.bind(null,a)},null==a?void 0:a.addressId))):e(il,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),jo=me((({borderColor:a,color:l,btnColor:o,btnShape:n,paddingTop:i,paddingBottom:t})=>{const{View:c}=s();return e(c,{className:"addressListBtnWrap",style:{paddingTop:`${i}px`,paddingBottom:`${t}px`},children:e(c,{style:{borderRadius:n,borderColor:a,color:l,backgroundColor:o},className:"addressListBtn",onClick:()=>ye("addressEditor"),children:"+ 新增地址"})})})),Go=xe(),Wo=me((({contractBillcode:l,contractBbillcode:o,btnColor:n,btnShape:i,borderColor:t,paddingTop:c,paddingBottom:r,color:d})=>{const{View:m,Text:h,Radio:p,IconMobile:u,WrapLoading:g,SmoothRadio:N}=s(),{paymentImpl:C,channelList:f,contract:b,handleRadio:y,loading:x}=oe({contractBillcode:l,contractBbillcode:o});return a(m,{className:"paymentModeWrap",style:{height:Go?"inherit":"667px",paddingBottom:r+"px",paddingTop:c+"px"},children:[a(m,{className:"paymentMode",children:[a(m,{className:"topInfo",children:[a(h,{className:"title",children:[e(u,{value:"roundcheck"}),"订单提交成功"]}),a(m,{className:"info",children:["订单号:",b.current.contractBillcode," | 总金额:",la(b.current.dataBmoney),"元"]})]}),e(m,{className:"paymentGroup",children:e(N,{onChange:y,children:null==f?void 0:f.map((l=>a(m,{className:"paymentItem",children:[e(u,{value:l.icon}),a(m,{children:[a(m,{className:"base",children:[e(h,{children:l.fchannelName}),e(p,{value:l.fchannelCode,className:"choose"})]}),"account"===l.value?a(m,{className:"info",children:[e(m,{children:"账户余额:0元"}),e(m,{children:"本单抵扣:5.4元"})]}):null]})]},l.fchannelCode)))})})]}),e(m,{id:"v_html"}),e(g,{loading:x,children:e(m,{className:"btnGroup",onClick:C,children:e(m,{style:{borderRadius:i,backgroundColor:n,color:d,borderColor:t},className:"payment",children:"立即支付"})})})]})})),Eo=me((({title:l})=>{const{View:o}=s();return a(o,{className:"refundOptionStyle",children:[l,a(o,{className:"optionItem",onClick:()=>{ye("refundOnly",{})},children:[e(o,{className:"refund_icon",children:e(Ca,{value:"tuikuantuihuo",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(o,{className:"refund_text",children:[e(o,{className:"refund_type_title",children:"仅退款(无需退货)"}),e(o,{className:"refund_tip",children:"没收到货,或与卖家协商同意不用退货只退款"})]}),e(o,{className:"refund_icon_end",children:e(Ca,{value:"xiangyou1",style:{fontSize:16}})})]}),a(o,{className:"optionItem",children:[e(o,{className:"refund_icon",children:e(Ca,{value:"tuikuantuihuo1",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(o,{className:"refund_text",children:[e(o,{className:"refund_type_title",children:"我要退货退款"}),e(o,{className:"refund_tip",children:"已收到货,需要退还收到的货物"})]}),e(o,{className:"refund_icon_end",children:e(Ca,{value:"xiangyou1",style:{fontSize:16}})})]}),a(o,{className:"optionItem",children:[e(o,{className:"refund_icon",children:e(Ca,{value:"huanhuo",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(o,{className:"refund_text",children:[e(o,{className:"refund_type_title",children:"我要换货"}),e(o,{className:"refund_tip",children:"已收到或,需要退还更换"})]}),e(o,{className:"refund_icon_end",children:e(Ca,{value:"xiangyou1",style:{fontSize:16}})})]})]})})),Ho=me((({value:l,getAmountNum:o,goodsCamount:n})=>{const{View:i}=s(),t=xe();return a(i,{className:"count_btn_style",children:[e(i,{className:"btn_left",onClick:()=>{if(l<=1){if(t){we().showToast({title:"退货数量最低为1",icon:"none",mask:!0})}}else o(l-1)},children:"-"}),e(i,{className:"btn_middle",children:l}),e(i,{className:"btn_right",onClick:()=>{if(l>=n){if(t){we().showToast({title:"退货数量最多不得超出购买该商品总数量!",icon:"none",mask:!0})}}else o(l+1)},children:"+"})]})})),Yo=me((({title:l,dataPic:o,goodsName:n,goodsCamount:i=2,price:t})=>{const[c,r]=pe(!0),[d,m]=pe(i),{View:h,Image:p}=s();console.log("当前退货数量为",d);const u=he((()=>Ae("goods_nums",{goods_nums_btm:Number(i)>1},{goods_nums_btm1:Number(i)<2})),[i]);return a(h,{className:"refundGoodsDeatil",children:[l,a(h,{className:"goodsDeatilMsg",children:[e(h,{className:"goods_img",children:e(p,{src:"https://b2coptfa10b0d4f03f4ff48c571f14558fa068.saas.qjclouds.com/paas/shop/597370900596056114//63758997dcb34f15ae1b7f2244d52916.png",alt:"",className:"img"})}),a(h,{className:"goods_content",children:[a(h,{className:"goods_text",children:[e(h,{className:"goods_title",children:"花秘瑰萃 明星臻选套装 花秘瑰萃 明星臻发顺丰水电费付付水电费"}),e(h,{className:"goods_price",children:"¥980.00"})]}),a(h,{className:u,children:[e(h,{className:"goods_size",children:"30ml/清淡型"}),Number(i)>1?a(h,{className:"nums_btn",children:[e(h,{className:"icon_btn",onClick:()=>r(!c),children:e(Ca,{value:"bangzhu",style:{fontSize:15}})}),e(Ho,{value:d,getAmountNum:e=>{m(e)},goodsCamount:i})]}):`x${i}`]})]}),e(h,{className:"help_btn",style:{display:c?"block":"none"},children:"如部分商品售后成功,剩余商品将不能申请售后"})]})]})})),Uo=me((l=>{console.log("退款类型",l);const{View:o}=s();return a(o,{className:"refundPage",children:[e(o,{className:"goodsMsg",children:e(Yo,Object.assign({title:"退款商品"},l))}),e(o,{className:"refundOption",children:e(Eo,{title:"选择售后类型"})})]})})),Qo=me((()=>{const[l,o]=pe(!1),[n,i]=pe(980),{View:t,Input:c,Popup:r}=s();return a(t,{className:"refundMsgPage",children:[a(t,{className:"refundItem",onClick:()=>{o(!0)},children:[a(t,{className:"refundMsg",children:[a(t,{className:"inputText",children:[e(t,{className:"icon",children:"*"}),e(t,{className:"text",children:"退款原因"})]}),a(t,{className:"optionText",children:[e(t,{className:"text1",children:"请选择"}),e(t,{className:"icon",children:">"})]})]}),e(t,{className:"refundTip",children:"请选择退款原因!退款原因不能为空!"})]}),a(t,{className:"refundItem",children:[a(t,{className:"refundMsg",children:[a(t,{className:"inputText",children:[e(t,{className:"icon",children:"*"}),e(t,{className:"text",children:"退款金额"})]}),a(t,{className:"optionText",children:[e(t,{className:"text",children:a(t,{className:"textInp",children:["¥",e(c,{className:"inputText",disabled:!1,value:oa(n),onBlur:e=>{i(e.detail.value)}})]})}),e(t,{className:"icon1",children:a(t,{className:"iconContent",children:[e(Ca,{value:"bianjishuru",style:{fontSize:12,color:"#000000"}}),e(t,{className:"updatebtn",children:"修改"})]})})]})]}),e(t,{className:"refundTip1",children:"可修改,最多¥980.00,含运费¥0.00"})]}),e(r,{popupVisible:l,popupHandler:o,children:e(t,{className:"goodsDetail-coupon-popup",children:e(pa,{children:"123213"})})})]})})),Ko=me((()=>{const[l,o]=pe(!1),[n,i]=pe([]),{View:t,Popup:c,Image:r}=s(),d=xe();return console.log("图片路径",n),a(t,{className:"select_img",children:[a(t,{className:"icon_img",onClick:()=>{if(n.length>=3){if(d){we().showToast({title:"最多只能上传3张图片!",duration:2e3,icon:"none",mask:!0})}}else o(!0)},children:[e(Ca,{value:"shangchuanpingzheng",style:{fontSize:20,color:"#9e9e9e"}}),e(t,{children:"上传凭证"}),e(t,{children:"(最多3张)"})]}),n.length>0?n.map(((l,o)=>a(t,{className:"show_img",children:[e(t,{className:"delete_btn",onClick:()=>(e=>{console.log("下标",e);const a=n.slice();a.splice(e,1),i((e=>[...a]))})(o),children:"x"}),e(r,{className:"img",src:l,onClick:()=>(e=>{if(d){const a=we();let l=[];l.push(e),a.previewImage({current:e,urls:l,showmenu:!0})}})(l)},o)]}))):"",e(c,{popupVisible:l,popupHandler:o,children:e(t,{className:"upload_content",children:a(pa,{children:[e(t,{className:"upload_btn",children:"拍照"}),e(t,{className:"upload_btn",onClick:()=>{if(d){we().chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(e){console.log("上传图片-相册",e);var a=[];a.push(e.tempFilePaths[0]),console.log("上传路径",a),i((e=>[...e,...a])),o(!1)}})}},children:"从相册选择"}),e(t,{className:"upload_unbtn",onClick:()=>o(!1),children:"取消"})]})})})]})})),qo=me((()=>{const{View:l}=s();return a(l,{className:"uploadingPage",children:[e(l,{className:"uploadingContent",children:"补充描述和凭证"}),a(l,{className:"uploadingText",children:["补充描述,有助于商家更好的处理售后问题",e(l,{className:"uploadImg",children:e(Ko,{})})]})]})})),$o=me((()=>{const{View:l}=s();return a(l,{className:"refundOnlyPage",children:[e(l,{className:"refundTip",children:"请与商家协商,确认达成一致后填写协商好的退款金额"}),e(l,{className:"refundMsg_style",children:e(Qo,{})}),e(l,{className:"refundUploading",children:e(qo,{})})]})})),_o=()=>{const{View:l}=s(),{mySettingGoBind:o,mySettingLogout:n}=se();return a(l,{className:"mySetting",children:[a(l,{className:"item",onClick:o,children:[e(l,{children:"绑定手机"}),e(l,{children:e(Ca,{value:"xiangyou1"})})]}),e(l,{className:"btn",onClick:n,children:"退出登录"})]})},Zo=me(_o),Xo=me((()=>e(l,{children:"agree"}))),Jo=de.createContext(null),es=me((()=>{const{View:l,Image:o,NumStep:n}=s(),{typeTip:i,setTypeTip:t,goodsNum:c,handleStep:r,goodsInfo:d}=Ce(Jo),{goodsName:m,skuName:h,dataPic:p,contractGoodsPrice:u}=d;return a(l,{className:"afterSalesTypeItem",children:[e(l,{className:"afterSalesTypeTitle",children:"退款商品"}),a(l,{className:"afterSalesTypeContent",children:[e(o,{src:p,className:"img"}),a(l,{className:"info",children:[a(l,{className:"base",children:[e(l,{className:"name",children:m}),e(l,{className:"price",children:la(u)})]}),a(l,{className:"advance",children:[e(l,{className:"size",children:h}),a(l,{className:"stepWrap",children:[e(Ca,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>t((e=>!e))}),e(n,{count:c,handleStep:r})]})]}),i?e(l,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),as={1:[{label:"仅退款(无需退货)",value:"B01"},{label:"退货退款",value:"B02"}],2:[{label:"仅退款(无需退货)",value:"B01"}],3:[{label:"仅退款(无需退货)",value:"B01"},{label:"退货退款",value:"B02"}],4:[{label:"仅退款(无需退货)",value:"B01"},{label:"退货退款",value:"B02"}]},ls=(e=2)=>as[e],os=me((({afterSalesType:l=2,contractBillcode:o,skuCode:n})=>{const{View:i}=s(),{goApply:t,goodsNum:c}=Ce(Jo);return e(i,{children:a(i,{className:"afterSalesTypeType",children:[e(i,{className:"title",children:"售后类型"}),ls(+l).map(((l,s)=>a(i,{className:"item",onClick:t.bind(null,l.value,o,n,c),children:[e(i,{className:"headline",children:l.label}),e(Ca,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},s)))]})})})),ss=l=>{const{contractBillcode:o,skuCode:n,dataState:i}=l,{typeTip:t,setTypeTip:c,goodsNum:r,handleStep:d,goodsInfo:m,goApply:h}=ne({contractBillcode:o,skuCode:n}),{View:p}=s();return e(p,{className:"afterSalesType",children:a(Jo.Provider,{value:{typeTip:t,setTypeTip:c,goodsNum:r,handleStep:d,goodsInfo:m,goApply:h},children:[e(es,{}),e(os,{afterSalesType:i,contractBillcode:o,skuCode:n})]})})},ns=de.createContext(null),is=me((()=>{const{View:a}=s(),{tip:l}=Ce(ns);return e(a,{className:"afterSalesApplyTip",children:l})})),ts=me((()=>{const{View:l,SmoothRadio:o,Radio:n,Popup:i,ScrollView:t}=s(),{handlePopupShow:c,popupVisible:r,reasonList:d,handleChooseReason:m}=Ce(ns);return e(i,{popupVisible:r,popupHandler:c,children:e(l,{className:"reasonPopup",children:e(pa,{children:a(t,{children:[e(l,{className:"title",children:"退款原因"}),e(o,{onChange:m,children:d.map(((o,s)=>a(l,{className:"reasonItem",children:[e(l,{className:"label",children:o.flagSettingInfo}),e(n,{value:o.flagSettingInfo})]},s)))})]})})})})})),cs=me((()=>{const{View:l}=s(),{handlePopupShow:o,popupVisible:n,reason:i,goodsInfo:t,goodsNum:c}=Ce(ns);return a(l,{className:"afterSalesApplyFillIn",children:[a(l,{className:"reason",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款原因"})]}),e(l,{className:"choose",onClick:o,children:i?e(l,{className:"chooseResult",children:i}):a(l,{children:["请选择",e(Ca,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]})})]}),a(l,{className:"price",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款金额"})]}),a(l,{className:"allPrice",children:[e(l,{className:"single",children:la(null==t?void 0:t.contractGoodsPrice)}),a(l,{className:"count",children:["x ",c]})]})]}),e(ts,{popupShow:n})]})})),rs=me((()=>{const{View:l,TextArea:o,Textarea:n}=s(),i=n||o,{handleChooseImg:t,imgGroup:c,placeholder:r,handleDelImg:d,limit:m,handleFillInReason:h}=Ce(ns);return a(l,{className:"afterSalesApplySubFillIn",children:[e(l,{className:"title",children:"补充描述和凭证"}),a(l,{className:"content",children:[e(i,{placeholder:r,rows:5,maxLength:200,style:{marginBottom:15},onInput:h}),a(l,{className:"imgGroup",children:[c.length<m?e(l,{className:"add",onClick:t,children:a(l,{className:"addContent",children:[e(Ca,{value:"shangchuanpingzheng"}),e(l,{className:"word",children:"上传凭证"}),a(l,{className:"num",children:[c.length,"/",m]})]})}):null,c.map(((a,o)=>e(l,{className:"imgItem",style:{backgroundImage:`url(${a})`},children:e(l,{className:"cancel",onClick:d.bind(null,o),children:e(Ca,{value:"close-bold",style:{fontSize:12}})})},o)))]})]})]})})),ds=({refundType:l,contractBillcode:o,skuCode:n,goodsNum:i})=>{const{View:t,WrapLoading:c}=s(),{tip:r,reasonList:d,popupVisible:m,handlePopupShow:h,handleChooseReason:p,reason:u,handleChooseImg:g,imgGroup:N,placeholder:C,handleDelImg:f,limit:b,goodsInfo:y,handleFillInReason:x,handleSubmit:k,loading:w}=ie({contractBillcode:o,skuCode:n});return e(c,{loading:w,children:e(t,{className:"afterSalesApply",children:a(ns.Provider,{value:{tip:r,reasonList:d,popupVisible:m,handlePopupShow:h,handleChooseReason:p,reason:u,handleChooseImg:g,imgGroup:N,placeholder:C,handleDelImg:f,limit:b,goodsNum:i,goodsInfo:y,handleFillInReason:x,handleSubmit:k},children:[e(is,{}),e(cs,{}),e(rs,{}),e(t,{className:"submitBtn",onClick:k.bind(null,i,o,l),children:"确定"})]})})})},ms=(e,a)=>{if("B01"===e){return{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"}[a]}if("B02"===e){return{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}[a]}},hs=de.createContext(null),ps=me((()=>{const{companyList:l,popupShow:o,handlePopupShow:n,chooseCompany:i}=Ce(hs),{View:t,SmoothRadio:c,Radio:r,Popup:d,ScrollView:m}=s();return e(d,{popupVisible:o,popupHandler:n,children:e(t,{className:"reasonPopup",children:e(pa,{children:a(m,{children:[e(t,{className:"title",children:"物流选择"}),e(c,{onChange:i,children:l.map(((l,o)=>a(t,{className:"reasonItem",children:[e(t,{className:"label",children:l.expressName}),e(r,{value:`${l.expressName}-${l.expressCode}`})]},o)))})]})})})})})),us=me((()=>{const{handlePopupShow:o,packageName:n,setPackageBillno:i,submitExpressInfo:t}=Ce(hs),{View:c,Input:r}=s();return a(l,{children:[a(c,{className:"sender_content",children:[a(c,{className:"sender_name",children:[e(c,{className:"sender_icon",children:"*"}),e(c,{className:"sender_names",children:"物流公司"})]}),e(c,{className:"sender_input name_style",onClick:o,children:e(c,""===n?{style:{color:"#000"},children:"请填写"}:{children:n})})]}),a(c,{className:"sender_content",children:[a(c,{className:"sender_name",children:[e(c,{className:"sender_icon",children:"*"}),e(c,{className:"sender_names",children:"物流单号"})]}),e(c,{className:"sender_input",children:e(r,{type:"number",placeholder:"请填写",onInput:e=>i(e.detail.value)})})]}),e(c,{className:"expressInfo",children:e(c,{className:"expressInfo_btn",onClick:t,children:"提交物流信息"})}),e(ps,{})]})})),gs=me((({refundCode:o})=>{const{afterSalesDetailInfo:n,submitExpressInfo:i,handleCancelAfterSales:t,companyList:c,popupShow:r,handlePopupShow:d,chooseCompany:m,packageName:h,setPackageBillno:p}=te({refundCode:o}),{dataState:u,gmtCreate:g,ocRefundGoodsList:N,refundMoney:C,refundMeo:f,refundEx:b,refundType:y,ocRefundFileList:x,goodsReceiptMem:k,goodsReceiptPhone:w,goodsReceiptArrdess:v,packageCode:S,packageBillno:I}=n,{View:A,Image:B}=s();return e(A,{className:"afterSalesDetail",children:a(hs.Provider,{value:{companyList:c,popupShow:r,handlePopupShow:d,chooseCompany:m,packageName:h,setPackageBillno:p,submitExpressInfo:i},children:[a(A,{className:"afterSalesDetailTopTitle",style:{background:"#000"},children:[e(A,{className:"left_text",children:ms(y,u)}),e(A,{className:"right_time",children:De(g).format("YYYY-MM-DD HH:mm:ss")})]}),e(A,{className:"afterSalesDetailContent",children:a(A,{className:"refundDetail",children:[e(A,{className:"title",children:"退款信息"}),e(A,{className:"goodsDetail",children:null==N?void 0:N.map(((a,l)=>e(sa,{dataPic:a.dataPic,pricesetNprice:a.pricesetNprice,goodsName:a.goodsName,goodsCamount:a.refundGoodsNum,skuName:a.skuName},l)))}),a(A,{className:"refund_Detail",children:[e(A,{className:"left",children:"退款原因"}),e(A,{className:"right",children:b})]}),a(A,{className:"refund_Detail",children:[e(A,{className:"left",children:"退款金额"}),e(A,{className:"right",children:C})]}),a(A,{className:"refund_Detail",children:[e(A,{className:"left",children:"描述说明"}),e(A,{className:"right",children:f})]}),a(A,{className:"refund_Detail",children:[e(A,{className:"left",children:"补充凭证"}),e(A,{className:"right",children:null==x?void 0:x.map(((a,l)=>e(B,{src:a.refundFileUrl,mode:"widthFix",className:"refundImg"},l)))})]}),a(A,{className:"refund_Detail",children:[e(A,{className:"left",children:"申请时间"}),e(A,{className:"right",children:De(g).format("YYYY-MM-DD HH:mm:ss")})]}),a(A,{className:"refund_Detail",children:[e(A,{className:"left",children:"退款编号"}),e(A,{className:"right",children:o})]}),e(l,{children:"B02"===y?a(l,{children:[u>0?a(A,{className:"merchantMsg",children:[e(A,{className:"title",children:"商家信息"}),a(A,{className:"name",children:[k," ",w]}),e(A,{className:"address",children:v})]}):"",1===u?a(A,{className:"writeMsg",children:[e(A,{className:"wlMsg",children:"物流信息"}),e(us,{})]}):"",u>1?a(A,{className:"writeMsg",children:[e(A,{className:"wlMsg",children:"物流信息"}),a(A,{className:"express_content",children:[e(A,{className:"name",children:"物流单号"}),e(A,{className:"code",children:I})]}),a(A,{className:"express_content",children:[e(A,{className:"name",children:"物流公司"}),e(A,{className:"code",children:h})]}),a(A,{className:"express_content",children:[e(A,{className:"name",children:"物流公司编码"}),e(A,{className:"code",children:S})]})]}):""]}):""})]})}),0===u?e(A,{className:"footerBtn",children:e(A,{className:"btn",onClick:t.bind(null,N[0].goodsCode),children:"撤销申请"})}):null]})})})),Ns={B01:{icon:"tuikuan1",label:"仅退款(无需退货)",color:"#58BE6A"},B02:{icon:"tuikuan1",label:"退货退款",color:"#C52922"}},Cs={B01:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"},B02:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}},fs=me((({data:l,goAfterSalesDetail:o})=>{var n,i;const{View:t,Image:c}=s();return a(t,{className:"afterSalesListItem",onClick:o.bind(null,l.refundCode),children:[a(t,{className:"title",children:[a(t,{className:"lPart",children:["服务单号: ",l.refundCode]}),a(t,{className:"rPart",children:[e(Ca,{style:{color:null===(n=Ns[l.refundType])||void 0===n?void 0:n.color,fontSize:12},value:null===(i=Ns[l.refundType])||void 0===i?void 0:i.icon}),e(t,{className:"txt",children:Ns[l.refundType].label})]})]}),a(t,{className:"goodsInfo",children:[e(t,{className:"lPart",children:e(c,{src:l.ocRefundGoodsList[0].dataPic,className:"img"})}),a(t,{className:"rPart",children:[e(t,{className:"goodsName",children:l.ocRefundGoodsList[0].goodsName}),a(t,{className:"count",children:["申请数量: ",l.ocRefundGoodsList[0].refundGoodsNum]})]})]}),a(t,{className:"tip",children:[e(t,{class:"lPart",children:Cs[l.refundType][l.dataState]}),e(Ca,{style:{fontSize:12,color:"#A5A5A5"},value:"xiangyou1"})]})]})})),bs=me((()=>{const{View:a}=s();return e(a,{className:"noData",children:e(a,{className:"txt",children:"暂无售后单"})})})),ys=me((({item:a,refreshNum:l})=>{const{View:o,ScrollView:n}=s(),{afterSalesList:i,goAfterSalesDetail:t}=ce(a,l);return e(o,{className:"tabContent",children:e(pa,{id:"tabContent",children:e(n,{children:i.length?i.map((a=>e(fs,{data:a,goAfterSalesDetail:t.bind(null,a.refundCode)}))):e(bs,{})})})})})),xs=me((({refreshNum:a=0})=>{const{View:l,Tabs:o}=s();return e(l,{className:"afterSalesList",children:e(o,{defaultIndex:0,tabs:re,render:l=>e(ys,{item:l,refreshNum:a})})})}));export{Ja as AddressDetail,Fo as AddressList,jo as AddressListBtn,ds as AfterSalesApply,gs as AfterSalesDetail,xs as AfterSalesList,ss as AfterSalesType,Ro as AllCouponList,Po as AllPromotionList,Ll as ArticleDetail,Yl as BackTop,rl as Cart,yl as CartList,xl as CartOperate,dl as CartTop,Kl as ClassifyNav,$l as ClassifyNavOne,ql as ClassifyNavOneJsx,Zl as ClassifyNavThree,_l as ClassifyNavTwo,Tl as CollectionList,sl as CouponList,Ee as Cube,Ha as EvaluateDetail,Wa as EvaluateList,Qa as ExpressInfo,Bl as FootPrint,Vo as GetCouponOne,Xl as Goods,wa as GoodsClassify,Va as GoodsClassifyOne,Pa as GoodsClassifyTwo,fo as GoodsDetailAndEvaluate,lo as GoodsDetailBanner,po as GoodsDetailCoupon,So as GoodsDetailHandleBar,Io as GoodsDetailHandleBarOne,so as GoodsDetailInfo,io as GoodsDetailInfoOne,ro as GoodsDetailPromotion,co as GoodsDetailSku,Oa as GoodsList,Jl as GoodsSlider,ao as GoodsSlideshow,Ql as Line,kl as MineData,vl as MineFunction,wl as MineOrderEntry,Xo as MyAgreement,Zo as MySetting,_o as MySettingJsx,Ge as Notice,Dl as NoticeDetail,ya as OrderDetail,Na as OrderList,Wo as PaymentMode,Ol as PlaceOrderAddress,Fl as PlaceOrderCoupon,jl as PlaceOrderDelivery,Gl as PlaceOrderGood,Wl as PlaceOrderInfo,El as PlaceOrderOperate,al as PlaceOrderResult,Ca as QjMobileIcon,Uo as RefundAfter,$o as RefundOnly,Ke as Search,Fa as SearchPage,qe as SearchStyleTwo,Ye as Service,Ze as Slider,Ul as TextLine,We as Title,He as Video};
|