s-material-react 2.2.28 → 2.2.30
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/common/index.scss +1 -0
- package/css/common/tooltip.scss +89 -0
- package/css/pages/goodsDetail.scss +5 -1
- package/dist/components/basic/slider-group/slider/sliderGoods.d.ts +39 -0
- package/dist/components/business/goods-group/goods-detail-info/tooltip.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/static/icon/index.d.ts +5 -0
- package/dist/utils/eventBus.d.ts +9 -0
- package/package.json +1 -1
package/css/common/index.scss
CHANGED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
.tooltip-wrap {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
position: relative;
|
|
4
|
+
vertical-align: middle;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tooltip-icon {
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// 提示框主体
|
|
15
|
+
.tooltip-popup {
|
|
16
|
+
position: absolute;
|
|
17
|
+
z-index: 999;
|
|
18
|
+
background: #333;
|
|
19
|
+
color: #fff;
|
|
20
|
+
padding: 6px 8px;
|
|
21
|
+
border-radius: 4px;
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
line-height: 1.4;
|
|
24
|
+
white-space: pre-wrap;
|
|
25
|
+
width: max-content;
|
|
26
|
+
max-width: 200px;
|
|
27
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
|
|
28
|
+
|
|
29
|
+
// 箭头
|
|
30
|
+
.tooltip-arrow {
|
|
31
|
+
position: absolute;
|
|
32
|
+
width: 0;
|
|
33
|
+
height: 0;
|
|
34
|
+
border: 4px solid transparent;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// 四个方向位置
|
|
39
|
+
.tooltip-top {
|
|
40
|
+
bottom: calc(100% + 8px);
|
|
41
|
+
left: 50%;
|
|
42
|
+
transform: translateX(-50%);
|
|
43
|
+
|
|
44
|
+
.tooltip-arrow {
|
|
45
|
+
top: 100%;
|
|
46
|
+
left: 50%;
|
|
47
|
+
transform: translateX(-50%);
|
|
48
|
+
border-top-color: #333;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.tooltip-bottom {
|
|
53
|
+
top: calc(100% + 8px);
|
|
54
|
+
left: 50%;
|
|
55
|
+
transform: translateX(-50%);
|
|
56
|
+
|
|
57
|
+
.tooltip-arrow {
|
|
58
|
+
bottom: 100%;
|
|
59
|
+
left: 50%;
|
|
60
|
+
transform: translateX(-50%);
|
|
61
|
+
border-bottom-color: #333;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.tooltip-left {
|
|
66
|
+
right: calc(100% + 8px);
|
|
67
|
+
top: 50%;
|
|
68
|
+
transform: translateY(-50%);
|
|
69
|
+
|
|
70
|
+
.tooltip-arrow {
|
|
71
|
+
left: 100%;
|
|
72
|
+
top: 50%;
|
|
73
|
+
transform: translateY(-50%);
|
|
74
|
+
border-left-color: #333;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.tooltip-right {
|
|
79
|
+
left: calc(100% + 8px);
|
|
80
|
+
top: 50%;
|
|
81
|
+
transform: translateY(-50%);
|
|
82
|
+
|
|
83
|
+
.tooltip-arrow {
|
|
84
|
+
right: 100%;
|
|
85
|
+
top: 50%;
|
|
86
|
+
transform: translateY(-50%);
|
|
87
|
+
border-right-color: #333;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface itemType {
|
|
3
|
+
imgUrl: string;
|
|
4
|
+
link: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
interface SwiperType {
|
|
8
|
+
defaultValue?: Array<itemType>;
|
|
9
|
+
type?: number;
|
|
10
|
+
autoplay?: boolean;
|
|
11
|
+
autoplayInterval?: number;
|
|
12
|
+
direction?: 'horizontal' | 'vertical';
|
|
13
|
+
loop?: boolean;
|
|
14
|
+
paddingTop?: number;
|
|
15
|
+
paddingBottom?: number;
|
|
16
|
+
paddingLeft?: number;
|
|
17
|
+
paddingRight?: number;
|
|
18
|
+
selectImg?: Array<itemType>;
|
|
19
|
+
collectParams?: {
|
|
20
|
+
goodsName: string;
|
|
21
|
+
pricesetNprice: number;
|
|
22
|
+
dataPic: string;
|
|
23
|
+
skuCode: string;
|
|
24
|
+
};
|
|
25
|
+
imgHeight?: {
|
|
26
|
+
height: number;
|
|
27
|
+
width: number;
|
|
28
|
+
};
|
|
29
|
+
vertical?: boolean;
|
|
30
|
+
className?: string;
|
|
31
|
+
className1?: string;
|
|
32
|
+
Position?: string;
|
|
33
|
+
fontsize?: number;
|
|
34
|
+
textAlign?: string;
|
|
35
|
+
fontColor?: string;
|
|
36
|
+
backGroundColor?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const SliderGoods: React.NamedExoticComponent<SwiperType>;
|
|
39
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a,Fragment as o}from"react/jsx-runtime";import l,{memo as s,useState as t,useEffect as n,useMemo as i,useRef as c,useContext as r,createContext as d,createElement as m,useCallback as h,Fragment as p}from"react";import{useComponent as u,IconMobile as g,antdMobile as N,NoticeBar as f}from"@brushes/simulate-component";import C from"classnames";import{getTaro as b,navigatorHandler as y,getEnv as v,taroMessage as S,getStorage as w,setStorage as x}from"@brushes/utils";import k from"@tarojs/taro";import{queryOcsconfigList as I,getAddress as B,find as T,goodsDetailQuery as A,getContractNumbers as D}from"qj-b2c-api";import{queryOcserviceConfPageByMember as P}from"qj-b2b-api";import{get as V,isEqual as L,isEmpty as R,noop as M,groupBy as z}from"lodash-es";import{useCube as O,useGoTop as E,useAfterSalesApply as F,useAfterSalesList as G,afterSalesTabConfig as W,useAfterSalesDetail as Y,useAfterSalesChooseType as j,useAddressItem as H,useAddressList as U,useEditAddress as $,useMySetting as Q,usePickupPointItem as K,usePickupPointList as q,useGoodsClassify as Z,useGoods as X,useGoodDetail as J,goodStore as _,useBanner as ee,useGoodCollection as ae,useGoodSpecAndPrice as oe,useGoodFootprint as le,useCreatePoster as se,useCreateMiniPoster as te,useGoodsShare as ne,useGoodSkuStore as ie,popupImplement as ce,usePromotion as re,useAddCoupon as de,useCoupon as me,useEvaluate as he,useAddShopping as pe,useGoodSku as ue,useGoodsList as ge,useCartTop as Ne,useCartListNext as fe,getRadioValue as Ce,useCartOperate as be,useOrderAddress as ye,useOrderPickupAddress as ve,userAddressData as Se,useOrderGood as we,useOrderCoupon as xe,useOrderInfo as ke,useOrderPay as Ie,useOrderResult as Be,useOrderResultResult as Te,useOrderOperate as Ae,orderStatusImpl as De,useOrderList as Pe,orderStatusList as Ve,useOrderDetail as Le,useExpressInfo as Re,useEvaluateDetail as Me,useEvaluateViewDetail as ze,useCollectionList as Oe,useFootprint as Ee,useMemberSignin as Fe,useSigninDetail as Ge,useMarketingPromotion as We,useCouponList as Ye,useAllCoupon as je,useNotice as He,useNoticeDetail as Ue,useArticleDetail as $e}from"qj-b2c-store";import{fullPath as Qe,checkMobile as Ke,ProvinceComponent as qe,CityComponent as Ze,AreaComponent as Xe,navigatorLink as Je}from"@brushes/shared-utils";import _e from"dayjs";import{DynamicForm as ea}from"@brushes/mobile-form";import{deleteEvaluateGoods as aa}from"b2c-api";import{RichText as oa}from"@tarojs/components";const la=s((({width:a,height:o,top:l,right:s,bottom:t,left:n,borderRadius:i})=>{const{View:c}=u();return e(c,{style:{width:a,height:o,borderRadius:i,top:l,left:n,right:s,bottom:t},className:"components-service"})})),sa=({className:a="iconfont",prefixClass:o="icon",onClick:l=()=>{},style:s={fontSize:16,color:"#444",fontWeight:900},value:t})=>{const{Text:n}=u();return e(n,{onClick:l,className:C(o,t?`${o}-${t}`:"",a),style:s})},ta=s((({value:l,shared:s,goPath:t,goPointsPath:n,textIndent:i,fontSize:c,textAlign:r,color:d,backgroundColor:m,fontWeight:h,textDecoration:p,fontStyle:g,paddingTop:N,paddingLeft:f,paddingRight:C,paddingBottom:v})=>{const{View:S,IconMobile:w,Button:x}=u(),I=b(),B="WEB"===k.getEnv(),T=()=>{const e=b();e.setClipboardData({data:window.location.href,success:()=>{e.showToast({title:"复制成功",icon:"success"})},fail:()=>{e.showToast({title:"复制失败",icon:"none"})}})};return a(S,{className:"components-title",style:{paddingTop:N,paddingBottom:v},children:[e(S,{onClick:()=>{var e;e=l,t?y("goodList",{searchParam:e}):n&&y("PointsGoodsList",{searchParam:e})},style:{fontSize:c,textAlign:r,color:d,backgroundColor:m,fontWeight:h,textDecoration:p,fontStyle:g,paddingLeft:f,paddingRight:C,textIndent:i},children:l}),s&&e(o,{children:B?e(S,{onClick:e=>{var a;e.stopPropagation(),B?T():null===(a=null==I?void 0:I.showShareMenu)||void 0===a||a.call(I,{withShareTicket:!0,menus:["shareAppMessage","shareTimeline"]})},children:e(w,{style:{fontSize:20,color:"#f00"},value:"share"})}):e(x,{openType:"share",onClick:e=>{e.stopPropagation()},className:"wx-share-button",children:e(w,{style:{fontSize:20,color:"#f00"},value:"share"})})})]})})),na=({TextLineBgColor:o,text:l,contentSize:s,lineStyle:t,fontSize:n,textAlign:i,fontColor:c,lineColor:r,fontWeight:d,fontStyle:m,textDecoration:h})=>{const{View:p}=u();return a(p,{className:"textLine",style:{backgroundColor:o,textAlign:i,margin:1===s?"0 10px":""},children:[e(p,{className:"blc",style:{borderBottom:`1px ${t} ${r}`}}),e(p,{className:"txt",style:{backgroundColor:o,fontWeight:d,fontStyle:m,textDecoration:h,fontSize:`${n}px`,color:c},children:l})]})},ia=s((({borderStyle:a,borderRadius:o,height:l,width:s,backgroundColor:t,paddingTop:n,paddingBottom:i})=>{const{View:c}=u();return e(c,{style:{paddingTop:n,paddingBottom:i},children:e(c,{style:{borderRadius:o+"%",borderStyle:a,width:s+"%",height:l+"px",backgroundColor:t,marginLeft:"auto",marginRight:"auto"}})})}));function ca(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 ra(e,a,o,l){return new(o||(o=Promise))((function(s,t){function n(e){try{c(l.next(e))}catch(e){t(e)}}function i(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(n,i)}c((l=l.apply(e,a||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const da=(e="b2c")=>{const[a,o]=t([]),l=i((()=>v()),[]);n((()=>{ra(void 0,void 0,void 0,(function*(){const e=yield s();o(c(e))}))}),[]);const s=()=>ra(void 0,void 0,void 0,(function*(){switch(e){case"b2c":return yield I();case"b2b":return yield P().then((e=>e.list))}})),c=a=>{if(0===a.length)return["未知客服信息"];let o=[];if("b2c"===e){const e=V(a[0],"ocsOcserviceReDomain.ocsOcserviceConfReDomainList",[]);for(let a=0;a<e.length;a++){const l=e[a];o.push(`${V(l,"ocserviceConfRemark")}: ${V(l,"ocserviceConfValue")}`)}}else"b2b"===e&&o.push(`客服电话: ${V(a[0],"ocserviceConfValue")}`);return o};return{servicePopup:()=>{if(!l)return;b().showActionSheet({itemList:a})}}},ma={label:""},ha=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}):"¥ 0",pa=(e=0)=>e?e.toLocaleString("en-Us",{minimumFractionDigits:2}):"0",ua=(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}`},ga=e=>1===String(e).indexOf(".")?Na(e):fa(e),Na=e=>{const a=Number(e).toFixed(0),o=(Number(e)-Number(a)).toFixed(2),l=[];a.split("").reverse().forEach(((e,o)=>{l.push(e),(o+1)%3==0&&o!==a.length-1&&l.push(",")}));return l.reverse().join("")+"."+String(o).slice(2)},fa=e=>{const a=Number(e).toFixed(0),o=[];a.split("").reverse().forEach(((e,l)=>{o.push(e),(l+1)%3==0&&l!==a.length-1&&o.push(",")}));return o.reverse().join("")+".00"},Ca=process.env.REACT_APP_BASE_URL;process.env.REACT_IMG_PATH;const ba=(e="")=>i((()=>e.startsWith("http")?e:e.startsWith("paas")||e.startsWith("/paas")?Ca+e:e?Ca+"/paas/shop/"+e:e),[e]),ya=({src:a,style:o,actived:l})=>{const s=c(null);return n((()=>{s.current&&(l?s.current.play&&"function"==typeof s.current.play&&s.current.play().catch((e=>{console.log("自动播放被阻止:",e),s.current&&(s.current.controls=!0)})):(s.current.pause&&"function"==typeof s.current.pause&&s.current.pause(),void 0!==s.current.currentTime&&(s.current.currentTime=0),void 0!==s.current.controls&&(s.current.controls=!1)))}),[l]),e("video",{ref:s,muted:!0,loop:!0,preload:"auto",controls:!0,style:o,src:a})},va=s((({item:a,isPlay:l,position:s,direction:t})=>{var n,i;const{Image:c,View:r}=u(),d=ba(a.imgUrl);return e(o,{children:d.includes(".mp4")||d.includes(".webm")||d.includes(".avi")?e(ya,{actived:l,style:{height:"100%",overflow:"hidden"},src:d}):e(c,{mode:"scaleToFill",src:d,style:{width:"100%",height:"100%",paddingBottom:"top"===s&&"vertical"===t?"30px":"",marginTop:"top"===s&&"horizontal"===t?"30px":""},onClick:y.bind(null,null===(n=a.link)||void 0===n?void 0:n.value,null===(i=a.link)||void 0===i?void 0:i.params)})})})),Sa=s((({Position:l="none",className:s="",className1:t="",defaultValue:n=[],type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,paddingTop:p,paddingBottom:g,paddingLeft:N,paddingRight:f,selectImg:b,imgHeight:y,fontsize:v=16,textAlign:S="center",fontColor:w="#000000",backGroundColor:x="#ffffff"})=>{const k=i((()=>C({paddingbtm:"none"!==l,imgHeights:"bottom"===l&&"horizontal"===m}))),{SmoothSwiper:I,View:B}=u(),T=O(n,b||[]),A=a=>e(B,{className:t,style:{fontSize:v,zIndex:99,justifyContent:"left"===S?"flex-start":"center"===S?"center":"flex-end",color:w,backgroundColor:x},children:a.title});return e(B,{className:s,style:{paddingTop:p,paddingBottom:g,paddingLeft:N,paddingRight:f},children:e(I,{imgHeight:y,data:T,className:k,type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,interval:5e3,vertical:"vertical"===m,render:(s,t,n)=>a(o,{children:["top"===l||"bottom"===l?A(s):null,e(va,{isPlay:t===n,item:s,position:l,direction:m})]})})})})),wa=s((({paddingTop:a,paddingBottom:o,paddingLeft:l,paddingRight:s,defaultValue:t=[],type:n,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:g,paddingTB:N=0,paddingLR:f=0,fontsize:b=16,textAlign:y="center",fontColor:v="#000000",backGroundColor:S="#ffffff",otherStyles:w=[],ImgShadow:x=!1,Position:k="top"})=>{const{View:I}=u(),B=i((()=>C("silder-title",{"silder-tops1":"top"===k&&"horizontal"===d,"silder-bottoms":"bottom"===k&&"horizontal"===d,"silder-bottoms1":"vertical"===d&&"bottom"===k,"silder-tops":"vertical"===d&&"top"===k},...w)),[w,k]);return e(I,{style:{padding:`${N}px ${f}px`},children:e(Sa,{Position:k,defaultValue:t,type:n,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:g,paddingTop:a,paddingBottom:o,paddingLeft:l,paddingRight:s,fontsize:b,textAlign:y,fontColor:v,backGroundColor:S,className:C({"outer-shadow":x}),className1:B})})})),xa=s((({url:a,poster:o,autoplay:l,loop:s,paddingTop:t,paddingBottom:n,paddingLeft:i,paddingRight:c})=>{const{View:r}=u();return e(r,{style:{paddingTop:t,paddingBottom:n},children:e("video",{className:"components-video",src:a,poster:o,autoPlay:l,loop:s,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:i,paddingRight:c}})})})),ka=({src:a,borderRadius:o})=>{const{Image:l}=u(),s=ba(a);return e(l,{src:s,alt:"",className:"img",style:{borderRadius:`${o}px`}})},Ia=s((({defaultValue:o,borderRadius:l,paddingTop:s,paddingBottom:t,selectClassifyNav:n})=>{const{View:i,Text:c}=u(),r=O(o,n);return e(i,{style:{paddingTop:s,paddingBottom:t},children:e(i,{className:"classifyNav",children:r.map(((o,s)=>a(i,{className:"classifyNavItem",onClick:()=>(e=>{var a,o,l;(null===(a=e.link)||void 0===a?void 0:a.value.includes("/extra/index"))?window.location.href=`${window.location.origin}/paas/extra-index/index.html`:y(null===(o=e.link)||void 0===o?void 0:o.value,null===(l=e.link)||void 0===l?void 0:l.params)})(o),children:[e(ka,{src:o.imgUrl,borderRadius:l}),e(c,{className:"label",children:o.title})]},s)))})})})),Ba=({src:a,imgRadius:o,imgBoxShadow:l})=>{const{Image:s}=u(),t=ba(a);return e(s,{src:t,alt:"",className:"classifyNav-item-img",style:{borderRadius:o,boxShadow:l?"0px 0px 20px 5px #EEE":"none"}})},Ta=({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:s,navBgColor:t,navBoxShadow:n,imgRadius:i,imgBoxShadow:c,layout:r,marginTop:d,marginBottom:m})=>{const{View:h}=u(),p=O(a,o);return e(h,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${r}, 1fr)`,borderRadius:l,border:`1px solid ${s}`,backgroundColor:t,boxShadow:n?"0px 0px 20px 10px #ddd":"none",marginTop:d,marginBottom:m},children:p.map(((a,o)=>e(h,{className:"classifyNav-item",onClick:()=>{var e,o;return y(null===(e=a.link)||void 0===e?void 0:e.value,null===(o=a.link)||void 0===o?void 0:o.params)},children:e(Ba,{src:a.imgUrl,imgBoxShadow:c,imgRadius:i})},o)))})},Aa=s(Ta),Da=s((({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:s,navBgColor:t,navBoxShadow:n,fontSize:c,fontColor:r,tagBgColor:d,otherStyle:m,layout:h,marginTop:p,marginBottom:g})=>{const{View:N}=u(),f=O(a,o),b=i((()=>C("classifyNav-two-item-title",...m)),[m]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${h}, 1fr)`,border:`1px solid ${s}`,borderRadius:l,backgroundColor:t,boxShadow:n?"0px 0px 20px 5px #EEE":"none",marginTop:p,marginBottom:g},children:f.map(((a,o)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,o;return y(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===h?"74px":"60px"},children:e(N,{className:b,style:{fontSize:c,color:r},children:a.title})},o)))})})),Pa=a=>{const{imgRadius:o,imgBoxShadow:l,fontSize:s,fontColor:t,tagBgColor:n,otherStyle:i,item:c,layout:r}=a,{View:d}=u(),m=ba(c.imgUrl);return e(d,{className:"classifyNav-three-item",onClick:()=>{var e,a;return y(null===(e=c.link)||void 0===e?void 0:e.value,null===(a=c.link)||void 0===a?void 0:a.params)},style:{backgroundImage:`url(${m})`,borderRadius:o,boxShadow:l?"0px 0px 20px 5px #EEE":"none",width:4===r?"74px":"60px",height:4===r?"74px":"60px"},children:e(d,{className:"classifyNav-three-item-tag",style:{backgroundColor:n},children:e(d,{className:["classifyNav-three-item-txt",...i].join(" "),style:{fontSize:s,color:t},children:c.title})})})},Va=s((({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:s,navBgColor:t,navBoxShadow:n,imgRadius:i,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:p,marginTop:g,marginBottom:N})=>{const{View:f}=u(),C=O(a,o);return e(f,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${p}, 1fr)`,border:`1px solid ${s}`,borderRadius:l,backgroundColor:t,boxShadow:n?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N},children:C.map(((a,o)=>e(Pa,{layout:p,item:a,imgRadius:i,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h},o)))})})),La=s((({position:a=10,bg:o,color:l,fontSize:s})=>{const t=i((()=>v()),[]),{View:n}=u(),{goTop:c}=E();return e(n,{className:"backTop",onClick:c,style:{padding:t?"0":"10px"},children:e(sa,{style:{display:"inline-block",color:l,fontSize:s,backgroundColor:o,position:t?"fixed":"relative",right:t?"20px":"0",bottom:t?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),Ra=({outerShadow:a,type:o,item:l,borderRadius:s})=>{const{Image:t}=u(),n=ba(l.imgUrl);return e(t,{className:"block "+(a?"outer-shadow":""),mode:1===o?"widthFix":"scaleToFill",src:n,style:{width:"100%",borderRadius:s+"px"},onClick:()=>(e=>{var a,o,l;(null===(a=e.link)||void 0===a?void 0:a.value.includes("/extra/index"))?window.location.href=`${window.location.origin}/paas/extra-index/index.html`:y(null===(o=e.link)||void 0===o?void 0:o.value,null===(l=e.link)||void 0===l?void 0:l.params)})(l)})},Ma=s((({defaultValue:a,type:o,borderRadius:l,outerShadow:s,paddingRight:t,paddingLeft:n,picGap:i,xGap:c,paddingTop:r,paddingBottom:d,selectImg:m})=>{const{View:h}=u(),p=O(a,m);return e(h,{style:{paddingTop:r,paddingBottom:d,paddingLeft:c,paddingRight:c},children:e(h,{className:`cube-type${o}`,style:{paddingLeft:n,paddingRight:t,gap:i},children:p.map(((a,t)=>e(Ra,{borderRadius:l,item:a,outerShadow:s,type:o},t)))})})})),za=l.createContext(null),Oa=s((()=>{const{View:a}=u(),{tip:o}=r(za);return e(a,{className:"afterSalesApplyTip",children:o})}));const Ea=a=>{var{bottomHeight:o,children:l,id:s,heightWrap:c}=a,r=ca(a,["bottomHeight","children","id","heightWrap"]);const d=i((()=>v()),[]),m=function(e){const[a,o]=t(0);return n((()=>{if(!v()||!e)return;const a=b().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;o(a)}})).exec()}))})),a}(s),h=function(e=""){return i((()=>{if(!v())return 0;const a=b(),o=+a.getStorageSync("safeArea"),l=+(a.getStorageSync("tabBarHeight")||0);return o+(a.getCurrentPages()[a.getCurrentPages().length-1].$taroPath.indexOf("pages/")>=0?l:0)+(e?+e:0)}),[])}(o),{View:p}=u(),g=i((()=>{if(!d)return s?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(console.log(1111,b().getSystemInfoSync().windowHeight,m,h),s){return{height:`calc(${b().getSystemInfoSync().windowHeight+"px"} - ${m+h}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[m,h]);return e(p,Object.assign({},r,{style:Object.assign(Object.assign({},g),{paddingBottom:s?"":h}),id:s,children:l}))},Fa=s((()=>{const{View:o,SmoothRadio:l,Radio:s,Popup:t,ScrollView:n,WrapLoading:i}=u(),{handlePopupShow:c,popupVisible:d,reasonList:m,handleChooseReason:h,popupLoading:p}=r(za);return e(t,{popupVisible:d,popupHandler:c,children:e(i,{loading:p,children:e(o,{className:"reasonPopup",children:e(Ea,{children:a(n,{children:[e(o,{className:"title",children:"退款原因"}),e(l,{onChange:h,children:m.map(((l,t)=>a(o,{className:"reasonItem",children:[e(o,{className:"label",children:l.flagSettingInfo}),e(s,{value:l.flagSettingInfo})]},t)))})]})})})})})})),Ga=s((()=>{const{View:o}=u(),{handlePopupShow:l,popupVisible:s,reason:t,goodsPrice:n}=r(za);return a(o,{className:"afterSalesApplyFillIn",children:[a(o,{className:"reason",children:[a(o,{className:"fillInLabel",children:[e(o,{className:"icon",children:"*"}),e(o,{className:"word",children:"退款原因"})]}),e(o,{className:"choose",onClick:l,children:t?e(o,{className:"chooseResult",children:t}):a(o,{children:["请选择",e(sa,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]})})]}),a(o,{className:"price",children:[a(o,{className:"fillInLabel",children:[e(o,{className:"icon",children:"*"}),e(o,{className:"word",children:"退款金额"})]}),e(o,{className:"allPrice",children:e(o,{className:"single",children:ha(n)})})]}),e(Fa,{popupShow:s})]})})),Wa=s((()=>{const{View:o,TextArea:l,Textarea:s}=u(),t=s||l,{handleChooseImg:n,imgGroup:i,placeholder:c,handleDelImg:d,limit:m,handleFillInReason:h}=r(za);return a(o,{className:"afterSalesApplySubFillIn",children:[e(o,{className:"title",children:"补充描述和凭证"}),a(o,{className:"content",children:[e(t,{placeholder:c,rows:5,maxLength:200,style:{marginBottom:15},onInput:h}),a(o,{className:"imgGroup",children:[i.length<m?e(o,{className:"add",onClick:n,children:a(o,{className:"addContent",children:[e(sa,{value:"shangchuanpingzheng"}),e(o,{className:"word",children:"上传凭证"}),a(o,{className:"num",children:[i.length,"/",m]})]})}):null,i.map(((a,l)=>e(o,{className:"imgItem",style:{backgroundImage:`url(${a})`},children:e(o,{className:"cancel",onClick:d.bind(null,l),children:e(sa,{value:"close-bold",style:{fontSize:12}})})},l)))]})]})]})})),Ya=({refundType:o,contractBillcode:l,skuCode:s,goodsNum:t,goodsPrice:n,paddingTop:i,paddingLeft:c,paddingRight:r,paddingBottom:d})=>{const{View:m,WrapLoading:h}=u(),{tip:p,reasonList:g,popupVisible:N,popupLoading:f,handlePopupShow:C,handleChooseReason:b,reason:y,handleChooseImg:v,imgGroup:S,placeholder:w,handleDelImg:x,limit:k,goodsInfo:I,handleFillInReason:B,handleSubmit:T,loading:A}=F({contractBillcode:l,skuCode:s});return e(h,{loading:A,children:e(m,{className:"afterSalesApply",style:{paddingTop:i,paddingBottom:d,paddingLeft:c,paddingRight:r},children:a(za.Provider,{value:{tip:p,reasonList:g,popupVisible:N,popupLoading:f,handlePopupShow:C,handleChooseReason:b,reason:y,handleChooseImg:v,imgGroup:S,placeholder:w,handleDelImg:x,limit:k,goodsNum:t,goodsPrice:n,goodsInfo:I,handleFillInReason:B,handleSubmit:T},children:[e(Oa,{}),e(Ga,{}),e(Wa,{}),e(m,{className:"submitBtn",onClick:T.bind(null,t,l,o,n),children:"确定"})]})})})},ja={B01:{icon:"tuikuan1",label:"仅退款(无需退货)",color:"#58BE6A"},B02:{icon:"tuikuan1",label:"退货退款",color:"#C52922"}},Ha={B01:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"},B02:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}},Ua=s((({data:o,goAfterSalesDetail:l})=>{var s,t;const{View:n,Image:i}=u();return a(n,{className:"afterSalesListItem",onClick:l.bind(null,o.refundCode),children:[a(n,{className:"title",children:[a(n,{className:"lPart",children:["服务单号: ",o.refundCode]}),a(n,{className:"rPart",children:[e(sa,{style:{color:null===(s=ja[o.refundType])||void 0===s?void 0:s.color,fontSize:12},value:null===(t=ja[o.refundType])||void 0===t?void 0:t.icon}),e(n,{className:"txt",children:ja[o.refundType].label})]})]}),a(n,{className:"goodsInfo",children:[e(n,{className:"lPart",children:e(i,{src:Qe(o.ocRefundGoodsList[0].dataPic),className:"img"})}),a(n,{className:"rPart",children:[e(n,{className:"goodsName",children:o.ocRefundGoodsList[0].goodsName}),a(n,{className:"count",children:["申请数量: ",o.ocRefundGoodsList[0].refundGoodsNum]}),a(n,{className:"count",children:["订单编号: ",o.contractBbillcode]})]})]}),a(n,{className:"tip",children:[e(n,{class:"lPart",children:Ha[o.refundType][o.dataState]}),e(sa,{style:{fontSize:12,color:"#A5A5A5"},value:"xiangyou1"})]})]})})),$a=s((()=>{const{View:a}=u();return e(a,{className:"noData",children:e(a,{className:"txt",children:"暂无售后单"})})})),Qa=s((({item:a,refreshNum:o})=>{const{View:l,ScrollView:s,WrapLoading:t}=u(),{afterSalesList:n,goAfterSalesDetail:i,loading:c,haseData:r}=G(a,o);return e(t,{loading:c,children:e(l,{className:"tabContent",children:e(Ea,{id:"tabContent",children:e(s,{children:r?n.map((a=>e(Ua,{data:a,goAfterSalesDetail:i.bind(null,a.refundCode)}))):e($a,{})})})})})})),Ka=s((({refreshNum:a,paddingTop:o,paddingBottom:l,paddingLeft:s,paddingRight:t})=>{const{View:n,Tabs:i}=u();return e(n,{className:"afterSalesList",style:{paddingTop:o,paddingBottom:l,paddingLeft:s,paddingRight:t},children:e(i,{defaultIndex:0,tabs:W,render:o=>e(Qa,{item:o,refreshNum:a})})})})),qa=({dataPic:l,goodsName:s,goodsCamount:t,pricesetNprice:n,skuName:c,children:r,goodsType:d,pricesetRefrice:m,memberName:h})=>{const{View:p,Image:g,SmoothView:N}=u(),f="06"===d?m+"积分":ha(n),C=i((()=>t?`x ${t}`:""),[t]),b=(e=>{const a="string"==typeof e?e:"";if(!/^https?:\/\//i.test(a))return a;const o=a.indexOf("/paas/");return-1===o?a:a.slice(o).replace(/\/+/g,"/")})(l);return e(o,{children:a(p,{className:"card-item",children:[e(g,{src:Qe(b),alt:"",className:"card-item-img"}),a(p,{className:"card-item-info",children:[a(p,{className:"card-item-info-container",children:[e(N,{className:"card-item-info-container-title",children:s}),e(N,{className:"card-item-info-container-price",children:f})]}),a(p,{className:"card-item-info-sub",children:[e(N,{className:"sku",children:c}),e(N,{className:"count",children:C})]}),e(p,{className:"card-item-info-sub",children:a(N,{className:"sku",children:["店铺名称:",h]})}),r]})]})})},Za=(e,a)=>{if("B01"===e){return{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"}[a]}if("B02"===e){return{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}[a]}},Xa=l.createContext(null),Ja=s((()=>{const{companyList:o,popupShow:l,handlePopupShow:s,chooseCompany:t}=r(Xa),{View:n,SmoothRadio:i,Radio:c,Popup:d,ScrollView:m}=u();return e(d,{popupVisible:l,popupHandler:s,children:e(n,{className:"reasonPopup",children:e(Ea,{children:a(m,{children:[e(n,{className:"title",children:"物流选择"}),e(i,{onChange:t,children:o.map(((o,l)=>a(n,{className:"reasonItem",children:[e(n,{className:"label",children:o.expressName}),e(c,{value:`${o.expressName}-${o.expressCode}`})]},l)))})]})})})})})),_a=s((()=>{const{handlePopupShow:l,packageName:s,setPackageBillno:t,submitExpressInfo:n}=r(Xa),{View:i,Input:c}=u();return a(o,{children:[a(i,{className:"sender_content",children:[a(i,{className:"sender_name",children:[e(i,{className:"sender_icon",children:"*"}),e(i,{className:"sender_names",children:"物流公司"})]}),e(i,{className:"sender_input name_style",onClick:l,children:e(i,""===s?{style:{color:"#666"},children:"请填写"}:{children:s})})]}),a(i,{className:"sender_content",children:[a(i,{className:"sender_name",children:[e(i,{className:"sender_icon",children:"*"}),e(i,{className:"sender_names",children:"物流单号"})]}),e(i,{className:"sender_input",children:e(c,{placeholder:"请填写",onInput:e=>t(e.detail.value)})})]}),e(i,{className:"expressInfo",children:e(i,{className:"expressInfo_btn",onClick:n,children:"提交物流信息"})}),e(Ja,{})]})})),eo=s((({refundCode:l,paddingTop:s,paddingLeft:t,paddingRight:n,paddingBottom:i})=>{const{afterSalesDetailInfo:c,submitExpressInfo:r,handleCancelAfterSales:d,companyList:m,popupShow:h,handlePopupShow:p,chooseCompany:g,packageName:N,setPackageBillno:f,loading:C}=Y({refundCode:l}),{contractBbillcode:b,dataState:y,gmtCreate:v,ocRefundGoodsList:S,refundMoney:w,refundMeo:x,refundEx:k,refundType:I,ocRefundFileList:B,goodsReceiptMem:T,goodsReceiptPhone:A,goodsReceiptArrdess:D,packageCode:P,packageBillno:V,packageName:L}=c,{View:R,Image:M,WrapLoading:z}=u();return e(z,{loading:C,children:e(R,{className:"afterSalesDetail",style:{paddingTop:s,paddingBottom:i,paddingLeft:t,paddingRight:n},children:a(Xa.Provider,{value:{companyList:m,popupShow:h,handlePopupShow:p,chooseCompany:g,packageName:N,setPackageBillno:f,submitExpressInfo:r},children:[a(R,{className:"afterSalesDetailTopTitle",style:{background:"#000"},children:[e(R,{className:"left_text",children:Za(I,y)}),e(R,{className:"right_time",children:_e(v).format("YYYY-MM-DD HH:mm:ss")})]}),e(R,{className:"afterSalesDetailContent",children:a(R,{className:"refundDetail",children:[e(R,{className:"title",children:"退款信息"}),e(R,{className:"goodsDetail",children:null==S?void 0:S.map(((a,o)=>e(qa,{dataPic:Qe(a.dataPic),pricesetNprice:a.pricesetNprice,goodsName:a.goodsName,goodsCamount:a.refundGoodsNum,skuName:a.skuName},o)))}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"订单编号"}),e(R,{className:"right",children:b})]}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"退款原因"}),e(R,{className:"right",children:k})]}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"退款金额"}),e(R,{className:"right",children:w})]}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"描述说明"}),e(R,{className:"right",children:x})]}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"补充凭证"}),e(R,{className:"right",children:null==B?void 0:B.map(((a,o)=>e(M,{src:Qe(a.refundFileUrl),mode:"widthFix",className:"refundImg"},o)))})]}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"申请时间"}),e(R,{className:"right",children:_e(v).format("YYYY-MM-DD HH:mm:ss")})]}),a(R,{className:"refund_Detail",children:[e(R,{className:"left",children:"退款编号"}),e(R,{className:"right",children:l})]}),e(o,{children:"B02"===I?a(o,{children:[y>0?a(R,{className:"merchantMsg",children:[e(R,{className:"title",children:"商家信息"}),a(R,{className:"name",children:[T," ",A]}),e(R,{className:"address",children:D})]}):"",1===y?a(R,{className:"writeMsg",children:[e(R,{className:"wlMsg",children:"物流信息"}),e(_a,{})]}):"",y>1?a(R,{className:"writeMsg",children:[e(R,{className:"wlMsg",children:"物流信息"}),a(R,{className:"express_content",children:[e(R,{className:"name",children:"物流单号"}),e(R,{className:"code",children:V})]}),a(R,{className:"express_content",children:[e(R,{className:"name",children:"物流公司"}),e(R,{className:"code",children:L})]})]}):""]}):""})]})}),0===y?e(R,{className:"footerBtn",children:e(R,{className:"btn",onClick:d.bind(null,S[0].goodsCode),children:"撤销申请"})}):null]})})})})),ao=l.createContext(null),oo=s((()=>{const{View:o,Image:l,NumStep:s,SmoothView:t}=u(),{typeTip:n,setTypeTip:i,goodsNum:c,handleStep:d,goodsInfo:m,goodsPrice:h}=r(ao),{goodsName:p,skuName:g,dataPic:N}=m,f=m&&"06"===m.goodsType?m.pricesetRefrice+"积分":ha(h);return a(o,{className:"afterSalesTypeItem",children:[e(o,{className:"afterSalesTypeTitle",children:"退款商品"}),a(o,{className:"afterSalesTypeContent",children:[e(l,{src:Qe(N),className:"img"}),a(o,{className:"info",children:[a(o,{className:"base",children:[e(t,{className:"name",children:p}),e(t,{className:"price",children:f})]}),a(o,{className:"advance",children:[e(o,{className:"size",children:g}),a(o,{className:"stepWrap",children:[e(sa,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>i((e=>!e))}),e(s,{count:c,handleStep:d})]})]}),n?e(o,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),lo=s((({contractGoodsSendnum:o,afterSalesType:l=2,contractBillcode:s,skuCode:t})=>{const{View:n}=u(),{goApply:i,goodsNum:c}=r(ao);return e(n,{children:a(n,{className:"afterSalesTypeType",children:[e(n,{className:"title",children:"售后类型"}),(d=l,2!=d?[{label:"退货退款",value:"B02"}]:[{label:"仅退款(无需退货)",value:"B01"}]).map(((o,l)=>a(n,{className:"item",onClick:i.bind(null,o.value,s,t,c),children:[e(n,{className:"headline",children:o.label}),e(sa,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},l)))]})});var d})),so=o=>{const{contractBillcode:l,skuCode:s,dataState:t,paddingTop:n,paddingLeft:i,paddingRight:c,paddingBottom:r}=o,{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:p,goodsInfo:g,goApply:N,loading:f,goodsPrice:C}=j({contractBillcode:l,skuCode:s}),{View:b,WrapLoading:y}=u();return e(y,{loading:f,children:e(b,{className:"afterSalesType",style:{paddingTop:n,paddingLeft:i,paddingRight:c,paddingBottom:r},children:a(ao.Provider,{value:{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:p,goodsInfo:g,goApply:N,goodsPrice:C},children:[e(oo,{}),e(lo,{contractGoodsSendnum:g.contractGoodsSendnum||0,afterSalesType:t,contractBillcode:l,skuCode:s})]})})})},to=({setDefault:a,checked:o,itemData:l})=>{const{SmoothCheckbox:s,Checkbox:t}=u();return e(s,{value:o?[l.addressId]:[],onChange:a,children:e(t,{value:l.addressId,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},no=({itemData:o,delAddress:l,setDefault:s})=>{const{View:t,Text:n}=u(),{handlerImpl:i}=H(o);return a(t,{className:"addressItem",children:[a(t,{className:"upInfo",onClick:i,children:[a(t,{className:"userInfo",children:[o.addressMember," ",o.addressPhone]}),e(t,{className:"addressInfo",children:a(n,{className:"address",children:[o.provinceName," ",o.areaName," ",o.cityName," ",o.addressDetail]})})]}),a(t,{className:"downInfo",children:[e(to,{itemData:o,checked:"1"===(null==o?void 0:o.addressDefault),setDefault:s}),a(t,{children:[e(n,{className:"del",style:{marginRight:20},onClick:()=>y("editAddress",{addressId:o.addressId}),children:"编辑"}),e(n,{className:"del",onClick:l,children:"删除"})]})]})]})},io=s((()=>{const{View:a,Skeleton:l}=u(),s=c(new Array(3).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})})),co=s((({url:o,title:l,subTitle:s,link:t,style:n})=>{const{View:i,Image:c}=u();return e(i,{className:"noData",style:n,children:a(i,{className:"content",children:[e(c,{className:"img",src:o}),e(i,{className:"title",children:l}),e(i,{className:"subTitle",children:s}),t?a(i,{className:"link",onClick:()=>y(t),children:["去看看",e(g,{value:"xiangyou1"})]}):null]})})})),ro=s((({refreshNum:a,btnShape:o,btnColor:l,borderColor:s,paddingBottom:t,paddingTop:n,color:i})=>{const{View:c}=u(),{list:r,delAddress:d,setDefault:m,skullShow:h}=U(a);return e(c,{className:"addressListWrap",style:{paddingTop:n+"px",marginBottom:t+"px"},children:h?e(io,{}):e(c,{className:"addressList",children:r.length?r.map(((a,o)=>e(no,{itemData:a,setDefault:m.bind(null,a,o),delAddress:d.bind(null,a)},null==a?void 0:a.addressId))):e(co,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),mo=s((({borderColor:a,color:o,btnColor:l,btnShape:s,paddingTop:t,paddingBottom:n})=>{const{View:i}=u();return e(i,{className:"addressListBtnWrap",style:{paddingTop:`${t}px`,paddingBottom:`${n}px`},children:e(i,{style:{borderRadius:s,borderColor:a,color:o,backgroundColor:l},className:"addressListBtn",onClick:()=>y("addressEditor"),children:"+ 新增地址"})})})),ho=[{from:"addressDefault",to:"addressDefault",format:e=>!0===e||1===e?1:0}],po=[{type:"text",props:{onlyShowClearWhenFocus:!0,placeholder:"请填写收货人姓名"},label:"收货人",name:"addressMember",rules:[{required:!0,message:"收货人姓名不能为空"}]},{type:"text",props:{type:"number",onlyShowClearWhenFocus:!0,placeholder:"请填写收货人手机号码"},label:"手机号码",name:"addressPhone",rules:[{required:!0,message:"收货人手机号码不能为空"},{validator:Ke}]},{type:"slot",name:"provinceCode",extraProps:{label:"所在省",render:qe}},{type:"slot",name:"cityCode",extraProps:{label:"所在市",shouldUpdate:(e,a)=>e.provinceCode!==a.provinceCode,render:Ze}},{type:"slot",name:"areaCode",extraProps:{label:"所在区",shouldUpdate:(e,a)=>e.cityCode!==a.cityCode,render:Xe}},{type:"text",props:{onlyShowClearWhenFocus:!0,placeholder:"街道/楼牌号等"},label:"详细地址",name:"addressDetail",rules:[{required:!0,message:"收货人详细地址不能为空"}]}],uo=s((({btnShape:a,btnColor:o,borderColor:l,color:s,paddingTop:i,paddingBottom:c,addressId:r})=>{const{View:d}=u(),[m,h]=t({}),[p,g]=t(!!r),{Button:f}=N,{onSubmit:C}=$(r);if(n((()=>{ra(void 0,void 0,void 0,(function*(){if(r){g(!0);let e=yield B({addressId:r});e.addressDefault="1"===e.addressDefault,h(e),g(!1)}else g(!1)}))}),[r]),!p)return e(d,{className:"addressDetail",style:{paddingBottom:c+"px",paddingTop:i+"px"},children:e(ea,{initialValues:m,footer:e(f,{style:{color:s,backgroundColor:o,borderColor:l},shape:a,block:!0,type:"submit",size:"large",children:"提交"}),transformSubmitDataConfig:ho,onSubmit:C,fields:po})})})),go=s((()=>{const{View:o}=u(),l=e=>{y(`/account/agreement/index?type=${e}`)},s=c([{label:"用户协议",type:"xieyi"},{label:"隐私协议",type:"yinsi"}]);return e(o,{className:"myAgreementList",children:e(o,{className:"list",children:s.current.map(((s,t)=>a(o,{className:"item",onClick:l.bind(null,s.type),children:[e(o,{children:s.label}),e(o,{children:e(g,{value:"xiangyou1"})})]},t)))})})})),No=()=>{const{View:o}=u(),{mySettingGoBind:l,mySettingLogout:s}=Q();return a(o,{className:"mySetting",children:[a(o,{className:"item",onClick:l,children:[e(o,{children:"绑定手机"}),e(o,{children:e(sa,{value:"xiangyou1"})})]}),e(o,{className:"btn",onClick:s,children:"退出登录"})]})},fo=s(No),Co=({itemData:o})=>{const{View:l,Text:s}=u(),{handlerImpl:t}=K(o);return e(l,{className:"addressItem",children:a(l,{className:"upInfo",onClick:t,children:[e(l,{className:"userInfo",children:(o.addressMember||"")+" "+(o.addressPhone||"")}),e(l,{className:"addressInfo",children:a(s,{className:"address",children:[o.provinceName||""," ",o.areaName||""," ",o.cityName||""," ",o.addressDetail||""]})})]})})},bo=s((({refreshNum:o,paddingBottom:l,paddingTop:s})=>{const{View:t,ScrollView:n,Loading:i}=u(),{list:c,loading:r,skullShow:d,onScroll:m}=q(o);return console.log("list",c,d),e(t,{className:"addressListWrap",style:{paddingTop:s+"px",marginBottom:l+"px"},children:d?e(io,{}):e(t,{className:"addressList",children:e(Ea,{id:"pickupPointListWrap",children:e(n,{onScroll:m,children:c.length?a(t,{children:[c.map(((a,o)=>e(Co,{itemData:a},a&&a.userinfoOcode||o))),r&&e(i,{})]}):e(co,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有自提点"})})})})})})),yo=s((({borderColor:a,color:o,btnColor:l,btnShape:s,paddingTop:t,paddingBottom:n})=>{const{View:i}=u();return e(i,{className:"addressListBtnWrap",style:{paddingTop:`${t}px`,paddingBottom:`${n}px`},children:e(i,{style:{borderRadius:s,borderColor:a,color:o,backgroundColor:l},className:"addressListBtn",onClick:()=>ra(void 0,void 0,void 0,(function*(){yield S("导入成功","none")})),children:"导入微信收件地址"})})})),vo=s((({navList:l,activeKey:s,cell:t=4})=>{const{View:n,Text:i,Image:c}=u();return e(o,{children:l.map((o=>e(n,{className:["content",s===`${o.goodsClassCode}`?" active":""].join(""),children:((null==o?void 0:o.childList)||[]).map((o=>a(n,{className:"classifyFloor",children:["0"===o.goodsClassHide?a(n,{className:"titleWrap",children:[e(i,{className:"title",children:o.goodsClassName}),e(i,{className:"line"})]}):"",e(n,{className:`container container_columns${t}`,style:{marginTop:"0"===o.goodsClassHide?"":"20px"},children:((null==o?void 0:o.childList)||[]).map((({classtreeCode:o,goodsClassCode:l,goodsClassLogo:s,goodsClassName:t})=>a(n,{onClick:()=>y("goodList",{classtreeCode:o}),className:"classifyFloorGoodsItem",children:[e(c,{src:s,className:"logo"}),e(n,{className:"title",children:t})]},l)))})]},o.goodsClassCode)))},o.goodsClassCode)))})})),{SideBar:So}=N,wo=s((({cell:o,color:l,activeTitle:s,paddingTop:t,paddingBottom:n})=>{const{View:i,ScrollView:c}=u(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=Z();return e(i,{children:e(Ea,{id:"goodsClassify",children:e(c,{children:a(i,{style:{height:h?"100%":"667px",paddingTop:t,paddingBottom:n},className:"goodsClassifyContainer",children:[e(i,{className:"side",children:e(So,{activeKey:r,onChange:d,style:{"--width":"90px","--background-color":"#f5f5f5"},children:m.map((a=>e(So.Item,{title:a.goodsClassName,className:0===s?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===r?l:"#000"}},a.goodsClassCode)))})}),e(i,{className:"main",children:e(vo,{navList:m,activeKey:r,cell:o})})]})})})})})),xo=d(null),ko=s((()=>{const{navList:o,activeKey:l,setActiveKey:s,setFCoe:n,setSCoe:i,selectFontColor:c}=r(xo),{View:d,ScrollView:m}=u(),[h,p]=t(!1),N=(e,a)=>{s.bind(null,e)(),n(`${a}`),i("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:()=>N(a.goodsClassCode,o),style:{color:l===`${a.goodsClassCode}`?c:"#000",borderColor:l===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},o)))}),e(d,{className:"goodsClassifyOne-icon",onClick:()=>p(!0),children:e(g,{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(g,{value:"paixusort-sheng"})})}),e(Ea,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:o.map(((a,o)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>N(a.goodsClassCode,o),style:{color:l===`${a.goodsClassCode}`?c:"#000",borderColor:l===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},o)))})})})]}):null]})})),Io=s((({thirdList:o})=>{const{View:l,Image:s}=u(),{picShadow:t,layout:n}=r(xo);return e(l,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${n}, 1fr)`},children:o.map(((o,n)=>a(l,{className:"goodsClassifyOneFloorItem",onClick:()=>y("goodList",{classtreeCode:o.classtreeCode}),children:[e(s,{src:o.goodsClassLogo,className:"pic",style:{boxShadow:t?"#DDDDDD 0px 0px 10px":""}}),e(l,{className:"title",children:o.goodsClassName})]},n)))})})),Bo=s((()=>{const{navList:o,fCoe:l,sCoe:s,setSCoe:t,selectFontColor:n,selectBlcShow:c,selectBlcStyle:d}=r(xo),m=i((()=>v()),[]),{secondList:h,thirdList:p}=(({navList:e,fCoe:a,sCoe:o})=>{const l=i((()=>{var o;return(null===(o=e[a])||void 0===o?void 0:o.childList)||[]}),[a,e]),s=i((()=>{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:s}),{View:g,ScrollView:N,SideBar:f}=u();return e(g,{children:e(Ea,{id:"goodsClassifyOneContent",children:e(N,{children:a(g,{className:"goodsClassifyOneContent",style:{height:m?"100%":"667px"},children:[e(f,{activeKey:s,onChange:t,children:h.map(((a,o)=>e(f.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===d?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":n,"--adm-color-primary":n}},o)))}),e(Io,{thirdList:p})]})})})})})),To=s((({selectFontColor:o,selectBlcColor:l,selectBlcShow:s,selectBlc:n,selectBlcStyle:i,picShadow:c,layout:r})=>{const{View:d}=u(),{navList:m,activeKey:h,setActiveKey:p}=Z(),[g,N]=t("0"),[f,C]=t("0");return e(xo.Provider,{value:{fCoe:g,setFCoe:N,sCoe:f,setSCoe:C,navList:m,activeKey:h,setActiveKey:p,selectFontColor:o,selectBlcColor:l,selectBlcShow:s,selectBlc:n,selectBlcStyle:i,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(ko,{}),e(Bo,{})]})})})),Ao=s((({childList:o,layout:l,picShadow:s,style:t})=>{const{View:n,Image:i}=u();return e(n,{className:"level3Arr",style:Object.assign({gridTemplateColumns:`repeat(${l}, 1fr)`},t),children:o.map(((o,l)=>a(n,{className:"level3ArrItem",onClick:()=>y("goodList",{classtreeCode:o.classtreeCode}),children:[e(i,{src:o.goodsClassLogo,className:"logo",style:{boxShadow:s?"#DDDDDD 0px 0px 10px":""}}),e(n,{className:"title",children:o.goodsClassName})]},l)))})})),Do=s((({navList:o,activeKey:l,layout:s,picShadow:i})=>{var c;const[r,d]=t(0);n((()=>{d(o.findIndex(m))}),[l,r]);const m=e=>e.goodsClassCode===l,{View:h,Image:p}=u();return a(h,{className:"goodsClassifyTwoContent",children:[e(p,{className:"firstLevelImg",src:V(o[r],"goodsClassLogo"),mode:"widthFix"}),null===(c=V(o[r],"childList"))||void 0===c?void 0:c.map(((o,l)=>a(h,{children:["0"===o.goodsClassHide?e(h,{className:"level2Title",children:o.goodsClassName}):"",e(Ao,{childList:o.childList,layout:s,picShadow:i,style:{marginTop:"0"===o.goodsClassHide?"":"30px"}})]},l)))]})})),{SideBar:Po}=N,Vo=s((({selectFontColor:o,selectBlcShow:l,selectBlcColor:s,selectBlcStyle:t,layout:n,picShadow:i})=>{const{View:c}=u(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=Z();return e(c,{className:"goodsClassifyTwo",children:e(Ea,{id:"goodsClassifyTwo",children:a(c,{className:"goodsClassifyTwoWrap",style:{height:h?"100%":"667px"},children:[e(c,{className:"side",children:e(Po,{activeKey:r,onChange:d,style:{"--width":"88px","--background-color":"#f5f5f5"},children:m.map((a=>e(Po.Item,{title:a.goodsClassName,className:[l?"":"goodsClassifyTwoFloorNoBlc",1===t?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":o}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(Do,{navList:m,activeKey:r,layout:n,picShadow:i})})]})})})})),Lo="data:image/png;base64,iVBORw0KGgoAAAANSUhEU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ntZZ1auGJwGy+uP/UzunWlgX7CNL/qIutoMgvlJso4BguwIgJfkJMQ/+OlgAMKHVL0PpsxOYkU1DWzipxAKA6QHAEfXZCVLhZQsApgmAviDQKTcUZ7AAYLoA6AMCjWt6S62lBQBrRTQ6Q5fjQD/Mt0dGvgAgIqXxeTIgMNBWQ1OoatsCgPEXNzqCKAhM3xetQzSot2t0ogvfniUgCDRC7al8jO5nxmKEI62XHWB+cDMji84zhtSv1s/IqUOKCT28+E59AcD8ALAasU6mFpLwzNeG0SndzgKA+QKgysgXAFQR43w7WQAw37WrMvIFAFXEON9OFgDMd+2qjHwBQBUxzreTBQDzXbsqI18AUEWM8+1kAcB8167KyBcAVBHjfDv5D+vIKZ/vdzjHAAAAAElFTkSuQmCC",Ro="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",Mo=s((({value:o,urlPath:l="search",iconShow:s,fontColor:t,backgroundColor:n,borderRadius:c,paddingLeft:r,paddingRight:d,sticky:m,fontsize:h,paddings:p,otherStyles:g=[],__pageConfig:N})=>{const{View:f,Image:b}=u(),v=i((()=>C("txt",...g)),[g]);return e(f,{onClick:()=>y(l),style:{paddingTop:p,paddingBottom:p,paddingLeft:r,paddingRight:d},className:m?"boxpositon":"",children:a(f,{className:"components-search",style:{backgroundColor:n,borderRadius:c?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(b,{src:Lo,alt:"",style:{height:"16px",width:"16px",display:s?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(f,{className:v,style:{color:t,display:"inline-block",fontSize:h},children:o})]})})})),zo=s((({value:o,iconShow:l,fontColor:s,backgroundColor:c,borderRadius:r,paddingLeft:d,paddingRight:m,sticky:h,fontsize:p,paddings:g,otherStyles:N=["mockWeight","mockItalic"],urlPath:f="search"})=>{const{View:b,Image:v}=u(),S=i((()=>C("txt",...N)),[N]),w=k.useRouter(),[x,I]=t("");return n((()=>{var e;if(null===(e=null==w?void 0:w.params)||void 0===e?void 0:e.searchParam){const e=w.params.searchParam,a=decodeURIComponent(e);I(a)}}),[null==w?void 0:w.params]),e(b,{onClick:()=>y(f),style:{paddingTop:g,paddingBottom:g,paddingLeft:d,paddingRight:m},className:h?"boxPosition":"",children:a(b,{className:"components-search",style:{border:`1px solid ${c}`,borderRadius:r?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff",marginTop:"8px"},children:[a(b,{style:{width:"80%"},children:[e(v,{src:Lo,alt:"",style:{height:"16px",width:"16px",display:l?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(b,x?{className:S,style:{color:s,display:"inline-block",fontSize:p},children:x}:{className:S,style:{color:s,display:"inline-block",fontSize:p},children:o})]}),e(b,{className:["seachBtn",r?"btnBorderRadius":""].join(" "),style:{fontSize:p,backgroundColor:c,width:"20%",color:s},children:"搜索"})]})})})),Oo=s((({placeholder:o,placeholderText:l,history:s,historyText:n,paddingBottom:r,paddingTop:d,fontSize:m,fontColor:h,isPointsGood:p})=>{const g=c(null),N=i((()=>v()),[]),{View:f,Text:C,Input:S}=u(),[k,I]=t((()=>w("history")||[])),[B,T]=t(""),A=e=>{y(p?"PointsGoodsList":"goodList",{searchParam:e})};return a(f,{className:"searchPage",style:{paddingTop:d,paddingBottom:r},children:[a(f,{className:"search-title",children:[e("img",{src:Lo,alt:""}),e(S,Object.assign({ref:g,"confirm-type":"search",type:"text",className:"content",value:B,onInput:e=>T(e.detail.value),onConfirm:e=>ra(void 0,void 0,void 0,(function*(){N&&(I((a=>{if(!a.includes(g.current.value||e.detail.value)&&(g.current.value||e.detail.value)){const o=a.concat(g.current.value||e.detail.value);return x("history",o),o}return a})),A(g.current.value||e.detail.value))}))},o?{placeholder:l}:{})),e(C,{className:"btn",onClick:()=>{const e=B.trim();e&&(I((a=>{if(!a.includes(e)){const o=a.concat(e);return x("history",o),o}return a})),A(e))},children:"搜索"})]}),s?a(f,{className:"historyWrap",children:[a(f,{className:"title",children:[e(f,{className:"label",style:{fontSize:m,color:h},children:n}),e(sa,{onClick:()=>ra(void 0,void 0,void 0,(function*(){(yield b()).removeStorageSync("history"),I([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(f,{className:"content",children:k.map(((a,o)=>e(f,{onClick:()=>A(a),className:"historyItem",children:a},o)))})]}):null]})})),Eo=s((({defaultValue:o=[],classCode:l="",margin:s,circular:i=!1,cell:r,showSales:d=!0,gap:m=10,apiKey:h="goodsCode",goods:p=[],markedPrice:g,paddingTop:N,paddingBottom:f,paddingLeft:b,paddingRight:v,goodsName:S=!0,goodsPrice:w=!0,goodsCar:x=!0,goodsBorder:k=!0,goodsShadow:I=!1,marginGap:B=10})=>{const[A,D]=t(o),P=c(),{View:M,Text:z}=u();return n((()=>{L(P.current,p)||(P.current=p,R(p)?D(o):ra(void 0,void 0,void 0,(function*(){try{const e=yield T({[h]:p.toString(),goodsType:"00,40,50",distinctField:"goodsNo"}),a=V(e,"list",[]);D(a)}catch(e){D(o)}})))}),[p]),e(M,{style:{paddingTop:N,paddingBottom:f},children:e(M,{className:C({[`goods-${l}`]:!0}),style:{display:"grid",gap:B,marginBottom:s,gridTemplateColumns:`repeat(${r}, 1fr)`,paddingLeft:b,paddingRight:v},children:A.map(((o,l)=>a(M,{style:{overflow:"hidden",borderRadius:i?"8px":"0px",border:k?"1px solid #000000":""},onClick:()=>y("goodDetail",{skuCode:o.skuCode}),className:["goods "+(I?"outer-shadow":"")].join(" "),children:[e(M,{className:"goods-img",style:{backgroundImage:`url(${Qe(o.dataPic)})`}}),a(M,{className:"space",children:[e(M,{className:"titleType",style:{display:S?"block":"none"},children:o.goodsName}),e(M,{className:"subTitle",children:o.brandName}),a(M,{className:"price",children:[a(M,{style:{fontSize:18},children:[w?ha(o.pricesetNprice):"",1===g&&e(z,{className:"markedPrice",children:ha(o.pricesetMakeprice)})]}),e(M,{className:"anticon",style:{display:x?"block":"none"},children:e(sa,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},l)))})})})),Fo=s((({defaultValue:o,goods:l,price:s,marketPrice:t,cart:n,apiKey:i="goodsCode",wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:p,goodsGap:g,marginTop:N,marginBottom:f,marginLeft:C,marginRight:b})=>{const{View:v}=u(),{list:S}=X({defaultValue:o,goods:l},i);return e(v,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:f,marginLeft:C,marginRight:b},children:S.map(((o,l)=>a(v,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:p,marginRight:`${g}px`},onClick:()=>y("goodDetail",{skuCode:o.skuCode}),children:[e(v,{className:"img",style:{backgroundImage:`url(${Qe(o.dataPic)})`}}),a(v,{className:"board",children:[e(v,{className:"title",children:o.goodsName}),a(v,{className:"info",children:[a(v,{className:"lPart",children:[s?e(v,{className:"price",children:ha(o.pricesetNprice)}):null,t?e(v,{className:"marketPrice",children:ha(o.pricesetMakeprice)}):null]}),n?e(v,{className:"rPart",children:e(sa,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},l)))})})),Go=s((({defaultValue:o,goods:l,GoodsSlideshowBg:s,marketPrice:n,goodsName:c,salesNum:r,price:d,apiKey:m="goodsCode",goodsRadius:h,goodsBorder:p,goodsShadow:g,btnText:N,btnBg:f,btnColor:C,btnRadius:b})=>{const S=i((()=>v()),[]),{list:w}=X({defaultValue:o,goods:l},m),{SmoothSwiper:x,View:k,Image:I}=u(),[B,T]=t(0);return a(k,{className:"goodsSlideshow",children:[e(I,{src:s,className:"bg",mode:"widthFix"}),e(x,{indicatorDots:!1,imgHeight:{width:190,height:410},defaultIndex:1,data:w,style:{},type:1,autoplay:!1,autoplayInterval:5e3,onChange:e=>{T(e.detail.current)},previousMargin:40,nextMargin:40,slideSize:70,trackOffset:15,render:o=>a(k,{className:["goodsSlideshowItem",""+(o.goodsCode===w[B].goodsCode&&S?"active":"")].join(" "),style:{borderRadius:h,borderStyle:p?"solid":"none",boxShadow:g?"0px 0px 20px 10px #ddd":""},onClick:()=>y("goodDetail",{skuCode:o.skuCode}),children:[e(I,{className:"logo",src:Qe(o.dataPic),mode:"widthFix"}),c?e(k,{className:"goodsName",children:o.goodsShowname}):null,r?a(k,{className:"salesNum",children:["销量:",o.goodsSalesvolume]}):null,d?e(k,{className:"price",children:ha(o.pricesetNprice)}):null,n?e(k,{className:"marketPrice",children:ha(o.pricesetMakeprice)}):null,e(k,{className:"btn",style:{backgroundColor:f,color:C,borderRadius:b},children:N})]})})]})})),Wo=({autoplay:a,vertical:o,skuCode:l,scene:s})=>{const{rsGoodsFileDomainList:t=[],memberCode:n=""}=J(l,s),i=_.getState();_.setState(Object.assign(Object.assign({},i),{memberCode:n})),console.log(24,n);const c=ee(t);return e(Sa,{selectImg:c,type:1,autoplay:a,vertical:o,imgHeight:{height:375,width:375}})},Yo=o=>{const{SmoothView:l,View:s}=u(),{handleCollect:t,collection:n}=ae(o);return a(s,{onClick:t,children:[R(n.dataObj)?e(sa,{value:"star-fill",style:{fontSize:20}}):e(sa,{value:"star-fill",style:{color:"red",fontSize:20}}),e(l,{className:"txt",children:R(n.dataObj)?"收藏":"已收藏"})]})},jo=({shareShow:a,setShareShow:l,rsGoodsFileDomainList:s,goodsName:t})=>{if(!v())return;return"WEB"===b().getEnv()?e(o,{children:a?e(Ho,{goodsName:t,shareShow:a,setShareShow:l,rsGoodsFileDomainList:s}):null}):e(Uo,{goodsName:t,shareShow:a,setShareShow:l,rsGoodsFileDomainList:s})},Ho=({shareShow:o,setShareShow:l,rsGoodsFileDomainList:s,goodsName:t})=>{const{View:n,Button:i}=u(),{save:c,canvasRef:r,width:d,height:m}=se(l,s,t);return e(n,{className:"share",children:o?a(n,{className:"share-content",style:{margin:"80px auto"},onClick:e=>{e.stopPropagation()},children:[e(n,{id:"share-canvas-id",className:"share-canvas",children:e("canvas",{ref:r,width:d,height:m,style:{width:`${d}px`,height:`${m}px`}})}),a(n,{className:"dashboard",children:[e(n,{className:"dashboard-item",children:e(i,{className:"txt",onClick:()=>l(!1),children:"关闭海报"})}),e(n,{className:"dashboard-item",onClick:c,children:e(i,{className:"txt",children:"保存图片"})})]})]}):null})},Uo=({shareShow:o,setShareShow:l,rsGoodsFileDomainList:s,goodsName:t})=>{const{View:n,Canvas:i,Button:c}=u(),{save:r,width:d,height:m}=te(l,s,t,o);return e(n,{style:{zIndex:o?1e3:-10,opacity:o?1:0},className:"share",children:a(n,{className:"share-content",style:{margin:"30px auto"},onClick:e=>{e.stopPropagation()},children:[o&&e(n,{className:"share-canvas",id:"share-canvas-id",children:e(i,{"canvas-id":"canvas",style:{width:`${d}px`,height:`${m}px`,position:"absolute"}})}),a(n,{className:"dashboard",children:[e(n,{className:"dashboard-item",children:e(c,{className:"txt",onClick:()=>{const e=k.createCanvasContext("canvas");e.clearRect(0,0,d,m),e.draw(!0),l(!1)},children:"关闭海报"})}),e(n,{className:"dashboard-item",onClick:r,children:e(c,{className:"txt",children:"保存图片"})})]})]})})},$o=({skuCode:o,priceShow:l,collectionShow:s,scene:n})=>{const[i,c]=t(!1),{View:r,SmoothView:d,Canvas:m,Image:h,Button:p,IconMobile:g}=u(),{rsSkuDomainList:N,rsGoodsFileDomainList:f,goodsDayinfo:C}=J(o,n),{goodInfo:y}=oe(N);le(o);const v=b(),S="WEB"===k.getEnv();return a(r,{className:"goodsDetail-topInfo",children:[e(jo,{goodsName:y.goodsName,shareShow:i,setShareShow:c,rsGoodsFileDomainList:f}),a(r,{className:"lPart",children:[a(d,{className:"name",style:{display:"flex",alignItems:"center"},children:["16"==y.goodsType?e(r,{className:"pre-sale",children:"预售商品"}):null,y.goodsName]}),"16"==y.goodsType&&C&&a(d,{className:"price",children:["预计发货时间:",C,"天内"]}),a(r,{style:{display:"flex",justifyContent:"space-between",marginTop:5},children:[a(r,{style:{display:"flex",flexDirection:"column"},children:[a(d,{className:"price",style:{display:l?"block":"none"},children:["会员价:",ha(y.pricesetNprice)]}),a(d,{className:"price",style:{display:l?"block":"none"},children:["促销价:",ha(y.pricesetNprice)]}),a(d,{className:"price",style:{display:l?"block":"none"},children:["阶梯价:",ha(.9*y.pricesetNprice)]})]}),e(p,{style:{width:80,padding:0,fontSize:14,marginRight:10,height:36},onClick:()=>{c(!0)},children:"生成海报"}),S?e(r,{onClick:e=>{var a;e.stopPropagation(),S?v.setClipboardData({data:window.location.href,success:()=>{v.showToast({title:"复制成功",icon:"success"})},fail:()=>{v.showToast({title:"复制失败",icon:"none"})}}):null===(a=null==v?void 0:v.showShareMenu)||void 0===a||a.call(v,{withShareTicket:!0,menus:["shareAppMessage","shareTimeline"]})},children:e(g,{style:{fontSize:20,color:"#f00"},value:"share"})}):e(p,{openType:"share",onClick:e=>{e.stopPropagation()},className:"wx-share-button",children:e(g,{style:{fontSize:20,color:"#f00"},value:"share"})})]})]}),e(r,{className:"rPart",style:{display:s?"flex":"none"},children:e(Yo,{goodsName:y.goodsName,pricesetNprice:y.pricesetNprice,dataPic:Qe(y.dataPic),skuCode:o})})]})},Qo=s((o=>{const{collectionShow:l,shareShow:s}=o,{View:t}=u(),{handleCollect:n,collection:i}=ae(o),{handleShare:c}=ne();return a(t,{className:"handleBar",children:[l?e(t,{className:"collection",onClick:n,style:{borderRight:s?"1px solid #ddd":"none"},children:R(i.dataObj)?"收藏":"已收藏"}):null,s?e(t,{className:"share",onClick:c,children:"分享"}):null]})})),Ko=s((({priceShow:o,collectionShow:l,shareShow:s,skuCode:t,scene:n})=>{const{View:i,SmoothView:c}=u(),{rsSkuDomainList:r}=J(t,n),{goodInfo:d}=oe(r);return ie((e=>e.spec)),le(t),a(i,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:o?"block":"none"},children:ha(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(Qo,{collectionShow:l,shareShow:s,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:Qe(d.dataPic),skuCode:t})]})})),qo=s((()=>{const{Text:e}=u(),o=ie((e=>e.count)),l=ie((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",o," 规格: ",l.toString()]})})),Zo=({dispatchPageStore:l})=>{const{View:s,Text:t}=u(),{openPopup:n}=ce(l);return e(o,{children:a(s,{className:"goodsDetail-size",onClick:n,children:[e(t,{className:"label",children:"属性规格"}),a(s,{className:"info",children:[e(qo,{}),e("img",{src:Ro,alt:"",className:"icon"})]})]})})},Xo=({skuCode:o,scene:l})=>{const{View:s,Text:t}=u(),{rsSkuDomainList:n}=J(o,l),{goodInfo:i}=oe(n),c=re(n,i.skuCode);return a(s,{className:"goodsDetail-promotion",children:[e(t,{className:"label",children:"促销"}),e(s,{className:"group",children:c.length?c.map((({discName:a},o)=>e(s,{className:"item",children:a.length<20?a:a.substring(0,10)+"..."},o))):e(s,{className:"noPromotion",children:"暂无促销活动"})})]})},Jo=s((({promotionBegintime:o,pbName:l,discName:s,promotionCode:t,promotionName:n,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=u(),{save:p,isPick:g}=de(),N=i((()=>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:s})]}),a(m,{className:"info",children:[e(h,{className:"title",children:n}),a(h,{className:"date",children:[_e(o).format("YYYY-MM-DD")," - ",_e(d).format("YYYY-MM-DD")]})]}),e(m,N>0?{className:g?"coupon-pick-default":"coupon-pick",onClick:()=>p({promotionCode:t,couponAmount:1}),children:g?"已领取":"领取"}:{className:"coupon-pick-default",children:"已领完"})]})})})),_o=()=>{const{View:a,Image:o}=u();return e(a,{children:e(o,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},el=l=>{var{skuCode:s,scene:t}=l;ca(l,["skuCode","scene"]);const{View:n,Text:i,Popup:c,Image:r}=u(),{rsSkuDomainList:d}=J(s,t),{goodInfo:h}=oe(d),{coupon:p,visible:g,setVisible:N}=me(d,h.skuCode);return a(o,{children:["26"==h.goodsType?null:a(n,{className:"goodsDetail-coupon",onClick:()=>N(!0),children:[e(i,{className:"label",children:"优惠券"}),a(n,{className:"info",children:[e(i,{className:"label",children:"请选择优惠券"}),e(r,{src:Ro,alt:"",className:"icon"})]})]}),e(c,{popupVisible:g,popupHandler:N,children:e(n,{className:"goodsDetail-coupon-popup",children:e(Ea,{children:p.length>0?p.map(((e,a)=>m(Jo,Object.assign({},e,{key:a})))):a(n,{className:"NoDataImg",children:[e(_o,{}),e(n,{className:"btn",onClick:()=>N(!1),children:"确定"})]})})})})]})},al=({onChange:a,readOnly:o=!1,size:l=22,count:s})=>{const{View:i}=u(),[c,r]=t([{icon:"star-fill"},{icon:"star"},{icon:"star"},{icon:"star"},{icon:"star"}]);n((()=>{if(s){const e=[...c];for(let a=0;a<e.length;a++)e[a].icon=a>s-1?"star":"star-fill";r(e)}}),[]);const d=e=>{if(!o){for(let a=0;a<c.length;a++)c[a].icon=a>e?"star":"star-fill";r([...c]),a(e+1)}};return e(i,{children:c.map(((a,o)=>e(sa,{onClick:d.bind(null,o),value:a.icon,style:{color:"#EC6C5C",fontSize:l}},o)))})},ol=({item:o})=>{const{View:l,Image:s,Text:t,Button:n}=u(),i=v(),c=b();w("user");const{userInfoCode:r}=w("user")||{userInfoCode:""};return a(l,{className:"rateItem",children:[a(l,{className:"topInfo",children:[a(l,{className:"lPart",children:[e(s,{src:o.userImgurl||"https://brushes.oss-cn-shanghai.aliyuncs.com/jinmen/avatar.png",className:"avatar"}),a(l,{className:"userInfo",children:[e(l,{className:"name",children:o.userName}),e(al,{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()}`})]}),a(l,{className:"pj-wrapper",children:[a(l,{className:"flex-1",children:[e(l,{className:"size",children:o.skuName}),e(l,{className:"content",children:o.evaluateGoodsContent}),o.evaluateGoodsImgs&&JSON.parse(o.evaluateGoodsImgs).length>0&&e(l,{className:"img-group",children:JSON.parse(o.evaluateGoodsImgs).map((a=>e(s,{src:Qe(a),style:{width:"100px",height:"100px"},mode:"aspectFit",className:"img"},a)))})]}),o.memberBcode===r?e(t,{className:"del-txt",onClick:()=>{(e=>{ra(void 0,void 0,void 0,(function*(){try{const a=e.evaluateGoodsId;if(!a)return;yield aa({evaluateGoodsId:a,isLocalMock:!i}),yield S("删除成功","none"),c.navigateBack({delta:1})}catch(e){console.log(e)}}))})(o)},children:"删除"}):null]}),o.shopReply&&o.shopReply.length?e(l,{className:"merchant-reply",children:o.shopReply.map((({evaluateReplyContent:o},s)=>a(l,{children:[e(t,{className:"merchant-reply-title",children:"商家回复"}),e(t,{children:o})]},s)))}):null]})},ll=({evaluateArr:o})=>{const{View:l}=u();return console.log(7,o),e(l,{className:"goodsDetailEvaluate",children:o.length?a(l,{children:[a(l,{className:"topInfo",children:["评价 (",o.length,")"]}),o.slice(0,5).map(((a,o)=>e(ol,{item:a},o)))]}):e(co,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},sl=process.env.REACT_APP_BASE_URL,tl=({goodsRemark:a})=>{const{View:o}=u(),l=i((()=>a?a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<!--[\s\S]*-->/gi,"").replace(/src="\/paas\//gi,`src="${sl}/paas/`).replace(/<img/gi,'<img style="max-width:100%;height:auto;display:block;"'):""),[a]);return e(o,{className:"goodsDetail-info",children:e(oa,{nodes:l})})},nl=({goodsRemark:o})=>{const{View:l}=u(),[s,c]=t({}),[r,d]=t(!1),m=i((()=>{const e=window.location.hash.split("?")[1]||"";return new URLSearchParams(e).get("skuCode")||""}),[window.location.hash]),p=h((e=>ra(void 0,void 0,void 0,(function*(){if(e){d(!0);try{const a=yield A({skuCode:e});console.log("goodsDetailQuery:",a),c(a||{})}catch(e){c({})}finally{d(!1)}}}))),[]);n((()=>{p(m)}),[m,p]);const g=s.rsPropertiesValueDomainList||[];return a(l,{className:"goodsDetail-info",children:[g.length>0&&e(l,{style:{fontSize:12,marginTop:10,display:"grid",borderRadius:6,background:"#fff",border:"solid 1px #f1f1f1",padding:"10px 40px",gridTemplateColumns:"repeat(2, 1fr)",gap:"10px"},children:g.map(((o,s)=>a(l,{style:{marginRight:25,marginLeft:10},children:[" ",e(l,{style:{color:"black",fontSize:13,fontWeight:500},children:o.propertiesName}),e(l,{style:{color:"gray",fontSize:11},children:o.propertiesValueValue||"--"})]},s)))}),r&&e(l,{style:{textAlign:"center",padding:20},children:"加载中..."})]})},il=({tabActive:l,setTabActive:s,evaluateShow:t,evaluateImgShow:n,evaluateImg:c})=>{const{Text:r}=u(),d=i((()=>n?[{title:"商品详情",id:"1"},{title:"商品规格",id:"3"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[t]);return e(o,{children:d.map(((o,t)=>e(p,{children:a(r,{className:"tabsItem "+(l===t?"active":""),onClick:()=>s(t),children:[o.title,e(r,{className:"line"})]})},t)))})},cl=({evaluateShow:o,evaluateImgShow:l,evaluateImg:s,skuCode:n,scene:i})=>{const{View:c}=u(),[r,d]=t(0),{goodsRemark:m,goodsCode:h}=J(n,i),p=he(h);return a(c,{className:"goodsDetailTab",children:[e(c,{className:"tabs",children:e(il,{tabActive:r,setTabActive:d,evaluateShow:o,evaluateImgShow:l,evaluateImg:s})}),e(c,{className:"group",children:0===r?e(tl,{goodsRemark:m}):2===r?e(ll,{evaluateArr:p,evaluateImgShow:l,evaluateImg:s}):1===r?e(nl,{goodsRemark:m}):null})]})},rl=({skuName:o,handleChooseSize:l,goodsShowname:s,skuOption:t,index:n})=>{const{View:i,Text:c}=u(),r=ie((e=>e.offShelf)),d=(e,a)=>!!e&&(e.includes(`/${a}/`)||e.endsWith(a)||e.startsWith(a));return a(i,{className:"sizeArr",children:[e(c,{className:"title",children:o}),e(i,{className:"sizeArrItemWrap",children:t.map(((a,o)=>e(i,{className:C({sizeItem:!0,active:d(s,a.specValueValue),offShelf:!d(s,a.specValueValue)&&r}),onClick:l.bind(null,a.specValueValue,n),children:a.specValueValue},o)))})]})},{Stepper:dl}=N,ml=({count:a,handleStep:o,goodsNum:l,goodsMinnum:s})=>{const{View:t}=u(),n=s||1,i=l||999;return e(t,{className:"numStep",style:{width:"100px"},children:e(dl,{value:a,min:n,max:i,onChange:e=>{if(null===e||isNaN(e))return;const l=Math.floor(e);if(l!==a+1)if(l!==a-1){if(l<n)S(`不能小于${n}`,"none");else if(l>i)S("超库存","none");else if(l!==a){const e=_.getState();_.setState(Object.assign(Object.assign({},e),{count:l}))}}else o("minus");else o("plus")}})})},hl=s((({handleStep:o,goodsNum:l,goodsMinnum:s})=>{const{View:t}=u(),n=ie((e=>e.count));return a(t,{className:"countWrap",children:[e(t,{className:"label",children:"购买数量"}),e(ml,{count:n,handleStep:o,goodsNum:l,goodsMinnum:s})]})})),pl=({skuInfo:l,handleChooseSize:s,spec:t,goodInfo:n})=>{const{Image:i,View:c}=u(),{skuList:r}=l,d=n&&"06"===n.goodsType?n.pricesetRefrice+"积分":ha(n.pricesetNprice);return a(o,{children:[a(c,{className:"goodsInfo",children:[e(c,{className:"lPart",children:e(i,{src:Qe(n.dataPic),alt:"",className:"goodsImg"})}),a(c,{className:"rPart",children:[e(c,{className:"name",children:n.goodsName}),e(c,{className:"price",children:d}),a(c,{className:"chosen",children:["已选择: ",t.toString()]}),a(c,{className:"price",children:["库存: ",n.goodsNum]})]})]}),r.map(((a,o)=>e(rl,{goodsShowname:n.skuName,handleChooseSize:s,index:o,skuName:a.skuName,skuOption:a.skuOption},o)))]})},ul=({cashImpl:l,addShoppingImpl:s,addCardImpl:t})=>{const{Text:n,View:i}=u(),c=ie((e=>e.isNeedButton)),r=ie((e=>e.offShelf));return r?e(i,{className:C({btnWrap:!0,offShelf:r}),children:e(n,{className:"btn",children:"已下架"})}):e(o,{children:c?e(i,{className:"btnWrap",onClick:s,children:e(n,{className:"btn",children:"确认"})}):a(i,{className:"goods-detail-btn-group popup-buy-button",children:[e(i,{className:"btn addCart",onClick:t,children:"加入购物车"}),e(i,{className:"btn buy",onClick:l,children:"立即购买"})]})})},gl=s((({dispatchPageStore:o,goodsCode:l,skuInfo:s,rsSkuDomainList:t})=>{const{View:n,ScrollView:i}=u(),{spec:c,goodInfo:r}=oe(t),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:p,addShoppingImpl:g}=pe(l,s,t,o);return a(n,{className:"goodsDetail-size-popup",children:[e(Ea,{children:e(i,{children:a(n,{className:"content",children:[e(pl,{skuInfo:s,handleChooseSize:d,spec:c,goodInfo:r}),e(hl,{handleStep:m.bind(null,r.goodsNum,r.goodsMinnum),goodsNum:r.goodsNum,goodsMinnum:r.goodsMinnum})]})})}),e(ul,{cashImpl:p,addShoppingImpl:g,addCardImpl:h})]})})),Nl=({popupVisible:a,dispatchPageStore:o,goodsCode:l,skuInfo:s,rsSkuDomainList:t})=>{const{Popup:n}=u();return e(n,{popupVisible:a,popupHandler:()=>{o({visible:!1})},children:e(gl,{dispatchPageStore:o,goodsCode:l,skuInfo:s,rsSkuDomainList:t})})},fl=s((({serverShow:l,cartShow:s,lPartShow:i,lPartColor:c,lPartBgColor:r,lPartStyle:d,rPartColor:m,rPartBgColor:h,rPartStyle:p,rPartText:g,dispatchPageStore:N,skuCode:f,platform:C,scene:b})=>{const{View:v,IconMobile:S,Text:w}=u(),x=ie((e=>e.offShelf)),{rsSkuDomainList:I,goodPro:B}=J(f,b),{goodInfo:T}=oe(I),{servicePopup:A}=da(C),{addCardPopup:D,buyOpenPopup:P}=ce(N),[V,L]=t("10px");return n((()=>{const e=(()=>{try{const e=k.getSystemInfoSync(),a=k.getEnv();if(a===k.ENV_TYPE.WEAPP||a===k.ENV_TYPE.ALIPAY||a===k.ENV_TYPE.SWAN||a===k.ENV_TYPE.TT||a===k.ENV_TYPE.JD){let a=0;if(e.safeArea&&e.safeArea.bottom)a=e.screenHeight-e.safeArea.bottom;else if(e.safeAreaInsets&&e.safeAreaInsets.bottom)a=e.safeAreaInsets.bottom;else if(e.model){const o=e.model.toLowerCase();(o.includes("iphone x")||o.includes("iphone 11")||o.includes("iphone 12")||o.includes("iphone 13")||o.includes("iphone 14")||o.includes("iphone 15"))&&(a=34)}return`${10+a}px`}return"calc(15px + env(safe-area-inset-bottom, 0px))"}catch(e){return"15px"}})();L(e)}),[]),a(v,{className:"goodsDetailHandleBar",style:{paddingBottom:V},children:[a(v,{className:"linkGroup server",onClick:A,style:{display:l?"block":"none"},children:[e(S,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(v,{className:"txt",children:"客服"})]}),a(v,{className:"linkGroup cart",onClick:()=>y("shopping"),style:{display:s?"block":"none"},children:[e(S,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(v,{className:"txt",children:"购物车"})]}),e(v,{className:"goods-detail-btn-group",children:x?e(v,{className:"btn addCart offShelf",children:e(w,{className:"btn",children:"已下架"})}):a(o,{children:["26"===B||!1===i?null:e(v,{className:"btn addCart",onClick:D,style:{color:c,backgroundColor:r,borderTopLeftRadius:d,borderBottomLeftRadius:d},children:"加入购物车"}),e(v,{onClick:P,className:"btn buy",style:Object.assign({color:m,backgroundColor:h,borderTopRightRadius:p,borderBottomRightRadius:p},!1===i?{borderTopLeftRadius:p,borderBottomLeftRadius:p}:{}),children:g||("10"===T.goodsPro?"预售抢购":"立即购买")})]})})]})})),Cl=l=>{var{$_dataSource:s={},dispatchPageStore:t=M,skuCode:n,scene:i}=l,c=ca(l,["$_dataSource","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=J(n,i),h=ue(r,m),{popupVisible:p}=s;return a(o,{children:[e(fl,Object.assign({skuCode:n},c,{dispatchPageStore:t})),e(Nl,{dispatchPageStore:t,popupVisible:p,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},bl=s((({serverShow:o,cartShow:l,lBtnBorderColor:s,lBtnFontColor:t,lBtnColor:n,lBtnStyle:i,rBtnBorderColor:c,rBtnFontColor:r,rBtnColor:d,rBtnStyle:m,dispatchPageStore:h,skuCode:p,scene:g,platform:N})=>{const{View:f,IconMobile:C}=u(),{rsSkuDomainList:b}=J(p,g),{goodInfo:v}=oe(b),{servicePopup:S}=da(N),{addCardPopup:w,buyOpenPopup:x}=ce(h);return a(f,{className:"goodsDetailHandleBarOne",children:[a(f,{className:"linkGroup server",onClick:S,style:{display:o?"block":"none"},children:[e(C,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(f,{className:"txt",children:"客服"})]}),a(f,{className:"linkGroup cart",onClick:()=>y("shopping"),style:{display:l?"block":"none"},children:[e(C,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(f,{className:"txt",children:"购物车"})]}),a(f,{className:"goods-detail-one-btn-group",children:[e(f,{className:"btn addCart",onClick:w,style:{border:`1px solid ${s}`,color:t,backgroundColor:n,borderRadius:1===i?"20px":"0"},children:"加入购物车"}),e(f,{onClick:x,className:"btn buy",style:{border:`1px solid ${c}`,color:r,backgroundColor:d,borderRadius:1===m?"20px":"0"},children:"10"===v.goodsPro?"预售抢购":"立即购买"})]})]})})),yl=l=>{var{popupVisible:s=!1,dispatchPageStore:t=M,skuCode:n,scene:i}=l,c=ca(l,["popupVisible","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=J(n,i),h=ue(r,m);return a(o,{children:[e(bl,Object.assign({skuCode:n},c,{dispatchPageStore:t})),e(Nl,{dispatchPageStore:t,popupVisible:s,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},vl=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],Sl=({setParams:o,activeColor:l})=>{const{View:s}=u(),[n,i]=t(0),[c,r]=t(vl);return e(s,{className:"sortWrap",children:c.map((({order:t,sortField:c,name:d},m)=>a(s,{className:"sortItem "+(n===m?"active":""),onClick:()=>((e,a,l)=>{i(a),l&&r((e=>(e[a].order="asc"===l?"desc":"asc",[...e]))),o({sortField:e,order:l})})(c,m,t),style:{color:n===m?l:""},children:[d,t&&a(s,{className:"orderIcons",children:[e(sa,{style:{color:n===m&&"desc"!==t?l:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(sa,{style:{color:n===m&&"desc"===t?l:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},wl=s((({classtreeCode:o="",searchParam:l="",activeColor:s="#e54e29",goodsName:n=!0,goodsPrice:c=!0,lineationGoods:r=!0,salesQuantity:d=!0,goodsCar:m=!0,borderRadius:h=!0,goodsColor:p=!0,goodsGap:g=10,paddingLR:N=0,__link__:f={}})=>{console.log(111,f);const{View:b,Loading:y,SmoothView:v,Image:S,ScrollView:w,IconMobile:x}=u(),[k,I]=t({}),{loading:B,getData:T,list:A}=ge(o,l,k),D=i((()=>C("textBox",{btm:!c&&!r})),[c,r]),P=i((()=>C("name",{boxNone:!n})),[n]),V=i((()=>C("middle_margin",{boxNone:!d})),[d]),L=i((()=>C("goodDetail",{boxNone:!c&&!r&&!m})),[c,r,m]),R=i((()=>C({detailContent:!(P.includes("boxNone")&&V.includes("boxNone")&&L.includes("boxNone"))})),[P,V,L]);return a(b,{className:"goodsList",children:[e(b,{className:"top-info",children:e(Sl,{setParams:I,activeColor:s})}),e(b,{className:"listWrap",style:{padding:` 0px ${N}px`},children:e(Ea,{id:"listWrap",children:a(w,{onScroll:()=>T(k),children:[e(b,{className:"list",style:{gap:g},children:A.map((o=>a(b,{onClick:()=>Je(f,{skuCode:o.skuCode}),className:"listItem",style:{borderRadius:h?"8px":"",boxShadow:p?"4px 4px 4px #969292":""},children:[e(S,{src:Qe(o.dataPic),className:"img"}),a(b,{className:R,children:[e(v,{className:P,children:o.goodsName}),a(b,{className:V,children:["已售:",o.goodsNum]}),a(b,{className:L,children:[a(b,{className:D,children:[e(v,{className:"price",style:{display:c?"block":"none"},children:ha(o.pricesetNprice)})," ",e(b,{className:"decoration",style:{display:r?"block":"none"},children:ha(o.pricesetMakeprice)})]}),e(b,{style:{display:m?"block":"none"},children:e(x,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},o.skuCode)))}),B?e(y,{}):null]})})})]})})),xl=({dispatchPageStore:a,$_dataSource:o={cartIsEditor:!1},btnStyle:l,borderColor:s,textColor:t,btnColor:n,btnShape:c})=>{const{View:r}=u(),{cartIsEditor:d}=o,{editorImpl:m}=Ne(a),h=i((()=>({border:l?`2px solid ${s}`:"",color:l?t:"",background:l?n:"",borderRadius:l?c:""})),[l,s,t,n,c]);return e(r,{className:"cart-edit",children:e(r,{className:"btn",onClick:m,style:h,children:d?"完成":"编辑"})})},kl=s((({promotionName:o,checked:l,promotionCode:s})=>{const{View:t,Radio:n}=u();return a(t,{className:"promotion-item",children:[e(t,{className:"content",children:o}),e(t,{className:"choose",children:e(n,{"data-code":l,checked:l,value:s})})]})})),Il=({onChange:a,promotionCode:o,visible:l,setVisible:s,promotion:t})=>{const{Popup:n,ScrollView:i,View:c,SmoothRadio:r}=u();return e(n,{popupVisible:l,popupHandler:s,children:e(c,{className:"goodsDetail-coupon-popup",children:e(Ea,{children:e(i,{children:e(r,{onChange:a,children:t.map(((e,a)=>m(kl,Object.assign({checked:e.promotionCode===o},e,{key:a}))))})})})})})},Bl=s((({goodsName:l,dataState:s,skuName:t,goodsCamount:n,shoppingGoodsId:i,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=u();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 ",n]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:ha(c)}),0===s&&e(h,{count:n,handleStep:r.bind(null,i,n)})]})]})})})),Tl=s((({dataPic:o,dataState:l,skuCode:s})=>{const{Image:t,View:n}=u(),c=i((()=>{let a="";switch(l){case 3:case 1:a="https://brushes.oss-cn-shanghai.aliyuncs.com/static/lowcode-platform/goodsLose.png";break;case 2:a="https://brushes.oss-cn-shanghai.aliyuncs.com/static/lowcode-platform/offshelf.png"}return 0!==l?e(n,{className:"bg",children:e(t,{className:"icon-img",src:a})}):null}),[l]);return a(n,{className:"cart-item-image",children:[c,e(t,{className:"img",src:o,onClick:()=>y("goodDetail",{skuCode:s})})]})})),Al=s((({cartIsEditor:a,shoppingGoodsId:o,dataState:l,select:s=[]})=>{const{View:t,Checkbox:n}=u(),c=i((()=>(a||0===l)&&s.includes(o)),[s,a,o,l]);return console.log(106,typeof o),e(t,{className:"checkBoxWrap",children:e(n,{disabled:!a&&0!==l,checked:c,value:o,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),Dl=({promotion:l=[],updatePm:s,shoppingGoodsId:n,promotionCode:c})=>{const{View:r}=u(),[d,m]=t(!1),h=i((()=>((l||[]).find((e=>e.promotionCode===c))||{}).promotionName),[l]);return a(o,{children:[a(r,{className:"cart-promote-active",onClick:()=>m(!0),children:[e(r,{children:h}),e(r,{children:"修改"})]}),e(r,{onClick:e=>{e.target.dataset.code&&(m(!1),s(n,"-"))},children:e(Il,{promotionCode:c,onChange:e=>{m(!1),s(n,Ce(e))},promotion:l||[],visible:d,setVisible:m})})]})},Pl=s((o=>{var{item:l}=o,s=ca(o,["item"]);const{View:t}=u(),{select:n,cartIsEditor:i}=s;return a(t,{className:"cart-list-item",children:[e(Al,{cartIsEditor:i,dataState:l.dataState,select:n,shoppingGoodsId:l.shoppingGoodsId}),e(Tl,{dataState:l.dataState,dataPic:Qe(l.dataPic),skuCode:l.skuCode}),e(Bl,Object.assign({},l,s))]})})),Vl=l=>{var{shoppingGoodsList:s=[]}=l,t=ca(l,["shoppingGoodsList"]);return e(o,{children:s.map(((o,l)=>a(p,{children:[e(Pl,Object.assign({},t,{item:o})),o.pmPromotionList?e(Dl,{promotionCode:t.promotionCode,shoppingGoodsId:o.shoppingGoodsId,updatePm:t.updatePm,promotion:o.pmPromotionList}):null]},l)))})},Ll=({disNextMsg:o,link:l})=>{const{View:s,IconMobile:t}=u(),n=i((()=>R(l)?null:a(s,{style:{color:"#ED4444",textAlign:"right"},onClick:()=>Je(l,{}),children:["去凑单",e(t,{style:{fontSize:"14px",color:"#888"},value:"xiangyou1"})]})),[l]);return a(s,{className:"cart-dis-title-msg",children:[e(s,{className:"dis-msg",children:o}),n]})},Rl=({disNextMsg:o,promotionName:l,pbName:s,link:t})=>{const{View:n,SmoothView:i}=u();return a(n,{className:"cart-dis-title",children:[e(i,{className:"tips",children:s}),e(i,{className:"title",children:l}),o&&e(Ll,{link:t,disNextMsg:o})]})},Ml=({refreshNum:l,dispatchPageStore:s,$_dataSource:t={cartSelect:[],cartUpdateCount:0,cartIsEditor:!1},__link__:n={},cartItemRadius:i="10px"})=>{const{SmoothCheckbox:c,WrapLoading:r,View:d}=u(),{cartSelect:m,cartUpdateCount:h,cartIsEditor:g}=t,{loading:N,cartList:f,onChange:C,handleStep:b,updatePm:y}=fe(l,h,s);return console.log(286,m),e(r,{loading:N,children:e(d,{className:"cart-wrap",children:e(c,{value:m,onChange:C,children:f.length?e(o,{children:f.map((({memberName:o,promotionCode:l,disNextMsg:s,promotionName:t,pbName:c,shoppingGoodsList:r},h)=>a(p,{children:[e("h4",{children:o}),a(d,{className:"cart-bg",style:{borderRadius:i},children:[t?e(Rl,{link:n,disNextMsg:s,promotionName:t,pbName:c}):null,e(Vl,{cartIsEditor:g,promotionCode:l,handleStep:b,select:m,updatePm:y,shoppingGoodsList:r,cartItemRadius:i})]})]},h)))}):e(co,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},zl=({$_dataSource:o={cartInfo:[],cartDisMoney:0,cartSelect:[],cartIsEditor:!1},dispatchPageStore:l,countBorderColor:s="#000000",countTextColor:t="#ffffff",countBtnColor:n="#000000",countBtnShape:c="20px"})=>{const{View:r,SmoothView:d,SmoothCheckbox:m,Checkbox:h}=u(),{cartInfo:p,cartDisMoney:g,cartSelect:N,cartIsEditor:f}=o,{toOrderImpl:C,deleteCart:b,clearAll:y,selectAll:v,ids:S,cartDetail:w}=be(N,p,l),x=i((()=>({border:`1px solid ${s}`,color:t,background:n,borderRadius:c})),[s,t,n,c]);return a(r,{className:"cart-dashboard",children:[e(r,{className:"choose",children:e(m,{value:p.length===N.length?["true"]:[],onChange:v,children:e(h,{checked:p.length===N.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),a(r,f?{className:"del",children:[S.length?e(r,{onClick:y,className:"btn",style:{marginRight:5},children:"一键清空失效商品"}):null,e(r,{onClick:b,className:"btn",children:"删除"})]}:{className:"check",children:[a(r,{className:"priceGroup",children:[a(r,{className:"discount",children:["优惠: ",e(d,{className:"data",children:ha(g)})]}),a(r,{className:"all",children:["总计: ",e(d,{className:"data",children:ha(w.amount)})]})]}),a(r,{onClick:C,className:"btn",style:x,children:["结算(",w.num,")"]})]})]})},Ol=({address:a})=>e(o,{children:R(a)?e(Fl,{}):e(El,{address:a})}),El=({address:o})=>{const{View:l,SmoothView:s,IconMobile:t}=u(),n=i((()=>{const{provinceName:e,addressDefault:a,cityName:l,areaName:s,addressDetail:t,addressMember:n="",addressPhone:i=""}=o;return{addressDefault:"1"===a,addressMember:n,addressPhone:i,address:e+l+s+t}}),[o]);return a(l,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(l,{className:"left",children:[a(l,{className:"left-title",children:[e(s,{children:n.addressMember}),e(s,{className:"left-padding",children:n.addressPhone}),n.addressDefault?e(s,{className:"left-padding left-title-default",children:"默认"}):null]}),e(s,{className:"left-detail",children:n.address})]}),e(t,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},Fl=()=>{const{View:l,Text:s}=u();return a(o,{children:[a(l,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},Gl=({refreshNum:a,skuId:o="",goodsNum:l=0,shoppingGoodsId:s="",goodsBeanStr:t="",longContractgoodsBeanStr:n=""})=>{const{View:i}=u(),c=ye(a,l,o,s,t,n);return e(i,{className:"placeOrder-chooseAddress",onClick:()=>y("addressList"),children:e(Ol,{address:c})})},Wl=({address:a})=>e(o,{children:R(a)?e(jl,{}):e(Yl,{address:a})}),Yl=({address:o})=>{const{View:l,SmoothView:s,IconMobile:t}=u(),n=i((()=>{const{provinceName:e,cityName:a,areaName:l,addressDetail:s,addressMember:t="",addressPhone:n=""}=o;return{displayName:t,displayPhone:n,address:(e||"")+(a||"")+(l||"")+(s||"")}}),[o]);return a(l,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(l,{className:"left",children:[a(l,{className:"left-title",children:[e(s,{children:n.displayName}),e(s,{className:"left-padding",children:n.displayPhone})]}),e(s,{className:"left-detail",children:n.address})]}),e(t,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},jl=()=>{const{View:l,Text:s}=u();return a(o,{children:[a(l,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},Hl=({refreshNum:a})=>{const{View:o}=u(),l=ve(a);return e(o,{className:"placeOrder-chooseAddress",onClick:()=>y("pickupPointList"),children:e(Wl,{address:l})})},Ul=({tabActive:l,setTabActive:s})=>{const{Text:t}=u();return e(o,{children:[{title:"快递",id:"0"},{title:"自提",id:"1"}].map(((o,n)=>e(p,{children:a(t,{className:"tabsItem "+(l===o.id?"active":""),onClick:()=>s(o.id),children:[o.title,e(t,{className:"line"})]})},o.id)))})},$l=({refreshNum:o,skuId:l="",goodsNum:s=0,shoppingGoodsId:i="",goodsBeanStr:c="",longContractgoodsBeanStr:r=""})=>{const{View:d,Text:m}=u(),[h,p]=t("0");return n((()=>{Se.contractPumode=h}),[h]),a(d,{className:"placeOrderAddressTabs",children:[a(d,{className:"delivery-header",children:[e(m,{className:"delivery-label",children:"配送方式:"}),e(d,{className:"tabs",children:e(Ul,{tabActive:h,setTabActive:p})})]}),e(d,{className:"content",children:"0"===h?e(Gl,{refreshNum:o&&o.addressId,skuId:l,goodsNum:s,shoppingGoodsId:i,goodsBeanStr:c,longContractgoodsBeanStr:r}):e(Hl,{refreshNum:o&&o.userinfoOcode,skuId:l,goodsNum:s,shoppingGoodsId:i})})]})},Ql=s((({couponStart:o,pbName:l,discName:s,isDisabled:t,couponNo:n,promotionName:i,couponEnd:c})=>{const{View:r,Text:d,Checkbox:m}=u();return e(r,{className:"couponItem",children:a(r,{className:"coupon-content",children:[a(r,{className:"price",children:[e(r,{className:"symbol",children:l}),e(r,{className:"num",children:s})]}),a(r,{className:"info",children:[e(d,{className:"title",children:i}),a(d,{className:"date",children:[_e(o).format("YYYY-MM-DD")," - ",_e(c).format("YYYY-MM-DD")]})]}),e(r,{className:"choose",children:e(m,{disabled:t,value:n})})]})})})),Kl=s((({couponStart:o,pbName:l,discName:s,couponNo:t,promotionName:n,couponEnd:i})=>{const{View:c,Text:r,Radio:d}=u();return e(c,{className:"couponItem",children:a(c,{className:"coupon-content",children:[a(c,{className:"price",children:[e(c,{className:"symbol",children:l}),e(c,{className:"num",children:s})]}),a(c,{className:"info",children:[e(r,{className:"title",children:n}),a(r,{className:"date",children:[_e(o).format("YYYY-MM-DD")," - ",_e(i).format("YYYY-MM-DD")]})]}),e(c,{className:"choose",children:e(d,{value:t})})]})})})),ql=({refreshNum:l,couponType:s=!0,goodsNum:t,skuId:n,shoppingGoodsId:i,goodsBeanStr:c,longContractgoodsBeanStr:r,scontractCode:d})=>{const{View:h,Text:p,Popup:g,Form:N,SmoothRadio:f,Button:C,SmoothCheckbox:b,ScrollView:y,Radio:v,Image:S}=u(),{shoppingGoodsList:w}=we({refreshNum:l,goodsNum:t,skuId:n,shoppingGoodsId:i,goodsBeanStr:c,longContractgoodsBeanStr:r,scontractCode:d}),{coupon:x,visible:k,couponValue:I=[],setVisible:B,selectCoupon:T,onChange:A,onCreditChange:D,confirmImpl:P,resetImpl:V,contractPmode:L,onPayChange:R,payList:M,payName:z,creditList:O,creditInfo:E,selectCredit:F,creditVisible:G,payVisible:W,setPayVisible:Y,handleChooseImg:j,contractEcurl:H,setCreditVisible:U}=xe(w,s);return console.log("shoppingGoodsList",w),a(o,{children:[w.some((e=>"06"===e.goodsType||"26"===e.goodsType))?null:a(o,{children:[a(h,{className:"coupon-select",onClick:()=>B(0!==x.length),children:[e(p,{className:"label",children:"使用优惠"}),a(h,{className:"info",children:[e(p,{className:"label",children:T?`已选择: ${T}`:0===x.length?"暂无可用优惠券":"请选择优惠券"}),0===x.length?null:e("img",{src:Ro,alt:"",className:"icon"})]})]}),a(h,{className:"coupon-select",onClick:()=>Y(!0),children:[e(p,{className:"label",children:"支付方式"}),a(h,{className:"info",children:[e(p,{className:"label",children:z?`已选择: ${z}`:"请选择支付方式"}),0===x.length?null:e("img",{src:Ro,alt:"",className:"icon"})]})]})]}),E.urechargeId&&"0"===L&&a(h,{className:"coupon-select",onClick:()=>U(0!==O.length),children:[e(p,{className:"label",children:"使用授信"}),a(h,{className:"info",children:[e(p,{className:"label",children:F?0===+F?"不使用":`已选择: ${F}%`:"请选择授信"}),0===x.length?null:e("img",{src:Ro,alt:"",className:"icon"})]})]}),"1"===L&&a(h,{className:"coupon-select",children:[e(p,{className:"label",children:"附件上传"}),a(h,{style:{fontSize:12,display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[e(h,{className:"img-fields",onClick:j,children:H?e(S,{src:H,className:"img",alt:H,mode:"widthFix"}):e(h,{children:"上传图片"})}),e(h,{children:"只能上传jpg/png文件,且不超过5mb"})]})]}),e(g,{popupVisible:W,popupHandler:Y,children:e(h,{className:"goodsDetail-coupon-popup ver-line",children:e(Ea,{children:e(y,{children:e(f,{value:L||"",onChange:R,children:(null==M?void 0:M.length)>0&&M.map(((o,l)=>a(h,{style:{marginBottom:5},children:[e(v,{checked:o.ptfpmodeType===L,value:o.ptfpmodeType}),o.ptfpmodeName]},l)))},"payVisible")})})})}),e(g,{popupVisible:G,popupHandler:U,children:e(h,{className:"goodsDetail-coupon-popup ver-line",children:e(Ea,{children:e(y,{children:e(f,{onChange:D,children:(null==O?void 0:O.length)>0&&O.map(((o,l)=>a(h,{style:{marginBottom:5},children:[e(v,{value:o.flagSettingInfo}),0===o.flagSettingInfo?"不使用":`${o.flagSettingInfo}%`]})))},"creditVisible")})})})}),e(g,{popupVisible:k,popupHandler:B,children:a(h,{className:"goodsDetail-coupon-popup",children:[e(Ea,{children:e(y,{children:s?e(b,{value:(null==I?void 0:I.length)>0?I.map((e=>e.couponNo)):[],onChange:A,children:(null==x?void 0:x.length)>0&&x.map((e=>m(Ql,Object.assign({isDisabled:2===I.length},e,{key:e.couponNo}))))},"visible"):e(f,{value:(null==I?void 0:I.length)>0?I[0].couponNo:"",onChange:A,children:x.map(((e,a)=>m(Kl,Object.assign({},e,{key:a}))))},"visible")})}),a(h,{className:"place-footer",children:[e(C,{className:"operate reset",onClick:V,children:"重置"}),e(C,{className:"operate",onClick:P,children:"确认"})]})]})})]})},Zl=({shippingMethod:o=1})=>{const{View:l}=u();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:"快递"})]})})},Xl=({refreshNum:a,goodsNum:l,skuId:s,shoppingGoodsId:t,goodsBeanStr:n,longContractgoodsBeanStr:i,scontractCode:c})=>{const{View:r}=u(),{list:d}=we({refreshNum:a,goodsNum:l,skuId:s,goodsBeanStr:n,shoppingGoodsId:t,longContractgoodsBeanStr:i,scontractCode:c});return e(r,{className:"place-order-goods",children:d.map(((a=[],l)=>e(o,{children:(a||[]).map(((a,o)=>e(qa,Object.assign({},a),l)))})))})},Jl=({refreshNum:l,goodsNum:s,skuId:t,shoppingGoodsId:n,goodsBeanStr:i,longContractgoodsBeanStr:c,scontractCode:r})=>{const{View:d,SmoothView:m,Image:h,TextArea:p,Textarea:g}=u(),N=g||p,f=we({refreshNum:l,goodsNum:s,skuId:t,shoppingGoodsId:n,goodsBeanStr:i,longContractgoodsBeanStr:c,scontractCode:r}),{payState:C,disCount:b,creditMoney:y,freight:v,payPrice:S,rebMoney:w}=f,x=f.pointsDeduction||0,k=f.urDiscount||0,{shoppingCountPrice:I,comDisMoney:B,changeContent:T,shoppingType:A,pricesetRefrice:D}=ke(C),P=ha(Math.max(S-y,0));return e(d,{style:{paddingBottom:80},children:a(d,{className:"price placeOrder-blcWrap",children:[e(d,{className:"title",children:"价格明细"}),"06"===A?null:a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"商品总金额"}),e(m,{className:"value",children:ha(I)})]}),null!==x&&a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"积分抵扣"}),a(m,{className:"value",style:{color:"#f00"},children:["-","06"===A?x+"积分":ha(x)]})]}),"06"===A?null:a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"会员权益优惠"}),a(m,{className:"value",style:{color:"#f00"},children:["-",ha(k)]})]}),"06"===A?null:a(o,{children:[a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"授信付款:"}),e(m,{className:"value",children:ha(-y)})]}),a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"返利金额"}),e(m,{className:"value",children:ha(-w.current)})]}),a(d,{className:"coupon placeOrder-blcItem",children:[e(d,{className:"label",children:"优惠金额"}),e(m,{className:"value",children:ha(-(B+b))})]})]}),a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"运费"}),e(m,{className:"value",children:ha(v)})]}),a(d,{className:"all placeOrder-blcItem",children:[e(d,{className:"label",children:"订单备注"}),e(N,{className:"content",placeholder:"订单备注",rows:5,maxLength:30,onInput:T})]}),a(d,{className:"all placeOrder-blcItem",children:[e(d,{className:"label",children:"总计"}),e(m,{className:"value",style:{color:"#000"},children:i?"0.00":P})]})]})})},_l=({color:o,buttonColor:l,borderColor:s,borderRadius:t,refreshNum:n,goodsNum:i,skuId:c,goodsBeanStr:r,shoppingGoodsId:d,longContractgoodsBeanStr:m,scontractCode:h})=>{const{View:p,Text:g,WrapLoading:N}=u(),{payPrice:f,list:C,payState:b,creditMoney:y,ocContractSettlList:v,pointsDeduction:S}=we({refreshNum:n,goodsNum:i,skuId:c,goodsBeanStr:r,shoppingGoodsId:d,longContractgoodsBeanStr:m,scontractCode:h}),{savePayPrice:w,loading:x}=Ie({ocContractSettlList:v,payState:b,list:C,goodsBeanStr:r},d,Math.max(f-y,0));b&&b.length>0&&(b[0].shoppingType,b[0].pricesetRefrice);const k=ha(Math.max(f-y,0));return a(p,{className:"placeOrderFooter",children:[a(g,{className:"price",children:["合计: ",r?"0.00":k]}),e(N,{loading:x,children:e(p,{className:"btn",onClick:w,style:{color:`${o}`,border:`1px solid ${s}`,backgroundColor:`${l}`,borderRadius:1===t?"40px":"0px"},children:"生成订单"})})]})},es=s((({contractBillcode:o,contractBbillcode:l,btnColor:s,btnShape:t,borderColor:c,paddingTop:r,paddingBottom:d,color:m})=>{const h=i((()=>v()),[]),{View:p,Text:g,Radio:N,IconMobile:f,WrapLoading:C,SmoothRadio:b}=u(),{paymentImpl:y,channelList:S,contract:w,handleRadio:x,loading:k}=Be({contractBillcode:o,contractBbillcode:l});return n((()=>{console.log("打印下当前的channelList",S),window.onPaymentFullfilled=e=>{console.log(e,"orderId-----------")}}),[]),a(p,{className:"paymentModeWrap",style:{height:h?"inherit":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:[a(p,{className:"paymentMode",children:[a(p,{className:"topInfo",children:[a(g,{className:"title",children:[e(f,{value:"roundcheck"}),"订单提交成功"]}),a(p,{className:"info",children:["订单号:",w.current.contractBillcode," | 总金额:",ha(w.current.contMoney+(w.current.logMoney||0)),"元"]}),a(p,{className:"info",children:["还需支付:",ha(w.current.orderMoney),"元"]})]}),e(p,{className:"paymentGroup",children:e(b,{onChange:x,children:null==S?void 0:S.map((o=>a(p,{className:"paymentItem",children:[e(f,{value:o.fchannelBankImgurl}),a(p,{children:[a(p,{className:"base",children:[e(g,{children:o.fchannelName}),e(N,{value:"1"===o.ptfchannelAmt?o.ptfchannelAmt:o.fchannelCode,className:"choose"})]}),"1"===o.ptfchannelAmt?a(p,{className:"info",children:[a(p,{children:["账户余额:",o.faccountAmount,"元"]}),a(p,{children:["支付金额:",ha(w.current.orderMoney),"元"]})]}):null]})]},o.fchannelCode)))})})]}),e(p,{id:"v_html"}),e(C,{loading:k,children:e(p,{className:"btnGroup",onClick:y,children:e(p,{style:{borderRadius:t,backgroundColor:s,color:m,borderColor:c},className:"payment",children:"立即支付"})})})]})})),as=({dataObj:o})=>{const{View:l,Text:s}=u();return a(l,{className:"placeOrderResultWrap",children:[a(l,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"订单号:"}),e(s,{className:"value",children:o.contractBillcode})]}),a(l,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付方式:"}),e(s,{className:"value",children:"在线支付"})]}),a(l,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付金额:"}),e(s,{className:"value",children:ha(o.dataBmoney)})]})]})},os=s((({code:o,borderRadius:l,leftColor:s,leftButtonColor:t,leftBorderColor:n,leftBorderRadius:i,rightValue:c,rightAddHref:r,rightColor:d,rightButtonColor:m,rightBorderColor:h,rightBorderRadius:p,paddingTop:g,paddingBottom:N})=>{const{View:f,Text:C,IconMobile:b,WrapLoading:v}=u(),{result:S,loading:x}=Te(o||(w("contractBillcode")||{}).contractBillcode);return e(f,{className:"placeOrderResult",style:{paddingTop:g,paddingBottom:N},children:e(v,{loading:x,children:a(f,{className:"placeOrderResultContent",style:{borderRadius:1===l?"20px":"0px"},children:[e(b,{value:S.icon,style:{fontSize:"35px",color:S.color}}),a(f,{className:"tips",children:[e(C,{className:"title",children:S.msg}),e(C,{className:"tip",children:S.info})]}),"success"===S.sysRecode&&e(as,{dataObj:S.dataObj}),a(f,{className:"btnGroup",style:{marginTop:20},children:[e(f,{className:"btn black",onClick:()=>y(S.menuCode,{contractBillcode:S.dataObj.contractBillcode}),style:{color:s,backgroundColor:t,border:`1px solid ${n}`,borderRadius:1===i?"20px":"0px"},children:S.buttonText}),e(f,{style:{color:d,backgroundColor:m,border:`1px solid ${h}`,borderRadius:1===p?"20px":"0px"},onClick:()=>y(r.value),className:"btn white",children:c})]})]})})})})),{Button:ls}=N,ss=a=>{var{dataState:l}=a,s=ca(a,["dataState"]);return e(o,{children:["-1"].includes(l+"")?null:e(ts,Object.assign({dataState:l},s))})},ts=a=>{var{dataState:o,contractAppraise:l,contractType:s,color:t,borderColor:n,btnColor:i,btnShape:c}=a,r=ca(a,["dataState","contractAppraise","contractType","color","borderColor","btnColor","btnShape"]);const{View:d}=u();4!==o&&4!==o||1===l?4!==o&&4!==o||1!==l||(o=5):o=4;const{operateArray:m,handlerImpl:h}=Ae(Object.assign({dataState:o,contractAppraise:l,contractType:s},r));return e(d,{className:"btnGroup",children:m.map(((a,o)=>e(ls,{style:{color:t,borderColor:n,backgroundColor:i},className:C({btn:!0,white:o<m.length-1,black:o===m.length-1}),onClick:()=>h(a.handler),shape:c,children:a.name},o)))})},{Button:ns}=N,is=s((({copyContent:a=""})=>{const[o,l]=t(!1),s=i((()=>v()),[]),n=i((()=>s?b():null),[s]),c=e=>ra(void 0,void 0,void 0,(function*(){if(navigator.clipboard&&navigator.clipboard.writeText)return navigator.clipboard.writeText(e);const a=document.createElement("textarea");a.value=e,a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",document.body.appendChild(a),a.select();const o=document.execCommand("copy");if(document.body.removeChild(a),!o)throw new Error("复制失败")})),r=(e,a="success")=>{s&&n&&n.showToast?n.showToast({title:e,icon:a}):alert(e)};return e(ns,{className:"copy",size:"mini",fill:"outline",onClick:()=>ra(void 0,void 0,void 0,(function*(){if(a)try{s&&n&&n.setClipboardData?(yield new Promise(((e,o)=>{n.setClipboardData({data:a,success:e,fail:o})})),r("复制成功","success"),l(!0)):(yield c(a),r("复制成功","success"),l(!0))}catch(e){console.error("复制失败:",e),r("复制失败","error")}else r("复制内容为空","error")})),children:o?"已复制":"复制"})})),cs=({contractPaydate:a,init:l,countdownCancel:s,contractId:i})=>{const{View:c,SmoothView:r}=u(),{resultTime:d}=((e,a,o,l)=>{const[s,i]=t("");return n((()=>{const s=setTimeout((()=>{const s=new Date(e),t=new Date,n=s.getTime()-(t.getTime()-3600);n<999&&n>0?o(l).then((()=>{a()})):n>1e3&&i(ua(n,"后将取消订单,请尽快支付"))}),1e3);return()=>{clearTimeout(s)}}),[s]),{resultTime:s}})(a,l,s,i);return e(o,{children:d?e(c,{className:"card-item-info-countDown",children:e(r,{children:d})}):null})};function rs({contractBillcode:o,dataBmoney:l,dataBnum:s,goodsList:t,dataState:n,contractId:i,init:c,contractAppraise:r,borderRadius:d,orderSpacing:m,contractPaydate:h,contractType:p,countdownCancel:g}){const{View:N}=u(),f=De(n,r);return a(N,{className:"orderListItem",style:{borderRadius:d?8:"",marginTop:m,marginBottom:m},children:[a(N,{children:[a(N,{className:"topInfo",children:[a(N,{className:"orderNo",children:["订单号: ",o,e(is,{copyContent:o})]}),e(N,{className:"status",children:f})]}),e(N,{className:"card-item-info-countDown"}),e(N,{className:"goodsItemWrap",onClick:()=>y("orderDetail",{contractBillcode:o}),children:t.map((a=>e(qa,Object.assign({},a,{dataState:n,children:1===n&&e(cs,{contractPaydate:h,init:c,countdownCancel:g,contractId:i})}),a.contractGoodsId)))})]}),a(N,{className:"allInfo",children:[a(N,{className:"totalNum",children:["共",s,"件商品"]}),a(N,{className:"totalPrice",children:["合计 ",ha(l)]})]}),e(ss,{init:c,contractType:p,contractId:i,contractBillcode:o,dataState:n,contractAppraise:r,dataBmoney:l})]})}const ds=()=>{const{View:a,Image:o}=u();return e(a,{children:e(o,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const ms=s((function({item:o,refreshNum:l,borderRadius:s,orderSpacing:t,contractType:n}){const{View:i,ScrollView:c,Loading:r}=u(),{onScroll:d,data:h,loading:p,init:g,countdownCancel:N}=Pe(o,l,n);return e(i,{className:"orderListItemWrap",children:e(Ea,{id:"orderListItemWrap",children:e(c,{onScroll:d,children:h.length>0?a(i,{children:[h.map(((e,a)=>m(rs,Object.assign({init:g},e,{key:a,borderRadius:s,orderSpacing:t,countdownCancel:N})))),e(i,{children:p?e(r,{}):null})]}):a(i,{className:"nodata_img",children:[e(ds,{}),e(i,{className:"nodata-btn",onClick:()=>y("goodList"),children:"前往购物"})]})})})})})),hs=process.env.TARO_ENV;let ps=Ve;if(console.log("platform",hs),"h5"==hs){const e=window.location.origin;console.log("origin",e),e.includes("points-mall.beiq.net")&&(ps=[{name:"全部",code:""},{name:"待付款",code:"1"},{name:"待发货",code:"2"},{name:"待收货",code:"3"},{name:"已完成",code:"4"},{name:"已取消",code:"-1"}])}else{const e=k.getAccountInfoSync().miniProgram.domainInfo;console.log(e),e&&e.requestDomain&&e.requestDomain.includes("points-mall.beiq.net")&&(ps=[{name:"全部",code:""},{name:"待付款",code:"1"},{name:"待发货",code:"2"},{name:"待收货",code:"3"},{name:"已完成",code:"4"},{name:"已取消",code:"-1"}])}const us=s((({refreshNum:a=0,indexId:o=0,borderRadius:l=!1,orderSpacing:s=12,contractType:t=""})=>{const{View:n,Tabs:i}=u();return e(n,{className:"order-container",children:e(i,{defaultIndex:+o,tabs:ps,render:o=>e(n,{className:"orderList",children:e(ms,{contractType:t,item:o,orderSpacing:s,refreshNum:a,borderRadius:l})})})})})),gs=s((({contractBillcode:l,expressWay:s,backgroundColor:t,color:n,paddingBottom:i,paddingTop:c,borderColor:r,btnColor:d,btnShape:m,url:h})=>{const{View:g,Text:N,Image:f}=u(),{orderDetail:C,handleApplyBtn:b,creditMoney:v,packageRemark:S,expressName:w}=Le(l||""),x=e=>_e(e).format("YYYY-MM-DD HH:mm:ss");return a(g,{className:"orderDetail",children:[e(g,{style:{backgroundColor:t},className:"orderDetailTopTitle",children:a(g,{className:"orderDetailTopTitleContent",children:[a(g,{className:"icon_text",children:["待收货"===De(C.dataState)?e(sa,{value:"daishouhuo",style:{color:"#ffffff",marginRight:"10px",fontSize:"20px"}}):"",e(N,{className:"title",children:De(C.dataState,C.contractAppraise)})]}),e(g,{className:"subTitleWrap",children:x(C.gmtCreate)})]})}),e(g,{className:"orderDetailContent",style:{paddingTop:c+"px",paddingBottom:i+"px"},children:a(g,{style:{position:"relative",top:-26},children:[a(g,{className:"addressInfo",children:[e(g,{className:"lPart",children:e(sa,{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=>e(o,{children:a("view",{onClick:()=>{y("goodDetail",{skuCode:l.skuCode})},children:[e(qa,Object.assign({},l),l.contractGoodsId),e(g,{className:"orderBtn",style:{marginBottom:5},onClick:e=>{e.stopPropagation(),e.preventDefault(),y(h,{skuCode:l.skuCode})},children:"商品快照"}),Number(C.dataState)>1&&Number(C.dataState)<4&&"06"!==C.contractType?e(g,{className:"orderBtn maxWidth",onClick:e=>{e.stopPropagation(),e.preventDefault(),b.bind(null,l,C.dataState)()},children:"申请退款(取消订单)"}):""]})}))),e(g,{className:"priceInfo",children:"06"!=C.contractType?a(p,{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]})]}),a(g,{className:"priceInfoFloor",children:[e(g,{className:"totalNum",children:"客服电话"}),e(g,{className:"totalPrice",children:"13284246638"})]})]}):""})]}),s&&a(o,{children:[a(g,{className:"express",children:[e(g,{className:"label",children:"物流信息"}),e(g,{className:"name",children:w||"暂无物流信息"})]}),a(g,{className:"express",children:[e(g,{className:"label",children:"配送信息"}),e(g,{className:"name",children:"1"===C.contractPumode?"自提":"快递"})]})]}),"06"!==C.contractType&&a(g,{className:"express",children:[e(g,{className:"label",children:"发票信息"}),e(g,{className:"name",children:0===C.contractInvstate?"未开票":1===C.contractInvstate?"已提交":"已开票"})]}),a(g,{className:"orderInfo",children:[e(g,{className:"orderInfoItem",children:e(g,{style:{fontSize:14},children:"订单信息"})}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"运费"}),a(g,{className:"name",children:["¥",C.goodsLogmoney]})]}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"买家留言"}),e(g,{className:"name",children:S||"-"})]}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"订单编号"}),a(g,{className:"context_copy",children:[e(g,{className:"name",children:C.contractBillcode}),e(is,{copyContent:C.contractBillcode})]})]}),a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"下单时间"}),e(g,{className:"name",children:x(C.gmtCreate)})]}),"06"!=C.contractType?a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"授信金额"}),e(g,{className:"name",children:ha(-v)})]}):"",a(g,{className:"orderInfoItem",children:[e(g,{className:"label",children:"支付方式"}),e(g,{className:"name",children:e(g,{className:"name",children:"0"===C.contractPmode?"线上支付":"线下支付"})})]}),"1"===C.contractPmode&&a(g,{className:"orderInfoItem container-img-top",children:[e(g,{className:"label",children:"付款凭证"}),e(g,{className:"name",children:e(f,{mode:"widthFix",style:{width:100},src:Qe(C.contractEcurl)})})]})]}),e(g,{className:"btnGroupFooter",children:e(ss,{borderColor:r,btnColor:d,btnShape:m,color:n,contractBillcode:C.contractBillcode,contractId:C.contractId,contractType:C.contractType,dataState:C.dataState,contractInvstate:C.contractInvstate,dataBmoney:C.dataBmoney,contractAppraise:C.contractAppraise})})]})})]})})),Ns=({defaultValue:o,info:l,detail:s,stateObj:t})=>{const{View:n}=u(),i=V(l,"packageList[0].contractGoodsList[0].dataPic",o.dataPic),c=V(l,"packageList.length",o.count),r=V(l,"packageList[0].expressName",o.expressName),d=V(l,"packageList[0].packageBillno",o.packageBillno),m=V(s,"state",o.result)||"-1";return a(n,{className:"expressInfoTop",children:[e(n,{className:"goodsImg",style:{backgroundImage:`url(${i})`},children:a(n,{className:"tip",children:["共 ",c," 件商品"]})}),a(n,{className:"list",children:[a(n,{className:"listItem",children:["物流状态:",m?t[m]:"暂时无法获取物流状态"]}),a(n,{className:"listItem",children:["快递公司:",r]}),a(n,{className:"listItem",children:["快递单号:",d]})]})]})},fs=({defaultValue:o,detail:l})=>{const{View:s}=u(),t=V(l,"message",o.message),n=V(l,"data",o.list);return e(s,{className:"expressInfoStep",children:"ok"===t?n.map(((o,l)=>a(s,{className:"step",children:[e(s,{className:"time",children:o.time}),e(s,{children:o.context})]},l))):e(s,{className:"noInfo",children:t})})},Cs=s((({code:o,defaultValue:l})=>{const{View:s}=u(),{info:t,detail:n,stateObj:i}=Re(o);return a(s,{className:"expressInfo",children:[e(Ns,{info:t,detail:n,stateObj:i,defaultValue:l}),e(fs,{detail:n,defaultValue:l})]})})),bs=s((({avatarStyle:o,paddingTop:l,paddingBottom:s,userAvatar:i,userNickname:c,refreshNum:r})=>{const{View:d,Text:m,IconMobile:h,Image:p}=u(),{servicePopup:g}=da(),[N,f]=t(c),[C,b]=t(i);return n((()=>{f(w("userNickname")),b(w("userAvatar"))}),[r]),a(d,{className:"mineData",style:{paddingTop:`${l}px`,paddingBottom:`${s}px`},children:[a(d,{className:"topBoard",children:[e(h,{value:"bianzu",onClick:()=>y("/account/setting/index")}),e(h,{value:"kehufuwukefu",onClick:g})]}),a(d,{className:"userSetting",onClick:()=>y("/account/setting/index"),children:[a(d,{className:"lPart",children:[e(m,{className:"name",children:N||"用户名称"}),e(d,{className:"link",style:{paddingTop:"10px"},children:"编辑个人资料 >"})]}),e(p,{src:C,alt:"",className:"avatar",style:{borderRadius:o?"50%":"2px"}})]})]})})),ys=s((({title:o,columnList:l})=>{const{View:s,Text:i,Badge:c,Image:r}=u(),[d,m]=t({}),[h,p]=t(0),g=()=>ra(void 0,void 0,void 0,(function*(){try{const e=yield D();m(e.dataObj)}catch(e){console.error("获取订单数据失败:",e)}}));n((()=>{const e=w("myPageShowNum")||0;p(e),g();const a=setInterval((()=>{const e=w("myPageShowNum")||0;e!==h&&(p(e),g())}),500);return()=>{clearInterval(a)}}),[h]);const N=(e,a)=>{4!==e.id?y("orderlist",{indexId:a+1}):y("afterSalesList")};return console.log(333,l,d),a(s,{className:"mineOrderEntry",children:[a(s,{className:"title",children:[e(s,{className:"name",children:o}),e(s,{className:"more",onClick:()=>y("orderlist"),children:"查看全部"})]}),e(s,{className:"content",children:l.map(((o,l)=>a(s,{onClick:N.bind(null,o,l),className:"contentItem",style:{display:o.show?"block":"none"},children:[e(c,Object.assign({},d[o.code]>0?{content:d[o.code]}:{},{color:"#f00",style:{color:"#fff",fontSize:12},children:e(r,{src:o.imgUrl,className:"icon"})})),e(i,{className:"subTitle",children:o.label})]},l)))})]})})),vs=s((({paddingTop:o,paddingBottom:l,columnList:s})=>{const{View:t,Text:n,IconMobile:i,Image:c}=u();return e(t,{className:"mineFunction",style:{paddingTop:o+"px",paddingBottom:l+"px"},children:s.map(((o,l)=>a(t,{className:"menuListItem",onClick:()=>y(o.link.value),children:[a(t,{className:"lPart",children:[e(c,{src:Qe(o.imgUrl),className:"icon"}),e(n,{className:"label",children:o.link.label})]}),e(i,{value:"xiangyou1"})]},l)))})})),Ss=({starColor:o="#FF0934",starSize:l="12px",itemData:s})=>{const{View:t,Text:n,Image:i}=u(),{Rate:c}=N;return a(t,{className:"evaluateItem",children:[a(t,{className:"userInfo",children:[e(i,{src:s.avatar,className:"avatar"}),a(t,{className:"userNameWrap",children:[e(n,{className:"userName",children:s.userName}),e(c,{readOnly:!0,value:s.rate,style:{"--star-size":l,"--active-color":o}})]})]}),a(t,{className:"size",children:["规格: ",s.size]}),e(t,{className:"content",children:s.evaluate}),e(t,{className:"img-group",children:s.imgUrls.map(((a,o)=>e(i,{src:a.imgUrl,className:"img"},o)))})]})},ws=[{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"}]}],xs=s((()=>{const[l,s]=t("1"),{View:n}=u(),i=c([{label:"全部",num:"900+",index:"1"},{label:"好评",num:"800+",index:"2"},{label:"中评",num:"99+",index:"3"},{label:"差评",num:"12",index:"4"}]),r=e=>{s(e)};return a(o,{children:[e(n,{className:"evaluateListTab",children:i.current.map((e=>a(n,{className:"evaluateListTabItem "+(e.index===l?"active":""),"data-index":e.index,onClick:r.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(n,{className:"evaluateListContent",children:ws.map(((a,o)=>e(Ss,{itemData:a},o)))})]})})),ks=s((({code:o,borderRadius:l,borderColor:s,color:n,buttonColor:i,buttonBorderRadius:r,paddingTop:d,paddingBottom:m})=>{const{orderInfo:h,changeStar:g,Submit:f,changeContent:C,addImg:y,removeImg:v,getImgUrls:S}=Me(o),{Button:w}=N,{View:x,Image:k,TextArea:I,Textarea:B}=u(),T=B||I,A="WEAPP"===b().getEnv(),D="undefined"!=typeof window,[P,V]=t(0),L=c("宝贝满足你吗?分享一下它吧"),R=e=>{V(e);if(S(e).length>=3)if(A){b().showToast({title:"最多上传3张图片",icon:"none"})}else D&&alert("最多上传3张图片");else(()=>{if(A){const e=b(),a=3-S(P).length;if(a<=0)return void e.showToast({title:"最多上传3张图片",icon:"none"});e.chooseImage({count:a,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){var a;(e.tempFilePaths||(null===(a=e.tempFiles)||void 0===a?void 0:a.map((e=>e.path)))||[]).forEach((e=>{y(P,e)}))}})}else if(D){const e=3-S(P).length;if(e<=0)return void alert("最多上传3张图片");const a=document.createElement("input");a.type="file",a.accept="image/*",a.onchange=a=>{const o=a.target.files;o&&o.length>0&&Array.from(o).slice(0,e).forEach((e=>{const a=URL.createObjectURL(e);y(P,a)}))},a.click()}})()};return a(x,{className:"evaluateDetail",style:{paddingTop:d,paddingBottom:m},children:[h.map(((o,s)=>a(p,{children:[a(x,{className:"topInfo",children:[a(x,{className:"lPart",children:[e(k,{src:Qe(o.dataPic),className:"img",style:{borderRadius:1===l?"20px":"0px"}}),a(x,{className:"goodsInfo",children:[e(x,{className:"goodsName",children:o.goodsName}),e(x,{className:"goodsSize",children:o.skuName})]})]}),e(x,{className:"rPart",children:a(x,{className:"price",children:["¥ ",o.pricesetNprice]})})]}),a(x,{className:"rate",children:[e(x,{className:"title",children:"商品评价"}),e(al,{onChange:g.bind(null,s)})]}),e(x,{className:"evaluate",children:e(T,{className:"content",placeholder:L.current,rows:5,maxLength:30,onInput:C.bind(null,s)})}),a(x,{className:"upload-imgs",children:[e(x,{className:"upload-title",children:"上传图片 (最多3张)"}),a(x,{className:"img-list",children:[a(x,{className:"upload-btn",onClick:()=>R(s),children:[e(sa,{value:"shangchuanpingzheng",style:{fontSize:24,color:"#9e9e9e"}}),e(x,{className:"upload-text",children:"上传图片"})]}),S(s).map(((o,l)=>a(x,{className:"img-item",children:[e(k,{className:"preview-img",src:o,onClick:()=>(e=>{if(A){const a=b(),o=S(P);a.previewImage({current:e,urls:o})}else D&&window.open(e,"_blank")})(o)}),e(x,{className:"delete-btn",onClick:()=>v(s,l),children:"×"})]},l)))]})]})]},s))),e(w,{style:{color:"#fff",backgroundColor:"#34c0bc",borderRadius:1===r?"20px":"0px"},className:"btn",onClick:f,children:"提交"})]})})),Is=s((({code:o,borderRadius:l,borderColor:s,color:t,buttonColor:n,isNeedDelete:i,buttonBorderRadius:c,paddingTop:r,paddingBottom:d})=>{const{orderInfo:m,handleDelete:h}=ze(o),{Button:g}=N,{View:f,Image:C,Text:b}=u();return a(f,{className:"evaluateDetail",style:{paddingTop:r,paddingBottom:d},children:[m.map(((o,s)=>{var t;return a(p,{children:[a(f,{className:"topInfo",children:[a(f,{className:"lPart",children:[e(C,{src:Qe(o.dataPic),className:"img",style:{borderRadius:1===l?"20px":"0px"}}),a(f,{className:"goodsInfo",children:[e(f,{className:"goodsName",children:o.goodsName}),e(f,{className:"goodsSize",children:o.skuName})]})]}),e(f,{className:"rPart",children:o.pricesetNprice&&a(f,{className:"price",children:["¥ ",o.pricesetNprice]})})]}),a(f,{className:"rate",children:[e(f,{className:"title",children:"商品评价"}),e(al,{readOnly:!0,count:(null===(t=o.evaluateScopeReList)||void 0===t?void 0:t.length)||0})]}),e(f,{className:"evaluate",children:e(f,{className:"content",children:e(b,{children:o.evaluateGoodsContent||""})})}),o.evaluateGoodsImgs&&e(f,{className:"evaluate-imgs",children:(()=>{let a=[];const s=o.evaluateGoodsImgs;if("string"==typeof s&&s.startsWith("["))try{a=JSON.parse(s)}catch(e){a=[]}else"string"==typeof s&&(a=s.split(",").filter(Boolean));return a.map(((a,o)=>e(C,{className:"evaluate-img",src:Qe(a),style:{borderRadius:1===l?"10px":"0px"}},o)))})()})]},s)})),m.length?e(g,{style:{border:`1px solid ${s}`,color:t,backgroundColor:n,borderRadius:1===c?"20px":"0px",marginTop:20},className:"btn",onClick:h,children:"删除"}):null]})})),Bs=({item:o,edit:l,checked:s})=>{const{View:t,Image:n,Checkbox:i,SmoothView:c}=u(),r=s.includes(o.collectCode);return a(t,{className:"collectItem",children:[l?e(i,{className:"lPart",value:o.collectCode,checked:r}):null,a(t,{className:"rPart",onClick:()=>{[2,3].includes(o.dataState)||y("goodDetail",{skuCode:o.collectOpcode})},children:[a(t,{className:"imgPart",children:[e(n,{src:Qe(o.collectOppic),className:"img"}),e(t,{className:[2,3].includes(o.dataState)?"tag":"",children:[2,3].includes(o.dataState)?"商品失效":""})]}),a(t,{className:"info",children:[e(c,{className:"title",children:o.collectOpcont}),a(c,{className:"price",children:[o.collectOpnum," 元"]})]})]})]})},Ts=s((()=>{const{collectionList:o,edit:l,setEdit:s,getData:t,getSelectItem:n,delItem:i,init:c,checked:r,setChecked:d,handleSelectAll:m,selectAllChecked:h,setSelectAllChecked:p}=Oe(),{View:g,ScrollView:N,SmoothCheckbox:f,Checkbox:C,Button:b,Image:y}=u();return e(g,{className:"collectList",children:0===o.length?e(g,{className:"noDate",children:e(y,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(g,{className:"hasDate",children:[e(g,{className:"topBar",children:e(g,{className:"edit",onClick:()=>s(!l),children:l?"完成":"编辑"})}),e(Ea,{id:"topBar",children:a(N,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(f,{value:r,onChange:n,style:{height:"100%"},children:o.map((a=>e(Bs,{item:a,edit:l,checked:r},a.collectId)))}),l?a(g,{className:"handleBar",children:[e(g,{className:"checkAll",style:{width:"130px"},children:e(C,{value:"1",checked:h,onChange:()=>{if(!h){const e=o.map((e=>e.collectCode));d(e),p(!0)}else d([]),p(!1)},children:"全选"})}),e(b,{className:"btn",onClick:i,children:"删除"})]}):null]})})]})})})),As=({item:o,edit:l,checked:s})=>{var t,n;const{View:i,Image:c,Checkbox:r,SmoothView:d}=u();return a(i,{className:"collectItem",children:[l?e(r,{className:"lPart",value:o.collectCode,checked:s}):null,a(i,{className:"rPart",onClick:()=>y("merchantShop",{memberCode:o.collectOpcode}),children:[e(c,{src:Qe(null===(t=o.shopdeInfo)||void 0===t?void 0:t.shopdeLogo),className:"img"}),a(i,{className:"info",children:[e(d,{className:"title",children:o.collectOpcont}),e(d,{className:"scope",children:null===(n=o.shopdeInfo)||void 0===n?void 0:n.shopdeScope})]})]})]})},Ds=s((()=>{const{collectionList:o,edit:l,setEdit:s,getData:t,getSelectItem:n,delItem:i,init:c,checked:r,handleSelectAll:d,selectAllChecked:m}=Oe(1),{View:h,ScrollView:p,SmoothCheckbox:g,Checkbox:N,Button:f,Image:C}=u();return e(h,{className:"collectList",children:0===o.length?e(h,{className:"noDate",children:e(C,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(h,{className:"hasDate",children:[e(h,{className:"topBar",children:e(h,{className:"edit",onClick:()=>s(!l),children:l?"完成":"编辑"})}),e(Ea,{id:"topBar",children:a(p,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(g,{value:r,onChange:n,style:{height:"100%"},children:o.map(((a,o)=>e(As,{item:a,edit:l,checked:r},a.collectId||o)))}),l?a(h,{className:"handleBar",children:[e(h,{className:"checkAll",style:{width:"130px"},children:e(g,{onChange:d,children:e(N,{value:"1",checked:m,children:"全选"})})}),e(f,{className:"btn",onClick:i,children:"删除"})]}):null]})})]})})})),Ps=({footprintItem:o,edit:l})=>{const{View:s,Image:t,Checkbox:n,SmoothView:c}=u(),r=i((()=>o.footprintOpnum?`${o.footprintOpnum}元`:""),[o.footprintOpnum]);return a(s,{className:"footprintItem",children:[l?e(s,{className:"lPart",children:e(n,{value:o.footprintCode})}):null,a(s,{className:"rPart",onClick:()=>y("goodDetail",{skuCode:o.footprintOpcode}),children:[e(t,{src:Qe(o.footprintOppic),className:"img"}),a(s,{className:"info",children:[e(c,{className:"title",children:o.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},Vs=({item:l,edit:s})=>{const{View:t}=u();return a(t,{className:"footPrint",children:[e(o,{children:e(t,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==l?void 0:l.title})}),l.option.map(((a,o)=>e(Ps,{footprintItem:a,edit:s},o)))]})},Ls=({footprintList:a,edit:l})=>{const s=i((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?_e(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),o=z(e,"gmtCreate");return Object.keys(o).map((e=>({title:e||"",option:o[e]})))}),[a]);return e(o,{children:s.map(((a,o)=>e(Vs,{item:a,edit:l},o)))})},Rs=s((()=>{const{View:o,ScrollView:l,SmoothCheckbox:s,Button:t,WrapLoading:n}=u(),{footprintList:i,edit:c,setEdit:r,getSelectItem:d,delItem:m,getData:h,loading:p,checked:g}=Ee();return e(n,{loading:p,children:e(o,{className:"footprint",children:a(o,{className:"hasDate",children:[e(o,{className:"topBar",children:e(o,{className:"edit",onClick:()=>r(!c),children:c?"完成":"编辑"})}),e(Ea,{id:"topBar1",children:a(l,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScrollToLower:h,children:[e(s,{value:g,onChange:d,children:e(Ls,{footprintList:i,edit:c})}),c?a(o,{className:"handleBar",children:[e(o,{className:"checkAll"}),e(t,{className:"btn",onClick:m,children:"删除"})]}):null]})})]})})})})),Ms=s((({buttonText:o,buttonBackground:l,borderRadius:s,paddingTop:t,paddingBottom:n})=>{const{View:c,Text:r,Button:d,WrapLoading:m,IconMobile:h}=u(),{signedDates:p,pointsNum:g,loading:N,signing:f,handleSignin:C}=Fe(),b=_e(),y=b.format("YYYY-MM-DD"),v=i((()=>p.includes(y)),[p,y]),S=i((()=>{const e=b.year(),a=b.month(),o=_e(`${e}-${a+1}-01`),l=o.endOf("month"),s=o.day(),t=0===s?6:s-1,n=o.subtract(t,"day"),i=l.day(),c=0===i?0:7-i,r=l.add(c,"day"),d=[];let m=n;for(;m.isBefore(r)||m.isSame(r,"day");){const e=m.format("YYYY-MM-DD");d.push({date:m,isCurrentMonth:m.month()===a,isToday:m.isSame(b,"day"),isSigned:p.includes(e)}),m=m.add(1,"day")}return d}),[b,p]),w=i((()=>b.format("YYYY年MM月")),[b]);return e(m,{loading:N,children:a(c,{className:"memberSignin",style:{paddingTop:t+"px",paddingBottom:n+"px"},children:[e(c,{className:"signinHeader",children:e(r,{className:"dateText",children:w})}),a(c,{className:"signinCalendar",children:[e(c,{className:"weekDays",children:["一","二","三","四","五","六","日"].map(((a,o)=>e(c,{className:"weekDay",children:e(r,{children:a})},o)))}),e(c,{className:"calendarGrid",children:S.map(((o,s)=>a(c,{className:`calendarDay ${o.isCurrentMonth?"":"otherMonth"} ${o.isToday?"today":""} ${o.isSigned?"signed":""}`,children:[e(r,{className:"dayNumber",style:o.isToday?{color:l}:{},children:o.date.date()}),o.isSigned&&e(h,{value:"roundcheck",style:{fontSize:"12px",color:"#52c41a",position:"absolute",bottom:"2px",left:"50%",transform:"translateX(-50%)"}})]},s)))})]}),a(c,{className:"signinButtonWrapper",children:[g>0&&e(c,{className:"pointsTip",children:a(r,{className:"pointsTipText",children:["每日签到可获得 ",e(r,{children:g})," 积分"]})}),e(d,{className:"signinButton",disabled:v||f,onClick:C,style:{backgroundColor:l,opacity:v?.3:1,borderRadius:1===s?"22px":"8px"},children:f?"签到中...":v?"已签到":o})]})]})})})),zs=s((({title:o,themeColor:l="#fa8c16",paddingTop:s,paddingBottom:n})=>{const{View:c,Text:r,Popup:d,WrapLoading:m}=u(),[h,p]=t((()=>_e())),[g,N]=t(!1),[f,C]=t((()=>_e().year())),[b,y]=t((()=>_e().month()+1)),{signinDetails:v,loading:S,refresh:w}=Ge(h),x=i((()=>h.format("YYYY年MM月")),[h]),k=i((()=>Array.from({length:12},((e,a)=>a+1))),[]),I=i((()=>v.sort(((e,a)=>_e(a.date).valueOf()-_e(e.date).valueOf()))),[v]);return e(m,{loading:S,children:a(c,{className:"signinDetail",style:{paddingTop:s+"px",paddingBottom:n+"px"},children:[a(c,{className:"signinDetailHeader",children:[e(r,{className:"titleText",children:o}),a(c,{className:"dateSelector",onClick:()=>{const e=h.year(),a=h.month()+1;C(e),y(a),N(!0)},children:[e(r,{className:"dateText",children:x}),e(r,{className:"arrowIcon",children:"▼"})]})]}),e(c,{className:"signinDetailList",children:I.length>0?I.map(((o,s)=>{const t=_e(o.date);return a(c,{className:"signinDetailItem",children:[e(r,{className:"dateText",children:t.format("MM月DD日")}),a(r,{className:"pointsText",style:{color:l},children:["+",o.points,"积分"]})]},s)})):e(c,{className:"emptyState",children:e(r,{className:"emptyText",children:"暂无签到记录"})})}),e(d,{popupVisible:g,popupHandler:N,children:e(c,{className:"datePickerPopup",children:a(c,{className:"pickerContent",children:[a(c,{className:"yearSelector",children:[e(c,{className:"yearArrow",onClick:()=>{C((e=>e-1))},children:e(r,{className:"arrowText",children:"«"})}),a(r,{className:"yearText",children:[f,"年"]}),e(c,{className:"yearArrow",onClick:()=>{C((e=>e+1))},children:e(r,{className:"arrowText",children:"»"})})]}),e(c,{className:"monthGrid",children:k.map((o=>e(c,{className:"monthItem "+(b===o?"active":""),onClick:()=>(e=>{y(e);const a=_e(`${f}-${String(e).padStart(2,"0")}-01`);p(a),N(!1)})(o),style:b===o?{backgroundColor:l}:{},children:a(r,{className:"monthText",children:[o,"月"]})},o)))})]})})})]})})})),Os=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],Es=s((({activeColor:a,setParams:o,params:l})=>{const{View:s}=u();return e(s,{className:"promotionListTab",children:Os.map(((t,n)=>e(s,{className:"promotionListTabItem",onClick:()=>o(t.val),style:{color:t.val===l?a:"#000"},children:t.label},n)))})})),Fs=({data:o})=>{const{View:l}=u(),{pbName:s,promotionName:t,pmPromotionDiscountList:n,promotionBegintime:i,promotionEndtime:c}=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:["官方",s]})}),e(l,{className:"rule",children:n.at(-1).discName}),e(l,{className:"title",children:t}),a(l,{className:"time",children:[_e(i).format("YYYY-MM-DD")," ~ ",_e(c).format("YYYY-MM-DD")]})]}),e(l,{className:"rPart",children:e(l,{className:"sideBorder"})})]})},Gs=s((({activeColor:o,paddingTop:l,paddingBottom:s})=>{const[n,i]=t(Os[0].val),{list:c,getData:r}=We({params:n}),{View:d,ScrollView:m}=u();return a(d,{style:{padding:`${l}px 0 ${s}px`},children:[e(Es,{activeColor:o,setParams:i,params:n}),e(d,{children:e(Ea,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,o)=>e(Fs,{data:a},o)))})})})]})}));s((()=>{const{View:a,Skeleton:l}=u(),s=c(new Array(3).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})}));const Ws=()=>{const{View:a,Image:o}=u();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"})})},Ys=({list:l,coe:s,config:t,backgroundColor:n,color:i,shopName:c})=>{const{View:r,Text:d}=u();return e(o,{children:l.length?l.map(((l,m)=>e(r,{className:`couponListItem\n ${t.current[s.current].styleName} ${2===l.dataState?"overdue":""}`,style:{backgroundColor:n,color:i},children:a(r,{className:"coupon-content",children:[a(r,{className:"price",children:[e(d,{className:"num",children:l.pbName}),e(d,{className:"title",children:l.discName})]}),a(r,{className:"couponListItem-info",children:[e(d,{className:"member-name",children:c||l.memberName}),e(r,{className:"info-top",children:a(d,{className:"disc-start",children:["使用规则:满",l.discStart,"元可用"]})}),a(d,{className:"date",children:["有效期至:",_e(l.couponEnd).format("YYYY-MM-DD HH:mm")]}),a(d,{className:"date",children:["领取时间:",_e(l.gmtCreate).format("YYYY-MM-DD HH:mm")]}),1===l.dataState?a(d,{className:"date",children:["使用时间:",_e(l.gmtModified).format("YYYY-MM-DD HH:mm")]}):null,t.current[s.current].text?e(r,{className:"btn",children:t.current[s.current].text}):null,2===l.dataState?e(o,{children:e(r,{className:"round",children:"已失效"})}):null]})]})},m))):e(Ws,{})})},js=s((({backgroundColor:o,color:l,paddingTop:s,paddingBottom:t,queue:n})=>{const{View:i,Text:c,ScrollView:r}=u(),{coe:d,getList:m,config:h,switchTab:p,list:g=[]}=Ye();return a(i,{className:"couponList",children:[e(i,{className:"couponTab",children:h.current.map(((o,l)=>a(i,{className:"couponTabItem "+(d.current===l?"active":""),onClick:()=>p(l),children:[o.label,e(c,{className:"icon"})]},o.id)))}),e(Ea,{id:"couponTab",bottomHeight:"60",children:e(r,{onScroll:m,children:e(i,{className:"couponListContent",style:{paddingTop:s,paddingBottom:t},children:e(Ys,{backgroundColor:o,color:l,queue:n,list:g,coe:d,config:h})})})})]})})),Hs=s((({defaultValue:o,coupons:l,bg:s,borderColor:t,btnColor:n,typeColor:i,titleColor:c,ruleColor:r,timeColor:d,paddingTop:m,paddingBottom:h})=>{const{View:p}=u(),{list:g,takeCoupon:N,takeList:f}=je({defaultValue:o,coupons:l});return e(p,{style:{paddingTop:`${m}px`,paddingBottom:`${h}px`},children:g.map(((o,l)=>{const m=V(o,"pbName"),h=V(o,"pmPromotionDiscountList"),u=V(h.at(-1),"discName"),g=V(o,"promotionName"),C=_e(V(o,"promotionBegintime")).format("YYYY-MM-DD"),b=_e(V(o,"promotionEndtime")).format("YYYY-MM-DD"),y=V(o,"promotionCode");return a(p,{className:"OneLineOneBlc",style:{backgroundColor:s,borderColor:t},children:[a(p,{className:"lPart",children:[a(p,{className:"intro",children:[e(p,{className:"type",style:{color:i},children:m}),e(p,{className:"rule",style:{color:r},children:u})]}),a(p,{className:"info",children:[e(p,{className:"title",style:{color:c},children:g}),a(p,{className:"validity",style:{color:d},children:[C," - ",b]})]})]}),e(p,{className:"rPart",style:{backgroundColor:n},children:-1===o.availabledate||f.includes(l)?e(p,{className:"txt",children:"已 领 取"}):e(p,{className:"txt",onClick:()=>N({promotionCode:y,couponAmount:1,index:l}),children:"立 即 领 取"})})]},l)}))})})),Us=s((({defaultValue:o,coupons:l,bg:s,borderColor:t,btnColor:n,typeColor:i,ruleColor:c,titleColor:r,timeColor:d,gap:m,paddingTop:h,paddingBottom:p})=>{const{View:g}=u(),{list:N,takeCoupon:f,takeList:C}=je({defaultValue:o,coupons:l});return e(g,{className:"oneLineTwoBlc",style:{paddingTop:h,paddingBottom:p,paddingLeft:"10px",paddingRight:"10px",gap:m},children:N.map(((o,l)=>{const m=V(o,"pbName"),h=V(o,"pmPromotionDiscountList"),p=V(h.at(-1),"discName"),u=V(o,"promotionName"),N=_e(V(o,"promotionBegintime")).format("YYYY-MM-DD"),b=_e(V(o,"promotionEndtime")).format("YYYY-MM-DD"),y=V(o,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:s,borderColor:t},children:[a(g,{className:"lPart",children:[e(g,{className:"type",style:{color:i},children:m}),e(g,{className:"rule",style:{color:c},children:p}),e(g,{className:"info",style:{color:r},children:u}),a(g,{className:"validity",style:{color:d},children:[N," - ",b]})]}),e(g,{className:"rPart",style:{backgroundColor:n},children:-1===o.availabledate||C.includes(l)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>f({promotionCode:y,couponAmount:1,index:l}),children:"立 即 领 取"})})]},l)}))})})),$s=s((o=>{var{type:l=1,coupons:s=[]}=o,t=ca(o,["type","coupons"]);const{View:n}=u();return a(n,{className:"getCouponOne",children:[1===l?e(Hs,Object.assign({coupons:s},t)):null,2===l?e(Us,Object.assign({coupons:s},t)):null]})})),Qs=({direction:a,speed:o,num:l,color:s})=>{const{content:t,navigator:n}=He(l);return e(f,{navigator:n,color:s,speed:o,direction:a,content:t})},Ks=s((({noticeId:o,paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:n})=>{const{View:i,Image:c}=u(),{info:r}=Ue(o);return a(i,{className:"noticeDetailContainer",style:{paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:n},children:[e(i,{className:"title",children:r.noticeTitle}),r.noticePicurl?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl}):null,r.noticePicurl1?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl1}):null,r.noticePicurl2?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl2}):null,r.noticePicurl3?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl3}):null,e(i,{className:"content",children:r.noticeContext})]})})),qs=s((({doclistId:o,paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:n})=>{const{info:i}=$e(o),{View:c,ScrollView:r}=u(),{gmtCreate:d,doclistContent:m,doclistTitle:h,doclistTitle4:p}=i;return e(c,{className:"articleDetail",style:{paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:n},children:e(Ea,{id:"a",children:a(r,{children:[e(c,{className:"title",children:h}),e(c,{className:"author",children:p}),a(c,{className:"time",children:["发布时间:",_e(d).format("YYYY-MM-DD")]}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:m||""}})]})})})}));export{uo as AddressDetail,ro as AddressList,mo as AddressListBtn,Ya as AfterSalesApply,eo as AfterSalesDetail,Ka as AfterSalesList,so as AfterSalesType,Gs as AllPromotionList,qs as ArticleDetail,La as BackTop,Ml as CartList,zl as CartOperate,xl as CartTop,Ia as ClassifyNav,Aa as ClassifyNavOne,Ta as ClassifyNavOneJsx,Va as ClassifyNavThree,Da as ClassifyNavTwo,Ts as CollectionList,Ds as CollectionShopList,js as CouponList,Ma as Cube,ks as EvaluateDetail,xs as EvaluateList,Is as EvaluateViewDetail,Cs as ExpressInfo,Rs as FootPrint,$s as GetCouponOne,Eo as Goods,wo as GoodsClassify,To as GoodsClassifyOne,Vo as GoodsClassifyTwo,cl as GoodsDetailAndEvaluate,Wo as GoodsDetailBanner,el as GoodsDetailCoupon,Cl as GoodsDetailHandleBar,yl as GoodsDetailHandleBarOne,$o as GoodsDetailInfo,Ko as GoodsDetailInfoOne,Xo as GoodsDetailPromotion,Zo as GoodsDetailSku,wl as GoodsList,Fo as GoodsSlider,Go as GoodsSlideshow,ia as Line,Ms as MemberSignin,bs as MineData,vs as MineFunction,ys as MineOrderEntry,go as MyAgreementList,fo as MySetting,No as MySettingJsx,Qs as Notice,Ks as NoticeDetail,gs as OrderDetail,us as OrderList,es as PaymentMode,bo as PickupPointList,Gl as PlaceOrderAddress,$l as PlaceOrderAddressTabs,ql as PlaceOrderCoupon,Zl as PlaceOrderDelivery,Xl as PlaceOrderGood,Jl as PlaceOrderInfo,_l as PlaceOrderOperate,os as PlaceOrderResult,sa as QjMobileIcon,Mo as Search,Oo as SearchPage,zo as SearchStyleTwo,la as Service,zs as SigninDetail,wa as Slider,na as TextLine,ta as Title,ga as ToPrice,xa as Video,yo as WechatAddressBtn,ma as addressIdConst,ha as fixPrice,pa as fixPrice1,ua as formatTime,da as useService};
|
|
1
|
+
import{jsx as e,jsxs as a,Fragment as o}from"react/jsx-runtime";import l,{memo as s,useState as t,useEffect as i,useMemo as n,useRef as c,useContext as r,createContext as d,createElement as m,useCallback as h,Fragment as p}from"react";import{useComponent as g,IconMobile as u,antdMobile as N,NoticeBar as M}from"@brushes/simulate-component";import y from"classnames";import{getTaro as I,navigatorHandler as C,getEnv as D,taroMessage as w,getStorage as f,setStorage as b}from"@brushes/utils";import T from"@tarojs/taro";import{queryOcsconfigList as x,getAddress as z,find as k,goodsDetailQuery as S,getContractNumbers as A}from"qj-b2c-api";import{queryOcserviceConfPageByMember as L}from"qj-b2b-api";import{get as v,isEqual as j,isEmpty as O,noop as B,groupBy as E}from"lodash-es";import{useCube as P,useGoTop as Y,useAfterSalesApply as V,useAfterSalesList as Q,afterSalesTabConfig as R,useAfterSalesDetail as U,useAfterSalesChooseType as G,useAddressItem as W,useAddressList as F,useEditAddress as Z,useMySetting as H,usePickupPointItem as K,usePickupPointList as $,useGoodsClassify as J,useGoods as X,useGoodCollection as q,useGoodDetail as _,goodStore as ee,useBanner as ae,useGoodSpecAndPrice as oe,useGoodFootprint as le,useCreatePoster as se,useCreateMiniPoster as te,useGoodsShare as ie,useGoodSkuStore as ne,popupImplement as ce,usePromotion as re,useAddCoupon as de,useCoupon as me,useEvaluate as he,useAddShopping as pe,useGoodSku as ge,useGoodsList as ue,useCartTop as Ne,useCartListNext as Me,getRadioValue as ye,useCartOperate as Ie,useOrderAddress as Ce,useOrderPickupAddress as De,userAddressData as we,useOrderGood as fe,useOrderCoupon as be,useOrderInfo as Te,useOrderPay as xe,useOrderResult as ze,useOrderResultResult as ke,useOrderOperate as Se,orderStatusImpl as Ae,useOrderList as Le,orderStatusList as ve,useOrderDetail as je,useExpressInfo as Oe,useEvaluateDetail as Be,useEvaluateViewDetail as Ee,useCollectionList as Pe,useFootprint as Ye,useMemberSignin as Ve,useSigninDetail as Qe,useMarketingPromotion as Re,useCouponList as Ue,useAllCoupon as Ge,useNotice as We,useNoticeDetail as Fe,useArticleDetail as Ze}from"qj-b2c-store";import{fullPath as He,checkMobile as Ke,ProvinceComponent as $e,CityComponent as Je,AreaComponent as Xe,navigatorLink as qe}from"@brushes/shared-utils";import _e from"dayjs";import{DynamicForm as ea}from"@brushes/mobile-form";import{View as aa,Image as oa,RichText as la}from"@tarojs/components";import{deleteEvaluateGoods as sa}from"b2c-api";const ta=s((({width:a,height:o,top:l,right:s,bottom:t,left:i,borderRadius:n})=>{const{View:c}=g();return e(c,{style:{width:a,height:o,borderRadius:n,top:l,left:i,right:s,bottom:t},className:"components-service"})})),ia=({className:a="iconfont",prefixClass:o="icon",onClick:l=()=>{},style:s={fontSize:16,color:"#444",fontWeight:900},value:t})=>{const{Text:i}=g();return e(i,{onClick:l,className:y(o,t?`${o}-${t}`:"",a),style:s})},na=s((({value:l,shared:s,goPath:t,goPointsPath:i,textIndent:n,fontSize:c,textAlign:r,color:d,backgroundColor:m,fontWeight:h,textDecoration:p,fontStyle:u,paddingTop:N,paddingLeft:M,paddingRight:y,paddingBottom:D})=>{const{View:w,IconMobile:f,Button:b}=g(),x=I(),z="WEB"===T.getEnv(),k=()=>{const e=I();e.setClipboardData({data:window.location.href,success:()=>{e.showToast({title:"复制成功",icon:"success"})},fail:()=>{e.showToast({title:"复制失败",icon:"none"})}})};return a(w,{className:"components-title",style:{paddingTop:N,paddingBottom:D},children:[e(w,{onClick:()=>{var e;e=l,t?C("goodList",{searchParam:e}):i&&C("PointsGoodsList",{searchParam:e})},style:{fontSize:c,textAlign:r,color:d,backgroundColor:m,fontWeight:h,textDecoration:p,fontStyle:u,paddingLeft:M,paddingRight:y,textIndent:n},children:l}),s&&e(o,{children:z?e(w,{onClick:e=>{var a;e.stopPropagation(),z?k():null===(a=null==x?void 0:x.showShareMenu)||void 0===a||a.call(x,{withShareTicket:!0,menus:["shareAppMessage","shareTimeline"]})},children:e(f,{style:{fontSize:20,color:"#f00"},value:"share"})}):e(b,{openType:"share",onClick:e=>{e.stopPropagation()},className:"wx-share-button",children:e(f,{style:{fontSize:20,color:"#f00"},value:"share"})})})]})})),ca=({TextLineBgColor:o,text:l,contentSize:s,lineStyle:t,fontSize:i,textAlign:n,fontColor:c,lineColor:r,fontWeight:d,fontStyle:m,textDecoration:h})=>{const{View:p}=g();return a(p,{className:"textLine",style:{backgroundColor:o,textAlign:n,margin:1===s?"0 10px":""},children:[e(p,{className:"blc",style:{borderBottom:`1px ${t} ${r}`}}),e(p,{className:"txt",style:{backgroundColor:o,fontWeight:d,fontStyle:m,textDecoration:h,fontSize:`${i}px`,color:c},children:l})]})},ra=s((({borderStyle:a,borderRadius:o,height:l,width:s,backgroundColor:t,paddingTop:i,paddingBottom:n})=>{const{View:c}=g();return e(c,{style:{paddingTop:i,paddingBottom:n},children:e(c,{style:{borderRadius:o+"%",borderStyle:a,width:s+"%",height:l+"px",backgroundColor:t,marginLeft:"auto",marginRight:"auto"}})})}));function da(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 ma(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())}))}"function"==typeof SuppressedError&&SuppressedError;const ha=(e="b2c")=>{const[a,o]=t([]),l=n((()=>D()),[]);i((()=>{ma(void 0,void 0,void 0,(function*(){const e=yield s();o(c(e))}))}),[]);const s=()=>ma(void 0,void 0,void 0,(function*(){switch(e){case"b2c":return yield x();case"b2b":return yield L().then((e=>e.list))}})),c=a=>{if(0===a.length)return["未知客服信息"];let o=[];if("b2c"===e){const e=v(a[0],"ocsOcserviceReDomain.ocsOcserviceConfReDomainList",[]);for(let a=0;a<e.length;a++){const l=e[a];o.push(`${v(l,"ocserviceConfRemark")}: ${v(l,"ocserviceConfValue")}`)}}else"b2b"===e&&o.push(`客服电话: ${v(a[0],"ocserviceConfValue")}`);return o};return{servicePopup:()=>{if(!l)return;I().showActionSheet({itemList:a})}}},pa={label:""},ga=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}):"¥ 0",ua=(e=0)=>e?e.toLocaleString("en-Us",{minimumFractionDigits:2}):"0",Na=(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}`},Ma=e=>1===String(e).indexOf(".")?ya(e):Ia(e),ya=e=>{const a=Number(e).toFixed(0),o=(Number(e)-Number(a)).toFixed(2),l=[];a.split("").reverse().forEach(((e,o)=>{l.push(e),(o+1)%3==0&&o!==a.length-1&&l.push(",")}));return l.reverse().join("")+"."+String(o).slice(2)},Ia=e=>{const a=Number(e).toFixed(0),o=[];a.split("").reverse().forEach(((e,l)=>{o.push(e),(l+1)%3==0&&l!==a.length-1&&o.push(",")}));return o.reverse().join("")+".00"},Ca=process.env.REACT_APP_BASE_URL;process.env.REACT_IMG_PATH;const Da=(e="")=>n((()=>e.startsWith("http")?e:e.startsWith("paas")||e.startsWith("/paas")?Ca+e:e?Ca+"/paas/shop/"+e:e),[e]),wa=({src:a,style:o,actived:l})=>{const s=c(null);return i((()=>{s.current&&(l?s.current.play&&"function"==typeof s.current.play&&s.current.play().catch((e=>{console.log("自动播放被阻止:",e),s.current&&(s.current.controls=!0)})):(s.current.pause&&"function"==typeof s.current.pause&&s.current.pause(),void 0!==s.current.currentTime&&(s.current.currentTime=0),void 0!==s.current.controls&&(s.current.controls=!1)))}),[l]),e("video",{ref:s,muted:!0,loop:!0,preload:"auto",controls:!0,style:o,src:a})},fa=s((({item:a,isPlay:l,position:s,direction:t})=>{var i,n;const{Image:c,View:r}=g(),d=Da(a.imgUrl);return e(o,{children:d.includes(".mp4")||d.includes(".webm")||d.includes(".avi")?e(wa,{actived:l,style:{height:"100%",overflow:"hidden"},src:d}):e(c,{mode:"scaleToFill",src:d,style:{width:"100%",height:"100%",paddingBottom:"top"===s&&"vertical"===t?"30px":"",marginTop:"top"===s&&"horizontal"===t?"30px":""},onClick:C.bind(null,null===(i=a.link)||void 0===i?void 0:i.value,null===(n=a.link)||void 0===n?void 0:n.params)})})})),ba=s((({Position:l="none",className:s="",className1:t="",defaultValue:i=[],type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,paddingTop:p,paddingBottom:u,paddingLeft:N,paddingRight:M,selectImg:I,imgHeight:C,fontsize:D=16,textAlign:w="center",fontColor:f="#000000",backGroundColor:b="#ffffff"})=>{const T=n((()=>y({paddingbtm:"none"!==l,imgHeights:"bottom"===l&&"horizontal"===m}))),{SmoothSwiper:x,View:z}=g(),k=P(i,I||[]),S=a=>e(z,{className:t,style:{fontSize:D,zIndex:99,justifyContent:"left"===w?"flex-start":"center"===w?"center":"flex-end",color:f,backgroundColor:b},children:a.title});return e(z,{className:s,style:{paddingTop:p,paddingBottom:u,paddingLeft:N,paddingRight:M},children:e(x,{imgHeight:C,data:k,className:T,type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,interval:5e3,vertical:"vertical"===m,render:(s,t,i)=>a(o,{children:["top"===l||"bottom"===l?S(s):null,e(fa,{isPlay:t===i,item:s,position:l,direction:m})]})})})})),Ta=s((({paddingTop:a,paddingBottom:o,paddingLeft:l,paddingRight:s,defaultValue:t=[],type:i,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTB:N=0,paddingLR:M=0,fontsize:I=16,textAlign:C="center",fontColor:D="#000000",backGroundColor:w="#ffffff",otherStyles:f=[],ImgShadow:b=!1,Position:T="top"})=>{const{View:x}=g(),z=n((()=>y("silder-title",{"silder-tops1":"top"===T&&"horizontal"===d,"silder-bottoms":"bottom"===T&&"horizontal"===d,"silder-bottoms1":"vertical"===d&&"bottom"===T,"silder-tops":"vertical"===d&&"top"===T},...f)),[f,T]);return e(x,{style:{padding:`${N}px ${M}px`},children:e(ba,{Position:T,defaultValue:t,type:i,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:p,imgHeight:u,paddingTop:a,paddingBottom:o,paddingLeft:l,paddingRight:s,fontsize:I,textAlign:C,fontColor:D,backGroundColor:w,className:y({"outer-shadow":b}),className1:z})})})),xa=s((({url:a,poster:o,autoplay:l,loop:s,paddingTop:t,paddingBottom:i,paddingLeft:n,paddingRight:c})=>{const{View:r}=g();return e(r,{style:{paddingTop:t,paddingBottom:i},children:e("video",{className:"components-video",src:a,poster:o,autoPlay:l,loop:s,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:n,paddingRight:c}})})})),za=({src:a,borderRadius:o})=>{const{Image:l}=g(),s=Da(a);return e(l,{src:s,alt:"",className:"img",style:{borderRadius:`${o}px`}})},ka=s((({defaultValue:o,borderRadius:l,paddingTop:s,paddingBottom:t,selectClassifyNav:i})=>{const{View:n,Text:c}=g(),r=P(o,i);return e(n,{style:{paddingTop:s,paddingBottom:t},children:e(n,{className:"classifyNav",children:r.map(((o,s)=>a(n,{className:"classifyNavItem",onClick:()=>(e=>{var a,o,l;(null===(a=e.link)||void 0===a?void 0:a.value.includes("/extra/index"))?window.location.href=`${window.location.origin}/paas/extra-index/index.html`:C(null===(o=e.link)||void 0===o?void 0:o.value,null===(l=e.link)||void 0===l?void 0:l.params)})(o),children:[e(za,{src:o.imgUrl,borderRadius:l}),e(c,{className:"label",children:o.title})]},s)))})})})),Sa=({src:a,imgRadius:o,imgBoxShadow:l})=>{const{Image:s}=g(),t=Da(a);return e(s,{src:t,alt:"",className:"classifyNav-item-img",style:{borderRadius:o,boxShadow:l?"0px 0px 20px 5px #EEE":"none"}})},Aa=({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:s,navBgColor:t,navBoxShadow:i,imgRadius:n,imgBoxShadow:c,layout:r,marginTop:d,marginBottom:m})=>{const{View:h}=g(),p=P(a,o);return e(h,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${r}, 1fr)`,borderRadius:l,border:`1px solid ${s}`,backgroundColor:t,boxShadow:i?"0px 0px 20px 10px #ddd":"none",marginTop:d,marginBottom:m},children:p.map(((a,o)=>e(h,{className:"classifyNav-item",onClick:()=>{var e,o;return C(null===(e=a.link)||void 0===e?void 0:e.value,null===(o=a.link)||void 0===o?void 0:o.params)},children:e(Sa,{src:a.imgUrl,imgBoxShadow:c,imgRadius:n})},o)))})},La=s(Aa),va=s((({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:s,navBgColor:t,navBoxShadow:i,fontSize:c,fontColor:r,tagBgColor:d,otherStyle:m,layout:h,marginTop:p,marginBottom:u})=>{const{View:N}=g(),M=P(a,o),I=n((()=>y("classifyNav-two-item-title",...m)),[m]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${h}, 1fr)`,border:`1px solid ${s}`,borderRadius:l,backgroundColor:t,boxShadow:i?"0px 0px 20px 5px #EEE":"none",marginTop:p,marginBottom:u},children:M.map(((a,o)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,o;return C(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===h?"74px":"60px"},children:e(N,{className:I,style:{fontSize:c,color:r},children:a.title})},o)))})})),ja=a=>{const{imgRadius:o,imgBoxShadow:l,fontSize:s,fontColor:t,tagBgColor:i,otherStyle:n,item:c,layout:r}=a,{View:d}=g(),m=Da(c.imgUrl);return e(d,{className:"classifyNav-three-item",onClick:()=>{var e,a;return C(null===(e=c.link)||void 0===e?void 0:e.value,null===(a=c.link)||void 0===a?void 0:a.params)},style:{backgroundImage:`url(${m})`,borderRadius:o,boxShadow:l?"0px 0px 20px 5px #EEE":"none",width:4===r?"74px":"60px",height:4===r?"74px":"60px"},children:e(d,{className:"classifyNav-three-item-tag",style:{backgroundColor:i},children:e(d,{className:["classifyNav-three-item-txt",...n].join(" "),style:{fontSize:s,color:t},children:c.title})})})},Oa=s((({defaultValue:a,selectClassifyNav:o,navRadius:l,navBorderColor:s,navBgColor:t,navBoxShadow:i,imgRadius:n,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:p,marginTop:u,marginBottom:N})=>{const{View:M}=g(),y=P(a,o);return e(M,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${p}, 1fr)`,border:`1px solid ${s}`,borderRadius:l,backgroundColor:t,boxShadow:i?"0px 0px 20px 5px #EEE":"none",marginTop:u,marginBottom:N},children:y.map(((a,o)=>e(ja,{layout:p,item:a,imgRadius:n,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h},o)))})})),Ba=s((({position:a=10,bg:o,color:l,fontSize:s})=>{const t=n((()=>D()),[]),{View:i}=g(),{goTop:c}=Y();return e(i,{className:"backTop",onClick:c,style:{padding:t?"0":"10px"},children:e(ia,{style:{display:"inline-block",color:l,fontSize:s,backgroundColor:o,position:t?"fixed":"relative",right:t?"20px":"0",bottom:t?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),Ea=({outerShadow:a,type:o,item:l,borderRadius:s})=>{const{Image:t}=g(),i=Da(l.imgUrl);return e(t,{className:"block "+(a?"outer-shadow":""),mode:1===o?"widthFix":"scaleToFill",src:i,style:{width:"100%",borderRadius:s+"px"},onClick:()=>(e=>{var a,o,l;(null===(a=e.link)||void 0===a?void 0:a.value.includes("/extra/index"))?window.location.href=`${window.location.origin}/paas/extra-index/index.html`:C(null===(o=e.link)||void 0===o?void 0:o.value,null===(l=e.link)||void 0===l?void 0:l.params)})(l)})},Pa=s((({defaultValue:a,type:o,borderRadius:l,outerShadow:s,paddingRight:t,paddingLeft:i,picGap:n,xGap:c,paddingTop:r,paddingBottom:d,selectImg:m})=>{const{View:h}=g(),p=P(a,m);return e(h,{style:{paddingTop:r,paddingBottom:d,paddingLeft:c,paddingRight:c},children:e(h,{className:`cube-type${o}`,style:{paddingLeft:i,paddingRight:t,gap:n},children:p.map(((a,t)=>e(Ea,{borderRadius:l,item:a,outerShadow:s,type:o},t)))})})})),Ya=l.createContext(null),Va=s((()=>{const{View:a}=g(),{tip:o}=r(Ya);return e(a,{className:"afterSalesApplyTip",children:o})}));const Qa=a=>{var{bottomHeight:o,children:l,id:s,heightWrap:c}=a,r=da(a,["bottomHeight","children","id","heightWrap"]);const d=n((()=>D()),[]),m=function(e){const[a,o]=t(0);return i((()=>{if(!D()||!e)return;const a=I().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;o(a)}})).exec()}))})),a}(s),h=function(e=""){return n((()=>{if(!D())return 0;const a=I(),o=+a.getStorageSync("safeArea"),l=+(a.getStorageSync("tabBarHeight")||0);return o+(a.getCurrentPages()[a.getCurrentPages().length-1].$taroPath.indexOf("pages/")>=0?l:0)+(e?+e:0)}),[])}(o),{View:p}=g(),u=n((()=>{if(!d)return s?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(console.log(1111,I().getSystemInfoSync().windowHeight,m,h),s){return{height:`calc(${I().getSystemInfoSync().windowHeight+"px"} - ${m+h}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[m,h]);return e(p,Object.assign({},r,{style:Object.assign(Object.assign({},u),{paddingBottom:s?"":h}),id:s,children:l}))},Ra=s((()=>{const{View:o,SmoothRadio:l,Radio:s,Popup:t,ScrollView:i,WrapLoading:n}=g(),{handlePopupShow:c,popupVisible:d,reasonList:m,handleChooseReason:h,popupLoading:p}=r(Ya);return e(t,{popupVisible:d,popupHandler:c,children:e(n,{loading:p,children:e(o,{className:"reasonPopup",children:e(Qa,{children:a(i,{children:[e(o,{className:"title",children:"退款原因"}),e(l,{onChange:h,children:m.map(((l,t)=>a(o,{className:"reasonItem",children:[e(o,{className:"label",children:l.flagSettingInfo}),e(s,{value:l.flagSettingInfo})]},t)))})]})})})})})})),Ua=s((()=>{const{View:o}=g(),{handlePopupShow:l,popupVisible:s,reason:t,goodsPrice:i}=r(Ya);return a(o,{className:"afterSalesApplyFillIn",children:[a(o,{className:"reason",children:[a(o,{className:"fillInLabel",children:[e(o,{className:"icon",children:"*"}),e(o,{className:"word",children:"退款原因"})]}),e(o,{className:"choose",onClick:l,children:t?e(o,{className:"chooseResult",children:t}):a(o,{children:["请选择",e(ia,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]})})]}),a(o,{className:"price",children:[a(o,{className:"fillInLabel",children:[e(o,{className:"icon",children:"*"}),e(o,{className:"word",children:"退款金额"})]}),e(o,{className:"allPrice",children:e(o,{className:"single",children:ga(i)})})]}),e(Ra,{popupShow:s})]})})),Ga=s((()=>{const{View:o,TextArea:l,Textarea:s}=g(),t=s||l,{handleChooseImg:i,imgGroup:n,placeholder:c,handleDelImg:d,limit:m,handleFillInReason:h}=r(Ya);return a(o,{className:"afterSalesApplySubFillIn",children:[e(o,{className:"title",children:"补充描述和凭证"}),a(o,{className:"content",children:[e(t,{placeholder:c,rows:5,maxLength:200,style:{marginBottom:15},onInput:h}),a(o,{className:"imgGroup",children:[n.length<m?e(o,{className:"add",onClick:i,children:a(o,{className:"addContent",children:[e(ia,{value:"shangchuanpingzheng"}),e(o,{className:"word",children:"上传凭证"}),a(o,{className:"num",children:[n.length,"/",m]})]})}):null,n.map(((a,l)=>e(o,{className:"imgItem",style:{backgroundImage:`url(${a})`},children:e(o,{className:"cancel",onClick:d.bind(null,l),children:e(ia,{value:"close-bold",style:{fontSize:12}})})},l)))]})]})]})})),Wa=({refundType:o,contractBillcode:l,skuCode:s,goodsNum:t,goodsPrice:i,paddingTop:n,paddingLeft:c,paddingRight:r,paddingBottom:d})=>{const{View:m,WrapLoading:h}=g(),{tip:p,reasonList:u,popupVisible:N,popupLoading:M,handlePopupShow:y,handleChooseReason:I,reason:C,handleChooseImg:D,imgGroup:w,placeholder:f,handleDelImg:b,limit:T,goodsInfo:x,handleFillInReason:z,handleSubmit:k,loading:S}=V({contractBillcode:l,skuCode:s});return e(h,{loading:S,children:e(m,{className:"afterSalesApply",style:{paddingTop:n,paddingBottom:d,paddingLeft:c,paddingRight:r},children:a(Ya.Provider,{value:{tip:p,reasonList:u,popupVisible:N,popupLoading:M,handlePopupShow:y,handleChooseReason:I,reason:C,handleChooseImg:D,imgGroup:w,placeholder:f,handleDelImg:b,limit:T,goodsNum:t,goodsPrice:i,goodsInfo:x,handleFillInReason:z,handleSubmit:k},children:[e(Va,{}),e(Ua,{}),e(Ga,{}),e(m,{className:"submitBtn",onClick:k.bind(null,t,l,o,i),children:"确定"})]})})})},Fa={B01:{icon:"tuikuan1",label:"仅退款(无需退货)",color:"#58BE6A"},B02:{icon:"tuikuan1",label:"退货退款",color:"#C52922"}},Za={B01:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"},B02:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}},Ha=s((({data:o,goAfterSalesDetail:l})=>{var s,t;const{View:i,Image:n}=g();return a(i,{className:"afterSalesListItem",onClick:l.bind(null,o.refundCode),children:[a(i,{className:"title",children:[a(i,{className:"lPart",children:["服务单号: ",o.refundCode]}),a(i,{className:"rPart",children:[e(ia,{style:{color:null===(s=Fa[o.refundType])||void 0===s?void 0:s.color,fontSize:12},value:null===(t=Fa[o.refundType])||void 0===t?void 0:t.icon}),e(i,{className:"txt",children:Fa[o.refundType].label})]})]}),a(i,{className:"goodsInfo",children:[e(i,{className:"lPart",children:e(n,{src:He(o.ocRefundGoodsList[0].dataPic),className:"img"})}),a(i,{className:"rPart",children:[e(i,{className:"goodsName",children:o.ocRefundGoodsList[0].goodsName}),a(i,{className:"count",children:["申请数量: ",o.ocRefundGoodsList[0].refundGoodsNum]}),a(i,{className:"count",children:["订单编号: ",o.contractBbillcode]})]})]}),a(i,{className:"tip",children:[e(i,{class:"lPart",children:Za[o.refundType][o.dataState]}),e(ia,{style:{fontSize:12,color:"#A5A5A5"},value:"xiangyou1"})]})]})})),Ka=s((()=>{const{View:a}=g();return e(a,{className:"noData",children:e(a,{className:"txt",children:"暂无售后单"})})})),$a=s((({item:a,refreshNum:o})=>{const{View:l,ScrollView:s,WrapLoading:t}=g(),{afterSalesList:i,goAfterSalesDetail:n,loading:c,haseData:r}=Q(a,o);return e(t,{loading:c,children:e(l,{className:"tabContent",children:e(Qa,{id:"tabContent",children:e(s,{children:r?i.map((a=>e(Ha,{data:a,goAfterSalesDetail:n.bind(null,a.refundCode)}))):e(Ka,{})})})})})})),Ja=s((({refreshNum:a,paddingTop:o,paddingBottom:l,paddingLeft:s,paddingRight:t})=>{const{View:i,Tabs:n}=g();return e(i,{className:"afterSalesList",style:{paddingTop:o,paddingBottom:l,paddingLeft:s,paddingRight:t},children:e(n,{defaultIndex:0,tabs:R,render:o=>e($a,{item:o,refreshNum:a})})})})),Xa=({dataPic:l,goodsName:s,goodsCamount:t,pricesetNprice:i,skuName:c,children:r,goodsType:d,pricesetRefrice:m,memberName:h})=>{const{View:p,Image:u,SmoothView:N}=g(),M="06"===d?m+"积分":ga(i),y=n((()=>t?`x ${t}`:""),[t]),I=(e=>{const a="string"==typeof e?e:"";if(!/^https?:\/\//i.test(a))return a;const o=a.indexOf("/paas/");return-1===o?a:a.slice(o).replace(/\/+/g,"/")})(l);return e(o,{children:a(p,{className:"card-item",children:[e(u,{src:He(I),alt:"",className:"card-item-img"}),a(p,{className:"card-item-info",children:[a(p,{className:"card-item-info-container",children:[e(N,{className:"card-item-info-container-title",children:s}),e(N,{className:"card-item-info-container-price",children:M})]}),a(p,{className:"card-item-info-sub",children:[e(N,{className:"sku",children:c}),e(N,{className:"count",children:y})]}),e(p,{className:"card-item-info-sub",children:a(N,{className:"sku",children:["店铺名称:",h]})}),r]})]})})},qa=(e,a)=>{if("B01"===e){return{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"}[a]}if("B02"===e){return{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}[a]}},_a=l.createContext(null),eo=s((()=>{const{companyList:o,popupShow:l,handlePopupShow:s,chooseCompany:t}=r(_a),{View:i,SmoothRadio:n,Radio:c,Popup:d,ScrollView:m}=g();return e(d,{popupVisible:l,popupHandler:s,children:e(i,{className:"reasonPopup",children:e(Qa,{children:a(m,{children:[e(i,{className:"title",children:"物流选择"}),e(n,{onChange:t,children:o.map(((o,l)=>a(i,{className:"reasonItem",children:[e(i,{className:"label",children:o.expressName}),e(c,{value:`${o.expressName}-${o.expressCode}`})]},l)))})]})})})})})),ao=s((()=>{const{handlePopupShow:l,packageName:s,setPackageBillno:t,submitExpressInfo:i}=r(_a),{View:n,Input:c}=g();return a(o,{children:[a(n,{className:"sender_content",children:[a(n,{className:"sender_name",children:[e(n,{className:"sender_icon",children:"*"}),e(n,{className:"sender_names",children:"物流公司"})]}),e(n,{className:"sender_input name_style",onClick:l,children:e(n,""===s?{style:{color:"#666"},children:"请填写"}:{children:s})})]}),a(n,{className:"sender_content",children:[a(n,{className:"sender_name",children:[e(n,{className:"sender_icon",children:"*"}),e(n,{className:"sender_names",children:"物流单号"})]}),e(n,{className:"sender_input",children:e(c,{placeholder:"请填写",onInput:e=>t(e.detail.value)})})]}),e(n,{className:"expressInfo",children:e(n,{className:"expressInfo_btn",onClick:i,children:"提交物流信息"})}),e(eo,{})]})})),oo=s((({refundCode:l,paddingTop:s,paddingLeft:t,paddingRight:i,paddingBottom:n})=>{const{afterSalesDetailInfo:c,submitExpressInfo:r,handleCancelAfterSales:d,companyList:m,popupShow:h,handlePopupShow:p,chooseCompany:u,packageName:N,setPackageBillno:M,loading:y}=U({refundCode:l}),{contractBbillcode:I,dataState:C,gmtCreate:D,ocRefundGoodsList:w,refundMoney:f,refundMeo:b,refundEx:T,refundType:x,ocRefundFileList:z,goodsReceiptMem:k,goodsReceiptPhone:S,goodsReceiptArrdess:A,packageCode:L,packageBillno:v,packageName:j}=c,{View:O,Image:B,WrapLoading:E}=g();return e(E,{loading:y,children:e(O,{className:"afterSalesDetail",style:{paddingTop:s,paddingBottom:n,paddingLeft:t,paddingRight:i},children:a(_a.Provider,{value:{companyList:m,popupShow:h,handlePopupShow:p,chooseCompany:u,packageName:N,setPackageBillno:M,submitExpressInfo:r},children:[a(O,{className:"afterSalesDetailTopTitle",style:{background:"#000"},children:[e(O,{className:"left_text",children:qa(x,C)}),e(O,{className:"right_time",children:_e(D).format("YYYY-MM-DD HH:mm:ss")})]}),e(O,{className:"afterSalesDetailContent",children:a(O,{className:"refundDetail",children:[e(O,{className:"title",children:"退款信息"}),e(O,{className:"goodsDetail",children:null==w?void 0:w.map(((a,o)=>e(Xa,{dataPic:He(a.dataPic),pricesetNprice:a.pricesetNprice,goodsName:a.goodsName,goodsCamount:a.refundGoodsNum,skuName:a.skuName},o)))}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"订单编号"}),e(O,{className:"right",children:I})]}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"退款原因"}),e(O,{className:"right",children:T})]}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"退款金额"}),e(O,{className:"right",children:f})]}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"描述说明"}),e(O,{className:"right",children:b})]}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"补充凭证"}),e(O,{className:"right",children:null==z?void 0:z.map(((a,o)=>e(B,{src:He(a.refundFileUrl),mode:"widthFix",className:"refundImg"},o)))})]}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"申请时间"}),e(O,{className:"right",children:_e(D).format("YYYY-MM-DD HH:mm:ss")})]}),a(O,{className:"refund_Detail",children:[e(O,{className:"left",children:"退款编号"}),e(O,{className:"right",children:l})]}),e(o,{children:"B02"===x?a(o,{children:[C>0?a(O,{className:"merchantMsg",children:[e(O,{className:"title",children:"商家信息"}),a(O,{className:"name",children:[k," ",S]}),e(O,{className:"address",children:A})]}):"",1===C?a(O,{className:"writeMsg",children:[e(O,{className:"wlMsg",children:"物流信息"}),e(ao,{})]}):"",C>1?a(O,{className:"writeMsg",children:[e(O,{className:"wlMsg",children:"物流信息"}),a(O,{className:"express_content",children:[e(O,{className:"name",children:"物流单号"}),e(O,{className:"code",children:v})]}),a(O,{className:"express_content",children:[e(O,{className:"name",children:"物流公司"}),e(O,{className:"code",children:j})]})]}):""]}):""})]})}),0===C?e(O,{className:"footerBtn",children:e(O,{className:"btn",onClick:d.bind(null,w[0].goodsCode),children:"撤销申请"})}):null]})})})})),lo=l.createContext(null),so=s((()=>{const{View:o,Image:l,NumStep:s,SmoothView:t}=g(),{typeTip:i,setTypeTip:n,goodsNum:c,handleStep:d,goodsInfo:m,goodsPrice:h}=r(lo),{goodsName:p,skuName:u,dataPic:N}=m,M=m&&"06"===m.goodsType?m.pricesetRefrice+"积分":ga(h);return a(o,{className:"afterSalesTypeItem",children:[e(o,{className:"afterSalesTypeTitle",children:"退款商品"}),a(o,{className:"afterSalesTypeContent",children:[e(l,{src:He(N),className:"img"}),a(o,{className:"info",children:[a(o,{className:"base",children:[e(t,{className:"name",children:p}),e(t,{className:"price",children:M})]}),a(o,{className:"advance",children:[e(o,{className:"size",children:u}),a(o,{className:"stepWrap",children:[e(ia,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>n((e=>!e))}),e(s,{count:c,handleStep:d})]})]}),i?e(o,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),to=s((({contractGoodsSendnum:o,afterSalesType:l=2,contractBillcode:s,skuCode:t})=>{const{View:i}=g(),{goApply:n,goodsNum:c}=r(lo);return e(i,{children:a(i,{className:"afterSalesTypeType",children:[e(i,{className:"title",children:"售后类型"}),(d=l,2!=d?[{label:"退货退款",value:"B02"}]:[{label:"仅退款(无需退货)",value:"B01"}]).map(((o,l)=>a(i,{className:"item",onClick:n.bind(null,o.value,s,t,c),children:[e(i,{className:"headline",children:o.label}),e(ia,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},l)))]})});var d})),io=o=>{const{contractBillcode:l,skuCode:s,dataState:t,paddingTop:i,paddingLeft:n,paddingRight:c,paddingBottom:r}=o,{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:p,goodsInfo:u,goApply:N,loading:M,goodsPrice:y}=G({contractBillcode:l,skuCode:s}),{View:I,WrapLoading:C}=g();return e(C,{loading:M,children:e(I,{className:"afterSalesType",style:{paddingTop:i,paddingLeft:n,paddingRight:c,paddingBottom:r},children:a(lo.Provider,{value:{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:p,goodsInfo:u,goApply:N,goodsPrice:y},children:[e(so,{}),e(to,{contractGoodsSendnum:u.contractGoodsSendnum||0,afterSalesType:t,contractBillcode:l,skuCode:s})]})})})},no=({setDefault:a,checked:o,itemData:l})=>{const{SmoothCheckbox:s,Checkbox:t}=g();return e(s,{value:o?[l.addressId]:[],onChange:a,children:e(t,{value:l.addressId,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},co=({itemData:o,delAddress:l,setDefault:s})=>{const{View:t,Text:i}=g(),{handlerImpl:n}=W(o);return a(t,{className:"addressItem",children:[a(t,{className:"upInfo",onClick:n,children:[a(t,{className:"userInfo",children:[o.addressMember," ",o.addressPhone]}),e(t,{className:"addressInfo",children:a(i,{className:"address",children:[o.provinceName," ",o.areaName," ",o.cityName," ",o.addressDetail]})})]}),a(t,{className:"downInfo",children:[e(no,{itemData:o,checked:"1"===(null==o?void 0:o.addressDefault),setDefault:s}),a(t,{children:[e(i,{className:"del",style:{marginRight:20},onClick:()=>C("editAddress",{addressId:o.addressId}),children:"编辑"}),e(i,{className:"del",onClick:l,children:"删除"})]})]})]})},ro=s((()=>{const{View:a,Skeleton:l}=g(),s=c(new Array(3).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})})),mo=s((({url:o,title:l,subTitle:s,link:t,style:i})=>{const{View:n,Image:c}=g();return e(n,{className:"noData",style:i,children:a(n,{className:"content",children:[e(c,{className:"img",src:o}),e(n,{className:"title",children:l}),e(n,{className:"subTitle",children:s}),t?a(n,{className:"link",onClick:()=>C(t),children:["去看看",e(u,{value:"xiangyou1"})]}):null]})})})),ho=s((({refreshNum:a,btnShape:o,btnColor:l,borderColor:s,paddingBottom:t,paddingTop:i,color:n})=>{const{View:c}=g(),{list:r,delAddress:d,setDefault:m,skullShow:h}=F(a);return e(c,{className:"addressListWrap",style:{paddingTop:i+"px",marginBottom:t+"px"},children:h?e(ro,{}):e(c,{className:"addressList",children:r.length?r.map(((a,o)=>e(co,{itemData:a,setDefault:m.bind(null,a,o),delAddress:d.bind(null,a)},null==a?void 0:a.addressId))):e(mo,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),po=s((({borderColor:a,color:o,btnColor:l,btnShape:s,paddingTop:t,paddingBottom:i})=>{const{View:n}=g();return e(n,{className:"addressListBtnWrap",style:{paddingTop:`${t}px`,paddingBottom:`${i}px`},children:e(n,{style:{borderRadius:s,borderColor:a,color:o,backgroundColor:l},className:"addressListBtn",onClick:()=>C("addressEditor"),children:"+ 新增地址"})})})),go=[{from:"addressDefault",to:"addressDefault",format:e=>!0===e||1===e?1:0}],uo=[{type:"text",props:{onlyShowClearWhenFocus:!0,placeholder:"请填写收货人姓名"},label:"收货人",name:"addressMember",rules:[{required:!0,message:"收货人姓名不能为空"}]},{type:"text",props:{type:"number",onlyShowClearWhenFocus:!0,placeholder:"请填写收货人手机号码"},label:"手机号码",name:"addressPhone",rules:[{required:!0,message:"收货人手机号码不能为空"},{validator:Ke}]},{type:"slot",name:"provinceCode",extraProps:{label:"所在省",render:$e}},{type:"slot",name:"cityCode",extraProps:{label:"所在市",shouldUpdate:(e,a)=>e.provinceCode!==a.provinceCode,render:Je}},{type:"slot",name:"areaCode",extraProps:{label:"所在区",shouldUpdate:(e,a)=>e.cityCode!==a.cityCode,render:Xe}},{type:"text",props:{onlyShowClearWhenFocus:!0,placeholder:"街道/楼牌号等"},label:"详细地址",name:"addressDetail",rules:[{required:!0,message:"收货人详细地址不能为空"}]}],No=s((({btnShape:a,btnColor:o,borderColor:l,color:s,paddingTop:n,paddingBottom:c,addressId:r})=>{const{View:d}=g(),[m,h]=t({}),[p,u]=t(!!r),{Button:M}=N,{onSubmit:y}=Z(r);if(i((()=>{ma(void 0,void 0,void 0,(function*(){if(r){u(!0);let e=yield z({addressId:r});e.addressDefault="1"===e.addressDefault,h(e),u(!1)}else u(!1)}))}),[r]),!p)return e(d,{className:"addressDetail",style:{paddingBottom:c+"px",paddingTop:n+"px"},children:e(ea,{initialValues:m,footer:e(M,{style:{color:s,backgroundColor:o,borderColor:l},shape:a,block:!0,type:"submit",size:"large",children:"提交"}),transformSubmitDataConfig:go,onSubmit:y,fields:uo})})})),Mo=s((()=>{const{View:o}=g(),l=e=>{C(`/account/agreement/index?type=${e}`)},s=c([{label:"用户协议",type:"xieyi"},{label:"隐私协议",type:"yinsi"}]);return e(o,{className:"myAgreementList",children:e(o,{className:"list",children:s.current.map(((s,t)=>a(o,{className:"item",onClick:l.bind(null,s.type),children:[e(o,{children:s.label}),e(o,{children:e(u,{value:"xiangyou1"})})]},t)))})})})),yo=()=>{const{View:o}=g(),{mySettingGoBind:l,mySettingLogout:s}=H();return a(o,{className:"mySetting",children:[a(o,{className:"item",onClick:l,children:[e(o,{children:"绑定手机"}),e(o,{children:e(ia,{value:"xiangyou1"})})]}),e(o,{className:"btn",onClick:s,children:"退出登录"})]})},Io=s(yo),Co=({itemData:o})=>{const{View:l,Text:s}=g(),{handlerImpl:t}=K(o);return e(l,{className:"addressItem",children:a(l,{className:"upInfo",onClick:t,children:[e(l,{className:"userInfo",children:(o.addressMember||"")+" "+(o.addressPhone||"")}),e(l,{className:"addressInfo",children:a(s,{className:"address",children:[o.provinceName||""," ",o.areaName||""," ",o.cityName||""," ",o.addressDetail||""]})})]})})},Do=s((({refreshNum:o,paddingBottom:l,paddingTop:s})=>{const{View:t,ScrollView:i,Loading:n}=g(),{list:c,loading:r,skullShow:d,onScroll:m}=$(o);return console.log("list",c,d),e(t,{className:"addressListWrap",style:{paddingTop:s+"px",marginBottom:l+"px"},children:d?e(ro,{}):e(t,{className:"addressList",children:e(Qa,{id:"pickupPointListWrap",children:e(i,{onScroll:m,children:c.length?a(t,{children:[c.map(((a,o)=>e(Co,{itemData:a},a&&a.userinfoOcode||o))),r&&e(n,{})]}):e(mo,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有自提点"})})})})})})),wo=s((({borderColor:a,color:o,btnColor:l,btnShape:s,paddingTop:t,paddingBottom:i})=>{const{View:n}=g();return e(n,{className:"addressListBtnWrap",style:{paddingTop:`${t}px`,paddingBottom:`${i}px`},children:e(n,{style:{borderRadius:s,borderColor:a,color:o,backgroundColor:l},className:"addressListBtn",onClick:()=>ma(void 0,void 0,void 0,(function*(){yield w("导入成功","none")})),children:"导入微信收件地址"})})})),fo=s((({navList:l,activeKey:s,cell:t=4})=>{const{View:i,Text:n,Image:c}=g();return e(o,{children:l.map((o=>e(i,{className:["content",s===`${o.goodsClassCode}`?" active":""].join(""),children:((null==o?void 0:o.childList)||[]).map((o=>a(i,{className:"classifyFloor",children:["0"===o.goodsClassHide?a(i,{className:"titleWrap",children:[e(n,{className:"title",children:o.goodsClassName}),e(n,{className:"line"})]}):"",e(i,{className:`container container_columns${t}`,style:{marginTop:"0"===o.goodsClassHide?"":"20px"},children:((null==o?void 0:o.childList)||[]).map((({classtreeCode:o,goodsClassCode:l,goodsClassLogo:s,goodsClassName:t})=>a(i,{onClick:()=>C("goodList",{classtreeCode:o}),className:"classifyFloorGoodsItem",children:[e(c,{src:s,className:"logo"}),e(i,{className:"title",children:t})]},l)))})]},o.goodsClassCode)))},o.goodsClassCode)))})})),{SideBar:bo}=N,To=s((({cell:o,color:l,activeTitle:s,paddingTop:t,paddingBottom:i})=>{const{View:n,ScrollView:c}=g(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=J();return e(n,{children:e(Qa,{id:"goodsClassify",children:e(c,{children:a(n,{style:{height:h?"100%":"667px",paddingTop:t,paddingBottom:i},className:"goodsClassifyContainer",children:[e(n,{className:"side",children:e(bo,{activeKey:r,onChange:d,style:{"--width":"90px","--background-color":"#f5f5f5"},children:m.map((a=>e(bo.Item,{title:a.goodsClassName,className:0===s?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===r?l:"#000"}},a.goodsClassCode)))})}),e(n,{className:"main",children:e(fo,{navList:m,activeKey:r,cell:o})})]})})})})})),xo=d(null),zo=s((()=>{const{navList:o,activeKey:l,setActiveKey:s,setFCoe:i,setSCoe:n,selectFontColor:c}=r(xo),{View:d,ScrollView:m}=g(),[h,p]=t(!1),N=(e,a)=>{s.bind(null,e)(),i(`${a}`),n("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:()=>N(a.goodsClassCode,o),style:{color:l===`${a.goodsClassCode}`?c:"#000",borderColor:l===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},o)))}),e(d,{className:"goodsClassifyOne-icon",onClick:()=>p(!0),children:e(u,{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(u,{value:"paixusort-sheng"})})}),e(Qa,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:o.map(((a,o)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>N(a.goodsClassCode,o),style:{color:l===`${a.goodsClassCode}`?c:"#000",borderColor:l===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},o)))})})})]}):null]})})),ko=s((({thirdList:o})=>{const{View:l,Image:s}=g(),{picShadow:t,layout:i}=r(xo);return e(l,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${i}, 1fr)`},children:o.map(((o,i)=>a(l,{className:"goodsClassifyOneFloorItem",onClick:()=>C("goodList",{classtreeCode:o.classtreeCode}),children:[e(s,{src:o.goodsClassLogo,className:"pic",style:{boxShadow:t?"#DDDDDD 0px 0px 10px":""}}),e(l,{className:"title",children:o.goodsClassName})]},i)))})})),So=s((()=>{const{navList:o,fCoe:l,sCoe:s,setSCoe:t,selectFontColor:i,selectBlcShow:c,selectBlcStyle:d}=r(xo),m=n((()=>D()),[]),{secondList:h,thirdList:p}=(({navList:e,fCoe:a,sCoe:o})=>{const l=n((()=>{var o;return(null===(o=e[a])||void 0===o?void 0:o.childList)||[]}),[a,e]),s=n((()=>{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:s}),{View:u,ScrollView:N,SideBar:M}=g();return e(u,{children:e(Qa,{id:"goodsClassifyOneContent",children:e(N,{children:a(u,{className:"goodsClassifyOneContent",style:{height:m?"100%":"667px"},children:[e(M,{activeKey:s,onChange:t,children:h.map(((a,o)=>e(M.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===d?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":i,"--adm-color-primary":i}},o)))}),e(ko,{thirdList:p})]})})})})})),Ao=s((({selectFontColor:o,selectBlcColor:l,selectBlcShow:s,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r})=>{const{View:d}=g(),{navList:m,activeKey:h,setActiveKey:p}=J(),[u,N]=t("0"),[M,y]=t("0");return e(xo.Provider,{value:{fCoe:u,setFCoe:N,sCoe:M,setSCoe:y,navList:m,activeKey:h,setActiveKey:p,selectFontColor:o,selectBlcColor:l,selectBlcShow:s,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(zo,{}),e(So,{})]})})})),Lo=s((({childList:o,layout:l,picShadow:s,style:t})=>{const{View:i,Image:n}=g();return e(i,{className:"level3Arr",style:Object.assign({gridTemplateColumns:`repeat(${l}, 1fr)`},t),children:o.map(((o,l)=>a(i,{className:"level3ArrItem",onClick:()=>C("goodList",{classtreeCode:o.classtreeCode}),children:[e(n,{src:o.goodsClassLogo,className:"logo",style:{boxShadow:s?"#DDDDDD 0px 0px 10px":""}}),e(i,{className:"title",children:o.goodsClassName})]},l)))})})),vo=s((({navList:o,activeKey:l,layout:s,picShadow:n})=>{var c;const[r,d]=t(0);i((()=>{d(o.findIndex(m))}),[l,r]);const m=e=>e.goodsClassCode===l,{View:h,Image:p}=g();return a(h,{className:"goodsClassifyTwoContent",children:[e(p,{className:"firstLevelImg",src:v(o[r],"goodsClassLogo"),mode:"widthFix"}),null===(c=v(o[r],"childList"))||void 0===c?void 0:c.map(((o,l)=>a(h,{children:["0"===o.goodsClassHide?e(h,{className:"level2Title",children:o.goodsClassName}):"",e(Lo,{childList:o.childList,layout:s,picShadow:n,style:{marginTop:"0"===o.goodsClassHide?"":"30px"}})]},l)))]})})),{SideBar:jo}=N,Oo=s((({selectFontColor:o,selectBlcShow:l,selectBlcColor:s,selectBlcStyle:t,layout:i,picShadow:n})=>{const{View:c}=g(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=J();return e(c,{className:"goodsClassifyTwo",children:e(Qa,{id:"goodsClassifyTwo",children:a(c,{className:"goodsClassifyTwoWrap",style:{height:h?"100%":"667px"},children:[e(c,{className:"side",children:e(jo,{activeKey:r,onChange:d,style:{"--width":"88px","--background-color":"#f5f5f5"},children:m.map((a=>e(jo.Item,{title:a.goodsClassName,className:[l?"":"goodsClassifyTwoFloorNoBlc",1===t?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":o}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(vo,{navList:m,activeKey:r,layout:i,picShadow:n})})]})})})})),Bo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADcdJREFUeF7tnQXMZUcVx38FihUvbkGCu7sVDVYo7lLctUhwd1JcUiw4FCgeXIMU1+LuUtwtP3Ze2C673zvn3pkr37sn2WzTPTNv5sz/jhzdi4U2WgJ7bfTsl8mzAGDDQbAAYAHAhktgw6e/7AALADZcAhs+/WUHWACw4RLY8OkvO8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E1NTgyMyAzNC4xNzk2MTEzLDEuODE5NTQzNTQgQzM0LjY3NzYyMjYsMi4zMTc1Mjg4NSAzNC42Nzc2NDM2LDMuMTI0OTQzNTkgMzQuMTc5NjU4MywzLjYyMjk1NDg0IEwxOC44NTI2ODI4LDE4Ljk1MDcyODUgQzE4LjM1NDY5NzUsMTkuNDQ4NzM5NyAxNy41NDcyODI4LDE5LjQ0ODc2MDggMTcuMDQ5MjcxNSwxOC45NTA3NzU0IEMxNi41NTEyNjAzLDE4LjQ1Mjc5MDEgMTYuNTUxMjM5MiwxNy42NDUzNzU0IDE3LjA0OTIyNDYsMTcuMTQ3MzY0MiBMMzIuMzc2MiwxLjgxOTU5MDQ5IFoiIGlkPSLot6/lvoQtMiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\n",Yo=s((({value:o,urlPath:l="search",iconShow:s,fontColor:t,backgroundColor:i,borderRadius:c,paddingLeft:r,paddingRight:d,sticky:m,fontsize:h,paddings:p,otherStyles:u=[],__pageConfig:N})=>{const{View:M,Image:I}=g(),D=n((()=>y("txt",...u)),[u]);return e(M,{onClick:()=>C(l),style:{paddingTop:p,paddingBottom:p,paddingLeft:r,paddingRight:d},className:m?"boxpositon":"",children:a(M,{className:"components-search",style:{backgroundColor:i,borderRadius:c?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(I,{src:Bo,alt:"",style:{height:"16px",width:"16px",display:s?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(M,{className:D,style:{color:t,display:"inline-block",fontSize:h},children:o})]})})})),Vo=s((({value:o,iconShow:l,fontColor:s,backgroundColor:c,borderRadius:r,paddingLeft:d,paddingRight:m,sticky:h,fontsize:p,paddings:u,otherStyles:N=["mockWeight","mockItalic"],urlPath:M="search"})=>{const{View:I,Image:D}=g(),w=n((()=>y("txt",...N)),[N]),f=T.useRouter(),[b,x]=t("");return i((()=>{var e;if(null===(e=null==f?void 0:f.params)||void 0===e?void 0:e.searchParam){const e=f.params.searchParam,a=decodeURIComponent(e);x(a)}}),[null==f?void 0:f.params]),e(I,{onClick:()=>C(M),style:{paddingTop:u,paddingBottom:u,paddingLeft:d,paddingRight:m},className:h?"boxPosition":"",children:a(I,{className:"components-search",style:{border:`1px solid ${c}`,borderRadius:r?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff",marginTop:"8px"},children:[a(I,{style:{width:"80%"},children:[e(D,{src:Bo,alt:"",style:{height:"16px",width:"16px",display:l?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(I,b?{className:w,style:{color:s,display:"inline-block",fontSize:p},children:b}:{className:w,style:{color:s,display:"inline-block",fontSize:p},children:o})]}),e(I,{className:["seachBtn",r?"btnBorderRadius":""].join(" "),style:{fontSize:p,backgroundColor:c,width:"20%",color:s},children:"搜索"})]})})})),Qo=s((({placeholder:o,placeholderText:l,history:s,historyText:i,paddingBottom:r,paddingTop:d,fontSize:m,fontColor:h,isPointsGood:p})=>{const u=c(null),N=n((()=>D()),[]),{View:M,Text:y,Input:w}=g(),[T,x]=t((()=>f("history")||[])),[z,k]=t(""),S=e=>{C(p?"PointsGoodsList":"goodList",{searchParam:e})};return a(M,{className:"searchPage",style:{paddingTop:d,paddingBottom:r},children:[a(M,{className:"search-title",children:[e("img",{src:Bo,alt:""}),e(w,Object.assign({ref:u,"confirm-type":"search",type:"text",className:"content",value:z,onInput:e=>k(e.detail.value),onConfirm:e=>ma(void 0,void 0,void 0,(function*(){N&&(x((a=>{if(!a.includes(u.current.value||e.detail.value)&&(u.current.value||e.detail.value)){const o=a.concat(u.current.value||e.detail.value);return b("history",o),o}return a})),S(u.current.value||e.detail.value))}))},o?{placeholder:l}:{})),e(y,{className:"btn",onClick:()=>{const e=z.trim();e&&(x((a=>{if(!a.includes(e)){const o=a.concat(e);return b("history",o),o}return a})),S(e))},children:"搜索"})]}),s?a(M,{className:"historyWrap",children:[a(M,{className:"title",children:[e(M,{className:"label",style:{fontSize:m,color:h},children:i}),e(ia,{onClick:()=>ma(void 0,void 0,void 0,(function*(){(yield I()).removeStorageSync("history"),x([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(M,{className:"content",children:T.map(((a,o)=>e(M,{onClick:()=>S(a),className:"historyItem",children:a},o)))})]}):null]})})),Ro=s((({defaultValue:o=[],classCode:l="",margin:s,circular:n=!1,cell:r,showSales:d=!0,gap:m=10,apiKey:h="goodsCode",goods:p=[],markedPrice:u,paddingTop:N,paddingBottom:M,paddingLeft:I,paddingRight:D,goodsName:w=!0,goodsPrice:f=!0,goodsCar:b=!0,goodsBorder:T=!0,goodsShadow:x=!1,marginGap:z=10})=>{const[S,A]=t(o),L=c(),{View:B,Text:E}=g();return i((()=>{j(L.current,p)||(L.current=p,O(p)?A(o):ma(void 0,void 0,void 0,(function*(){try{const e=yield k({[h]:p.toString(),goodsType:"00,40,50",distinctField:"goodsNo"}),a=v(e,"list",[]);A(a)}catch(e){A(o)}})))}),[p]),e(B,{style:{paddingTop:N,paddingBottom:M},children:e(B,{className:y({[`goods-${l}`]:!0}),style:{display:"grid",gap:z,marginBottom:s,gridTemplateColumns:`repeat(${r}, 1fr)`,paddingLeft:I,paddingRight:D},children:S.map(((o,l)=>a(B,{style:{overflow:"hidden",borderRadius:n?"8px":"0px",border:T?"1px solid #000000":""},onClick:()=>C("goodDetail",{skuCode:o.skuCode}),className:["goods "+(x?"outer-shadow":"")].join(" "),children:[e(B,{className:"goods-img",style:{backgroundImage:`url(${He(o.dataPic)})`}}),a(B,{className:"space",children:[e(B,{className:"titleType",style:{display:w?"block":"none"},children:o.goodsName}),e(B,{className:"subTitle",children:o.brandName}),a(B,{className:"price",children:[a(B,{style:{fontSize:18},children:[f?ga(o.pricesetNprice):"",1===u&&e(E,{className:"markedPrice",children:ga(o.pricesetMakeprice)})]}),e(B,{className:"anticon",style:{display:b?"block":"none"},children:e(ia,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},l)))})})})),Uo=s((({defaultValue:o,goods:l,price:s,marketPrice:t,cart:i,apiKey:n="goodsCode",wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:p,goodsGap:u,marginTop:N,marginBottom:M,marginLeft:y,marginRight:I})=>{const{View:D}=g(),{list:w}=X({defaultValue:o,goods:l},n);return e(D,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:M,marginLeft:y,marginRight:I},children:w.map(((o,l)=>a(D,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:p,marginRight:`${u}px`},onClick:()=>C("goodDetail",{skuCode:o.skuCode}),children:[e(D,{className:"img",style:{backgroundImage:`url(${He(o.dataPic)})`}}),a(D,{className:"board",children:[e(D,{className:"title",children:o.goodsName}),a(D,{className:"info",children:[a(D,{className:"lPart",children:[s?e(D,{className:"price",children:ga(o.pricesetNprice)}):null,t?e(D,{className:"marketPrice",children:ga(o.pricesetMakeprice)}):null]}),i?e(D,{className:"rPart",children:e(ia,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},l)))})})),Go=s((({defaultValue:o,goods:l,GoodsSlideshowBg:s,marketPrice:i,goodsName:c,salesNum:r,price:d,apiKey:m="goodsCode",goodsRadius:h,goodsBorder:p,goodsShadow:u,btnText:N,btnBg:M,btnColor:y,btnRadius:I})=>{const w=n((()=>D()),[]),{list:f}=X({defaultValue:o,goods:l},m),{SmoothSwiper:b,View:T,Image:x}=g(),[z,k]=t(0);return a(T,{className:"goodsSlideshow",children:[e(x,{src:s,className:"bg",mode:"widthFix"}),e(b,{indicatorDots:!1,imgHeight:{width:190,height:410},defaultIndex:1,data:f,style:{},type:1,autoplay:!1,autoplayInterval:5e3,onChange:e=>{k(e.detail.current)},previousMargin:40,nextMargin:40,slideSize:70,trackOffset:15,render:o=>a(T,{className:["goodsSlideshowItem",""+(o.goodsCode===f[z].goodsCode&&w?"active":"")].join(" "),style:{borderRadius:h,borderStyle:p?"solid":"none",boxShadow:u?"0px 0px 20px 10px #ddd":""},onClick:()=>C("goodDetail",{skuCode:o.skuCode}),children:[e(x,{className:"logo",src:He(o.dataPic),mode:"widthFix"}),c?e(T,{className:"goodsName",children:o.goodsShowname}):null,r?a(T,{className:"salesNum",children:["销量:",o.goodsSalesvolume]}):null,d?e(T,{className:"price",children:ga(o.pricesetNprice)}):null,i?e(T,{className:"marketPrice",children:ga(o.pricesetMakeprice)}):null,e(T,{className:"btn",style:{backgroundColor:M,color:y,borderRadius:I},children:N})]})})]})}));var Wo=new class{constructor(){this.events={}}on(e,a){this.events[e]||(this.events[e]=[]),this.events[e].push(a)}emit(e,...a){const o=this.events[e];o&&o.forEach((e=>e(...a)))}off(e,a){const o=this.events[e];o&&(this.events[e]=o.filter((e=>e!==a)))}};const Fo=s((({Position:l="none",className:s="",className1:c="",defaultValue:r=[],type:d,autoplay:m,autoplayInterval:h,direction:p,loop:u,paddingTop:N,paddingBottom:M,paddingLeft:I,paddingRight:C,selectImg:D,imgHeight:w,collectParams:f,fontsize:b=16,textAlign:x="center",fontColor:z="#000000",backGroundColor:k="#ffffff"})=>{const S="WEB"===T.getEnv(),A=n((()=>y({paddingbtm:"none"!==l,imgHeights:"bottom"===l&&"horizontal"===p}))),{handleCollect:L,collection:v}=q(f),[j,B]=t(!1),{SmoothSwiper:E,View:Y,Button:V}=g(),Q=P(r,D||[]),R=a=>e(Y,{className:c,style:{fontSize:b,zIndex:99,justifyContent:"left"===x?"flex-start":"center"===x?"center":"flex-end",color:z,backgroundColor:k},children:a.title});return i((()=>{const e=e=>{B(e)};return Wo.on("IsCollectionShow",e),()=>{Wo.off("IsCollectionShow",e)}}),[]),a(Y,{className:s,style:{position:"relative",paddingTop:N,paddingBottom:M,paddingLeft:I,paddingRight:C},children:[a(Y,{style:{position:"absolute",top:10,right:10,zIndex:9,display:"flex",gap:10},children:[e(Y,{style:{background:"rgba(0,0,0,0.5)",width:20,height:20,padding:2,borderRadius:2},children:e("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgNDAgNDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbi9pbWc8L3RpdGxlPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTAsMCBMNDAsMCBMNDAsNDAgTDAsNDAgTDAsMCBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iaWNvbi9pbWciIHN0cm9rZT0ibm9uZSIgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI3BhdGgtMSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICA8ZyBpZD0i54Wn54mHIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTMyLjc4Njg4NTIsMiBDMzUuNjY2MDA5LDIgMzgsNC4zMzM5OTA5OCAzOCw3LjIxMzExNDc1IEwzOCwzMi43ODY4ODUyIEMzOCwzNS42NjYwMDkgMzUuNjY2MDA5LDM4IDMyLjc4Njg4NTIsMzggTDcuMjEzMTE0NzUsMzggQzQuMzMzOTkwOTgsMzggMiwzNS42NjYwMDkgMiwzMi43ODY4ODUyIEwyLDcuMjEzMTE0NzUgQzIsNC4zMzM5OTA5OCA0LjMzMzk5MDk4LDIgNy4yMTMxMTQ3NSwyIEwzMi43ODY4ODUyLDIgWiBNMzIuNzg2ODg1Miw0LjU1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5NDY0ODQ0LDEzLjQ5MzY3MTkgQzkuOTk0NjQ4NDQsMTAuOTE3OTI5NyAxMi4wOTA4OTg0LDguODIxNzU3ODEgMTQuNjY2NjAxNiw4LjgyMTc1NzgxIEMxNy4yNDIzMDQ3LDguODIxNzU3ODEgMTkuMzM4NTU0NywxMC45MTc5Njg4IDE5LjMzODU1NDcsMTMuNDkzNjcxOSBDMTkuMzM4NTU0NywxNi4wNjkzNzUgMTcuMjQyMzA0NywxOC4xNjU2MjUgMTQuNjY2NjAxNiwxOC4xNjU2MjUgWiBNMTQuNjY2NjAxNiwxMS4zNzAwNzgxIEMxMy40OTUzMTI1LDExLjM3MDA3ODEgMTIuNTQzMDA3OCwxMi4zMjI0MjE5IDEyLjU0MzAwNzgsMTMuNDkzNjcxOSBDMTIuNTQzMDA3OCwxNC42NjQ5NjA5IDEzLjQ5NTM1MTYsMTUuNjE3MzA0NyAxNC42NjY2MDE2LDE1LjYxNzMwNDcgQzE1LjgzNzg1MTYsMTUuNjE3MzA0NyAxNi43OTAyMzQ0LDE0LjY2NDk2MDkgMTYuNzkwMjM0NCwxMy40OTM2NzE5IEMxNi43OTAyMzQ0LDEyLjMyMjQyMTkgMTUuODM3ODkwNiwxMS4zNzAwNzgxIDE0LjY2NjYwMTYsMTEuMzcwMDc4MSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\n",onClick:()=>{Wo.emit("bannerImageClick","poster")},style:{width:"100%",height:"100%"},alt:"生成海报"})}),e(Y,{style:{background:"rgba(0,0,0,0.5)",width:20,height:20,padding:2,borderRadius:2},children:S?e("img",{src:Po,onClick:e=>{e.stopPropagation(),Wo.emit("bannerImageClick","share")},style:{width:"100%",height:"100%"},alt:"分享"}):e(V,{openType:"share",onClick:e=>{e.stopPropagation()},style:{display:"flex",alignItems:"center",backgroundImage:`url(${Po})`,backgroundSize:"100% 100%",width:20,height:20,padding:0},className:"wx-share-button"})}),e(Y,{onClick:L,style:{background:"rgba(0,0,0,0.5)",width:20,height:20,padding:2,borderRadius:2,display:j?"flex":"none"},children:O(v.dataObj)?e("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgNDAgNDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbi9zYzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMCwwIEw0MCwwIEw0MCw0MCBMMCw0MCBMMCwwIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJpY29uL3NjIiBzdHJva2U9Im5vbmUiIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNwYXRoLTEiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgPHBhdGggZD0iTTE3Ljk1NDYwMjksMy4yMDA2MTgxOCBDMTguNjQyMjA3OCwyLjAyMTAyMjk0IDIwLjExNTI2NTEsMS42NDY5MDY1IDIxLjI0NDc2ODUsMi4zNjUwMDU3MyBDMjEuNTcxNTc1NywyLjU3Mjc3ODUgMjEuODQ1OTQ2NywyLjg1OTMxNzQ3IDIyLjA0NDg5NjQsMy4yMDA2MTgxOCBMMjQuMTc5NDA2Nyw2Ljg2MjM5ODY3IEMyNS45NTg1OTM3LDkuOTE0NjE3MzIgMjguODMzNjE2NSwxMi4wOTYwODAyIDMyLjE2Mjk3ODIsMTIuOTIwMDQyNyBMMzYuMTU3MjUwMiwxMy45MDg1NTk3IEMzNy40NDM5NTM0LDE0LjIyNjk5NzcgMzguMjM5ODQ5NiwxNS41NzQ0ODA4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45NzA0NTIgQzEuNzE2NTM4OTcsMTYuOTIzMDMxOCAxLjgzMTA0MjI0LDE1LjM0NDQwNDEgMi44MzQwMjkwOSwxNC40NDQ0ODgzIEMzLjEyNDIzMDQ0LDE0LjE4NDEwOTIgMy40Njk5NTgwNiwxNC4wMDAxNDgyIDMuODQyMjQ5MDYsMTMuOTA4MDE2NSBMNy44MzY1MjExNCwxMi45MTk1NDQ2IEMxMS4xNjU4ODI5LDEyLjA5NTYxOTYgMTQuMDQwOTA1Niw5LjkxNDI1NjI5IDE1LjgyMDA5MjYsNi44NjIxNzY4NyBMMTcuOTU0NjAyOSwzLjIwMDU2MzQyIFoiIGlkPSLmmJ/lvaIiIGZpbGw9IiMzNEMwQkMiPjwvcGF0aD4KICAgIDwvZz4KPC9zdmc+",style:{width:"100%",height:"100%"},alt:"收藏"})})]}),e(E,{imgHeight:w,data:Q,className:A,type:d,autoplay:m,autoplayInterval:h,direction:p,loop:u,interval:5e3,vertical:"vertical"===p,render:(s,t,i)=>a(o,{children:["top"===l||"bottom"===l?R(s):null,e(fa,{isPlay:t===i,item:s,position:l,direction:p})]})})]})})),Zo=({autoplay:a,vertical:o,skuCode:l,scene:s})=>{const{rsGoodsFileDomainList:t=[],rsSkuDomainList:i,memberCode:n=""}=_(l,s),c=ee.getState();ee.setState(Object.assign(Object.assign({},c),{memberCode:n})),console.log(24,n);const r=ae(t),{goodInfo:d}=oe(i),m={goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:He(d.dataPic),skuCode:l};return e(Fo,{selectImg:r,type:1,collectParams:m,autoplay:a,vertical:o,imgHeight:{height:375,width:375}})};function Ho(o){const{content:l,position:s="top"}=o,[i,n]=t(!1);return a(aa,{className:"tooltip-wrap",children:[e(aa,{className:"tooltip-icon",onClick:()=>n(!i),children:e(oa,{src:`data:image/svg+xml,${encodeURIComponent('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">\n <circle cx="12" cy="12" r="10" fill="none" stroke="#666" stroke-width="1.5"/>\n <text x="12" y="16" text-anchor="middle" font-family="system-ui" font-size="12" font-weight="bold" fill="#666">?</text>\n </svg>\n ')}`,mode:"aspectFit",style:{width:"24px",height:"24px"}})}),i&&a(aa,{className:`tooltip-popup tooltip-${s}`,children:[l,e(aa,{className:"tooltip-arrow"})]})]})}const Ko=({shareShow:a,setShareShow:l,rsGoodsFileDomainList:s,goodsName:t})=>{if(!D())return;return"WEB"===I().getEnv()?e(o,{children:a?e($o,{goodsName:t,shareShow:a,setShareShow:l,rsGoodsFileDomainList:s}):null}):e(Jo,{goodsName:t,shareShow:a,setShareShow:l,rsGoodsFileDomainList:s})},$o=({shareShow:o,setShareShow:l,rsGoodsFileDomainList:s,goodsName:t})=>{const{View:i,Button:n}=g(),{save:c,canvasRef:r,width:d,height:m}=se(l,s,t);return e(i,{className:"share",children:o?a(i,{className:"share-content",style:{margin:"80px auto"},onClick:e=>{e.stopPropagation()},children:[e(i,{id:"share-canvas-id",className:"share-canvas",children:e("canvas",{ref:r,width:d,height:m,style:{width:`${d}px`,height:`${m}px`}})}),a(i,{className:"dashboard",children:[e(i,{className:"dashboard-item",children:e(n,{className:"txt",onClick:()=>l(!1),children:"关闭海报"})}),e(i,{className:"dashboard-item",onClick:c,children:e(n,{className:"txt",children:"保存图片"})})]})]}):null})},Jo=({shareShow:o,setShareShow:l,rsGoodsFileDomainList:s,goodsName:t})=>{const{View:i,Canvas:n,Button:c}=g(),{save:r,width:d,height:m}=te(l,s,t,o);return e(i,{style:{zIndex:o?1e3:-10,opacity:o?1:0},className:"share",children:a(i,{className:"share-content",style:{margin:"30px auto"},onClick:e=>{e.stopPropagation()},children:[o&&e(i,{className:"share-canvas",id:"share-canvas-id",children:e(n,{"canvas-id":"canvas",style:{width:`${d}px`,height:`${m}px`,position:"absolute"}})}),a(i,{className:"dashboard",children:[e(i,{className:"dashboard-item",children:e(c,{className:"txt",onClick:()=>{const e=T.createCanvasContext("canvas");e.clearRect(0,0,d,m),e.draw(!0),l(!1)},children:"关闭海报"})}),e(i,{className:"dashboard-item",onClick:r,children:e(c,{className:"txt",children:"保存图片"})})]})]})})},Xo=({skuCode:o,priceShow:l,collectionShow:s,scene:n})=>{const[c,r]=t(!1),{View:d,SmoothView:m,Canvas:h,Image:p,Button:u,IconMobile:N}=g(),{rsSkuDomainList:M,rsGoodsFileDomainList:y,goodsDayinfo:C}=_(o,n),{goodInfo:D}=oe(M);console.log("goodInfo",D);const w=D.mpriceStairDomainListMap||{},f=Object.values(w),b=f.length>0?f[0]:[],x=b.length>0?b.map((e=>`${e.mpriceStairStart}-${e.mpriceStairEnd}件 每件${e.mpriceStairPrice}元`)).join("\n"):"";le(o);const z=I(),k="WEB"===T.getEnv();Wo.emit("IsCollectionShow",{collectionShow:s}),i((()=>{const e=e=>{console.log("兄弟组件收到点击:",e),"poster"===e&&r(!0),"share"===e&&S()};return Wo.on("bannerImageClick",e),()=>{Wo.off("bannerImageClick",e)}}),[]);const S=()=>{var e;k?z.setClipboardData({data:window.location.href,success:()=>{z.showToast({title:"复制成功",icon:"success"})},fail:()=>{z.showToast({title:"复制失败",icon:"none"})}}):null===(e=null==z?void 0:z.showShareMenu)||void 0===e||e.call(z,{withShareTicket:!0,menus:["shareAppMessage","shareTimeline"]})};return a(d,{className:"goodsDetail-topInfo",children:[e(Ko,{goodsName:D.goodsName,shareShow:c,setShareShow:r,rsGoodsFileDomainList:y}),a(d,{className:"lPart",children:[a(m,{className:"name",style:{display:"flex",alignItems:"center"},children:["16"==D.goodsType?e(d,{className:"pre-sale",children:"预售商品"}):null,D.goodsName]}),"16"==D.goodsType&&C&&a(m,{className:"price",children:["预计发货时间:",C,"天内"]}),e(d,{style:{display:"flex",justifyContent:"space-between",marginTop:5},children:a(d,{style:{display:"flex",flexDirection:"column"},children:[a(m,{className:"price",style:{display:l?"block":"none"},children:["会员价:",ga(D.pricesetNprice)]}),a(m,{className:"price",style:{display:l?"block":"none"},children:["促销价:",ga(D.pricesetNprice)]}),x?e(d,{className:"page",children:e(Ho,{content:x,position:"right"})}):null]})})]})]})},qo=s((o=>{const{collectionShow:l,shareShow:s}=o,{View:t}=g(),{handleCollect:i,collection:n}=q(o),{handleShare:c}=ie();return a(t,{className:"handleBar",children:[l?e(t,{className:"collection",onClick:i,style:{borderRight:s?"1px solid #ddd":"none"},children:O(n.dataObj)?"收藏":"已收藏"}):null,s?e(t,{className:"share",onClick:c,children:"分享"}):null]})})),_o=s((({priceShow:o,collectionShow:l,shareShow:s,skuCode:t,scene:i})=>{const{View:n,SmoothView:c}=g(),{rsSkuDomainList:r}=_(t,i),{goodInfo:d}=oe(r);return ne((e=>e.spec)),le(t),a(n,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:o?"block":"none"},children:ga(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(qo,{collectionShow:l,shareShow:s,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:He(d.dataPic),skuCode:t})]})})),el=s((()=>{const{Text:e}=g(),o=ne((e=>e.count)),l=ne((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",o," 规格: ",l.toString()]})})),al=({dispatchPageStore:l})=>{const{View:s,Text:t}=g(),{openPopup:i}=ce(l);return e(o,{children:a(s,{className:"goodsDetail-size",onClick:i,children:[e(t,{className:"label",children:"属性规格"}),a(s,{className:"info",children:[e(el,{}),e("img",{src:Eo,alt:"",className:"icon"})]})]})})},ol=({skuCode:o,scene:l})=>{const{View:s,Text:t}=g(),{rsSkuDomainList:i}=_(o,l),{goodInfo:n}=oe(i),c=re(i,n.skuCode);return a(s,{className:"goodsDetail-promotion",children:[e(t,{className:"label",children:"促销"}),e(s,{className:"group",children:c.length?c.map((({discName:a},o)=>e(s,{className:"item",children:a.length<20?a:a.substring(0,10)+"..."},o))):e(s,{className:"noPromotion",children:"暂无促销活动"})})]})},ll=s((({promotionBegintime:o,pbName:l,discName:s,promotionCode:t,promotionName:i,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=g(),{save:p,isPick:u}=de(),N=n((()=>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:s})]}),a(m,{className:"info",children:[e(h,{className:"title",children:i}),a(h,{className:"date",children:[_e(o).format("YYYY-MM-DD")," - ",_e(d).format("YYYY-MM-DD")]})]}),e(m,N>0?{className:u?"coupon-pick-default":"coupon-pick",onClick:()=>p({promotionCode:t,couponAmount:1}),children:u?"已领取":"领取"}:{className:"coupon-pick-default",children:"已领完"})]})})})),sl=()=>{const{View:a,Image:o}=g();return e(a,{children:e(o,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},tl=l=>{var{skuCode:s,scene:t}=l;da(l,["skuCode","scene"]);const{View:i,Text:n,Popup:c,Image:r}=g(),{rsSkuDomainList:d}=_(s,t),{goodInfo:h}=oe(d),{coupon:p,visible:u,setVisible:N}=me(d,h.skuCode);return a(o,{children:["26"==h.goodsType?null:a(i,{className:"goodsDetail-coupon",onClick:()=>N(!0),children:[e(n,{className:"label",children:"优惠券"}),a(i,{className:"info",children:[e(n,{className:"label",children:"请选择优惠券"}),e(r,{src:Eo,alt:"",className:"icon"})]})]}),e(c,{popupVisible:u,popupHandler:N,children:e(i,{className:"goodsDetail-coupon-popup",children:e(Qa,{children:p.length>0?p.map(((e,a)=>m(ll,Object.assign({},e,{key:a})))):a(i,{className:"NoDataImg",children:[e(sl,{}),e(i,{className:"btn",onClick:()=>N(!1),children:"确定"})]})})})})]})},il=({onChange:a,readOnly:o=!1,size:l=22,count:s})=>{const{View:n}=g(),[c,r]=t([{icon:"star-fill"},{icon:"star"},{icon:"star"},{icon:"star"},{icon:"star"}]);i((()=>{if(s){const e=[...c];for(let a=0;a<e.length;a++)e[a].icon=a>s-1?"star":"star-fill";r(e)}}),[]);const d=e=>{if(!o){for(let a=0;a<c.length;a++)c[a].icon=a>e?"star":"star-fill";r([...c]),a(e+1)}};return e(n,{children:c.map(((a,o)=>e(ia,{onClick:d.bind(null,o),value:a.icon,style:{color:"#EC6C5C",fontSize:l}},o)))})},nl=({item:o})=>{const{View:l,Image:s,Text:t,Button:i}=g(),n=D(),c=I();f("user");const{userInfoCode:r}=f("user")||{userInfoCode:""};return a(l,{className:"rateItem",children:[a(l,{className:"topInfo",children:[a(l,{className:"lPart",children:[e(s,{src:o.userImgurl||"https://brushes.oss-cn-shanghai.aliyuncs.com/jinmen/avatar.png",className:"avatar"}),a(l,{className:"userInfo",children:[e(l,{className:"name",children:o.userName}),e(il,{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()}`})]}),a(l,{className:"pj-wrapper",children:[a(l,{className:"flex-1",children:[e(l,{className:"size",children:o.skuName}),e(l,{className:"content",children:o.evaluateGoodsContent}),o.evaluateGoodsImgs&&JSON.parse(o.evaluateGoodsImgs).length>0&&e(l,{className:"img-group",children:JSON.parse(o.evaluateGoodsImgs).map((a=>e(s,{src:He(a),style:{width:"100px",height:"100px"},mode:"aspectFit",className:"img"},a)))})]}),o.memberBcode===r?e(t,{className:"del-txt",onClick:()=>{(e=>{ma(void 0,void 0,void 0,(function*(){try{const a=e.evaluateGoodsId;if(!a)return;yield sa({evaluateGoodsId:a,isLocalMock:!n}),yield w("删除成功","none"),c.navigateBack({delta:1})}catch(e){console.log(e)}}))})(o)},children:"删除"}):null]}),o.shopReply&&o.shopReply.length?e(l,{className:"merchant-reply",children:o.shopReply.map((({evaluateReplyContent:o},s)=>a(l,{children:[e(t,{className:"merchant-reply-title",children:"商家回复"}),e(t,{children:o})]},s)))}):null]})},cl=({evaluateArr:o})=>{const{View:l}=g();return console.log(7,o),e(l,{className:"goodsDetailEvaluate",children:o.length?a(l,{children:[a(l,{className:"topInfo",children:["评价 (",o.length,")"]}),o.slice(0,5).map(((a,o)=>e(nl,{item:a},o)))]}):e(mo,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},rl=process.env.REACT_APP_BASE_URL,dl=({goodsRemark:a})=>{const{View:o}=g(),l=n((()=>a?a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<!--[\s\S]*-->/gi,"").replace(/src="\/paas\//gi,`src="${rl}/paas/`).replace(/<img/gi,'<img style="max-width:100%;height:auto;display:block;"'):""),[a]);return e(o,{className:"goodsDetail-info",children:e(la,{nodes:l})})},ml=({goodsRemark:o})=>{const{View:l}=g(),[s,c]=t({}),[r,d]=t(!1),m=n((()=>{const e=window.location.hash.split("?")[1]||"";return new URLSearchParams(e).get("skuCode")||""}),[window.location.hash]),p=h((e=>ma(void 0,void 0,void 0,(function*(){if(e){d(!0);try{const a=yield S({skuCode:e});console.log("goodsDetailQuery:",a),c(a||{})}catch(e){c({})}finally{d(!1)}}}))),[]);i((()=>{p(m)}),[m,p]);const u=s.rsPropertiesValueDomainList||[];return a(l,{className:"goodsDetail-info",children:[u.length>0&&e(l,{style:{fontSize:12,marginTop:10,display:"grid",borderRadius:6,background:"#fff",border:"solid 1px #f1f1f1",padding:"10px 40px",gridTemplateColumns:"repeat(2, 1fr)",gap:"10px"},children:u.map(((o,s)=>a(l,{style:{marginRight:25,marginLeft:10},children:[" ",e(l,{style:{color:"black",fontSize:13,fontWeight:500},children:o.propertiesName}),e(l,{style:{color:"gray",fontSize:11},children:o.propertiesValueValue||"--"})]},s)))}),r&&e(l,{style:{textAlign:"center",padding:20},children:"加载中..."})]})},hl=({tabActive:l,setTabActive:s,evaluateShow:t,evaluateImgShow:i,evaluateImg:c})=>{const{Text:r}=g(),d=n((()=>i?[{title:"商品详情",id:"1"},{title:"商品规格",id:"3"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[t]);return e(o,{children:d.map(((o,t)=>e(p,{children:a(r,{className:"tabsItem "+(l===t?"active":""),onClick:()=>s(t),children:[o.title,e(r,{className:"line"})]})},t)))})},pl=({evaluateShow:o,evaluateImgShow:l,evaluateImg:s,skuCode:i,scene:n})=>{const{View:c}=g(),[r,d]=t(0),{goodsRemark:m,goodsCode:h}=_(i,n),p=he(h);return a(c,{className:"goodsDetailTab",children:[e(c,{className:"tabs",children:e(hl,{tabActive:r,setTabActive:d,evaluateShow:o,evaluateImgShow:l,evaluateImg:s})}),e(c,{className:"group",children:0===r?e(dl,{goodsRemark:m}):2===r?e(cl,{evaluateArr:p,evaluateImgShow:l,evaluateImg:s}):1===r?e(ml,{goodsRemark:m}):null})]})},gl=({skuName:o,handleChooseSize:l,goodsShowname:s,skuOption:t,index:i})=>{const{View:n,Text:c}=g(),r=ne((e=>e.offShelf)),d=(e,a)=>!!e&&(e.includes(`/${a}/`)||e.endsWith(a)||e.startsWith(a));return a(n,{className:"sizeArr",children:[e(c,{className:"title",children:o}),e(n,{className:"sizeArrItemWrap",children:t.map(((a,o)=>e(n,{className:y({sizeItem:!0,active:d(s,a.specValueValue),offShelf:!d(s,a.specValueValue)&&r}),onClick:l.bind(null,a.specValueValue,i),children:a.specValueValue},o)))})]})},{Stepper:ul}=N,Nl=({count:a,handleStep:o,goodsNum:l,goodsMinnum:s})=>{const{View:t}=g(),i=s||1,n=l||999;return e(t,{className:"numStep",style:{width:"100px"},children:e(ul,{value:a,min:i,max:n,onChange:e=>{if(null===e||isNaN(e))return;const l=Math.floor(e);if(l!==a+1)if(l!==a-1){if(l<i)w(`不能小于${i}`,"none");else if(l>n)w("超库存","none");else if(l!==a){const e=ee.getState();ee.setState(Object.assign(Object.assign({},e),{count:l}))}}else o("minus");else o("plus")}})})},Ml=s((({handleStep:o,goodsNum:l,goodsMinnum:s})=>{const{View:t}=g(),i=ne((e=>e.count));return a(t,{className:"countWrap",children:[e(t,{className:"label",children:"购买数量"}),e(Nl,{count:i,handleStep:o,goodsNum:l,goodsMinnum:s})]})})),yl=({skuInfo:l,handleChooseSize:s,spec:t,goodInfo:i})=>{const{Image:n,View:c}=g(),{skuList:r}=l,d=i&&"06"===i.goodsType?i.pricesetRefrice+"积分":ga(i.pricesetNprice);return a(o,{children:[a(c,{className:"goodsInfo",children:[e(c,{className:"lPart",children:e(n,{src:He(i.dataPic),alt:"",className:"goodsImg"})}),a(c,{className:"rPart",children:[e(c,{className:"name",children:i.goodsName}),e(c,{className:"price",children:d}),a(c,{className:"chosen",children:["已选择: ",t.toString()]}),a(c,{className:"price",children:["库存: ",i.goodsNum]})]})]}),r.map(((a,o)=>e(gl,{goodsShowname:i.skuName,handleChooseSize:s,index:o,skuName:a.skuName,skuOption:a.skuOption},o)))]})},Il=({cashImpl:l,addShoppingImpl:s,addCardImpl:t})=>{const{Text:i,View:n}=g(),c=ne((e=>e.isNeedButton)),r=ne((e=>e.offShelf));return r?e(n,{className:y({btnWrap:!0,offShelf:r}),children:e(i,{className:"btn",children:"已下架"})}):e(o,{children:c?e(n,{className:"btnWrap",onClick:s,children:e(i,{className:"btn",children:"确认"})}):a(n,{className:"goods-detail-btn-group popup-buy-button",children:[e(n,{className:"btn addCart",onClick:t,children:"加入购物车"}),e(n,{className:"btn buy",onClick:l,children:"立即购买"})]})})},Cl=s((({dispatchPageStore:o,goodsCode:l,skuInfo:s,rsSkuDomainList:t})=>{const{View:i,ScrollView:n}=g(),{spec:c,goodInfo:r}=oe(t),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:p,addShoppingImpl:u}=pe(l,s,t,o);return a(i,{className:"goodsDetail-size-popup",children:[e(Qa,{children:e(n,{children:a(i,{className:"content",children:[e(yl,{skuInfo:s,handleChooseSize:d,spec:c,goodInfo:r}),e(Ml,{handleStep:m.bind(null,r.goodsNum,r.goodsMinnum),goodsNum:r.goodsNum,goodsMinnum:r.goodsMinnum})]})})}),e(Il,{cashImpl:p,addShoppingImpl:u,addCardImpl:h})]})})),Dl=({popupVisible:a,dispatchPageStore:o,goodsCode:l,skuInfo:s,rsSkuDomainList:t})=>{const{Popup:i}=g();return e(i,{popupVisible:a,popupHandler:()=>{o({visible:!1})},children:e(Cl,{dispatchPageStore:o,goodsCode:l,skuInfo:s,rsSkuDomainList:t})})},wl=s((({serverShow:l,cartShow:s,lPartShow:n,lPartColor:c,lPartBgColor:r,lPartStyle:d,rPartColor:m,rPartBgColor:h,rPartStyle:p,rPartText:u,dispatchPageStore:N,skuCode:M,platform:y,scene:I})=>{const{View:D,IconMobile:w,Text:f}=g(),b=ne((e=>e.offShelf)),{rsSkuDomainList:x,goodPro:z}=_(M,I),{goodInfo:k}=oe(x),{servicePopup:S}=ha(y),{addCardPopup:A,buyOpenPopup:L}=ce(N),[v,j]=t("10px");return i((()=>{const e=(()=>{try{const e=T.getSystemInfoSync(),a=T.getEnv();if(a===T.ENV_TYPE.WEAPP||a===T.ENV_TYPE.ALIPAY||a===T.ENV_TYPE.SWAN||a===T.ENV_TYPE.TT||a===T.ENV_TYPE.JD){let a=0;if(e.safeArea&&e.safeArea.bottom)a=e.screenHeight-e.safeArea.bottom;else if(e.safeAreaInsets&&e.safeAreaInsets.bottom)a=e.safeAreaInsets.bottom;else if(e.model){const o=e.model.toLowerCase();(o.includes("iphone x")||o.includes("iphone 11")||o.includes("iphone 12")||o.includes("iphone 13")||o.includes("iphone 14")||o.includes("iphone 15"))&&(a=34)}return`${10+a}px`}return"calc(15px + env(safe-area-inset-bottom, 0px))"}catch(e){return"15px"}})();j(e)}),[]),a(D,{className:"goodsDetailHandleBar",style:{paddingBottom:v},children:[a(D,{className:"linkGroup server",onClick:S,style:{display:l?"block":"none"},children:[e(w,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(D,{className:"txt",children:"客服"})]}),a(D,{className:"linkGroup cart",onClick:()=>C("shopping"),style:{display:s?"block":"none"},children:[e(w,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(D,{className:"txt",children:"购物车"})]}),e(D,{className:"goods-detail-btn-group",children:b?e(D,{className:"btn addCart offShelf",children:e(f,{className:"btn",children:"已下架"})}):a(o,{children:["26"===z||!1===n?null:e(D,{className:"btn addCart",onClick:A,style:{color:c,backgroundColor:r,borderTopLeftRadius:d,borderBottomLeftRadius:d},children:"加入购物车"}),e(D,{onClick:L,className:"btn buy",style:Object.assign({color:m,backgroundColor:h,borderTopRightRadius:p,borderBottomRightRadius:p},!1===n?{borderTopLeftRadius:p,borderBottomLeftRadius:p}:{}),children:u||("10"===k.goodsPro?"预售抢购":"立即购买")})]})})]})})),fl=l=>{var{$_dataSource:s={},dispatchPageStore:t=B,skuCode:i,scene:n}=l,c=da(l,["$_dataSource","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=_(i,n),h=ge(r,m),{popupVisible:p}=s;return a(o,{children:[e(wl,Object.assign({skuCode:i},c,{dispatchPageStore:t})),e(Dl,{dispatchPageStore:t,popupVisible:p,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},bl=s((({serverShow:o,cartShow:l,lBtnBorderColor:s,lBtnFontColor:t,lBtnColor:i,lBtnStyle:n,rBtnBorderColor:c,rBtnFontColor:r,rBtnColor:d,rBtnStyle:m,dispatchPageStore:h,skuCode:p,scene:u,platform:N})=>{const{View:M,IconMobile:y}=g(),{rsSkuDomainList:I}=_(p,u),{goodInfo:D}=oe(I),{servicePopup:w}=ha(N),{addCardPopup:f,buyOpenPopup:b}=ce(h);return a(M,{className:"goodsDetailHandleBarOne",children:[a(M,{className:"linkGroup server",onClick:w,style:{display:o?"block":"none"},children:[e(y,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(M,{className:"txt",children:"客服"})]}),a(M,{className:"linkGroup cart",onClick:()=>C("shopping"),style:{display:l?"block":"none"},children:[e(y,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(M,{className:"txt",children:"购物车"})]}),a(M,{className:"goods-detail-one-btn-group",children:[e(M,{className:"btn addCart",onClick:f,style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===n?"20px":"0"},children:"加入购物车"}),e(M,{onClick:b,className:"btn buy",style:{border:`1px solid ${c}`,color:r,backgroundColor:d,borderRadius:1===m?"20px":"0"},children:"10"===D.goodsPro?"预售抢购":"立即购买"})]})]})})),Tl=l=>{var{popupVisible:s=!1,dispatchPageStore:t=B,skuCode:i,scene:n}=l,c=da(l,["popupVisible","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=_(i,n),h=ge(r,m);return a(o,{children:[e(bl,Object.assign({skuCode:i},c,{dispatchPageStore:t})),e(Dl,{dispatchPageStore:t,popupVisible:s,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},xl=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],zl=({setParams:o,activeColor:l})=>{const{View:s}=g(),[i,n]=t(0),[c,r]=t(xl);return e(s,{className:"sortWrap",children:c.map((({order:t,sortField:c,name:d},m)=>a(s,{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,t),style:{color:i===m?l:""},children:[d,t&&a(s,{className:"orderIcons",children:[e(ia,{style:{color:i===m&&"desc"!==t?l:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(ia,{style:{color:i===m&&"desc"===t?l:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},kl=s((({classtreeCode:o="",searchParam:l="",activeColor:s="#e54e29",isHotSale:i=!1,goodsName:c=!0,goodsPrice:r=!0,lineationGoods:d=!0,salesQuantity:m=!0,goodsCar:h=!0,borderRadius:p=!0,goodsColor:u=!0,goodsGap:N=10,paddingLR:M=0,__link__:I={}})=>{console.log(111,I);const{View:C,Loading:D,SmoothView:w,Image:f,ScrollView:b,IconMobile:T}=g(),[x,z]=t({}),{loading:k,getData:S,list:A}=ue(o,l,x,i),L=n((()=>y("textBox",{btm:!r&&!d})),[r,d]),v=n((()=>y("name",{boxNone:!c})),[c]),j=n((()=>y("middle_margin",{boxNone:!m})),[m]),O=n((()=>y("goodDetail",{boxNone:!r&&!d&&!h})),[r,d,h]),B=n((()=>y({detailContent:!(v.includes("boxNone")&&j.includes("boxNone")&&O.includes("boxNone"))})),[v,j,O]);return a(C,{className:"goodsList",children:[e(C,{className:"top-info",children:e(zl,{setParams:z,activeColor:s})}),e(C,{className:"listWrap",style:{padding:` 0px ${M}px`},children:e(Qa,{id:"listWrap",children:a(b,{onScroll:()=>S(x),children:[e(C,{className:"list",style:{gap:N},children:A.map((o=>a(C,{onClick:()=>qe(I,{skuCode:o.skuCode}),className:"listItem",style:{borderRadius:p?"8px":"",boxShadow:u?"4px 4px 4px #969292":""},children:[e(f,{src:He(o.dataPic),className:"img"}),a(C,{className:B,children:[e(w,{className:v,children:o.goodsName}),a(C,{className:j,children:["已售:",o.goodsNum]}),a(C,{className:O,children:[a(C,{className:L,children:[e(w,{className:"price",style:{display:r?"block":"none"},children:ga(o.pricesetNprice)})," ",e(C,{className:"decoration",style:{display:d?"block":"none"},children:ga(o.pricesetMakeprice)})]}),e(C,{style:{display:h?"block":"none"},children:e(T,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},o.skuCode)))}),k?e(D,{}):null]})})})]})})),Sl=({dispatchPageStore:a,$_dataSource:o={cartIsEditor:!1},btnStyle:l,borderColor:s,textColor:t,btnColor:i,btnShape:c})=>{const{View:r}=g(),{cartIsEditor:d}=o,{editorImpl:m}=Ne(a),h=n((()=>({border:l?`2px solid ${s}`:"",color:l?t:"",background:l?i:"",borderRadius:l?c:""})),[l,s,t,i,c]);return e(r,{className:"cart-edit",children:e(r,{className:"btn",onClick:m,style:h,children:d?"完成":"编辑"})})},Al=s((({promotionName:o,checked:l,promotionCode:s})=>{const{View:t,Radio:i}=g();return a(t,{className:"promotion-item",children:[e(t,{className:"content",children:o}),e(t,{className:"choose",children:e(i,{"data-code":l,checked:l,value:s})})]})})),Ll=({onChange:a,promotionCode:o,visible:l,setVisible:s,promotion:t})=>{const{Popup:i,ScrollView:n,View:c,SmoothRadio:r}=g();return e(i,{popupVisible:l,popupHandler:s,children:e(c,{className:"goodsDetail-coupon-popup",children:e(Qa,{children:e(n,{children:e(r,{onChange:a,children:t.map(((e,a)=>m(Al,Object.assign({checked:e.promotionCode===o},e,{key:a}))))})})})})})},vl=s((({goodsName:l,dataState:s,skuName:t,goodsCamount:i,shoppingGoodsId:n,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=g();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:ga(c)}),0===s&&e(h,{count:i,handleStep:r.bind(null,n,i)})]})]})})})),jl=s((({dataPic:o,dataState:l,skuCode:s})=>{const{Image:t,View:i}=g(),c=n((()=>{let a="";switch(l){case 3:case 1:a="https://brushes.oss-cn-shanghai.aliyuncs.com/static/lowcode-platform/goodsLose.png";break;case 2:a="https://brushes.oss-cn-shanghai.aliyuncs.com/static/lowcode-platform/offshelf.png"}return 0!==l?e(i,{className:"bg",children:e(t,{className:"icon-img",src:a})}):null}),[l]);return a(i,{className:"cart-item-image",children:[c,e(t,{className:"img",src:o,onClick:()=>C("goodDetail",{skuCode:s})})]})})),Ol=s((({cartIsEditor:a,shoppingGoodsId:o,dataState:l,select:s=[]})=>{const{View:t,Checkbox:i}=g(),c=n((()=>(a||0===l)&&s.includes(o)),[s,a,o,l]);return console.log(106,typeof o),e(t,{className:"checkBoxWrap",children:e(i,{disabled:!a&&0!==l,checked:c,value:o,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),Bl=({promotion:l=[],updatePm:s,shoppingGoodsId:i,promotionCode:c})=>{const{View:r}=g(),[d,m]=t(!1),h=n((()=>((l||[]).find((e=>e.promotionCode===c))||{}).promotionName),[l]);return a(o,{children:[a(r,{className:"cart-promote-active",onClick:()=>m(!0),children:[e(r,{children:h}),e(r,{children:"修改"})]}),e(r,{onClick:e=>{e.target.dataset.code&&(m(!1),s(i,"-"))},children:e(Ll,{promotionCode:c,onChange:e=>{m(!1),s(i,ye(e))},promotion:l||[],visible:d,setVisible:m})})]})},El=s((o=>{var{item:l}=o,s=da(o,["item"]);const{View:t}=g(),{select:i,cartIsEditor:n}=s;return a(t,{className:"cart-list-item",children:[e(Ol,{cartIsEditor:n,dataState:l.dataState,select:i,shoppingGoodsId:l.shoppingGoodsId}),e(jl,{dataState:l.dataState,dataPic:He(l.dataPic),skuCode:l.skuCode}),e(vl,Object.assign({},l,s))]})})),Pl=l=>{var{shoppingGoodsList:s=[]}=l,t=da(l,["shoppingGoodsList"]);return e(o,{children:s.map(((o,l)=>a(p,{children:[e(El,Object.assign({},t,{item:o})),o.pmPromotionList?e(Bl,{promotionCode:t.promotionCode,shoppingGoodsId:o.shoppingGoodsId,updatePm:t.updatePm,promotion:o.pmPromotionList}):null]},l)))})},Yl=({disNextMsg:o,link:l})=>{const{View:s,IconMobile:t}=g(),i=n((()=>O(l)?null:a(s,{style:{color:"#ED4444",textAlign:"right"},onClick:()=>qe(l,{}),children:["去凑单",e(t,{style:{fontSize:"14px",color:"#888"},value:"xiangyou1"})]})),[l]);return a(s,{className:"cart-dis-title-msg",children:[e(s,{className:"dis-msg",children:o}),i]})},Vl=({disNextMsg:o,promotionName:l,pbName:s,link:t})=>{const{View:i,SmoothView:n}=g();return a(i,{className:"cart-dis-title",children:[e(n,{className:"tips",children:s}),e(n,{className:"title",children:l}),o&&e(Yl,{link:t,disNextMsg:o})]})},Ql=({refreshNum:l,dispatchPageStore:s,$_dataSource:t={cartSelect:[],cartUpdateCount:0,cartIsEditor:!1},__link__:i={},cartItemRadius:n="10px"})=>{const{SmoothCheckbox:c,WrapLoading:r,View:d}=g(),{cartSelect:m,cartUpdateCount:h,cartIsEditor:u}=t,{loading:N,cartList:M,onChange:y,handleStep:I,updatePm:C}=Me(l,h,s);return console.log(286,m),e(r,{loading:N,children:e(d,{className:"cart-wrap",children:e(c,{value:m,onChange:y,children:M.length?e(o,{children:M.map((({memberName:o,promotionCode:l,disNextMsg:s,promotionName:t,pbName:c,shoppingGoodsList:r},h)=>a(p,{children:[e("h4",{children:o}),a(d,{className:"cart-bg",style:{borderRadius:n},children:[t?e(Vl,{link:i,disNextMsg:s,promotionName:t,pbName:c}):null,e(Pl,{cartIsEditor:u,promotionCode:l,handleStep:I,select:m,updatePm:C,shoppingGoodsList:r,cartItemRadius:n})]})]},h)))}):e(mo,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},Rl=({$_dataSource:o={cartInfo:[],cartDisMoney:0,cartSelect:[],cartIsEditor:!1},dispatchPageStore:l,countBorderColor:s="#000000",countTextColor:t="#ffffff",countBtnColor:i="#000000",countBtnShape:c="20px"})=>{const{View:r,SmoothView:d,SmoothCheckbox:m,Checkbox:h}=g(),{cartInfo:p,cartDisMoney:u,cartSelect:N,cartIsEditor:M}=o,{toOrderImpl:y,deleteCart:I,clearAll:C,selectAll:D,ids:w,cartDetail:f}=Ie(N,p,l),b=n((()=>({border:`1px solid ${s}`,color:t,background:i,borderRadius:c})),[s,t,i,c]);return a(r,{className:"cart-dashboard",children:[e(r,{className:"choose",children:e(m,{value:p.length===N.length?["true"]:[],onChange:D,children:e(h,{checked:p.length===N.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),a(r,M?{className:"del",children:[w.length?e(r,{onClick:C,className:"btn",style:{marginRight:5},children:"一键清空失效商品"}):null,e(r,{onClick:I,className:"btn",children:"删除"})]}:{className:"check",children:[a(r,{className:"priceGroup",children:[a(r,{className:"discount",children:["优惠: ",e(d,{className:"data",children:ga(u)})]}),a(r,{className:"all",children:["总计: ",e(d,{className:"data",children:ga(f.amount)})]})]}),a(r,{onClick:y,className:"btn",style:b,children:["结算(",f.num,")"]})]})]})},Ul=({address:a})=>e(o,{children:O(a)?e(Wl,{}):e(Gl,{address:a})}),Gl=({address:o})=>{const{View:l,SmoothView:s,IconMobile:t}=g(),i=n((()=>{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(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(l,{className:"left",children:[a(l,{className:"left-title",children:[e(s,{children:i.addressMember}),e(s,{className:"left-padding",children:i.addressPhone}),i.addressDefault?e(s,{className:"left-padding left-title-default",children:"默认"}):null]}),e(s,{className:"left-detail",children:i.address})]}),e(t,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},Wl=()=>{const{View:l,Text:s}=g();return a(o,{children:[a(l,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},Fl=({refreshNum:a,skuId:o="",goodsNum:l=0,shoppingGoodsId:s="",goodsBeanStr:t="",longContractgoodsBeanStr:i=""})=>{const{View:n}=g(),c=Ce(a,l,o,s,t,i);return e(n,{className:"placeOrder-chooseAddress",onClick:()=>C("addressList"),children:e(Ul,{address:c})})},Zl=({address:a})=>e(o,{children:O(a)?e(Kl,{}):e(Hl,{address:a})}),Hl=({address:o})=>{const{View:l,SmoothView:s,IconMobile:t}=g(),i=n((()=>{const{provinceName:e,cityName:a,areaName:l,addressDetail:s,addressMember:t="",addressPhone:i=""}=o;return{displayName:t,displayPhone:i,address:(e||"")+(a||"")+(l||"")+(s||"")}}),[o]);return a(l,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(l,{className:"left",children:[a(l,{className:"left-title",children:[e(s,{children:i.displayName}),e(s,{className:"left-padding",children:i.displayPhone})]}),e(s,{className:"left-detail",children:i.address})]}),e(t,{value:"xiangyou1",style:{color:"#444",lineHeight:3,textAlign:"right"}})]})},Kl=()=>{const{View:l,Text:s}=g();return a(o,{children:[a(l,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},$l=({refreshNum:a})=>{const{View:o}=g(),l=De(a);return e(o,{className:"placeOrder-chooseAddress",onClick:()=>C("pickupPointList"),children:e(Zl,{address:l})})},Jl=({tabActive:l,setTabActive:s})=>{const{Text:t}=g();return e(o,{children:[{title:"快递",id:"0"},{title:"自提",id:"1"}].map(((o,i)=>e(p,{children:a(t,{className:"tabsItem "+(l===o.id?"active":""),onClick:()=>s(o.id),children:[o.title,e(t,{className:"line"})]})},o.id)))})},Xl=({refreshNum:o,skuId:l="",goodsNum:s=0,shoppingGoodsId:n="",goodsBeanStr:c="",longContractgoodsBeanStr:r=""})=>{const{View:d,Text:m}=g(),[h,p]=t("0");return i((()=>{we.contractPumode=h}),[h]),a(d,{className:"placeOrderAddressTabs",children:[a(d,{className:"delivery-header",children:[e(m,{className:"delivery-label",children:"配送方式:"}),e(d,{className:"tabs",children:e(Jl,{tabActive:h,setTabActive:p})})]}),e(d,{className:"content",children:"0"===h?e(Fl,{refreshNum:o&&o.addressId,skuId:l,goodsNum:s,shoppingGoodsId:n,goodsBeanStr:c,longContractgoodsBeanStr:r}):e($l,{refreshNum:o&&o.userinfoOcode,skuId:l,goodsNum:s,shoppingGoodsId:n})})]})},ql=s((({couponStart:o,pbName:l,discName:s,isDisabled:t,couponNo:i,promotionName:n,couponEnd:c})=>{const{View:r,Text:d,Checkbox:m}=g();return e(r,{className:"couponItem",children:a(r,{className:"coupon-content",children:[a(r,{className:"price",children:[e(r,{className:"symbol",children:l}),e(r,{className:"num",children:s})]}),a(r,{className:"info",children:[e(d,{className:"title",children:n}),a(d,{className:"date",children:[_e(o).format("YYYY-MM-DD")," - ",_e(c).format("YYYY-MM-DD")]})]}),e(r,{className:"choose",children:e(m,{disabled:t,value:i})})]})})})),_l=s((({couponStart:o,pbName:l,discName:s,couponNo:t,promotionName:i,couponEnd:n})=>{const{View:c,Text:r,Radio:d}=g();return e(c,{className:"couponItem",children:a(c,{className:"coupon-content",children:[a(c,{className:"price",children:[e(c,{className:"symbol",children:l}),e(c,{className:"num",children:s})]}),a(c,{className:"info",children:[e(r,{className:"title",children:i}),a(r,{className:"date",children:[_e(o).format("YYYY-MM-DD")," - ",_e(n).format("YYYY-MM-DD")]})]}),e(c,{className:"choose",children:e(d,{value:t})})]})})})),es=({refreshNum:l,couponType:s=!0,goodsNum:t,skuId:i,shoppingGoodsId:n,goodsBeanStr:c,longContractgoodsBeanStr:r,scontractCode:d})=>{const{View:h,Text:p,Popup:u,Form:N,SmoothRadio:M,Button:y,SmoothCheckbox:I,ScrollView:C,Radio:D,Image:w}=g(),{shoppingGoodsList:f}=fe({refreshNum:l,goodsNum:t,skuId:i,shoppingGoodsId:n,goodsBeanStr:c,longContractgoodsBeanStr:r,scontractCode:d}),{coupon:b,visible:T,couponValue:x=[],setVisible:z,selectCoupon:k,onChange:S,onCreditChange:A,confirmImpl:L,resetImpl:v,contractPmode:j,onPayChange:O,payList:B,payName:E,creditList:P,creditInfo:Y,selectCredit:V,creditVisible:Q,payVisible:R,setPayVisible:U,handleChooseImg:G,contractEcurl:W,setCreditVisible:F}=be(f,s);return console.log("shoppingGoodsList",f),a(o,{children:[f.some((e=>"06"===e.goodsType||"26"===e.goodsType))?null:a(o,{children:[a(h,{className:"coupon-select",onClick:()=>z(0!==b.length),children:[e(p,{className:"label",children:"使用优惠"}),a(h,{className:"info",children:[e(p,{className:"label",children:k?`已选择: ${k}`:0===b.length?"暂无可用优惠券":"请选择优惠券"}),0===b.length?null:e("img",{src:Eo,alt:"",className:"icon"})]})]}),a(h,{className:"coupon-select",onClick:()=>U(!0),children:[e(p,{className:"label",children:"支付方式"}),a(h,{className:"info",children:[e(p,{className:"label",children:E?`已选择: ${E}`:"请选择支付方式"}),0===b.length?null:e("img",{src:Eo,alt:"",className:"icon"})]})]})]}),Y.urechargeId&&"0"===j&&a(h,{className:"coupon-select",onClick:()=>F(0!==P.length),children:[e(p,{className:"label",children:"使用授信"}),a(h,{className:"info",children:[e(p,{className:"label",children:V?0===+V?"不使用":`已选择: ${V}%`:"请选择授信"}),0===b.length?null:e("img",{src:Eo,alt:"",className:"icon"})]})]}),"1"===j&&a(h,{className:"coupon-select",children:[e(p,{className:"label",children:"附件上传"}),a(h,{style:{fontSize:12,display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[e(h,{className:"img-fields",onClick:G,children:W?e(w,{src:W,className:"img",alt:W,mode:"widthFix"}):e(h,{children:"上传图片"})}),e(h,{children:"只能上传jpg/png文件,且不超过5mb"})]})]}),e(u,{popupVisible:R,popupHandler:U,children:e(h,{className:"goodsDetail-coupon-popup ver-line",children:e(Qa,{children:e(C,{children:e(M,{value:j||"",onChange:O,children:(null==B?void 0:B.length)>0&&B.map(((o,l)=>a(h,{style:{marginBottom:15},className:"payList-radio-item",children:[e(D,{checked:o.ptfpmodeType===j,value:o.ptfpmodeType}),o.ptfpmodeName]},l)))},"payVisible")})})})}),e(u,{popupVisible:Q,popupHandler:F,children:e(h,{className:"goodsDetail-coupon-popup ver-line",children:e(Qa,{children:e(C,{children:e(M,{onChange:A,children:(null==P?void 0:P.length)>0&&P.map(((o,l)=>a(h,{style:{marginBottom:5},children:[e(D,{value:o.flagSettingInfo}),0===o.flagSettingInfo?"不使用":`${o.flagSettingInfo}%`]})))},"creditVisible")})})})}),e(u,{popupVisible:T,popupHandler:z,children:a(h,{className:"goodsDetail-coupon-popup",children:[e(Qa,{children:e(C,{children:s?e(I,{value:(null==x?void 0:x.length)>0?x.map((e=>e.couponNo)):[],onChange:S,children:(null==b?void 0:b.length)>0&&b.map((e=>m(ql,Object.assign({isDisabled:2===x.length},e,{key:e.couponNo}))))},"visible"):e(M,{value:(null==x?void 0:x.length)>0?x[0].couponNo:"",onChange:S,children:b.map(((e,a)=>m(_l,Object.assign({},e,{key:a}))))},"visible")})}),a(h,{className:"place-footer",children:[e(y,{className:"operate reset",onClick:v,children:"重置"}),e(y,{className:"operate",onClick:L,children:"确认"})]})]})})]})},as=({shippingMethod:o=1})=>{const{View:l}=g();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:"快递"})]})})},os=({refreshNum:a,goodsNum:l,skuId:s,shoppingGoodsId:t,goodsBeanStr:i,longContractgoodsBeanStr:n,scontractCode:c})=>{const{View:r}=g(),{list:d}=fe({refreshNum:a,goodsNum:l,skuId:s,goodsBeanStr:i,shoppingGoodsId:t,longContractgoodsBeanStr:n,scontractCode:c});return e(r,{className:"place-order-goods",children:d.map(((a=[],l)=>e(o,{children:(a||[]).map(((a,o)=>e(Xa,Object.assign({},a),l)))})))})},ls=({refreshNum:l,goodsNum:s,skuId:t,shoppingGoodsId:i,goodsBeanStr:n,longContractgoodsBeanStr:c,scontractCode:r})=>{const{View:d,SmoothView:m,Image:h,TextArea:p,Textarea:u}=g(),N=u||p,M=fe({refreshNum:l,goodsNum:s,skuId:t,shoppingGoodsId:i,goodsBeanStr:n,longContractgoodsBeanStr:c,scontractCode:r}),{payState:y,disCount:I,creditMoney:C,freight:D,payPrice:w,rebMoney:f}=M,b=M.pointsDeduction||0,T=M.urDiscount||0,{shoppingCountPrice:x,comDisMoney:z,changeContent:k,shoppingType:S,pricesetRefrice:A}=Te(y),L=ga(Math.max(w-C,0));return e(d,{style:{paddingBottom:80},children:a(d,{className:"price placeOrder-blcWrap",children:[e(d,{className:"title",children:"价格明细"}),"06"===S?null:a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"商品总金额"}),e(m,{className:"value",children:ga(x)})]}),null!==b&&a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"积分抵扣"}),a(m,{className:"value",style:{color:"#f00"},children:["-","06"===S?b+"积分":ga(b)]})]}),"06"===S?null:a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"会员权益优惠"}),a(m,{className:"value",style:{color:"#f00"},children:["-",ga(T)]})]}),"06"===S?null:a(o,{children:[a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"授信付款:"}),e(m,{className:"value",children:ga(-C)})]}),a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"返利金额"}),e(m,{className:"value",children:ga(-f.current)})]}),a(d,{className:"coupon placeOrder-blcItem",children:[e(d,{className:"label",children:"优惠金额"}),e(m,{className:"value",children:ga(-(z+I))})]})]}),a(d,{className:"express placeOrder-blcItem",children:[e(d,{className:"label",children:"运费"}),e(m,{className:"value",children:ga(D)})]}),a(d,{className:"all placeOrder-blcItem",children:[e(d,{className:"label",children:"订单备注"}),e(N,{className:"content",placeholder:"订单备注",rows:5,maxLength:30,onInput:k})]}),a(d,{className:"all placeOrder-blcItem",children:[e(d,{className:"label",children:"总计"}),e(m,{className:"value",style:{color:"#000"},children:n?"0.00":L})]})]})})},ss=({color:o,buttonColor:l,borderColor:s,borderRadius:t,refreshNum:i,goodsNum:n,skuId:c,goodsBeanStr:r,shoppingGoodsId:d,longContractgoodsBeanStr:m,scontractCode:h})=>{const{View:p,Text:u,WrapLoading:N}=g(),{payPrice:M,list:y,payState:I,creditMoney:C,ocContractSettlList:D,pointsDeduction:w}=fe({refreshNum:i,goodsNum:n,skuId:c,goodsBeanStr:r,shoppingGoodsId:d,longContractgoodsBeanStr:m,scontractCode:h}),{savePayPrice:f,loading:b}=xe({ocContractSettlList:D,payState:I,list:y,goodsBeanStr:r},d,Math.max(M-C,0));I&&I.length>0&&(I[0].shoppingType,I[0].pricesetRefrice);const T=ga(Math.max(M-C,0));return a(p,{className:"placeOrderFooter",children:[a(u,{className:"price",children:["合计: ",r?"0.00":T]}),e(N,{loading:b,children:e(p,{className:"btn",onClick:f,style:{color:`${o}`,border:`1px solid ${s}`,backgroundColor:`${l}`,borderRadius:1===t?"40px":"0px"},children:"生成订单"})})]})},ts=s((({contractBillcode:o,contractBbillcode:l,btnColor:s,btnShape:t,borderColor:c,paddingTop:r,paddingBottom:d,color:m})=>{const h=n((()=>D()),[]),{View:p,Text:u,Radio:N,IconMobile:M,WrapLoading:y,SmoothRadio:I}=g(),{paymentImpl:C,channelList:w,contract:f,handleRadio:b,loading:T}=ze({contractBillcode:o,contractBbillcode:l});return i((()=>{console.log("打印下当前的channelList",w),window.onPaymentFullfilled=e=>{console.log(e,"orderId-----------")}}),[]),a(p,{className:"paymentModeWrap",style:{height:h?"inherit":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:[a(p,{className:"paymentMode",children:[a(p,{className:"topInfo",children:[a(u,{className:"title",children:[e(M,{value:"roundcheck"}),"订单提交成功"]}),a(p,{className:"info",children:["订单号:",f.current.contractBillcode," | 总金额:",ga(f.current.contMoney+(f.current.logMoney||0)),"元"]}),a(p,{className:"info",children:["还需支付:",ga(f.current.orderMoney),"元"]})]}),e(p,{className:"paymentGroup",children:e(I,{onChange:b,children:null==w?void 0:w.map((o=>a(p,{className:"paymentItem",children:[e(M,{value:o.fchannelBankImgurl}),a(p,{children:[a(p,{className:"base",children:[e(u,{children:o.fchannelName}),e(N,{value:"1"===o.ptfchannelAmt?o.ptfchannelAmt:o.fchannelCode,className:"choose"})]}),"1"===o.ptfchannelAmt?a(p,{className:"info",children:[a(p,{children:["账户余额:",o.faccountAmount,"元"]}),a(p,{children:["支付金额:",ga(f.current.orderMoney),"元"]})]}):null]})]},o.fchannelCode)))})})]}),e(p,{id:"v_html"}),e(y,{loading:T,children:e(p,{className:"btnGroup",onClick:C,children:e(p,{style:{borderRadius:t,backgroundColor:s,color:m,borderColor:c},className:"payment",children:"立即支付"})})})]})})),is=({dataObj:o})=>{const{View:l,Text:s}=g();return a(l,{className:"placeOrderResultWrap",children:[a(l,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"订单号:"}),e(s,{className:"value",children:o.contractBillcode})]}),a(l,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付方式:"}),e(s,{className:"value",children:"在线支付"})]}),a(l,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付金额:"}),e(s,{className:"value",children:ga(o.dataBmoney)})]})]})},ns=s((({code:o,borderRadius:l,leftColor:s,leftButtonColor:t,leftBorderColor:i,leftBorderRadius:n,rightValue:c,rightAddHref:r,rightColor:d,rightButtonColor:m,rightBorderColor:h,rightBorderRadius:p,paddingTop:u,paddingBottom:N})=>{const{View:M,Text:y,IconMobile:I,WrapLoading:D}=g(),{result:w,loading:b}=ke(o||(f("contractBillcode")||{}).contractBillcode);return e(M,{className:"placeOrderResult",style:{paddingTop:u,paddingBottom:N},children:e(D,{loading:b,children:a(M,{className:"placeOrderResultContent",style:{borderRadius:1===l?"20px":"0px"},children:[e(I,{value:w.icon,style:{fontSize:"35px",color:w.color}}),a(M,{className:"tips",children:[e(y,{className:"title",children:w.msg}),e(y,{className:"tip",children:w.info})]}),"success"===w.sysRecode&&e(is,{dataObj:w.dataObj}),a(M,{className:"btnGroup",style:{marginTop:20},children:[e(M,{className:"btn black",onClick:()=>C(w.menuCode,{contractBillcode:w.dataObj.contractBillcode}),style:{color:s,backgroundColor:t,border:`1px solid ${i}`,borderRadius:1===n?"20px":"0px"},children:w.buttonText}),e(M,{style:{color:d,backgroundColor:m,border:`1px solid ${h}`,borderRadius:1===p?"20px":"0px"},onClick:()=>C(r.value),className:"btn white",children:c})]})]})})})})),{Button:cs}=N,rs=a=>{var{dataState:l}=a,s=da(a,["dataState"]);return e(o,{children:["-1"].includes(l+"")?null:e(ds,Object.assign({dataState:l},s))})},ds=a=>{var{dataState:o,contractAppraise:l,contractType:s,color:t,borderColor:i,btnColor:n,btnShape:c}=a,r=da(a,["dataState","contractAppraise","contractType","color","borderColor","btnColor","btnShape"]);const{View:d}=g();4!==o&&4!==o||1===l?4!==o&&4!==o||1!==l||(o=5):o=4;const{operateArray:m,handlerImpl:h}=Se(Object.assign({dataState:o,contractAppraise:l,contractType:s},r));return e(d,{className:"btnGroup",children:m.map(((a,o)=>e(cs,{style:{color:t,borderColor:i,backgroundColor:n},className:y({btn:!0,white:o<m.length-1,black:o===m.length-1}),onClick:()=>h(a.handler),shape:c,children:a.name},o)))})},{Button:ms}=N,hs=s((({copyContent:a=""})=>{const[o,l]=t(!1),s=n((()=>D()),[]),i=n((()=>s?I():null),[s]),c=e=>ma(void 0,void 0,void 0,(function*(){if(navigator.clipboard&&navigator.clipboard.writeText)return navigator.clipboard.writeText(e);const a=document.createElement("textarea");a.value=e,a.style.position="fixed",a.style.top="0",a.style.left="0",a.style.opacity="0",document.body.appendChild(a),a.select();const o=document.execCommand("copy");if(document.body.removeChild(a),!o)throw new Error("复制失败")})),r=(e,a="success")=>{s&&i&&i.showToast?i.showToast({title:e,icon:a}):alert(e)};return e(ms,{className:"copy",size:"mini",fill:"outline",onClick:()=>ma(void 0,void 0,void 0,(function*(){if(a)try{s&&i&&i.setClipboardData?(yield new Promise(((e,o)=>{i.setClipboardData({data:a,success:e,fail:o})})),r("复制成功","success"),l(!0)):(yield c(a),r("复制成功","success"),l(!0))}catch(e){console.error("复制失败:",e),r("复制失败","error")}else r("复制内容为空","error")})),children:o?"已复制":"复制"})})),ps=({contractPaydate:a,init:l,countdownCancel:s,contractId:n})=>{const{View:c,SmoothView:r}=g(),{resultTime:d}=((e,a,o,l)=>{const[s,n]=t("");return i((()=>{const s=setTimeout((()=>{const s=new Date(e),t=new Date,i=s.getTime()-(t.getTime()-3600);i<999&&i>0?o(l).then((()=>{a()})):i>1e3&&n(Na(i,"后将取消订单,请尽快支付"))}),1e3);return()=>{clearTimeout(s)}}),[s]),{resultTime:s}})(a,l,s,n);return e(o,{children:d?e(c,{className:"card-item-info-countDown",children:e(r,{children:d})}):null})};function gs({contractBillcode:o,dataBmoney:l,dataBnum:s,goodsList:t,dataState:i,contractId:n,init:c,contractAppraise:r,borderRadius:d,orderSpacing:m,contractPaydate:h,contractType:p,countdownCancel:u}){const{View:N}=g(),M=Ae(i,r);return a(N,{className:"orderListItem",style:{borderRadius:d?8:"",marginTop:m,marginBottom:m},children:[a(N,{children:[a(N,{className:"topInfo",children:[a(N,{className:"orderNo",children:["订单号: ",o,e(hs,{copyContent:o})]}),e(N,{className:"status",children:M})]}),e(N,{className:"card-item-info-countDown"}),e(N,{className:"goodsItemWrap",onClick:()=>C("orderDetail",{contractBillcode:o}),children:t.map((a=>e(Xa,Object.assign({},a,{dataState:i,children:1===i&&e(ps,{contractPaydate:h,init:c,countdownCancel:u,contractId:n})}),a.contractGoodsId)))})]}),a(N,{className:"allInfo",children:[a(N,{className:"totalNum",children:["共",s,"件商品"]}),a(N,{className:"totalPrice",children:["合计 ",ga(l)]})]}),e(rs,{init:c,contractType:p,contractId:n,contractBillcode:o,dataState:i,contractAppraise:r,dataBmoney:l})]})}const us=()=>{const{View:a,Image:o}=g();return e(a,{children:e(o,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const Ns=s((function({item:o,refreshNum:l,borderRadius:s,orderSpacing:t,contractType:i}){const{View:n,ScrollView:c,Loading:r}=g(),{onScroll:d,data:h,loading:p,init:u,countdownCancel:N}=Le(o,l,i);return e(n,{className:"orderListItemWrap",children:e(Qa,{id:"orderListItemWrap",children:e(c,{onScroll:d,children:h.length>0?a(n,{children:[h.map(((e,a)=>m(gs,Object.assign({init:u},e,{key:a,borderRadius:s,orderSpacing:t,countdownCancel:N})))),e(n,{children:p?e(r,{}):null})]}):a(n,{className:"nodata_img",children:[e(us,{}),e(n,{className:"nodata-btn",onClick:()=>C("goodList"),children:"前往购物"})]})})})})})),Ms=process.env.TARO_ENV;let ys=ve;if(console.log("platform",Ms),"h5"==Ms){const e=window.location.origin;console.log("origin",e),e.includes("points-mall.beiq.net")&&(ys=[{name:"全部",code:""},{name:"待付款",code:"1"},{name:"待发货",code:"2"},{name:"待收货",code:"3"},{name:"已完成",code:"4"},{name:"已取消",code:"-1"}])}else{const e=T.getAccountInfoSync().miniProgram.domainInfo;console.log(e),e&&e.requestDomain&&e.requestDomain.includes("points-mall.beiq.net")&&(ys=[{name:"全部",code:""},{name:"待付款",code:"1"},{name:"待发货",code:"2"},{name:"待收货",code:"3"},{name:"已完成",code:"4"},{name:"已取消",code:"-1"}])}const Is=s((({refreshNum:a=0,indexId:o=0,borderRadius:l=!1,orderSpacing:s=12,contractType:t=""})=>{const{View:i,Tabs:n}=g();return e(i,{className:"order-container",children:e(n,{defaultIndex:+o,tabs:ys,render:o=>e(i,{className:"orderList",children:e(Ns,{contractType:t,item:o,orderSpacing:s,refreshNum:a,borderRadius:l})})})})})),Cs=s((({contractBillcode:l,expressWay:s,backgroundColor:t,color:i,paddingBottom:n,paddingTop:c,borderColor:r,btnColor:d,btnShape:m,url:h})=>{const{View:u,Text:N,Image:M}=g(),{orderDetail:y,handleApplyBtn:I,creditMoney:D,packageRemark:w,expressName:f}=je(l||""),b=e=>_e(e).format("YYYY-MM-DD HH:mm:ss");return a(u,{className:"orderDetail",children:[e(u,{style:{backgroundColor:t},className:"orderDetailTopTitle",children:a(u,{className:"orderDetailTopTitleContent",children:[a(u,{className:"icon_text",children:["待收货"===Ae(y.dataState)?e(ia,{value:"daishouhuo",style:{color:"#ffffff",marginRight:"10px",fontSize:"20px"}}):"",e(N,{className:"title",children:Ae(y.dataState,y.contractAppraise)})]}),e(u,{className:"subTitleWrap",children:b(y.gmtCreate)})]})}),e(u,{className:"orderDetailContent",style:{paddingTop:c+"px",paddingBottom:n+"px"},children:a(u,{style:{position:"relative",top:-26},children:[a(u,{className:"addressInfo",children:[e(u,{className:"lPart",children:e(ia,{value:"dizhi"})}),a(u,{className:"mPart",children:[a(u,{className:"personInfo",children:[e(N,{className:"personName",children:y.goodsReceiptMem}),e(N,{className:"personPhone",children:y.goodsReceiptPhone})]}),e(u,{className:"address",children:y.goodsReceiptArrdess})]}),e(u,{className:"rPart"})]}),a(u,{className:"orderDetailGoodsWrap",children:[y.goodsList.map((l=>e(o,{children:a("view",{onClick:()=>{C("goodDetail",{skuCode:l.skuCode})},children:[e(Xa,Object.assign({},l),l.contractGoodsId),e(u,{className:"orderBtn",style:{marginBottom:5},onClick:e=>{e.stopPropagation(),e.preventDefault(),C(h,{skuCode:l.skuCode})},children:"商品快照"}),Number(y.dataState)>1&&Number(y.dataState)<4&&"06"!==y.contractType?e(u,{className:"orderBtn maxWidth",onClick:e=>{e.stopPropagation(),e.preventDefault(),I.bind(null,l,y.dataState)()},children:"申请退款(取消订单)"}):""]})}))),e(u,{className:"priceInfo",children:"06"!=y.contractType?a(p,{children:[a(u,{className:"priceInfoFloor top",children:[a(u,{className:"totalNum",children:["共",y.goodsNum,"件商品"]}),a(u,{className:"totalPrice",children:["合计 ",parseFloat((y.dataBmoney-y.refundMoney).toFixed(2))]})]}),a(u,{className:"priceInfoFloor",children:[e(u,{className:"totalNum",children:"商品总额"}),a(u,{className:"totalPrice",children:["¥",y.contractInmoney]})]}),a(u,{className:"priceInfoFloor",children:[e(u,{className:"totalNum",children:"优惠"}),a(u,{className:"totalPrice",children:["¥",-y.goodsPmoney]})]}),a(u,{className:"priceInfoFloor",children:[e(u,{className:"totalNum",children:"客服电话"}),e(u,{className:"totalPrice",children:"13284246638"})]})]}):""})]}),s&&a(o,{children:[a(u,{className:"express",children:[e(u,{className:"label",children:"物流信息"}),e(u,{className:"name",children:f||"暂无物流信息"})]}),a(u,{className:"express",children:[e(u,{className:"label",children:"配送信息"}),e(u,{className:"name",children:"1"===y.contractPumode?"自提":"快递"})]})]}),"06"!==y.contractType&&a(u,{className:"express",children:[e(u,{className:"label",children:"发票信息"}),e(u,{className:"name",children:0===y.contractInvstate?"未开票":1===y.contractInvstate?"已提交":"已开票"})]}),a(u,{className:"orderInfo",children:[e(u,{className:"orderInfoItem",children:e(u,{style:{fontSize:14},children:"订单信息"})}),a(u,{className:"orderInfoItem",children:[e(u,{className:"label",children:"运费"}),a(u,{className:"name",children:["¥",y.goodsLogmoney]})]}),a(u,{className:"orderInfoItem",children:[e(u,{className:"label",children:"买家留言"}),e(u,{className:"name",children:w||"-"})]}),a(u,{className:"orderInfoItem",children:[e(u,{className:"label",children:"订单编号"}),a(u,{className:"context_copy",children:[e(u,{className:"name",children:y.contractBillcode}),e(hs,{copyContent:y.contractBillcode})]})]}),a(u,{className:"orderInfoItem",children:[e(u,{className:"label",children:"下单时间"}),e(u,{className:"name",children:b(y.gmtCreate)})]}),"06"!=y.contractType?a(u,{className:"orderInfoItem",children:[e(u,{className:"label",children:"授信金额"}),e(u,{className:"name",children:ga(-D)})]}):"",a(u,{className:"orderInfoItem",children:[e(u,{className:"label",children:"支付方式"}),e(u,{className:"name",children:e(u,{className:"name",children:"0"===y.contractPmode?"线上支付":"线下支付"})})]}),"1"===y.contractPmode&&a(u,{className:"orderInfoItem container-img-top",children:[e(u,{className:"label",children:"付款凭证"}),e(u,{className:"name",children:e(M,{mode:"widthFix",style:{width:100},src:He(y.contractEcurl)})})]})]}),e(u,{className:"btnGroupFooter",children:e(rs,{borderColor:r,btnColor:d,btnShape:m,color:i,contractBillcode:y.contractBillcode,contractId:y.contractId,contractType:y.contractType,dataState:y.dataState,contractInvstate:y.contractInvstate,dataBmoney:y.dataBmoney,contractAppraise:y.contractAppraise})})]})})]})})),Ds=({defaultValue:o,info:l,detail:s,stateObj:t})=>{const{View:i}=g(),n=v(l,"packageList[0].contractGoodsList[0].dataPic",o.dataPic),c=v(l,"packageList.length",o.count),r=v(l,"packageList[0].expressName",o.expressName),d=v(l,"packageList[0].packageBillno",o.packageBillno),m=v(s,"state",o.result)||"-1";return a(i,{className:"expressInfoTop",children:[e(i,{className:"goodsImg",style:{backgroundImage:`url(${n})`},children:a(i,{className:"tip",children:["共 ",c," 件商品"]})}),a(i,{className:"list",children:[a(i,{className:"listItem",children:["物流状态:",m?t[m]:"暂时无法获取物流状态"]}),a(i,{className:"listItem",children:["快递公司:",r]}),a(i,{className:"listItem",children:["快递单号:",d]})]})]})},ws=({defaultValue:o,detail:l})=>{const{View:s}=g(),t=v(l,"message",o.message),i=v(l,"data",o.list);return e(s,{className:"expressInfoStep",children:"ok"===t?i.map(((o,l)=>a(s,{className:"step",children:[e(s,{className:"time",children:o.time}),e(s,{children:o.context})]},l))):e(s,{className:"noInfo",children:t})})},fs=s((({code:o,defaultValue:l})=>{const{View:s}=g(),{info:t,detail:i,stateObj:n}=Oe(o);return a(s,{className:"expressInfo",children:[e(Ds,{info:t,detail:i,stateObj:n,defaultValue:l}),e(ws,{detail:i,defaultValue:l})]})})),bs=s((({avatarStyle:o,paddingTop:l,paddingBottom:s,userAvatar:n,userNickname:c,refreshNum:r})=>{const{View:d,Text:m,IconMobile:h,Image:p}=g(),{servicePopup:u}=ha(),[N,M]=t(c),[y,I]=t(n);return i((()=>{M(f("userNickname")),I(f("userAvatar"))}),[r]),a(d,{className:"mineData",style:{paddingTop:`${l}px`,paddingBottom:`${s}px`},children:[a(d,{className:"topBoard",children:[e(h,{value:"bianzu",onClick:()=>C("/account/setting/index")}),e(h,{value:"kehufuwukefu",onClick:u})]}),a(d,{className:"userSetting",onClick:()=>C("/account/setting/index"),children:[a(d,{className:"lPart",children:[e(m,{className:"name",children:N||"用户名称"}),e(d,{className:"link",style:{paddingTop:"10px"},children:"编辑个人资料 >"})]}),e(p,{src:y,alt:"",className:"avatar",style:{borderRadius:o?"50%":"2px"}})]})]})})),Ts=s((({title:o,columnList:l})=>{const{View:s,Text:n,Badge:c,Image:r}=g(),[d,m]=t({}),[h,p]=t(0),u=()=>ma(void 0,void 0,void 0,(function*(){try{const e=yield A();m(e.dataObj)}catch(e){console.error("获取订单数据失败:",e)}}));i((()=>{const e=f("myPageShowNum")||0;p(e),u();const a=setInterval((()=>{const e=f("myPageShowNum")||0;e!==h&&(p(e),u())}),500);return()=>{clearInterval(a)}}),[h]);const N=(e,a)=>{4!==e.id?C("orderlist",{indexId:a+1}):C("afterSalesList")};return console.log(333,l,d),a(s,{className:"mineOrderEntry",children:[a(s,{className:"title",children:[e(s,{className:"name",children:o}),e(s,{className:"more",onClick:()=>C("orderlist"),children:"查看全部"})]}),e(s,{className:"content",children:l.map(((o,l)=>a(s,{onClick:N.bind(null,o,l),className:"contentItem",style:{display:o.show?"block":"none"},children:[e(c,Object.assign({},d[o.code]>0?{content:d[o.code]}:{},{color:"#f00",style:{color:"#fff",fontSize:12},children:e(r,{src:o.imgUrl,className:"icon"})})),e(n,{className:"subTitle",children:o.label})]},l)))})]})})),xs=s((({paddingTop:o,paddingBottom:l,columnList:s})=>{const{View:t,Text:i,IconMobile:n,Image:c}=g();return e(t,{className:"mineFunction",style:{paddingTop:o+"px",paddingBottom:l+"px"},children:s.map(((o,l)=>a(t,{className:"menuListItem",onClick:()=>C(o.link.value),children:[a(t,{className:"lPart",children:[e(c,{src:He(o.imgUrl),className:"icon"}),e(i,{className:"label",children:o.link.label})]}),e(n,{value:"xiangyou1"})]},l)))})})),zs=({starColor:o="#FF0934",starSize:l="12px",itemData:s})=>{const{View:t,Text:i,Image:n}=g(),{Rate:c}=N;return a(t,{className:"evaluateItem",children:[a(t,{className:"userInfo",children:[e(n,{src:s.avatar,className:"avatar"}),a(t,{className:"userNameWrap",children:[e(i,{className:"userName",children:s.userName}),e(c,{readOnly:!0,value:s.rate,style:{"--star-size":l,"--active-color":o}})]})]}),a(t,{className:"size",children:["规格: ",s.size]}),e(t,{className:"content",children:s.evaluate}),e(t,{className:"img-group",children:s.imgUrls.map(((a,o)=>e(n,{src:a.imgUrl,className:"img"},o)))})]})},ks=[{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"}]}],Ss=s((()=>{const[l,s]=t("1"),{View:i}=g(),n=c([{label:"全部",num:"900+",index:"1"},{label:"好评",num:"800+",index:"2"},{label:"中评",num:"99+",index:"3"},{label:"差评",num:"12",index:"4"}]),r=e=>{s(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:r.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(i,{className:"evaluateListContent",children:ks.map(((a,o)=>e(zs,{itemData:a},o)))})]})})),As=s((({code:o,borderRadius:l,borderColor:s,color:i,buttonColor:n,buttonBorderRadius:r,paddingTop:d,paddingBottom:m})=>{const{orderInfo:h,changeStar:u,Submit:M,changeContent:y,addImg:C,removeImg:D,getImgUrls:w}=Be(o),{Button:f}=N,{View:b,Image:T,TextArea:x,Textarea:z}=g(),k=z||x,S="WEAPP"===I().getEnv(),A="undefined"!=typeof window,[L,v]=t(0),j=c("宝贝满足你吗?分享一下它吧"),O=e=>{v(e);if(w(e).length>=3)if(S){I().showToast({title:"最多上传3张图片",icon:"none"})}else A&&alert("最多上传3张图片");else(()=>{if(S){const e=I(),a=3-w(L).length;if(a<=0)return void e.showToast({title:"最多上传3张图片",icon:"none"});e.chooseImage({count:a,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){var a;(e.tempFilePaths||(null===(a=e.tempFiles)||void 0===a?void 0:a.map((e=>e.path)))||[]).forEach((e=>{C(L,e)}))}})}else if(A){const e=3-w(L).length;if(e<=0)return void alert("最多上传3张图片");const a=document.createElement("input");a.type="file",a.accept="image/*",a.onchange=a=>{const o=a.target.files;o&&o.length>0&&Array.from(o).slice(0,e).forEach((e=>{const a=URL.createObjectURL(e);C(L,a)}))},a.click()}})()};return a(b,{className:"evaluateDetail",style:{paddingTop:d,paddingBottom:m},children:[h.map(((o,s)=>a(p,{children:[a(b,{className:"topInfo",children:[a(b,{className:"lPart",children:[e(T,{src:He(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(il,{onChange:u.bind(null,s)})]}),e(b,{className:"evaluate",children:e(k,{className:"content",placeholder:j.current,rows:5,maxLength:30,onInput:y.bind(null,s)})}),a(b,{className:"upload-imgs",children:[e(b,{className:"upload-title",children:"上传图片 (最多3张)"}),a(b,{className:"img-list",children:[a(b,{className:"upload-btn",onClick:()=>O(s),children:[e(ia,{value:"shangchuanpingzheng",style:{fontSize:24,color:"#9e9e9e"}}),e(b,{className:"upload-text",children:"上传图片"})]}),w(s).map(((o,l)=>a(b,{className:"img-item",children:[e(T,{className:"preview-img",src:o,onClick:()=>(e=>{if(S){const a=I(),o=w(L);a.previewImage({current:e,urls:o})}else A&&window.open(e,"_blank")})(o)}),e(b,{className:"delete-btn",onClick:()=>D(s,l),children:"×"})]},l)))]})]})]},s))),e(f,{style:{color:"#fff",backgroundColor:"#34c0bc",borderRadius:1===r?"20px":"0px"},className:"btn",onClick:M,children:"提交"})]})})),Ls=s((({code:o,borderRadius:l,borderColor:s,color:t,buttonColor:i,isNeedDelete:n,buttonBorderRadius:c,paddingTop:r,paddingBottom:d})=>{const{orderInfo:m,handleDelete:h}=Ee(o),{Button:u}=N,{View:M,Image:y,Text:I}=g();return a(M,{className:"evaluateDetail",style:{paddingTop:r,paddingBottom:d},children:[m.map(((o,s)=>{var t;return a(p,{children:[a(M,{className:"topInfo",children:[a(M,{className:"lPart",children:[e(y,{src:He(o.dataPic),className:"img",style:{borderRadius:1===l?"20px":"0px"}}),a(M,{className:"goodsInfo",children:[e(M,{className:"goodsName",children:o.goodsName}),e(M,{className:"goodsSize",children:o.skuName})]})]}),e(M,{className:"rPart",children:o.pricesetNprice&&a(M,{className:"price",children:["¥ ",o.pricesetNprice]})})]}),a(M,{className:"rate",children:[e(M,{className:"title",children:"商品评价"}),e(il,{readOnly:!0,count:(null===(t=o.evaluateScopeReList)||void 0===t?void 0:t.length)||0})]}),e(M,{className:"evaluate",children:e(M,{className:"content",children:e(I,{children:o.evaluateGoodsContent||""})})}),o.evaluateGoodsImgs&&e(M,{className:"evaluate-imgs",children:(()=>{let a=[];const s=o.evaluateGoodsImgs;if("string"==typeof s&&s.startsWith("["))try{a=JSON.parse(s)}catch(e){a=[]}else"string"==typeof s&&(a=s.split(",").filter(Boolean));return a.map(((a,o)=>e(y,{className:"evaluate-img",src:He(a),style:{borderRadius:1===l?"10px":"0px"}},o)))})()})]},s)})),m.length?e(u,{style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===c?"20px":"0px",marginTop:20},className:"btn",onClick:h,children:"删除"}):null]})})),vs=({item:o,edit:l,checked:s})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=g(),r=s.includes(o.collectCode);return a(t,{className:"collectItem",children:[l?e(n,{className:"lPart",value:o.collectCode,checked:r}):null,a(t,{className:"rPart",onClick:()=>{[2,3].includes(o.dataState)||C("goodDetail",{skuCode:o.collectOpcode})},children:[a(t,{className:"imgPart",children:[e(i,{src:He(o.collectOppic),className:"img"}),e(t,{className:[2,3].includes(o.dataState)?"tag":"",children:[2,3].includes(o.dataState)?"商品失效":""})]}),a(t,{className:"info",children:[e(c,{className:"title",children:o.collectOpcont}),a(c,{className:"price",children:[o.collectOpnum," 元"]})]})]})]})},js=s((()=>{const{collectionList:o,edit:l,setEdit:s,getData:t,getSelectItem:i,delItem:n,init:c,checked:r,setChecked:d,handleSelectAll:m,selectAllChecked:h,setSelectAllChecked:p}=Pe(),{View:u,ScrollView:N,SmoothCheckbox:M,Checkbox:y,Button:I,Image:C}=g();return e(u,{className:"collectList",children:0===o.length?e(u,{className:"noDate",children:e(C,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(u,{className:"hasDate",children:[e(u,{className:"topBar",children:e(u,{className:"edit",onClick:()=>s(!l),children:l?"完成":"编辑"})}),e(Qa,{id:"topBar",children:a(N,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(M,{value:r,onChange:i,style:{height:"100%"},children:o.map((a=>e(vs,{item:a,edit:l,checked:r},a.collectId)))}),l?a(u,{className:"handleBar",children:[e(u,{className:"checkAll",style:{width:"130px"},children:e(y,{value:"1",checked:h,onChange:()=>{if(!h){const e=o.map((e=>e.collectCode));d(e),p(!0)}else d([]),p(!1)},children:"全选"})}),e(I,{className:"btn",onClick:n,children:"删除"})]}):null]})})]})})})),Os=({item:o,edit:l,checked:s})=>{var t,i;const{View:n,Image:c,Checkbox:r,SmoothView:d}=g();return a(n,{className:"collectItem",children:[l?e(r,{className:"lPart",value:o.collectCode,checked:s}):null,a(n,{className:"rPart",onClick:()=>C("merchantShop",{memberCode:o.collectOpcode}),children:[e(c,{src:He(null===(t=o.shopdeInfo)||void 0===t?void 0:t.shopdeLogo),className:"img"}),a(n,{className:"info",children:[e(d,{className:"title",children:o.collectOpcont}),e(d,{className:"scope",children:null===(i=o.shopdeInfo)||void 0===i?void 0:i.shopdeScope})]})]})]})},Bs=s((()=>{const{collectionList:o,edit:l,setEdit:s,getData:t,getSelectItem:i,delItem:n,init:c,checked:r,handleSelectAll:d,selectAllChecked:m}=Pe(1),{View:h,ScrollView:p,SmoothCheckbox:u,Checkbox:N,Button:M,Image:y}=g();return e(h,{className:"collectList",children:0===o.length?e(h,{className:"noDate",children:e(y,{className:"img",src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/noCollection.png"})}):a(h,{className:"hasDate",children:[e(h,{className:"topBar",children:e(h,{className:"edit",onClick:()=>s(!l),children:l?"完成":"编辑"})}),e(Qa,{id:"topBar",children:a(p,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(u,{value:r,onChange:i,style:{height:"100%"},children:o.map(((a,o)=>e(Os,{item:a,edit:l,checked:r},a.collectId||o)))}),l?a(h,{className:"handleBar",children:[e(h,{className:"checkAll",style:{width:"130px"},children:e(u,{onChange:d,children:e(N,{value:"1",checked:m,children:"全选"})})}),e(M,{className:"btn",onClick:n,children:"删除"})]}):null]})})]})})})),Es=({footprintItem:o,edit:l})=>{const{View:s,Image:t,Checkbox:i,SmoothView:c}=g(),r=n((()=>o.footprintOpnum?`${o.footprintOpnum}元`:""),[o.footprintOpnum]);return a(s,{className:"footprintItem",children:[l?e(s,{className:"lPart",children:e(i,{value:o.footprintCode})}):null,a(s,{className:"rPart",onClick:()=>C("goodDetail",{skuCode:o.footprintOpcode}),children:[e(t,{src:He(o.footprintOppic),className:"img"}),a(s,{className:"info",children:[e(c,{className:"title",children:o.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},Ps=({item:l,edit:s})=>{const{View:t}=g();return a(t,{className:"footPrint",children:[e(o,{children:e(t,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==l?void 0:l.title})}),l.option.map(((a,o)=>e(Es,{footprintItem:a,edit:s},o)))]})},Ys=({footprintList:a,edit:l})=>{const s=n((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?_e(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),o=E(e,"gmtCreate");return Object.keys(o).map((e=>({title:e||"",option:o[e]})))}),[a]);return e(o,{children:s.map(((a,o)=>e(Ps,{item:a,edit:l},o)))})},Vs=s((()=>{const{View:o,ScrollView:l,SmoothCheckbox:s,Button:t,WrapLoading:i}=g(),{footprintList:n,edit:c,setEdit:r,getSelectItem:d,delItem:m,getData:h,loading:p,checked:u}=Ye();return e(i,{loading:p,children:e(o,{className:"footprint",children:a(o,{className:"hasDate",children:[e(o,{className:"topBar",children:e(o,{className:"edit",onClick:()=>r(!c),children:c?"完成":"编辑"})}),e(Qa,{id:"topBar1",children:a(l,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScrollToLower:h,children:[e(s,{value:u,onChange:d,children:e(Ys,{footprintList:n,edit:c})}),c?a(o,{className:"handleBar",children:[e(o,{className:"checkAll"}),e(t,{className:"btn",onClick:m,children:"删除"})]}):null]})})]})})})})),Qs=s((({buttonText:o,buttonBackground:l,borderRadius:s,paddingTop:t,paddingBottom:i})=>{const{View:c,Text:r,Button:d,WrapLoading:m,IconMobile:h}=g(),{signedDates:p,pointsNum:u,loading:N,signing:M,handleSignin:y}=Ve(),I=_e(),C=I.format("YYYY-MM-DD"),D=n((()=>p.includes(C)),[p,C]),w=n((()=>{const e=I.year(),a=I.month(),o=_e(`${e}-${a+1}-01`),l=o.endOf("month"),s=o.day(),t=0===s?6:s-1,i=o.subtract(t,"day"),n=l.day(),c=0===n?0:7-n,r=l.add(c,"day"),d=[];let m=i;for(;m.isBefore(r)||m.isSame(r,"day");){const e=m.format("YYYY-MM-DD");d.push({date:m,isCurrentMonth:m.month()===a,isToday:m.isSame(I,"day"),isSigned:p.includes(e)}),m=m.add(1,"day")}return d}),[I,p]),f=n((()=>I.format("YYYY年MM月")),[I]);return e(m,{loading:N,children:a(c,{className:"memberSignin",style:{paddingTop:t+"px",paddingBottom:i+"px"},children:[e(c,{className:"signinHeader",children:e(r,{className:"dateText",children:f})}),a(c,{className:"signinCalendar",children:[e(c,{className:"weekDays",children:["一","二","三","四","五","六","日"].map(((a,o)=>e(c,{className:"weekDay",children:e(r,{children:a})},o)))}),e(c,{className:"calendarGrid",children:w.map(((o,s)=>a(c,{className:`calendarDay ${o.isCurrentMonth?"":"otherMonth"} ${o.isToday?"today":""} ${o.isSigned?"signed":""}`,children:[e(r,{className:"dayNumber",style:o.isToday?{color:l}:{},children:o.date.date()}),o.isSigned&&e(h,{value:"roundcheck",style:{fontSize:"12px",color:"#52c41a",position:"absolute",bottom:"2px",left:"50%",transform:"translateX(-50%)"}})]},s)))})]}),a(c,{className:"signinButtonWrapper",children:[u>0&&e(c,{className:"pointsTip",children:a(r,{className:"pointsTipText",children:["每日签到可获得 ",e(r,{children:u})," 积分"]})}),e(d,{className:"signinButton",disabled:D||M,onClick:y,style:{backgroundColor:l,opacity:D?.3:1,borderRadius:1===s?"22px":"8px"},children:M?"签到中...":D?"已签到":o})]})]})})})),Rs=s((({title:o,themeColor:l="#fa8c16",paddingTop:s,paddingBottom:i})=>{const{View:c,Text:r,Popup:d,WrapLoading:m}=g(),[h,p]=t((()=>_e())),[u,N]=t(!1),[M,y]=t((()=>_e().year())),[I,C]=t((()=>_e().month()+1)),{signinDetails:D,loading:w,refresh:f}=Qe(h),b=n((()=>h.format("YYYY年MM月")),[h]),T=n((()=>Array.from({length:12},((e,a)=>a+1))),[]),x=n((()=>D.sort(((e,a)=>_e(a.date).valueOf()-_e(e.date).valueOf()))),[D]);return e(m,{loading:w,children:a(c,{className:"signinDetail",style:{paddingTop:s+"px",paddingBottom:i+"px"},children:[a(c,{className:"signinDetailHeader",children:[e(r,{className:"titleText",children:o}),a(c,{className:"dateSelector",onClick:()=>{const e=h.year(),a=h.month()+1;y(e),C(a),N(!0)},children:[e(r,{className:"dateText",children:b}),e(r,{className:"arrowIcon",children:"▼"})]})]}),e(c,{className:"signinDetailList",children:x.length>0?x.map(((o,s)=>{const t=_e(o.date);return a(c,{className:"signinDetailItem",children:[e(r,{className:"dateText",children:t.format("MM月DD日")}),a(r,{className:"pointsText",style:{color:l},children:["+",o.points,"积分"]})]},s)})):e(c,{className:"emptyState",children:e(r,{className:"emptyText",children:"暂无签到记录"})})}),e(d,{popupVisible:u,popupHandler:N,children:e(c,{className:"datePickerPopup",children:a(c,{className:"pickerContent",children:[a(c,{className:"yearSelector",children:[e(c,{className:"yearArrow",onClick:()=>{y((e=>e-1))},children:e(r,{className:"arrowText",children:"«"})}),a(r,{className:"yearText",children:[M,"年"]}),e(c,{className:"yearArrow",onClick:()=>{y((e=>e+1))},children:e(r,{className:"arrowText",children:"»"})})]}),e(c,{className:"monthGrid",children:T.map((o=>e(c,{className:"monthItem "+(I===o?"active":""),onClick:()=>(e=>{C(e);const a=_e(`${M}-${String(e).padStart(2,"0")}-01`);p(a),N(!1)})(o),style:I===o?{backgroundColor:l}:{},children:a(r,{className:"monthText",children:[o,"月"]})},o)))})]})})})]})})})),Us=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],Gs=s((({activeColor:a,setParams:o,params:l})=>{const{View:s}=g();return e(s,{className:"promotionListTab",children:Us.map(((t,i)=>e(s,{className:"promotionListTabItem",onClick:()=>o(t.val),style:{color:t.val===l?a:"#000"},children:t.label},i)))})})),Ws=({data:o})=>{const{View:l}=g(),{pbName:s,promotionName:t,pmPromotionDiscountList:i,promotionBegintime:n,promotionEndtime:c}=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:["官方",s]})}),e(l,{className:"rule",children:i.at(-1).discName}),e(l,{className:"title",children:t}),a(l,{className:"time",children:[_e(n).format("YYYY-MM-DD")," ~ ",_e(c).format("YYYY-MM-DD")]})]}),e(l,{className:"rPart",children:e(l,{className:"sideBorder"})})]})},Fs=s((({activeColor:o,paddingTop:l,paddingBottom:s})=>{const[i,n]=t(Us[0].val),{list:c,getData:r}=Re({params:i}),{View:d,ScrollView:m}=g();return a(d,{style:{padding:`${l}px 0 ${s}px`},children:[e(Gs,{activeColor:o,setParams:n,params:i}),e(d,{children:e(Qa,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,o)=>e(Ws,{data:a},o)))})})})]})}));s((()=>{const{View:a,Skeleton:l}=g(),s=c(new Array(3).fill(0));return e(o,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,o)=>e(l,{className:"skullItem",animated:!0},o)))})})})}));const Zs=()=>{const{View:a,Image:o}=g();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"})})},Hs=({list:l,coe:s,config:t,backgroundColor:i,color:n,shopName:c})=>{const{View:r,Text:d}=g();return e(o,{children:l.length?l.map(((l,m)=>e(r,{className:`couponListItem\n ${t.current[s.current].styleName} ${2===l.dataState?"overdue":""}`,style:{backgroundColor:i,color:n},children:a(r,{className:"coupon-content",children:[a(r,{className:"price",children:[e(d,{className:"num",children:l.pbName}),e(d,{className:"title",children:l.discName})]}),a(r,{className:"couponListItem-info",children:[e(d,{className:"member-name",children:c||l.memberName}),e(r,{className:"info-top",children:a(d,{className:"disc-start",children:["使用规则:满",l.discStart,"元可用"]})}),a(d,{className:"date",children:["有效期至:",_e(l.couponEnd).format("YYYY-MM-DD HH:mm")]}),a(d,{className:"date",children:["领取时间:",_e(l.gmtCreate).format("YYYY-MM-DD HH:mm")]}),1===l.dataState?a(d,{className:"date",children:["使用时间:",_e(l.gmtModified).format("YYYY-MM-DD HH:mm")]}):null,t.current[s.current].text?e(r,{className:"btn",children:t.current[s.current].text}):null,2===l.dataState?e(o,{children:e(r,{className:"round",children:"已失效"})}):null]})]})},m))):e(Zs,{})})},Ks=s((({backgroundColor:o,color:l,paddingTop:s,paddingBottom:t,queue:i})=>{const{View:n,Text:c,ScrollView:r}=g(),{coe:d,getList:m,config:h,switchTab:p,list:u=[]}=Ue();return a(n,{className:"couponList",children:[e(n,{className:"couponTab",children:h.current.map(((o,l)=>a(n,{className:"couponTabItem "+(d.current===l?"active":""),onClick:()=>p(l),children:[o.label,e(c,{className:"icon"})]},o.id)))}),e(Qa,{id:"couponTab",bottomHeight:"60",children:e(r,{onScroll:m,children:e(n,{className:"couponListContent",style:{paddingTop:s,paddingBottom:t},children:e(Hs,{backgroundColor:o,color:l,queue:i,list:u,coe:d,config:h})})})})]})})),$s=s((({defaultValue:o,coupons:l,bg:s,borderColor:t,btnColor:i,typeColor:n,titleColor:c,ruleColor:r,timeColor:d,paddingTop:m,paddingBottom:h})=>{const{View:p}=g(),{list:u,takeCoupon:N,takeList:M}=Ge({defaultValue:o,coupons:l});return e(p,{style:{paddingTop:`${m}px`,paddingBottom:`${h}px`},children:u.map(((o,l)=>{const m=v(o,"pbName"),h=v(o,"pmPromotionDiscountList"),g=v(h.at(-1),"discName"),u=v(o,"promotionName"),y=_e(v(o,"promotionBegintime")).format("YYYY-MM-DD"),I=_e(v(o,"promotionEndtime")).format("YYYY-MM-DD"),C=v(o,"promotionCode");return a(p,{className:"OneLineOneBlc",style:{backgroundColor:s,borderColor:t},children:[a(p,{className:"lPart",children:[a(p,{className:"intro",children:[e(p,{className:"type",style:{color:n},children:m}),e(p,{className:"rule",style:{color:r},children:g})]}),a(p,{className:"info",children:[e(p,{className:"title",style:{color:c},children:u}),a(p,{className:"validity",style:{color:d},children:[y," - ",I]})]})]}),e(p,{className:"rPart",style:{backgroundColor:i},children:-1===o.availabledate||M.includes(l)?e(p,{className:"txt",children:"已 领 取"}):e(p,{className:"txt",onClick:()=>N({promotionCode:C,couponAmount:1,index:l}),children:"立 即 领 取"})})]},l)}))})})),Js=s((({defaultValue:o,coupons:l,bg:s,borderColor:t,btnColor:i,typeColor:n,ruleColor:c,titleColor:r,timeColor:d,gap:m,paddingTop:h,paddingBottom:p})=>{const{View:u}=g(),{list:N,takeCoupon:M,takeList:y}=Ge({defaultValue:o,coupons:l});return e(u,{className:"oneLineTwoBlc",style:{paddingTop:h,paddingBottom:p,paddingLeft:"10px",paddingRight:"10px",gap:m},children:N.map(((o,l)=>{const m=v(o,"pbName"),h=v(o,"pmPromotionDiscountList"),p=v(h.at(-1),"discName"),g=v(o,"promotionName"),N=_e(v(o,"promotionBegintime")).format("YYYY-MM-DD"),I=_e(v(o,"promotionEndtime")).format("YYYY-MM-DD"),C=v(o,"promotionCode");return a(u,{className:"oneLineTwoBlcItem",style:{backgroundColor:s,borderColor:t},children:[a(u,{className:"lPart",children:[e(u,{className:"type",style:{color:n},children:m}),e(u,{className:"rule",style:{color:c},children:p}),e(u,{className:"info",style:{color:r},children:g}),a(u,{className:"validity",style:{color:d},children:[N," - ",I]})]}),e(u,{className:"rPart",style:{backgroundColor:i},children:-1===o.availabledate||y.includes(l)?e(u,{className:"txt",children:"已 领 取"}):e(u,{className:"txt",onClick:()=>M({promotionCode:C,couponAmount:1,index:l}),children:"立 即 领 取"})})]},l)}))})})),Xs=s((o=>{var{type:l=1,coupons:s=[]}=o,t=da(o,["type","coupons"]);const{View:i}=g();return a(i,{className:"getCouponOne",children:[1===l?e($s,Object.assign({coupons:s},t)):null,2===l?e(Js,Object.assign({coupons:s},t)):null]})})),qs=({direction:a,speed:o,num:l,color:s})=>{const{content:t,navigator:i}=We(l);return e(M,{navigator:i,color:s,speed:o,direction:a,content:t})},_s=s((({noticeId:o,paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:i})=>{const{View:n,Image:c}=g(),{info:r}=Fe(o);return a(n,{className:"noticeDetailContainer",style:{paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:i},children:[e(n,{className:"title",children:r.noticeTitle}),r.noticePicurl?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl}):null,r.noticePicurl1?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl1}):null,r.noticePicurl2?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl2}):null,r.noticePicurl3?e(c,{className:"img",mode:"widthFix",src:r.noticePicurl3}):null,e(n,{className:"content",children:r.noticeContext})]})})),et=s((({doclistId:o,paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:i})=>{const{info:n}=Ze(o),{View:c,ScrollView:r}=g(),{gmtCreate:d,doclistContent:m,doclistTitle:h,doclistTitle4:p}=n;return e(c,{className:"articleDetail",style:{paddingTop:l,paddingBottom:s,paddingLeft:t,paddingRight:i},children:e(Qa,{id:"a",children:a(r,{children:[e(c,{className:"title",children:h}),e(c,{className:"author",children:p}),a(c,{className:"time",children:["发布时间:",_e(d).format("YYYY-MM-DD")]}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:m||""}})]})})})}));export{No as AddressDetail,ho as AddressList,po as AddressListBtn,Wa as AfterSalesApply,oo as AfterSalesDetail,Ja as AfterSalesList,io as AfterSalesType,Fs as AllPromotionList,et as ArticleDetail,Ba as BackTop,Ql as CartList,Rl as CartOperate,Sl as CartTop,ka as ClassifyNav,La as ClassifyNavOne,Aa as ClassifyNavOneJsx,Oa as ClassifyNavThree,va as ClassifyNavTwo,js as CollectionList,Bs as CollectionShopList,Ks as CouponList,Pa as Cube,As as EvaluateDetail,Ss as EvaluateList,Ls as EvaluateViewDetail,fs as ExpressInfo,Vs as FootPrint,Xs as GetCouponOne,Ro as Goods,To as GoodsClassify,Ao as GoodsClassifyOne,Oo as GoodsClassifyTwo,pl as GoodsDetailAndEvaluate,Zo as GoodsDetailBanner,tl as GoodsDetailCoupon,fl as GoodsDetailHandleBar,Tl as GoodsDetailHandleBarOne,Xo as GoodsDetailInfo,_o as GoodsDetailInfoOne,ol as GoodsDetailPromotion,al as GoodsDetailSku,kl as GoodsList,Uo as GoodsSlider,Go as GoodsSlideshow,ra as Line,Qs as MemberSignin,bs as MineData,xs as MineFunction,Ts as MineOrderEntry,Mo as MyAgreementList,Io as MySetting,yo as MySettingJsx,qs as Notice,_s as NoticeDetail,Cs as OrderDetail,Is as OrderList,ts as PaymentMode,Do as PickupPointList,Fl as PlaceOrderAddress,Xl as PlaceOrderAddressTabs,es as PlaceOrderCoupon,as as PlaceOrderDelivery,os as PlaceOrderGood,ls as PlaceOrderInfo,ss as PlaceOrderOperate,ns as PlaceOrderResult,ia as QjMobileIcon,Yo as Search,Qo as SearchPage,Vo as SearchStyleTwo,ta as Service,Rs as SigninDetail,Ta as Slider,ca as TextLine,na as Title,Ma as ToPrice,xa as Video,wo as WechatAddressBtn,pa as addressIdConst,ga as fixPrice,ua as fixPrice1,Na as formatTime,ha as useService};
|
|
@@ -7,3 +7,8 @@ export declare const ORDERTORECEIVE = "data:image/png;base64,iVBORw0KGgoAAAANSUh
|
|
|
7
7
|
export declare const FINISH = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAAGwkGG9AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAATKADAAQAAAABAAAATAAAAAAWucfgAAAKD0lEQVR4AeVceagWVRSf51pSWS6JRSBGEkWUkBRtFNQf0WpgZRtmUGD1R0X7QgRJCxHR8ofRvllUJlERFUQbWUJpWASlQRqVthjV8/ne8/X7jXPuu3PmzMydb+b73tKF6z333LP87rnL3LnfPKMIacKE6N7x46MBK7PdJQh0u4oiqEzWuIS/nqUwE17U2xt1CS2Ccd1vEAEpU4K+RVFKyoGUoD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zpRuIkx1lO/kWDAwWcB/2d4MvAa4LvAj8NrpM2QbD0reMEZl5LvKvdlXcC5ET9o3Vqs+9NNV+2Gauy20CYw17Dr7R3+LSuHJxVHt7uBxiNlJxnLT0aeiQtsO7+PAQ8Hpz3SF4H+y4m8RPo32t0uvu97lSQpzm+s6B7xdH3jKqBSuwj0Y1Jf5KTl3U0t1wrH0mMhCJu+yarvoiXQJgvnV5tGyism3cYVwQ2H/v8XJjSiprD0gJyBG+R6OlyQkSZ+JRxo+9t7W6FfkJUlB4A8XjpWTCvMjf1XDTXTXnHTOPrTjaQ43Hxy32w9wjyqIunNx2lvRD9O7AUMAfy1h3N2F7wMXDjyYrUaVvOY10hb1UsxUxHBUO6UoWfZCOo7wNLPV57P+xdXTHwwO2xgqJY6Bvgk8Cd3MAz9lgwvzt4g6N11wOzwolvm4VgXVhI5qd7rp4ngw8EDwLHErEjwRPBs8E82gnl0fp3gdsZ3JN0CKrigOiCV4T8FGoY3pMjVFAUN7UPg5eCOzVw3yI2v3btCa6dOjmXlCl2J4APAo8Ac89GHgpeJ2E+uosT5tcsfnD9EPwRmHfwp+Cu0L8PXkUY15hVhQAAAABJRU5ErkJggg==";
|
|
9
9
|
export declare const THREE_DOTS = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n";
|
|
10
|
+
export declare const SHARE = "data:image/svg+xml;base64,PD94bWwgdmVyc2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1LjY5MzcwMDcgNy45Njg3MTg0LDM1LjI5NTQ3NSBMOC4zMDI4MDM5OSwzMS4wMjI5NTIzIEM4LjU4MTI3NTY5LDI3LjQ2MTY1OTMgNy40ODMxMTQ3MSwyMy45MzIxMzkyIDUuMjUzMzUxMDMsMjEuMjIxOTI1NCBMMi41NzgyNzg4OCwxNy45NzA0NTIgQzEuNzE2NTM4OTcsMTYuOTIzMDMxOCAxLjgzMTA0MjI0LDE1LjM0NDQwNDEgMi44MzQwMjkwOSwxNC40NDQ0ODgzIEMzLjEyNDIzMDQ0LDE0LjE4NDEwOTIgMy40Njk5NTgwNiwxNC4wMDAxNDgyIDMuODQyMjQ5MDYsMTMuOTA4MDE2NSBMNy44MzY1MjExNCwxMi45MTk1NDQ2IEMxMS4xNjU4ODI5LDEyLjA5NTYxOTYgMTQuMDQwOTA1Niw5LjkxNDI1NjI5IDE1LjgyMDA5MjYsNi44NjIxNzY4NyBMMTcuOTU0NjAyOSwzLjIwMDU2MzQyIFoiIGlkPSLmmJ/lvaIiIGZpbGw9IiMzNEMwQkMiPjwvcGF0aD4KICAgIDwvZz4KPC9zdmc+";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type EventCallback = (...args: any[]) => void;
|
|
2
|
+
declare class EventBus {
|
|
3
|
+
private events;
|
|
4
|
+
on(event: string, callback: EventCallback): void;
|
|
5
|
+
emit(event: string, ...args: any[]): void;
|
|
6
|
+
off(event: string, callback: EventCallback): void;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: EventBus;
|
|
9
|
+
export default _default;
|