s-material-react 1.4.21 → 1.4.23
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/afterSalesTypeGroup/afterSalesType.scss +7 -7
- package/css/theme/regular.scss +1 -1
- package/dist/components/AfterSalesTypeGroup/AfterSalesType/components/Item.d.ts +1 -1
- package/dist/components/AfterSalesTypeGroup/AfterSalesType/components/type.d.ts +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/AfterSalesTypeGroup/AfterSalesType/components/tipConfig.d.ts +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@import '../../theme/regular';
|
|
2
2
|
|
|
3
3
|
.afterSalesType {
|
|
4
|
-
background-color: #
|
|
4
|
+
background-color: #f9fafb;
|
|
5
5
|
padding: 12px;
|
|
6
6
|
|
|
7
7
|
.afterSalesTypeItem {
|
|
8
8
|
width: 100%;
|
|
9
9
|
padding: 12px;
|
|
10
|
-
background-color: #
|
|
10
|
+
background-color: #ffffff;
|
|
11
11
|
border-radius: 6px;
|
|
12
12
|
margin-bottom: 12px;
|
|
13
13
|
box-sizing: border-box;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
.size {
|
|
63
63
|
font-size: 12px;
|
|
64
64
|
font-weight: 400;
|
|
65
|
-
color: #
|
|
65
|
+
color: #888e9b;
|
|
66
66
|
line-height: 18px;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
|
|
80
80
|
.tip {
|
|
81
81
|
padding: 2px 6px;
|
|
82
|
-
color: #
|
|
82
|
+
color: #888e9b;
|
|
83
83
|
font-size: 12px;
|
|
84
|
-
background-color: #
|
|
84
|
+
background-color: #ffffff;
|
|
85
85
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
|
|
86
|
-
border: 1px solid #
|
|
86
|
+
border: 1px solid #eaeaea;
|
|
87
87
|
margin-top: 4px;
|
|
88
88
|
border-radius: 4px;
|
|
89
89
|
line-height: 15px;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
.afterSalesTypeType {
|
|
96
96
|
padding: 12px;
|
|
97
97
|
border-radius: 6px;
|
|
98
|
-
background-color: #
|
|
98
|
+
background-color: #ffffff;
|
|
99
99
|
|
|
100
100
|
.title {
|
|
101
101
|
font-size: 14px;
|
package/css/theme/regular.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// 基础文字颜色
|
|
2
|
-
$fontColor: #
|
|
2
|
+
$fontColor: #1c253a;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const Item: React.NamedExoticComponent<{}>;
|
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 t,IconMobile as i}from"@brushes/simulate-component";import{useNotice as n,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 b,useOrderResultResult as f,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 j,useGoodDetail as F,useBanner as W,useGoodCollection as G,useGoodSpecAndPrice as E,useGoodFootprint as H,useGoodsShare as Y,popupImplement as U,useGoodSkuStore as Q,usePromotion as K,useAddCoupon as q,useCoupon as Z,useEvaluate as $,useAddShopping as X,useGoodSku as J,useAllCoupon as _,useMarketingPromotion as ee,useAddressItem as ae,useAddressList as le,useOrderResult as oe,useAfterSalesChooseType as se}from"qj-mobile-store";import{memo as te,useMemo as ie,useState as ne,useEffect as ce,createElement as re,createContext as de,useContext as me,useRef as he,Fragment as pe}from"react";import{navigatorHandler as ue,getEnv as ge,getStorage as Ne,getTaro as Ce,useImmutableCallback as be,navigatorBackImpl as fe,setStorage as ye}from"@brushes/utils";import xe from"classnames";import{queryOcsconfigList as ke,getContractNumbers as we,find as ve}from"qj-b2c-api";import Se from"dayjs";import{get as Ie,isEmpty as Ae,groupBy as Be,isEqual as Ve,noop as Te}from"lodash-es";import De from"china-division/dist/provinces.json";import Le from"china-division/dist/cities.json";import Pe from"china-division/dist/areas.json";const Re=({direction:a,speed:l,num:s,color:t})=>{const{content:i,navigator:c}=n(s);return e(o,{navigator:c,color:t,speed:l,direction:a,content:i})},ze=te((({value:a,textIndent:l,fontSize:o,textAlign:t,color:i,backgroundColor:n,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:t,color:i,backgroundColor:n,fontWeight:c,textDecoration:r,fontStyle:d,paddingLeft:h,paddingRight:p,textIndent:l},children:a})})})),Oe=te((({defaultValue:a,type:l,borderRadius:o,outerShadow:t,paddingRight:i,paddingLeft:n,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:n,paddingRight:i,gap:r},children:N.map(((a,s)=>e(g,{className:"block "+(t?"outer-shadow":""),mode:1===l?"widthFix":"scaleToFill",src:a.imgUrl,style:{width:"100%",borderRadius:o+"px"},onClick:()=>{var e,l;return ue(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)}},s)))})})})),Me=te((({url:a,poster:l,autoplay:o,loop:t,paddingTop:i,paddingBottom:n,paddingLeft:c,paddingRight:r})=>{const{View:d}=s();return e(d,{style:{paddingTop:i,paddingBottom:n},children:e("video",{className:"components-video",src:a,poster:l,autoPlay:o,loop:t,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:c,paddingRight:r}})})})),je=te((({width:a,height:l,top:o,right:t,bottom:i,left:n,borderRadius:c})=>{const{View:r}=s();return e(r,{style:{width:a,height:l,borderRadius:c,top:o,left:n,right:t,bottom:i},className:"components-service"})})),Fe="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",We="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",Ge=te((({value:l,iconShow:o,fontColor:t,backgroundColor:i,borderRadius:n,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=[]})=>{const{View:u,Image:g}=s(),N=ie((()=>xe("txt",...p)),[p]);return e(u,{onClick:()=>ue("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxpositon":"",children:a(u,{className:"components-search",style:{backgroundColor:i,borderRadius:n?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(g,{src:Fe,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:t,display:"inline-block",fontSize:m},children:l})]})})})),Ee=te((({value:l,iconShow:o,fontColor:t,backgroundColor:i,borderRadius:n,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=["mockWeight","mockItalic"]})=>{const{View:u,Image:g}=s(),N=ie((()=>xe("txt",...p)),[p]);return e(u,{onClick:()=>ue("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:n?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff"},children:[a(u,{style:{width:"80%"},children:[e(g,{src:Fe,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:t,display:"inline-block",fontSize:m},children:l})]}),e(u,{className:["seachBtn",n?"btnBorderRadius":""].join(" "),style:{fontSize:m,backgroundColor:i,width:"20%",color:t},children:"搜索"})]})})})),He=te((({item:a,position:l,direction:o})=>{var t,i;const{Image:n,View:c}=s();return e(n,{mode:"scaleToFill",src:a.imgUrl,style:{width:"100%",height:"100%",paddingBottom:"top"===l&&"vertical"===o?"30px":"",marginTop:"top"===l&&"horizontal"===o?"30px":""},onClick:ue.bind(null,null===(t=a.link)||void 0===t?void 0:t.value,null===(i=a.link)||void 0===i?void 0:i.params)})})),Ye=te((({Position:o,className:t="",className1:i="",defaultValue:n=[],type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C,selectImg:b,imgHeight:f,fontsize:y=16,textAlign:x="center",fontColor:k="#000000",backGroundColor:w="#ffffff"})=>{const v=ie((()=>xe({paddingbtm:"none"!==o,imgHeights:"bottom"===o&&"horizontal"===h}))),{SmoothSwiper:S,View:I}=s(),A=c(n,b||[]),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:t,style:{paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C},children:e(S,{imgHeight:f,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(He,{item:s,position:o,direction:h})]})})})})),Ue=te((({paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:t,defaultValue:i=[],type:n,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTB:g=0,paddingLR:N=0,fontsize:C=16,textAlign:b="center",fontColor:f="#000000",backGroundColor:y="#ffffff",otherStyles:x=[],ImgShadow:k=!1,Position:w="top"})=>{const{View:v}=s(),S=ie((()=>xe("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(Ye,{Position:w,defaultValue:i,type:n,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:t,fontsize:C,textAlign:b,fontColor:f,backGroundColor:y,className:xe({"outer-shadow":k}),className1:S})})}));function Qe(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 Ke(e,a,l,o){return new(l||(l=Promise))((function(s,t){function i(e){try{c(o.next(e))}catch(e){t(e)}}function n(e){try{c(o.throw(e))}catch(e){t(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,n)}c((o=o.apply(e,a||[])).next())}))}const qe=ge(),Ze=()=>{const[e,a]=ne([]);ce((()=>{Ke(void 0,void 0,void 0,(function*(){const e=Ne("service");if(e)a(l(e));else{const e=yield ke();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(!qe)return;Ce().showActionSheet({itemList:e,success:function(e){console.log(e.tapIndex)},fail:function(e){console.log(e.errMsg)}})}}},$e=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2}):"¥ 0",Xe=(e=0)=>e?e.toLocaleString("en-IN",{minimumFractionDigits:2}):"0",Je=({dataPic:o,goodsName:t,goodsCamount:i,pricesetNprice:n,skuName:c,resultTime:r,dataState:d})=>{const{View:m,Image:h,SmoothView:p}=s(),u=$e(n),g=ie((()=>i?`x ${i}`:""),[i]);return e(l,{children:a(m,{className:"card-item",children:[e(h,{src:o,alt:"",className:"card-item-img"}),a(m,{className:"card-item-info",children:[a(m,{className:"card-item-info-container",children:[e(p,{className:"card-item-info-container-title",children:t}),e(p,{className:"card-item-info-container-price",children:u})]}),a(m,{className:"card-item-info-sub",children:[e(p,{className:"sku",children:c}),e(p,{className:"count",children:g})]}),1===d?e(m,{className:"card-item-info-countDown",children:e(p,{children:r})}):null]})]})})},{Button:_e}=t,ea=a=>{var{dataState:o}=a,s=Qe(a,["dataState"]);return e(l,{children:["2","-1"].includes(o+"")?null:e(aa,Object.assign({dataState:o},s))})},aa=a=>{var{dataState:l,contractAppraise:o,color:t,borderColor:i,btnColor:n,btnShape:c}=a,d=Qe(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(_e,{style:{color:t,borderColor:i,backgroundColor:n},className:xe({btn:!0,white:0===l,black:1===l}),onClick:()=>p(a.handler),shape:c,children:a.name},l)))})};const la=e=>{const[a,l]=ne("");ce((()=>{o(e)}),[]);const o=e=>{const a=()=>{const o=new Date(e),s=new Date,t=o.getTime()-s.getTime();t<=0?l(""):(l(((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}`})(t,"后将取消订单,请尽快支付")),setTimeout(a,1e3))};a()};return{resultTime:a}},{Button:oa}=t;function sa({contractBillcode:l,dataBmoney:o,dataBnum:t,goodsList:i,dataState:n,contractId:c,init:r,contractAppraise:m,borderRadius:h,orderSpacing:p,contractPaydate:u}){const{View:g}=s(),N=d(n),{resultTime:C}=la(u);return a(g,{className:"orderListItem",style:{borderRadius:h?8:"",marginTop:p,marginBottom:p},children:[a(g,{onClick:()=>ue("orderDetail",{contractBillcode:l}),children:[a(g,{className:"topInfo",children:[a(g,{className:"orderNo",children:["订单号: ",l,e(oa,{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(Je,Object.assign({},a,{resultTime:C,dataState:n}),a.contractGoodsId)))})]}),a(g,{className:"allInfo",children:[a(g,{className:"totalNum",children:["共",t,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",$e(o)]})]}),C?e(ea,{init:r,contractId:c,contractBillcode:l,dataState:n,contractAppraise:m}):null]})}const ta=ge(),ia=a=>{var{bottomHeight:l,children:o,id:t,heightWrap:i}=a,n=Qe(a,["bottomHeight","children","id","heightWrap"]);const c=function(e){const[a,l]=ne(0);return ce((()=>{if(!ge()||!e)return;const a=Ce().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;l(a)}})).exec()}))})),a}(t),r=function(e=""){return ie((()=>{if(!ge())return 0;const a=Ce(),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=ie((()=>{if(!ta)return t?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(t){return{height:`calc(${Ce().getSystemInfoSync().windowHeight+"px"} - ${c+r}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[c,r]);return e(d,Object.assign({},n,{style:Object.assign(Object.assign({},m),{paddingBottom:t?"":r}),id:t,children:o}))},na=()=>{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 ca=te((function({item:l,refreshNum:o,borderRadius:t,orderSpacing:i}){const{View:n,ScrollView:c,Loading:r}=s(),{onScroll:d,data:h,loading:p,init:u}=m(l,o);return e(n,{className:"orderListItemWrap",children:e(ia,{id:"orderListItemWrap",children:e(c,{onScroll:d,children:h.length>0?a(n,{children:[h.map(((e,a)=>re(sa,Object.assign({init:u},e,{key:a,borderRadius:t,orderSpacing:i})))),e(n,{children:p?e(r,{}):null})]}):a(n,{className:"nodata_img",children:[e(na,{}),e(n,{className:"nodata-btn",onClick:()=>ue("goodList"),children:"前往购物"})]})})})})})),ra=te((({refreshNum:a=0,indexId:l=0,borderRadius:o=!1,orderSpacing:t=12})=>{const{View:i,Tabs:n}=s();return e(i,{className:"order-container",children:e(n,{defaultIndex:+l,tabs:h,render:l=>e(i,{className:"orderList",children:e(ca,{item:l,orderSpacing:t,refreshNum:a,borderRadius:o})})})})})),da=({className:a="iconfont",prefixClass:l="icon",onClick:o=(()=>{}),style:t={fontSize:16,color:"#444",fontWeight:900},value:i})=>{const{Text:n}=s();return e(n,{onClick:o,className:xe(l,i?`${l}-${i}`:"",a),style:t})},{Button:ma}=t,ha=te((({copyContent:a=""})=>{const[l,o]=ne(!1),s=ge();return e(ma,{className:"copy",size:"mini",fill:"outline",onClick:()=>{if(s){const e=Ce();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?"已复制":"复制"})})),pa=te((({contractBillcode:o,expressWay:t,backgroundColor:i,color:n,paddingBottom:c,paddingTop:r,borderColor:m,btnColor:h,btnShape:u})=>{const{View:g,Text:N}=s(),{orderDetail:C}=p(o||""),b=e=>Se(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(da,{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(da,{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(Je,Object.assign({},o),o.contractGoodsId),e(g,{className:"orderBtn",onClick:()=>{console.log("订单状态",C.dataState,o),ue("refundType",{orderState: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]})]})]})]}),t&&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(ha,{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(ea,{borderColor:m,btnColor:h,btnShape:u,color:n,contractBillcode:C.contractBillcode,contractId:C.contractId,dataState:C.dataState})})]})})]})})),ua=te((({navList:o,activeKey:t,cell:i=4})=>{const{View:n,Text:c,Image:r}=s();return e(l,{children:o.map((l=>e(n,{className:["content",t===`${l.goodsClassCode}`?" active":""].join(""),children:((null==l?void 0:l.childList)||[]).map((l=>a(n,{className:"classifyFloor",children:[a(n,{className:"titleWrap",children:[e(c,{className:"title",children:l.goodsClassName}),e(c,{className:"line"})]}),e(n,{className:`container container_columns${i}`,children:((null==l?void 0:l.childList)||[]).map((({classtreeCode:l,goodsClassCode:o,goodsClassLogo:s,goodsClassName:t})=>a(n,{onClick:()=>ue("goodList",{classtreeCode:l}),className:"classifyFloorGoodsItem",children:[e(r,{src:s,className:"logo"}),e(n,{className:"title",children:t})]},o)))})]},l.goodsClassCode)))},l.goodsClassCode)))})})),{SideBar:ga}=t,Na=te((({cell:l,color:o,activeTitle:t,paddingTop:i,paddingBottom:n})=>{const{View:c,ScrollView:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(c,{children:e(ia,{id:"goodsClassify",children:e(r,{children:a(c,{style:{height:p?"100%":"667px",paddingTop:i,paddingBottom:n},className:"goodsClassifyContainer",children:[e(c,{className:"side",children:e(ga,{activeKey:d,onChange:m,style:{"--width":"90px","--background-color":"#f5f5f5"},children:h.map((a=>e(ga.Item,{title:a.goodsClassName,className:0===t?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===d?o:"#000"}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(ua,{navList:h,activeKey:d,cell:l})})]})})})})})),Ca=de(null),ba=te((()=>{const{navList:l,activeKey:o,setActiveKey:t,setFCoe:n,setSCoe:c,selectFontColor:r}=me(Ca),{View:d,ScrollView:m}=s(),[h,p]=ne(!1),u=(e,a)=>{t.bind(null,e)(),n(`${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(ia,{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]})})),fa=te((({thirdList:l})=>{const{View:o,Image:t}=s(),{picShadow:i,layout:n}=me(Ca);return e(o,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${n}, 1fr)`},children:l.map(((l,s)=>a(o,{className:"goodsClassifyOneFloorItem",onClick:()=>ue("goodList",{classtreeCode:l.classtreeCode}),children:[e(t,{src:l.goodsClassLogo,className:"pic",style:{boxShadow:i?"#DDDDDD 0px 0px 10px":""}}),e(o,{className:"title",children:l.goodsClassName})]},s)))})})),ya=ge(),xa=te((()=>{const{navList:l,fCoe:o,sCoe:t,setSCoe:i,selectFontColor:n,selectBlcShow:c,selectBlcStyle:r}=me(Ca),{secondList:d,thirdList:m}=(({navList:e,fCoe:a,sCoe:l})=>{const o=ie((()=>{var l;return(null===(l=e[a])||void 0===l?void 0:l.childList)||[]}),[a,e]),s=ie((()=>{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:t}),{View:h,ScrollView:p,SideBar:u}=s();return e(h,{children:e(ia,{id:"goodsClassifyOneContent",children:e(p,{children:a(h,{className:"goodsClassifyOneContent",style:{height:ya?"100%":"667px"},children:[e(u,{activeKey:t,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":n,"--adm-color-primary":n}},l)))}),e(fa,{thirdList:m})]})})})})})),ka=te((({selectFontColor:l,selectBlcColor:o,selectBlcShow:t,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r})=>{const{View:d}=s(),{navList:m,activeKey:h,setActiveKey:p}=u(),[g,N]=ne("0"),[C,b]=ne("0");return e(Ca.Provider,{value:{fCoe:g,setFCoe:N,sCoe:C,setSCoe:b,navList:m,activeKey:h,setActiveKey:p,selectFontColor:l,selectBlcColor:o,selectBlcShow:t,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(ba,{}),e(xa,{})]})})})),wa=te((({childList:l,layout:o,picShadow:t})=>{const{View:i,Image:n}=s();return e(i,{className:"level3Arr",style:{gridTemplateColumns:`repeat(${o}, 1fr)`},children:l.map(((l,o)=>a(i,{className:"level3ArrItem",onClick:()=>ue("goodList",{classtreeCode:l.classtreeCode}),children:[e(n,{src:l.goodsClassLogo,className:"logo",style:{boxShadow:t?"#DDDDDD 0px 0px 10px":""}}),e(i,{className:"title",children:l.goodsClassName})]},o)))})})),va=te((({navList:l,activeKey:o,layout:t,picShadow:i})=>{var n;const[c,r]=ne(0);ce((()=>{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:Ie(l[c],"goodsClassLogo"),mode:"widthFix"}),null===(n=Ie(l[c],"childList"))||void 0===n?void 0:n.map(((l,o)=>a(m,{children:[e(m,{className:"level2Title",children:l.goodsClassName}),e(wa,{childList:l.childList,layout:t,picShadow:i})]},o)))]})})),{SideBar:Sa}=t,Ia=te((({selectFontColor:l,selectBlcShow:o,selectBlcColor:t,selectBlcStyle:i,layout:n,picShadow:c})=>{const{View:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(r,{className:"goodsClassifyTwo",children:e(ia,{id:"goodsClassifyTwo",children:a(r,{className:"goodsClassifyTwoWrap",style:{height:p?"100%":"667px"},children:[e(r,{className:"side",children:e(Sa,{activeKey:d,onChange:m,style:{"--width":"88px","--background-color":"#f5f5f5"},children:h.map((a=>e(Sa.Item,{title:a.goodsClassName,className:[o?"":"goodsClassifyTwoFloorNoBlc",1===i?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":l}},a.goodsClassCode)))})}),e(r,{className:"main",children:e(va,{navList:h,activeKey:d,layout:n,picShadow:c})})]})})})})),Aa=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],Ba=({setParams:l,activeColor:o})=>{const{View:t}=s(),[i,n]=ne(0),[c,r]=ne(Aa);return e(t,{className:"sortWrap",children:c.map((({order:s,sortField:c,name:d},m)=>a(t,{className:"sortItem "+(i===m?"active":""),onClick:()=>((e,a,o)=>{n(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(t,{className:"orderIcons",children:[e(da,{style:{color:i===m&&"desc"!==s?o:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(da,{style:{color:i===m&&"desc"===s?o:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},Va=te((({classtreeCode:l="",searchParam:o="",activeColor:t="#e54e29",goodsName:i=!0,goodsPrice:n=!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:b,Image:f,ScrollView:y}=s(),[x,k]=ne({}),{loading:w,getData:v,list:S}=g(l,o,x),I=ie((()=>xe("textBox",{btm:!n&&!c})),[n,c]),A=ie((()=>xe("name",{boxNone:!i})),[i]),B=ie((()=>xe("middle_margin",{boxNone:!r})),[r]),V=ie((()=>xe("goodDetail",{boxNone:!n&&!c&&!d})),[n,c,d]),T=ie((()=>xe({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(Ba,{setParams:k,activeColor:t})}),e(N,{className:"listWrap",style:{padding:` 0px ${u}px`},children:e(ia,{id:"listWrap",children:a(y,{onScroll:()=>v(x),children:[e(N,{className:"list",style:{gap:p},children:S.map((l=>a(N,{onClick:()=>ue("goodDetail",{skuCode:l.skuCode}),className:"listItem",style:{borderRadius:m?"8px":"",boxShadow:h?"4px 4px 4px #969292":""},children:[e(f,{src:l.dataPic,className:"img"}),a(N,{className:T,children:[e(b,{className:A,children:l.goodsName}),a(N,{className:B,children:["已售:",l.goodsNum]}),a(N,{className:V,children:[a(N,{className:I,children:[e(b,{className:"price",style:{display:n?"block":"none"},children:$e(l.pricesetNprice)})," ",e(N,{className:"decoration",style:{display:c?"block":"none"},children:$e(l.pricesetMakeprice)})]}),e(N,{style:{display:d?"block":"none"},children:e(da,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},l.skuCode)))}),w?e(C,{}):null]})})})]})})),Ta=ge(),Da=te((({placeholder:l,placeholderText:o,history:t,historyText:i,paddingBottom:n,paddingTop:c})=>{const{View:r,Text:d,Input:m}=s(),[h,p]=ne((()=>Ne("history")||[])),u=be((e=>Ke(void 0,void 0,void 0,(function*(){Ta&&(p((a=>{if(Ae(e.detail.value))return a;const l=a.concat(e.detail.value);return ye("history",l),l})),g(e.detail.value))})))),g=be((e=>{ue("goodList",{searchParam:e})}));return a(r,{className:"searchPage",style:{paddingTop:c,paddingBottom:n},children:[a(r,{className:"search-title",children:[e("img",{src:Fe,alt:""}),e(m,Object.assign({"confirm-type":"search",type:"text",className:"content",onConfirm:u},l?{placeholder:o}:{})),e(d,{className:"btn",onClick:()=>fe(),children:"取消"})]}),t?a(r,{className:"historyWrap",children:[a(r,{className:"title",children:[a(r,{className:"label",children:[e(r,{className:"icon"}),i]}),e(da,{onClick:()=>Ke(void 0,void 0,void 0,(function*(){(yield Ce()).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]})})),La=({starColor:l="#FF0934",starSize:o="12px",itemData:i})=>{const{View:n,Text:c,Image:r}=s(),{Rate:d}=t;return a(n,{className:"evaluateItem",children:[a(n,{className:"userInfo",children:[e(r,{src:i.avatar,className:"avatar"}),a(n,{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(n,{className:"size",children:["规格: ",i.size]}),e(n,{className:"content",children:i.evaluate}),e(n,{className:"img-group",children:i.imgUrls.map(((a,l)=>e(r,{src:a.imgUrl,className:"img"},l)))})]})},Pa=[{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"}]}],Ra=te((()=>{const[o,t]=ne("1"),{View:i}=s(),n=he([{label:"全部",num:"900+",index:"1"},{label:"好评",num:"800+",index:"2"},{label:"中评",num:"99+",index:"3"},{label:"差评",num:"12",index:"4"}]),c=e=>{t(e)};return a(l,{children:[e(i,{className:"evaluateListTab",children:n.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:Pa.map(((a,l)=>e(La,{itemData:a},l)))})]})})),za=({onChange:a,readOnly:l=!1,size:o=22,count:t})=>{const{View:i}=s(),[n,c]=ne([{icon:"star-fill"},{icon:"star"},{icon:"star"},{icon:"star"},{icon:"star"}]);ce((()=>{if(t){const e=[...n];for(let a=0;a<e.length;a++)e[a].icon=a>t-1?"star":"star-fill";c(e)}}),[]);const r=e=>{if(!l){for(let a=0;a<n.length;a++)n[a].icon=a>e?"star":"star-fill";c([...n]),a(e+1)}};return e(i,{children:n.map(((a,l)=>e(da,{onClick:r.bind(null,l),value:a.icon,style:{color:"#EC6C5C",fontSize:o}},l)))})},Oa=te((({code:l,borderRadius:o,borderColor:i,color:n,buttonColor:c,buttonBorderRadius:r,paddingTop:d,paddingBottom:m})=>{const{orderInfo:h,changeStar:p,Submit:u,changeContent:g}=N(l),{Button:C}=t,{View:b,Image:f,TextArea:y,Textarea:x}=s(),k=y||x,w=he("宝贝满足你吗?分享一下它吧");return a(b,{className:"evaluateDetail",style:{paddingTop:d,paddingBottom:m},children:[h.map(((l,s)=>a(pe,{children:[a(b,{className:"topInfo",children:[a(b,{className:"lPart",children:[e(f,{src:l.dataPic,className:"img",style:{borderRadius:1===o?"20px":"0px"}}),a(b,{className:"goodsInfo",children:[e(b,{className:"goodsName",children:l.goodsName}),e(b,{className:"goodsSize",children:l.skuName})]})]}),e(b,{className:"rPart",children:a(b,{className:"price",children:["¥ ",l.pricesetNprice]})})]}),a(b,{className:"rate",children:[e(b,{className:"title",children:"商品评价"}),e(za,{onChange:p.bind(null,s)})]}),e(b,{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:n,backgroundColor:c,borderRadius:1===r?"20px":"0px"},className:"btn",onClick:u,children:"提交"})]})})),Ma=({code:l,defaultValue:o})=>{const{info:t,detail:i,stateObj:n}=C(l),{View:c}=s(),r=Ie(t,"packageList[0].contractGoodsList[0].dataPic",o.dataPic),d=Ie(t,"packageList.length",o.count),m=Ie(t,"packageList[0].expressName",o.expressName),h=Ie(t,"packageList[0].packageBillno",o.packageBillno),p=Ie(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?n[p]:"暂时无法获取物流状态"]}),a(c,{className:"listItem",children:["快递公司:",m]}),a(c,{className:"listItem",children:["快递单号:",h]})]})]})},ja=({code:l,defaultValue:o})=>{const{detail:t}=C(l),{View:i}=s(),n=Ie(t,"message",o.message),c=Ie(t,"data",o.list);return e(i,{className:"expressInfoStep",children:"ok"===n?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:n})})},Fa=te((({code:l,defaultValue:o})=>{const{View:t}=s();return a(t,{className:"expressInfo",children:[e(Ma,{code:l,defaultValue:o}),e(ja,{code:l,defaultValue:o})]})})),Wa=[{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"}],Ga=te((()=>{const{View:a,Skeleton:o}=s(),t=he(new Array(5).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:t.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));Pe.forEach((e=>{const a=Le.filter((a=>a.code===e.cityCode))[0];a&&(a.children=a.children||[],a.children.push({label:e.name,value:e.code}))})),Le.forEach((e=>{const a=De.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 Ea=De.map((e=>({label:e.name,value:e.code+"0000",children:e.children}))),Ha=({form:l,handleArea:o})=>{const{View:i}=s(),{CascadePicker:n}=t,c=l.getFieldValue("area"),[r,d]=ne(!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<Ea.length;o++)if(Ea[o].value===e[0]){a.provinceName=Ea[o].label,l.pIndex=o;break}for(let o=0;o<Ea[l.pIndex].children.length;o++)if(Ea[l.pIndex].children[o].value===e[1]){a.cityName=Ea[l.pIndex].children[o].label,l.cIndex=o;break}for(let o=0;o<Ea[l.pIndex].children[l.cIndex].children.length;o++)if(Ea[l.pIndex].children[l.cIndex].children[o].value===e[2]){a.areaName=Ea[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(n,{onConfirm:e=>{o("h5",m(e))},options:Ea,visible:r,onClose:()=>d(!1)})]})},Ya=({checked:a,onChange:l})=>{const{View:o}=s(),{Switch:i}=t;return e(o,{children:e(i,{checked:a,onChange:l,style:{"--checked-color":"#000000","--height":"36px","--width":"60px"}})})},Ua=ge(),Qa=te((({addressId:a,btnShape:o,btnColor:i,borderColor:n,color:c,paddingTop:r,paddingBottom:d})=>{const{View:m,Switch:h}=s(),{Form:p,Button:u,Input:g}=t,N=process.env.TARO_ENV,{skullShow:C,form:f,area:y,defaultAddress:x,handleArea:k,handleDefaultAddress:w,handleFinish:v}=b(a,p,Ua);return e(m,{className:"addressDetail",style:{height:Ua?"100%":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:C?e(Ga,{}):e(p,{form:f,layout:"horizontal",mode:"card",onFinish:v,footer:e(u,{style:{color:c,backgroundColor:i,borderColor:n},shape:o,block:!0,type:"submit",size:"large",children:"提交"}),children:Wa.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(Ya,{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:Ua?"h5"===N?e(Ha,{form:f,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)))})})})),Ka=({dataObj:l})=>{const{View:o,Text:t}=s();return a(o,{className:"placeOrderResultWrap",children:[a(o,{className:"placeOrderResultItem",children:[e(t,{className:"label",children:"订单号:"}),e(t,{className:"value",children:l.contractBillcode})]}),a(o,{className:"placeOrderResultItem",children:[e(t,{className:"label",children:"支付方式:"}),e(t,{className:"value",children:"在线支付"})]}),a(o,{className:"placeOrderResultItem",children:[e(t,{className:"label",children:"支付金额:"}),e(t,{className:"value",children:$e(l.dataBmoney)})]})]})},qa=te((({code:l,borderRadius:o,leftColor:t,leftButtonColor:i,leftBorderColor:n,leftBorderRadius:c,rightValue:r,rightAddHref:d,rightColor:m,rightButtonColor:h,rightBorderColor:p,rightBorderRadius:u,paddingTop:g,paddingBottom:N})=>{const{View:C,Text:b,IconMobile:y,WrapLoading:x}=s(),{result:k,loading:w}=f(l||(Ne("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(b,{className:"title",children:k.msg}),e(b,{className:"tip",children:k.info})]}),"success"===k.sysRecode&&e(Ka,{dataObj:k.dataObj}),a(C,{className:"btnGroup",style:{marginTop:20},children:[e(C,{className:"btn black",onClick:()=>ue(k.menuCode,{contractBillcode:k.dataObj.contractBillcode}),style:{color:t,backgroundColor:i,border:`1px solid ${n}`,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:()=>ue(d.value),className:"btn white",children:r})]})]})})})}));te((()=>{const{View:a,Skeleton:o}=s(),t=he(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:t.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));const Za=()=>{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"})})},$a=({list:o,coe:t,config:i,backgroundColor:n,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[t.current].styleName}`,style:{backgroundColor:n,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[t.current].text?e(r,{className:"btn",children:i.current[t.current].text}):null,2===t.current?e(l,{children:e(r,{className:"round",children:"已失效"})}):null]})]})},s))):e(Za,{})})},Xa=te((({backgroundColor:l,color:o,paddingTop:t,paddingBottom:i,queue:n})=>{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(ia,{id:"couponTab",bottomHeight:"60",children:e(d,{onScroll:h,children:e(c,{className:"couponListContent",style:{paddingTop:t,paddingBottom:i},children:e($a,{backgroundColor:l,color:o,queue:n,list:g,coe:m,config:p})})})})]})})),Ja=({list:l,cartItemRadius:o})=>{const{View:t,Text:i,Image:n,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(t,{className:"cartItem",children:a(t,{className:"cartItem-box",style:{borderRadius:o},children:[e(t,{className:"checkBoxWrap",children:e(c,{checked:p.includes(l.shoppingGoodsId+""),value:l.shoppingGoodsId,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})}),e(n,{className:"img",src:l.dataPic,onClick:()=>ue("goodDetail",{skuCode:l.skuCode})}),a(t,{className:"cartItem-info",children:[e(i,{className:"cartItem-goodsName",children:l.goodsName}),a(t,{className:"cartItem-size",children:["规格:",l.skuName," X ",l.goodsCamount]}),a(t,{className:"cartItem-handleWrap",children:[e(i,{className:"price",children:$e(l.pricesetNprice)}),e(r,{count:l.goodsCamount,handleStep:g.bind(null,l.shoppingGoodsId,l.goodsCamount)})]})]})]})},s)))})})},_a=te((({url:l,title:o,subTitle:t,link:n,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:t}),n?a(r,{className:"link",onClick:()=>ue(n),children:["去看看",e(i,{value:"xiangyou1"})]}):null]})})})),el=ge(),al=({refreshNum:o,btnStyle:t,borderColor:i,textColor:n,btnColor:c,btnShape:r,cartItemRadius:d,countBorderColor:m,countTextColor:h,countBtnColor:p,countBtnShape:u})=>{const{View:g,SmoothView:N,Checkbox:C,SmoothCheckbox:b,ScrollView:f}=s(),[y,x]=ne(!0),{cartList:k,amount:w,selectAll:S,allCart:I,toOrderImpl:A,select:B,deleteCart:V,disMoney:T}=v(o),D=ie((()=>({border:t?`2px solid ${i}`:"",color:t?n:"",background:t?c:"",borderRadius:t?r:""})),[t,i,n,c,r]),L=ie((()=>({border:`1px solid ${m}`,color:h,background:p,borderRadius:u})),[m,h,p,u]);return e(g,{className:"cart",style:{height:el?"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(ia,{id:"editId",bottomHeight:"50",children:e(f,{children:e(Ja,{list:k,cartItemRadius:d})})}),a(g,{className:"cart-dashboard",children:[e(g,{className:"choose",children:e(b,{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:$e(T)})]}),a(g,{className:"all",children:["合计: ",e(N,{className:"data",children:$e(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(_a,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})},ll=te((a=>e(w,{children:e(al,Object.assign({},a))}))),ol=({dispatchPageStore:a,btnStyle:l,borderColor:o,textColor:t,btnColor:i,btnShape:n})=>{const{View:c}=s(),{isEditor:r,editorImpl:d}=S(a),m=ie((()=>({border:l?`2px solid ${o}`:"",color:l?t:"",background:l?i:"",borderRadius:l?n:""})),[l,o,t,i,n]);return e(c,{className:"cart-edit",children:e(c,{className:"btn",onClick:d,style:m,children:r?"完成":"编辑"})})},sl=te((({promotionName:l,checked:o,promotionCode:t})=>{const{View:i,Radio:n}=s();return a(i,{className:"promotion-item",children:[e(i,{className:"content",children:l}),e(i,{className:"choose",children:e(n,{checked:o,value:t})})]})})),tl=({onChange:a,promotionCode:l,visible:o,setVisible:t,promotion:i})=>{const{Popup:n,ScrollView:c,View:r,SmoothRadio:d}=s();return e(n,{popupVisible:o,popupHandler:t,children:e(r,{className:"goodsDetail-coupon-popup",children:e(ia,{children:e(c,{children:e(d,{onChange:a,children:i.map(((e,a)=>re(sl,Object.assign({checked:e.promotionCode===l},e,{key:a}))))})})})})})},il=te((({goodsName:o,skuName:t,goodsCamount:i,shoppingGoodsId:n,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:["规格:",t," X ",i]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:$e(c)}),e(h,{count:i,handleStep:r.bind(null,n,i)})]})]})})})),nl=te((({dataPic:a,skuCode:l})=>{const{Image:o}=s();return e(o,{className:"img",src:a,onClick:()=>ue("goodDetail",{skuCode:l})})})),cl=te((a=>{var{shoppingGoodsId:l}=a,o=Qe(a,["shoppingGoodsId"]);const{View:t,Checkbox:i}=s(),{select:n=[]}=o;return e(t,{className:"checkBoxWrap",children:e(i,{checked:n.includes(l+""),value:l,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),rl=({promotion:o=[],updatePm:t,shoppingGoodsId:i,promotionCode:n})=>{const{View:c}=s(),[r,d]=ne(!1),m=ie((()=>((o||[]).find((e=>e.promotionCode===n))||{}).promotionName),[o]);return a(l,{children:[a(c,{className:"cart-promote-active",onClick:()=>d(!0),children:[m,e(c,{children:"修改"})]}),e(tl,{promotionCode:n,onChange:e=>{d(!1),t(i,e.detail.value)},promotion:o||[],visible:r,setVisible:d})]})},dl=te((l=>{var{item:o}=l,t=Qe(l,["item"]);const{View:i}=s();return a(i,{className:"cart-list-item",children:[e(cl,Object.assign({},t,{shoppingGoodsId:o.shoppingGoodsId})),e(nl,{dataPic:o.dataPic,skuCode:o.skuCode}),e(il,Object.assign({},o,t))]})})),ml=o=>{var{shoppingGoodsList:s=[]}=o,t=Qe(o,["shoppingGoodsList"]);return e(l,{children:s.map(((l,o)=>a(pe,{children:[e(dl,Object.assign({},t,{item:l})),l.pmPromotionList?e(rl,{promotionCode:t.promotionCode,shoppingGoodsId:l.shoppingGoodsId,updatePm:t.updatePm,promotion:l.pmPromotionList}):null]},o)))})},hl=({disNextMsg:l,promotionName:o,pbName:t})=>{const{View:i,SmoothView:n}=s();return a(i,{className:"cart-dis-title",children:[e(n,{className:"tips",children:t}),e(n,{style:{padding:"0 10px"},children:o}),e(n,{children:l})]})},pl=({refreshNum:o,cartSelect:t,dispatchPageStore:i,cartUpdateCount:n=0,cartItemRadius:c="10px"})=>{const{SmoothCheckbox:r,WrapLoading:d,View:m}=s(),{loading:h,cartList:p,onChange:u,handleStep:g,updatePm:N}=I(o,n,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:n,shoppingGoodsList:r},d)=>a(pe,{children:[e("h4",{children:l}),a(m,{className:"cart-bg",style:{borderRadius:c},children:[i?e(hl,{disNextMsg:s,promotionName:i,pbName:n}):null,e(ml,{promotionCode:o,handleStep:g,select:t,updatePm:N,shoppingGoodsList:r,cartItemRadius:c})]})]},d)))}):e(_a,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},ul=({cartInfo:l=[],cartDisMoney:o=0,cartSelect:t=[],cartIsEditor:i=!1,dispatchPageStore:n,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:b,cartDetail:f}=A(t,l,n),y=ie((()=>({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:b,children:e(g,{checked:l.length===t.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:$e(o)})]}),a(h,{className:"all",children:["总计: ",e(p,{className:"data",children:$e(f.amount)})]})]}),a(h,{onClick:N,className:"btn",style:y,children:["结算(",f.num,")"]})]})]})},gl=te((({avatarStyle:l,paddingTop:o,paddingBottom:t,userAvatar:i,userNickname:n,refreshNum:c})=>{const{View:r,Text:d,IconMobile:m,Image:h}=s(),{servicePopup:p}=Ze(),[u,g]=ne(n),[N,C]=ne(i);return ce((()=>{g(Ne("userNickname")),C(Ne("userAvatar"))}),[c]),a(r,{className:"mineData",style:{paddingTop:`${o}px`,paddingBottom:`${t}px`},children:[a(r,{className:"topBoard",children:[e(m,{value:"bianzu",onClick:()=>ue("/account/setting/index")}),e(m,{value:"kehufuwukefu",onClick:p})]}),a(r,{className:"userSetting",onClick:()=>ue("/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"}})]})]})})),Nl=te((({title:l,columnList:o})=>{const{View:t,Text:i,Badge:n,Image:c}=s(),[r,d]=ne({});return ce((()=>{Ke(void 0,void 0,void 0,(function*(){try{const e=yield we();d(e.dataObj)}catch(e){}}))}),[]),a(t,{className:"mineOrderEntry",children:[a(t,{className:"title",children:[e(t,{className:"name",children:l}),e(t,{className:"more",onClick:()=>ue("orderlist"),children:"查看全部"})]}),e(t,{className:"content",children:o.map(((l,o)=>a(t,{onClick:()=>ue("orderlist",{indexId:o+1}),className:"contentItem",style:{display:l.show?"block":"none"},children:[e(n,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)))})]})})),Cl=te((({paddingTop:l,paddingBottom:o,columnList:t})=>{const{View:i,Text:n,IconMobile:c,Image:r}=s();return e(i,{className:"mineFunction",style:{paddingTop:l+"px",paddingBottom:o+"px"},children:t.map(((l,o)=>a(i,{className:"menuListItem",onClick:()=>ue(l.link.value),children:[a(i,{className:"lPart",children:[e(r,{src:l.imgUrl,className:"icon"}),e(n,{className:"label",children:l.link.label})]}),e(c,{value:"xiangyou1"})]},o)))})})),bl=({footprintItem:l,edit:o})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=s(),r=ie((()=>l.footprintOpnum?`${l.footprintOpnum}元`:""),[l.footprintOpnum]);return a(t,{className:"footprintItem",children:[o?e(t,{className:"lPart",children:e(n,{value:l.footprintCode})}):null,a(t,{className:"rPart",onClick:()=>ue("goodDetail",{skuCode:l.footprintOpcode}),children:[e(i,{src:l.footprintOppic,className:"img"}),a(t,{className:"info",children:[e(c,{className:"title",children:l.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},fl=({item:o,edit:t})=>{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(bl,{footprintItem:a,edit:t},l)))]})},yl=({footprintList:a,edit:o})=>{const s=ie((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?Se(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),l=Be(e,"gmtCreate");return Object.keys(l).map((e=>({title:e||"",option:l[e]})))}),[a]);return e(l,{children:s.map(((a,l)=>e(fl,{item:a,edit:o},l)))})},xl=te((()=>{const{View:l,ScrollView:o,SmoothCheckbox:t,Button:i,Image:n}=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(n,{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(ia,{id:"topBar1",children:a(o,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScroll:p,children:[e(t,{onChange:m,children:e(yl,{footprintList:c,edit:r})}),r?a(l,{className:"handleBar",children:[e(l,{className:"checkAll"}),e(i,{className:"btn",onClick:h,children:"删除"})]}):null]})})]})})})),kl=({item:l,edit:o,checked:t})=>{const{View:i,Image:n,Checkbox:c,SmoothView:r}=s();return a(i,{className:"collectItem",children:[o?e(c,{className:"lPart",value:l.collectCode,checked:t}):null,a(i,{className:"rPart",onClick:()=>ue("goodDetail",{skuCode:l.collectOpcode}),children:[e(n,{src:l.collectOppic,className:"img"}),a(i,{className:"info",children:[e(r,{className:"title",children:l.collectOpcont}),a(r,{className:"price",children:[l.collectOpnum," 元"]})]})]})]})},wl=te((()=>{const{collectionList:l,edit:o,setEdit:t,getData:i,getSelectItem:n,delItem:c,init:r,checked:d,handleSelectAll:m,selectAllChecked:h}=V(),{View:p,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:C,Image:b}=s();return e(p,{className:"collectList",children:0===l.length?e(p,{className:"noDate",children:e(b,{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:()=>t(!o),children:o?"完成":"编辑"})}),e(ia,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:i,onScrollToUpper:r,children:[e(g,{onChange:n,style:{height:"100%"},children:l.map((a=>e(kl,{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]})})]})})})),vl=te((({noticeId:l})=>{const{View:o,Image:t}=s(),{info:i}=T(l);return a(o,{className:"noticeDetailContainer",children:[e(o,{className:"title",children:i.noticeTitle}),i.noticePicurl?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl}):null,i.noticePicurl1?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl1}):null,i.noticePicurl2?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl2}):null,i.noticePicurl3?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl3}):null,e(o,{className:"content",children:i.noticeContext})]})})),Sl=te((({doclistId:l=2031})=>{const{info:o}=D(l),{View:t,ScrollView:i}=s(),{doclistContent:n,doclistTitle:c,doclistTitle4:r}=o;return e(t,{className:"articleDetail",children:e(ia,{id:"a",children:a(i,{children:[e(t,{className:"title",children:c}),e(t,{className:"author",children:r}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:n||""}})]})})})})),Il=({address:a})=>e(l,{children:Ae(a)?e(Bl,{}):e(Al,{address:a})}),Al=({address:l})=>{const{View:o,SmoothView:t,IconMobile:i}=s(),n=ie((()=>{const{provinceName:e,addressDefault:a,cityName:o,areaName:s,addressDetail:t,addressMember:i="",addressPhone:n=""}=l;return{addressDefault:"1"===a,addressMember:i,addressPhone:n,address:e+o+s+t}}),[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(t,{children:n.addressMember}),e(t,{className:"left-padding",children:n.addressPhone}),n.addressDefault?e(t,{className:"left-padding left-title-default",children:"默认"}):null]}),e(t,{className:"left-detail",children:n.address})]}),e(i,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},Bl=()=>{const{View:o,Text:t}=s();return a(l,{children:[a(o,{className:"group",children:[e(t,{className:"local"}),e(t,{className:"address",children:"选择收货地址"})]}),e(t,{className:"arrow"})]})},Vl=({refreshNum:a})=>{const{View:l}=s(),o=L(a);return e(l,{className:"placeOrder-chooseAddress",onClick:()=>ue("addressList"),children:e(Il,{address:o})})},Tl=te((({couponStart:l,pbName:o,discName:t,promotionCode:i,promotionName:n,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:t})]}),a(d,{className:"info",children:[e(m,{className:"title",children:n}),a(m,{className:"date",children:[Se(l).format("YYYY-MM-DD")," - ",Se(c).format("YYYY-MM-DD")]})]}),e(d,r?{className:"coupon-pick-default",children:"不能用"}:{className:"choose",children:e(h,{disabled:r,value:i})})]})})})),Dl=({refreshNum:o,goodsNum:t,skuId:i,shoppingGoodsId:n})=>{const{View:c,Text:r,Popup:d,SmoothRadio:m,ScrollView:h}=s(),{amount:p,shoppingGoodsList:u}=P({refreshNum:o,goodsNum:t,skuId:i,shoppingGoodsId:n}),{coupon:g,visible:N,setVisible:C,selectCoupon:b,onChange:f}=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:b?`已选择: ${b}`:0===g.length?"暂无可用优惠券":"请选择优惠券"}),0===g.length?null:e("img",{src:We,alt:"",className:"icon"})]})]}),e(d,{popupVisible:N,popupHandler:C,children:e(c,{className:"goodsDetail-coupon-popup",children:e(ia,{children:e(h,{children:e(m,{onChange:f,children:g.map(((e,a)=>re(Tl,Object.assign({disable:p<e.discAmount},e,{key:a}))))})})})})})]})},Ll=({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:"快递"})]})})},Pl=({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:t})=>{const{View:i}=s(),{list:n}=P({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:t});return e(i,{className:"place-order-goods",children:n.map(((a,l)=>e(Je,Object.assign({},a),l)))})},Rl=({refreshNum:o,goodsNum:t,skuId:i,shoppingGoodsId:n})=>{const{SmoothView:c,View:r}=s(),{payState:d,amount:m,disCount:h}=P({refreshNum:o,goodsNum:t,skuId:i,shoppingGoodsId:n}),{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:$e(p)})]}),a(r,{className:"coupon placeOrder-blcItem",children:[e(r,{className:"label",children:"优惠金额"}),e(c,{className:"value",children:$e(g+h)})]}),a(r,{className:"express placeOrder-blcItem",children:[e(r,{className:"label",children:"运费"}),e(c,{className:"value",children:$e(u)})]}),a(r,{className:"all placeOrder-blcItem",children:[e(r,{className:"label",children:"总计"}),e(c,{className:"value",style:{color:"#000"},children:$e(m-h)})]})]})})},zl=({color:l,buttonColor:o,borderColor:t,borderRadius:i,refreshNum:n,goodsNum:c,skuId:r,shoppingGoodsId:d})=>{const{View:m,Text:h,WrapLoading:p}=s(),{amount:u,list:g,disCount:N,payState:C,orderStoreInfo:b,ocContractSettlList:f}=P({refreshNum:n,goodsNum:c,skuId:r,shoppingGoodsId:d}),{savePayPrice:y,loading:x}=O({ocContractSettlList:f,payState:C,list:g},r,c,b,d);return a(m,{className:"placeOrderFooter",children:[a(h,{className:"price",children:["合计: ",$e(u-N)]}),e(p,{loading:x,children:e(m,{className:"btn",onClick:y,style:{color:`${l}`,border:`1px solid ${t}`,backgroundColor:`${o}`,borderRadius:1===i?"40px":"0px"},children:"生成订单"})})]})},Ol=ge(),Ml=te((({position:a=10,bg:l,color:o,fontSize:t})=>{const{View:i}=s(),{goTop:n}=M();return e(i,{className:"backTop",onClick:n,style:{padding:Ol?"0":"10px"},children:e(da,{style:{display:"inline-block",color:o,fontSize:t,backgroundColor:l,position:Ol?"fixed":"relative",right:Ol?"20px":"0",bottom:Ol?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),jl=({TextLineBgColor:l,text:o,contentSize:t,lineStyle:i,fontSize:n,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===t?"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:`${n}px`,color:r},children:o})]})},Fl=te((({borderStyle:a,borderRadius:l,height:o,width:t,backgroundColor:i,paddingTop:n,paddingBottom:c})=>{const{View:r}=s();return e(r,{style:{paddingTop:n,paddingBottom:c},children:e(r,{style:{borderRadius:l+"%",borderStyle:a,width:t+"%",height:o+"px",backgroundColor:i,marginLeft:"auto",marginRight:"auto"}})})})),Wl=te((({defaultValue:l,borderRadius:o,paddingTop:t,paddingBottom:i,selectClassifyNav:n})=>{const{View:r,Text:d}=s(),m=c(l,n);return e(r,{style:{paddingTop:t,paddingBottom:i},children:e(r,{className:"classifyNav",children:m.map(((l,s)=>a(r,{className:"classifyNavItem",onClick:()=>{var e,a;return ue(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)))})})})),Gl=({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:t,navBgColor:i,navBoxShadow:n,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 ${t}`,backgroundColor:i,boxShadow:n?"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 ue(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)))})},El=te(Gl),Hl=te((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:t,navBgColor:i,navBoxShadow:n,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:p,marginTop:u,marginBottom:g})=>{const{View:N}=s(),C=c(a,l),b=ie((()=>xe("classifyNav-two-item-title",...h)),[h]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${p}, 1fr)`,border:`1px solid ${t}`,borderRadius:o,backgroundColor:i,boxShadow:n?"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 ue(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:b,style:{fontSize:r,color:d},children:a.title})},l)))})})),Yl=te((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:t,navBgColor:i,navBoxShadow:n,imgRadius:r,imgBoxShadow:d,fontSize:m,fontColor:h,tagBgColor:p,otherStyle:u,layout:g,marginTop:N,marginBottom:C})=>{const{View:b}=s(),f=c(a,l);return e(b,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${g}, 1fr)`,border:`1px solid ${t}`,borderRadius:o,backgroundColor:i,boxShadow:n?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:C},children:f.map(((a,l)=>e(b,{className:"classifyNav-three-item",onClick:()=>{var e,l;return ue(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(b,{className:"classifyNav-three-item-tag",style:{backgroundColor:p},children:e(b,{className:["classifyNav-three-item-txt",...u].join(" "),style:{fontSize:m,color:h},children:a.title})})},l)))})})),Ul=te((({defaultValue:l=[],classCode:o="",margin:t,circular:i=!1,cell:n,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:b=!0,goodsBorder:f=!0,goodsShadow:y=!1,marginGap:x=10})=>{const[k,w]=ne(l),v=he(),{View:S,Text:I}=s();return ce((()=>{Ve(v.current,d)||(v.current=d,Ae(d)?w(l):Ke(void 0,void 0,void 0,(function*(){try{const e=yield ve({goodsCode:d.toString(),distinctField:"goodsNo"}),a=Ie(e,"list",[]);w(a)}catch(e){w(l)}})))}),[d]),e(S,{style:{paddingTop:h,paddingBottom:p},children:e(S,{className:xe({[`goods-${o}`]:!0}),style:{display:"grid",gap:x,marginBottom:t,gridTemplateColumns:`repeat(${n}, 1fr)`,paddingLeft:u,paddingRight:g},children:k.map(((l,o)=>a(S,{style:{overflow:"hidden",borderRadius:i?"8px":"0px",border:f?"1px solid #000000":""},onClick:()=>ue("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?$e(l.pricesetNprice):"",1===m&&e(I,{className:"markedPrice",children:$e(l.pricesetMakeprice)})]}),e(S,{className:"anticon",style:{display:b?"block":"none"},children:e(da,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},o)))})})})),Ql=te((({defaultValue:l,goods:o,price:t,marketPrice:i,cart:n,wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:p,goodsGap:u,marginTop:g,marginBottom:N,marginLeft:C,marginRight:b})=>{const{View:f}=s(),{list:y}=j({defaultValue:l,goods:o});return e(f,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N,marginLeft:C,marginRight:b},children:y.map(((l,o)=>a(f,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:p,marginRight:`${u}px`},onClick:()=>ue("goodDetail",{skuCode:l.skuCode}),children:[e(f,{className:"img",style:{backgroundImage:`url(${l.dataPic})`}}),a(f,{className:"board",children:[e(f,{className:"title",children:l.goodsName}),a(f,{className:"info",children:[a(f,{className:"lPart",children:[t?e(f,{className:"price",children:$e(l.pricesetNprice)}):null,i?e(f,{className:"marketPrice",children:$e(l.pricesetMakeprice)}):null]}),n?e(f,{className:"rPart",children:e(da,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},o)))})})),Kl=ge(),ql=te((({defaultValue:l,goods:o,GoodsSlideshowBg:t,marketPrice:i,goodsName:n,salesNum:c,price:r,goodsRadius:d,goodsBorder:m,goodsShadow:h,btnText:p,btnBg:u,btnColor:g,btnRadius:N})=>{const{list:C}=j({defaultValue:l,goods:o}),{SmoothSwiper:b,View:f,Image:y}=s(),[x,k]=ne(0);return a(f,{className:"goodsSlideshow",children:[e(y,{src:t,className:"bg",mode:"widthFix"}),e(b,{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(f,{className:["goodsSlideshowItem",""+(l.goodsCode===C[x].goodsCode&&Kl?"active":"")].join(" "),style:{borderRadius:d,borderStyle:m?"solid":"none",boxShadow:h?"0px 0px 20px 10px #ddd":""},onClick:()=>ue("goodDetail",{skuCode:l.skuCode}),children:[e(y,{className:"logo",src:l.dataPic,mode:"widthFix"}),n?e(f,{className:"goodsName",children:l.goodsShowname}):null,c?a(f,{className:"salesNum",children:["销量:",l.goodsSalesvolume]}):null,r?e(f,{className:"price",children:$e(l.pricesetNprice)}):null,i?e(f,{className:"marketPrice",children:$e(l.pricesetMakeprice)}):null,e(f,{className:"btn",style:{backgroundColor:u,color:g,borderRadius:N},children:p})]})})]})})),Zl=({skuCode:a,autoplay:l,vertical:o})=>{const{rsGoodsFileDomainList:s=[]}=F(a),t=W(s);return e(Ye,{selectImg:t,type:1,autoplay:l,vertical:o,imgHeight:{height:375,width:375}})},$l=l=>{const{SmoothView:o,View:t}=s(),{handleCollect:i,collection:n}=G(l);return a(t,{onClick:i,children:[Ae(n.dataObj)?e(da,{value:"star-fill",style:{fontSize:20}}):e(da,{value:"star-fill",style:{color:"red",fontSize:20}}),e(o,{className:"txt",children:Ae(n.dataObj)?"收藏":"已收藏"})]})},Xl=({skuCode:l,priceShow:o,collectionShow:t})=>{const{View:i,SmoothView:n}=s(),{rsSkuDomainList:c}=F(l),{goodInfo:r}=E(c);return H(l),a(i,{className:"goodsDetail-topInfo",children:[a(i,{className:"lPart",children:[e(n,{className:"name",children:r.goodsName}),e(n,{className:"price",style:{display:o?"block":"none"},children:$e(r.pricesetNprice)})]}),e(i,{className:"rPart",style:{display:t?"flex":"none"},children:e($l,{goodsName:r.goodsName,pricesetNprice:r.pricesetNprice,dataPic:r.dataPic,skuCode:l})})]})},Jl=te((l=>{const{collectionShow:o,shareShow:t}=l,{View:i}=s(),{handleCollect:n,collection:c}=G(l),{handleShare:r}=Y();return a(i,{className:"handleBar",children:[o?e(i,{className:"collection",onClick:n,style:{borderRight:t?"1px solid #ddd":"none"},children:Ae(c.dataObj)?"收藏":"已收藏"}):null,t?e(i,{className:"share",onClick:r,children:"分享"}):null]})})),_l=te((({skuCode:l,priceShow:o,collectionShow:t,shareShow:i})=>{const{View:n,SmoothView:c}=s(),{rsSkuDomainList:r}=F(l),{goodInfo:d}=E(r);return H(l),a(n,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:o?"block":"none"},children:$e(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(Jl,{collectionShow:t,shareShow:i,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:d.dataPic,skuCode:l})]})})),eo=()=>{const{Text:e}=s(),l=Q((e=>e.count)),o=Q((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",l," 规格: ",o.toString()]})},ao=({dispatchPageStore:o})=>{const{View:t,Text:i}=s(),{openPopup:n}=U(o);return e(l,{children:a(t,{className:"goodsDetail-size",onClick:n,children:[e(i,{className:"label",children:"规格"}),a(t,{className:"info",children:[e(eo,{}),e("img",{src:We,alt:"",className:"icon"})]})]})})},lo=({skuCode:l})=>{const{View:o,Text:t}=s(),{rsSkuDomainList:i}=F(l),{goodInfo:n}=E(i),c=K(i,n.skuCode||l);return a(o,{className:"goodsDetail-promotion",children:[e(t,{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:"暂无促销活动"})})]})},oo=te((({promotionBegintime:l,pbName:o,discName:t,promotionCode:i,promotionName:n,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=s(),{save:p,isPick:u}=q(),g=ie((()=>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:t})]}),a(m,{className:"info",children:[e(h,{className:"title",children:n}),a(h,{className:"date",children:[Se(l).format("YYYY-MM-DD")," - ",Se(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:"已领完"})]})})})),so=()=>{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"})})},to=({skuCode:o})=>{const{View:t,Text:i,Popup:n}=s(),{rsSkuDomainList:c}=F(o),{goodInfo:r}=E(c),{coupon:d,visible:m,setVisible:h}=Z(c,r.skuCode||o);return a(l,{children:[a(t,{className:"goodsDetail-coupon",onClick:()=>h(!0),children:[e(i,{className:"label",children:"优惠券"}),a(t,{className:"info",children:[e(i,{className:"label",children:"请选择优惠券"}),e("img",{src:We,alt:"",className:"icon"})]})]}),e(n,{popupVisible:m,popupHandler:h,children:e(t,{className:"goodsDetail-coupon-popup",children:e(ia,{children:d.length>0?d.map(((e,a)=>re(oo,Object.assign({},e,{key:a})))):a(t,{className:"NoDataImg",children:[e(so,{}),e(t,{className:"btn",onClick:()=>h(!1),children:"确定"})]})})})})]})},io=({item:l})=>{const{View:o,Image:t}=s();return a(o,{className:"rateItem",children:[a(o,{className:"topInfo",children:[a(o,{className:"lPart",children:[e(t,{src:l.userImgurl,className:"avatar"}),a(o,{className:"userInfo",children:[e(o,{className:"name",children:l.userName}),e(za,{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})]})},no=({evaluateArr:l})=>{const{View:o}=s(),t=he(l);return e(o,{className:"goodsDetailEvaluate",children:t.current.length?a(o,{children:[a(o,{className:"topInfo",children:["评价 (",t.current.length,")"]}),t.current.slice(0,5).map(((a,l)=>e(io,{item:a},l)))]}):e(_a,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},co=({goodsRemark:a})=>{const{View:l}=s(),o=ie((()=>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||""}})})},ro=({tabActive:o,setTabActive:t,evaluateShow:i,evaluateImgShow:n,evaluateImg:c})=>{const{Text:r}=s(),d=ie((()=>n?[{title:"商品详情",id:"1"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[i]);return e(l,{children:d.map(((l,s)=>e(pe,{children:a(r,{className:"tabsItem "+(o===s?"active":""),onClick:()=>t(s),children:[l.title,e(r,{className:"line"})]})},s)))})},mo=({skuCode:l,evaluateShow:o,evaluateImgShow:t,evaluateImg:i})=>{const{View:n}=s(),[c,r]=ne(0),{goodsRemark:d,goodsCode:m}=F(l),h=$(m);return a(n,{className:"goodsDetailTab",children:[e(n,{className:"tabs",children:e(ro,{tabActive:c,setTabActive:r,evaluateShow:o,evaluateImgShow:t,evaluateImg:i})}),e(n,{className:"group",children:0===c?e(co,{goodsRemark:d}):e(no,{evaluateArr:h,evaluateImgShow:t,evaluateImg:i})})]})},ho=({skuName:l,handleChooseSize:o,spec:t,skuOption:i,index:n})=>{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 "+(t[n]===a.specValueValue?"active":""),onClick:o.bind(null,a.specValueValue,n),children:a.specValueValue},l)))})]})},po=te((({handleStep:l})=>{const{View:o,NumStep:t}=s(),i=Q((e=>e.count));return a(o,{className:"countWrap",children:[e(o,{className:"label",children:"购买数量"}),e(t,{count:i,handleStep:l})]})})),uo=({skuInfo:o,handleChooseSize:t,spec:i,goodInfo:n})=>{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:n.dataPic,alt:"",className:"goodsImg"})}),a(r,{className:"rPart",children:[e(r,{className:"name",children:n.goodsName}),e(r,{className:"price",children:$e(n.pricesetNprice)}),a(r,{className:"chosen",children:["已选择: ",i.toString()]})]})]}),d.map(((a,l)=>e(ho,{spec:i,handleChooseSize:t,index:l,skuName:a.skuName,skuOption:a.skuOption},l)))]})},go=({cashImpl:o,addShoppingImpl:t,addCardImpl:i})=>{const{Text:n,View:c}=s(),r=Q((e=>e.isNeedButton));return e(l,{children:r?e(c,{className:"btnWrap",onClick:t,children:e(n,{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:"立即购买"})]})})},No=te((({dispatchPageStore:l,goodsCode:o,skuInfo:t,rsSkuDomainList:i})=>{const{View:n}=s(),{spec:c,goodInfo:r}=E(i),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:p,addShoppingImpl:u}=X(o,t,l);return a(n,{className:"goodsDetail-size-popup",children:[a(n,{className:"content",children:[e(uo,{skuInfo:t,handleChooseSize:d,spec:c,goodInfo:r}),e(po,{handleStep:m.bind(null,r.goodsNum)})]}),e(go,{cashImpl:p,addShoppingImpl:u,addCardImpl:h})]})})),Co=({popupVisible:a,dispatchPageStore:l,goodsCode:o,skuInfo:t,rsSkuDomainList:i})=>{const{Popup:n}=s();return e(n,{popupVisible:a,popupHandler:()=>{l((e=>Object.assign(Object.assign({},e),{popupVisible:!1})))},children:e(No,{dispatchPageStore:l,goodsCode:o,skuInfo:t,rsSkuDomainList:i})})},bo=({skuCode:o,serverShow:t,cartShow:i,lPartColor:n,lPartBgColor:c,lPartStyle:r,rPartColor:d,rPartBgColor:m,rPartStyle:h,popupVisible:p=!1,dispatchPageStore:u=Te})=>{const{Text:g,View:N,IconMobile:C}=s(),{rsSpecValueDomainList:b,goodsCode:f,rsSkuDomainList:y}=F(o),x=J(b),{servicePopup:k}=Ze(),{addCardPopup:w,buyOpenPopup:v}=U(u);return a(l,{children:[a(N,{className:"goodsDetailHandleBar",children:[a(N,{className:"linkGroup server",onClick:k,style:{display:t?"block":"none"},children:[e(C,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(g,{className:"txt",children:"客服"})]}),a(N,{className:"linkGroup cart",onClick:()=>ue("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:n,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(Co,{dispatchPageStore:u,popupVisible:p,goodsCode:f,rsSkuDomainList:y,skuInfo:x})]})},fo=({skuCode:o,serverShow:t,cartShow:i,lBtnBorderColor:n,lBtnFontColor:c,lBtnColor:r,lBtnStyle:d,rBtnBorderColor:m,rBtnFontColor:h,rBtnColor:p,rBtnStyle:u,popupVisible:g=!1,dispatchPageStore:N=Te})=>{const{Text:C,View:b,IconMobile:f}=s(),{rsSpecValueDomainList:y,goodsCode:x,rsSkuDomainList:k}=F(o),w=J(y),{servicePopup:v}=Ze(),{addCardPopup:S,buyOpenPopup:I}=U(N);return a(l,{children:[a(b,{className:"goodsDetailHandleBarOne",children:[a(b,{className:"linkGroup server",onClick:v,style:{display:t?"block":"none"},children:[e(f,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"客服"})]}),a(b,{className:"linkGroup cart",onClick:()=>ue("shopping"),style:{display:i?"block":"none"},children:[e(f,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"购物车"})]}),a(b,{className:"goods-detail-one-btn-group",children:[e(b,{className:"btn addCart",onClick:S,style:{border:`1px solid ${n}`,color:c,backgroundColor:r,borderRadius:1===d?"20px":"0"},children:"加入购物车"}),e(b,{onClick:I,className:"btn buy",style:{border:`1px solid ${m}`,color:h,backgroundColor:p,borderRadius:1===u?"20px":"0"},children:"立即购买"})]})]}),e(Co,{dispatchPageStore:N,popupVisible:g,goodsCode:x,rsSkuDomainList:k,skuInfo:w})]})},yo=te((({defaultValue:l,coupons:o,bg:t,borderColor:i,btnColor:n,typeColor:c,titleColor:r,ruleColor:d,timeColor:m,paddingTop:h,paddingBottom:p})=>{const{View:u}=s(),{list:g,takeCoupon:N,takeList:C}=_({defaultValue:l,coupons:o});return e(u,{style:{paddingTop:`${h}px`,paddingBottom:`${p}px`},children:g.map(((l,o)=>{const s=Ie(l,"pbName"),h=Ie(l,"pmPromotionDiscountList"),p=Ie(h.at(-1),"discName"),g=Ie(l,"promotionName"),b=Se(Ie(l,"promotionBegintime")).format("YYYY-MM-DD"),f=Se(Ie(l,"promotionEndtime")).format("YYYY-MM-DD"),y=Ie(l,"promotionCode");return a(u,{className:"OneLineOneBlc",style:{backgroundColor:t,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:[b," - ",f]})]})]}),e(u,{className:"rPart",style:{backgroundColor:n},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)}))})})),xo=te((({defaultValue:l,coupons:o,bg:t,borderColor:i,btnColor:n,typeColor:c,ruleColor:r,titleColor:d,timeColor:m,gap:h,paddingTop:p,paddingBottom:u})=>{const{View:g}=s(),{list:N,takeCoupon:C,takeList:b}=_({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=Ie(l,"pbName"),h=Ie(l,"pmPromotionDiscountList"),p=Ie(h.at(-1),"discName"),u=Ie(l,"promotionName"),N=Se(Ie(l,"promotionBegintime")).format("YYYY-MM-DD"),f=Se(Ie(l,"promotionEndtime")).format("YYYY-MM-DD"),y=Ie(l,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:t,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," - ",f]})]}),e(g,{className:"rPart",style:{backgroundColor:n},children:-1===l.availabledate||b.includes(o)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>C({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),ko=te((l=>{var{type:o=1,coupons:t=[]}=l,i=Qe(l,["type","coupons"]);const{View:n}=s();return a(n,{className:"getCouponOne",children:[1===o?e(yo,Object.assign({coupons:t},i)):null,2===o?e(xo,Object.assign({coupons:t},i)):null]})})),wo=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],vo=te((({activeColor:a,setParams:l,params:o})=>{const{View:t}=s();return e(t,{className:"promotionListTab",children:wo.map(((s,i)=>e(t,{className:"promotionListTabItem",onClick:()=>l(s.val),style:{color:s.val===o?a:"#000"},children:s.label},i)))})})),So=({data:l})=>{const{View:o}=s(),{pbName:t,promotionName:i,pmPromotionDiscountList:n,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:["官方",t]})}),e(o,{className:"rule",children:n.at(-1).discName}),e(o,{className:"title",children:i}),a(o,{className:"time",children:[Se(c).format("YYYY-MM-DD")," ~ ",Se(r).format("YYYY-MM-DD")]})]}),e(o,{className:"rPart",children:e(o,{className:"sideBorder"})})]})},Io=te((({activeColor:l,paddingTop:o,paddingBottom:t})=>{const[i,n]=ne(wo[0].val),{list:c,getData:r}=ee({params:i}),{View:d,ScrollView:m}=s();return a(d,{style:{padding:`${o}px 0 ${t}px`},children:[e(vo,{activeColor:l,setParams:n,params:i}),e(d,{children:e(ia,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,l)=>e(So,{data:a},l)))})})})]})})),Ao=te((()=>e(l,{children:"123"}))),Bo=({setDefault:a,checked:l})=>{const{SmoothCheckbox:o,Checkbox:t}=s();return e(o,{onChange:a,children:e(t,{checked:l,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},Vo=({itemData:l,delAddress:o,setDefault:t})=>{const{View:i,Text:n}=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(n,{className:"address",children:[l.provinceName," ",l.areaName," ",l.cityName," ",l.addressDetail]})})]}),a(i,{className:"downInfo",children:[e(Bo,{checked:"1"===(null==l?void 0:l.addressDefault),setDefault:t}),e(n,{className:"del",onClick:o,children:"删除"})]})]})},To=te((()=>{const{View:a,Skeleton:o}=s(),t=he(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:t.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})})),Do=te((({refreshNum:a,btnShape:l,btnColor:o,borderColor:t,paddingBottom:i,paddingTop:n,color:c})=>{const{View:r}=s(),{list:d,delAddress:m,setDefault:h,skullShow:p}=le(a);return e(r,{className:"addressListWrap",style:{paddingTop:n+"px",marginBottom:i+"px"},children:p?e(To,{}):e(r,{className:"addressList",children:d.length?d.map(((a,l)=>e(Vo,{itemData:a,setDefault:h.bind(null,a,l),delAddress:m.bind(null,a)},null==a?void 0:a.addressId))):e(_a,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),Lo=te((({borderColor:a,color:l,btnColor:o,btnShape:t,paddingTop:i,paddingBottom:n})=>{const{View:c}=s();return e(c,{className:"addressListBtnWrap",style:{paddingTop:`${i}px`,paddingBottom:`${n}px`},children:e(c,{style:{borderRadius:t,borderColor:a,color:l,backgroundColor:o},className:"addressListBtn",onClick:()=>ue("addressEditor"),children:"+ 新增地址"})})})),Po=ge(),Ro=te((({contractBillcode:l,contractBbillcode:o,btnColor:t,btnShape:i,borderColor:n,paddingTop:c,paddingBottom:r,color:d})=>{const{View:m,Text:h,Radio:p,IconMobile:u,WrapLoading:g,SmoothRadio:N}=s(),{paymentImpl:C,channelList:b,contract:f,handleRadio:y,loading:x}=oe({contractBillcode:l,contractBbillcode:o});return a(m,{className:"paymentModeWrap",style:{height:Po?"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:["订单号:",f.current.contractBillcode," | 总金额:",$e(f.current.dataBmoney),"元"]})]}),e(m,{className:"paymentGroup",children:e(N,{onChange:y,children:null==b?void 0:b.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:t,color:d,borderColor:n},className:"payment",children:"立即支付"})})})]})})),zo=te((({title:l})=>{const{View:o}=s();return a(o,{className:"refundOptionStyle",children:[l,a(o,{className:"optionItem",onClick:()=>{ue("refundOnly",{})},children:[e(o,{className:"refund_icon",children:e(da,{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(da,{value:"xiangyou1",style:{fontSize:16}})})]}),a(o,{className:"optionItem",children:[e(o,{className:"refund_icon",children:e(da,{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(da,{value:"xiangyou1",style:{fontSize:16}})})]}),a(o,{className:"optionItem",children:[e(o,{className:"refund_icon",children:e(da,{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(da,{value:"xiangyou1",style:{fontSize:16}})})]})]})})),Oo=te((({value:l,getAmountNum:o,goodsCamount:t})=>{const{View:i}=s(),n=ge();return a(i,{className:"count_btn_style",children:[e(i,{className:"btn_left",onClick:()=>{if(l<=1){if(n){Ce().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>=t){if(n){Ce().showToast({title:"退货数量最多不得超出购买该商品总数量!",icon:"none",mask:!0})}}else o(l+1)},children:"+"})]})})),Mo=te((({title:l,dataPic:o,goodsName:t,goodsCamount:i=2,price:n})=>{const[c,r]=ne(!0),[d,m]=ne(i),{View:h,Image:p}=s();console.log("当前退货数量为",d);const u=ie((()=>xe("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(da,{value:"bangzhu",style:{fontSize:15}})}),e(Oo,{value:d,getAmountNum:e=>{m(e)},goodsCamount:i})]}):`x${i}`]})]}),e(h,{className:"help_btn",style:{display:c?"block":"none"},children:"如部分商品售后成功,剩余商品将不能申请售后"})]})]})})),jo=te((l=>{console.log("退款类型",l);const{View:o}=s();return a(o,{className:"refundPage",children:[e(o,{className:"goodsMsg",children:e(Mo,Object.assign({title:"退款商品"},l))}),e(o,{className:"refundOption",children:e(zo,{title:"选择售后类型"})})]})})),Fo=te((()=>{const[l,o]=ne(!1),[t,i]=ne(980),{View:n,Input:c,Popup:r}=s();return a(n,{className:"refundMsgPage",children:[a(n,{className:"refundItem",onClick:()=>{o(!0)},children:[a(n,{className:"refundMsg",children:[a(n,{className:"inputText",children:[e(n,{className:"icon",children:"*"}),e(n,{className:"text",children:"退款原因"})]}),a(n,{className:"optionText",children:[e(n,{className:"text1",children:"请选择"}),e(n,{className:"icon",children:">"})]})]}),e(n,{className:"refundTip",children:"请选择退款原因!退款原因不能为空!"})]}),a(n,{className:"refundItem",children:[a(n,{className:"refundMsg",children:[a(n,{className:"inputText",children:[e(n,{className:"icon",children:"*"}),e(n,{className:"text",children:"退款金额"})]}),a(n,{className:"optionText",children:[e(n,{className:"text",children:a(n,{className:"textInp",children:["¥",e(c,{className:"inputText",disabled:!1,value:Xe(t),onBlur:e=>{i(e.detail.value)}})]})}),e(n,{className:"icon1",children:a(n,{className:"iconContent",children:[e(da,{value:"bianjishuru",style:{fontSize:12,color:"#000000"}}),e(n,{className:"updatebtn",children:"修改"})]})})]})]}),e(n,{className:"refundTip1",children:"可修改,最多¥980.00,含运费¥0.00"})]}),e(r,{popupVisible:l,popupHandler:o,children:e(n,{className:"goodsDetail-coupon-popup",children:e(ia,{children:"123213"})})})]})})),Wo=te((()=>{const{View:l}=s();return a(l,{className:"refundOnlyPage",children:[e(l,{className:"refundTip",children:"请与商家协商,确认达成一致后填写协商好的退款金额"}),e(l,{className:"refundMsg_style",children:e(Fo,{})})]})})),Go=te((()=>{const{View:l,Image:o,NumStep:t}=s(),{typeTip:i,setTypeTip:n,goodsNum:c,handleStep:r,goodsInfo:d}=se(),{goodsName:m,skuName:h,dataPic:p,pricesetNprice:u}=d;return console.log(12,d,m),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:$e(u)})]}),a(l,{className:"advance",children:[e(l,{className:"size",children:h}),a(l,{className:"stepWrap",children:[e(da,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>n((e=>!e))}),e(t,{count:c,handleStep:r})]})]}),i?e(l,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),Eo={1:[{label:"仅退款(无需退货)"},{label:"退货退款"}],2:[{label:"仅退款(无需退货)"}],3:[{label:"仅退款(无需退货)"},{label:"退货退款"}],4:[{label:"仅退款(无需退货)"},{label:"退货退款"}]},Ho=(e=-2)=>(console.log(23,e),Eo[e]),Yo=te((({afterSalesType:l})=>{const{View:o}=s();return e(o,{children:a(o,{className:"afterSalesTypeType",children:[e(o,{className:"title",children:"售后类型"}),Ho(l).map(((l,s)=>a(o,{className:"item",children:[e(o,{className:"headline",children:l.label}),e(da,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},s)))]})})})),Uo=()=>{const{View:l}=s();return a(l,{className:"afterSalesType",children:[e(Go,{}),e(Yo,{afterSalesType:2})]})};export{Qa as AddressDetail,Do as AddressList,Lo as AddressListBtn,Uo as AfterSalesType,Ao as AllCouponList,Io as AllPromotionList,Sl as ArticleDetail,Ml as BackTop,ll as Cart,pl as CartList,ul as CartOperate,ol as CartTop,Wl as ClassifyNav,El as ClassifyNavOne,Gl as ClassifyNavOneJsx,Yl as ClassifyNavThree,Hl as ClassifyNavTwo,wl as CollectionList,Xa as CouponList,Oe as Cube,Oa as EvaluateDetail,Ra as EvaluateList,Fa as ExpressInfo,xl as FootPrint,ko as GetCouponOne,Ul as Goods,Na as GoodsClassify,ka as GoodsClassifyOne,Ia as GoodsClassifyTwo,mo as GoodsDetailAndEvaluate,Zl as GoodsDetailBanner,to as GoodsDetailCoupon,bo as GoodsDetailHandleBar,fo as GoodsDetailHandleBarOne,Xl as GoodsDetailInfo,_l as GoodsDetailInfoOne,lo as GoodsDetailPromotion,ao as GoodsDetailSku,Va as GoodsList,Ql as GoodsSlider,ql as GoodsSlideshow,Fl as Line,gl as MineData,Cl as MineFunction,Nl as MineOrderEntry,Re as Notice,vl as NoticeDetail,pa as OrderDetail,ra as OrderList,Ro as PaymentMode,Vl as PlaceOrderAddress,Dl as PlaceOrderCoupon,Ll as PlaceOrderDelivery,Pl as PlaceOrderGood,Rl as PlaceOrderInfo,zl as PlaceOrderOperate,qa as PlaceOrderResult,da as QjMobileIcon,jo as RefundAfter,Wo as RefundOnly,Ge as Search,Da as SearchPage,Ee as SearchStyleTwo,je as Service,Ue as Slider,jl as TextLine,ze as Title,Me as Video};
|
|
1
|
+
import{jsx as e,jsxs as a,Fragment as o}from"react/jsx-runtime";import{NoticeBar as l,useComponent as s,antdMobile as t,IconMobile as i}from"@brushes/simulate-component";import{useNotice as n,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 b,useOrderResultResult as f,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 j,useGoodDetail as F,useBanner as W,useGoodCollection as G,useGoodSpecAndPrice as E,useGoodFootprint as H,useGoodsShare as Y,popupImplement as U,useGoodSkuStore as Q,usePromotion as K,useAddCoupon as q,useCoupon as Z,useEvaluate as $,useAddShopping as X,useGoodSku as J,useAllCoupon as _,useMarketingPromotion as ee,useAddressItem as ae,useAddressList as oe,useOrderResult as le}from"qj-mobile-store";import{memo as se,useMemo as te,useState as ie,useEffect as ne,createElement as ce,createContext as re,useContext as de,useRef as me,Fragment as he}from"react";import{navigatorHandler as pe,getEnv as ue,getStorage as ge,getTaro as Ne,useImmutableCallback as Ce,navigatorBackImpl as be,setStorage as fe}from"@brushes/utils";import ye from"classnames";import{queryOcsconfigList as xe,getContractNumbers as ke,find as we}from"qj-b2c-api";import ve from"dayjs";import{get as Se,isEmpty as Ie,groupBy as Ae,isEqual as Be,noop as Ve}from"lodash-es";import Te from"china-division/dist/provinces.json";import De from"china-division/dist/cities.json";import Le from"china-division/dist/areas.json";const Pe=({direction:a,speed:o,num:s,color:t})=>{const{content:i,navigator:c}=n(s);return e(l,{navigator:c,color:t,speed:o,direction:a,content:i})},Re=se((({value:a,textIndent:o,fontSize:l,textAlign:t,color:i,backgroundColor:n,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:l,textAlign:t,color:i,backgroundColor:n,fontWeight:c,textDecoration:r,fontStyle:d,paddingLeft:h,paddingRight:p,textIndent:o},children:a})})})),ze=se((({defaultValue:a,type:o,borderRadius:l,outerShadow:t,paddingRight:i,paddingLeft:n,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${o}`,style:{paddingLeft:n,paddingRight:i,gap:r},children:N.map(((a,s)=>e(g,{className:"block "+(t?"outer-shadow":""),mode:1===o?"widthFix":"scaleToFill",src:a.imgUrl,style:{width:"100%",borderRadius:l+"px"},onClick:()=>{var e,o;return pe(null===(e=a.link)||void 0===e?void 0:e.value,null===(o=a.link)||void 0===o?void 0:o.params)}},s)))})})})),Oe=se((({url:a,poster:o,autoplay:l,loop:t,paddingTop:i,paddingBottom:n,paddingLeft:c,paddingRight:r})=>{const{View:d}=s();return e(d,{style:{paddingTop:i,paddingBottom:n},children:e("video",{className:"components-video",src:a,poster:o,autoPlay:l,loop:t,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:c,paddingRight:r}})})})),Me=se((({width:a,height:o,top:l,right:t,bottom:i,left:n,borderRadius:c})=>{const{View:r}=s();return e(r,{style:{width:a,height:o,borderRadius:c,top:l,left:n,right:t,bottom:i},className:"components-service"})})),je="data:image/png;base64,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",Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",We=se((({value:o,iconShow:l,fontColor:t,backgroundColor:i,borderRadius:n,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=[]})=>{const{View:u,Image:g}=s(),N=te((()=>ye("txt",...p)),[p]);return e(u,{onClick:()=>pe("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxpositon":"",children:a(u,{className:"components-search",style:{backgroundColor:i,borderRadius:n?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(g,{src:je,alt:"",style:{height:"16px",width:"16px",display:l?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:t,display:"inline-block",fontSize:m},children:o})]})})})),Ge=se((({value:o,iconShow:l,fontColor:t,backgroundColor:i,borderRadius:n,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:p=["mockWeight","mockItalic"]})=>{const{View:u,Image:g}=s(),N=te((()=>ye("txt",...p)),[p]);return e(u,{onClick:()=>pe("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:n?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff"},children:[a(u,{style:{width:"80%"},children:[e(g,{src:je,alt:"",style:{height:"16px",width:"16px",display:l?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(u,{className:N,style:{color:t,display:"inline-block",fontSize:m},children:o})]}),e(u,{className:["seachBtn",n?"btnBorderRadius":""].join(" "),style:{fontSize:m,backgroundColor:i,width:"20%",color:t},children:"搜索"})]})})})),Ee=se((({item:a,position:o,direction:l})=>{var t,i;const{Image:n,View:c}=s();return e(n,{mode:"scaleToFill",src:a.imgUrl,style:{width:"100%",height:"100%",paddingBottom:"top"===o&&"vertical"===l?"30px":"",marginTop:"top"===o&&"horizontal"===l?"30px":""},onClick:pe.bind(null,null===(t=a.link)||void 0===t?void 0:t.value,null===(i=a.link)||void 0===i?void 0:i.params)})})),He=se((({Position:l,className:t="",className1:i="",defaultValue:n=[],type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C,selectImg:b,imgHeight:f,fontsize:y=16,textAlign:x="center",fontColor:k="#000000",backGroundColor:w="#ffffff"})=>{const v=te((()=>ye({paddingbtm:"none"!==l,imgHeights:"bottom"===l&&"horizontal"===h}))),{SmoothSwiper:S,View:I}=s(),A=c(n,b||[]),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:t,style:{paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C},children:e(S,{imgHeight:f,data:A,className:v,type:r,autoplay:d,autoplayInterval:m,direction:h,loop:p,interval:5e3,vertical:"vertical"===h,render:s=>a(o,{children:["top"===l||"bottom"===l?B(s):null,e(Ee,{item:s,position:l,direction:h})]})})})})),Ye=se((({paddingTop:a,paddingBottom:o,paddingLeft:l,paddingRight:t,defaultValue:i=[],type:n,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTB:g=0,paddingLR:N=0,fontsize:C=16,textAlign:b="center",fontColor:f="#000000",backGroundColor:y="#ffffff",otherStyles:x=[],ImgShadow:k=!1,Position:w="top"})=>{const{View:v}=s(),S=te((()=>ye("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(He,{Position:w,defaultValue:i,type:n,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTop:a,paddingBottom:o,paddingLeft:l,paddingRight:t,fontsize:C,textAlign:b,fontColor:f,backGroundColor:y,className:ye({"outer-shadow":k}),className1:S})})}));function Ue(e,a){var o={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&a.indexOf(l)<0&&(o[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(l=Object.getOwnPropertySymbols(e);s<l.length;s++)a.indexOf(l[s])<0&&Object.prototype.propertyIsEnumerable.call(e,l[s])&&(o[l[s]]=e[l[s]])}return o}function Qe(e,a,o,l){return new(o||(o=Promise))((function(s,t){function i(e){try{c(l.next(e))}catch(e){t(e)}}function n(e){try{c(l.throw(e))}catch(e){t(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof o?a:new o((function(e){e(a)}))).then(i,n)}c((l=l.apply(e,a||[])).next())}))}const Ke=ue(),qe=()=>{const[e,a]=ie([]);ne((()=>{Qe(void 0,void 0,void 0,(function*(){const e=ge("service");if(e)a(o(e));else{const e=yield xe();a(o(e))}}))}),[]);const o=e=>{let a=[];for(let o=0;o<e.length;o++){const l=e[o].ocsOcserviceReDomain;a.push(`${l.ocserviceName}: ${l.ocserviceRemark}`)}return a};return{servicePopup:()=>{if(!Ke)return;Ne().showActionSheet({itemList:e,success:function(e){console.log(e.tapIndex)},fail:function(e){console.log(e.errMsg)}})}}},Ze=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2}):"¥ 0",$e=(e=0)=>e?e.toLocaleString("en-IN",{minimumFractionDigits:2}):"0",Xe=({dataPic:l,goodsName:t,goodsCamount:i,pricesetNprice:n,skuName:c,resultTime:r,dataState:d})=>{const{View:m,Image:h,SmoothView:p}=s(),u=Ze(n),g=te((()=>i?`x ${i}`:""),[i]);return e(o,{children:a(m,{className:"card-item",children:[e(h,{src:l,alt:"",className:"card-item-img"}),a(m,{className:"card-item-info",children:[a(m,{className:"card-item-info-container",children:[e(p,{className:"card-item-info-container-title",children:t}),e(p,{className:"card-item-info-container-price",children:u})]}),a(m,{className:"card-item-info-sub",children:[e(p,{className:"sku",children:c}),e(p,{className:"count",children:g})]}),1===d?e(m,{className:"card-item-info-countDown",children:e(p,{children:r})}):null]})]})})},{Button:Je}=t,_e=a=>{var{dataState:l}=a,s=Ue(a,["dataState"]);return e(o,{children:["2","-1"].includes(l+"")?null:e(ea,Object.assign({dataState:l},s))})},ea=a=>{var{dataState:o,contractAppraise:l,color:t,borderColor:i,btnColor:n,btnShape:c}=a,d=Ue(a,["dataState","contractAppraise","color","borderColor","btnColor","btnShape"]);const{View:m}=s();4!==o&&4!==o||1===l?4!==o&&4!==o||1!==l||(o=5):o=4;const{operateArray:h,handlerImpl:p}=r(Object.assign({dataState:o},d));return e(m,{className:"btnGroup",children:h.map(((a,o)=>e(Je,{style:{color:t,borderColor:i,backgroundColor:n},className:ye({btn:!0,white:0===o,black:1===o}),onClick:()=>p(a.handler),shape:c,children:a.name},o)))})};const aa=e=>{const[a,o]=ie("");ne((()=>{l(e)}),[]);const l=e=>{const a=()=>{const l=new Date(e),s=new Date,t=l.getTime()-s.getTime();t<=0?o(""):(o(((e,a)=>{const o=Math.floor(e/1e3)%60,l=Math.floor(e/1e3/60)%60,s=Math.floor(e/1e3/60/60)%24;return`${Math.floor(e/1e3/60/60/24)}天 ${s}小时 ${l}分钟 ${o}秒${a}`})(t,"后将取消订单,请尽快支付")),setTimeout(a,1e3))};a()};return{resultTime:a}},{Button:oa}=t;function la({contractBillcode:o,dataBmoney:l,dataBnum:t,goodsList:i,dataState:n,contractId:c,init:r,contractAppraise:m,borderRadius:h,orderSpacing:p,contractPaydate:u}){const{View:g}=s(),N=d(n),{resultTime:C}=aa(u);return a(g,{className:"orderListItem",style:{borderRadius:h?8:"",marginTop:p,marginBottom:p},children:[a(g,{onClick:()=>pe("orderDetail",{contractBillcode:o}),children:[a(g,{className:"topInfo",children:[a(g,{className:"orderNo",children:["订单号: ",o,e(oa,{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(Xe,Object.assign({},a,{resultTime:C,dataState:n}),a.contractGoodsId)))})]}),a(g,{className:"allInfo",children:[a(g,{className:"totalNum",children:["共",t,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",Ze(l)]})]}),C?e(_e,{init:r,contractId:c,contractBillcode:o,dataState:n,contractAppraise:m}):null]})}const sa=ue(),ta=a=>{var{bottomHeight:o,children:l,id:t,heightWrap:i}=a,n=Ue(a,["bottomHeight","children","id","heightWrap"]);const c=function(e){const[a,o]=ie(0);return ne((()=>{if(!ue()||!e)return;const a=Ne().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;o(a)}})).exec()}))})),a}(t),r=function(e=""){return te((()=>{if(!ue())return 0;const a=Ne(),o=a.getStorageSync("safeArea"),l=a.getStorageSync("tabBarHeight")||0;return o+(a.getCurrentPages().at(-1).$taroPath.indexOf("pages/")>=0?l:0)+(e?+e:0)}),[])}(o),{View:d}=s(),m=te((()=>{if(!sa)return t?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(t){return{height:`calc(${Ne().getSystemInfoSync().windowHeight+"px"} - ${c+r}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[c,r]);return e(d,Object.assign({},n,{style:Object.assign(Object.assign({},m),{paddingBottom:t?"":r}),id:t,children:l}))},ia=()=>{const{View:a,Image:o}=s();return e(a,{children:e(o,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const na=se((function({item:o,refreshNum:l,borderRadius:t,orderSpacing:i}){const{View:n,ScrollView:c,Loading:r}=s(),{onScroll:d,data:h,loading:p,init:u}=m(o,l);return e(n,{className:"orderListItemWrap",children:e(ta,{id:"orderListItemWrap",children:e(c,{onScroll:d,children:h.length>0?a(n,{children:[h.map(((e,a)=>ce(la,Object.assign({init:u},e,{key:a,borderRadius:t,orderSpacing:i})))),e(n,{children:p?e(r,{}):null})]}):a(n,{className:"nodata_img",children:[e(ia,{}),e(n,{className:"nodata-btn",onClick:()=>pe("goodList"),children:"前往购物"})]})})})})})),ca=se((({refreshNum:a=0,indexId:o=0,borderRadius:l=!1,orderSpacing:t=12})=>{const{View:i,Tabs:n}=s();return e(i,{className:"order-container",children:e(n,{defaultIndex:+o,tabs:h,render:o=>e(i,{className:"orderList",children:e(na,{item:o,orderSpacing:t,refreshNum:a,borderRadius:l})})})})})),ra=({className:a="iconfont",prefixClass:o="icon",onClick:l=(()=>{}),style:t={fontSize:16,color:"#444",fontWeight:900},value:i})=>{const{Text:n}=s();return e(n,{onClick:l,className:ye(o,i?`${o}-${i}`:"",a),style:t})},{Button:da}=t,ma=se((({copyContent:a=""})=>{const[o,l]=ie(!1),s=ue();return e(da,{className:"copy",size:"mini",fill:"outline",onClick:()=>{if(s){const e=Ne();if(""===a)return void e.showToast({title:"复制内容为空",icon:"error"});e.setClipboardData({data:a,success:()=>{e.showToast({title:"复制成功",icon:"success"}),l(!0)},fail:()=>{e.showToast({title:"复制失败",icon:"error"})}})}},children:o?"已复制":"复制"})})),ha=se((({contractBillcode:l,expressWay:t,backgroundColor:i,color:n,paddingBottom:c,paddingTop:r,borderColor:m,btnColor:h,btnShape:u})=>{const{View:g,Text:N}=s(),{orderDetail:C}=p(l||""),b=e=>ve(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(ra,{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(ra,{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((l=>a(o,{children:[e(Xe,Object.assign({},l),l.contractGoodsId),e(g,{className:"orderBtn",onClick:()=>{console.log("订单状态",C.dataState,l),pe("refundType",{orderState: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]})]})]})]}),t&&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(ma,{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(_e,{borderColor:m,btnColor:h,btnShape:u,color:n,contractBillcode:C.contractBillcode,contractId:C.contractId,dataState:C.dataState})})]})})]})})),pa=se((({navList:l,activeKey:t,cell:i=4})=>{const{View:n,Text:c,Image:r}=s();return e(o,{children:l.map((o=>e(n,{className:["content",t===`${o.goodsClassCode}`?" active":""].join(""),children:((null==o?void 0:o.childList)||[]).map((o=>a(n,{className:"classifyFloor",children:[a(n,{className:"titleWrap",children:[e(c,{className:"title",children:o.goodsClassName}),e(c,{className:"line"})]}),e(n,{className:`container container_columns${i}`,children:((null==o?void 0:o.childList)||[]).map((({classtreeCode:o,goodsClassCode:l,goodsClassLogo:s,goodsClassName:t})=>a(n,{onClick:()=>pe("goodList",{classtreeCode:o}),className:"classifyFloorGoodsItem",children:[e(r,{src:s,className:"logo"}),e(n,{className:"title",children:t})]},l)))})]},o.goodsClassCode)))},o.goodsClassCode)))})})),{SideBar:ua}=t,ga=se((({cell:o,color:l,activeTitle:t,paddingTop:i,paddingBottom:n})=>{const{View:c,ScrollView:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(c,{children:e(ta,{id:"goodsClassify",children:e(r,{children:a(c,{style:{height:p?"100%":"667px",paddingTop:i,paddingBottom:n},className:"goodsClassifyContainer",children:[e(c,{className:"side",children:e(ua,{activeKey:d,onChange:m,style:{"--width":"90px","--background-color":"#f5f5f5"},children:h.map((a=>e(ua.Item,{title:a.goodsClassName,className:0===t?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===d?l:"#000"}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(pa,{navList:h,activeKey:d,cell:o})})]})})})})})),Na=re(null),Ca=se((()=>{const{navList:o,activeKey:l,setActiveKey:t,setFCoe:n,setSCoe:c,selectFontColor:r}=de(Na),{View:d,ScrollView:m}=s(),[h,p]=ie(!1),u=(e,a)=>{t.bind(null,e)(),n(`${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:o.map(((a,o)=>e(d,{className:["goodsClassifyOne-topListItem"].join(" "),onClick:()=>u(a.goodsClassCode,o),style:{color:l===`${a.goodsClassCode}`?r:"#000",borderColor:l===`${a.goodsClassCode}`?r:"#000"},children:a.goodsClassName},o)))}),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(ta,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:o.map(((a,o)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>u(a.goodsClassCode,o),style:{color:l===`${a.goodsClassCode}`?r:"#000",borderColor:l===`${a.goodsClassCode}`?r:"#000"},children:a.goodsClassName},o)))})})})]}):null]})})),ba=se((({thirdList:o})=>{const{View:l,Image:t}=s(),{picShadow:i,layout:n}=de(Na);return e(l,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${n}, 1fr)`},children:o.map(((o,s)=>a(l,{className:"goodsClassifyOneFloorItem",onClick:()=>pe("goodList",{classtreeCode:o.classtreeCode}),children:[e(t,{src:o.goodsClassLogo,className:"pic",style:{boxShadow:i?"#DDDDDD 0px 0px 10px":""}}),e(l,{className:"title",children:o.goodsClassName})]},s)))})})),fa=ue(),ya=se((()=>{const{navList:o,fCoe:l,sCoe:t,setSCoe:i,selectFontColor:n,selectBlcShow:c,selectBlcStyle:r}=de(Na),{secondList:d,thirdList:m}=(({navList:e,fCoe:a,sCoe:o})=>{const l=te((()=>{var o;return(null===(o=e[a])||void 0===o?void 0:o.childList)||[]}),[a,e]),s=te((()=>{var e;return(null===(e=l[o])||void 0===e?void 0:e.childList)||[]}),[o,a,e]);return{secondList:l,thirdList:s}})({navList:o,fCoe:l,sCoe:t}),{View:h,ScrollView:p,SideBar:u}=s();return e(h,{children:e(ta,{id:"goodsClassifyOneContent",children:e(p,{children:a(h,{className:"goodsClassifyOneContent",style:{height:fa?"100%":"667px"},children:[e(u,{activeKey:t,onChange:i,children:d.map(((a,o)=>e(u.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===r?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":n,"--adm-color-primary":n}},o)))}),e(ba,{thirdList:m})]})})})})})),xa=se((({selectFontColor:o,selectBlcColor:l,selectBlcShow:t,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r})=>{const{View:d}=s(),{navList:m,activeKey:h,setActiveKey:p}=u(),[g,N]=ie("0"),[C,b]=ie("0");return e(Na.Provider,{value:{fCoe:g,setFCoe:N,sCoe:C,setSCoe:b,navList:m,activeKey:h,setActiveKey:p,selectFontColor:o,selectBlcColor:l,selectBlcShow:t,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(Ca,{}),e(ya,{})]})})})),ka=se((({childList:o,layout:l,picShadow:t})=>{const{View:i,Image:n}=s();return e(i,{className:"level3Arr",style:{gridTemplateColumns:`repeat(${l}, 1fr)`},children:o.map(((o,l)=>a(i,{className:"level3ArrItem",onClick:()=>pe("goodList",{classtreeCode:o.classtreeCode}),children:[e(n,{src:o.goodsClassLogo,className:"logo",style:{boxShadow:t?"#DDDDDD 0px 0px 10px":""}}),e(i,{className:"title",children:o.goodsClassName})]},l)))})})),wa=se((({navList:o,activeKey:l,layout:t,picShadow:i})=>{var n;const[c,r]=ie(0);ne((()=>{r(o.findIndex(d))}),[l,c]);const d=e=>e.goodsClassCode===l,{View:m,Image:h}=s();return a(m,{className:"goodsClassifyTwoContent",children:[e(h,{className:"firstLevelImg",src:Se(o[c],"goodsClassLogo"),mode:"widthFix"}),null===(n=Se(o[c],"childList"))||void 0===n?void 0:n.map(((o,l)=>a(m,{children:[e(m,{className:"level2Title",children:o.goodsClassName}),e(ka,{childList:o.childList,layout:t,picShadow:i})]},l)))]})})),{SideBar:va}=t,Sa=se((({selectFontColor:o,selectBlcShow:l,selectBlcColor:t,selectBlcStyle:i,layout:n,picShadow:c})=>{const{View:r}=s(),{activeKey:d,setActiveKey:m,navList:h,flag:p}=u();return e(r,{className:"goodsClassifyTwo",children:e(ta,{id:"goodsClassifyTwo",children:a(r,{className:"goodsClassifyTwoWrap",style:{height:p?"100%":"667px"},children:[e(r,{className:"side",children:e(va,{activeKey:d,onChange:m,style:{"--width":"88px","--background-color":"#f5f5f5"},children:h.map((a=>e(va.Item,{title:a.goodsClassName,className:[l?"":"goodsClassifyTwoFloorNoBlc",1===i?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":o}},a.goodsClassCode)))})}),e(r,{className:"main",children:e(wa,{navList:h,activeKey:d,layout:n,picShadow:c})})]})})})})),Ia=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],Aa=({setParams:o,activeColor:l})=>{const{View:t}=s(),[i,n]=ie(0),[c,r]=ie(Ia);return e(t,{className:"sortWrap",children:c.map((({order:s,sortField:c,name:d},m)=>a(t,{className:"sortItem "+(i===m?"active":""),onClick:()=>((e,a,l)=>{n(a),l&&r((e=>(e[a].order="asc"===l?"desc":"asc",[...e]))),o({sortField:e,order:l})})(c,m,s),style:{color:i===m?l:""},children:[d,s&&a(t,{className:"orderIcons",children:[e(ra,{style:{color:i===m&&"desc"!==s?l:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(ra,{style:{color:i===m&&"desc"===s?l:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},Ba=se((({classtreeCode:o="",searchParam:l="",activeColor:t="#e54e29",goodsName:i=!0,goodsPrice:n=!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:b,Image:f,ScrollView:y}=s(),[x,k]=ie({}),{loading:w,getData:v,list:S}=g(o,l,x),I=te((()=>ye("textBox",{btm:!n&&!c})),[n,c]),A=te((()=>ye("name",{boxNone:!i})),[i]),B=te((()=>ye("middle_margin",{boxNone:!r})),[r]),V=te((()=>ye("goodDetail",{boxNone:!n&&!c&&!d})),[n,c,d]),T=te((()=>ye({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(Aa,{setParams:k,activeColor:t})}),e(N,{className:"listWrap",style:{padding:` 0px ${u}px`},children:e(ta,{id:"listWrap",children:a(y,{onScroll:()=>v(x),children:[e(N,{className:"list",style:{gap:p},children:S.map((o=>a(N,{onClick:()=>pe("goodDetail",{skuCode:o.skuCode}),className:"listItem",style:{borderRadius:m?"8px":"",boxShadow:h?"4px 4px 4px #969292":""},children:[e(f,{src:o.dataPic,className:"img"}),a(N,{className:T,children:[e(b,{className:A,children:o.goodsName}),a(N,{className:B,children:["已售:",o.goodsNum]}),a(N,{className:V,children:[a(N,{className:I,children:[e(b,{className:"price",style:{display:n?"block":"none"},children:Ze(o.pricesetNprice)})," ",e(N,{className:"decoration",style:{display:c?"block":"none"},children:Ze(o.pricesetMakeprice)})]}),e(N,{style:{display:d?"block":"none"},children:e(ra,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},o.skuCode)))}),w?e(C,{}):null]})})})]})})),Va=ue(),Ta=se((({placeholder:o,placeholderText:l,history:t,historyText:i,paddingBottom:n,paddingTop:c})=>{const{View:r,Text:d,Input:m}=s(),[h,p]=ie((()=>ge("history")||[])),u=Ce((e=>Qe(void 0,void 0,void 0,(function*(){Va&&(p((a=>{if(Ie(e.detail.value))return a;const o=a.concat(e.detail.value);return fe("history",o),o})),g(e.detail.value))})))),g=Ce((e=>{pe("goodList",{searchParam:e})}));return a(r,{className:"searchPage",style:{paddingTop:c,paddingBottom:n},children:[a(r,{className:"search-title",children:[e("img",{src:je,alt:""}),e(m,Object.assign({"confirm-type":"search",type:"text",className:"content",onConfirm:u},o?{placeholder:l}:{})),e(d,{className:"btn",onClick:()=>be(),children:"取消"})]}),t?a(r,{className:"historyWrap",children:[a(r,{className:"title",children:[a(r,{className:"label",children:[e(r,{className:"icon"}),i]}),e(ra,{onClick:()=>Qe(void 0,void 0,void 0,(function*(){(yield Ne()).removeStorageSync("history"),p([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(r,{className:"content",children:h.map(((a,o)=>e(r,{onClick:()=>g(a),className:"historyItem",children:a},o)))})]}):null]})})),Da=({starColor:o="#FF0934",starSize:l="12px",itemData:i})=>{const{View:n,Text:c,Image:r}=s(),{Rate:d}=t;return a(n,{className:"evaluateItem",children:[a(n,{className:"userInfo",children:[e(r,{src:i.avatar,className:"avatar"}),a(n,{className:"userNameWrap",children:[e(c,{className:"userName",children:i.userName}),e(d,{readOnly:!0,value:i.rate,style:{"--star-size":l,"--active-color":o}})]})]}),a(n,{className:"size",children:["规格: ",i.size]}),e(n,{className:"content",children:i.evaluate}),e(n,{className:"img-group",children:i.imgUrls.map(((a,o)=>e(r,{src:a.imgUrl,className:"img"},o)))})]})},La=[{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"}]}],Pa=se((()=>{const[l,t]=ie("1"),{View:i}=s(),n=me([{label:"全部",num:"900+",index:"1"},{label:"好评",num:"800+",index:"2"},{label:"中评",num:"99+",index:"3"},{label:"差评",num:"12",index:"4"}]),c=e=>{t(e)};return a(o,{children:[e(i,{className:"evaluateListTab",children:n.current.map((e=>a(i,{className:"evaluateListTabItem "+(e.index===l?"active":""),"data-index":e.index,onClick:c.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(i,{className:"evaluateListContent",children:La.map(((a,o)=>e(Da,{itemData:a},o)))})]})})),Ra=({onChange:a,readOnly:o=!1,size:l=22,count:t})=>{const{View:i}=s(),[n,c]=ie([{icon:"star-fill"},{icon:"star"},{icon:"star"},{icon:"star"},{icon:"star"}]);ne((()=>{if(t){const e=[...n];for(let a=0;a<e.length;a++)e[a].icon=a>t-1?"star":"star-fill";c(e)}}),[]);const r=e=>{if(!o){for(let a=0;a<n.length;a++)n[a].icon=a>e?"star":"star-fill";c([...n]),a(e+1)}};return e(i,{children:n.map(((a,o)=>e(ra,{onClick:r.bind(null,o),value:a.icon,style:{color:"#EC6C5C",fontSize:l}},o)))})},za=se((({code:o,borderRadius:l,borderColor:i,color:n,buttonColor:c,buttonBorderRadius:r,paddingTop:d,paddingBottom:m})=>{const{orderInfo:h,changeStar:p,Submit:u,changeContent:g}=N(o),{Button:C}=t,{View:b,Image:f,TextArea:y,Textarea:x}=s(),k=y||x,w=me("宝贝满足你吗?分享一下它吧");return a(b,{className:"evaluateDetail",style:{paddingTop:d,paddingBottom:m},children:[h.map(((o,s)=>a(he,{children:[a(b,{className:"topInfo",children:[a(b,{className:"lPart",children:[e(f,{src:o.dataPic,className:"img",style:{borderRadius:1===l?"20px":"0px"}}),a(b,{className:"goodsInfo",children:[e(b,{className:"goodsName",children:o.goodsName}),e(b,{className:"goodsSize",children:o.skuName})]})]}),e(b,{className:"rPart",children:a(b,{className:"price",children:["¥ ",o.pricesetNprice]})})]}),a(b,{className:"rate",children:[e(b,{className:"title",children:"商品评价"}),e(Ra,{onChange:p.bind(null,s)})]}),e(b,{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:n,backgroundColor:c,borderRadius:1===r?"20px":"0px"},className:"btn",onClick:u,children:"提交"})]})})),Oa=({code:o,defaultValue:l})=>{const{info:t,detail:i,stateObj:n}=C(o),{View:c}=s(),r=Se(t,"packageList[0].contractGoodsList[0].dataPic",l.dataPic),d=Se(t,"packageList.length",l.count),m=Se(t,"packageList[0].expressName",l.expressName),h=Se(t,"packageList[0].packageBillno",l.packageBillno),p=Se(i,"state",l.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?n[p]:"暂时无法获取物流状态"]}),a(c,{className:"listItem",children:["快递公司:",m]}),a(c,{className:"listItem",children:["快递单号:",h]})]})]})},Ma=({code:o,defaultValue:l})=>{const{detail:t}=C(o),{View:i}=s(),n=Se(t,"message",l.message),c=Se(t,"data",l.list);return e(i,{className:"expressInfoStep",children:"ok"===n?c.map(((o,l)=>a(i,{className:"step",children:[e(i,{className:"time",children:o.time}),e(i,{children:o.context})]},l))):e(i,{className:"noInfo",children:n})})},ja=se((({code:o,defaultValue:l})=>{const{View:t}=s();return a(t,{className:"expressInfo",children:[e(Oa,{code:o,defaultValue:l}),e(Ma,{code:o,defaultValue:l})]})})),Fa=[{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,o)=>{!/^1[3456789]\d{9}$/.test(a)&&a?o("请输入正确手机号"):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"}],Wa=se((()=>{const{View:a,Skeleton:l}=s(),t=me(new Array(5).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:t.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})}));Le.forEach((e=>{const a=De.filter((a=>a.code===e.cityCode))[0];a&&(a.children=a.children||[],a.children.push({label:e.name,value:e.code}))})),De.forEach((e=>{const a=Te.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 Ga=Te.map((e=>({label:e.name,value:e.code+"0000",children:e.children}))),Ea=({form:o,handleArea:l})=>{const{View:i}=s(),{CascadePicker:n}=t,c=o.getFieldValue("area"),[r,d]=ie(!1),m=e=>{const a={provinceName:"",provinceCode:e[0],cityName:"",cityCode:e[1],areaName:"",areaCode:e[2]},o={pIndex:0,cIndex:0};for(let l=0;l<Ga.length;l++)if(Ga[l].value===e[0]){a.provinceName=Ga[l].label,o.pIndex=l;break}for(let l=0;l<Ga[o.pIndex].children.length;l++)if(Ga[o.pIndex].children[l].value===e[1]){a.cityName=Ga[o.pIndex].children[l].label,o.cIndex=l;break}for(let l=0;l<Ga[o.pIndex].children[o.cIndex].children.length;l++)if(Ga[o.pIndex].children[o.cIndex].children[l].value===e[2]){a.areaName=Ga[o.pIndex].children[o.cIndex].children[l].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(n,{onConfirm:e=>{l("h5",m(e))},options:Ga,visible:r,onClose:()=>d(!1)})]})},Ha=({checked:a,onChange:o})=>{const{View:l}=s(),{Switch:i}=t;return e(l,{children:e(i,{checked:a,onChange:o,style:{"--checked-color":"#000000","--height":"36px","--width":"60px"}})})},Ya=ue(),Ua=se((({addressId:a,btnShape:l,btnColor:i,borderColor:n,color:c,paddingTop:r,paddingBottom:d})=>{const{View:m,Switch:h}=s(),{Form:p,Button:u,Input:g}=t,N=process.env.TARO_ENV,{skullShow:C,form:f,area:y,defaultAddress:x,handleArea:k,handleDefaultAddress:w,handleFinish:v}=b(a,p,Ya);return e(m,{className:"addressDetail",style:{height:Ya?"100%":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:C?e(Wa,{}):e(p,{form:f,layout:"horizontal",mode:"card",onFinish:v,footer:e(u,{style:{color:c,backgroundColor:i,borderColor:n},shape:l,block:!0,type:"submit",size:"large",children:"提交"}),children:Fa.map(((a,l)=>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(Ha,{onChange:w.bind(null,"h5"),checked:"1"===x}):e(h,{color:"#000",onChange:w.bind(null,"weapp"),checked:"1"===x}):"cascader"===a.type?e(o,{children:Ya?"h5"===N?e(Ea,{form:f,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},l)))})})})),Qa=({dataObj:o})=>{const{View:l,Text:t}=s();return a(l,{className:"placeOrderResultWrap",children:[a(l,{className:"placeOrderResultItem",children:[e(t,{className:"label",children:"订单号:"}),e(t,{className:"value",children:o.contractBillcode})]}),a(l,{className:"placeOrderResultItem",children:[e(t,{className:"label",children:"支付方式:"}),e(t,{className:"value",children:"在线支付"})]}),a(l,{className:"placeOrderResultItem",children:[e(t,{className:"label",children:"支付金额:"}),e(t,{className:"value",children:Ze(o.dataBmoney)})]})]})},Ka=se((({code:o,borderRadius:l,leftColor:t,leftButtonColor:i,leftBorderColor:n,leftBorderRadius:c,rightValue:r,rightAddHref:d,rightColor:m,rightButtonColor:h,rightBorderColor:p,rightBorderRadius:u,paddingTop:g,paddingBottom:N})=>{const{View:C,Text:b,IconMobile:y,WrapLoading:x}=s(),{result:k,loading:w}=f(o||(ge("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===l?"20px":"0px"},children:[e(y,{value:k.icon,style:{fontSize:"35px",color:k.color}}),a(C,{className:"tips",children:[e(b,{className:"title",children:k.msg}),e(b,{className:"tip",children:k.info})]}),"success"===k.sysRecode&&e(Qa,{dataObj:k.dataObj}),a(C,{className:"btnGroup",style:{marginTop:20},children:[e(C,{className:"btn black",onClick:()=>pe(k.menuCode,{contractBillcode:k.dataObj.contractBillcode}),style:{color:t,backgroundColor:i,border:`1px solid ${n}`,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:()=>pe(d.value),className:"btn white",children:r})]})]})})})}));se((()=>{const{View:a,Skeleton:l}=s(),t=me(new Array(3).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:t.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})}));const qa=()=>{const{View:a,Image:o}=s();return e(a,{className:"noData",children:e(o,{src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/no_coupon.png",className:"img"})})},Za=({list:l,coe:t,config:i,backgroundColor:n,color:c})=>{const{View:r,Text:d}=s();return e(o,{children:l.length?l.map(((l,s)=>e(r,{className:`couponListItem\n ${i.current[t.current].styleName}`,style:{backgroundColor:n,color:c},children:a(r,{className:"coupon-content",children:[e(r,{className:"price",children:e(d,{className:"num",children:l.pbName})}),a(r,{className:"couponListItem-info",children:[e(d,{className:"title",children:l.discName}),a(d,{className:"date",children:["有效期至:",`${new Date(l.gmtModified).getFullYear()}-${new Date(l.gmtModified).getMonth()+1}-${new Date(l.gmtModified).getDate()}`]}),i.current[t.current].text?e(r,{className:"btn",children:i.current[t.current].text}):null,2===t.current?e(o,{children:e(r,{className:"round",children:"已失效"})}):null]})]})},s))):e(qa,{})})},$a=se((({backgroundColor:o,color:l,paddingTop:t,paddingBottom:i,queue:n})=>{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(((o,l)=>a(c,{className:"couponTabItem "+(m.current===l?"active":""),onClick:()=>u(l),children:[o.label,e(r,{className:"icon"})]},o.id)))}),e(ta,{id:"couponTab",bottomHeight:"60",children:e(d,{onScroll:h,children:e(c,{className:"couponListContent",style:{paddingTop:t,paddingBottom:i},children:e(Za,{backgroundColor:o,color:l,queue:n,list:g,coe:m,config:p})})})})]})})),Xa=({list:o,cartItemRadius:l})=>{const{View:t,Text:i,Image:n,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:o.map(((o,s)=>e(t,{className:"cartItem",children:a(t,{className:"cartItem-box",style:{borderRadius:l},children:[e(t,{className:"checkBoxWrap",children:e(c,{checked:p.includes(o.shoppingGoodsId+""),value:o.shoppingGoodsId,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})}),e(n,{className:"img",src:o.dataPic,onClick:()=>pe("goodDetail",{skuCode:o.skuCode})}),a(t,{className:"cartItem-info",children:[e(i,{className:"cartItem-goodsName",children:o.goodsName}),a(t,{className:"cartItem-size",children:["规格:",o.skuName," X ",o.goodsCamount]}),a(t,{className:"cartItem-handleWrap",children:[e(i,{className:"price",children:Ze(o.pricesetNprice)}),e(r,{count:o.goodsCamount,handleStep:g.bind(null,o.shoppingGoodsId,o.goodsCamount)})]})]})]})},s)))})})},Ja=se((({url:o,title:l,subTitle:t,link:n,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:o}),e(r,{className:"title",children:l}),e(r,{className:"subTitle",children:t}),n?a(r,{className:"link",onClick:()=>pe(n),children:["去看看",e(i,{value:"xiangyou1"})]}):null]})})})),_a=ue(),eo=({refreshNum:l,btnStyle:t,borderColor:i,textColor:n,btnColor:c,btnShape:r,cartItemRadius:d,countBorderColor:m,countTextColor:h,countBtnColor:p,countBtnShape:u})=>{const{View:g,SmoothView:N,Checkbox:C,SmoothCheckbox:b,ScrollView:f}=s(),[y,x]=ie(!0),{cartList:k,amount:w,selectAll:S,allCart:I,toOrderImpl:A,select:B,deleteCart:V,disMoney:T}=v(l),D=te((()=>({border:t?`2px solid ${i}`:"",color:t?n:"",background:t?c:"",borderRadius:t?r:""})),[t,i,n,c,r]),L=te((()=>({border:`1px solid ${m}`,color:h,background:p,borderRadius:u})),[m,h,p,u]);return e(g,{className:"cart",style:{height:_a?"100%":"667px"},children:k.length?a(o,{children:[e(g,{className:"edit",children:e(g,{className:"btn",style:D,onClick:()=>x(!y),children:y?"编辑":"完成"})}),e(ta,{id:"editId",bottomHeight:"50",children:e(f,{children:e(Xa,{list:k,cartItemRadius:d})})}),a(g,{className:"cart-dashboard",children:[e(g,{className:"choose",children:e(b,{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:Ze(T)})]}),a(g,{className:"all",children:["合计: ",e(N,{className:"data",children:Ze(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(Ja,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})},ao=se((a=>e(w,{children:e(eo,Object.assign({},a))}))),oo=({dispatchPageStore:a,btnStyle:o,borderColor:l,textColor:t,btnColor:i,btnShape:n})=>{const{View:c}=s(),{isEditor:r,editorImpl:d}=S(a),m=te((()=>({border:o?`2px solid ${l}`:"",color:o?t:"",background:o?i:"",borderRadius:o?n:""})),[o,l,t,i,n]);return e(c,{className:"cart-edit",children:e(c,{className:"btn",onClick:d,style:m,children:r?"完成":"编辑"})})},lo=se((({promotionName:o,checked:l,promotionCode:t})=>{const{View:i,Radio:n}=s();return a(i,{className:"promotion-item",children:[e(i,{className:"content",children:o}),e(i,{className:"choose",children:e(n,{checked:l,value:t})})]})})),so=({onChange:a,promotionCode:o,visible:l,setVisible:t,promotion:i})=>{const{Popup:n,ScrollView:c,View:r,SmoothRadio:d}=s();return e(n,{popupVisible:l,popupHandler:t,children:e(r,{className:"goodsDetail-coupon-popup",children:e(ta,{children:e(c,{children:e(d,{onChange:a,children:i.map(((e,a)=>ce(lo,Object.assign({checked:e.promotionCode===o},e,{key:a}))))})})})})})},to=se((({goodsName:l,skuName:t,goodsCamount:i,shoppingGoodsId:n,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=s();return e(o,{children:a(d,{className:"cartItem-info",children:[e(m,{className:"cartItem-goodsName",children:l}),a(d,{className:"cartItem-size",children:["规格:",t," X ",i]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:Ze(c)}),e(h,{count:i,handleStep:r.bind(null,n,i)})]})]})})})),io=se((({dataPic:a,skuCode:o})=>{const{Image:l}=s();return e(l,{className:"img",src:a,onClick:()=>pe("goodDetail",{skuCode:o})})})),no=se((a=>{var{shoppingGoodsId:o}=a,l=Ue(a,["shoppingGoodsId"]);const{View:t,Checkbox:i}=s(),{select:n=[]}=l;return e(t,{className:"checkBoxWrap",children:e(i,{checked:n.includes(o+""),value:o,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),co=({promotion:l=[],updatePm:t,shoppingGoodsId:i,promotionCode:n})=>{const{View:c}=s(),[r,d]=ie(!1),m=te((()=>((l||[]).find((e=>e.promotionCode===n))||{}).promotionName),[l]);return a(o,{children:[a(c,{className:"cart-promote-active",onClick:()=>d(!0),children:[m,e(c,{children:"修改"})]}),e(so,{promotionCode:n,onChange:e=>{d(!1),t(i,e.detail.value)},promotion:l||[],visible:r,setVisible:d})]})},ro=se((o=>{var{item:l}=o,t=Ue(o,["item"]);const{View:i}=s();return a(i,{className:"cart-list-item",children:[e(no,Object.assign({},t,{shoppingGoodsId:l.shoppingGoodsId})),e(io,{dataPic:l.dataPic,skuCode:l.skuCode}),e(to,Object.assign({},l,t))]})})),mo=l=>{var{shoppingGoodsList:s=[]}=l,t=Ue(l,["shoppingGoodsList"]);return e(o,{children:s.map(((o,l)=>a(he,{children:[e(ro,Object.assign({},t,{item:o})),o.pmPromotionList?e(co,{promotionCode:t.promotionCode,shoppingGoodsId:o.shoppingGoodsId,updatePm:t.updatePm,promotion:o.pmPromotionList}):null]},l)))})},ho=({disNextMsg:o,promotionName:l,pbName:t})=>{const{View:i,SmoothView:n}=s();return a(i,{className:"cart-dis-title",children:[e(n,{className:"tips",children:t}),e(n,{style:{padding:"0 10px"},children:l}),e(n,{children:o})]})},po=({refreshNum:l,cartSelect:t,dispatchPageStore:i,cartUpdateCount:n=0,cartItemRadius:c="10px"})=>{const{SmoothCheckbox:r,WrapLoading:d,View:m}=s(),{loading:h,cartList:p,onChange:u,handleStep:g,updatePm:N}=I(l,n,i);return e(d,{loading:h,children:e(m,{className:"cart-wrap",children:e(r,{onChange:u,children:p.length?e(o,{children:p.map((({memberCname:o,promotionCode:l,disNextMsg:s,promotionName:i,pbName:n,shoppingGoodsList:r},d)=>a(he,{children:[e("h4",{children:o}),a(m,{className:"cart-bg",style:{borderRadius:c},children:[i?e(ho,{disNextMsg:s,promotionName:i,pbName:n}):null,e(mo,{promotionCode:l,handleStep:g,select:t,updatePm:N,shoppingGoodsList:r,cartItemRadius:c})]})]},d)))}):e(Ja,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},uo=({cartInfo:o=[],cartDisMoney:l=0,cartSelect:t=[],cartIsEditor:i=!1,dispatchPageStore:n,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:b,cartDetail:f}=A(t,o,n),y=te((()=>({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:b,children:e(g,{checked:o.length===t.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:Ze(l)})]}),a(h,{className:"all",children:["总计: ",e(p,{className:"data",children:Ze(f.amount)})]})]}),a(h,{onClick:N,className:"btn",style:y,children:["结算(",f.num,")"]})]})]})},go=se((({avatarStyle:o,paddingTop:l,paddingBottom:t,userAvatar:i,userNickname:n,refreshNum:c})=>{const{View:r,Text:d,IconMobile:m,Image:h}=s(),{servicePopup:p}=qe(),[u,g]=ie(n),[N,C]=ie(i);return ne((()=>{g(ge("userNickname")),C(ge("userAvatar"))}),[c]),a(r,{className:"mineData",style:{paddingTop:`${l}px`,paddingBottom:`${t}px`},children:[a(r,{className:"topBoard",children:[e(m,{value:"bianzu",onClick:()=>pe("/account/setting/index")}),e(m,{value:"kehufuwukefu",onClick:p})]}),a(r,{className:"userSetting",onClick:()=>pe("/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:o?"50%":"2px"}})]})]})})),No=se((({title:o,columnList:l})=>{const{View:t,Text:i,Badge:n,Image:c}=s(),[r,d]=ie({});return ne((()=>{Qe(void 0,void 0,void 0,(function*(){try{const e=yield ke();d(e.dataObj)}catch(e){}}))}),[]),a(t,{className:"mineOrderEntry",children:[a(t,{className:"title",children:[e(t,{className:"name",children:o}),e(t,{className:"more",onClick:()=>pe("orderlist"),children:"查看全部"})]}),e(t,{className:"content",children:l.map(((o,l)=>a(t,{onClick:()=>pe("orderlist",{indexId:l+1}),className:"contentItem",style:{display:o.show?"block":"none"},children:[e(n,Object.assign({},r[o.code]>0?{content:r[o.code]}:{},{color:"#000",style:{color:"#fff",fontSize:12},children:e(c,{src:o.imgUrl,className:"icon"})})),e(i,{className:"subTitle",children:o.label})]},l)))})]})})),Co=se((({paddingTop:o,paddingBottom:l,columnList:t})=>{const{View:i,Text:n,IconMobile:c,Image:r}=s();return e(i,{className:"mineFunction",style:{paddingTop:o+"px",paddingBottom:l+"px"},children:t.map(((o,l)=>a(i,{className:"menuListItem",onClick:()=>pe(o.link.value),children:[a(i,{className:"lPart",children:[e(r,{src:o.imgUrl,className:"icon"}),e(n,{className:"label",children:o.link.label})]}),e(c,{value:"xiangyou1"})]},l)))})})),bo=({footprintItem:o,edit:l})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=s(),r=te((()=>o.footprintOpnum?`${o.footprintOpnum}元`:""),[o.footprintOpnum]);return a(t,{className:"footprintItem",children:[l?e(t,{className:"lPart",children:e(n,{value:o.footprintCode})}):null,a(t,{className:"rPart",onClick:()=>pe("goodDetail",{skuCode:o.footprintOpcode}),children:[e(i,{src:o.footprintOppic,className:"img"}),a(t,{className:"info",children:[e(c,{className:"title",children:o.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},fo=({item:l,edit:t})=>{const{View:i}=s();return a(i,{className:"footPrint",children:[e(o,{children:e(i,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==l?void 0:l.title})}),l.option.map(((a,o)=>e(bo,{footprintItem:a,edit:t},o)))]})},yo=({footprintList:a,edit:l})=>{const s=te((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?ve(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),o=Ae(e,"gmtCreate");return Object.keys(o).map((e=>({title:e||"",option:o[e]})))}),[a]);return e(o,{children:s.map(((a,o)=>e(fo,{item:a,edit:l},o)))})},xo=se((()=>{const{View:o,ScrollView:l,SmoothCheckbox:t,Button:i,Image:n}=s(),{footprintList:c,edit:r,setEdit:d,getSelectItem:m,delItem:h,getData:p}=B();return e(o,{className:"footprint",children:0===c.length?e(o,{className:"noDate",children:e(n,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(o,{className:"hasDate",children:[e(o,{className:"topBar",children:e(o,{className:"edit",onClick:()=>d(!r),children:r?"完成":"编辑"})}),e(ta,{id:"topBar1",children:a(l,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScroll:p,children:[e(t,{onChange:m,children:e(yo,{footprintList:c,edit:r})}),r?a(o,{className:"handleBar",children:[e(o,{className:"checkAll"}),e(i,{className:"btn",onClick:h,children:"删除"})]}):null]})})]})})})),ko=({item:o,edit:l,checked:t})=>{const{View:i,Image:n,Checkbox:c,SmoothView:r}=s();return a(i,{className:"collectItem",children:[l?e(c,{className:"lPart",value:o.collectCode,checked:t}):null,a(i,{className:"rPart",onClick:()=>pe("goodDetail",{skuCode:o.collectOpcode}),children:[e(n,{src:o.collectOppic,className:"img"}),a(i,{className:"info",children:[e(r,{className:"title",children:o.collectOpcont}),a(r,{className:"price",children:[o.collectOpnum," 元"]})]})]})]})},wo=se((()=>{const{collectionList:o,edit:l,setEdit:t,getData:i,getSelectItem:n,delItem:c,init:r,checked:d,handleSelectAll:m,selectAllChecked:h}=V(),{View:p,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:C,Image:b}=s();return e(p,{className:"collectList",children:0===o.length?e(p,{className:"noDate",children:e(b,{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:()=>t(!l),children:l?"完成":"编辑"})}),e(ta,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:i,onScrollToUpper:r,children:[e(g,{onChange:n,style:{height:"100%"},children:o.map((a=>e(ko,{item:a,edit:l,checked:d},a.collectId)))}),l?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]})})]})})})),vo=se((({noticeId:o})=>{const{View:l,Image:t}=s(),{info:i}=T(o);return a(l,{className:"noticeDetailContainer",children:[e(l,{className:"title",children:i.noticeTitle}),i.noticePicurl?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl}):null,i.noticePicurl1?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl1}):null,i.noticePicurl2?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl2}):null,i.noticePicurl3?e(t,{className:"img",mode:"widthFix",src:i.noticePicurl3}):null,e(l,{className:"content",children:i.noticeContext})]})})),So=se((({doclistId:o=2031})=>{const{info:l}=D(o),{View:t,ScrollView:i}=s(),{doclistContent:n,doclistTitle:c,doclistTitle4:r}=l;return e(t,{className:"articleDetail",children:e(ta,{id:"a",children:a(i,{children:[e(t,{className:"title",children:c}),e(t,{className:"author",children:r}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:n||""}})]})})})})),Io=({address:a})=>e(o,{children:Ie(a)?e(Bo,{}):e(Ao,{address:a})}),Ao=({address:o})=>{const{View:l,SmoothView:t,IconMobile:i}=s(),n=te((()=>{const{provinceName:e,addressDefault:a,cityName:l,areaName:s,addressDetail:t,addressMember:i="",addressPhone:n=""}=o;return{addressDefault:"1"===a,addressMember:i,addressPhone:n,address:e+l+s+t}}),[o]);return a(l,{className:"address-info",children:[e(i,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(l,{className:"left",children:[a(l,{className:"left-title",children:[e(t,{children:n.addressMember}),e(t,{className:"left-padding",children:n.addressPhone}),n.addressDefault?e(t,{className:"left-padding left-title-default",children:"默认"}):null]}),e(t,{className:"left-detail",children:n.address})]}),e(i,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},Bo=()=>{const{View:l,Text:t}=s();return a(o,{children:[a(l,{className:"group",children:[e(t,{className:"local"}),e(t,{className:"address",children:"选择收货地址"})]}),e(t,{className:"arrow"})]})},Vo=({refreshNum:a})=>{const{View:o}=s(),l=L(a);return e(o,{className:"placeOrder-chooseAddress",onClick:()=>pe("addressList"),children:e(Io,{address:l})})},To=se((({couponStart:o,pbName:l,discName:t,promotionCode:i,promotionName:n,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:l}),e(d,{className:"num",children:t})]}),a(d,{className:"info",children:[e(m,{className:"title",children:n}),a(m,{className:"date",children:[ve(o).format("YYYY-MM-DD")," - ",ve(c).format("YYYY-MM-DD")]})]}),e(d,r?{className:"coupon-pick-default",children:"不能用"}:{className:"choose",children:e(h,{disabled:r,value:i})})]})})})),Do=({refreshNum:l,goodsNum:t,skuId:i,shoppingGoodsId:n})=>{const{View:c,Text:r,Popup:d,SmoothRadio:m,ScrollView:h}=s(),{amount:p,shoppingGoodsList:u}=P({refreshNum:l,goodsNum:t,skuId:i,shoppingGoodsId:n}),{coupon:g,visible:N,setVisible:C,selectCoupon:b,onChange:f}=R(u);return a(o,{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:b?`已选择: ${b}`:0===g.length?"暂无可用优惠券":"请选择优惠券"}),0===g.length?null:e("img",{src:Fe,alt:"",className:"icon"})]})]}),e(d,{popupVisible:N,popupHandler:C,children:e(c,{className:"goodsDetail-coupon-popup",children:e(ta,{children:e(h,{children:e(m,{onChange:f,children:g.map(((e,a)=>ce(To,Object.assign({disable:p<e.discAmount},e,{key:a}))))})})})})})]})},Lo=({shippingMethod:o=1})=>{const{View:l}=s();return e(l,{className:"info placeOrder-blcWrap",style:1===o?{display:"block"}:{display:"none"},children:a(l,{className:"express placeOrder-blcItem",children:[e(l,{className:"label",children:"配送方式"}),e(l,{className:"value",children:"快递"})]})})},Po=({refreshNum:a,goodsNum:o,skuId:l,shoppingGoodsId:t})=>{const{View:i}=s(),{list:n}=P({refreshNum:a,goodsNum:o,skuId:l,shoppingGoodsId:t});return e(i,{className:"place-order-goods",children:n.map(((a,o)=>e(Xe,Object.assign({},a),o)))})},Ro=({refreshNum:l,goodsNum:t,skuId:i,shoppingGoodsId:n})=>{const{SmoothView:c,View:r}=s(),{payState:d,amount:m,disCount:h}=P({refreshNum:l,goodsNum:t,skuId:i,shoppingGoodsId:n}),{shoppingCountPrice:p,freight:u,comDisMoney:g}=z(d);return e(o,{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:Ze(p)})]}),a(r,{className:"coupon placeOrder-blcItem",children:[e(r,{className:"label",children:"优惠金额"}),e(c,{className:"value",children:Ze(g+h)})]}),a(r,{className:"express placeOrder-blcItem",children:[e(r,{className:"label",children:"运费"}),e(c,{className:"value",children:Ze(u)})]}),a(r,{className:"all placeOrder-blcItem",children:[e(r,{className:"label",children:"总计"}),e(c,{className:"value",style:{color:"#000"},children:Ze(m-h)})]})]})})},zo=({color:o,buttonColor:l,borderColor:t,borderRadius:i,refreshNum:n,goodsNum:c,skuId:r,shoppingGoodsId:d})=>{const{View:m,Text:h,WrapLoading:p}=s(),{amount:u,list:g,disCount:N,payState:C,orderStoreInfo:b,ocContractSettlList:f}=P({refreshNum:n,goodsNum:c,skuId:r,shoppingGoodsId:d}),{savePayPrice:y,loading:x}=O({ocContractSettlList:f,payState:C,list:g},r,c,b,d);return a(m,{className:"placeOrderFooter",children:[a(h,{className:"price",children:["合计: ",Ze(u-N)]}),e(p,{loading:x,children:e(m,{className:"btn",onClick:y,style:{color:`${o}`,border:`1px solid ${t}`,backgroundColor:`${l}`,borderRadius:1===i?"40px":"0px"},children:"生成订单"})})]})},Oo=ue(),Mo=se((({position:a=10,bg:o,color:l,fontSize:t})=>{const{View:i}=s(),{goTop:n}=M();return e(i,{className:"backTop",onClick:n,style:{padding:Oo?"0":"10px"},children:e(ra,{style:{display:"inline-block",color:l,fontSize:t,backgroundColor:o,position:Oo?"fixed":"relative",right:Oo?"20px":"0",bottom:Oo?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),jo=({TextLineBgColor:o,text:l,contentSize:t,lineStyle:i,fontSize:n,textAlign:c,fontColor:r,lineColor:d,fontWeight:m,fontStyle:h,textDecoration:p})=>{const{View:u}=s();return a(u,{className:"textLine",style:{backgroundColor:o,textAlign:c,margin:1===t?"0 10px":""},children:[e(u,{className:"blc",style:{borderBottom:`1px ${i} ${d}`}}),e(u,{className:"txt",style:{backgroundColor:o,fontWeight:m,fontStyle:h,textDecoration:p,fontSize:`${n}px`,color:r},children:l})]})},Fo=se((({borderStyle:a,borderRadius:o,height:l,width:t,backgroundColor:i,paddingTop:n,paddingBottom:c})=>{const{View:r}=s();return e(r,{style:{paddingTop:n,paddingBottom:c},children:e(r,{style:{borderRadius:o+"%",borderStyle:a,width:t+"%",height:l+"px",backgroundColor:i,marginLeft:"auto",marginRight:"auto"}})})})),Wo=se((({defaultValue:o,borderRadius:l,paddingTop:t,paddingBottom:i,selectClassifyNav:n})=>{const{View:r,Text:d}=s(),m=c(o,n);return e(r,{style:{paddingTop:t,paddingBottom:i},children:e(r,{className:"classifyNav",children:m.map(((o,s)=>a(r,{className:"classifyNavItem",onClick:()=>{var e,a;return pe(null===(e=o.link)||void 0===e?void 0:e.value,null===(a=o.link)||void 0===a?void 0:a.params)},children:[e("img",{src:o.imgUrl,alt:"",className:"img",style:{borderRadius:`${l}px`}}),e(d,{className:"label",children:o.title})]},s)))})})})),Go=({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:t,navBgColor:i,navBoxShadow:n,imgRadius:r,imgBoxShadow:d,layout:m,marginTop:h,marginBottom:p})=>{const{View:u}=s(),g=c(a,o);return e(u,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${m}, 1fr)`,borderRadius:l,border:`1px solid ${t}`,backgroundColor:i,boxShadow:n?"0px 0px 20px 10px #ddd":"none",marginTop:h,marginBottom:p},children:g.map(((a,o)=>e(u,{className:"classifyNav-item",onClick:()=>{var e,o;return pe(null===(e=a.link)||void 0===e?void 0:e.value,null===(o=a.link)||void 0===o?void 0:o.params)},children:e("img",{src:a.imgUrl,alt:"",className:"classifyNav-item-img",style:{borderRadius:r,boxShadow:d?"0px 0px 20px 5px #EEE":"none"}})},o)))})},Eo=se(Go),Ho=se((({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:t,navBgColor:i,navBoxShadow:n,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:p,marginTop:u,marginBottom:g})=>{const{View:N}=s(),C=c(a,o),b=te((()=>ye("classifyNav-two-item-title",...h)),[h]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${p}, 1fr)`,border:`1px solid ${t}`,borderRadius:l,backgroundColor:i,boxShadow:n?"0px 0px 20px 5px #EEE":"none",marginTop:u,marginBottom:g},children:C.map(((a,o)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,o;return pe(null===(e=a.link)||void 0===e?void 0:e.value,null===(o=a.link)||void 0===o?void 0:o.params)},style:{width:4===p?"74px":"60px"},children:e(N,{className:b,style:{fontSize:r,color:d},children:a.title})},o)))})})),Yo=se((({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:t,navBgColor:i,navBoxShadow:n,imgRadius:r,imgBoxShadow:d,fontSize:m,fontColor:h,tagBgColor:p,otherStyle:u,layout:g,marginTop:N,marginBottom:C})=>{const{View:b}=s(),f=c(a,o);return e(b,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${g}, 1fr)`,border:`1px solid ${t}`,borderRadius:l,backgroundColor:i,boxShadow:n?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:C},children:f.map(((a,o)=>e(b,{className:"classifyNav-three-item",onClick:()=>{var e,o;return pe(null===(e=a.link)||void 0===e?void 0:e.value,null===(o=a.link)||void 0===o?void 0:o.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(b,{className:"classifyNav-three-item-tag",style:{backgroundColor:p},children:e(b,{className:["classifyNav-three-item-txt",...u].join(" "),style:{fontSize:m,color:h},children:a.title})})},o)))})})),Uo=se((({defaultValue:o=[],classCode:l="",margin:t,circular:i=!1,cell:n,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:b=!0,goodsBorder:f=!0,goodsShadow:y=!1,marginGap:x=10})=>{const[k,w]=ie(o),v=me(),{View:S,Text:I}=s();return ne((()=>{Be(v.current,d)||(v.current=d,Ie(d)?w(o):Qe(void 0,void 0,void 0,(function*(){try{const e=yield we({goodsCode:d.toString(),distinctField:"goodsNo"}),a=Se(e,"list",[]);w(a)}catch(e){w(o)}})))}),[d]),e(S,{style:{paddingTop:h,paddingBottom:p},children:e(S,{className:ye({[`goods-${l}`]:!0}),style:{display:"grid",gap:x,marginBottom:t,gridTemplateColumns:`repeat(${n}, 1fr)`,paddingLeft:u,paddingRight:g},children:k.map(((o,l)=>a(S,{style:{overflow:"hidden",borderRadius:i?"8px":"0px",border:f?"1px solid #000000":""},onClick:()=>pe("goodDetail",{skuCode:o.skuCode}),className:["goods "+(y?"outer-shadow":"")].join(" "),children:[e(S,{className:"goods-img",style:{backgroundImage:`url(${o.dataPic})`}}),a(S,{className:"space",children:[e(S,{className:"titleType",style:{display:N?"block":"none"},children:o.goodsName}),e(S,{className:"subTitle",children:o.brandName}),c&&a(S,{className:"sales",children:["已售:",o.goodsSalesvolume,"件"]}),a(S,{className:"price",children:[a(S,{style:{fontSize:18},children:[C?Ze(o.pricesetNprice):"",1===m&&e(I,{className:"markedPrice",children:Ze(o.pricesetMakeprice)})]}),e(S,{className:"anticon",style:{display:b?"block":"none"},children:e(ra,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},l)))})})})),Qo=se((({defaultValue:o,goods:l,price:t,marketPrice:i,cart:n,wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:p,goodsGap:u,marginTop:g,marginBottom:N,marginLeft:C,marginRight:b})=>{const{View:f}=s(),{list:y}=j({defaultValue:o,goods:l});return e(f,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N,marginLeft:C,marginRight:b},children:y.map(((o,l)=>a(f,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:p,marginRight:`${u}px`},onClick:()=>pe("goodDetail",{skuCode:o.skuCode}),children:[e(f,{className:"img",style:{backgroundImage:`url(${o.dataPic})`}}),a(f,{className:"board",children:[e(f,{className:"title",children:o.goodsName}),a(f,{className:"info",children:[a(f,{className:"lPart",children:[t?e(f,{className:"price",children:Ze(o.pricesetNprice)}):null,i?e(f,{className:"marketPrice",children:Ze(o.pricesetMakeprice)}):null]}),n?e(f,{className:"rPart",children:e(ra,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},l)))})})),Ko=ue(),qo=se((({defaultValue:o,goods:l,GoodsSlideshowBg:t,marketPrice:i,goodsName:n,salesNum:c,price:r,goodsRadius:d,goodsBorder:m,goodsShadow:h,btnText:p,btnBg:u,btnColor:g,btnRadius:N})=>{const{list:C}=j({defaultValue:o,goods:l}),{SmoothSwiper:b,View:f,Image:y}=s(),[x,k]=ie(0);return a(f,{className:"goodsSlideshow",children:[e(y,{src:t,className:"bg",mode:"widthFix"}),e(b,{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:o=>a(f,{className:["goodsSlideshowItem",""+(o.goodsCode===C[x].goodsCode&&Ko?"active":"")].join(" "),style:{borderRadius:d,borderStyle:m?"solid":"none",boxShadow:h?"0px 0px 20px 10px #ddd":""},onClick:()=>pe("goodDetail",{skuCode:o.skuCode}),children:[e(y,{className:"logo",src:o.dataPic,mode:"widthFix"}),n?e(f,{className:"goodsName",children:o.goodsShowname}):null,c?a(f,{className:"salesNum",children:["销量:",o.goodsSalesvolume]}):null,r?e(f,{className:"price",children:Ze(o.pricesetNprice)}):null,i?e(f,{className:"marketPrice",children:Ze(o.pricesetMakeprice)}):null,e(f,{className:"btn",style:{backgroundColor:u,color:g,borderRadius:N},children:p})]})})]})})),Zo=({skuCode:a,autoplay:o,vertical:l})=>{const{rsGoodsFileDomainList:s=[]}=F(a),t=W(s);return e(He,{selectImg:t,type:1,autoplay:o,vertical:l,imgHeight:{height:375,width:375}})},$o=o=>{const{SmoothView:l,View:t}=s(),{handleCollect:i,collection:n}=G(o);return a(t,{onClick:i,children:[Ie(n.dataObj)?e(ra,{value:"star-fill",style:{fontSize:20}}):e(ra,{value:"star-fill",style:{color:"red",fontSize:20}}),e(l,{className:"txt",children:Ie(n.dataObj)?"收藏":"已收藏"})]})},Xo=({skuCode:o,priceShow:l,collectionShow:t})=>{const{View:i,SmoothView:n}=s(),{rsSkuDomainList:c}=F(o),{goodInfo:r}=E(c);return H(o),a(i,{className:"goodsDetail-topInfo",children:[a(i,{className:"lPart",children:[e(n,{className:"name",children:r.goodsName}),e(n,{className:"price",style:{display:l?"block":"none"},children:Ze(r.pricesetNprice)})]}),e(i,{className:"rPart",style:{display:t?"flex":"none"},children:e($o,{goodsName:r.goodsName,pricesetNprice:r.pricesetNprice,dataPic:r.dataPic,skuCode:o})})]})},Jo=se((o=>{const{collectionShow:l,shareShow:t}=o,{View:i}=s(),{handleCollect:n,collection:c}=G(o),{handleShare:r}=Y();return a(i,{className:"handleBar",children:[l?e(i,{className:"collection",onClick:n,style:{borderRight:t?"1px solid #ddd":"none"},children:Ie(c.dataObj)?"收藏":"已收藏"}):null,t?e(i,{className:"share",onClick:r,children:"分享"}):null]})})),_o=se((({skuCode:o,priceShow:l,collectionShow:t,shareShow:i})=>{const{View:n,SmoothView:c}=s(),{rsSkuDomainList:r}=F(o),{goodInfo:d}=E(r);return H(o),a(n,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:l?"block":"none"},children:Ze(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(Jo,{collectionShow:t,shareShow:i,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:d.dataPic,skuCode:o})]})})),el=()=>{const{Text:e}=s(),o=Q((e=>e.count)),l=Q((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",o," 规格: ",l.toString()]})},al=({dispatchPageStore:l})=>{const{View:t,Text:i}=s(),{openPopup:n}=U(l);return e(o,{children:a(t,{className:"goodsDetail-size",onClick:n,children:[e(i,{className:"label",children:"规格"}),a(t,{className:"info",children:[e(el,{}),e("img",{src:Fe,alt:"",className:"icon"})]})]})})},ol=({skuCode:o})=>{const{View:l,Text:t}=s(),{rsSkuDomainList:i}=F(o),{goodInfo:n}=E(i),c=K(i,n.skuCode||o);return a(l,{className:"goodsDetail-promotion",children:[e(t,{className:"label",children:"促销"}),e(l,{className:"group",children:c.length?c.map((({discName:a},o)=>e(l,{className:"item",children:a},o))):e(l,{className:"noPromotion",children:"暂无促销活动"})})]})},ll=se((({promotionBegintime:o,pbName:l,discName:t,promotionCode:i,promotionName:n,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=s(),{save:p,isPick:u}=q(),g=te((()=>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:l}),e(m,{className:"num",children:t})]}),a(m,{className:"info",children:[e(h,{className:"title",children:n}),a(h,{className:"date",children:[ve(o).format("YYYY-MM-DD")," - ",ve(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:"已领完"})]})})})),sl=()=>{const{View:a,Image:o}=s();return e(a,{children:e(o,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},tl=({skuCode:l})=>{const{View:t,Text:i,Popup:n}=s(),{rsSkuDomainList:c}=F(l),{goodInfo:r}=E(c),{coupon:d,visible:m,setVisible:h}=Z(c,r.skuCode||l);return a(o,{children:[a(t,{className:"goodsDetail-coupon",onClick:()=>h(!0),children:[e(i,{className:"label",children:"优惠券"}),a(t,{className:"info",children:[e(i,{className:"label",children:"请选择优惠券"}),e("img",{src:Fe,alt:"",className:"icon"})]})]}),e(n,{popupVisible:m,popupHandler:h,children:e(t,{className:"goodsDetail-coupon-popup",children:e(ta,{children:d.length>0?d.map(((e,a)=>ce(ll,Object.assign({},e,{key:a})))):a(t,{className:"NoDataImg",children:[e(sl,{}),e(t,{className:"btn",onClick:()=>h(!1),children:"确定"})]})})})})]})},il=({item:o})=>{const{View:l,Image:t}=s();return a(l,{className:"rateItem",children:[a(l,{className:"topInfo",children:[a(l,{className:"lPart",children:[e(t,{src:o.userImgurl,className:"avatar"}),a(l,{className:"userInfo",children:[e(l,{className:"name",children:o.userName}),e(Ra,{readOnly:!0,size:14,count:o.evaluateScopeReList.length})]})]}),e(l,{className:"rPart",children:`${new Date(o.gmtCreate).getFullYear()}-${new Date(o.gmtCreate).getMonth()+1}-${new Date(o.gmtCreate).getDate()}`})]}),e(l,{className:"size",children:o.skuName}),e(l,{className:"content",children:o.evaluateGoodsContent})]})},nl=({evaluateArr:o})=>{const{View:l}=s(),t=me(o);return e(l,{className:"goodsDetailEvaluate",children:t.current.length?a(l,{children:[a(l,{className:"topInfo",children:["评价 (",t.current.length,")"]}),t.current.slice(0,5).map(((a,o)=>e(il,{item:a},o)))]}):e(Ja,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},cl=({goodsRemark:a})=>{const{View:o}=s(),l=te((()=>a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<img/gi,'<img class="mystyle" mode="widthFix"').replace(/<!--[\s\S]*-->/gi,"")),[a]);return e(o,{className:"goodsDetail-info",children:e("div",{dangerouslySetInnerHTML:{__html:l||""}})})},rl=({tabActive:l,setTabActive:t,evaluateShow:i,evaluateImgShow:n,evaluateImg:c})=>{const{Text:r}=s(),d=te((()=>n?[{title:"商品详情",id:"1"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[i]);return e(o,{children:d.map(((o,s)=>e(he,{children:a(r,{className:"tabsItem "+(l===s?"active":""),onClick:()=>t(s),children:[o.title,e(r,{className:"line"})]})},s)))})},dl=({skuCode:o,evaluateShow:l,evaluateImgShow:t,evaluateImg:i})=>{const{View:n}=s(),[c,r]=ie(0),{goodsRemark:d,goodsCode:m}=F(o),h=$(m);return a(n,{className:"goodsDetailTab",children:[e(n,{className:"tabs",children:e(rl,{tabActive:c,setTabActive:r,evaluateShow:l,evaluateImgShow:t,evaluateImg:i})}),e(n,{className:"group",children:0===c?e(cl,{goodsRemark:d}):e(nl,{evaluateArr:h,evaluateImgShow:t,evaluateImg:i})})]})},ml=({skuName:o,handleChooseSize:l,spec:t,skuOption:i,index:n})=>{const{View:c,Text:r}=s();return a(c,{className:"sizeArr",children:[e(r,{className:"title",children:o}),e(c,{className:"sizeArrItemWrap",children:i.map(((a,o)=>e(c,{className:"sizeItem "+(t[n]===a.specValueValue?"active":""),onClick:l.bind(null,a.specValueValue,n),children:a.specValueValue},o)))})]})},hl=se((({handleStep:o})=>{const{View:l,NumStep:t}=s(),i=Q((e=>e.count));return a(l,{className:"countWrap",children:[e(l,{className:"label",children:"购买数量"}),e(t,{count:i,handleStep:o})]})})),pl=({skuInfo:l,handleChooseSize:t,spec:i,goodInfo:n})=>{const{Image:c,View:r}=s(),{skuList:d}=l;return a(o,{children:[a(r,{className:"goodsInfo",children:[e(r,{className:"lPart",children:e(c,{src:n.dataPic,alt:"",className:"goodsImg"})}),a(r,{className:"rPart",children:[e(r,{className:"name",children:n.goodsName}),e(r,{className:"price",children:Ze(n.pricesetNprice)}),a(r,{className:"chosen",children:["已选择: ",i.toString()]})]})]}),d.map(((a,o)=>e(ml,{spec:i,handleChooseSize:t,index:o,skuName:a.skuName,skuOption:a.skuOption},o)))]})},ul=({cashImpl:l,addShoppingImpl:t,addCardImpl:i})=>{const{Text:n,View:c}=s(),r=Q((e=>e.isNeedButton));return e(o,{children:r?e(c,{className:"btnWrap",onClick:t,children:e(n,{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:l,children:"立即购买"})]})})},gl=se((({dispatchPageStore:o,goodsCode:l,skuInfo:t,rsSkuDomainList:i})=>{const{View:n}=s(),{spec:c,goodInfo:r}=E(i),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:p,addShoppingImpl:u}=X(l,t,o);return a(n,{className:"goodsDetail-size-popup",children:[a(n,{className:"content",children:[e(pl,{skuInfo:t,handleChooseSize:d,spec:c,goodInfo:r}),e(hl,{handleStep:m.bind(null,r.goodsNum)})]}),e(ul,{cashImpl:p,addShoppingImpl:u,addCardImpl:h})]})})),Nl=({popupVisible:a,dispatchPageStore:o,goodsCode:l,skuInfo:t,rsSkuDomainList:i})=>{const{Popup:n}=s();return e(n,{popupVisible:a,popupHandler:()=>{o((e=>Object.assign(Object.assign({},e),{popupVisible:!1})))},children:e(gl,{dispatchPageStore:o,goodsCode:l,skuInfo:t,rsSkuDomainList:i})})},Cl=({skuCode:l,serverShow:t,cartShow:i,lPartColor:n,lPartBgColor:c,lPartStyle:r,rPartColor:d,rPartBgColor:m,rPartStyle:h,popupVisible:p=!1,dispatchPageStore:u=Ve})=>{const{Text:g,View:N,IconMobile:C}=s(),{rsSpecValueDomainList:b,goodsCode:f,rsSkuDomainList:y}=F(l),x=J(b),{servicePopup:k}=qe(),{addCardPopup:w,buyOpenPopup:v}=U(u);return a(o,{children:[a(N,{className:"goodsDetailHandleBar",children:[a(N,{className:"linkGroup server",onClick:k,style:{display:t?"block":"none"},children:[e(C,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(g,{className:"txt",children:"客服"})]}),a(N,{className:"linkGroup cart",onClick:()=>pe("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:n,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(Nl,{dispatchPageStore:u,popupVisible:p,goodsCode:f,rsSkuDomainList:y,skuInfo:x})]})},bl=({skuCode:l,serverShow:t,cartShow:i,lBtnBorderColor:n,lBtnFontColor:c,lBtnColor:r,lBtnStyle:d,rBtnBorderColor:m,rBtnFontColor:h,rBtnColor:p,rBtnStyle:u,popupVisible:g=!1,dispatchPageStore:N=Ve})=>{const{Text:C,View:b,IconMobile:f}=s(),{rsSpecValueDomainList:y,goodsCode:x,rsSkuDomainList:k}=F(l),w=J(y),{servicePopup:v}=qe(),{addCardPopup:S,buyOpenPopup:I}=U(N);return a(o,{children:[a(b,{className:"goodsDetailHandleBarOne",children:[a(b,{className:"linkGroup server",onClick:v,style:{display:t?"block":"none"},children:[e(f,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"客服"})]}),a(b,{className:"linkGroup cart",onClick:()=>pe("shopping"),style:{display:i?"block":"none"},children:[e(f,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"购物车"})]}),a(b,{className:"goods-detail-one-btn-group",children:[e(b,{className:"btn addCart",onClick:S,style:{border:`1px solid ${n}`,color:c,backgroundColor:r,borderRadius:1===d?"20px":"0"},children:"加入购物车"}),e(b,{onClick:I,className:"btn buy",style:{border:`1px solid ${m}`,color:h,backgroundColor:p,borderRadius:1===u?"20px":"0"},children:"立即购买"})]})]}),e(Nl,{dispatchPageStore:N,popupVisible:g,goodsCode:x,rsSkuDomainList:k,skuInfo:w})]})},fl=se((({defaultValue:o,coupons:l,bg:t,borderColor:i,btnColor:n,typeColor:c,titleColor:r,ruleColor:d,timeColor:m,paddingTop:h,paddingBottom:p})=>{const{View:u}=s(),{list:g,takeCoupon:N,takeList:C}=_({defaultValue:o,coupons:l});return e(u,{style:{paddingTop:`${h}px`,paddingBottom:`${p}px`},children:g.map(((o,l)=>{const s=Se(o,"pbName"),h=Se(o,"pmPromotionDiscountList"),p=Se(h.at(-1),"discName"),g=Se(o,"promotionName"),b=ve(Se(o,"promotionBegintime")).format("YYYY-MM-DD"),f=ve(Se(o,"promotionEndtime")).format("YYYY-MM-DD"),y=Se(o,"promotionCode");return a(u,{className:"OneLineOneBlc",style:{backgroundColor:t,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:[b," - ",f]})]})]}),e(u,{className:"rPart",style:{backgroundColor:n},children:-1===o.availabledate||C.includes(l)?e(u,{className:"txt",children:"已 领 取"}):e(u,{className:"txt",onClick:()=>N({promotionCode:y,couponAmount:1,index:l}),children:"立 即 领 取"})})]},l)}))})})),yl=se((({defaultValue:o,coupons:l,bg:t,borderColor:i,btnColor:n,typeColor:c,ruleColor:r,titleColor:d,timeColor:m,gap:h,paddingTop:p,paddingBottom:u})=>{const{View:g}=s(),{list:N,takeCoupon:C,takeList:b}=_({defaultValue:o,coupons:l});return e(g,{className:"oneLineTwoBlc",style:{paddingTop:p,paddingBottom:u,paddingLeft:"10px",paddingRight:"10px",gap:h},children:N.map(((o,l)=>{const s=Se(o,"pbName"),h=Se(o,"pmPromotionDiscountList"),p=Se(h.at(-1),"discName"),u=Se(o,"promotionName"),N=ve(Se(o,"promotionBegintime")).format("YYYY-MM-DD"),f=ve(Se(o,"promotionEndtime")).format("YYYY-MM-DD"),y=Se(o,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:t,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," - ",f]})]}),e(g,{className:"rPart",style:{backgroundColor:n},children:-1===o.availabledate||b.includes(l)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>C({promotionCode:y,couponAmount:1,index:l}),children:"立 即 领 取"})})]},l)}))})})),xl=se((o=>{var{type:l=1,coupons:t=[]}=o,i=Ue(o,["type","coupons"]);const{View:n}=s();return a(n,{className:"getCouponOne",children:[1===l?e(fl,Object.assign({coupons:t},i)):null,2===l?e(yl,Object.assign({coupons:t},i)):null]})})),kl=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],wl=se((({activeColor:a,setParams:o,params:l})=>{const{View:t}=s();return e(t,{className:"promotionListTab",children:kl.map(((s,i)=>e(t,{className:"promotionListTabItem",onClick:()=>o(s.val),style:{color:s.val===l?a:"#000"},children:s.label},i)))})})),vl=({data:o})=>{const{View:l}=s(),{pbName:t,promotionName:i,pmPromotionDiscountList:n,promotionBegintime:c,promotionEndtime:r}=o;return a(l,{className:"promotionItem",children:[a(l,{className:"lPart",children:[e(l,{className:"round"}),e(l,{className:"tagBg",children:a(l,{className:"txt",children:["官方",t]})}),e(l,{className:"rule",children:n.at(-1).discName}),e(l,{className:"title",children:i}),a(l,{className:"time",children:[ve(c).format("YYYY-MM-DD")," ~ ",ve(r).format("YYYY-MM-DD")]})]}),e(l,{className:"rPart",children:e(l,{className:"sideBorder"})})]})},Sl=se((({activeColor:o,paddingTop:l,paddingBottom:t})=>{const[i,n]=ie(kl[0].val),{list:c,getData:r}=ee({params:i}),{View:d,ScrollView:m}=s();return a(d,{style:{padding:`${l}px 0 ${t}px`},children:[e(wl,{activeColor:o,setParams:n,params:i}),e(d,{children:e(ta,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,o)=>e(vl,{data:a},o)))})})})]})})),Il=se((()=>e(o,{children:"123"}))),Al=({setDefault:a,checked:o})=>{const{SmoothCheckbox:l,Checkbox:t}=s();return e(l,{onChange:a,children:e(t,{checked:o,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},Bl=({itemData:o,delAddress:l,setDefault:t})=>{const{View:i,Text:n}=s(),{handlerImpl:c}=ae(o);return a(i,{className:"addressItem",children:[a(i,{className:"upInfo",onClick:c,children:[a(i,{className:"userInfo",children:[o.addressMember," ",o.addressPhone]}),e(i,{className:"addressInfo",children:a(n,{className:"address",children:[o.provinceName," ",o.areaName," ",o.cityName," ",o.addressDetail]})})]}),a(i,{className:"downInfo",children:[e(Al,{checked:"1"===(null==o?void 0:o.addressDefault),setDefault:t}),e(n,{className:"del",onClick:l,children:"删除"})]})]})},Vl=se((()=>{const{View:a,Skeleton:l}=s(),t=me(new Array(3).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:t.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})})),Tl=se((({refreshNum:a,btnShape:o,btnColor:l,borderColor:t,paddingBottom:i,paddingTop:n,color:c})=>{const{View:r}=s(),{list:d,delAddress:m,setDefault:h,skullShow:p}=oe(a);return e(r,{className:"addressListWrap",style:{paddingTop:n+"px",marginBottom:i+"px"},children:p?e(Vl,{}):e(r,{className:"addressList",children:d.length?d.map(((a,o)=>e(Bl,{itemData:a,setDefault:h.bind(null,a,o),delAddress:m.bind(null,a)},null==a?void 0:a.addressId))):e(Ja,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),Dl=se((({borderColor:a,color:o,btnColor:l,btnShape:t,paddingTop:i,paddingBottom:n})=>{const{View:c}=s();return e(c,{className:"addressListBtnWrap",style:{paddingTop:`${i}px`,paddingBottom:`${n}px`},children:e(c,{style:{borderRadius:t,borderColor:a,color:o,backgroundColor:l},className:"addressListBtn",onClick:()=>pe("addressEditor"),children:"+ 新增地址"})})})),Ll=ue(),Pl=se((({contractBillcode:o,contractBbillcode:l,btnColor:t,btnShape:i,borderColor:n,paddingTop:c,paddingBottom:r,color:d})=>{const{View:m,Text:h,Radio:p,IconMobile:u,WrapLoading:g,SmoothRadio:N}=s(),{paymentImpl:C,channelList:b,contract:f,handleRadio:y,loading:x}=le({contractBillcode:o,contractBbillcode:l});return a(m,{className:"paymentModeWrap",style:{height:Ll?"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:["订单号:",f.current.contractBillcode," | 总金额:",Ze(f.current.dataBmoney),"元"]})]}),e(m,{className:"paymentGroup",children:e(N,{onChange:y,children:null==b?void 0:b.map((o=>a(m,{className:"paymentItem",children:[e(u,{value:o.icon}),a(m,{children:[a(m,{className:"base",children:[e(h,{children:o.fchannelName}),e(p,{value:o.fchannelCode,className:"choose"})]}),"account"===o.value?a(m,{className:"info",children:[e(m,{children:"账户余额:0元"}),e(m,{children:"本单抵扣:5.4元"})]}):null]})]},o.fchannelCode)))})})]}),e(m,{id:"v_html"}),e(g,{loading:x,children:e(m,{className:"btnGroup",onClick:C,children:e(m,{style:{borderRadius:i,backgroundColor:t,color:d,borderColor:n},className:"payment",children:"立即支付"})})})]})})),Rl=se((({title:o})=>{const{View:l}=s();return a(l,{className:"refundOptionStyle",children:[o,a(l,{className:"optionItem",onClick:()=>{pe("refundOnly",{})},children:[e(l,{className:"refund_icon",children:e(ra,{value:"tuikuantuihuo",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(l,{className:"refund_text",children:[e(l,{className:"refund_type_title",children:"仅退款(无需退货)"}),e(l,{className:"refund_tip",children:"没收到货,或与卖家协商同意不用退货只退款"})]}),e(l,{className:"refund_icon_end",children:e(ra,{value:"xiangyou1",style:{fontSize:16}})})]}),a(l,{className:"optionItem",children:[e(l,{className:"refund_icon",children:e(ra,{value:"tuikuantuihuo1",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(l,{className:"refund_text",children:[e(l,{className:"refund_type_title",children:"我要退货退款"}),e(l,{className:"refund_tip",children:"已收到货,需要退还收到的货物"})]}),e(l,{className:"refund_icon_end",children:e(ra,{value:"xiangyou1",style:{fontSize:16}})})]}),a(l,{className:"optionItem",children:[e(l,{className:"refund_icon",children:e(ra,{value:"huanhuo",style:{fontSize:20,color:"rgb(255, 136, 9)"}})}),a(l,{className:"refund_text",children:[e(l,{className:"refund_type_title",children:"我要换货"}),e(l,{className:"refund_tip",children:"已收到或,需要退还更换"})]}),e(l,{className:"refund_icon_end",children:e(ra,{value:"xiangyou1",style:{fontSize:16}})})]})]})})),zl=se((({value:o,getAmountNum:l,goodsCamount:t})=>{const{View:i}=s(),n=ue();return a(i,{className:"count_btn_style",children:[e(i,{className:"btn_left",onClick:()=>{if(o<=1){if(n){Ne().showToast({title:"退货数量最低为1",icon:"none",mask:!0})}}else l(o-1)},children:"-"}),e(i,{className:"btn_middle",children:o}),e(i,{className:"btn_right",onClick:()=>{if(o>=t){if(n){Ne().showToast({title:"退货数量最多不得超出购买该商品总数量!",icon:"none",mask:!0})}}else l(o+1)},children:"+"})]})})),Ol=se((({title:o,dataPic:l,goodsName:t,goodsCamount:i=2,price:n})=>{const[c,r]=ie(!0),[d,m]=ie(i),{View:h,Image:p}=s();console.log("当前退货数量为",d);const u=te((()=>ye("goods_nums",{goods_nums_btm:Number(i)>1},{goods_nums_btm1:Number(i)<2})),[i]);return a(h,{className:"refundGoodsDeatil",children:[o,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(ra,{value:"bangzhu",style:{fontSize:15}})}),e(zl,{value:d,getAmountNum:e=>{m(e)},goodsCamount:i})]}):`x${i}`]})]}),e(h,{className:"help_btn",style:{display:c?"block":"none"},children:"如部分商品售后成功,剩余商品将不能申请售后"})]})]})})),Ml=se((o=>{console.log("退款类型",o);const{View:l}=s();return a(l,{className:"refundPage",children:[e(l,{className:"goodsMsg",children:e(Ol,Object.assign({title:"退款商品"},o))}),e(l,{className:"refundOption",children:e(Rl,{title:"选择售后类型"})})]})})),jl=se((()=>{const[o,l]=ie(!1),[t,i]=ie(980),{View:n,Input:c,Popup:r}=s();return a(n,{className:"refundMsgPage",children:[a(n,{className:"refundItem",onClick:()=>{l(!0)},children:[a(n,{className:"refundMsg",children:[a(n,{className:"inputText",children:[e(n,{className:"icon",children:"*"}),e(n,{className:"text",children:"退款原因"})]}),a(n,{className:"optionText",children:[e(n,{className:"text1",children:"请选择"}),e(n,{className:"icon",children:">"})]})]}),e(n,{className:"refundTip",children:"请选择退款原因!退款原因不能为空!"})]}),a(n,{className:"refundItem",children:[a(n,{className:"refundMsg",children:[a(n,{className:"inputText",children:[e(n,{className:"icon",children:"*"}),e(n,{className:"text",children:"退款金额"})]}),a(n,{className:"optionText",children:[e(n,{className:"text",children:a(n,{className:"textInp",children:["¥",e(c,{className:"inputText",disabled:!1,value:$e(t),onBlur:e=>{i(e.detail.value)}})]})}),e(n,{className:"icon1",children:a(n,{className:"iconContent",children:[e(ra,{value:"bianjishuru",style:{fontSize:12,color:"#000000"}}),e(n,{className:"updatebtn",children:"修改"})]})})]})]}),e(n,{className:"refundTip1",children:"可修改,最多¥980.00,含运费¥0.00"})]}),e(r,{popupVisible:o,popupHandler:l,children:e(n,{className:"goodsDetail-coupon-popup",children:e(ta,{children:"123213"})})})]})})),Fl=se((()=>{const{View:o}=s();return a(o,{className:"refundOnlyPage",children:[e(o,{className:"refundTip",children:"请与商家协商,确认达成一致后填写协商好的退款金额"}),e(o,{className:"refundMsg_style",children:e(jl,{})})]})}));export{Ua as AddressDetail,Tl as AddressList,Dl as AddressListBtn,Il as AllCouponList,Sl as AllPromotionList,So as ArticleDetail,Mo as BackTop,ao as Cart,po as CartList,uo as CartOperate,oo as CartTop,Wo as ClassifyNav,Eo as ClassifyNavOne,Go as ClassifyNavOneJsx,Yo as ClassifyNavThree,Ho as ClassifyNavTwo,wo as CollectionList,$a as CouponList,ze as Cube,za as EvaluateDetail,Pa as EvaluateList,ja as ExpressInfo,xo as FootPrint,xl as GetCouponOne,Uo as Goods,ga as GoodsClassify,xa as GoodsClassifyOne,Sa as GoodsClassifyTwo,dl as GoodsDetailAndEvaluate,Zo as GoodsDetailBanner,tl as GoodsDetailCoupon,Cl as GoodsDetailHandleBar,bl as GoodsDetailHandleBarOne,Xo as GoodsDetailInfo,_o as GoodsDetailInfoOne,ol as GoodsDetailPromotion,al as GoodsDetailSku,Ba as GoodsList,Qo as GoodsSlider,qo as GoodsSlideshow,Fo as Line,go as MineData,Co as MineFunction,No as MineOrderEntry,Pe as Notice,vo as NoticeDetail,ha as OrderDetail,ca as OrderList,Pl as PaymentMode,Vo as PlaceOrderAddress,Do as PlaceOrderCoupon,Lo as PlaceOrderDelivery,Po as PlaceOrderGood,Ro as PlaceOrderInfo,zo as PlaceOrderOperate,Ka as PlaceOrderResult,ra as QjMobileIcon,Ml as RefundAfter,Fl as RefundOnly,We as Search,Ta as SearchPage,Ge as SearchStyleTwo,Me as Service,Ye as Slider,jo as TextLine,Re as Title,Oe as Video};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const tipWord = "\u5982\u90E8\u5206\u5546\u54C1\u672A\u552E\u540E\u6210\u529F, \u5269\u4F59\u5546\u54C1\u5C06\u4E0D\u80FD\u7533\u8BF7\u552E\u540E";
|