s-material-react 1.9.4 → 1.9.6

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.
@@ -29,6 +29,8 @@
29
29
  @import './paymentMode';
30
30
  @import './footprint';
31
31
  @import './collectionList';
32
+ @import './memberSignin';
33
+ @import './signinDetail';
32
34
  @import './noticeDetail';
33
35
  @import './expressinfo';
34
36
  @import './articleDetail';
@@ -0,0 +1,121 @@
1
+ .memberSignin {
2
+ background-color: #ffffff;
3
+ padding: 20px 15px;
4
+ box-sizing: border-box;
5
+
6
+ // 上面:年月日显示
7
+ .signinHeader {
8
+ margin-bottom: 20px;
9
+
10
+ .dateText {
11
+ font-size: 18px;
12
+ font-weight: 500;
13
+ color: #232323;
14
+ }
15
+ }
16
+
17
+ // 中间:日历内容
18
+ .signinCalendar {
19
+ margin-bottom: 30px;
20
+
21
+ // 星期标题
22
+ .weekDays {
23
+ display: flex;
24
+ justify-content: space-around;
25
+ margin-bottom: 15px;
26
+
27
+ .weekDay {
28
+ flex: 1;
29
+ text-align: center;
30
+
31
+ Text {
32
+ font-size: 14px;
33
+ color: #666666;
34
+ }
35
+ }
36
+ }
37
+
38
+ // 日期网格
39
+ .calendarGrid {
40
+ display: flex;
41
+ flex-wrap: wrap;
42
+
43
+ .calendarDay {
44
+ position: relative;
45
+ width: calc(100% / 7);
46
+ aspect-ratio: 1;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ box-sizing: border-box;
51
+
52
+ .dayNumber {
53
+ font-size: 14px;
54
+ color: #232323;
55
+ }
56
+
57
+ // 非当前月份的日期
58
+ &.otherMonth {
59
+ .dayNumber {
60
+ color: #d9d9d9;
61
+ }
62
+ }
63
+
64
+ // 当天突出显示(背景色和文字颜色在组件中动态设置)
65
+ &.today {
66
+ border-radius: 4px;
67
+ background-color: #e6f7ff;
68
+
69
+ .dayNumber {
70
+ font-weight: 600;
71
+ }
72
+ }
73
+
74
+ // 已签到的日期(图标样式已在组件中设置)
75
+ }
76
+ }
77
+ }
78
+
79
+ // 下面:签到按钮
80
+ .signinButtonWrapper {
81
+ display: flex;
82
+ flex-direction: column;
83
+ align-items: center;
84
+ gap: 8px;
85
+
86
+ .pointsTip {
87
+ margin-bottom: 4px;
88
+
89
+ .pointsTipText {
90
+ font-size: 13px;
91
+ color: #666666;
92
+ Text {
93
+ font-size: 15px;
94
+ color: #fa8c16;
95
+ font-weight: 500;
96
+ }
97
+ }
98
+ }
99
+
100
+ .signinButton {
101
+ width: 100%;
102
+ height: 44px;
103
+ line-height: 44px;
104
+ text-align: center;
105
+ font-size: 16px;
106
+ color: #ffffff;
107
+ border: none;
108
+ cursor: pointer;
109
+ transition: opacity 0.3s;
110
+
111
+ &:disabled {
112
+ cursor: not-allowed;
113
+ opacity: 0.6;
114
+ }
115
+
116
+ &:not(:disabled):active {
117
+ opacity: 0.8;
118
+ }
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,168 @@
1
+ .signinDetail {
2
+ background-color: #ffffff;
3
+ padding: 20px 15px;
4
+ box-sizing: border-box;
5
+
6
+ // 上面:标题和日期选择
7
+ .signinDetailHeader {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ align-items: center;
11
+ margin-bottom: 20px;
12
+
13
+ .titleText {
14
+ font-size: 18px;
15
+ font-weight: 500;
16
+ color: #232323;
17
+ }
18
+
19
+ .dateSelector {
20
+ display: flex;
21
+ align-items: center;
22
+ gap: 6px;
23
+ padding: 6px 12px;
24
+ cursor: pointer;
25
+ border-radius: 4px;
26
+ transition: background-color 0.3s;
27
+
28
+ &:active {
29
+ background-color: #f5f5f5;
30
+ }
31
+
32
+ .dateText {
33
+ font-size: 15px;
34
+ color: #232323;
35
+ }
36
+
37
+ .arrowIcon {
38
+ font-size: 12px;
39
+ color: #999999;
40
+ transition: transform 0.3s;
41
+ }
42
+ }
43
+ }
44
+
45
+ // 下面:签到明细列表
46
+ .signinDetailList {
47
+ .signinDetailItem {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ align-items: center;
51
+ padding: 15px 0;
52
+ border-bottom: 1px solid #f0f0f0;
53
+
54
+ &:last-child {
55
+ border-bottom: none;
56
+ }
57
+
58
+ .dateText {
59
+ font-size: 15px;
60
+ color: #232323;
61
+ }
62
+
63
+ .pointsText {
64
+ font-size: 15px;
65
+ font-weight: 500;
66
+ // 颜色在组件中动态设置
67
+ }
68
+ }
69
+
70
+ .emptyState {
71
+ padding: 40px 0;
72
+ text-align: center;
73
+
74
+ .emptyText {
75
+ font-size: 14px;
76
+ color: #999999;
77
+ }
78
+ }
79
+ }
80
+
81
+ // 年月选择器弹窗
82
+ .datePickerPopup {
83
+ background-color: #ffffff;
84
+ border-radius: 16px 16px 0 0;
85
+ max-height: 60vh;
86
+ display: flex;
87
+ flex-direction: column;
88
+
89
+ .pickerContent {
90
+ padding: 10px 20px 30px 20px;
91
+ display: flex;
92
+ flex-direction: column;
93
+
94
+ // 上面:年份选择
95
+ .yearSelector {
96
+ display: flex;
97
+ justify-content: space-between;
98
+ align-items: center;
99
+ padding: 10px 0;
100
+
101
+ .yearArrow {
102
+ width: 40px;
103
+ height: 40px;
104
+ display: flex;
105
+ align-items: center;
106
+ justify-content: center;
107
+ cursor: pointer;
108
+ border-radius: 4px;
109
+ transition: background-color 0.3s;
110
+
111
+ &:active {
112
+ background-color: #f5f5f5;
113
+ }
114
+
115
+ .arrowText {
116
+ font-size: 20px;
117
+ color: #666666;
118
+ font-weight: bold;
119
+ }
120
+ }
121
+
122
+ .yearText {
123
+ font-size: 18px;
124
+ font-weight: 500;
125
+ color: #232323;
126
+ }
127
+ }
128
+
129
+ // 下面:月份选择(4排3列网格)
130
+ .monthGrid {
131
+ display: grid;
132
+ grid-template-columns: repeat(3, 1fr);
133
+ grid-template-rows: repeat(4, 1fr);
134
+ gap: 12px;
135
+
136
+ .monthItem {
137
+ height: 50px;
138
+ display: flex;
139
+ align-items: center;
140
+ justify-content: center;
141
+ border-radius: 8px;
142
+ cursor: pointer;
143
+ transition: all 0.3s;
144
+ background-color: #ffffff;
145
+
146
+ &:active {
147
+ background-color: #f5f5f5;
148
+ }
149
+
150
+ &.active {
151
+ // 背景色在组件中动态设置
152
+
153
+ .monthText {
154
+ color: #ffffff;
155
+ font-weight: 500;
156
+ }
157
+ }
158
+
159
+ .monthText {
160
+ font-size: 16px;
161
+ color: #232323;
162
+ transition: color 0.3s;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
@@ -0,0 +1,10 @@
1
+ export declare const EvaluateViewDetail: import("react").MemoExoticComponent<({ code, borderRadius, borderColor, color, buttonColor, buttonBorderRadius, paddingTop, paddingBottom }: {
2
+ code: any;
3
+ borderRadius: any;
4
+ borderColor: any;
5
+ color: any;
6
+ buttonColor: any;
7
+ buttonBorderRadius: any;
8
+ paddingTop: any;
9
+ paddingBottom: any;
10
+ }) => import("react/jsx-runtime").JSX.Element>;
@@ -3,6 +3,9 @@ export * from './mine-order-entry';
3
3
  export * from './mine-function';
4
4
  export * from './evaluate-list';
5
5
  export * from './evaluate-detail';
6
+ export * from './evaluate-view-detail';
6
7
  export * from './collection-list';
7
8
  export * from './collection-shop-list';
8
9
  export * from './footprint';
10
+ export * from './member-signin';
11
+ export * from './signin-detail';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export declare const MemberSignin: React.NamedExoticComponent<{
3
+ buttonText: string;
4
+ buttonBackground: string;
5
+ borderRadius: number;
6
+ paddingTop: number;
7
+ paddingBottom: number;
8
+ }>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export declare const SigninDetail: React.NamedExoticComponent<{
3
+ title: string;
4
+ themeColor: string;
5
+ paddingTop: number;
6
+ paddingBottom: number;
7
+ }>;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{jsx as e,jsxs as a,Fragment as l}from"react/jsx-runtime";import o,{memo as s,useState as t,useEffect as i,useMemo as n,useRef as c,useContext as r,createContext as d,createElement as m,Fragment as h}from"react";import{useComponent as p,IconMobile as u,antdMobile as g,NoticeBar as N}from"@brushes/simulate-component";import f from"classnames";import{getEnv as C,getTaro as b,navigatorHandler as y,getStorage as w,navigatorBackImpl as x,setStorage as S}from"@brushes/utils";import{queryOcsconfigList as k,find as v,getContractNumbers as I}from"qj-b2c-api";import{queryOcserviceConfPageByMember as A}from"qj-b2b-api";import{get as B,isEqual as T,isEmpty as V,noop as L,groupBy as D}from"lodash-es";import{useCube as P,useGoTop as R,useAfterSalesApply as M,useAfterSalesList as O,afterSalesTabConfig as z,useAfterSalesDetail as F,useAfterSalesChooseType as j,useAddressItem as W,useAddressList as G,useEditAddress as E,useMySetting as H,usePickupPointItem as Y,usePickupPointList as U,useGoodsClassify as K,useGoods as Q,useGoodDetail as q,goodStore as $,useBanner as Z,useGoodCollection as X,useGoodSpecAndPrice as J,useGoodFootprint as _,useCreatePoster as ee,useGoodsShare as ae,useGoodSkuStore as le,popupImplement as oe,usePromotion as se,useAddCoupon as te,useCoupon as ie,useEvaluate as ne,useAddShopping as ce,useGoodSku as re,useGoodsList as de,useCartTop as me,useCartListNext as he,getRadioValue as pe,useCartOperate as ue,useOrderAddress as ge,useOrderPickupAddress as Ne,userAddressData as fe,useOrderGood as Ce,useOrderCoupon as be,useOrderInfo as ye,useOrderPay as we,useOrderResult as xe,useOrderResultResult as Se,useOrderOperate as ke,orderStatusImpl as ve,useOrderList as Ie,orderStatusList as Ae,useOrderDetail as Be,useExpressInfo as Te,useEvaluateDetail as Ve,useCollectionList as Le,useFootprint as De,useMarketingPromotion as Pe,useCouponList as Re,useAllCoupon as Me,useNotice as Oe,useNoticeDetail as ze,useArticleDetail as Fe}from"qj-b2c-store";import{fullPath as je,checkMobile as We,ProvinceComponent as Ge,CityComponent as Ee,AreaComponent as He,navigatorLink as Ye}from"@brushes/shared-utils";import Ue from"dayjs";import{DynamicForm as Ke}from"@brushes/mobile-form";const Qe=s((({width:a,height:l,top:o,right:s,bottom:t,left:i,borderRadius:n})=>{const{View:c}=p();return e(c,{style:{width:a,height:l,borderRadius:n,top:o,left:i,right:s,bottom:t},className:"components-service"})})),qe=({className:a="iconfont",prefixClass:l="icon",onClick:o=()=>{},style:s={fontSize:16,color:"#444",fontWeight:900},value:t})=>{const{Text:i}=p();return e(i,{onClick:o,className:f(l,t?`${l}-${t}`:"",a),style:s})},$e=s((({value:a,textIndent:l,fontSize:o,textAlign:s,color:t,backgroundColor:i,fontWeight:n,textDecoration:c,fontStyle:r,paddingTop:d,paddingLeft:m,paddingRight:h,paddingBottom:u})=>{const{View:g}=p();return e(g,{className:"components-title",style:{paddingTop:d,paddingBottom:u},children:e(g,{style:{fontSize:o,textAlign:s,color:t,backgroundColor:i,fontWeight:n,textDecoration:c,fontStyle:r,paddingLeft:m,paddingRight:h,textIndent:l},children:a})})})),Ze=({TextLineBgColor:l,text:o,contentSize:s,lineStyle:t,fontSize:i,textAlign:n,fontColor:c,lineColor:r,fontWeight:d,fontStyle:m,textDecoration:h})=>{const{View:u}=p();return a(u,{className:"textLine",style:{backgroundColor:l,textAlign:n,margin:1===s?"0 10px":""},children:[e(u,{className:"blc",style:{borderBottom:`1px ${t} ${r}`}}),e(u,{className:"txt",style:{backgroundColor:l,fontWeight:d,fontStyle:m,textDecoration:h,fontSize:`${i}px`,color:c},children:o})]})},Xe=s((({borderStyle:a,borderRadius:l,height:o,width:s,backgroundColor:t,paddingTop:i,paddingBottom:n})=>{const{View:c}=p();return e(c,{style:{paddingTop:i,paddingBottom:n},children:e(c,{style:{borderRadius:l+"%",borderStyle:a,width:s+"%",height:o+"px",backgroundColor:t,marginLeft:"auto",marginRight:"auto"}})})}));function Je(e,a){var l={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&a.indexOf(o)<0&&(l[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)a.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(l[o[s]]=e[o[s]])}return l}function _e(e,a,l,o){return new(l||(l=Promise))((function(s,t){function i(e){try{c(o.next(e))}catch(e){t(e)}}function n(e){try{c(o.throw(e))}catch(e){t(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof l?a:new l((function(e){e(a)}))).then(i,n)}c((o=o.apply(e,a||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const ea=(e="b2c")=>{const[a,l]=t([]),o=n((()=>C()),[]);i((()=>{_e(void 0,void 0,void 0,(function*(){const e=yield s();l(c(e))}))}),[]);const s=()=>_e(void 0,void 0,void 0,(function*(){switch(e){case"b2c":return yield k();case"b2b":return yield A().then((e=>e.list))}})),c=a=>{if(0===a.length)return["未知客服信息"];let l=[];if("b2c"===e){const e=B(a[0],"ocsOcserviceReDomain.ocsOcserviceConfReDomainList",[]);for(let a=0;a<e.length;a++){const o=e[a];l.push(`${B(o,"ocserviceConfRemark")}: ${B(o,"ocserviceConfValue")}`)}}else"b2b"===e&&l.push(`客服电话: ${B(a[0],"ocserviceConfValue")}`);return l};return{servicePopup:()=>{if(!o)return;b().showActionSheet({itemList:a})}}},aa={label:""},la=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}):"¥ 0",oa=(e=0)=>e?e.toLocaleString("en-Us",{minimumFractionDigits:2}):"0",sa=(e,a)=>{const l=Math.floor(e/1e3)%60,o=Math.floor(e/1e3/60)%60,s=Math.floor(e/1e3/60/60)%24;return`${Math.floor(e/1e3/60/60/24)}天 ${s}小时 ${o}分钟 ${l}秒${a}`},ta=e=>1===String(e).indexOf(".")?ia(e):na(e),ia=e=>{const a=Number(e).toFixed(0),l=(Number(e)-Number(a)).toFixed(2),o=[];a.split("").reverse().forEach(((e,l)=>{o.push(e),(l+1)%3==0&&l!==a.length-1&&o.push(",")}));return o.reverse().join("")+"."+String(l).slice(2)},na=e=>{const a=Number(e).toFixed(0),l=[];a.split("").reverse().forEach(((e,o)=>{l.push(e),(o+1)%3==0&&o!==a.length-1&&l.push(",")}));return l.reverse().join("")+".00"},ca=process.env.REACT_APP_BASE_URL;process.env.REACT_IMG_PATH;const ra=(e="")=>n((()=>e.startsWith("http")?e:e.startsWith("paas")||e.startsWith("/paas")?ca+e:e?ca+"/paas/shop/"+e:e),[e]),da=({src:a,style:l,actived:o})=>{const s=c(null);return i((()=>{o?s.current.play().catch((e=>{console.log("自动播放被阻止:",e),s.current.controls=!0})):(s.current.pause(),s.current.currentTime=0,s.current.controls=!1)}),[o]),e("video",{ref:s,muted:!0,loop:!0,preload:"auto",controls:!0,style:l,src:a})},ma=s((({item:a,isPlay:o,position:s,direction:t})=>{var i,n;const{Image:c,View:r}=p(),d=ra(a.imgUrl);return e(l,{children:d.includes(".mp4")||d.includes(".webm")||d.includes(".avi")?e(da,{actived:o,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===(i=a.link)||void 0===i?void 0:i.value,null===(n=a.link)||void 0===n?void 0:n.params)})})})),ha=s((({Position:o="none",className:s="",className1:t="",defaultValue:i=[],type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C,selectImg:b,imgHeight:y,fontsize:w=16,textAlign:x="center",fontColor:S="#000000",backGroundColor:k="#ffffff"})=>{const v=n((()=>f({paddingbtm:"none"!==o,imgHeights:"bottom"===o&&"horizontal"===m}))),{SmoothSwiper:I,View:A}=p(),B=P(i,b||[]),T=a=>e(A,{className:t,style:{fontSize:w,zIndex:99,justifyContent:"left"===x?"flex-start":"center"===x?"center":"flex-end",color:S,backgroundColor:k},children:a.title});return e(A,{className:s,style:{paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:C},children:e(I,{imgHeight:y,data:B,className:v,type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,interval:5e3,vertical:"vertical"===m,render:(s,t,i)=>a(l,{children:["top"===o||"bottom"===o?T(s):null,e(ma,{isPlay:t===i,item:s,position:o,direction:m})]})})})})),pa=s((({paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:s,defaultValue:t=[],type:i,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:u,imgHeight:g,paddingTB:N=0,paddingLR:C=0,fontsize:b=16,textAlign:y="center",fontColor:w="#000000",backGroundColor:x="#ffffff",otherStyles:S=[],ImgShadow:k=!1,Position:v="top"})=>{const{View:I}=p(),A=n((()=>f("silder-title",{"silder-tops1":"top"===v&&"horizontal"===d,"silder-bottoms":"bottom"===v&&"horizontal"===d,"silder-bottoms1":"vertical"===d&&"bottom"===v,"silder-tops":"vertical"===d&&"top"===v},...S)),[S,v]);return e(I,{style:{padding:`${N}px ${C}px`},children:e(ha,{Position:v,defaultValue:t,type:i,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:u,imgHeight:g,paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:s,fontsize:b,textAlign:y,fontColor:w,backGroundColor:x,className:f({"outer-shadow":k}),className1:A})})})),ua=s((({url:a,poster:l,autoplay:o,loop:s,paddingTop:t,paddingBottom:i,paddingLeft:n,paddingRight:c})=>{const{View:r}=p();return e(r,{style:{paddingTop:t,paddingBottom:i},children:e("video",{className:"components-video",src:a,poster:l,autoPlay:o,loop:s,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:n,paddingRight:c}})})})),ga=({src:a,borderRadius:l})=>{const{Image:o}=p(),s=ra(a);return e(o,{src:s,alt:"",className:"img",style:{borderRadius:`${l}px`}})},Na=s((({defaultValue:l,borderRadius:o,paddingTop:s,paddingBottom:t,selectClassifyNav:i})=>{const{View:n,Text:c}=p(),r=P(l,i);return e(n,{style:{paddingTop:s,paddingBottom:t},children:e(n,{className:"classifyNav",children:r.map(((l,s)=>a(n,{className:"classifyNavItem",onClick:()=>{var e,a;return y(null===(e=l.link)||void 0===e?void 0:e.value,null===(a=l.link)||void 0===a?void 0:a.params)},children:[e(ga,{src:l.imgUrl,borderRadius:o}),e(c,{className:"label",children:l.title})]},s)))})})})),fa=({src:a,imgRadius:l,imgBoxShadow:o})=>{const{Image:s}=p(),t=ra(a);return e(s,{src:t,alt:"",className:"classifyNav-item-img",style:{borderRadius:l,boxShadow:o?"0px 0px 20px 5px #EEE":"none"}})},Ca=({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:s,navBgColor:t,navBoxShadow:i,imgRadius:n,imgBoxShadow:c,layout:r,marginTop:d,marginBottom:m})=>{const{View:h}=p(),u=P(a,l);return e(h,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${r}, 1fr)`,borderRadius:o,border:`1px solid ${s}`,backgroundColor:t,boxShadow:i?"0px 0px 20px 10px #ddd":"none",marginTop:d,marginBottom:m},children:u.map(((a,l)=>e(h,{className:"classifyNav-item",onClick:()=>{var e,l;return y(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},children:e(fa,{src:a.imgUrl,imgBoxShadow:c,imgRadius:n})},l)))})},ba=s(Ca),ya=s((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:s,navBgColor:t,navBoxShadow:i,fontSize:c,fontColor:r,tagBgColor:d,otherStyle:m,layout:h,marginTop:u,marginBottom:g})=>{const{View:N}=p(),C=P(a,l),b=n((()=>f("classifyNav-two-item-title",...m)),[m]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${h}, 1fr)`,border:`1px solid ${s}`,borderRadius:o,backgroundColor:t,boxShadow:i?"0px 0px 20px 5px #EEE":"none",marginTop:u,marginBottom:g},children:C.map(((a,l)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,l;return y(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},style:{width:4===h?"74px":"60px"},children:e(N,{className:b,style:{fontSize:c,color:r},children:a.title})},l)))})})),wa=a=>{const{imgRadius:l,imgBoxShadow:o,fontSize:s,fontColor:t,tagBgColor:i,otherStyle:n,item:c,layout:r}=a,{View:d}=p(),m=ra(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:l,boxShadow:o?"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})})})},xa=s((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:s,navBgColor:t,navBoxShadow:i,imgRadius:n,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:u,marginTop:g,marginBottom:N})=>{const{View:f}=p(),C=P(a,l);return e(f,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${u}, 1fr)`,border:`1px solid ${s}`,borderRadius:o,backgroundColor:t,boxShadow:i?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N},children:C.map(((a,l)=>e(wa,{layout:u,item:a,imgRadius:n,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h},l)))})})),Sa=s((({position:a=10,bg:l,color:o,fontSize:s})=>{const t=n((()=>C()),[]),{View:i}=p(),{goTop:c}=R();return e(i,{className:"backTop",onClick:c,style:{padding:t?"0":"10px"},children:e(qe,{style:{display:"inline-block",color:o,fontSize:s,backgroundColor:l,position:t?"fixed":"relative",right:t?"20px":"0",bottom:t?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),ka=({outerShadow:a,type:l,item:o,borderRadius:s})=>{const{Image:t}=p(),i=ra(o.imgUrl);return e(t,{className:"block "+(a?"outer-shadow":""),mode:1===l?"widthFix":"scaleToFill",src:i,style:{width:"100%",borderRadius:s+"px"},onClick:()=>{var e,a;return y(null===(e=o.link)||void 0===e?void 0:e.value,null===(a=o.link)||void 0===a?void 0:a.params)}})},va=s((({defaultValue:a,type:l,borderRadius:o,outerShadow:s,paddingRight:t,paddingLeft:i,picGap:n,xGap:c,paddingTop:r,paddingBottom:d,selectImg:m})=>{const{View:h}=p(),u=P(a,m);return e(h,{style:{paddingTop:r,paddingBottom:d,paddingLeft:c,paddingRight:c},children:e(h,{className:`cube-type${l}`,style:{paddingLeft:i,paddingRight:t,gap:n},children:u.map(((a,t)=>e(ka,{borderRadius:o,item:a,outerShadow:s,type:l},t)))})})})),Ia=o.createContext(null),Aa=s((()=>{const{View:a}=p(),{tip:l}=r(Ia);return e(a,{className:"afterSalesApplyTip",children:l})}));const Ba=a=>{var{bottomHeight:l,children:o,id:s,heightWrap:c}=a,r=Je(a,["bottomHeight","children","id","heightWrap"]);const d=n((()=>C()),[]),m=function(e){const[a,l]=t(0);return i((()=>{if(!C()||!e)return;const a=b().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;l(a)}})).exec()}))})),a}(s),h=function(e=""){return n((()=>{if(!C())return 0;const a=b(),l=a.getStorageSync("safeArea"),o=a.getStorageSync("tabBarHeight")||0;return l+(a.getCurrentPages().at(-1).$taroPath.indexOf("pages/")>=0?o:0)+(e?+e:0)}),[])}(l),{View:u}=p(),g=n((()=>{if(!d)return s?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(s){return{height:`calc(${b().getSystemInfoSync().windowHeight+"px"} - ${m+h}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[m,h]);return e(u,Object.assign({},r,{style:Object.assign(Object.assign({},g),{paddingBottom:s?"":h}),id:s,children:o}))},Ta=s((()=>{const{View:l,SmoothRadio:o,Radio:s,Popup:t,ScrollView:i,WrapLoading:n}=p(),{handlePopupShow:c,popupVisible:d,reasonList:m,handleChooseReason:h,popupLoading:u}=r(Ia);return e(t,{popupVisible:d,popupHandler:c,children:e(n,{loading:u,children:e(l,{className:"reasonPopup",children:e(Ba,{children:a(i,{children:[e(l,{className:"title",children:"退款原因"}),e(o,{onChange:h,children:m.map(((o,t)=>a(l,{className:"reasonItem",children:[e(l,{className:"label",children:o.flagSettingInfo}),e(s,{value:o.flagSettingInfo})]},t)))})]})})})})})})),Va=s((()=>{const{View:l}=p(),{handlePopupShow:o,popupVisible:s,reason:t,goodsPrice:i}=r(Ia);return a(l,{className:"afterSalesApplyFillIn",children:[a(l,{className:"reason",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款原因"})]}),e(l,{className:"choose",onClick:o,children:t?e(l,{className:"chooseResult",children:t}):a(l,{children:["请选择",e(qe,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]})})]}),a(l,{className:"price",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款金额"})]}),e(l,{className:"allPrice",children:e(l,{className:"single",children:la(i)})})]}),e(Ta,{popupShow:s})]})})),La=s((()=>{const{View:l,TextArea:o,Textarea:s}=p(),t=s||o,{handleChooseImg:i,imgGroup:n,placeholder:c,handleDelImg:d,limit:m,handleFillInReason:h}=r(Ia);return a(l,{className:"afterSalesApplySubFillIn",children:[e(l,{className:"title",children:"补充描述和凭证"}),a(l,{className:"content",children:[e(t,{placeholder:c,rows:5,maxLength:200,style:{marginBottom:15},onInput:h}),a(l,{className:"imgGroup",children:[n.length<m?e(l,{className:"add",onClick:i,children:a(l,{className:"addContent",children:[e(qe,{value:"shangchuanpingzheng"}),e(l,{className:"word",children:"上传凭证"}),a(l,{className:"num",children:[n.length,"/",m]})]})}):null,n.map(((a,o)=>e(l,{className:"imgItem",style:{backgroundImage:`url(${a})`},children:e(l,{className:"cancel",onClick:d.bind(null,o),children:e(qe,{value:"close-bold",style:{fontSize:12}})})},o)))]})]})]})})),Da=({refundType:l,contractBillcode:o,skuCode:s,goodsNum:t,goodsPrice:i,paddingTop:n,paddingLeft:c,paddingRight:r,paddingBottom:d})=>{const{View:m,WrapLoading:h}=p(),{tip:u,reasonList:g,popupVisible:N,popupLoading:f,handlePopupShow:C,handleChooseReason:b,reason:y,handleChooseImg:w,imgGroup:x,placeholder:S,handleDelImg:k,limit:v,goodsInfo:I,handleFillInReason:A,handleSubmit:B,loading:T}=M({contractBillcode:o,skuCode:s});return e(h,{loading:T,children:e(m,{className:"afterSalesApply",style:{paddingTop:n,paddingBottom:d,paddingLeft:c,paddingRight:r},children:a(Ia.Provider,{value:{tip:u,reasonList:g,popupVisible:N,popupLoading:f,handlePopupShow:C,handleChooseReason:b,reason:y,handleChooseImg:w,imgGroup:x,placeholder:S,handleDelImg:k,limit:v,goodsNum:t,goodsPrice:i,goodsInfo:I,handleFillInReason:A,handleSubmit:B},children:[e(Aa,{}),e(Va,{}),e(La,{}),e(m,{className:"submitBtn",onClick:B.bind(null,t,o,l,i),children:"确定"})]})})})},Pa={B01:{icon:"tuikuan1",label:"仅退款(无需退货)",color:"#58BE6A"},B02:{icon:"tuikuan1",label:"退货退款",color:"#C52922"}},Ra={B01:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退款-待审核",3:"退款中",8:"审核通过-退款完成",9:"退款失败"},B02:{"-2":"商家拒绝","-1":"撤销申请",0:"申请退货退款-待审核",1:"审核通过-商家通过申请-填写物流信息",2:"用户填写完物流信息-待商家收货",3:"退款中",6:"商家拒绝收货",8:"商家收货完成-退款完成",9:"退款失败"}},Ma=s((({data:l,goAfterSalesDetail:o})=>{var s,t;const{View:i,Image:n}=p();return a(i,{className:"afterSalesListItem",onClick:o.bind(null,l.refundCode),children:[a(i,{className:"title",children:[a(i,{className:"lPart",children:["服务单号: ",l.refundCode]}),a(i,{className:"rPart",children:[e(qe,{style:{color:null===(s=Pa[l.refundType])||void 0===s?void 0:s.color,fontSize:12},value:null===(t=Pa[l.refundType])||void 0===t?void 0:t.icon}),e(i,{className:"txt",children:Pa[l.refundType].label})]})]}),a(i,{className:"goodsInfo",children:[e(i,{className:"lPart",children:e(n,{src:je(l.ocRefundGoodsList[0].dataPic),className:"img"})}),a(i,{className:"rPart",children:[e(i,{className:"goodsName",children:l.ocRefundGoodsList[0].goodsName}),a(i,{className:"count",children:["申请数量: ",l.ocRefundGoodsList[0].refundGoodsNum]})]})]}),a(i,{className:"tip",children:[e(i,{class:"lPart",children:Ra[l.refundType][l.dataState]}),e(qe,{style:{fontSize:12,color:"#A5A5A5"},value:"xiangyou1"})]})]})})),Oa=s((()=>{const{View:a}=p();return e(a,{className:"noData",children:e(a,{className:"txt",children:"暂无售后单"})})})),za=s((({item:a,refreshNum:l})=>{const{View:o,ScrollView:s,WrapLoading:t}=p(),{afterSalesList:i,goAfterSalesDetail:n,loading:c,haseData:r}=O(a,l);return e(t,{loading:c,children:e(o,{className:"tabContent",children:e(Ba,{id:"tabContent",children:e(s,{children:r?i.map((a=>e(Ma,{data:a,goAfterSalesDetail:n.bind(null,a.refundCode)}))):e(Oa,{})})})})})})),Fa=s((({refreshNum:a,paddingTop:l,paddingBottom:o,paddingLeft:s,paddingRight:t})=>{const{View:i,Tabs:n}=p();return e(i,{className:"afterSalesList",style:{paddingTop:l,paddingBottom:o,paddingLeft:s,paddingRight:t},children:e(n,{defaultIndex:0,tabs:z,render:l=>e(za,{item:l,refreshNum:a})})})})),ja=({dataPic:o,goodsName:s,goodsCamount:t,pricesetNprice:i,skuName:c,children:r,goodsType:d,pricesetRefrice:m})=>{const{View:h,Image:u,SmoothView:g}=p(),N="06"===d?m+"积分":la(i),f=n((()=>t?`x ${t}`:""),[t]);return e(l,{children:a(h,{className:"card-item",children:[e(u,{src:je(o),alt:"",className:"card-item-img"}),a(h,{className:"card-item-info",children:[a(h,{className:"card-item-info-container",children:[e(g,{className:"card-item-info-container-title",children:s}),e(g,{className:"card-item-info-container-price",children:N})]}),a(h,{className:"card-item-info-sub",children:[e(g,{className:"sku",children:c}),e(g,{className:"count",children:f})]}),r]})]})})},Wa=(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]}},Ga=o.createContext(null),Ea=s((()=>{const{companyList:l,popupShow:o,handlePopupShow:s,chooseCompany:t}=r(Ga),{View:i,SmoothRadio:n,Radio:c,Popup:d,ScrollView:m}=p();return e(d,{popupVisible:o,popupHandler:s,children:e(i,{className:"reasonPopup",children:e(Ba,{children:a(m,{children:[e(i,{className:"title",children:"物流选择"}),e(n,{onChange:t,children:l.map(((l,o)=>a(i,{className:"reasonItem",children:[e(i,{className:"label",children:l.expressName}),e(c,{value:`${l.expressName}-${l.expressCode}`})]},o)))})]})})})})})),Ha=s((()=>{const{handlePopupShow:o,packageName:s,setPackageBillno:t,submitExpressInfo:i}=r(Ga),{View:n,Input:c}=p();return a(l,{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:o,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(Ea,{})]})})),Ya=s((({refundCode:o,paddingTop:s,paddingLeft:t,paddingRight:i,paddingBottom:n})=>{const{afterSalesDetailInfo:c,submitExpressInfo:r,handleCancelAfterSales:d,companyList:m,popupShow:h,handlePopupShow:u,chooseCompany:g,packageName:N,setPackageBillno:f,loading:C}=F({refundCode:o}),{dataState:b,gmtCreate:y,ocRefundGoodsList:w,refundMoney:x,refundMeo:S,refundEx:k,refundType:v,ocRefundFileList:I,goodsReceiptMem:A,goodsReceiptPhone:B,goodsReceiptArrdess:T,packageCode:V,packageBillno:L}=c,{View:D,Image:P,WrapLoading:R}=p();return e(R,{loading:C,children:e(D,{className:"afterSalesDetail",style:{paddingTop:s,paddingBottom:n,paddingLeft:t,paddingRight:i},children:a(Ga.Provider,{value:{companyList:m,popupShow:h,handlePopupShow:u,chooseCompany:g,packageName:N,setPackageBillno:f,submitExpressInfo:r},children:[a(D,{className:"afterSalesDetailTopTitle",style:{background:"#000"},children:[e(D,{className:"left_text",children:Wa(v,b)}),e(D,{className:"right_time",children:Ue(y).format("YYYY-MM-DD HH:mm:ss")})]}),e(D,{className:"afterSalesDetailContent",children:a(D,{className:"refundDetail",children:[e(D,{className:"title",children:"退款信息"}),e(D,{className:"goodsDetail",children:null==w?void 0:w.map(((a,l)=>e(ja,{dataPic:je(a.dataPic),pricesetNprice:a.pricesetNprice,goodsName:a.goodsName,goodsCamount:a.refundGoodsNum,skuName:a.skuName},l)))}),a(D,{className:"refund_Detail",children:[e(D,{className:"left",children:"退款原因"}),e(D,{className:"right",children:k})]}),a(D,{className:"refund_Detail",children:[e(D,{className:"left",children:"退款金额"}),e(D,{className:"right",children:x})]}),a(D,{className:"refund_Detail",children:[e(D,{className:"left",children:"描述说明"}),e(D,{className:"right",children:S})]}),a(D,{className:"refund_Detail",children:[e(D,{className:"left",children:"补充凭证"}),e(D,{className:"right",children:null==I?void 0:I.map(((a,l)=>e(P,{src:je(a.refundFileUrl),mode:"widthFix",className:"refundImg"},l)))})]}),a(D,{className:"refund_Detail",children:[e(D,{className:"left",children:"申请时间"}),e(D,{className:"right",children:Ue(y).format("YYYY-MM-DD HH:mm:ss")})]}),a(D,{className:"refund_Detail",children:[e(D,{className:"left",children:"退款编号"}),e(D,{className:"right",children:o})]}),e(l,{children:"B02"===v?a(l,{children:[b>0?a(D,{className:"merchantMsg",children:[e(D,{className:"title",children:"商家信息"}),a(D,{className:"name",children:[A,"  ",B]}),e(D,{className:"address",children:T})]}):"",1===b?a(D,{className:"writeMsg",children:[e(D,{className:"wlMsg",children:"物流信息"}),e(Ha,{})]}):"",b>1?a(D,{className:"writeMsg",children:[e(D,{className:"wlMsg",children:"物流信息"}),a(D,{className:"express_content",children:[e(D,{className:"name",children:"物流单号"}),e(D,{className:"code",children:L})]}),a(D,{className:"express_content",children:[e(D,{className:"name",children:"物流公司"}),e(D,{className:"code",children:N})]}),a(D,{className:"express_content",children:[e(D,{className:"name",children:"物流公司编码"}),e(D,{className:"code",children:V})]})]}):""]}):""})]})}),0===b?e(D,{className:"footerBtn",children:e(D,{className:"btn",onClick:d.bind(null,w[0].goodsCode),children:"撤销申请"})}):null]})})})})),Ua=o.createContext(null),Ka=s((()=>{const{View:l,Image:o,NumStep:s,SmoothView:t}=p(),{typeTip:i,setTypeTip:n,goodsNum:c,handleStep:d,goodsInfo:m,goodsPrice:h}=r(Ua),{goodsName:u,skuName:g,dataPic:N}=m,f=m&&"06"===m.goodsType?m.pricesetRefrice+"积分":la(h);return a(l,{className:"afterSalesTypeItem",children:[e(l,{className:"afterSalesTypeTitle",children:"退款商品"}),a(l,{className:"afterSalesTypeContent",children:[e(o,{src:je(N),className:"img"}),a(l,{className:"info",children:[a(l,{className:"base",children:[e(t,{className:"name",children:u}),e(t,{className:"price",children:f})]}),a(l,{className:"advance",children:[e(l,{className:"size",children:g}),a(l,{className:"stepWrap",children:[e(qe,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>n((e=>!e))}),e(s,{count:c,handleStep:d})]})]}),i?e(l,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),Qa=s((({contractGoodsSendnum:l,afterSalesType:o=2,contractBillcode:s,skuCode:t})=>{const{View:i}=p(),{goApply:n,goodsNum:c}=r(Ua);return e(i,{children:a(i,{className:"afterSalesTypeType",children:[e(i,{className:"title",children:"售后类型"}),(d=l,d>0?[{label:"退货退款",value:"B02"}]:[{label:"仅退款(无需退货)",value:"B01"}]).map(((l,o)=>a(i,{className:"item",onClick:n.bind(null,l.value,s,t,c),children:[e(i,{className:"headline",children:l.label}),e(qe,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},o)))]})});var d})),qa=l=>{const{contractBillcode:o,skuCode:s,dataState:t,paddingTop:i,paddingLeft:n,paddingRight:c,paddingBottom:r}=l,{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:u,goodsInfo:g,goApply:N,loading:f,goodsPrice:C}=j({contractBillcode:o,skuCode:s}),{View:b,WrapLoading:y}=p();return e(y,{loading:f,children:e(b,{className:"afterSalesType",style:{paddingTop:i,paddingLeft:n,paddingRight:c,paddingBottom:r},children:a(Ua.Provider,{value:{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:u,goodsInfo:g,goApply:N,goodsPrice:C},children:[e(Ka,{}),e(Qa,{contractGoodsSendnum:g.contractGoodsSendnum||0,afterSalesType:t,contractBillcode:o,skuCode:s})]})})})},$a=({setDefault:a,checked:l})=>{const{SmoothCheckbox:o,Checkbox:s}=p();return e(o,{onChange:a,children:e(s,{checked:l,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},Za=({itemData:l,delAddress:o,setDefault:s})=>{const{View:t,Text:i}=p(),{handlerImpl:n}=W(l);return a(t,{className:"addressItem",children:[a(t,{className:"upInfo",onClick:n,children:[a(t,{className:"userInfo",children:[l.addressMember," ",l.addressPhone]}),e(t,{className:"addressInfo",children:a(i,{className:"address",children:[l.provinceName," ",l.areaName," ",l.cityName," ",l.addressDetail]})})]}),a(t,{className:"downInfo",children:[e($a,{checked:"1"===(null==l?void 0:l.addressDefault),setDefault:s}),e(i,{className:"del",onClick:o,children:"删除"})]})]})},Xa=s((()=>{const{View:a,Skeleton:o}=p(),s=c(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})})),Ja=s((({url:l,title:o,subTitle:s,link:t,style:i})=>{const{View:n,Image:c}=p();return e(n,{className:"noData",style:i,children:a(n,{className:"content",children:[e(c,{className:"img",src:l}),e(n,{className:"title",children:o}),e(n,{className:"subTitle",children:s}),t?a(n,{className:"link",onClick:()=>y(t),children:["去看看",e(u,{value:"xiangyou1"})]}):null]})})})),_a=s((({refreshNum:a,btnShape:l,btnColor:o,borderColor:s,paddingBottom:t,paddingTop:i,color:n})=>{const{View:c}=p(),{list:r,delAddress:d,setDefault:m,skullShow:h}=G(a);return e(c,{className:"addressListWrap",style:{paddingTop:i+"px",marginBottom:t+"px"},children:h?e(Xa,{}):e(c,{className:"addressList",children:r.length?r.map(((a,l)=>e(Za,{itemData:a,setDefault:m.bind(null,a,l),delAddress:d.bind(null,a)},null==a?void 0:a.addressId))):e(Ja,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),el=s((({borderColor:a,color:l,btnColor:o,btnShape:s,paddingTop:t,paddingBottom:i})=>{const{View:n}=p();return e(n,{className:"addressListBtnWrap",style:{paddingTop:`${t}px`,paddingBottom:`${i}px`},children:e(n,{style:{borderRadius:s,borderColor:a,color:l,backgroundColor:o},className:"addressListBtn",onClick:()=>y("addressEditor"),children:"+ 新增地址"})})})),al=[{from:"addressDefault",to:"addressDefault",format:e=>!0===e?1:0}],ll=[{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:We}]},{type:"slot",name:"provinceCode",extraProps:{label:"所在省",render:Ge}},{type:"slot",name:"cityCode",extraProps:{label:"所在市",shouldUpdate:(e,a)=>e.provinceCode!==a.provinceCode,render:Ee}},{type:"slot",name:"areaCode",extraProps:{label:"所在区",shouldUpdate:(e,a)=>e.cityCode!==a.cityCode,render:He}},{type:"text",props:{onlyShowClearWhenFocus:!0,placeholder:"街道/楼牌号等"},label:"详细地址",name:"addressDetail",rules:[{required:!0,message:"收货人详细地址不能为空"}]},{type:"switch",label:"设置默认地址",name:"addressDefault",extraProps:{color:"#000"}}],ol=s((({btnShape:a,btnColor:l,borderColor:o,color:s,paddingTop:t,paddingBottom:i})=>{const{View:n}=p(),{Button:c}=g,{onSubmit:r}=E();return e(n,{className:"addressDetail",style:{paddingBottom:i+"px",paddingTop:t+"px"},children:e(Ke,{footer:e(c,{style:{color:s,backgroundColor:l,borderColor:o},shape:a,block:!0,type:"submit",size:"large",children:"提交"}),transformSubmitDataConfig:al,onSubmit:r,fields:ll})})})),sl=s((()=>{const{View:l}=p(),o=e=>{y(`/account/agreement/index?type=${e}`)},s=c([{label:"用户协议",type:"xieyi"},{label:"隐私协议",type:"yinsi"}]);return e(l,{className:"myAgreementList",children:e(l,{className:"list",children:s.current.map(((s,t)=>a(l,{className:"item",onClick:o.bind(null,s.type),children:[e(l,{children:s.label}),e(l,{children:e(u,{value:"xiangyou1"})})]},t)))})})})),tl=()=>{const{View:l}=p(),{mySettingGoBind:o,mySettingLogout:s}=H();return a(l,{className:"mySetting",children:[a(l,{className:"item",onClick:o,children:[e(l,{children:"绑定手机"}),e(l,{children:e(qe,{value:"xiangyou1"})})]}),e(l,{className:"btn",onClick:s,children:"退出登录"})]})},il=s(tl),nl=({itemData:l})=>{const{View:o,Text:s}=p(),{handlerImpl:t}=Y(l);return e(o,{className:"addressItem",children:a(o,{className:"upInfo",onClick:t,children:[e(o,{className:"userInfo",children:(l.addressMember||"")+" "+(l.addressPhone||"")}),e(o,{className:"addressInfo",children:a(s,{className:"address",children:[l.provinceName||""," ",l.areaName||""," ",l.cityName||""," ",l.addressDetail||""]})})]})})},cl=s((({refreshNum:l,btnShape:o,btnColor:s,borderColor:t,paddingBottom:i,paddingTop:n,color:c})=>{const{View:r,ScrollView:d,Loading:m}=p(),{list:h,loading:u,skullShow:g,onScroll:N}=U(l);return e(r,{className:"addressListWrap",style:{paddingTop:n+"px",marginBottom:i+"px"},children:g?e(Xa,{}):e(r,{className:"addressList",children:e(Ba,{id:"pickupPointListWrap",children:e(d,{onScroll:N,children:h.length?a(r,{children:[h.map(((a,l)=>e(nl,{itemData:a},a&&a.userinfoOcode||l))),u&&e(m,{})]}):e(Ja,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有自提点"})})})})})})),rl=s((({navList:o,activeKey:s,cell:t=4})=>{const{View:i,Text:n,Image:c}=p();return e(l,{children:o.map((l=>e(i,{className:["content",s===`${l.goodsClassCode}`?" active":""].join(""),children:((null==l?void 0:l.childList)||[]).map((l=>a(i,{className:"classifyFloor",children:["0"===l.goodsClassHide?a(i,{className:"titleWrap",children:[e(n,{className:"title",children:l.goodsClassName}),e(n,{className:"line"})]}):"",e(i,{className:`container container_columns${t}`,style:{marginTop:"0"===l.goodsClassHide?"":"20px"},children:((null==l?void 0:l.childList)||[]).map((({classtreeCode:l,goodsClassCode:o,goodsClassLogo:s,goodsClassName:t})=>a(i,{onClick:()=>y("goodList",{classtreeCode:l}),className:"classifyFloorGoodsItem",children:[e(c,{src:s,className:"logo"}),e(i,{className:"title",children:t})]},o)))})]},l.goodsClassCode)))},l.goodsClassCode)))})})),{SideBar:dl}=g,ml=s((({cell:l,color:o,activeTitle:s,paddingTop:t,paddingBottom:i})=>{const{View:n,ScrollView:c}=p(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=K();return e(n,{children:e(Ba,{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(dl,{activeKey:r,onChange:d,style:{"--width":"90px","--background-color":"#f5f5f5"},children:m.map((a=>e(dl.Item,{title:a.goodsClassName,className:0===s?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===r?o:"#000"}},a.goodsClassCode)))})}),e(n,{className:"main",children:e(rl,{navList:m,activeKey:r,cell:l})})]})})})})})),hl=d(null),pl=s((()=>{const{navList:l,activeKey:o,setActiveKey:s,setFCoe:i,setSCoe:n,selectFontColor:c}=r(hl),{View:d,ScrollView:m}=p(),[h,g]=t(!1),N=(e,a)=>{s.bind(null,e)(),i(`${a}`),n("0"),h&&g(!1)};return a(d,{className:"goodsClassifyOne-headerPart",children:[a(d,{className:"goodsClassifyOne-topListWrap",children:[e(d,{className:"goodsClassifyOne-topList",children:l.map(((a,l)=>e(d,{className:["goodsClassifyOne-topListItem"].join(" "),onClick:()=>N(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?c:"#000",borderColor:o===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},l)))}),e(d,{className:"goodsClassifyOne-icon",onClick:()=>g(!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:()=>g(!1),children:e(u,{value:"paixusort-sheng"})})}),e(Ba,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:l.map(((a,l)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>N(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?c:"#000",borderColor:o===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},l)))})})})]}):null]})})),ul=s((({thirdList:l})=>{const{View:o,Image:s}=p(),{picShadow:t,layout:i}=r(hl);return e(o,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${i}, 1fr)`},children:l.map(((l,i)=>a(o,{className:"goodsClassifyOneFloorItem",onClick:()=>y("goodList",{classtreeCode:l.classtreeCode}),children:[e(s,{src:l.goodsClassLogo,className:"pic",style:{boxShadow:t?"#DDDDDD 0px 0px 10px":""}}),e(o,{className:"title",children:l.goodsClassName})]},i)))})})),gl=s((()=>{const{navList:l,fCoe:o,sCoe:s,setSCoe:t,selectFontColor:i,selectBlcShow:c,selectBlcStyle:d}=r(hl),m=n((()=>C()),[]),{secondList:h,thirdList:u}=(({navList:e,fCoe:a,sCoe:l})=>{const o=n((()=>{var l;return(null===(l=e[a])||void 0===l?void 0:l.childList)||[]}),[a,e]),s=n((()=>{var e;return(null===(e=o[l])||void 0===e?void 0:e.childList)||[]}),[l,a,e]);return{secondList:o,thirdList:s}})({navList:l,fCoe:o,sCoe:s}),{View:g,ScrollView:N,SideBar:f}=p();return e(g,{children:e(Ba,{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,l)=>e(f.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===d?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":i,"--adm-color-primary":i}},l)))}),e(ul,{thirdList:u})]})})})})})),Nl=s((({selectFontColor:l,selectBlcColor:o,selectBlcShow:s,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r})=>{const{View:d}=p(),{navList:m,activeKey:h,setActiveKey:u}=K(),[g,N]=t("0"),[f,C]=t("0");return e(hl.Provider,{value:{fCoe:g,setFCoe:N,sCoe:f,setSCoe:C,navList:m,activeKey:h,setActiveKey:u,selectFontColor:l,selectBlcColor:o,selectBlcShow:s,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(pl,{}),e(gl,{})]})})})),fl=s((({childList:l,layout:o,picShadow:s,style:t})=>{const{View:i,Image:n}=p();return e(i,{className:"level3Arr",style:Object.assign({gridTemplateColumns:`repeat(${o}, 1fr)`},t),children:l.map(((l,o)=>a(i,{className:"level3ArrItem",onClick:()=>y("goodList",{classtreeCode:l.classtreeCode}),children:[e(n,{src:l.goodsClassLogo,className:"logo",style:{boxShadow:s?"#DDDDDD 0px 0px 10px":""}}),e(i,{className:"title",children:l.goodsClassName})]},o)))})})),Cl=s((({navList:l,activeKey:o,layout:s,picShadow:n})=>{var c;const[r,d]=t(0);i((()=>{d(l.findIndex(m))}),[o,r]);const m=e=>e.goodsClassCode===o,{View:h,Image:u}=p();return a(h,{className:"goodsClassifyTwoContent",children:[e(u,{className:"firstLevelImg",src:B(l[r],"goodsClassLogo"),mode:"widthFix"}),null===(c=B(l[r],"childList"))||void 0===c?void 0:c.map(((l,o)=>a(h,{children:["0"===l.goodsClassHide?e(h,{className:"level2Title",children:l.goodsClassName}):"",e(fl,{childList:l.childList,layout:s,picShadow:n,style:{marginTop:"0"===l.goodsClassHide?"":"30px"}})]},o)))]})})),{SideBar:bl}=g,yl=s((({selectFontColor:l,selectBlcShow:o,selectBlcColor:s,selectBlcStyle:t,layout:i,picShadow:n})=>{const{View:c}=p(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=K();return e(c,{className:"goodsClassifyTwo",children:e(Ba,{id:"goodsClassifyTwo",children:a(c,{className:"goodsClassifyTwoWrap",style:{height:h?"100%":"667px"},children:[e(c,{className:"side",children:e(bl,{activeKey:r,onChange:d,style:{"--width":"88px","--background-color":"#f5f5f5"},children:m.map((a=>e(bl.Item,{title:a.goodsClassName,className:[o?"":"goodsClassifyTwoFloorNoBlc",1===t?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":l}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(Cl,{navList:m,activeKey:r,layout:i,picShadow:n})})]})})})})),wl="data:image/png;base64,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",xl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",Sl=s((({value:l,iconShow:o,fontColor:s,backgroundColor:t,borderRadius:i,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:u=[],__pageConfig:g})=>{const{View:N,Image:C}=p(),b=n((()=>f("txt",...u)),[u]);return e(N,{onClick:()=>y("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxpositon":"",children:a(N,{className:"components-search",style:{backgroundColor:t,borderRadius:i?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(C,{src:wl,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(N,{className:b,style:{color:s,display:"inline-block",fontSize:m},children:l})]})})})),kl=s((({value:l,iconShow:o,fontColor:s,backgroundColor:t,borderRadius:i,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:u=["mockWeight","mockItalic"]})=>{const{View:g,Image:N}=p(),C=n((()=>f("txt",...u)),[u]);return e(g,{onClick:()=>y("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxPosition":"",children:a(g,{className:"components-search",style:{border:`1px solid ${t}`,borderRadius:i?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff"},children:[a(g,{style:{width:"80%"},children:[e(N,{src:wl,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(g,{className:C,style:{color:s,display:"inline-block",fontSize:m},children:l})]}),e(g,{className:["seachBtn",i?"btnBorderRadius":""].join(" "),style:{fontSize:m,backgroundColor:t,width:"20%",color:s},children:"搜索"})]})})})),vl=s((({placeholder:l,placeholderText:o,history:s,historyText:i,paddingBottom:c,paddingTop:r})=>{const d=n((()=>C()),[]),{View:m,Text:h,Input:u}=p(),[g,N]=t((()=>w("history")||[])),f=e=>{y("goodList",{searchParam:e})};return a(m,{className:"searchPage",style:{paddingTop:r,paddingBottom:c},children:[a(m,{className:"search-title",children:[e("img",{src:wl,alt:""}),e(u,Object.assign({"confirm-type":"search",type:"text",className:"content",onConfirm:e=>_e(void 0,void 0,void 0,(function*(){d&&(N((a=>{if(!a.includes(e.detail.value)&&e.detail.value){const l=a.concat(e.detail.value);return S("history",l),l}return a})),f(e.detail.value))}))},l?{placeholder:o}:{})),e(h,{className:"btn",onClick:()=>x(),children:"取消"})]}),s?a(m,{className:"historyWrap",children:[a(m,{className:"title",children:[a(m,{className:"label",children:[e(m,{className:"icon"}),i]}),e(qe,{onClick:()=>_e(void 0,void 0,void 0,(function*(){(yield b()).removeStorageSync("history"),N([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(m,{className:"content",children:g.map(((a,l)=>e(m,{onClick:()=>f(a),className:"historyItem",children:a},l)))})]}):null]})})),Il=s((({defaultValue:l=[],classCode:o="",margin:s,circular:n=!1,cell:r,showSales:d=!0,gap:m=10,apiKey:h="goodsCode",goods:u=[],markedPrice:g,paddingTop:N,paddingBottom:C,paddingLeft:b,paddingRight:w,goodsName:x=!0,goodsPrice:S=!0,goodsCar:k=!0,goodsBorder:I=!0,goodsShadow:A=!1,marginGap:L=10})=>{const[D,P]=t(l),R=c(),{View:M,Text:O}=p();return i((()=>{T(R.current,u)||(R.current=u,V(u)?P(l):_e(void 0,void 0,void 0,(function*(){try{const e=yield v({[h]:u.toString(),goodsType:"00,40,50",distinctField:"goodsNo"}),a=B(e,"list",[]);P(a)}catch(e){P(l)}})))}),[u]),e(M,{style:{paddingTop:N,paddingBottom:C},children:e(M,{className:f({[`goods-${o}`]:!0}),style:{display:"grid",gap:L,marginBottom:s,gridTemplateColumns:`repeat(${r}, 1fr)`,paddingLeft:b,paddingRight:w},children:D.map(((l,o)=>a(M,{style:{overflow:"hidden",borderRadius:n?"8px":"0px",border:I?"1px solid #000000":""},onClick:()=>y("goodDetail",{skuCode:l.skuCode}),className:["goods "+(A?"outer-shadow":"")].join(" "),children:[e(M,{className:"goods-img",style:{backgroundImage:`url(${je(l.dataPic)})`}}),a(M,{className:"space",children:[e(M,{className:"titleType",style:{display:x?"block":"none"},children:l.goodsName}),e(M,{className:"subTitle",children:l.brandName}),d&&a(M,{className:"sales",children:["已售:",l.goodsSalesvolume,"件"]}),a(M,{className:"price",children:[a(M,{style:{fontSize:18},children:[S?la(l.pricesetNprice):"",1===g&&e(O,{className:"markedPrice",children:la(l.pricesetMakeprice)})]}),e(M,{className:"anticon",style:{display:k?"block":"none"},children:e(qe,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},o)))})})})),Al=s((({defaultValue:l,goods:o,price:s,marketPrice:t,cart:i,apiKey:n="goodsCode",wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:u,goodsGap:g,marginTop:N,marginBottom:f,marginLeft:C,marginRight:b})=>{const{View:w}=p(),{list:x}=Q({defaultValue:l,goods:o},n);return e(w,{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:x.map(((l,o)=>a(w,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:u,marginRight:`${g}px`},onClick:()=>y("goodDetail",{skuCode:l.skuCode}),children:[e(w,{className:"img",style:{backgroundImage:`url(${je(l.dataPic)})`}}),a(w,{className:"board",children:[e(w,{className:"title",children:l.goodsName}),a(w,{className:"info",children:[a(w,{className:"lPart",children:[s?e(w,{className:"price",children:la(l.pricesetNprice)}):null,t?e(w,{className:"marketPrice",children:la(l.pricesetMakeprice)}):null]}),i?e(w,{className:"rPart",children:e(qe,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},o)))})})),Bl=s((({defaultValue:l,goods:o,GoodsSlideshowBg:s,marketPrice:i,goodsName:c,salesNum:r,price:d,apiKey:m="goodsCode",goodsRadius:h,goodsBorder:u,goodsShadow:g,btnText:N,btnBg:f,btnColor:b,btnRadius:w})=>{const x=n((()=>C()),[]),{list:S}=Q({defaultValue:l,goods:o},m),{SmoothSwiper:k,View:v,Image:I}=p(),[A,B]=t(0);return a(v,{className:"goodsSlideshow",children:[e(I,{src:s,className:"bg",mode:"widthFix"}),e(k,{indicatorDots:!1,imgHeight:{width:190,height:410},defaultIndex:1,data:S,style:{},type:1,autoplay:!1,autoplayInterval:5e3,onChange:e=>{B(e.detail.current)},previousMargin:40,nextMargin:40,slideSize:70,trackOffset:15,render:l=>a(v,{className:["goodsSlideshowItem",""+(l.goodsCode===S[A].goodsCode&&x?"active":"")].join(" "),style:{borderRadius:h,borderStyle:u?"solid":"none",boxShadow:g?"0px 0px 20px 10px #ddd":""},onClick:()=>y("goodDetail",{skuCode:l.skuCode}),children:[e(I,{className:"logo",src:je(l.dataPic),mode:"widthFix"}),c?e(v,{className:"goodsName",children:l.goodsShowname}):null,r?a(v,{className:"salesNum",children:["销量:",l.goodsSalesvolume]}):null,d?e(v,{className:"price",children:la(l.pricesetNprice)}):null,i?e(v,{className:"marketPrice",children:la(l.pricesetMakeprice)}):null,e(v,{className:"btn",style:{backgroundColor:f,color:b,borderRadius:w},children:N})]})})]})})),Tl=({autoplay:a,vertical:l,skuCode:o,scene:s})=>{const{rsGoodsFileDomainList:t=[],memberCode:i=""}=q(o,s),n=$.getState();$.setState(Object.assign(Object.assign({},n),{memberCode:i})),console.log(24,i);const c=Z(t);return e(ha,{selectImg:c,type:1,autoplay:a,vertical:l,imgHeight:{height:375,width:375}})},Vl=l=>{const{SmoothView:o,View:s}=p(),{handleCollect:t,collection:i}=X(l);return a(s,{onClick:t,children:[V(i.dataObj)?e(qe,{value:"star-fill",style:{fontSize:20}}):e(qe,{value:"star-fill",style:{color:"red",fontSize:20}}),e(o,{className:"txt",children:V(i.dataObj)?"收藏":"已收藏"})]})},Ll=({skuCode:l,priceShow:o,collectionShow:s,scene:t})=>{const{View:i,SmoothView:n,Button:c}=p(),{rsSkuDomainList:r}=q(l,t),{goodInfo:d}=J(r);_(l);const{init:m,canvasRef:h}=ee();return a(i,{className:"goodsDetail-topInfo",children:[e("canvas",{ref:h,width:300,height:340,style:{display:"none",border:"1px solid #ccc",width:"300px",height:"500px"}}),a(i,{className:"lPart",children:[e(n,{className:"name",children:d.goodsName}),a(i,{style:{display:"flex",justifyContent:"space-between",marginTop:5},children:[e(n,{className:"price",style:{display:o?"block":"none"},children:la(d.pricesetNprice)}),e(c,{style:{width:80,padding:0,fontSize:14,marginRight:10},onClick:()=>m(r,d.goodsName),children:"生成海报"})]})]}),e(i,{className:"rPart",style:{display:s?"flex":"none"},children:e(Vl,{goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:je(d.dataPic),skuCode:l})})]})},Dl=s((l=>{const{collectionShow:o,shareShow:s}=l,{View:t}=p(),{handleCollect:i,collection:n}=X(l),{handleShare:c}=ae();return a(t,{className:"handleBar",children:[o?e(t,{className:"collection",onClick:i,style:{borderRight:s?"1px solid #ddd":"none"},children:V(n.dataObj)?"收藏":"已收藏"}):null,s?e(t,{className:"share",onClick:c,children:"分享"}):null]})})),Pl=s((({priceShow:l,collectionShow:o,shareShow:s,skuCode:t,scene:i})=>{const{View:n,SmoothView:c}=p(),{rsSkuDomainList:r}=q(t,i),{goodInfo:d}=J(r);return le((e=>e.spec)),_(t),a(n,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:l?"block":"none"},children:la(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(Dl,{collectionShow:o,shareShow:s,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:je(d.dataPic),skuCode:t})]})})),Rl=s((()=>{const{Text:e}=p(),l=le((e=>e.count)),o=le((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",l," 规格: ",o.toString()]})})),Ml=({dispatchPageStore:o})=>{const{View:s,Text:t}=p(),{openPopup:i}=oe(o);return e(l,{children:a(s,{className:"goodsDetail-size",onClick:i,children:[e(t,{className:"label",children:"规格"}),a(s,{className:"info",children:[e(Rl,{}),e("img",{src:xl,alt:"",className:"icon"})]})]})})},Ol=({skuCode:l,scene:o})=>{const{View:s,Text:t}=p(),{rsSkuDomainList:i}=q(l,o),{goodInfo:n}=J(i),c=se(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},l)=>e(s,{className:"item",children:a},l))):e(s,{className:"noPromotion",children:"暂无促销活动"})})]})},zl=s((({promotionBegintime:l,pbName:o,discName:s,promotionCode:t,promotionName:i,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=p(),{save:u,isPick:g}=te(),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:o}),e(m,{className:"num",children:s})]}),a(m,{className:"info",children:[e(h,{className:"title",children:i}),a(h,{className:"date",children:[Ue(l).format("YYYY-MM-DD")," - ",Ue(d).format("YYYY-MM-DD")]})]}),e(m,N>0?{className:g?"coupon-pick-default":"coupon-pick",onClick:()=>u({promotionCode:t,couponAmount:1}),children:g?"已领取":"领取"}:{className:"coupon-pick-default",children:"已领完"})]})})})),Fl=()=>{const{View:a,Image:l}=p();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},jl=o=>{var{skuCode:s,scene:t}=o;Je(o,["skuCode","scene"]);const{View:i,Text:n,Popup:c,Image:r}=p(),{rsSkuDomainList:d}=q(s,t),{goodInfo:h}=J(d),{coupon:u,visible:g,setVisible:N}=ie(d,h.skuCode);return a(l,{children:[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:xl,alt:"",className:"icon"})]})]}),e(c,{popupVisible:g,popupHandler:N,children:e(i,{className:"goodsDetail-coupon-popup",children:e(Ba,{children:u.length>0?u.map(((e,a)=>m(zl,Object.assign({},e,{key:a})))):a(i,{className:"NoDataImg",children:[e(Fl,{}),e(i,{className:"btn",onClick:()=>N(!1),children:"确定"})]})})})})]})},Wl=({onChange:a,readOnly:l=!1,size:o=22,count:s})=>{const{View:n}=p(),[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(!l){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,l)=>e(qe,{onClick:d.bind(null,l),value:a.icon,style:{color:"#EC6C5C",fontSize:o}},l)))})},Gl=({item:l})=>{const{View:o,Image:s}=p();return a(o,{className:"rateItem",children:[a(o,{className:"topInfo",children:[a(o,{className:"lPart",children:[e(s,{src:l.userImgurl,className:"avatar"}),a(o,{className:"userInfo",children:[e(o,{className:"name",children:l.userName}),e(Wl,{readOnly:!0,size:14,count:l.evaluateScopeReList.length})]})]}),e(o,{className:"rPart",children:`${new Date(l.gmtCreate).getFullYear()}-${new Date(l.gmtCreate).getMonth()+1}-${new Date(l.gmtCreate).getDate()}`})]}),e(o,{className:"size",children:l.skuName}),e(o,{className:"content",children:l.evaluateGoodsContent})]})},El=({evaluateArr:l})=>{const{View:o}=p();return console.log(7,l),e(o,{className:"goodsDetailEvaluate",children:l.length?a(o,{children:[a(o,{className:"topInfo",children:["评价 (",l.length,")"]}),l.slice(0,5).map(((a,l)=>e(Gl,{item:a},l)))]}):e(Ja,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},Hl=({goodsRemark:a})=>{const{View:l}=p(),o=n((()=>a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<img/gi,'<img class="mystyle" mode="widthFix"').replace(/<!--[\s\S]*-->/gi,"")),[a]);return e(l,{className:"goodsDetail-info",children:e("div",{dangerouslySetInnerHTML:{__html:o||""}})})},Yl=({tabActive:o,setTabActive:s,evaluateShow:t,evaluateImgShow:i,evaluateImg:c})=>{const{Text:r}=p(),d=n((()=>i?[{title:"商品详情",id:"1"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[t]);return e(l,{children:d.map(((l,t)=>e(h,{children:a(r,{className:"tabsItem "+(o===t?"active":""),onClick:()=>s(t),children:[l.title,e(r,{className:"line"})]})},t)))})},Ul=({evaluateShow:l,evaluateImgShow:o,evaluateImg:s,skuCode:i,scene:n})=>{const{View:c}=p(),[r,d]=t(0),{goodsRemark:m,goodsCode:h}=q(i,n),u=ne(h);return a(c,{className:"goodsDetailTab",children:[e(c,{className:"tabs",children:e(Yl,{tabActive:r,setTabActive:d,evaluateShow:l,evaluateImgShow:o,evaluateImg:s})}),e(c,{className:"group",children:0===r?e(Hl,{goodsRemark:m}):e(El,{evaluateArr:u,evaluateImgShow:o,evaluateImg:s})})]})},Kl=({skuName:l,handleChooseSize:o,spec:s,skuOption:t,index:i})=>{const{View:n,Text:c}=p(),r=le((e=>e.offShelf));return a(n,{className:"sizeArr",children:[e(c,{className:"title",children:l}),e(n,{className:"sizeArrItemWrap",children:t.map(((a,l)=>e(n,{className:f({sizeItem:!0,active:s[i]===a.specValueValue,offShelf:s[i]===a.specValueValue&&r}),onClick:o.bind(null,a.specValueValue,i),children:a.specValueValue},l)))})]})},Ql=s((({handleStep:l})=>{const{View:o,NumStep:s}=p(),t=le((e=>e.count));return a(o,{className:"countWrap",children:[e(o,{className:"label",children:"购买数量"}),e(s,{count:t,handleStep:l})]})})),ql=({skuInfo:o,handleChooseSize:s,spec:t,goodInfo:i})=>{const{Image:n,View:c}=p(),{skuList:r}=o,d=i&&"06"===i.goodsType?i.pricesetRefrice+"积分":la(i.pricesetNprice);return a(l,{children:[a(c,{className:"goodsInfo",children:[e(c,{className:"lPart",children:e(n,{src:je(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()]})]})]}),r.map(((a,l)=>e(Kl,{spec:t,handleChooseSize:s,index:l,skuName:a.skuName,skuOption:a.skuOption},l)))]})},$l=({cashImpl:o,addShoppingImpl:s,addCardImpl:t})=>{const{Text:i,View:n}=p(),c=le((e=>e.isNeedButton)),r=le((e=>e.offShelf));return r?e(n,{className:f({btnWrap:!0,offShelf:r}),children:e(i,{className:"btn",children:"已下架"})}):e(l,{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:o,children:"立即购买"})]})})},Zl=s((({dispatchPageStore:l,goodsCode:o,skuInfo:s,rsSkuDomainList:t})=>{const{View:i,ScrollView:n}=p(),{spec:c,goodInfo:r}=J(t),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:u,addShoppingImpl:g}=ce(o,s,t,l);return a(i,{className:"goodsDetail-size-popup",children:[e(Ba,{children:e(n,{children:a(i,{className:"content",children:[e(ql,{skuInfo:s,handleChooseSize:d,spec:c,goodInfo:r}),e(Ql,{handleStep:m.bind(null,r.goodsNum,r.goodsMinnum)})]})})}),e($l,{cashImpl:u,addShoppingImpl:g,addCardImpl:h})]})})),Xl=({popupVisible:a,dispatchPageStore:l,goodsCode:o,skuInfo:s,rsSkuDomainList:t})=>{const{Popup:i}=p();return e(i,{popupVisible:a,popupHandler:()=>{l({visible:!1})},children:e(Zl,{dispatchPageStore:l,goodsCode:o,skuInfo:s,rsSkuDomainList:t})})},Jl=s((({serverShow:o,cartShow:s,lPartShow:t,lPartColor:i,lPartBgColor:n,lPartStyle:c,rPartColor:r,rPartBgColor:d,rPartStyle:m,rPartText:h,dispatchPageStore:u,skuCode:g,platform:N,scene:f})=>{const{View:C,IconMobile:b,Text:w}=p(),x=le((e=>e.offShelf)),{rsSkuDomainList:S,goodPro:k}=q(g,f),{goodInfo:v}=J(S),{servicePopup:I}=ea(N),{addCardPopup:A,buyOpenPopup:B}=oe(u);return a(C,{className:"goodsDetailHandleBar",children:[a(C,{className:"linkGroup server",onClick:I,style:{display:o?"block":"none"},children:[e(b,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"客服"})]}),a(C,{className:"linkGroup cart",onClick:()=>y("shopping"),style:{display:s?"block":"none"},children:[e(b,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(C,{className:"txt",children:"购物车"})]}),e(C,{className:"goods-detail-btn-group",children:x?e(C,{className:"btn addCart offShelf",children:e(w,{className:"btn",children:"已下架"})}):a(l,{children:["26"===k||!1===t?null:e(C,{className:"btn addCart",onClick:A,style:{color:i,backgroundColor:n,borderTopLeftRadius:c,borderBottomLeftRadius:c},children:"加入购物车"}),e(C,{onClick:B,className:"btn buy",style:Object.assign({color:r,backgroundColor:d,borderTopRightRadius:m,borderBottomRightRadius:m},!1===t?{borderTopLeftRadius:m,borderBottomLeftRadius:m}:{}),children:h||("10"===v.goodsPro?"预售抢购":"立即购买")})]})})]})})),_l=o=>{var{$_dataSource:s={},dispatchPageStore:t=L,skuCode:i,scene:n}=o,c=Je(o,["$_dataSource","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=q(i,n),h=re(r,m),{popupVisible:p}=s;return a(l,{children:[e(Jl,Object.assign({skuCode:i},c,{dispatchPageStore:t})),e(Xl,{dispatchPageStore:t,popupVisible:p,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},eo=s((({serverShow:l,cartShow:o,lBtnBorderColor:s,lBtnFontColor:t,lBtnColor:i,lBtnStyle:n,rBtnBorderColor:c,rBtnFontColor:r,rBtnColor:d,rBtnStyle:m,dispatchPageStore:h,skuCode:u,scene:g,platform:N})=>{const{View:f,IconMobile:C}=p(),{rsSkuDomainList:b}=q(u,g),{goodInfo:w}=J(b),{servicePopup:x}=ea(N),{addCardPopup:S,buyOpenPopup:k}=oe(h);return a(f,{className:"goodsDetailHandleBarOne",children:[a(f,{className:"linkGroup server",onClick:x,style:{display:l?"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:o?"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:S,style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===n?"20px":"0"},children:"加入购物车"}),e(f,{onClick:k,className:"btn buy",style:{border:`1px solid ${c}`,color:r,backgroundColor:d,borderRadius:1===m?"20px":"0"},children:"10"===w.goodsPro?"预售抢购":"立即购买"})]})]})})),ao=o=>{var{popupVisible:s=!1,dispatchPageStore:t=L,skuCode:i,scene:n}=o,c=Je(o,["popupVisible","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=q(i,n),h=re(r,m);return a(l,{children:[e(eo,Object.assign({skuCode:i},c,{dispatchPageStore:t})),e(Xl,{dispatchPageStore:t,popupVisible:s,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},lo=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],oo=({setParams:l,activeColor:o})=>{const{View:s}=p(),[i,n]=t(0),[c,r]=t(lo);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,o)=>{n(a),o&&r((e=>(e[a].order="asc"===o?"desc":"asc",[...e]))),l({sortField:e,order:o})})(c,m,t),style:{color:i===m?o:""},children:[d,t&&a(s,{className:"orderIcons",children:[e(qe,{style:{color:i===m&&"desc"!==t?o:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(qe,{style:{color:i===m&&"desc"===t?o:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},so=s((({classtreeCode:l="",searchParam:o="",activeColor:s="#e54e29",goodsName:i=!0,goodsPrice:c=!0,lineationGoods:r=!0,salesQuantity:d=!0,goodsCar:m=!0,borderRadius:h=!0,goodsColor:u=!0,goodsGap:g=10,paddingLR:N=0,__link__:C={}})=>{console.log(111,C);const{View:b,Loading:y,SmoothView:w,Image:x,ScrollView:S,IconMobile:k}=p(),[v,I]=t({}),{loading:A,getData:B,list:T}=de(l,o,v),V=n((()=>f("textBox",{btm:!c&&!r})),[c,r]),L=n((()=>f("name",{boxNone:!i})),[i]),D=n((()=>f("middle_margin",{boxNone:!d})),[d]),P=n((()=>f("goodDetail",{boxNone:!c&&!r&&!m})),[c,r,m]),R=n((()=>f({detailContent:!(L.includes("boxNone")&&D.includes("boxNone")&&P.includes("boxNone"))})),[L,D,P]);return a(b,{className:"goodsList",children:[e(b,{className:"top-info",children:e(oo,{setParams:I,activeColor:s})}),e(b,{className:"listWrap",style:{padding:` 0px ${N}px`},children:e(Ba,{id:"listWrap",children:a(S,{onScroll:()=>B(v),children:[e(b,{className:"list",style:{gap:g},children:T.map((l=>a(b,{onClick:()=>Ye(C,{skuCode:l.skuCode}),className:"listItem",style:{borderRadius:h?"8px":"",boxShadow:u?"4px 4px 4px #969292":""},children:[e(x,{src:je(l.dataPic),className:"img"}),a(b,{className:R,children:[e(w,{className:L,children:l.goodsName}),a(b,{className:D,children:["已售:",l.goodsNum]}),a(b,{className:P,children:[a(b,{className:V,children:[e(w,{className:"price",style:{display:c?"block":"none"},children:la(l.pricesetNprice)})," ",e(b,{className:"decoration",style:{display:r?"block":"none"},children:la(l.pricesetMakeprice)})]}),e(b,{style:{display:m?"block":"none"},children:e(k,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},l.skuCode)))}),A?e(y,{}):null]})})})]})})),to=({dispatchPageStore:a,$_dataSource:l={cartIsEditor:!1},btnStyle:o,borderColor:s,textColor:t,btnColor:i,btnShape:c})=>{const{View:r}=p(),{cartIsEditor:d}=l,{editorImpl:m}=me(a),h=n((()=>({border:o?`2px solid ${s}`:"",color:o?t:"",background:o?i:"",borderRadius:o?c:""})),[o,s,t,i,c]);return e(r,{className:"cart-edit",children:e(r,{className:"btn",onClick:m,style:h,children:d?"完成":"编辑"})})},io=s((({promotionName:l,checked:o,promotionCode:s})=>{const{View:t,Radio:i}=p();return a(t,{className:"promotion-item",children:[e(t,{className:"content",children:l}),e(t,{className:"choose",children:e(i,{"data-code":o,checked:o,value:s})})]})})),no=({onChange:a,promotionCode:l,visible:o,setVisible:s,promotion:t})=>{const{Popup:i,ScrollView:n,View:c,SmoothRadio:r}=p();return e(i,{popupVisible:o,popupHandler:s,children:e(c,{className:"goodsDetail-coupon-popup",children:e(Ba,{children:e(n,{children:e(r,{onChange:a,children:t.map(((e,a)=>m(io,Object.assign({checked:e.promotionCode===l},e,{key:a}))))})})})})})},co=s((({goodsName:o,dataState:s,skuName:t,goodsCamount:i,shoppingGoodsId:n,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=p();return e(l,{children:a(d,{className:"cartItem-info",children:[e(m,{className:"cartItem-goodsName",children:o}),a(d,{className:"cartItem-size",children:["规格:",t," X ",i]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:la(c)}),0===s&&e(h,{count:i,handleStep:r.bind(null,n,i)})]})]})})})),ro=s((({dataPic:l,dataState:o,skuCode:s})=>{const{Image:t,View:i}=p(),c=n((()=>{let a="";switch(o){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!==o?e(i,{className:"bg",children:e(t,{className:"icon-img",src:a})}):null}),[o]);return a(i,{className:"cart-item-image",children:[c,e(t,{className:"img",src:l,onClick:()=>y("goodDetail",{skuCode:s})})]})})),mo=s((({cartIsEditor:a,shoppingGoodsId:l,dataState:o,select:s=[]})=>{const{View:t,Checkbox:i}=p(),c=n((()=>(a||0===o)&&s.includes(l)),[s,a,l,o]);return console.log(106,typeof l),e(t,{className:"checkBoxWrap",children:e(i,{disabled:!a&&0!==o,checked:c,value:l,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),ho=({promotion:o=[],updatePm:s,shoppingGoodsId:i,promotionCode:c})=>{const{View:r}=p(),[d,m]=t(!1),h=n((()=>((o||[]).find((e=>e.promotionCode===c))||{}).promotionName),[o]);return a(l,{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(no,{promotionCode:c,onChange:e=>{m(!1),s(i,pe(e))},promotion:o||[],visible:d,setVisible:m})})]})},po=s((l=>{var{item:o}=l,s=Je(l,["item"]);const{View:t}=p(),{select:i,cartIsEditor:n}=s;return a(t,{className:"cart-list-item",children:[e(mo,{cartIsEditor:n,dataState:o.dataState,select:i,shoppingGoodsId:o.shoppingGoodsId}),e(ro,{dataState:o.dataState,dataPic:je(o.dataPic),skuCode:o.skuCode}),e(co,Object.assign({},o,s))]})})),uo=o=>{var{shoppingGoodsList:s=[]}=o,t=Je(o,["shoppingGoodsList"]);return e(l,{children:s.map(((l,o)=>a(h,{children:[e(po,Object.assign({},t,{item:l})),l.pmPromotionList?e(ho,{promotionCode:t.promotionCode,shoppingGoodsId:l.shoppingGoodsId,updatePm:t.updatePm,promotion:l.pmPromotionList}):null]},o)))})},go=({disNextMsg:l,link:o})=>{const{View:s,IconMobile:t}=p(),i=n((()=>V(o)?null:a(s,{style:{color:"#ED4444",textAlign:"right"},onClick:()=>Ye(o,{}),children:["去凑单",e(t,{style:{fontSize:"14px",color:"#888"},value:"xiangyou1"})]})),[o]);return a(s,{className:"cart-dis-title-msg",children:[e(s,{className:"dis-msg",children:l}),i]})},No=({disNextMsg:l,promotionName:o,pbName:s,link:t})=>{const{View:i,SmoothView:n}=p();return a(i,{className:"cart-dis-title",children:[e(n,{className:"tips",children:s}),e(n,{className:"title",children:o}),l&&e(go,{link:t,disNextMsg:l})]})},fo=({refreshNum:o,dispatchPageStore:s,$_dataSource:t={cartSelect:[],cartUpdateCount:0,cartIsEditor:!1},__link__:i={},cartItemRadius:n="10px"})=>{const{SmoothCheckbox:c,WrapLoading:r,View:d}=p(),{cartSelect:m,cartUpdateCount:u,cartIsEditor:g}=t,{loading:N,cartList:f,onChange:C,handleStep:b,updatePm:y}=he(o,u,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(l,{children:f.map((({memberName:l,promotionCode:o,disNextMsg:s,promotionName:t,pbName:c,shoppingGoodsList:r},p)=>a(h,{children:[e("h4",{children:l}),a(d,{className:"cart-bg",style:{borderRadius:n},children:[t?e(No,{link:i,disNextMsg:s,promotionName:t,pbName:c}):null,e(uo,{cartIsEditor:g,promotionCode:o,handleStep:b,select:m,updatePm:y,shoppingGoodsList:r,cartItemRadius:n})]})]},p)))}):e(Ja,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},Co=({$_dataSource:l={cartInfo:[],cartDisMoney:0,cartSelect:[],cartIsEditor:!1},dispatchPageStore:o,countBorderColor:s="#000000",countTextColor:t="#ffffff",countBtnColor:i="#000000",countBtnShape:c="20px"})=>{const{View:r,SmoothView:d,SmoothCheckbox:m,Checkbox:h}=p(),{cartInfo:u,cartDisMoney:g,cartSelect:N,cartIsEditor:f}=l,{toOrderImpl:C,deleteCart:b,selectAll:y,cartDetail:w}=ue(N,u,o),x=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:u.length===N.length?["true"]:[],onChange:y,children:e(h,{checked:u.length===N.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),f?e(r,{className:"del",children:e(r,{onClick:b,className:"btn",children:"删除"})}):a(r,{className:"check",children:[a(r,{className:"priceGroup",children:[a(r,{className:"discount",children:["优惠: ",e(d,{className:"data",children:la(g)})]}),a(r,{className:"all",children:["总计: ",e(d,{className:"data",children:la(w.amount)})]})]}),a(r,{onClick:C,className:"btn",style:x,children:["结算(",w.num,")"]})]})]})},bo=({address:a})=>e(l,{children:V(a)?e(wo,{}):e(yo,{address:a})}),yo=({address:l})=>{const{View:o,SmoothView:s,IconMobile:t}=p(),i=n((()=>{const{provinceName:e,addressDefault:a,cityName:o,areaName:s,addressDetail:t,addressMember:i="",addressPhone:n=""}=l;return{addressDefault:"1"===a,addressMember:i,addressPhone:n,address:e+o+s+t}}),[l]);return a(o,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(o,{className:"left",children:[a(o,{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"}})]})},wo=()=>{const{View:o,Text:s}=p();return a(l,{children:[a(o,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},xo=({refreshNum:a,skuId:l="",goodsNum:o=0,shoppingGoodsId:s=""})=>{const{View:t}=p(),i=ge(a,o,l,s);return e(t,{className:"placeOrder-chooseAddress",onClick:()=>y("addressList"),children:e(bo,{address:i})})},So=({address:a})=>e(l,{children:V(a)?e(vo,{}):e(ko,{address:a})}),ko=({address:l})=>{const{View:o,SmoothView:s,IconMobile:t}=p(),i=n((()=>{const{provinceName:e,cityName:a,areaName:o,addressDetail:s,addressMember:t="",addressPhone:i=""}=l;return{displayName:t,displayPhone:i,address:(e||"")+(a||"")+(o||"")+(s||"")}}),[l]);return a(o,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(o,{className:"left",children:[a(o,{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"}})]})},vo=()=>{const{View:o,Text:s}=p();return a(l,{children:[a(o,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},Io=({refreshNum:a})=>{const{View:l}=p(),o=Ne(a);return e(l,{className:"placeOrder-chooseAddress",onClick:()=>y("pickupPointList"),children:e(So,{address:o})})},Ao=({tabActive:o,setTabActive:s})=>{const{Text:t}=p();return e(l,{children:[{title:"快递",id:"0"},{title:"自提",id:"1"}].map(((l,i)=>e(h,{children:a(t,{className:"tabsItem "+(o===l.id?"active":""),onClick:()=>s(l.id),children:[l.title,e(t,{className:"line"})]})},l.id)))})},Bo=({refreshNum:l,skuId:o="",goodsNum:s=0,shoppingGoodsId:n=""})=>{const{View:c,Text:r}=p(),[d,m]=t("0");return i((()=>{fe.contractPumode=d}),[d]),a(c,{className:"placeOrderAddressTabs",children:[a(c,{className:"delivery-header",children:[e(r,{className:"delivery-label",children:"配送方式:"}),e(c,{className:"tabs",children:e(Ao,{tabActive:d,setTabActive:m})})]}),e(c,{className:"content",children:"0"===d?e(xo,{refreshNum:l&&l.addressId,skuId:o,goodsNum:s,shoppingGoodsId:n}):e(Io,{refreshNum:l&&l.userinfoOcode,skuId:o,goodsNum:s,shoppingGoodsId:n})})]})},To=s((({couponStart:l,pbName:o,discName:s,promotionCode:t,promotionName:i,couponEnd:n})=>{const{View:c,Text:r,Radio:d}=p();return e(c,{className:"couponItem",children:a(c,{className:"coupon-content",children:[a(c,{className:"price",children:[e(c,{className:"symbol",children:o}),e(c,{className:"num",children:s})]}),a(c,{className:"info",children:[e(r,{className:"title",children:i}),a(r,{className:"date",children:[Ue(l).format("YYYY-MM-DD")," - ",Ue(n).format("YYYY-MM-DD")]})]}),e(c,{className:"choose",children:e(d,{value:t})})]})})})),Vo=({refreshNum:o,goodsNum:s,skuId:t,shoppingGoodsId:i})=>{const{View:n,Text:c,Popup:r,SmoothRadio:d,ScrollView:h,Radio:u,Image:g}=p(),{shoppingGoodsList:N}=Ce({refreshNum:o,goodsNum:s,skuId:t,shoppingGoodsId:i}),{coupon:f,visible:C,setVisible:b,selectCoupon:y,onChange:w,onCreditChange:x,contractPmode:S,onPayChange:k,payList:v,payName:I,creditList:A,creditInfo:B,selectCredit:T,creditVisible:V,payVisible:L,setPayVisible:D,handleChooseImg:P,contractEcurl:R,setCreditVisible:M}=be(N);return a(l,{children:[a(n,{className:"coupon-select",onClick:()=>b(0!==f.length),children:[e(c,{className:"label",children:"使用优惠"}),a(n,{className:"info",children:[e(c,{className:"label",children:y?`已选择: ${y}`:0===f.length?"暂无可用优惠券":"请选择优惠券"}),0===f.length?null:e("img",{src:xl,alt:"",className:"icon"})]})]}),a(n,{className:"coupon-select",onClick:()=>D(!0),children:[e(c,{className:"label",children:"支付方式"}),a(n,{className:"info",children:[e(c,{className:"label",children:I?`已选择: ${I}`:"请选择支付方式"}),0===f.length?null:e("img",{src:xl,alt:"",className:"icon"})]})]}),B.urechargeId&&"0"===S&&a(n,{className:"coupon-select",onClick:()=>M(0!==A.length),children:[e(c,{className:"label",children:"使用授信"}),a(n,{className:"info",children:[e(c,{className:"label",children:T?0===+T?"不使用":`已选择: ${T}%`:"请选择授信"}),0===f.length?null:e("img",{src:xl,alt:"",className:"icon"})]})]}),"1"===S&&a(n,{className:"coupon-select",children:[e(c,{className:"label",children:"附件上传"}),a(n,{style:{fontSize:12,display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[e(n,{className:"img-fields",onClick:P,children:R?e(g,{src:R,className:"img",alt:R,mode:"widthFix"}):e(n,{children:"上传图片"})}),e(n,{children:"只能上传jpg/png文件,且不超过5mb"})]})]}),e(r,{popupVisible:L,popupHandler:D,children:e(n,{className:"goodsDetail-coupon-popup ver-line",children:e(Ba,{children:e(h,{children:e(d,{value:"0",onChange:k,children:v.map(((l,o)=>a(n,{style:{marginBottom:5},children:[e(u,{checked:l.ptfpmodeType===S,value:l.ptfpmodeType}),l.ptfpmodeName]},o)))},"payVisible")})})})}),e(r,{popupVisible:V,popupHandler:M,children:e(n,{className:"goodsDetail-coupon-popup ver-line",children:e(Ba,{children:e(h,{children:e(d,{onChange:x,children:A.map(((l,o)=>a(n,{style:{marginBottom:5},children:[e(u,{value:l.flagSettingInfo}),0===l.flagSettingInfo?"不使用":`${l.flagSettingInfo}%`]})))},"creditVisible")})})})}),e(r,{popupVisible:C,popupHandler:b,children:e(n,{className:"goodsDetail-coupon-popup",children:e(Ba,{children:e(h,{children:e(d,{onChange:w,children:f.map(((e,a)=>m(To,Object.assign({},e,{key:a}))))},"visible")})})})})]})},Lo=({shippingMethod:l=1})=>{const{View:o}=p();return e(o,{className:"info placeOrder-blcWrap",style:1===l?{display:"block"}:{display:"none"},children:a(o,{className:"express placeOrder-blcItem",children:[e(o,{className:"label",children:"配送方式"}),e(o,{className:"value",children:"快递"})]})})},Do=({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:s})=>{const{View:t}=p(),{list:i}=Ce({refreshNum:a,goodsNum:l,skuId:o,shoppingGoodsId:s});return e(t,{className:"place-order-goods",children:i.map(((a,l)=>e(ja,Object.assign({},a),l)))})},Po=({refreshNum:l,goodsNum:o,skuId:s,shoppingGoodsId:t})=>{const{View:i,SmoothView:n,Image:c,TextArea:r,Textarea:d}=p(),m=d||r,h=Ce({refreshNum:l,goodsNum:o,skuId:s,shoppingGoodsId:t}),{payState:u,disCount:g,creditMoney:N,freight:f,payPrice:C,rebMoney:b}=h,y=h.pointsDeduction||0,w=h.urDiscount||0,{shoppingCountPrice:x,comDisMoney:S,changeContent:k,shoppingType:v,pricesetRefrice:I}=ye(u),A="06"===v?I+"积分":la(x),B="06"===v?Math.max(Number(I)-y,0)+"积分":la(Math.max(C-N,0));return e(i,{style:{paddingBottom:80},children:a(i,{className:"price placeOrder-blcWrap",children:[e(i,{className:"title",children:"价格明细"}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"商品总金额"}),e(n,{className:"value",children:A})]}),y>0&&a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"积分抵扣"}),a(n,{className:"value",style:{color:"#f00"},children:["-","06"===v?y+"积分":la(y)]})]}),"06"===v?null:a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"会员权益优惠"}),a(n,{className:"value",style:{color:"#f00"},children:["-",la(w)]})]}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"授信付款:"}),e(n,{className:"value",children:la(-N)})]}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"返利金额"}),e(n,{className:"value",children:la(-b.current)})]}),a(i,{className:"coupon placeOrder-blcItem",children:[e(i,{className:"label",children:"优惠金额"}),e(n,{className:"value",children:la(-(S+g))})]}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"运费"}),e(n,{className:"value",children:la(f)})]}),a(i,{className:"all placeOrder-blcItem",children:[e(i,{className:"label",children:"订单备注"}),e(m,{className:"content",placeholder:"订单备注",rows:5,maxLength:30,onInput:k})]}),a(i,{className:"all placeOrder-blcItem",children:[e(i,{className:"label",children:"总计"}),e(n,{className:"value",style:{color:"#000"},children:B})]})]})})},Ro=({color:l,buttonColor:o,borderColor:s,borderRadius:t,refreshNum:i,goodsNum:n,skuId:c,shoppingGoodsId:r})=>{const{View:d,Text:m,WrapLoading:h}=p(),{payPrice:u,list:g,payState:N,creditMoney:f,ocContractSettlList:C,pointsDeduction:b}=Ce({refreshNum:i,goodsNum:n,skuId:c,shoppingGoodsId:r}),{savePayPrice:y,loading:w}=we({ocContractSettlList:C,payState:N,list:g},r,Math.max(u-f,0)),x={shoppingType:"",pricesetRefrice:""};N&&N.length>0&&(x.shoppingType=N[0].shoppingType||"",x.pricesetRefrice=N[0].pricesetRefrice||"");const S="06"===x.shoppingType?Math.max(Number(x.pricesetRefrice)-b,0)+"积分":la(Math.max(u-f,0));return a(d,{className:"placeOrderFooter",children:[a(m,{className:"price",children:["合计: ",S]}),e(h,{loading:w,children:e(d,{className:"btn",onClick:y,style:{color:`${l}`,border:`1px solid ${s}`,backgroundColor:`${o}`,borderRadius:1===t?"40px":"0px"},children:"生成订单"})})]})},Mo=s((({contractBillcode:l,contractBbillcode:o,btnColor:s,btnShape:t,borderColor:c,paddingTop:r,paddingBottom:d,color:m})=>{const h=n((()=>C()),[]),{View:u,Text:g,Radio:N,IconMobile:f,WrapLoading:b,SmoothRadio:y}=p(),{paymentImpl:w,channelList:x,contract:S,handleRadio:k,loading:v}=xe({contractBillcode:l,contractBbillcode:o});return i((()=>{console.log("打印下当前的channelList",x)}),[]),a(u,{className:"paymentModeWrap",style:{height:h?"inherit":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:[a(u,{className:"paymentMode",children:[a(u,{className:"topInfo",children:[a(g,{className:"title",children:[e(f,{value:"roundcheck"}),"订单提交成功"]}),a(u,{className:"info",children:["订单号:",S.current.contractBillcode," | 总金额:",la(S.current.contMoney+(S.current.logMoney||0)),"元"]}),a(u,{className:"info",children:["还需支付:",la(S.current.orderMoney),"元"]})]}),e(u,{className:"paymentGroup",children:e(y,{onChange:k,children:null==x?void 0:x.map((l=>a(u,{className:"paymentItem",children:[e(f,{value:l.fchannelBankImgurl}),a(u,{children:[a(u,{className:"base",children:[e(g,{children:l.fchannelName}),e(N,{value:"1"===l.ptfchannelAmt?l.ptfchannelAmt:l.fchannelCode,className:"choose"})]}),"1"===l.ptfchannelAmt?a(u,{className:"info",children:[a(u,{children:["账户余额:",l.faccountAmount,"元"]}),a(u,{children:["支付金额:",la(S.current.orderMoney),"元"]})]}):null]})]},l.fchannelCode)))})})]}),e(u,{id:"v_html"}),e(b,{loading:v,children:e(u,{className:"btnGroup",onClick:w,children:e(u,{style:{borderRadius:t,backgroundColor:s,color:m,borderColor:c},className:"payment",children:"立即支付"})})})]})})),Oo=({dataObj:l})=>{const{View:o,Text:s}=p();return a(o,{className:"placeOrderResultWrap",children:[a(o,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"订单号:"}),e(s,{className:"value",children:l.contractBillcode})]}),a(o,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付方式:"}),e(s,{className:"value",children:"在线支付"})]}),a(o,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付金额:"}),e(s,{className:"value",children:la(l.dataBmoney)})]})]})},zo=s((({code:l,borderRadius:o,leftColor:s,leftButtonColor:t,leftBorderColor:i,leftBorderRadius:n,rightValue:c,rightAddHref:r,rightColor:d,rightButtonColor:m,rightBorderColor:h,rightBorderRadius:u,paddingTop:g,paddingBottom:N})=>{const{View:f,Text:C,IconMobile:b,WrapLoading:x}=p(),{result:S,loading:k}=Se(l||(w("contractBillcode")||{}).contractBillcode);return e(f,{className:"placeOrderResult",style:{paddingTop:g,paddingBottom:N},children:e(x,{loading:k,children:a(f,{className:"placeOrderResultContent",style:{borderRadius:1===o?"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(Oo,{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 ${i}`,borderRadius:1===n?"20px":"0px"},children:S.buttonText}),e(f,{style:{color:d,backgroundColor:m,border:`1px solid ${h}`,borderRadius:1===u?"20px":"0px"},onClick:()=>y(r.value),className:"btn white",children:c})]})]})})})})),{Button:Fo}=g,jo=a=>{var{dataState:o}=a,s=Je(a,["dataState"]);return e(l,{children:["2","-1"].includes(o+"")?null:e(Wo,Object.assign({dataState:o},s))})},Wo=a=>{var{dataState:l,contractAppraise:o,color:s,borderColor:t,btnColor:i,btnShape:n}=a,c=Je(a,["dataState","contractAppraise","color","borderColor","btnColor","btnShape"]);const{View:r}=p();4!==l&&4!==l||1===o?4!==l&&4!==l||1!==o||(l=5):l=4;const{operateArray:d,handlerImpl:m}=ke(Object.assign({dataState:l},c));return e(r,{className:"btnGroup",children:d.map(((a,l)=>e(Fo,{style:{color:s,borderColor:t,backgroundColor:i},className:f({btn:!0,white:0===l,black:1===l}),onClick:()=>m(a.handler),shape:n,children:a.name},l)))})},{Button:Go}=g,Eo=({contractPaydate:a,init:o,countdownCancel:s,contractId:n})=>{const{View:c,SmoothView:r}=p(),{resultTime:d}=((e,a,l,o)=>{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?l(o).then((()=>{a()})):i>1e3&&n(sa(i,"后将取消订单,请尽快支付"))}),1e3);return()=>{clearTimeout(s)}}),[s]),{resultTime:s}})(a,o,s,n);return e(l,{children:d?e(c,{className:"card-item-info-countDown",children:e(r,{children:d})}):null})};function Ho({contractBillcode:l,dataBmoney:o,dataBnum:s,goodsList:t,dataState:i,contractId:n,init:c,contractAppraise:r,borderRadius:d,orderSpacing:m,contractPaydate:h,countdownCancel:u}){const{View:g}=p(),N=ve(i);return a(g,{className:"orderListItem",style:{borderRadius:d?8:"",marginTop:m,marginBottom:m},children:[a(g,{onClick:()=>y("orderDetail",{contractBillcode:l}),children:[a(g,{className:"topInfo",children:[a(g,{className:"orderNo",children:["订单号: ",l,e(Go,{className:"copy",size:"mini",fill:"outline",children:"复制"})]}),e(g,{className:"status",children:N})]}),e(g,{className:"card-item-info-countDown"}),e(g,{className:"goodsItemWrap",children:t.map((a=>e(ja,Object.assign({},a,{dataState:i,children:1===i&&e(Eo,{contractPaydate:h,init:c,countdownCancel:u,contractId:n})}),a.contractGoodsId)))})]}),a(g,{className:"allInfo",children:[a(g,{className:"totalNum",children:["共",s,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",la(o)]})]}),e(jo,{init:c,contractId:n,contractBillcode:l,dataState:i,contractAppraise:r})]})}const Yo=()=>{const{View:a,Image:l}=p();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const Uo=s((function({item:l,refreshNum:o,borderRadius:s,orderSpacing:t}){const{View:i,ScrollView:n,Loading:c}=p(),{onScroll:r,data:d,loading:h,init:u,countdownCancel:g}=Ie(l,o);return e(i,{className:"orderListItemWrap",children:e(Ba,{id:"orderListItemWrap",children:e(n,{onScroll:r,children:d.length>0?a(i,{children:[d.map(((e,a)=>m(Ho,Object.assign({init:u},e,{key:a,borderRadius:s,orderSpacing:t,countdownCancel:g})))),e(i,{children:h?e(c,{}):null})]}):a(i,{className:"nodata_img",children:[e(Yo,{}),e(i,{className:"nodata-btn",onClick:()=>y("goodList"),children:"前往购物"})]})})})})})),Ko=s((({refreshNum:a=0,indexId:l=0,borderRadius:o=!1,orderSpacing:s=12})=>{const{View:t,Tabs:i}=p();return e(t,{className:"order-container",children:e(i,{defaultIndex:+l,tabs:Ae,render:l=>e(t,{className:"orderList",children:e(Uo,{item:l,orderSpacing:s,refreshNum:a,borderRadius:o})})})})})),{Button:Qo}=g,qo=s((({copyContent:a=""})=>{const[l,o]=t(!1),s=n((()=>C()),[]);return e(Qo,{className:"copy",size:"mini",fill:"outline",onClick:()=>{if(s){const e=b();if(""===a)return void e.showToast({title:"复制内容为空",icon:"error"});e.setClipboardData({data:a,success:()=>{e.showToast({title:"复制成功",icon:"success"}),o(!0)},fail:()=>{e.showToast({title:"复制失败",icon:"error"})}})}},children:l?"已复制":"复制"})})),$o=s((({contractBillcode:o,expressWay:s,backgroundColor:t,color:i,paddingBottom:n,paddingTop:c,borderColor:r,btnColor:d,btnShape:m})=>{const{View:h,Text:u,Image:g}=p(),{orderDetail:N,handleApplyBtn:f,creditMoney:C,packageRemark:b}=Be(o||""),y=e=>Ue(e).format("YYYY-MM-DD HH:mm:ss");return a(h,{className:"orderDetail",children:[e(h,{style:{backgroundColor:t},className:"orderDetailTopTitle",children:a(h,{className:"orderDetailTopTitleContent",children:[a(h,{className:"icon_text",children:["待收货"===ve(N.dataState)?e(qe,{value:"daishouhuo",style:{color:"#ffffff",marginRight:"10px",fontSize:"20px"}}):"",e(u,{className:"title",children:ve(N.dataState)})]}),e(h,{className:"subTitleWrap",children:y(N.gmtCreate)})]})}),e(h,{className:"orderDetailContent",style:{paddingTop:c+"px",paddingBottom:n+"px"},children:a(h,{style:{position:"relative",top:-26},children:[a(h,{className:"addressInfo",children:[e(h,{className:"lPart",children:e(qe,{value:"dizhi"})}),a(h,{className:"mPart",children:[a(h,{className:"personInfo",children:[e(u,{className:"personName",children:N.goodsReceiptMem}),e(u,{className:"personPhone",children:N.goodsReceiptPhone})]}),e(h,{className:"address",children:N.goodsReceiptArrdess})]}),e(h,{className:"rPart"})]}),a(h,{className:"orderDetailGoodsWrap",children:[N.goodsList.map((o=>a(l,{children:[e(ja,Object.assign({},o),o.contractGoodsId),Number(N.dataState)>1&&Number(N.dataState)<5?e(h,{className:"orderBtn",onClick:f.bind(null,o,N.dataState),children:"申请退款"}):""]}))),a(h,{className:"priceInfo",children:[a(h,{className:"priceInfoFloor top",children:[a(h,{className:"totalNum",children:["共",N.goodsNum,"件商品"]}),a(h,{className:"totalPrice",children:["合计 ",parseFloat((N.dataBmoney-N.refundMoney).toFixed(2))]})]}),a(h,{className:"priceInfoFloor",children:[e(h,{className:"totalNum",children:"商品总额"}),a(h,{className:"totalPrice",children:["¥",N.contractInmoney]})]}),a(h,{className:"priceInfoFloor",children:[e(h,{className:"totalNum",children:"运费"}),a(h,{className:"totalPrice",children:["¥",N.goodsLogmoney]})]}),a(h,{className:"priceInfoFloor",children:[e(h,{className:"totalNum",children:"优惠"}),a(h,{className:"totalPrice",children:["¥",-N.goodsPmoney]})]})]})]}),s&&a(h,{className:"express",children:[e(h,{className:"label",children:"配送方式1"}),e(h,{className:"name",children:"1"===N.contractPumode?"自提":"快递"})]}),a(h,{className:"orderInfo",children:[e(h,{className:"orderInfoItem",children:e(h,{style:{fontSize:14},children:"订单信息"})}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"买家留言"}),e(h,{className:"name",children:b||"-"})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"订单编号"}),a(h,{className:"context_copy",children:[e(h,{className:"name",children:N.contractBillcode}),e(qo,{copyContent:N.contractBillcode})]})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"下单时间"}),e(h,{className:"name",children:y(N.gmtCreate)})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"授信金额"}),e(h,{className:"name",children:la(-C)})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"支付方式"}),e(h,{className:"name",children:e(h,{className:"name",children:"0"===N.contractPmode?"线上支付":"线下支付"})})]}),"1"===N.contractPmode&&a(h,{className:"orderInfoItem container-img-top",children:[e(h,{className:"label",children:"付款凭证"}),e(h,{className:"name",children:e(g,{mode:"widthFix",style:{width:100},src:je(N.contractEcurl)})})]})]}),e(h,{className:"btnGroupFooter",children:e(jo,{borderColor:r,btnColor:d,btnShape:m,color:i,contractBillcode:N.contractBillcode,contractId:N.contractId,dataState:N.dataState})})]})})]})})),Zo=({defaultValue:l,info:o,detail:s,stateObj:t})=>{const{View:i}=p(),n=B(o,"packageList[0].contractGoodsList[0].dataPic",l.dataPic),c=B(o,"packageList.length",l.count),r=B(o,"packageList[0].expressName",l.expressName),d=B(o,"packageList[0].packageBillno",l.packageBillno),m=B(s,"state",l.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]})]})]})},Xo=({defaultValue:l,detail:o})=>{const{View:s}=p(),t=B(o,"message",l.message),i=B(o,"data",l.list);return e(s,{className:"expressInfoStep",children:"ok"===t?i.map(((l,o)=>a(s,{className:"step",children:[e(s,{className:"time",children:l.time}),e(s,{children:l.context})]},o))):e(s,{className:"noInfo",children:t})})},Jo=s((({code:l,defaultValue:o})=>{const{View:s}=p(),{info:t,detail:i,stateObj:n}=Te(l);return a(s,{className:"expressInfo",children:[e(Zo,{info:t,detail:i,stateObj:n,defaultValue:o}),e(Xo,{detail:i,defaultValue:o})]})})),_o=s((({avatarStyle:l,paddingTop:o,paddingBottom:s,userAvatar:n,userNickname:c,refreshNum:r})=>{const{View:d,Text:m,IconMobile:h,Image:u}=p(),{servicePopup:g}=ea(),[N,f]=t(c),[C,b]=t(n);return i((()=>{f(w("userNickname")),b(w("userAvatar"))}),[r]),a(d,{className:"mineData",style:{paddingTop:`${o}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(u,{src:C,alt:"",className:"avatar",style:{borderRadius:l?"50%":"2px"}})]})]})})),es=s((({title:l,columnList:o})=>{const{View:s,Text:n,Badge:c,Image:r}=p(),[d,m]=t({});i((()=>{_e(void 0,void 0,void 0,(function*(){try{const e=yield I();m(e.dataObj)}catch(e){}}))}),[]);const h=(e,a)=>{4!==e.id?y("orderlist",{indexId:a>1?a+2:a+1}):y("afterSalesList")};return console.log(333,o,d),a(s,{className:"mineOrderEntry",children:[a(s,{className:"title",children:[e(s,{className:"name",children:l}),e(s,{className:"more",onClick:()=>y("orderlist"),children:"查看全部"})]}),e(s,{className:"content",children:o.map(((l,o)=>a(s,{onClick:h.bind(null,l,o),className:"contentItem",style:{display:l.show?"block":"none"},children:[e(c,Object.assign({},d[l.code]>0?{content:d[l.code]}:{},{color:"#f00",style:{color:"#fff",fontSize:12},children:e(r,{src:l.imgUrl,className:"icon"})})),e(n,{className:"subTitle",children:l.label})]},o)))})]})})),as=s((({paddingTop:l,paddingBottom:o,columnList:s})=>{const{View:t,Text:i,IconMobile:n,Image:c}=p();return e(t,{className:"mineFunction",style:{paddingTop:l+"px",paddingBottom:o+"px"},children:s.map(((l,o)=>a(t,{className:"menuListItem",onClick:()=>y(l.link.value),children:[a(t,{className:"lPart",children:[e(c,{src:je(l.imgUrl),className:"icon"}),e(i,{className:"label",children:l.link.label})]}),e(n,{value:"xiangyou1"})]},o)))})})),ls=({starColor:l="#FF0934",starSize:o="12px",itemData:s})=>{const{View:t,Text:i,Image:n}=p(),{Rate:c}=g;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":o,"--active-color":l}})]})]}),a(t,{className:"size",children:["规格: ",s.size]}),e(t,{className:"content",children:s.evaluate}),e(t,{className:"img-group",children:s.imgUrls.map(((a,l)=>e(n,{src:a.imgUrl,className:"img"},l)))})]})},os=[{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[o,s]=t("1"),{View:i}=p(),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(l,{children:[e(i,{className:"evaluateListTab",children:n.current.map((e=>a(i,{className:"evaluateListTabItem "+(e.index===o?"active":""),"data-index":e.index,onClick:r.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(i,{className:"evaluateListContent",children:os.map(((a,l)=>e(ls,{itemData:a},l)))})]})})),ts=s((({code:l,borderRadius:o,borderColor:s,color:t,buttonColor:i,buttonBorderRadius:n,paddingTop:r,paddingBottom:d})=>{const{orderInfo:m,changeStar:u,Submit:N,changeContent:f}=Ve(l),{Button:C}=g,{View:b,Image:y,TextArea:w,Textarea:x}=p(),S=x||w,k=c("宝贝满足你吗?分享一下它吧");return a(b,{className:"evaluateDetail",style:{paddingTop:r,paddingBottom:d},children:[m.map(((l,s)=>a(h,{children:[a(b,{className:"topInfo",children:[a(b,{className:"lPart",children:[e(y,{src:je(l.dataPic),className:"img",style:{borderRadius:1===o?"20px":"0px"}}),a(b,{className:"goodsInfo",children:[e(b,{className:"goodsName",children:l.goodsName}),e(b,{className:"goodsSize",children:l.skuName})]})]}),e(b,{className:"rPart",children:a(b,{className:"price",children:["¥ ",l.pricesetNprice]})})]}),a(b,{className:"rate",children:[e(b,{className:"title",children:"商品评价"}),e(Wl,{onChange:u.bind(null,s)})]}),e(b,{className:"evaluate",children:e(S,{className:"content",placeholder:k.current,rows:5,maxLength:30,onInput:f.bind(null,s)})})]},s))),e(C,{style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===n?"20px":"0px"},className:"btn",onClick:N,children:"提交"})]})})),is=({item:l,edit:o,checked:s})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=p();return a(t,{className:"collectItem",children:[o?e(n,{className:"lPart",value:l.collectCode,checked:s}):null,a(t,{className:"rPart",onClick:()=>y("goodDetail",{skuCode:l.collectOpcode}),children:[e(i,{src:je(l.collectOppic),className:"img"}),a(t,{className:"info",children:[e(c,{className:"title",children:l.collectOpcont}),a(c,{className:"price",children:[l.collectOpnum," 元"]})]})]})]})},ns=s((()=>{const{collectionList:l,edit:o,setEdit:s,getData:t,getSelectItem:i,delItem:n,init:c,checked:r,handleSelectAll:d,selectAllChecked:m}=Le(),{View:h,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:f,Image:C}=p();return e(h,{className:"collectList",children:0===l.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(!o),children:o?"完成":"编辑"})}),e(Ba,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(g,{onChange:i,style:{height:"100%"},children:l.map((a=>e(is,{item:a,edit:o,checked:r},a.collectId)))}),o?a(h,{className:"handleBar",children:[e(h,{className:"checkAll",children:e(g,{onChange:d,children:e(N,{value:"1",checked:m,children:"全选"})})}),e(f,{className:"btn",onClick:n,children:"删除"})]}):null]})})]})})})),cs=({item:l,edit:o,checked:s})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=p();return a(t,{className:"collectItem",children:[o?e(n,{className:"lPart",value:l.collectCode,checked:s}):null,a(t,{className:"rPart",onClick:()=>y("merchantShop",{memberCode:l.collectOpcode}),children:[e(i,{src:je(l.collectOppic),className:"img"}),e(t,{className:"info",children:e(c,{className:"title",children:l.collectOpcont})})]})]})},rs=s((()=>{const{collectionList:l,edit:o,setEdit:s,getData:t,getSelectItem:i,delItem:n,init:c,checked:r,handleSelectAll:d,selectAllChecked:m}=Le(1),{View:h,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:f,Image:C}=p();return e(h,{className:"collectList",children:0===l.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(!o),children:o?"完成":"编辑"})}),e(Ba,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(g,{onChange:i,style:{height:"100%"},children:l.map(((a,l)=>e(cs,{item:a,edit:o,checked:r},a.collectId||l)))}),o?a(h,{className:"handleBar",children:[e(h,{className:"checkAll",children:e(g,{onChange:d,children:e(N,{value:"1",checked:m,children:"全选"})})}),e(f,{className:"btn",onClick:n,children:"删除"})]}):null]})})]})})})),ds=({footprintItem:l,edit:o})=>{const{View:s,Image:t,Checkbox:i,SmoothView:c}=p(),r=n((()=>l.footprintOpnum?`${l.footprintOpnum}元`:""),[l.footprintOpnum]);return a(s,{className:"footprintItem",children:[o?e(s,{className:"lPart",children:e(i,{value:l.footprintCode})}):null,a(s,{className:"rPart",onClick:()=>y("goodDetail",{skuCode:l.footprintOpcode}),children:[e(t,{src:je(l.footprintOppic),className:"img"}),a(s,{className:"info",children:[e(c,{className:"title",children:l.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},ms=({item:o,edit:s})=>{const{View:t}=p();return a(t,{className:"footPrint",children:[e(l,{children:e(t,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==o?void 0:o.title})}),o.option.map(((a,l)=>e(ds,{footprintItem:a,edit:s},l)))]})},hs=({footprintList:a,edit:o})=>{const s=n((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?Ue(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),l=D(e,"gmtCreate");return Object.keys(l).map((e=>({title:e||"",option:l[e]})))}),[a]);return e(l,{children:s.map(((a,l)=>e(ms,{item:a,edit:o},l)))})},ps=s((()=>{const{View:l,ScrollView:o,SmoothCheckbox:s,Button:t,WrapLoading:i}=p(),{footprintList:n,edit:c,setEdit:r,getSelectItem:d,delItem:m,getData:h,loading:u}=De();return e(i,{loading:u,children:e(l,{className:"footprint",children:a(l,{className:"hasDate",children:[e(l,{className:"topBar",children:e(l,{className:"edit",onClick:()=>r(!c),children:c?"完成":"编辑"})}),e(Ba,{id:"topBar1",children:a(o,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScrollToLower:h,children:[e(s,{onChange:d,children:e(hs,{footprintList:n,edit:c})}),c?a(l,{className:"handleBar",children:[e(l,{className:"checkAll"}),e(t,{className:"btn",onClick:m,children:"删除"})]}):null]})})]})})})})),us=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],gs=s((({activeColor:a,setParams:l,params:o})=>{const{View:s}=p();return e(s,{className:"promotionListTab",children:us.map(((t,i)=>e(s,{className:"promotionListTabItem",onClick:()=>l(t.val),style:{color:t.val===o?a:"#000"},children:t.label},i)))})})),Ns=({data:l})=>{const{View:o}=p(),{pbName:s,promotionName:t,pmPromotionDiscountList:i,promotionBegintime:n,promotionEndtime:c}=l;return a(o,{className:"promotionItem",children:[a(o,{className:"lPart",children:[e(o,{className:"round"}),e(o,{className:"tagBg",children:a(o,{className:"txt",children:["官方",s]})}),e(o,{className:"rule",children:i.at(-1).discName}),e(o,{className:"title",children:t}),a(o,{className:"time",children:[Ue(n).format("YYYY-MM-DD")," ~ ",Ue(c).format("YYYY-MM-DD")]})]}),e(o,{className:"rPart",children:e(o,{className:"sideBorder"})})]})},fs=s((({activeColor:l,paddingTop:o,paddingBottom:s})=>{const[i,n]=t(us[0].val),{list:c,getData:r}=Pe({params:i}),{View:d,ScrollView:m}=p();return a(d,{style:{padding:`${o}px 0 ${s}px`},children:[e(gs,{activeColor:l,setParams:n,params:i}),e(d,{children:e(Ba,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,l)=>e(Ns,{data:a},l)))})})})]})}));s((()=>{const{View:a,Skeleton:o}=p(),s=c(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));const Cs=()=>{const{View:a,Image:l}=p();return e(a,{className:"noData",children:e(l,{src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/no_coupon.png",className:"img"})})},bs=({list:o,coe:s,config:t,backgroundColor:i,color:n})=>{const{View:c,Text:r}=p();return e(l,{children:o.length?o.map(((o,d)=>e(c,{className:`couponListItem\n ${t.current[s.current].styleName}`,style:{backgroundColor:i,color:n},children:a(c,{className:"coupon-content",children:[e(c,{className:"price",children:e(r,{className:"num",children:o.pbName})}),a(c,{className:"couponListItem-info",children:[e(r,{className:"title",children:o.discName}),a(r,{className:"date",children:["有效期至:",`${new Date(o.gmtModified).getFullYear()}-${new Date(o.gmtModified).getMonth()+1}-${new Date(o.gmtModified).getDate()}`]}),t.current[s.current].text?e(c,{className:"btn",children:t.current[s.current].text}):null,2===s.current?e(l,{children:e(c,{className:"round",children:"已失效"})}):null]})]})},d))):e(Cs,{})})},ys=s((({backgroundColor:l,color:o,paddingTop:s,paddingBottom:t,queue:i})=>{const{View:n,Text:c,ScrollView:r}=p(),{coe:d,getList:m,config:h,switchTab:u,list:g=[]}=Re();return a(n,{className:"couponList",children:[e(n,{className:"couponTab",children:h.current.map(((l,o)=>a(n,{className:"couponTabItem "+(d.current===o?"active":""),onClick:()=>u(o),children:[l.label,e(c,{className:"icon"})]},l.id)))}),e(Ba,{id:"couponTab",bottomHeight:"60",children:e(r,{onScroll:m,children:e(n,{className:"couponListContent",style:{paddingTop:s,paddingBottom:t},children:e(bs,{backgroundColor:l,color:o,queue:i,list:g,coe:d,config:h})})})})]})})),ws=s((({defaultValue:l,coupons:o,bg:s,borderColor:t,btnColor:i,typeColor:n,titleColor:c,ruleColor:r,timeColor:d,paddingTop:m,paddingBottom:h})=>{const{View:u}=p(),{list:g,takeCoupon:N,takeList:f}=Me({defaultValue:l,coupons:o});return e(u,{style:{paddingTop:`${m}px`,paddingBottom:`${h}px`},children:g.map(((l,o)=>{const m=B(l,"pbName"),h=B(l,"pmPromotionDiscountList"),p=B(h.at(-1),"discName"),g=B(l,"promotionName"),C=Ue(B(l,"promotionBegintime")).format("YYYY-MM-DD"),b=Ue(B(l,"promotionEndtime")).format("YYYY-MM-DD"),y=B(l,"promotionCode");return a(u,{className:"OneLineOneBlc",style:{backgroundColor:s,borderColor:t},children:[a(u,{className:"lPart",children:[a(u,{className:"intro",children:[e(u,{className:"type",style:{color:n},children:m}),e(u,{className:"rule",style:{color:r},children:p})]}),a(u,{className:"info",children:[e(u,{className:"title",style:{color:c},children:g}),a(u,{className:"validity",style:{color:d},children:[C," - ",b]})]})]}),e(u,{className:"rPart",style:{backgroundColor:i},children:-1===l.availabledate||f.includes(o)?e(u,{className:"txt",children:"已 领 取"}):e(u,{className:"txt",onClick:()=>N({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),xs=s((({defaultValue:l,coupons:o,bg:s,borderColor:t,btnColor:i,typeColor:n,ruleColor:c,titleColor:r,timeColor:d,gap:m,paddingTop:h,paddingBottom:u})=>{const{View:g}=p(),{list:N,takeCoupon:f,takeList:C}=Me({defaultValue:l,coupons:o});return e(g,{className:"oneLineTwoBlc",style:{paddingTop:h,paddingBottom:u,paddingLeft:"10px",paddingRight:"10px",gap:m},children:N.map(((l,o)=>{const m=B(l,"pbName"),h=B(l,"pmPromotionDiscountList"),p=B(h.at(-1),"discName"),u=B(l,"promotionName"),N=Ue(B(l,"promotionBegintime")).format("YYYY-MM-DD"),b=Ue(B(l,"promotionEndtime")).format("YYYY-MM-DD"),y=B(l,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:s,borderColor:t},children:[a(g,{className:"lPart",children:[e(g,{className:"type",style:{color:n},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:i},children:-1===l.availabledate||C.includes(o)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>f({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),Ss=s((l=>{var{type:o=1,coupons:s=[]}=l,t=Je(l,["type","coupons"]);const{View:i}=p();return a(i,{className:"getCouponOne",children:[1===o?e(ws,Object.assign({coupons:s},t)):null,2===o?e(xs,Object.assign({coupons:s},t)):null]})})),ks=({direction:a,speed:l,num:o,color:s})=>{const{content:t,navigator:i}=Oe(o);return e(N,{navigator:i,color:s,speed:l,direction:a,content:t})},vs=s((({noticeId:l,paddingTop:o,paddingBottom:s,paddingLeft:t,paddingRight:i})=>{const{View:n,Image:c}=p(),{info:r}=ze(l);return a(n,{className:"noticeDetailContainer",style:{paddingTop:o,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})]})})),Is=s((({doclistId:l,paddingTop:o,paddingBottom:s,paddingLeft:t,paddingRight:i})=>{const{info:n}=Fe(l),{View:c,ScrollView:r}=p(),{doclistContent:d,doclistTitle:m,doclistTitle4:h}=n;return e(c,{className:"articleDetail",style:{paddingTop:o,paddingBottom:s,paddingLeft:t,paddingRight:i},children:e(Ba,{id:"a",children:a(r,{children:[e(c,{className:"title",children:m}),e(c,{className:"author",children:h}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:d||""}})]})})})}));export{ol as AddressDetail,_a as AddressList,el as AddressListBtn,Da as AfterSalesApply,Ya as AfterSalesDetail,Fa as AfterSalesList,qa as AfterSalesType,fs as AllPromotionList,Is as ArticleDetail,Sa as BackTop,fo as CartList,Co as CartOperate,to as CartTop,Na as ClassifyNav,ba as ClassifyNavOne,Ca as ClassifyNavOneJsx,xa as ClassifyNavThree,ya as ClassifyNavTwo,ns as CollectionList,rs as CollectionShopList,ys as CouponList,va as Cube,ts as EvaluateDetail,ss as EvaluateList,Jo as ExpressInfo,ps as FootPrint,Ss as GetCouponOne,Il as Goods,ml as GoodsClassify,Nl as GoodsClassifyOne,yl as GoodsClassifyTwo,Ul as GoodsDetailAndEvaluate,Tl as GoodsDetailBanner,jl as GoodsDetailCoupon,_l as GoodsDetailHandleBar,ao as GoodsDetailHandleBarOne,Ll as GoodsDetailInfo,Pl as GoodsDetailInfoOne,Ol as GoodsDetailPromotion,Ml as GoodsDetailSku,so as GoodsList,Al as GoodsSlider,Bl as GoodsSlideshow,Xe as Line,_o as MineData,as as MineFunction,es as MineOrderEntry,sl as MyAgreementList,il as MySetting,tl as MySettingJsx,ks as Notice,vs as NoticeDetail,$o as OrderDetail,Ko as OrderList,Mo as PaymentMode,cl as PickupPointList,xo as PlaceOrderAddress,Bo as PlaceOrderAddressTabs,Vo as PlaceOrderCoupon,Lo as PlaceOrderDelivery,Do as PlaceOrderGood,Po as PlaceOrderInfo,Ro as PlaceOrderOperate,zo as PlaceOrderResult,qe as QjMobileIcon,Sl as Search,vl as SearchPage,kl as SearchStyleTwo,Qe as Service,pa as Slider,Ze as TextLine,$e as Title,ta as ToPrice,ua as Video,aa as addressIdConst,la as fixPrice,oa as fixPrice1,sa as formatTime,ea as useService};
1
+ import{jsx as e,jsxs as a,Fragment as l}from"react/jsx-runtime";import o,{memo as s,useState as t,useEffect as i,useMemo as n,useRef as c,useContext as r,createContext as d,createElement as m,Fragment as h}from"react";import{useComponent as p,IconMobile as u,antdMobile as g,NoticeBar as N}from"@brushes/simulate-component";import f from"classnames";import{getEnv as b,getTaro as C,navigatorHandler as y,getStorage as x,navigatorBackImpl as w,setStorage as S}from"@brushes/utils";import{queryOcsconfigList as k,find as v,getContractNumbers as I}from"qj-b2c-api";import{queryOcserviceConfPageByMember as B}from"qj-b2b-api";import{get as A,isEqual as T,isEmpty as D,noop as V,groupBy as L}from"lodash-es";import{useCube as P,useGoTop as R,useAfterSalesApply as M,useAfterSalesList as O,afterSalesTabConfig as z,useAfterSalesDetail as F,useAfterSalesChooseType as W,useAddressItem as j,useAddressList as G,useEditAddress as E,useMySetting as Y,usePickupPointItem as H,usePickupPointList as U,useGoodsClassify as K,useGoods as Q,useGoodDetail as $,goodStore as q,useBanner as Z,useGoodCollection as X,useGoodSpecAndPrice as J,useGoodFootprint as _,useCreatePoster as ee,useGoodsShare as ae,useGoodSkuStore as le,popupImplement as oe,usePromotion as se,useAddCoupon as te,useCoupon as ie,useEvaluate as ne,useAddShopping as ce,useGoodSku as re,useGoodsList as de,useCartTop as me,useCartListNext as he,getRadioValue as pe,useCartOperate as ue,useOrderAddress as ge,useOrderPickupAddress as Ne,userAddressData as fe,useOrderGood as be,useOrderCoupon as Ce,useOrderInfo as ye,useOrderPay as xe,useOrderResult as we,useOrderResultResult as Se,useOrderOperate as ke,orderStatusImpl as ve,useOrderList as Ie,orderStatusList as Be,useOrderDetail as Ae,useExpressInfo as Te,useEvaluateDetail as De,useEvaluateViewDetail as Ve,useCollectionList as Le,useFootprint as Pe,useMemberSignin as Re,useSigninDetail as Me,useMarketingPromotion as Oe,useCouponList as ze,useAllCoupon as Fe,useNotice as We,useNoticeDetail as je,useArticleDetail as Ge}from"qj-b2c-store";import{fullPath as Ee,checkMobile as Ye,ProvinceComponent as He,CityComponent as Ue,AreaComponent as Ke,navigatorLink as Qe}from"@brushes/shared-utils";import $e from"dayjs";import{DynamicForm as qe}from"@brushes/mobile-form";const Ze=s((({width:a,height:l,top:o,right:s,bottom:t,left:i,borderRadius:n})=>{const{View:c}=p();return e(c,{style:{width:a,height:l,borderRadius:n,top:o,left:i,right:s,bottom:t},className:"components-service"})})),Xe=({className:a="iconfont",prefixClass:l="icon",onClick:o=()=>{},style:s={fontSize:16,color:"#444",fontWeight:900},value:t})=>{const{Text:i}=p();return e(i,{onClick:o,className:f(l,t?`${l}-${t}`:"",a),style:s})},Je=s((({value:a,textIndent:l,fontSize:o,textAlign:s,color:t,backgroundColor:i,fontWeight:n,textDecoration:c,fontStyle:r,paddingTop:d,paddingLeft:m,paddingRight:h,paddingBottom:u})=>{const{View:g}=p();return e(g,{className:"components-title",style:{paddingTop:d,paddingBottom:u},children:e(g,{style:{fontSize:o,textAlign:s,color:t,backgroundColor:i,fontWeight:n,textDecoration:c,fontStyle:r,paddingLeft:m,paddingRight:h,textIndent:l},children:a})})})),_e=({TextLineBgColor:l,text:o,contentSize:s,lineStyle:t,fontSize:i,textAlign:n,fontColor:c,lineColor:r,fontWeight:d,fontStyle:m,textDecoration:h})=>{const{View:u}=p();return a(u,{className:"textLine",style:{backgroundColor:l,textAlign:n,margin:1===s?"0 10px":""},children:[e(u,{className:"blc",style:{borderBottom:`1px ${t} ${r}`}}),e(u,{className:"txt",style:{backgroundColor:l,fontWeight:d,fontStyle:m,textDecoration:h,fontSize:`${i}px`,color:c},children:o})]})},ea=s((({borderStyle:a,borderRadius:l,height:o,width:s,backgroundColor:t,paddingTop:i,paddingBottom:n})=>{const{View:c}=p();return e(c,{style:{paddingTop:i,paddingBottom:n},children:e(c,{style:{borderRadius:l+"%",borderStyle:a,width:s+"%",height:o+"px",backgroundColor:t,marginLeft:"auto",marginRight:"auto"}})})}));function aa(e,a){var l={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&a.indexOf(o)<0&&(l[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)a.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(l[o[s]]=e[o[s]])}return l}function la(e,a,l,o){return new(l||(l=Promise))((function(s,t){function i(e){try{c(o.next(e))}catch(e){t(e)}}function n(e){try{c(o.throw(e))}catch(e){t(e)}}function c(e){var a;e.done?s(e.value):(a=e.value,a instanceof l?a:new l((function(e){e(a)}))).then(i,n)}c((o=o.apply(e,a||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const oa=(e="b2c")=>{const[a,l]=t([]),o=n((()=>b()),[]);i((()=>{la(void 0,void 0,void 0,(function*(){const e=yield s();l(c(e))}))}),[]);const s=()=>la(void 0,void 0,void 0,(function*(){switch(e){case"b2c":return yield k();case"b2b":return yield B().then((e=>e.list))}})),c=a=>{if(0===a.length)return["未知客服信息"];let l=[];if("b2c"===e){const e=A(a[0],"ocsOcserviceReDomain.ocsOcserviceConfReDomainList",[]);for(let a=0;a<e.length;a++){const o=e[a];l.push(`${A(o,"ocserviceConfRemark")}: ${A(o,"ocserviceConfValue")}`)}}else"b2b"===e&&l.push(`客服电话: ${A(a[0],"ocserviceConfValue")}`);return l};return{servicePopup:()=>{if(!o)return;C().showActionSheet({itemList:a})}}},sa={label:""},ta=(e=0)=>e?"¥"+e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}):"¥ 0",ia=(e=0)=>e?e.toLocaleString("en-Us",{minimumFractionDigits:2}):"0",na=(e,a)=>{const l=Math.floor(e/1e3)%60,o=Math.floor(e/1e3/60)%60,s=Math.floor(e/1e3/60/60)%24;return`${Math.floor(e/1e3/60/60/24)}天 ${s}小时 ${o}分钟 ${l}秒${a}`},ca=e=>1===String(e).indexOf(".")?ra(e):da(e),ra=e=>{const a=Number(e).toFixed(0),l=(Number(e)-Number(a)).toFixed(2),o=[];a.split("").reverse().forEach(((e,l)=>{o.push(e),(l+1)%3==0&&l!==a.length-1&&o.push(",")}));return o.reverse().join("")+"."+String(l).slice(2)},da=e=>{const a=Number(e).toFixed(0),l=[];a.split("").reverse().forEach(((e,o)=>{l.push(e),(o+1)%3==0&&o!==a.length-1&&l.push(",")}));return l.reverse().join("")+".00"},ma=process.env.REACT_APP_BASE_URL;process.env.REACT_IMG_PATH;const ha=(e="")=>n((()=>e.startsWith("http")?e:e.startsWith("paas")||e.startsWith("/paas")?ma+e:e?ma+"/paas/shop/"+e:e),[e]),pa=({src:a,style:l,actived:o})=>{const s=c(null);return i((()=>{o?s.current.play().catch((e=>{console.log("自动播放被阻止:",e),s.current.controls=!0})):(s.current.pause(),s.current.currentTime=0,s.current.controls=!1)}),[o]),e("video",{ref:s,muted:!0,loop:!0,preload:"auto",controls:!0,style:l,src:a})},ua=s((({item:a,isPlay:o,position:s,direction:t})=>{var i,n;const{Image:c,View:r}=p(),d=ha(a.imgUrl);return e(l,{children:d.includes(".mp4")||d.includes(".webm")||d.includes(".avi")?e(pa,{actived:o,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===(i=a.link)||void 0===i?void 0:i.value,null===(n=a.link)||void 0===n?void 0:n.params)})})})),ga=s((({Position:o="none",className:s="",className1:t="",defaultValue:i=[],type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:b,selectImg:C,imgHeight:y,fontsize:x=16,textAlign:w="center",fontColor:S="#000000",backGroundColor:k="#ffffff"})=>{const v=n((()=>f({paddingbtm:"none"!==o,imgHeights:"bottom"===o&&"horizontal"===m}))),{SmoothSwiper:I,View:B}=p(),A=P(i,C||[]),T=a=>e(B,{className:t,style:{fontSize:x,zIndex:99,justifyContent:"left"===w?"flex-start":"center"===w?"center":"flex-end",color:S,backgroundColor:k},children:a.title});return e(B,{className:s,style:{paddingTop:u,paddingBottom:g,paddingLeft:N,paddingRight:b},children:e(I,{imgHeight:y,data:A,className:v,type:c,autoplay:r,autoplayInterval:d,direction:m,loop:h,interval:5e3,vertical:"vertical"===m,render:(s,t,i)=>a(l,{children:["top"===o||"bottom"===o?T(s):null,e(ua,{isPlay:t===i,item:s,position:o,direction:m})]})})})})),Na=s((({paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:s,defaultValue:t=[],type:i,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:u,imgHeight:g,paddingTB:N=0,paddingLR:b=0,fontsize:C=16,textAlign:y="center",fontColor:x="#000000",backGroundColor:w="#ffffff",otherStyles:S=[],ImgShadow:k=!1,Position:v="top"})=>{const{View:I}=p(),B=n((()=>f("silder-title",{"silder-tops1":"top"===v&&"horizontal"===d,"silder-bottoms":"bottom"===v&&"horizontal"===d,"silder-bottoms1":"vertical"===d&&"bottom"===v,"silder-tops":"vertical"===d&&"top"===v},...S)),[S,v]);return e(I,{style:{padding:`${N}px ${b}px`},children:e(ga,{Position:v,defaultValue:t,type:i,autoplay:c,autoplayInterval:r,direction:d,loop:m,selectImg:h,vertical:u,imgHeight:g,paddingTop:a,paddingBottom:l,paddingLeft:o,paddingRight:s,fontsize:C,textAlign:y,fontColor:x,backGroundColor:w,className:f({"outer-shadow":k}),className1:B})})})),fa=s((({url:a,poster:l,autoplay:o,loop:s,paddingTop:t,paddingBottom:i,paddingLeft:n,paddingRight:c})=>{const{View:r}=p();return e(r,{style:{paddingTop:t,paddingBottom:i},children:e("video",{className:"components-video",src:a,poster:l,autoPlay:o,loop:s,controls:!0,"object-fit":"contain",style:{width:"100%",height:"240px",paddingLeft:n,paddingRight:c}})})})),ba=({src:a,borderRadius:l})=>{const{Image:o}=p(),s=ha(a);return e(o,{src:s,alt:"",className:"img",style:{borderRadius:`${l}px`}})},Ca=s((({defaultValue:l,borderRadius:o,paddingTop:s,paddingBottom:t,selectClassifyNav:i})=>{const{View:n,Text:c}=p(),r=P(l,i);return e(n,{style:{paddingTop:s,paddingBottom:t},children:e(n,{className:"classifyNav",children:r.map(((l,s)=>a(n,{className:"classifyNavItem",onClick:()=>{var e,a;return y(null===(e=l.link)||void 0===e?void 0:e.value,null===(a=l.link)||void 0===a?void 0:a.params)},children:[e(ba,{src:l.imgUrl,borderRadius:o}),e(c,{className:"label",children:l.title})]},s)))})})})),ya=({src:a,imgRadius:l,imgBoxShadow:o})=>{const{Image:s}=p(),t=ha(a);return e(s,{src:t,alt:"",className:"classifyNav-item-img",style:{borderRadius:l,boxShadow:o?"0px 0px 20px 5px #EEE":"none"}})},xa=({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:s,navBgColor:t,navBoxShadow:i,imgRadius:n,imgBoxShadow:c,layout:r,marginTop:d,marginBottom:m})=>{const{View:h}=p(),u=P(a,l);return e(h,{className:"classifyNav-one",style:{gridTemplateColumns:`repeat(${r}, 1fr)`,borderRadius:o,border:`1px solid ${s}`,backgroundColor:t,boxShadow:i?"0px 0px 20px 10px #ddd":"none",marginTop:d,marginBottom:m},children:u.map(((a,l)=>e(h,{className:"classifyNav-item",onClick:()=>{var e,l;return y(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},children:e(ya,{src:a.imgUrl,imgBoxShadow:c,imgRadius:n})},l)))})},wa=s(xa),Sa=s((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:s,navBgColor:t,navBoxShadow:i,fontSize:c,fontColor:r,tagBgColor:d,otherStyle:m,layout:h,marginTop:u,marginBottom:g})=>{const{View:N}=p(),b=P(a,l),C=n((()=>f("classifyNav-two-item-title",...m)),[m]);return e(N,{className:"classifyNav-two",style:{gridTemplateColumns:`repeat(${h}, 1fr)`,border:`1px solid ${s}`,borderRadius:o,backgroundColor:t,boxShadow:i?"0px 0px 20px 5px #EEE":"none",marginTop:u,marginBottom:g},children:b.map(((a,l)=>e(N,{className:"classifyNav-two-item",onClick:()=>{var e,l;return y(null===(e=a.link)||void 0===e?void 0:e.value,null===(l=a.link)||void 0===l?void 0:l.params)},style:{width:4===h?"74px":"60px"},children:e(N,{className:C,style:{fontSize:c,color:r},children:a.title})},l)))})})),ka=a=>{const{imgRadius:l,imgBoxShadow:o,fontSize:s,fontColor:t,tagBgColor:i,otherStyle:n,item:c,layout:r}=a,{View:d}=p(),m=ha(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:l,boxShadow:o?"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})})})},va=s((({defaultValue:a,selectClassifyNav:l,navRadius:o,navBorderColor:s,navBgColor:t,navBoxShadow:i,imgRadius:n,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h,layout:u,marginTop:g,marginBottom:N})=>{const{View:f}=p(),b=P(a,l);return e(f,{className:"classifyNav-three",style:{gridTemplateColumns:`repeat(${u}, 1fr)`,border:`1px solid ${s}`,borderRadius:o,backgroundColor:t,boxShadow:i?"0px 0px 20px 5px #EEE":"none",marginTop:g,marginBottom:N},children:b.map(((a,l)=>e(ka,{layout:u,item:a,imgRadius:n,imgBoxShadow:c,fontSize:r,fontColor:d,tagBgColor:m,otherStyle:h},l)))})})),Ia=s((({position:a=10,bg:l,color:o,fontSize:s})=>{const t=n((()=>b()),[]),{View:i}=p(),{goTop:c}=R();return e(i,{className:"backTop",onClick:c,style:{padding:t?"0":"10px"},children:e(Xe,{style:{display:"inline-block",color:o,fontSize:s,backgroundColor:l,position:t?"fixed":"relative",right:t?"20px":"0",bottom:t?"120px":"0",margin:`0 auto ${a}px`,zIndex:999},value:"backtop"})})})),Ba=({outerShadow:a,type:l,item:o,borderRadius:s})=>{const{Image:t}=p(),i=ha(o.imgUrl);return e(t,{className:"block "+(a?"outer-shadow":""),mode:1===l?"widthFix":"scaleToFill",src:i,style:{width:"100%",borderRadius:s+"px"},onClick:()=>{var e,a;return y(null===(e=o.link)||void 0===e?void 0:e.value,null===(a=o.link)||void 0===a?void 0:a.params)}})},Aa=s((({defaultValue:a,type:l,borderRadius:o,outerShadow:s,paddingRight:t,paddingLeft:i,picGap:n,xGap:c,paddingTop:r,paddingBottom:d,selectImg:m})=>{const{View:h}=p(),u=P(a,m);return e(h,{style:{paddingTop:r,paddingBottom:d,paddingLeft:c,paddingRight:c},children:e(h,{className:`cube-type${l}`,style:{paddingLeft:i,paddingRight:t,gap:n},children:u.map(((a,t)=>e(Ba,{borderRadius:o,item:a,outerShadow:s,type:l},t)))})})})),Ta=o.createContext(null),Da=s((()=>{const{View:a}=p(),{tip:l}=r(Ta);return e(a,{className:"afterSalesApplyTip",children:l})}));const Va=a=>{var{bottomHeight:l,children:o,id:s,heightWrap:c}=a,r=aa(a,["bottomHeight","children","id","heightWrap"]);const d=n((()=>b()),[]),m=function(e){const[a,l]=t(0);return i((()=>{if(!b()||!e)return;const a=C().createSelectorQuery();setTimeout((()=>{a.select(`#${e}`).boundingClientRect((e=>{if(e){const{top:a}=e;l(a)}})).exec()}))})),a}(s),h=function(e=""){return n((()=>{if(!b())return 0;const a=C(),l=a.getStorageSync("safeArea"),o=a.getStorageSync("tabBarHeight")||0;return l+(a.getCurrentPages().at(-1).$taroPath.indexOf("pages/")>=0?o:0)+(e?+e:0)}),[])}(l),{View:u}=p(),g=n((()=>{if(!d)return s?{height:"100%"}:{maxHeight:"50vh",overflow:"auto"};if(s){return{height:`calc(${C().getSystemInfoSync().windowHeight+"px"} - ${m+h}px)`}}return{maxHeight:"50vh",overflow:"auto"}}),[m,h]);return e(u,Object.assign({},r,{style:Object.assign(Object.assign({},g),{paddingBottom:s?"":h}),id:s,children:o}))},La=s((()=>{const{View:l,SmoothRadio:o,Radio:s,Popup:t,ScrollView:i,WrapLoading:n}=p(),{handlePopupShow:c,popupVisible:d,reasonList:m,handleChooseReason:h,popupLoading:u}=r(Ta);return e(t,{popupVisible:d,popupHandler:c,children:e(n,{loading:u,children:e(l,{className:"reasonPopup",children:e(Va,{children:a(i,{children:[e(l,{className:"title",children:"退款原因"}),e(o,{onChange:h,children:m.map(((o,t)=>a(l,{className:"reasonItem",children:[e(l,{className:"label",children:o.flagSettingInfo}),e(s,{value:o.flagSettingInfo})]},t)))})]})})})})})})),Pa=s((()=>{const{View:l}=p(),{handlePopupShow:o,popupVisible:s,reason:t,goodsPrice:i}=r(Ta);return a(l,{className:"afterSalesApplyFillIn",children:[a(l,{className:"reason",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款原因"})]}),e(l,{className:"choose",onClick:o,children:t?e(l,{className:"chooseResult",children:t}):a(l,{children:["请选择",e(Xe,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]})})]}),a(l,{className:"price",children:[a(l,{className:"fillInLabel",children:[e(l,{className:"icon",children:"*"}),e(l,{className:"word",children:"退款金额"})]}),e(l,{className:"allPrice",children:e(l,{className:"single",children:ta(i)})})]}),e(La,{popupShow:s})]})})),Ra=s((()=>{const{View:l,TextArea:o,Textarea:s}=p(),t=s||o,{handleChooseImg:i,imgGroup:n,placeholder:c,handleDelImg:d,limit:m,handleFillInReason:h}=r(Ta);return a(l,{className:"afterSalesApplySubFillIn",children:[e(l,{className:"title",children:"补充描述和凭证"}),a(l,{className:"content",children:[e(t,{placeholder:c,rows:5,maxLength:200,style:{marginBottom:15},onInput:h}),a(l,{className:"imgGroup",children:[n.length<m?e(l,{className:"add",onClick:i,children:a(l,{className:"addContent",children:[e(Xe,{value:"shangchuanpingzheng"}),e(l,{className:"word",children:"上传凭证"}),a(l,{className:"num",children:[n.length,"/",m]})]})}):null,n.map(((a,o)=>e(l,{className:"imgItem",style:{backgroundImage:`url(${a})`},children:e(l,{className:"cancel",onClick:d.bind(null,o),children:e(Xe,{value:"close-bold",style:{fontSize:12}})})},o)))]})]})]})})),Ma=({refundType:l,contractBillcode:o,skuCode:s,goodsNum:t,goodsPrice:i,paddingTop:n,paddingLeft:c,paddingRight:r,paddingBottom:d})=>{const{View:m,WrapLoading:h}=p(),{tip:u,reasonList:g,popupVisible:N,popupLoading:f,handlePopupShow:b,handleChooseReason:C,reason:y,handleChooseImg:x,imgGroup:w,placeholder:S,handleDelImg:k,limit:v,goodsInfo:I,handleFillInReason:B,handleSubmit:A,loading:T}=M({contractBillcode:o,skuCode:s});return e(h,{loading:T,children:e(m,{className:"afterSalesApply",style:{paddingTop:n,paddingBottom:d,paddingLeft:c,paddingRight:r},children:a(Ta.Provider,{value:{tip:u,reasonList:g,popupVisible:N,popupLoading:f,handlePopupShow:b,handleChooseReason:C,reason:y,handleChooseImg:x,imgGroup:w,placeholder:S,handleDelImg:k,limit:v,goodsNum:t,goodsPrice:i,goodsInfo:I,handleFillInReason:B,handleSubmit:A},children:[e(Da,{}),e(Pa,{}),e(Ra,{}),e(m,{className:"submitBtn",onClick:A.bind(null,t,o,l,i),children:"确定"})]})})})},Oa={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:"退款失败"}},Fa=s((({data:l,goAfterSalesDetail:o})=>{var s,t;const{View:i,Image:n}=p();return a(i,{className:"afterSalesListItem",onClick:o.bind(null,l.refundCode),children:[a(i,{className:"title",children:[a(i,{className:"lPart",children:["服务单号: ",l.refundCode]}),a(i,{className:"rPart",children:[e(Xe,{style:{color:null===(s=Oa[l.refundType])||void 0===s?void 0:s.color,fontSize:12},value:null===(t=Oa[l.refundType])||void 0===t?void 0:t.icon}),e(i,{className:"txt",children:Oa[l.refundType].label})]})]}),a(i,{className:"goodsInfo",children:[e(i,{className:"lPart",children:e(n,{src:Ee(l.ocRefundGoodsList[0].dataPic),className:"img"})}),a(i,{className:"rPart",children:[e(i,{className:"goodsName",children:l.ocRefundGoodsList[0].goodsName}),a(i,{className:"count",children:["申请数量: ",l.ocRefundGoodsList[0].refundGoodsNum]})]})]}),a(i,{className:"tip",children:[e(i,{class:"lPart",children:za[l.refundType][l.dataState]}),e(Xe,{style:{fontSize:12,color:"#A5A5A5"},value:"xiangyou1"})]})]})})),Wa=s((()=>{const{View:a}=p();return e(a,{className:"noData",children:e(a,{className:"txt",children:"暂无售后单"})})})),ja=s((({item:a,refreshNum:l})=>{const{View:o,ScrollView:s,WrapLoading:t}=p(),{afterSalesList:i,goAfterSalesDetail:n,loading:c,haseData:r}=O(a,l);return e(t,{loading:c,children:e(o,{className:"tabContent",children:e(Va,{id:"tabContent",children:e(s,{children:r?i.map((a=>e(Fa,{data:a,goAfterSalesDetail:n.bind(null,a.refundCode)}))):e(Wa,{})})})})})})),Ga=s((({refreshNum:a,paddingTop:l,paddingBottom:o,paddingLeft:s,paddingRight:t})=>{const{View:i,Tabs:n}=p();return e(i,{className:"afterSalesList",style:{paddingTop:l,paddingBottom:o,paddingLeft:s,paddingRight:t},children:e(n,{defaultIndex:0,tabs:z,render:l=>e(ja,{item:l,refreshNum:a})})})})),Ea=({dataPic:o,goodsName:s,goodsCamount:t,pricesetNprice:i,skuName:c,children:r,goodsType:d,pricesetRefrice:m})=>{const{View:h,Image:u,SmoothView:g}=p(),N="06"===d?m+"积分":ta(i),f=n((()=>t?`x ${t}`:""),[t]);return e(l,{children:a(h,{className:"card-item",children:[e(u,{src:Ee(o),alt:"",className:"card-item-img"}),a(h,{className:"card-item-info",children:[a(h,{className:"card-item-info-container",children:[e(g,{className:"card-item-info-container-title",children:s}),e(g,{className:"card-item-info-container-price",children:N})]}),a(h,{className:"card-item-info-sub",children:[e(g,{className:"sku",children:c}),e(g,{className:"count",children:f})]}),r]})]})})},Ya=(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]}},Ha=o.createContext(null),Ua=s((()=>{const{companyList:l,popupShow:o,handlePopupShow:s,chooseCompany:t}=r(Ha),{View:i,SmoothRadio:n,Radio:c,Popup:d,ScrollView:m}=p();return e(d,{popupVisible:o,popupHandler:s,children:e(i,{className:"reasonPopup",children:e(Va,{children:a(m,{children:[e(i,{className:"title",children:"物流选择"}),e(n,{onChange:t,children:l.map(((l,o)=>a(i,{className:"reasonItem",children:[e(i,{className:"label",children:l.expressName}),e(c,{value:`${l.expressName}-${l.expressCode}`})]},o)))})]})})})})})),Ka=s((()=>{const{handlePopupShow:o,packageName:s,setPackageBillno:t,submitExpressInfo:i}=r(Ha),{View:n,Input:c}=p();return a(l,{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:o,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(Ua,{})]})})),Qa=s((({refundCode:o,paddingTop:s,paddingLeft:t,paddingRight:i,paddingBottom:n})=>{const{afterSalesDetailInfo:c,submitExpressInfo:r,handleCancelAfterSales:d,companyList:m,popupShow:h,handlePopupShow:u,chooseCompany:g,packageName:N,setPackageBillno:f,loading:b}=F({refundCode:o}),{dataState:C,gmtCreate:y,ocRefundGoodsList:x,refundMoney:w,refundMeo:S,refundEx:k,refundType:v,ocRefundFileList:I,goodsReceiptMem:B,goodsReceiptPhone:A,goodsReceiptArrdess:T,packageCode:D,packageBillno:V}=c,{View:L,Image:P,WrapLoading:R}=p();return e(R,{loading:b,children:e(L,{className:"afterSalesDetail",style:{paddingTop:s,paddingBottom:n,paddingLeft:t,paddingRight:i},children:a(Ha.Provider,{value:{companyList:m,popupShow:h,handlePopupShow:u,chooseCompany:g,packageName:N,setPackageBillno:f,submitExpressInfo:r},children:[a(L,{className:"afterSalesDetailTopTitle",style:{background:"#000"},children:[e(L,{className:"left_text",children:Ya(v,C)}),e(L,{className:"right_time",children:$e(y).format("YYYY-MM-DD HH:mm:ss")})]}),e(L,{className:"afterSalesDetailContent",children:a(L,{className:"refundDetail",children:[e(L,{className:"title",children:"退款信息"}),e(L,{className:"goodsDetail",children:null==x?void 0:x.map(((a,l)=>e(Ea,{dataPic:Ee(a.dataPic),pricesetNprice:a.pricesetNprice,goodsName:a.goodsName,goodsCamount:a.refundGoodsNum,skuName:a.skuName},l)))}),a(L,{className:"refund_Detail",children:[e(L,{className:"left",children:"退款原因"}),e(L,{className:"right",children:k})]}),a(L,{className:"refund_Detail",children:[e(L,{className:"left",children:"退款金额"}),e(L,{className:"right",children:w})]}),a(L,{className:"refund_Detail",children:[e(L,{className:"left",children:"描述说明"}),e(L,{className:"right",children:S})]}),a(L,{className:"refund_Detail",children:[e(L,{className:"left",children:"补充凭证"}),e(L,{className:"right",children:null==I?void 0:I.map(((a,l)=>e(P,{src:Ee(a.refundFileUrl),mode:"widthFix",className:"refundImg"},l)))})]}),a(L,{className:"refund_Detail",children:[e(L,{className:"left",children:"申请时间"}),e(L,{className:"right",children:$e(y).format("YYYY-MM-DD HH:mm:ss")})]}),a(L,{className:"refund_Detail",children:[e(L,{className:"left",children:"退款编号"}),e(L,{className:"right",children:o})]}),e(l,{children:"B02"===v?a(l,{children:[C>0?a(L,{className:"merchantMsg",children:[e(L,{className:"title",children:"商家信息"}),a(L,{className:"name",children:[B,"  ",A]}),e(L,{className:"address",children:T})]}):"",1===C?a(L,{className:"writeMsg",children:[e(L,{className:"wlMsg",children:"物流信息"}),e(Ka,{})]}):"",C>1?a(L,{className:"writeMsg",children:[e(L,{className:"wlMsg",children:"物流信息"}),a(L,{className:"express_content",children:[e(L,{className:"name",children:"物流单号"}),e(L,{className:"code",children:V})]}),a(L,{className:"express_content",children:[e(L,{className:"name",children:"物流公司"}),e(L,{className:"code",children:N})]}),a(L,{className:"express_content",children:[e(L,{className:"name",children:"物流公司编码"}),e(L,{className:"code",children:D})]})]}):""]}):""})]})}),0===C?e(L,{className:"footerBtn",children:e(L,{className:"btn",onClick:d.bind(null,x[0].goodsCode),children:"撤销申请"})}):null]})})})})),$a=o.createContext(null),qa=s((()=>{const{View:l,Image:o,NumStep:s,SmoothView:t}=p(),{typeTip:i,setTypeTip:n,goodsNum:c,handleStep:d,goodsInfo:m,goodsPrice:h}=r($a),{goodsName:u,skuName:g,dataPic:N}=m,f=m&&"06"===m.goodsType?m.pricesetRefrice+"积分":ta(h);return a(l,{className:"afterSalesTypeItem",children:[e(l,{className:"afterSalesTypeTitle",children:"退款商品"}),a(l,{className:"afterSalesTypeContent",children:[e(o,{src:Ee(N),className:"img"}),a(l,{className:"info",children:[a(l,{className:"base",children:[e(t,{className:"name",children:u}),e(t,{className:"price",children:f})]}),a(l,{className:"advance",children:[e(l,{className:"size",children:g}),a(l,{className:"stepWrap",children:[e(Xe,{style:{fontSize:12,color:"#C3C6CD",margin:"8px"},value:"bangzhu",onClick:()=>n((e=>!e))}),e(s,{count:c,handleStep:d})]})]}),i?e(l,{className:"tip",children:"如部分商品未售后成功, 剩余商品将不能申请售后"}):null]})]})]})})),Za=s((({contractGoodsSendnum:l,afterSalesType:o=2,contractBillcode:s,skuCode:t})=>{const{View:i}=p(),{goApply:n,goodsNum:c}=r($a);return e(i,{children:a(i,{className:"afterSalesTypeType",children:[e(i,{className:"title",children:"售后类型"}),(d=l,d>0?[{label:"退货退款",value:"B02"}]:[{label:"仅退款(无需退货)",value:"B01"}]).map(((l,o)=>a(i,{className:"item",onClick:n.bind(null,l.value,s,t,c),children:[e(i,{className:"headline",children:l.label}),e(Xe,{style:{fontSize:12,color:"#C3C6CD"},value:"xiangyou1"})]},o)))]})});var d})),Xa=l=>{const{contractBillcode:o,skuCode:s,dataState:t,paddingTop:i,paddingLeft:n,paddingRight:c,paddingBottom:r}=l,{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:u,goodsInfo:g,goApply:N,loading:f,goodsPrice:b}=W({contractBillcode:o,skuCode:s}),{View:C,WrapLoading:y}=p();return e(y,{loading:f,children:e(C,{className:"afterSalesType",style:{paddingTop:i,paddingLeft:n,paddingRight:c,paddingBottom:r},children:a($a.Provider,{value:{typeTip:d,setTypeTip:m,goodsNum:h,handleStep:u,goodsInfo:g,goApply:N,goodsPrice:b},children:[e(qa,{}),e(Za,{contractGoodsSendnum:g.contractGoodsSendnum||0,afterSalesType:t,contractBillcode:o,skuCode:s})]})})})},Ja=({setDefault:a,checked:l})=>{const{SmoothCheckbox:o,Checkbox:s}=p();return e(o,{onChange:a,children:e(s,{checked:l,style:{"--icon-size":"18px","--font-size":"14px","--gap":"6px"},children:"设为默认地址"})})},_a=({itemData:l,delAddress:o,setDefault:s})=>{const{View:t,Text:i}=p(),{handlerImpl:n}=j(l);return a(t,{className:"addressItem",children:[a(t,{className:"upInfo",onClick:n,children:[a(t,{className:"userInfo",children:[l.addressMember," ",l.addressPhone]}),e(t,{className:"addressInfo",children:a(i,{className:"address",children:[l.provinceName," ",l.areaName," ",l.cityName," ",l.addressDetail]})})]}),a(t,{className:"downInfo",children:[e(Ja,{checked:"1"===(null==l?void 0:l.addressDefault),setDefault:s}),e(i,{className:"del",onClick:o,children:"删除"})]})]})},el=s((()=>{const{View:a,Skeleton:o}=p(),s=c(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})})),al=s((({url:l,title:o,subTitle:s,link:t,style:i})=>{const{View:n,Image:c}=p();return e(n,{className:"noData",style:i,children:a(n,{className:"content",children:[e(c,{className:"img",src:l}),e(n,{className:"title",children:o}),e(n,{className:"subTitle",children:s}),t?a(n,{className:"link",onClick:()=>y(t),children:["去看看",e(u,{value:"xiangyou1"})]}):null]})})})),ll=s((({refreshNum:a,btnShape:l,btnColor:o,borderColor:s,paddingBottom:t,paddingTop:i,color:n})=>{const{View:c}=p(),{list:r,delAddress:d,setDefault:m,skullShow:h}=G(a);return e(c,{className:"addressListWrap",style:{paddingTop:i+"px",marginBottom:t+"px"},children:h?e(el,{}):e(c,{className:"addressList",children:r.length?r.map(((a,l)=>e(_a,{itemData:a,setDefault:m.bind(null,a,l),delAddress:d.bind(null,a)},null==a?void 0:a.addressId))):e(al,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有添加过地址"})})})})),ol=s((({borderColor:a,color:l,btnColor:o,btnShape:s,paddingTop:t,paddingBottom:i})=>{const{View:n}=p();return e(n,{className:"addressListBtnWrap",style:{paddingTop:`${t}px`,paddingBottom:`${i}px`},children:e(n,{style:{borderRadius:s,borderColor:a,color:l,backgroundColor:o},className:"addressListBtn",onClick:()=>y("addressEditor"),children:"+ 新增地址"})})})),sl=[{from:"addressDefault",to:"addressDefault",format:e=>!0===e?1:0}],tl=[{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:Ye}]},{type:"slot",name:"provinceCode",extraProps:{label:"所在省",render:He}},{type:"slot",name:"cityCode",extraProps:{label:"所在市",shouldUpdate:(e,a)=>e.provinceCode!==a.provinceCode,render:Ue}},{type:"slot",name:"areaCode",extraProps:{label:"所在区",shouldUpdate:(e,a)=>e.cityCode!==a.cityCode,render:Ke}},{type:"text",props:{onlyShowClearWhenFocus:!0,placeholder:"街道/楼牌号等"},label:"详细地址",name:"addressDetail",rules:[{required:!0,message:"收货人详细地址不能为空"}]},{type:"switch",label:"设置默认地址",name:"addressDefault",extraProps:{color:"#000"}}],il=s((({btnShape:a,btnColor:l,borderColor:o,color:s,paddingTop:t,paddingBottom:i})=>{const{View:n}=p(),{Button:c}=g,{onSubmit:r}=E();return e(n,{className:"addressDetail",style:{paddingBottom:i+"px",paddingTop:t+"px"},children:e(qe,{footer:e(c,{style:{color:s,backgroundColor:l,borderColor:o},shape:a,block:!0,type:"submit",size:"large",children:"提交"}),transformSubmitDataConfig:sl,onSubmit:r,fields:tl})})})),nl=s((()=>{const{View:l}=p(),o=e=>{y(`/account/agreement/index?type=${e}`)},s=c([{label:"用户协议",type:"xieyi"},{label:"隐私协议",type:"yinsi"}]);return e(l,{className:"myAgreementList",children:e(l,{className:"list",children:s.current.map(((s,t)=>a(l,{className:"item",onClick:o.bind(null,s.type),children:[e(l,{children:s.label}),e(l,{children:e(u,{value:"xiangyou1"})})]},t)))})})})),cl=()=>{const{View:l}=p(),{mySettingGoBind:o,mySettingLogout:s}=Y();return a(l,{className:"mySetting",children:[a(l,{className:"item",onClick:o,children:[e(l,{children:"绑定手机"}),e(l,{children:e(Xe,{value:"xiangyou1"})})]}),e(l,{className:"btn",onClick:s,children:"退出登录"})]})},rl=s(cl),dl=({itemData:l})=>{const{View:o,Text:s}=p(),{handlerImpl:t}=H(l);return e(o,{className:"addressItem",children:a(o,{className:"upInfo",onClick:t,children:[e(o,{className:"userInfo",children:(l.addressMember||"")+" "+(l.addressPhone||"")}),e(o,{className:"addressInfo",children:a(s,{className:"address",children:[l.provinceName||""," ",l.areaName||""," ",l.cityName||""," ",l.addressDetail||""]})})]})})},ml=s((({refreshNum:l,btnShape:o,btnColor:s,borderColor:t,paddingBottom:i,paddingTop:n,color:c})=>{const{View:r,ScrollView:d,Loading:m}=p(),{list:h,loading:u,skullShow:g,onScroll:N}=U(l);return e(r,{className:"addressListWrap",style:{paddingTop:n+"px",marginBottom:i+"px"},children:g?e(el,{}):e(r,{className:"addressList",children:e(Va,{id:"pickupPointListWrap",children:e(d,{onScroll:N,children:h.length?a(r,{children:[h.map(((a,l)=>e(dl,{itemData:a},a&&a.userinfoOcode||l))),u&&e(m,{})]}):e(al,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noAddress.png",title:"您还没有自提点"})})})})})})),hl=s((({navList:o,activeKey:s,cell:t=4})=>{const{View:i,Text:n,Image:c}=p();return e(l,{children:o.map((l=>e(i,{className:["content",s===`${l.goodsClassCode}`?" active":""].join(""),children:((null==l?void 0:l.childList)||[]).map((l=>a(i,{className:"classifyFloor",children:["0"===l.goodsClassHide?a(i,{className:"titleWrap",children:[e(n,{className:"title",children:l.goodsClassName}),e(n,{className:"line"})]}):"",e(i,{className:`container container_columns${t}`,style:{marginTop:"0"===l.goodsClassHide?"":"20px"},children:((null==l?void 0:l.childList)||[]).map((({classtreeCode:l,goodsClassCode:o,goodsClassLogo:s,goodsClassName:t})=>a(i,{onClick:()=>y("goodList",{classtreeCode:l}),className:"classifyFloorGoodsItem",children:[e(c,{src:s,className:"logo"}),e(i,{className:"title",children:t})]},o)))})]},l.goodsClassCode)))},l.goodsClassCode)))})})),{SideBar:pl}=g,ul=s((({cell:l,color:o,activeTitle:s,paddingTop:t,paddingBottom:i})=>{const{View:n,ScrollView:c}=p(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=K();return e(n,{children:e(Va,{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(pl,{activeKey:r,onChange:d,style:{"--width":"90px","--background-color":"#f5f5f5"},children:m.map((a=>e(pl.Item,{title:a.goodsClassName,className:0===s?"typeBlock":"typeNoBlock",style:{color:a.goodsClassCode===r?o:"#000"}},a.goodsClassCode)))})}),e(n,{className:"main",children:e(hl,{navList:m,activeKey:r,cell:l})})]})})})})})),gl=d(null),Nl=s((()=>{const{navList:l,activeKey:o,setActiveKey:s,setFCoe:i,setSCoe:n,selectFontColor:c}=r(gl),{View:d,ScrollView:m}=p(),[h,g]=t(!1),N=(e,a)=>{s.bind(null,e)(),i(`${a}`),n("0"),h&&g(!1)};return a(d,{className:"goodsClassifyOne-headerPart",children:[a(d,{className:"goodsClassifyOne-topListWrap",children:[e(d,{className:"goodsClassifyOne-topList",children:l.map(((a,l)=>e(d,{className:["goodsClassifyOne-topListItem"].join(" "),onClick:()=>N(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?c:"#000",borderColor:o===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},l)))}),e(d,{className:"goodsClassifyOne-icon",onClick:()=>g(!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:()=>g(!1),children:e(u,{value:"paixusort-sheng"})})}),e(Va,{children:e(m,{children:e(d,{className:"goodsClassifyOne-tipWrapItemWrap",children:l.map(((a,l)=>e(d,{class:["goodsClassifyOne-tipWrapItem"].join(""),onClick:()=>N(a.goodsClassCode,l),style:{color:o===`${a.goodsClassCode}`?c:"#000",borderColor:o===`${a.goodsClassCode}`?c:"#000"},children:a.goodsClassName},l)))})})})]}):null]})})),fl=s((({thirdList:l})=>{const{View:o,Image:s}=p(),{picShadow:t,layout:i}=r(gl);return e(o,{className:"goodsClassifyOneFloor",style:{gridTemplateColumns:`repeat(${i}, 1fr)`},children:l.map(((l,i)=>a(o,{className:"goodsClassifyOneFloorItem",onClick:()=>y("goodList",{classtreeCode:l.classtreeCode}),children:[e(s,{src:l.goodsClassLogo,className:"pic",style:{boxShadow:t?"#DDDDDD 0px 0px 10px":""}}),e(o,{className:"title",children:l.goodsClassName})]},i)))})})),bl=s((()=>{const{navList:l,fCoe:o,sCoe:s,setSCoe:t,selectFontColor:i,selectBlcShow:c,selectBlcStyle:d}=r(gl),m=n((()=>b()),[]),{secondList:h,thirdList:u}=(({navList:e,fCoe:a,sCoe:l})=>{const o=n((()=>{var l;return(null===(l=e[a])||void 0===l?void 0:l.childList)||[]}),[a,e]),s=n((()=>{var e;return(null===(e=o[l])||void 0===e?void 0:e.childList)||[]}),[l,a,e]);return{secondList:o,thirdList:s}})({navList:l,fCoe:o,sCoe:s}),{View:g,ScrollView:N,SideBar:f}=p();return e(g,{children:e(Va,{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,l)=>e(f.Item,{title:a.goodsClassName,className:[c?"":"goodsClassifyOneFloorNoBlc",1===d?"":"goodsClassifyOneFloorNoRound"].join(" "),style:{"adm-side-bar-item-active":i,"--adm-color-primary":i}},l)))}),e(fl,{thirdList:u})]})})})})})),Cl=s((({selectFontColor:l,selectBlcColor:o,selectBlcShow:s,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r})=>{const{View:d}=p(),{navList:m,activeKey:h,setActiveKey:u}=K(),[g,N]=t("0"),[f,b]=t("0");return e(gl.Provider,{value:{fCoe:g,setFCoe:N,sCoe:f,setSCoe:b,navList:m,activeKey:h,setActiveKey:u,selectFontColor:l,selectBlcColor:o,selectBlcShow:s,selectBlc:i,selectBlcStyle:n,picShadow:c,layout:r},children:a(d,{className:"goodsClassifyOne",children:[e(Nl,{}),e(bl,{})]})})})),yl=s((({childList:l,layout:o,picShadow:s,style:t})=>{const{View:i,Image:n}=p();return e(i,{className:"level3Arr",style:Object.assign({gridTemplateColumns:`repeat(${o}, 1fr)`},t),children:l.map(((l,o)=>a(i,{className:"level3ArrItem",onClick:()=>y("goodList",{classtreeCode:l.classtreeCode}),children:[e(n,{src:l.goodsClassLogo,className:"logo",style:{boxShadow:s?"#DDDDDD 0px 0px 10px":""}}),e(i,{className:"title",children:l.goodsClassName})]},o)))})})),xl=s((({navList:l,activeKey:o,layout:s,picShadow:n})=>{var c;const[r,d]=t(0);i((()=>{d(l.findIndex(m))}),[o,r]);const m=e=>e.goodsClassCode===o,{View:h,Image:u}=p();return a(h,{className:"goodsClassifyTwoContent",children:[e(u,{className:"firstLevelImg",src:A(l[r],"goodsClassLogo"),mode:"widthFix"}),null===(c=A(l[r],"childList"))||void 0===c?void 0:c.map(((l,o)=>a(h,{children:["0"===l.goodsClassHide?e(h,{className:"level2Title",children:l.goodsClassName}):"",e(yl,{childList:l.childList,layout:s,picShadow:n,style:{marginTop:"0"===l.goodsClassHide?"":"30px"}})]},o)))]})})),{SideBar:wl}=g,Sl=s((({selectFontColor:l,selectBlcShow:o,selectBlcColor:s,selectBlcStyle:t,layout:i,picShadow:n})=>{const{View:c}=p(),{activeKey:r,setActiveKey:d,navList:m,flag:h}=K();return e(c,{className:"goodsClassifyTwo",children:e(Va,{id:"goodsClassifyTwo",children:a(c,{className:"goodsClassifyTwoWrap",style:{height:h?"100%":"667px"},children:[e(c,{className:"side",children:e(wl,{activeKey:r,onChange:d,style:{"--width":"88px","--background-color":"#f5f5f5"},children:m.map((a=>e(wl.Item,{title:a.goodsClassName,className:[o?"":"goodsClassifyTwoFloorNoBlc",1===t?"":"goodsClassifyTwoFloorNoRound"].join(" "),style:{"--adm-color-primary":l}},a.goodsClassCode)))})}),e(c,{className:"main",children:e(xl,{navList:m,activeKey:r,layout:i,picShadow:n})})]})})})})),kl="data:image/png;base64,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",vl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAGCAYAAADQQP5pAAAAAXNSR0IArs4c6QAAAMhJREFUKFPFUjFqQkEUfLOmeAoWJodI7qE3sFdrS4sPCykexPA/C7baqr030Hskh1ALQbfJTviBSFiszZQz82bgMTCzhxjjq4iMATRJblR1YmYHyWBmrRhjSXJQSwDWqurN7Jx7vfdPJGcA+iRrfaGqU3jv30jWhVcA2JVl2bsRsiQ5zPhVVVWjG94tyW6W+1O4J/mYH6SUXkIIn798URRt59xRRBqZ9yul1AkhnP54n51zH3kmgMO/FN7tpSLyjjuN5iIi83o039P9n5mWDu/PAAAAAElFTkSuQmCC\n",Il=s((({value:l,iconShow:o,fontColor:s,backgroundColor:t,borderRadius:i,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:u=[],__pageConfig:g})=>{const{View:N,Image:b}=p(),C=n((()=>f("txt",...u)),[u]);return e(N,{onClick:()=>y("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxpositon":"",children:a(N,{className:"components-search",style:{backgroundColor:t,borderRadius:i?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"inline-block",textAlign:"center"},children:[e(b,{src:kl,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(N,{className:C,style:{color:s,display:"inline-block",fontSize:m},children:l})]})})})),Bl=s((({value:l,iconShow:o,fontColor:s,backgroundColor:t,borderRadius:i,paddingLeft:c,paddingRight:r,sticky:d,fontsize:m,paddings:h,otherStyles:u=["mockWeight","mockItalic"]})=>{const{View:g,Image:N}=p(),b=n((()=>f("txt",...u)),[u]);return e(g,{onClick:()=>y("search"),style:{paddingTop:h,paddingBottom:h,paddingLeft:c,paddingRight:r},className:d?"boxPosition":"",children:a(g,{className:"components-search",style:{border:`1px solid ${t}`,borderRadius:i?"20px":"",height:"32px",lineHeight:"32px",width:"100%",display:"flex",textAlign:"center",backgroundColor:"#ffffff"},children:[a(g,{style:{width:"80%"},children:[e(N,{src:kl,alt:"",style:{height:"16px",width:"16px",display:o?"inline-block":"none",verticalAlign:"top",marginTop:"8px",marginRight:"10px"}}),e(g,{className:b,style:{color:s,display:"inline-block",fontSize:m},children:l})]}),e(g,{className:["seachBtn",i?"btnBorderRadius":""].join(" "),style:{fontSize:m,backgroundColor:t,width:"20%",color:s},children:"搜索"})]})})})),Al=s((({placeholder:l,placeholderText:o,history:s,historyText:i,paddingBottom:c,paddingTop:r})=>{const d=n((()=>b()),[]),{View:m,Text:h,Input:u}=p(),[g,N]=t((()=>x("history")||[])),f=e=>{y("goodList",{searchParam:e})};return a(m,{className:"searchPage",style:{paddingTop:r,paddingBottom:c},children:[a(m,{className:"search-title",children:[e("img",{src:kl,alt:""}),e(u,Object.assign({"confirm-type":"search",type:"text",className:"content",onConfirm:e=>la(void 0,void 0,void 0,(function*(){d&&(N((a=>{if(!a.includes(e.detail.value)&&e.detail.value){const l=a.concat(e.detail.value);return S("history",l),l}return a})),f(e.detail.value))}))},l?{placeholder:o}:{})),e(h,{className:"btn",onClick:()=>w(),children:"取消"})]}),s?a(m,{className:"historyWrap",children:[a(m,{className:"title",children:[a(m,{className:"label",children:[e(m,{className:"icon"}),i]}),e(Xe,{onClick:()=>la(void 0,void 0,void 0,(function*(){(yield C()).removeStorageSync("history"),N([])})),value:"shanchu",style:{fontSize:18,color:"#222",lineHeight:"61px",cursor:"pointer"}})]}),e(m,{className:"content",children:g.map(((a,l)=>e(m,{onClick:()=>f(a),className:"historyItem",children:a},l)))})]}):null]})})),Tl=s((({defaultValue:l=[],classCode:o="",margin:s,circular:n=!1,cell:r,showSales:d=!0,gap:m=10,apiKey:h="goodsCode",goods:u=[],markedPrice:g,paddingTop:N,paddingBottom:b,paddingLeft:C,paddingRight:x,goodsName:w=!0,goodsPrice:S=!0,goodsCar:k=!0,goodsBorder:I=!0,goodsShadow:B=!1,marginGap:V=10})=>{const[L,P]=t(l),R=c(),{View:M,Text:O}=p();return i((()=>{T(R.current,u)||(R.current=u,D(u)?P(l):la(void 0,void 0,void 0,(function*(){try{const e=yield v({[h]:u.toString(),goodsType:"00,40,50",distinctField:"goodsNo"}),a=A(e,"list",[]);P(a)}catch(e){P(l)}})))}),[u]),e(M,{style:{paddingTop:N,paddingBottom:b},children:e(M,{className:f({[`goods-${o}`]:!0}),style:{display:"grid",gap:V,marginBottom:s,gridTemplateColumns:`repeat(${r}, 1fr)`,paddingLeft:C,paddingRight:x},children:L.map(((l,o)=>a(M,{style:{overflow:"hidden",borderRadius:n?"8px":"0px",border:I?"1px solid #000000":""},onClick:()=>y("goodDetail",{skuCode:l.skuCode}),className:["goods "+(B?"outer-shadow":"")].join(" "),children:[e(M,{className:"goods-img",style:{backgroundImage:`url(${Ee(l.dataPic)})`}}),a(M,{className:"space",children:[e(M,{className:"titleType",style:{display:w?"block":"none"},children:l.goodsName}),e(M,{className:"subTitle",children:l.brandName}),d&&a(M,{className:"sales",children:["已售:",l.goodsSalesvolume,"件"]}),a(M,{className:"price",children:[a(M,{style:{fontSize:18},children:[S?ta(l.pricesetNprice):"",1===g&&e(O,{className:"markedPrice",children:ta(l.pricesetMakeprice)})]}),e(M,{className:"anticon",style:{display:k?"block":"none"},children:e(Xe,{style:{fontSize:30,color:"#f00"},value:"cart"})})]})]})]},o)))})})})),Dl=s((({defaultValue:l,goods:o,price:s,marketPrice:t,cart:i,apiKey:n="goodsCode",wrapRadius:c,wrapBorderColor:r,wrapBgColor:d,wrapShadow:m,goodsRadius:h,goodsBgColor:u,goodsGap:g,marginTop:N,marginBottom:f,marginLeft:b,marginRight:C})=>{const{View:x}=p(),{list:w}=Q({defaultValue:l,goods:o},n);return e(x,{className:"goodsSlider",style:{borderRadius:c,borderColor:r,backgroundColor:d,boxShadow:m?"0px 0px 20px 5px #EEE":"none",marginTop:N,marginBottom:f,marginLeft:b,marginRight:C},children:w.map(((l,o)=>a(x,{className:"goodsSliderItem",style:{borderRadius:h,backgroundColor:u,marginRight:`${g}px`},onClick:()=>y("goodDetail",{skuCode:l.skuCode}),children:[e(x,{className:"img",style:{backgroundImage:`url(${Ee(l.dataPic)})`}}),a(x,{className:"board",children:[e(x,{className:"title",children:l.goodsName}),a(x,{className:"info",children:[a(x,{className:"lPart",children:[s?e(x,{className:"price",children:ta(l.pricesetNprice)}):null,t?e(x,{className:"marketPrice",children:ta(l.pricesetMakeprice)}):null]}),i?e(x,{className:"rPart",children:e(Xe,{style:{fontSize:26,color:"#f00"},value:"cart"})}):null]})]})]},o)))})})),Vl=s((({defaultValue:l,goods:o,GoodsSlideshowBg:s,marketPrice:i,goodsName:c,salesNum:r,price:d,apiKey:m="goodsCode",goodsRadius:h,goodsBorder:u,goodsShadow:g,btnText:N,btnBg:f,btnColor:C,btnRadius:x})=>{const w=n((()=>b()),[]),{list:S}=Q({defaultValue:l,goods:o},m),{SmoothSwiper:k,View:v,Image:I}=p(),[B,A]=t(0);return a(v,{className:"goodsSlideshow",children:[e(I,{src:s,className:"bg",mode:"widthFix"}),e(k,{indicatorDots:!1,imgHeight:{width:190,height:410},defaultIndex:1,data:S,style:{},type:1,autoplay:!1,autoplayInterval:5e3,onChange:e=>{A(e.detail.current)},previousMargin:40,nextMargin:40,slideSize:70,trackOffset:15,render:l=>a(v,{className:["goodsSlideshowItem",""+(l.goodsCode===S[B].goodsCode&&w?"active":"")].join(" "),style:{borderRadius:h,borderStyle:u?"solid":"none",boxShadow:g?"0px 0px 20px 10px #ddd":""},onClick:()=>y("goodDetail",{skuCode:l.skuCode}),children:[e(I,{className:"logo",src:Ee(l.dataPic),mode:"widthFix"}),c?e(v,{className:"goodsName",children:l.goodsShowname}):null,r?a(v,{className:"salesNum",children:["销量:",l.goodsSalesvolume]}):null,d?e(v,{className:"price",children:ta(l.pricesetNprice)}):null,i?e(v,{className:"marketPrice",children:ta(l.pricesetMakeprice)}):null,e(v,{className:"btn",style:{backgroundColor:f,color:C,borderRadius:x},children:N})]})})]})})),Ll=({autoplay:a,vertical:l,skuCode:o,scene:s})=>{const{rsGoodsFileDomainList:t=[],memberCode:i=""}=$(o,s),n=q.getState();q.setState(Object.assign(Object.assign({},n),{memberCode:i})),console.log(24,i);const c=Z(t);return e(ga,{selectImg:c,type:1,autoplay:a,vertical:l,imgHeight:{height:375,width:375}})},Pl=l=>{const{SmoothView:o,View:s}=p(),{handleCollect:t,collection:i}=X(l);return a(s,{onClick:t,children:[D(i.dataObj)?e(Xe,{value:"star-fill",style:{fontSize:20}}):e(Xe,{value:"star-fill",style:{color:"red",fontSize:20}}),e(o,{className:"txt",children:D(i.dataObj)?"收藏":"已收藏"})]})},Rl=({skuCode:l,priceShow:o,collectionShow:s,scene:t})=>{const{View:i,SmoothView:n,Button:c}=p(),{rsSkuDomainList:r}=$(l,t),{goodInfo:d}=J(r);_(l);const{init:m,canvasRef:h}=ee();return a(i,{className:"goodsDetail-topInfo",children:[e("canvas",{ref:h,width:300,height:340,style:{display:"none",border:"1px solid #ccc",width:"300px",height:"500px"}}),a(i,{className:"lPart",children:[e(n,{className:"name",children:d.goodsName}),a(i,{style:{display:"flex",justifyContent:"space-between",marginTop:5},children:[e(n,{className:"price",style:{display:o?"block":"none"},children:ta(d.pricesetNprice)}),e(c,{style:{width:80,padding:0,fontSize:14,marginRight:10},onClick:()=>m(r,d.goodsName),children:"生成海报"})]})]}),e(i,{className:"rPart",style:{display:s?"flex":"none"},children:e(Pl,{goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:Ee(d.dataPic),skuCode:l})})]})},Ml=s((l=>{const{collectionShow:o,shareShow:s}=l,{View:t}=p(),{handleCollect:i,collection:n}=X(l),{handleShare:c}=ae();return a(t,{className:"handleBar",children:[o?e(t,{className:"collection",onClick:i,style:{borderRight:s?"1px solid #ddd":"none"},children:D(n.dataObj)?"收藏":"已收藏"}):null,s?e(t,{className:"share",onClick:c,children:"分享"}):null]})})),Ol=s((({priceShow:l,collectionShow:o,shareShow:s,skuCode:t,scene:i})=>{const{View:n,SmoothView:c}=p(),{rsSkuDomainList:r}=$(t,i),{goodInfo:d}=J(r);return le((e=>e.spec)),_(t),a(n,{className:"goodsDetail-info-one",children:[e(c,{className:"price",style:{display:l?"block":"none"},children:ta(d.pricesetNprice)}),e(c,{className:"title",children:d.goodsName}),e(Ml,{collectionShow:o,shareShow:s,goodsName:d.goodsName,pricesetNprice:d.pricesetNprice,dataPic:Ee(d.dataPic),skuCode:t})]})})),zl=s((()=>{const{Text:e}=p(),l=le((e=>e.count)),o=le((e=>e.spec));return a(e,{className:"label",children:["已选择 数量: ",l," 规格: ",o.toString()]})})),Fl=({dispatchPageStore:o})=>{const{View:s,Text:t}=p(),{openPopup:i}=oe(o);return e(l,{children:a(s,{className:"goodsDetail-size",onClick:i,children:[e(t,{className:"label",children:"规格"}),a(s,{className:"info",children:[e(zl,{}),e("img",{src:vl,alt:"",className:"icon"})]})]})})},Wl=({skuCode:l,scene:o})=>{const{View:s,Text:t}=p(),{rsSkuDomainList:i}=$(l,o),{goodInfo:n}=J(i),c=se(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},l)=>e(s,{className:"item",children:a},l))):e(s,{className:"noPromotion",children:"暂无促销活动"})})]})},jl=s((({promotionBegintime:l,pbName:o,discName:s,promotionCode:t,promotionName:i,couponOnceNums:c,couponOnceNumd:r,promotionEndtime:d})=>{const{View:m,Text:h}=p(),{save:u,isPick:g}=te(),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:o}),e(m,{className:"num",children:s})]}),a(m,{className:"info",children:[e(h,{className:"title",children:i}),a(h,{className:"date",children:[$e(l).format("YYYY-MM-DD")," - ",$e(d).format("YYYY-MM-DD")]})]}),e(m,N>0?{className:g?"coupon-pick-default":"coupon-pick",onClick:()=>u({promotionCode:t,couponAmount:1}),children:g?"已领取":"领取"}:{className:"coupon-pick-default",children:"已领完"})]})})})),Gl=()=>{const{View:a,Image:l}=p();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCoupon.png",className:"img"})})},El=o=>{var{skuCode:s,scene:t}=o;aa(o,["skuCode","scene"]);const{View:i,Text:n,Popup:c,Image:r}=p(),{rsSkuDomainList:d}=$(s,t),{goodInfo:h}=J(d),{coupon:u,visible:g,setVisible:N}=ie(d,h.skuCode);return a(l,{children:[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:vl,alt:"",className:"icon"})]})]}),e(c,{popupVisible:g,popupHandler:N,children:e(i,{className:"goodsDetail-coupon-popup",children:e(Va,{children:u.length>0?u.map(((e,a)=>m(jl,Object.assign({},e,{key:a})))):a(i,{className:"NoDataImg",children:[e(Gl,{}),e(i,{className:"btn",onClick:()=>N(!1),children:"确定"})]})})})})]})},Yl=({onChange:a,readOnly:l=!1,size:o=22,count:s})=>{const{View:n}=p(),[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(!l){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,l)=>e(Xe,{onClick:d.bind(null,l),value:a.icon,style:{color:"#EC6C5C",fontSize:o}},l)))})},Hl=({item:l})=>{const{View:o,Image:s}=p();return a(o,{className:"rateItem",children:[a(o,{className:"topInfo",children:[a(o,{className:"lPart",children:[e(s,{src:l.userImgurl,className:"avatar"}),a(o,{className:"userInfo",children:[e(o,{className:"name",children:l.userName}),e(Yl,{readOnly:!0,size:14,count:l.evaluateScopeReList.length})]})]}),e(o,{className:"rPart",children:`${new Date(l.gmtCreate).getFullYear()}-${new Date(l.gmtCreate).getMonth()+1}-${new Date(l.gmtCreate).getDate()}`})]}),e(o,{className:"size",children:l.skuName}),e(o,{className:"content",children:l.evaluateGoodsContent})]})},Ul=({evaluateArr:l})=>{const{View:o}=p();return console.log(7,l),e(o,{className:"goodsDetailEvaluate",children:l.length?a(o,{children:[a(o,{className:"topInfo",children:["评价 (",l.length,")"]}),l.slice(0,5).map(((a,l)=>e(Hl,{item:a},l)))]}):e(al,{style:{margin:"100px auto"},url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noEvaluate.png",title:"还没有评价, 期待您的评价"})})},Kl=({goodsRemark:a})=>{const{View:l}=p(),o=n((()=>a.replace(/<style>[\s\S]*<\/style>/gi,"").replace(/<img/gi,'<img class="mystyle" mode="widthFix"').replace(/<!--[\s\S]*-->/gi,"")),[a]);return e(l,{className:"goodsDetail-info",children:e("div",{dangerouslySetInnerHTML:{__html:o||""}})})},Ql=({tabActive:o,setTabActive:s,evaluateShow:t,evaluateImgShow:i,evaluateImg:c})=>{const{Text:r}=p(),d=n((()=>i?[{title:"商品详情",id:"1"},{title:"评价",id:"2"}]:[{title:"商品详情",id:"1"}]),[t]);return e(l,{children:d.map(((l,t)=>e(h,{children:a(r,{className:"tabsItem "+(o===t?"active":""),onClick:()=>s(t),children:[l.title,e(r,{className:"line"})]})},t)))})},$l=({evaluateShow:l,evaluateImgShow:o,evaluateImg:s,skuCode:i,scene:n})=>{const{View:c}=p(),[r,d]=t(0),{goodsRemark:m,goodsCode:h}=$(i,n),u=ne(h);return a(c,{className:"goodsDetailTab",children:[e(c,{className:"tabs",children:e(Ql,{tabActive:r,setTabActive:d,evaluateShow:l,evaluateImgShow:o,evaluateImg:s})}),e(c,{className:"group",children:0===r?e(Kl,{goodsRemark:m}):e(Ul,{evaluateArr:u,evaluateImgShow:o,evaluateImg:s})})]})},ql=({skuName:l,handleChooseSize:o,spec:s,skuOption:t,index:i})=>{const{View:n,Text:c}=p(),r=le((e=>e.offShelf));return a(n,{className:"sizeArr",children:[e(c,{className:"title",children:l}),e(n,{className:"sizeArrItemWrap",children:t.map(((a,l)=>e(n,{className:f({sizeItem:!0,active:s[i]===a.specValueValue,offShelf:s[i]===a.specValueValue&&r}),onClick:o.bind(null,a.specValueValue,i),children:a.specValueValue},l)))})]})},Zl=s((({handleStep:l})=>{const{View:o,NumStep:s}=p(),t=le((e=>e.count));return a(o,{className:"countWrap",children:[e(o,{className:"label",children:"购买数量"}),e(s,{count:t,handleStep:l})]})})),Xl=({skuInfo:o,handleChooseSize:s,spec:t,goodInfo:i})=>{const{Image:n,View:c}=p(),{skuList:r}=o,d=i&&"06"===i.goodsType?i.pricesetRefrice+"积分":ta(i.pricesetNprice);return a(l,{children:[a(c,{className:"goodsInfo",children:[e(c,{className:"lPart",children:e(n,{src:Ee(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()]})]})]}),r.map(((a,l)=>e(ql,{spec:t,handleChooseSize:s,index:l,skuName:a.skuName,skuOption:a.skuOption},l)))]})},Jl=({cashImpl:o,addShoppingImpl:s,addCardImpl:t})=>{const{Text:i,View:n}=p(),c=le((e=>e.isNeedButton)),r=le((e=>e.offShelf));return r?e(n,{className:f({btnWrap:!0,offShelf:r}),children:e(i,{className:"btn",children:"已下架"})}):e(l,{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:o,children:"立即购买"})]})})},_l=s((({dispatchPageStore:l,goodsCode:o,skuInfo:s,rsSkuDomainList:t})=>{const{View:i,ScrollView:n}=p(),{spec:c,goodInfo:r}=J(t),{handleChooseSize:d,handleStep:m,addCardImpl:h,cashImpl:u,addShoppingImpl:g}=ce(o,s,t,l);return a(i,{className:"goodsDetail-size-popup",children:[e(Va,{children:e(n,{children:a(i,{className:"content",children:[e(Xl,{skuInfo:s,handleChooseSize:d,spec:c,goodInfo:r}),e(Zl,{handleStep:m.bind(null,r.goodsNum,r.goodsMinnum)})]})})}),e(Jl,{cashImpl:u,addShoppingImpl:g,addCardImpl:h})]})})),eo=({popupVisible:a,dispatchPageStore:l,goodsCode:o,skuInfo:s,rsSkuDomainList:t})=>{const{Popup:i}=p();return e(i,{popupVisible:a,popupHandler:()=>{l({visible:!1})},children:e(_l,{dispatchPageStore:l,goodsCode:o,skuInfo:s,rsSkuDomainList:t})})},ao=s((({serverShow:o,cartShow:s,lPartShow:t,lPartColor:i,lPartBgColor:n,lPartStyle:c,rPartColor:r,rPartBgColor:d,rPartStyle:m,rPartText:h,dispatchPageStore:u,skuCode:g,platform:N,scene:f})=>{const{View:b,IconMobile:C,Text:x}=p(),w=le((e=>e.offShelf)),{rsSkuDomainList:S,goodPro:k}=$(g,f),{goodInfo:v}=J(S),{servicePopup:I}=oa(N),{addCardPopup:B,buyOpenPopup:A}=oe(u);return a(b,{className:"goodsDetailHandleBar",children:[a(b,{className:"linkGroup server",onClick:I,style:{display:o?"block":"none"},children:[e(C,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(b,{className:"txt",children:"客服"})]}),a(b,{className:"linkGroup cart",onClick:()=>y("shopping"),style:{display:s?"block":"none"},children:[e(C,{value:"gouwuche",style:{fontSize:22,display:"block"}}),e(b,{className:"txt",children:"购物车"})]}),e(b,{className:"goods-detail-btn-group",children:w?e(b,{className:"btn addCart offShelf",children:e(x,{className:"btn",children:"已下架"})}):a(l,{children:["26"===k||!1===t?null:e(b,{className:"btn addCart",onClick:B,style:{color:i,backgroundColor:n,borderTopLeftRadius:c,borderBottomLeftRadius:c},children:"加入购物车"}),e(b,{onClick:A,className:"btn buy",style:Object.assign({color:r,backgroundColor:d,borderTopRightRadius:m,borderBottomRightRadius:m},!1===t?{borderTopLeftRadius:m,borderBottomLeftRadius:m}:{}),children:h||("10"===v.goodsPro?"预售抢购":"立即购买")})]})})]})})),lo=o=>{var{$_dataSource:s={},dispatchPageStore:t=V,skuCode:i,scene:n}=o,c=aa(o,["$_dataSource","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=$(i,n),h=re(r,m),{popupVisible:p}=s;return a(l,{children:[e(ao,Object.assign({skuCode:i},c,{dispatchPageStore:t})),e(eo,{dispatchPageStore:t,popupVisible:p,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},oo=s((({serverShow:l,cartShow:o,lBtnBorderColor:s,lBtnFontColor:t,lBtnColor:i,lBtnStyle:n,rBtnBorderColor:c,rBtnFontColor:r,rBtnColor:d,rBtnStyle:m,dispatchPageStore:h,skuCode:u,scene:g,platform:N})=>{const{View:f,IconMobile:b}=p(),{rsSkuDomainList:C}=$(u,g),{goodInfo:x}=J(C),{servicePopup:w}=oa(N),{addCardPopup:S,buyOpenPopup:k}=oe(h);return a(f,{className:"goodsDetailHandleBarOne",children:[a(f,{className:"linkGroup server",onClick:w,style:{display:l?"block":"none"},children:[e(b,{value:"kehufuwukefu",style:{fontSize:22,display:"block"}}),e(f,{className:"txt",children:"客服"})]}),a(f,{className:"linkGroup cart",onClick:()=>y("shopping"),style:{display:o?"block":"none"},children:[e(b,{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:S,style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===n?"20px":"0"},children:"加入购物车"}),e(f,{onClick:k,className:"btn buy",style:{border:`1px solid ${c}`,color:r,backgroundColor:d,borderRadius:1===m?"20px":"0"},children:"10"===x.goodsPro?"预售抢购":"立即购买"})]})]})})),so=o=>{var{popupVisible:s=!1,dispatchPageStore:t=V,skuCode:i,scene:n}=o,c=aa(o,["popupVisible","dispatchPageStore","skuCode","scene"]);const{rsSpecValueDomainList:r,goodsCode:d,rsSkuDomainList:m}=$(i,n),h=re(r,m);return a(l,{children:[e(oo,Object.assign({skuCode:i},c,{dispatchPageStore:t})),e(eo,{dispatchPageStore:t,popupVisible:s,goodsCode:d,rsSkuDomainList:m,skuInfo:h})]})},to=[{name:"默认",sortField:"pricesetNprice"},{name:"新品",sortField:""},{name:"销量",sortField:"goodsSalesvolume",order:"asc"},{name:"价格",sortField:"pricesetNprice",order:"asc"}],io=({setParams:l,activeColor:o})=>{const{View:s}=p(),[i,n]=t(0),[c,r]=t(to);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,o)=>{n(a),o&&r((e=>(e[a].order="asc"===o?"desc":"asc",[...e]))),l({sortField:e,order:o})})(c,m,t),style:{color:i===m?o:""},children:[d,t&&a(s,{className:"orderIcons",children:[e(Xe,{style:{color:i===m&&"desc"!==t?o:"#444",fontSize:14,width:8,height:8},value:"shengxu1"}),e(Xe,{style:{color:i===m&&"desc"===t?o:"#444",fontSize:14,width:8,height:8},value:"jiangxu1"})]})]},m)))})},no=s((({classtreeCode:l="",searchParam:o="",activeColor:s="#e54e29",goodsName:i=!0,goodsPrice:c=!0,lineationGoods:r=!0,salesQuantity:d=!0,goodsCar:m=!0,borderRadius:h=!0,goodsColor:u=!0,goodsGap:g=10,paddingLR:N=0,__link__:b={}})=>{console.log(111,b);const{View:C,Loading:y,SmoothView:x,Image:w,ScrollView:S,IconMobile:k}=p(),[v,I]=t({}),{loading:B,getData:A,list:T}=de(l,o,v),D=n((()=>f("textBox",{btm:!c&&!r})),[c,r]),V=n((()=>f("name",{boxNone:!i})),[i]),L=n((()=>f("middle_margin",{boxNone:!d})),[d]),P=n((()=>f("goodDetail",{boxNone:!c&&!r&&!m})),[c,r,m]),R=n((()=>f({detailContent:!(V.includes("boxNone")&&L.includes("boxNone")&&P.includes("boxNone"))})),[V,L,P]);return a(C,{className:"goodsList",children:[e(C,{className:"top-info",children:e(io,{setParams:I,activeColor:s})}),e(C,{className:"listWrap",style:{padding:` 0px ${N}px`},children:e(Va,{id:"listWrap",children:a(S,{onScroll:()=>A(v),children:[e(C,{className:"list",style:{gap:g},children:T.map((l=>a(C,{onClick:()=>Qe(b,{skuCode:l.skuCode}),className:"listItem",style:{borderRadius:h?"8px":"",boxShadow:u?"4px 4px 4px #969292":""},children:[e(w,{src:Ee(l.dataPic),className:"img"}),a(C,{className:R,children:[e(x,{className:V,children:l.goodsName}),a(C,{className:L,children:["已售:",l.goodsNum]}),a(C,{className:P,children:[a(C,{className:D,children:[e(x,{className:"price",style:{display:c?"block":"none"},children:ta(l.pricesetNprice)})," ",e(C,{className:"decoration",style:{display:r?"block":"none"},children:ta(l.pricesetMakeprice)})]}),e(C,{style:{display:m?"block":"none"},children:e(k,{style:{fontSize:20,color:"#f00"},value:"cart"})})]})]})]},l.skuCode)))}),B?e(y,{}):null]})})})]})})),co=({dispatchPageStore:a,$_dataSource:l={cartIsEditor:!1},btnStyle:o,borderColor:s,textColor:t,btnColor:i,btnShape:c})=>{const{View:r}=p(),{cartIsEditor:d}=l,{editorImpl:m}=me(a),h=n((()=>({border:o?`2px solid ${s}`:"",color:o?t:"",background:o?i:"",borderRadius:o?c:""})),[o,s,t,i,c]);return e(r,{className:"cart-edit",children:e(r,{className:"btn",onClick:m,style:h,children:d?"完成":"编辑"})})},ro=s((({promotionName:l,checked:o,promotionCode:s})=>{const{View:t,Radio:i}=p();return a(t,{className:"promotion-item",children:[e(t,{className:"content",children:l}),e(t,{className:"choose",children:e(i,{"data-code":o,checked:o,value:s})})]})})),mo=({onChange:a,promotionCode:l,visible:o,setVisible:s,promotion:t})=>{const{Popup:i,ScrollView:n,View:c,SmoothRadio:r}=p();return e(i,{popupVisible:o,popupHandler:s,children:e(c,{className:"goodsDetail-coupon-popup",children:e(Va,{children:e(n,{children:e(r,{onChange:a,children:t.map(((e,a)=>m(ro,Object.assign({checked:e.promotionCode===l},e,{key:a}))))})})})})})},ho=s((({goodsName:o,dataState:s,skuName:t,goodsCamount:i,shoppingGoodsId:n,pricesetNprice:c,handleStep:r})=>{const{View:d,SmoothView:m,NumStep:h}=p();return e(l,{children:a(d,{className:"cartItem-info",children:[e(m,{className:"cartItem-goodsName",children:o}),a(d,{className:"cartItem-size",children:["规格:",t," X ",i]}),a(d,{className:"cartItem-handleWrap",children:[e(m,{className:"price",children:ta(c)}),0===s&&e(h,{count:i,handleStep:r.bind(null,n,i)})]})]})})})),po=s((({dataPic:l,dataState:o,skuCode:s})=>{const{Image:t,View:i}=p(),c=n((()=>{let a="";switch(o){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!==o?e(i,{className:"bg",children:e(t,{className:"icon-img",src:a})}):null}),[o]);return a(i,{className:"cart-item-image",children:[c,e(t,{className:"img",src:l,onClick:()=>y("goodDetail",{skuCode:s})})]})})),uo=s((({cartIsEditor:a,shoppingGoodsId:l,dataState:o,select:s=[]})=>{const{View:t,Checkbox:i}=p(),c=n((()=>(a||0===o)&&s.includes(l)),[s,a,l,o]);return console.log(106,typeof l),e(t,{className:"checkBoxWrap",children:e(i,{disabled:!a&&0!==o,checked:c,value:l,style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"}})})})),go=({promotion:o=[],updatePm:s,shoppingGoodsId:i,promotionCode:c})=>{const{View:r}=p(),[d,m]=t(!1),h=n((()=>((o||[]).find((e=>e.promotionCode===c))||{}).promotionName),[o]);return a(l,{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(mo,{promotionCode:c,onChange:e=>{m(!1),s(i,pe(e))},promotion:o||[],visible:d,setVisible:m})})]})},No=s((l=>{var{item:o}=l,s=aa(l,["item"]);const{View:t}=p(),{select:i,cartIsEditor:n}=s;return a(t,{className:"cart-list-item",children:[e(uo,{cartIsEditor:n,dataState:o.dataState,select:i,shoppingGoodsId:o.shoppingGoodsId}),e(po,{dataState:o.dataState,dataPic:Ee(o.dataPic),skuCode:o.skuCode}),e(ho,Object.assign({},o,s))]})})),fo=o=>{var{shoppingGoodsList:s=[]}=o,t=aa(o,["shoppingGoodsList"]);return e(l,{children:s.map(((l,o)=>a(h,{children:[e(No,Object.assign({},t,{item:l})),l.pmPromotionList?e(go,{promotionCode:t.promotionCode,shoppingGoodsId:l.shoppingGoodsId,updatePm:t.updatePm,promotion:l.pmPromotionList}):null]},o)))})},bo=({disNextMsg:l,link:o})=>{const{View:s,IconMobile:t}=p(),i=n((()=>D(o)?null:a(s,{style:{color:"#ED4444",textAlign:"right"},onClick:()=>Qe(o,{}),children:["去凑单",e(t,{style:{fontSize:"14px",color:"#888"},value:"xiangyou1"})]})),[o]);return a(s,{className:"cart-dis-title-msg",children:[e(s,{className:"dis-msg",children:l}),i]})},Co=({disNextMsg:l,promotionName:o,pbName:s,link:t})=>{const{View:i,SmoothView:n}=p();return a(i,{className:"cart-dis-title",children:[e(n,{className:"tips",children:s}),e(n,{className:"title",children:o}),l&&e(bo,{link:t,disNextMsg:l})]})},yo=({refreshNum:o,dispatchPageStore:s,$_dataSource:t={cartSelect:[],cartUpdateCount:0,cartIsEditor:!1},__link__:i={},cartItemRadius:n="10px"})=>{const{SmoothCheckbox:c,WrapLoading:r,View:d}=p(),{cartSelect:m,cartUpdateCount:u,cartIsEditor:g}=t,{loading:N,cartList:f,onChange:b,handleStep:C,updatePm:y}=he(o,u,s);return console.log(286,m),e(r,{loading:N,children:e(d,{className:"cart-wrap",children:e(c,{value:m,onChange:b,children:f.length?e(l,{children:f.map((({memberName:l,promotionCode:o,disNextMsg:s,promotionName:t,pbName:c,shoppingGoodsList:r},p)=>a(h,{children:[e("h4",{children:l}),a(d,{className:"cart-bg",style:{borderRadius:n},children:[t?e(Co,{link:i,disNextMsg:s,promotionName:t,pbName:c}):null,e(fo,{cartIsEditor:g,promotionCode:o,handleStep:C,select:m,updatePm:y,shoppingGoodsList:r,cartItemRadius:n})]})]},p)))}):e(al,{url:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noCarts.png",title:"购物车竟然是空的",subTitle:"快点挑选点东西犒赏自己吧",link:"index"})})})})},xo=({$_dataSource:l={cartInfo:[],cartDisMoney:0,cartSelect:[],cartIsEditor:!1},dispatchPageStore:o,countBorderColor:s="#000000",countTextColor:t="#ffffff",countBtnColor:i="#000000",countBtnShape:c="20px"})=>{const{View:r,SmoothView:d,SmoothCheckbox:m,Checkbox:h}=p(),{cartInfo:u,cartDisMoney:g,cartSelect:N,cartIsEditor:f}=l,{toOrderImpl:b,deleteCart:C,selectAll:y,cartDetail:x}=ue(N,u,o),w=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:u.length===N.length?["true"]:[],onChange:y,children:e(h,{checked:u.length===N.length,value:"true",style:{"--icon-size":"16px","--font-size":"14px","--gap":"6px"},children:"全选"})})}),f?e(r,{className:"del",children:e(r,{onClick:C,className:"btn",children:"删除"})}):a(r,{className:"check",children:[a(r,{className:"priceGroup",children:[a(r,{className:"discount",children:["优惠: ",e(d,{className:"data",children:ta(g)})]}),a(r,{className:"all",children:["总计: ",e(d,{className:"data",children:ta(x.amount)})]})]}),a(r,{onClick:b,className:"btn",style:w,children:["结算(",x.num,")"]})]})]})},wo=({address:a})=>e(l,{children:D(a)?e(ko,{}):e(So,{address:a})}),So=({address:l})=>{const{View:o,SmoothView:s,IconMobile:t}=p(),i=n((()=>{const{provinceName:e,addressDefault:a,cityName:o,areaName:s,addressDetail:t,addressMember:i="",addressPhone:n=""}=l;return{addressDefault:"1"===a,addressMember:i,addressPhone:n,address:e+o+s+t}}),[l]);return a(o,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(o,{className:"left",children:[a(o,{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"}})]})},ko=()=>{const{View:o,Text:s}=p();return a(l,{children:[a(o,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},vo=({refreshNum:a,skuId:l="",goodsNum:o=0,shoppingGoodsId:s=""})=>{const{View:t}=p(),i=ge(a,o,l,s);return e(t,{className:"placeOrder-chooseAddress",onClick:()=>y("addressList"),children:e(wo,{address:i})})},Io=({address:a})=>e(l,{children:D(a)?e(Ao,{}):e(Bo,{address:a})}),Bo=({address:l})=>{const{View:o,SmoothView:s,IconMobile:t}=p(),i=n((()=>{const{provinceName:e,cityName:a,areaName:o,addressDetail:s,addressMember:t="",addressPhone:i=""}=l;return{displayName:t,displayPhone:i,address:(e||"")+(a||"")+(o||"")+(s||"")}}),[l]);return a(o,{className:"address-info",children:[e(t,{style:{fontWeight:900,color:"#444",lineHeight:3.2},value:"shouhuodizhi"}),a(o,{className:"left",children:[a(o,{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"}})]})},Ao=()=>{const{View:o,Text:s}=p();return a(l,{children:[a(o,{className:"group",children:[e(s,{className:"local"}),e(s,{className:"address",children:"选择收货地址"})]}),e(s,{className:"arrow"})]})},To=({refreshNum:a})=>{const{View:l}=p(),o=Ne(a);return e(l,{className:"placeOrder-chooseAddress",onClick:()=>y("pickupPointList"),children:e(Io,{address:o})})},Do=({tabActive:o,setTabActive:s})=>{const{Text:t}=p();return e(l,{children:[{title:"快递",id:"0"},{title:"自提",id:"1"}].map(((l,i)=>e(h,{children:a(t,{className:"tabsItem "+(o===l.id?"active":""),onClick:()=>s(l.id),children:[l.title,e(t,{className:"line"})]})},l.id)))})},Vo=({refreshNum:l,skuId:o="",goodsNum:s=0,shoppingGoodsId:n=""})=>{const{View:c,Text:r}=p(),[d,m]=t("0");return i((()=>{fe.contractPumode=d}),[d]),a(c,{className:"placeOrderAddressTabs",children:[a(c,{className:"delivery-header",children:[e(r,{className:"delivery-label",children:"配送方式:"}),e(c,{className:"tabs",children:e(Do,{tabActive:d,setTabActive:m})})]}),e(c,{className:"content",children:"0"===d?e(vo,{refreshNum:l&&l.addressId,skuId:o,goodsNum:s,shoppingGoodsId:n}):e(To,{refreshNum:l&&l.userinfoOcode,skuId:o,goodsNum:s,shoppingGoodsId:n})})]})},Lo=s((({couponStart:l,pbName:o,discName:s,promotionCode:t,promotionName:i,couponEnd:n})=>{const{View:c,Text:r,Radio:d}=p();return e(c,{className:"couponItem",children:a(c,{className:"coupon-content",children:[a(c,{className:"price",children:[e(c,{className:"symbol",children:o}),e(c,{className:"num",children:s})]}),a(c,{className:"info",children:[e(r,{className:"title",children:i}),a(r,{className:"date",children:[$e(l).format("YYYY-MM-DD")," - ",$e(n).format("YYYY-MM-DD")]})]}),e(c,{className:"choose",children:e(d,{value:t})})]})})})),Po=({refreshNum:o,goodsNum:s,skuId:t,shoppingGoodsId:i})=>{const{View:n,Text:c,Popup:r,SmoothRadio:d,ScrollView:h,Radio:u,Image:g}=p(),{shoppingGoodsList:N}=be({refreshNum:o,goodsNum:s,skuId:t,shoppingGoodsId:i}),{coupon:f,visible:b,setVisible:C,selectCoupon:y,onChange:x,onCreditChange:w,contractPmode:S,onPayChange:k,payList:v,payName:I,creditList:B,creditInfo:A,selectCredit:T,creditVisible:D,payVisible:V,setPayVisible:L,handleChooseImg:P,contractEcurl:R,setCreditVisible:M}=Ce(N);return a(l,{children:[a(n,{className:"coupon-select",onClick:()=>C(0!==f.length),children:[e(c,{className:"label",children:"使用优惠"}),a(n,{className:"info",children:[e(c,{className:"label",children:y?`已选择: ${y}`:0===f.length?"暂无可用优惠券":"请选择优惠券"}),0===f.length?null:e("img",{src:vl,alt:"",className:"icon"})]})]}),a(n,{className:"coupon-select",onClick:()=>L(!0),children:[e(c,{className:"label",children:"支付方式"}),a(n,{className:"info",children:[e(c,{className:"label",children:I?`已选择: ${I}`:"请选择支付方式"}),0===f.length?null:e("img",{src:vl,alt:"",className:"icon"})]})]}),A.urechargeId&&"0"===S&&a(n,{className:"coupon-select",onClick:()=>M(0!==B.length),children:[e(c,{className:"label",children:"使用授信"}),a(n,{className:"info",children:[e(c,{className:"label",children:T?0===+T?"不使用":`已选择: ${T}%`:"请选择授信"}),0===f.length?null:e("img",{src:vl,alt:"",className:"icon"})]})]}),"1"===S&&a(n,{className:"coupon-select",children:[e(c,{className:"label",children:"附件上传"}),a(n,{style:{fontSize:12,display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[e(n,{className:"img-fields",onClick:P,children:R?e(g,{src:R,className:"img",alt:R,mode:"widthFix"}):e(n,{children:"上传图片"})}),e(n,{children:"只能上传jpg/png文件,且不超过5mb"})]})]}),e(r,{popupVisible:V,popupHandler:L,children:e(n,{className:"goodsDetail-coupon-popup ver-line",children:e(Va,{children:e(h,{children:e(d,{value:"0",onChange:k,children:v.map(((l,o)=>a(n,{style:{marginBottom:5},children:[e(u,{checked:l.ptfpmodeType===S,value:l.ptfpmodeType}),l.ptfpmodeName]},o)))},"payVisible")})})})}),e(r,{popupVisible:D,popupHandler:M,children:e(n,{className:"goodsDetail-coupon-popup ver-line",children:e(Va,{children:e(h,{children:e(d,{onChange:w,children:B.map(((l,o)=>a(n,{style:{marginBottom:5},children:[e(u,{value:l.flagSettingInfo}),0===l.flagSettingInfo?"不使用":`${l.flagSettingInfo}%`]})))},"creditVisible")})})})}),e(r,{popupVisible:b,popupHandler:C,children:e(n,{className:"goodsDetail-coupon-popup",children:e(Va,{children:e(h,{children:e(d,{onChange:x,children:f.map(((e,a)=>m(Lo,Object.assign({},e,{key:a}))))},"visible")})})})})]})},Ro=({shippingMethod:l=1})=>{const{View:o}=p();return e(o,{className:"info placeOrder-blcWrap",style:1===l?{display:"block"}:{display:"none"},children:a(o,{className:"express placeOrder-blcItem",children:[e(o,{className:"label",children:"配送方式"}),e(o,{className:"value",children:"快递"})]})})},Mo=({refreshNum:a,goodsNum:o,skuId:s,shoppingGoodsId:t})=>{const{View:i}=p(),{list:n}=be({refreshNum:a,goodsNum:o,skuId:s,shoppingGoodsId:t});return console.log(9,n),e(i,{className:"place-order-goods",children:n.map(((a=[],o)=>e(l,{children:(a||[]).map(((a,l)=>e(Ea,Object.assign({},a),o)))})))})},Oo=({refreshNum:l,goodsNum:o,skuId:s,shoppingGoodsId:t})=>{const{View:i,SmoothView:n,Image:c,TextArea:r,Textarea:d}=p(),m=d||r,h=be({refreshNum:l,goodsNum:o,skuId:s,shoppingGoodsId:t}),{payState:u,disCount:g,creditMoney:N,freight:f,payPrice:b,rebMoney:C}=h,y=h.pointsDeduction||0,x=h.urDiscount||0,{shoppingCountPrice:w,comDisMoney:S,changeContent:k,shoppingType:v,pricesetRefrice:I}=ye(u),B="06"===v?I+"积分":ta(w),A="06"===v?Math.max(Number(I)-y,0)+"积分":ta(Math.max(b-N,0));return e(i,{style:{paddingBottom:80},children:a(i,{className:"price placeOrder-blcWrap",children:[e(i,{className:"title",children:"价格明细"}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"商品总金额"}),e(n,{className:"value",children:B})]}),null!==y&&a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"积分抵扣"}),a(n,{className:"value",style:{color:"#f00"},children:["-","06"===v?y+"积分":ta(y)]})]}),"06"===v?null:a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"会员权益优惠"}),a(n,{className:"value",style:{color:"#f00"},children:["-",ta(x)]})]}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"授信付款:"}),e(n,{className:"value",children:ta(-N)})]}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"返利金额"}),e(n,{className:"value",children:ta(-C.current)})]}),a(i,{className:"coupon placeOrder-blcItem",children:[e(i,{className:"label",children:"优惠金额"}),e(n,{className:"value",children:ta(-(S+g))})]}),a(i,{className:"express placeOrder-blcItem",children:[e(i,{className:"label",children:"运费"}),e(n,{className:"value",children:ta(f)})]}),a(i,{className:"all placeOrder-blcItem",children:[e(i,{className:"label",children:"订单备注"}),e(m,{className:"content",placeholder:"订单备注",rows:5,maxLength:30,onInput:k})]}),a(i,{className:"all placeOrder-blcItem",children:[e(i,{className:"label",children:"总计"}),e(n,{className:"value",style:{color:"#000"},children:A})]})]})})},zo=({color:l,buttonColor:o,borderColor:s,borderRadius:t,refreshNum:i,goodsNum:n,skuId:c,shoppingGoodsId:r})=>{const{View:d,Text:m,WrapLoading:h}=p(),{payPrice:u,list:g,payState:N,creditMoney:f,ocContractSettlList:b,pointsDeduction:C}=be({refreshNum:i,goodsNum:n,skuId:c,shoppingGoodsId:r}),{savePayPrice:y,loading:x}=xe({ocContractSettlList:b,payState:N,list:g},r,Math.max(u-f,0)),w={shoppingType:"",pricesetRefrice:0};N&&N.length>0&&(w.shoppingType=N[0].shoppingType||"",w.pricesetRefrice=N[0].pricesetRefrice||0);const S="06"===w.shoppingType?Math.max(Number(w.pricesetRefrice)-C,0)+"积分":ta(Math.max(u-f,0));return a(d,{className:"placeOrderFooter",children:[a(m,{className:"price",children:["合计: ",S]}),e(h,{loading:x,children:e(d,{className:"btn",onClick:y,style:{color:`${l}`,border:`1px solid ${s}`,backgroundColor:`${o}`,borderRadius:1===t?"40px":"0px"},children:"生成订单"})})]})},Fo=s((({contractBillcode:l,contractBbillcode:o,btnColor:s,btnShape:t,borderColor:c,paddingTop:r,paddingBottom:d,color:m})=>{const h=n((()=>b()),[]),{View:u,Text:g,Radio:N,IconMobile:f,WrapLoading:C,SmoothRadio:y}=p(),{paymentImpl:x,channelList:w,contract:S,handleRadio:k,loading:v}=we({contractBillcode:l,contractBbillcode:o});return i((()=>{console.log("打印下当前的channelList",w)}),[]),a(u,{className:"paymentModeWrap",style:{height:h?"inherit":"667px",paddingBottom:d+"px",paddingTop:r+"px"},children:[a(u,{className:"paymentMode",children:[a(u,{className:"topInfo",children:[a(g,{className:"title",children:[e(f,{value:"roundcheck"}),"订单提交成功"]}),a(u,{className:"info",children:["订单号:",S.current.contractBillcode," | 总金额:",ta(S.current.contMoney+(S.current.logMoney||0)),"元"]}),a(u,{className:"info",children:["还需支付:",ta(S.current.orderMoney),"元"]})]}),e(u,{className:"paymentGroup",children:e(y,{onChange:k,children:null==w?void 0:w.map((l=>a(u,{className:"paymentItem",children:[e(f,{value:l.fchannelBankImgurl}),a(u,{children:[a(u,{className:"base",children:[e(g,{children:l.fchannelName}),e(N,{value:"1"===l.ptfchannelAmt?l.ptfchannelAmt:l.fchannelCode,className:"choose"})]}),"1"===l.ptfchannelAmt?a(u,{className:"info",children:[a(u,{children:["账户余额:",l.faccountAmount,"元"]}),a(u,{children:["支付金额:",ta(S.current.orderMoney),"元"]})]}):null]})]},l.fchannelCode)))})})]}),e(u,{id:"v_html"}),e(C,{loading:v,children:e(u,{className:"btnGroup",onClick:x,children:e(u,{style:{borderRadius:t,backgroundColor:s,color:m,borderColor:c},className:"payment",children:"立即支付"})})})]})})),Wo=({dataObj:l})=>{const{View:o,Text:s}=p();return a(o,{className:"placeOrderResultWrap",children:[a(o,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"订单号:"}),e(s,{className:"value",children:l.contractBillcode})]}),a(o,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付方式:"}),e(s,{className:"value",children:"在线支付"})]}),a(o,{className:"placeOrderResultItem",children:[e(s,{className:"label",children:"支付金额:"}),e(s,{className:"value",children:ta(l.dataBmoney)})]})]})},jo=s((({code:l,borderRadius:o,leftColor:s,leftButtonColor:t,leftBorderColor:i,leftBorderRadius:n,rightValue:c,rightAddHref:r,rightColor:d,rightButtonColor:m,rightBorderColor:h,rightBorderRadius:u,paddingTop:g,paddingBottom:N})=>{const{View:f,Text:b,IconMobile:C,WrapLoading:w}=p(),{result:S,loading:k}=Se(l||(x("contractBillcode")||{}).contractBillcode);return e(f,{className:"placeOrderResult",style:{paddingTop:g,paddingBottom:N},children:e(w,{loading:k,children:a(f,{className:"placeOrderResultContent",style:{borderRadius:1===o?"20px":"0px"},children:[e(C,{value:S.icon,style:{fontSize:"35px",color:S.color}}),a(f,{className:"tips",children:[e(b,{className:"title",children:S.msg}),e(b,{className:"tip",children:S.info})]}),"success"===S.sysRecode&&e(Wo,{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 ${i}`,borderRadius:1===n?"20px":"0px"},children:S.buttonText}),e(f,{style:{color:d,backgroundColor:m,border:`1px solid ${h}`,borderRadius:1===u?"20px":"0px"},onClick:()=>y(r.value),className:"btn white",children:c})]})]})})})})),{Button:Go}=g,Eo=a=>{var{dataState:o}=a,s=aa(a,["dataState"]);return e(l,{children:["2","-1"].includes(o+"")?null:e(Yo,Object.assign({dataState:o},s))})},Yo=a=>{var{dataState:l,contractAppraise:o,color:s,borderColor:t,btnColor:i,btnShape:n}=a,c=aa(a,["dataState","contractAppraise","color","borderColor","btnColor","btnShape"]);const{View:r}=p();4!==l&&4!==l||1===o?4!==l&&4!==l||1!==o||(l=5):l=4;const{operateArray:d,handlerImpl:m}=ke(Object.assign({dataState:l},c));return e(r,{className:"btnGroup",children:d.map(((a,l)=>e(Go,{style:{color:s,borderColor:t,backgroundColor:i},className:f({btn:!0,white:0===l,black:1===l}),onClick:()=>m(a.handler),shape:n,children:a.name},l)))})},{Button:Ho}=g,Uo=({contractPaydate:a,init:o,countdownCancel:s,contractId:n})=>{const{View:c,SmoothView:r}=p(),{resultTime:d}=((e,a,l,o)=>{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?l(o).then((()=>{a()})):i>1e3&&n(na(i,"后将取消订单,请尽快支付"))}),1e3);return()=>{clearTimeout(s)}}),[s]),{resultTime:s}})(a,o,s,n);return e(l,{children:d?e(c,{className:"card-item-info-countDown",children:e(r,{children:d})}):null})};function Ko({contractBillcode:l,dataBmoney:o,dataBnum:s,goodsList:t,dataState:i,contractId:n,init:c,contractAppraise:r,borderRadius:d,orderSpacing:m,contractPaydate:h,countdownCancel:u}){const{View:g}=p(),N=ve(i);return a(g,{className:"orderListItem",style:{borderRadius:d?8:"",marginTop:m,marginBottom:m},children:[a(g,{onClick:()=>y("orderDetail",{contractBillcode:l}),children:[a(g,{className:"topInfo",children:[a(g,{className:"orderNo",children:["订单号: ",l,e(Ho,{className:"copy",size:"mini",fill:"outline",children:"复制"})]}),e(g,{className:"status",children:N})]}),e(g,{className:"card-item-info-countDown"}),e(g,{className:"goodsItemWrap",children:t.map((a=>e(Ea,Object.assign({},a,{dataState:i,children:1===i&&e(Uo,{contractPaydate:h,init:c,countdownCancel:u,contractId:n})}),a.contractGoodsId)))})]}),a(g,{className:"allInfo",children:[a(g,{className:"totalNum",children:["共",s,"件商品"]}),a(g,{className:"totalPrice",children:["合计 ",ta(o)]})]}),e(Eo,{init:c,contractId:n,contractBillcode:l,dataState:i,contractAppraise:r})]})}const Qo=()=>{const{View:a,Image:l}=p();return e(a,{children:e(l,{src:"https://brushes.oss-cn-shanghai.aliyuncs.com/static/mini/noOrder.png",className:"img",mode:"widthFix"})})};const $o=s((function({item:l,refreshNum:o,borderRadius:s,orderSpacing:t}){const{View:i,ScrollView:n,Loading:c}=p(),{onScroll:r,data:d,loading:h,init:u,countdownCancel:g}=Ie(l,o);return e(i,{className:"orderListItemWrap",children:e(Va,{id:"orderListItemWrap",children:e(n,{onScroll:r,children:d.length>0?a(i,{children:[d.map(((e,a)=>m(Ko,Object.assign({init:u},e,{key:a,borderRadius:s,orderSpacing:t,countdownCancel:g})))),e(i,{children:h?e(c,{}):null})]}):a(i,{className:"nodata_img",children:[e(Qo,{}),e(i,{className:"nodata-btn",onClick:()=>y("goodList"),children:"前往购物"})]})})})})})),qo=s((({refreshNum:a=0,indexId:l=0,borderRadius:o=!1,orderSpacing:s=12})=>{const{View:t,Tabs:i}=p();return e(t,{className:"order-container",children:e(i,{defaultIndex:+l,tabs:Be,render:l=>e(t,{className:"orderList",children:e($o,{item:l,orderSpacing:s,refreshNum:a,borderRadius:o})})})})})),{Button:Zo}=g,Xo=s((({copyContent:a=""})=>{const[l,o]=t(!1),s=n((()=>b()),[]);return e(Zo,{className:"copy",size:"mini",fill:"outline",onClick:()=>{if(s){const e=C();if(""===a)return void e.showToast({title:"复制内容为空",icon:"error"});e.setClipboardData({data:a,success:()=>{e.showToast({title:"复制成功",icon:"success"}),o(!0)},fail:()=>{e.showToast({title:"复制失败",icon:"error"})}})}},children:l?"已复制":"复制"})})),Jo=s((({contractBillcode:o,expressWay:s,backgroundColor:t,color:i,paddingBottom:n,paddingTop:c,borderColor:r,btnColor:d,btnShape:m})=>{const{View:h,Text:u,Image:g}=p(),{orderDetail:N,handleApplyBtn:f,creditMoney:b,packageRemark:C}=Ae(o||""),y=e=>$e(e).format("YYYY-MM-DD HH:mm:ss");return a(h,{className:"orderDetail",children:[e(h,{style:{backgroundColor:t},className:"orderDetailTopTitle",children:a(h,{className:"orderDetailTopTitleContent",children:[a(h,{className:"icon_text",children:["待收货"===ve(N.dataState)?e(Xe,{value:"daishouhuo",style:{color:"#ffffff",marginRight:"10px",fontSize:"20px"}}):"",e(u,{className:"title",children:ve(N.dataState)})]}),e(h,{className:"subTitleWrap",children:y(N.gmtCreate)})]})}),e(h,{className:"orderDetailContent",style:{paddingTop:c+"px",paddingBottom:n+"px"},children:a(h,{style:{position:"relative",top:-26},children:[a(h,{className:"addressInfo",children:[e(h,{className:"lPart",children:e(Xe,{value:"dizhi"})}),a(h,{className:"mPart",children:[a(h,{className:"personInfo",children:[e(u,{className:"personName",children:N.goodsReceiptMem}),e(u,{className:"personPhone",children:N.goodsReceiptPhone})]}),e(h,{className:"address",children:N.goodsReceiptArrdess})]}),e(h,{className:"rPart"})]}),a(h,{className:"orderDetailGoodsWrap",children:[N.goodsList.map((o=>a(l,{children:[e(Ea,Object.assign({},o),o.contractGoodsId),Number(N.dataState)>1&&Number(N.dataState)<5?e(h,{className:"orderBtn",onClick:f.bind(null,o,N.dataState),children:"申请退款"}):""]}))),a(h,{className:"priceInfo",children:[a(h,{className:"priceInfoFloor top",children:[a(h,{className:"totalNum",children:["共",N.goodsNum,"件商品"]}),a(h,{className:"totalPrice",children:["合计 ",parseFloat((N.dataBmoney-N.refundMoney).toFixed(2))]})]}),a(h,{className:"priceInfoFloor",children:[e(h,{className:"totalNum",children:"商品总额"}),a(h,{className:"totalPrice",children:["¥",N.contractInmoney]})]}),a(h,{className:"priceInfoFloor",children:[e(h,{className:"totalNum",children:"运费"}),a(h,{className:"totalPrice",children:["¥",N.goodsLogmoney]})]}),a(h,{className:"priceInfoFloor",children:[e(h,{className:"totalNum",children:"优惠"}),a(h,{className:"totalPrice",children:["¥",-N.goodsPmoney]})]})]})]}),s&&a(h,{className:"express",children:[e(h,{className:"label",children:"配送方式1"}),e(h,{className:"name",children:"1"===N.contractPumode?"自提":"快递"})]}),a(h,{className:"orderInfo",children:[e(h,{className:"orderInfoItem",children:e(h,{style:{fontSize:14},children:"订单信息"})}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"买家留言"}),e(h,{className:"name",children:C||"-"})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"订单编号"}),a(h,{className:"context_copy",children:[e(h,{className:"name",children:N.contractBillcode}),e(Xo,{copyContent:N.contractBillcode})]})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"下单时间"}),e(h,{className:"name",children:y(N.gmtCreate)})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"授信金额"}),e(h,{className:"name",children:ta(-b)})]}),a(h,{className:"orderInfoItem",children:[e(h,{className:"label",children:"支付方式"}),e(h,{className:"name",children:e(h,{className:"name",children:"0"===N.contractPmode?"线上支付":"线下支付"})})]}),"1"===N.contractPmode&&a(h,{className:"orderInfoItem container-img-top",children:[e(h,{className:"label",children:"付款凭证"}),e(h,{className:"name",children:e(g,{mode:"widthFix",style:{width:100},src:Ee(N.contractEcurl)})})]})]}),e(h,{className:"btnGroupFooter",children:e(Eo,{borderColor:r,btnColor:d,btnShape:m,color:i,contractBillcode:N.contractBillcode,contractId:N.contractId,dataState:N.dataState})})]})})]})})),_o=({defaultValue:l,info:o,detail:s,stateObj:t})=>{const{View:i}=p(),n=A(o,"packageList[0].contractGoodsList[0].dataPic",l.dataPic),c=A(o,"packageList.length",l.count),r=A(o,"packageList[0].expressName",l.expressName),d=A(o,"packageList[0].packageBillno",l.packageBillno),m=A(s,"state",l.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]})]})]})},es=({defaultValue:l,detail:o})=>{const{View:s}=p(),t=A(o,"message",l.message),i=A(o,"data",l.list);return e(s,{className:"expressInfoStep",children:"ok"===t?i.map(((l,o)=>a(s,{className:"step",children:[e(s,{className:"time",children:l.time}),e(s,{children:l.context})]},o))):e(s,{className:"noInfo",children:t})})},as=s((({code:l,defaultValue:o})=>{const{View:s}=p(),{info:t,detail:i,stateObj:n}=Te(l);return a(s,{className:"expressInfo",children:[e(_o,{info:t,detail:i,stateObj:n,defaultValue:o}),e(es,{detail:i,defaultValue:o})]})})),ls=s((({avatarStyle:l,paddingTop:o,paddingBottom:s,userAvatar:n,userNickname:c,refreshNum:r})=>{const{View:d,Text:m,IconMobile:h,Image:u}=p(),{servicePopup:g}=oa(),[N,f]=t(c),[b,C]=t(n);return i((()=>{f(x("userNickname")),C(x("userAvatar"))}),[r]),a(d,{className:"mineData",style:{paddingTop:`${o}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(u,{src:b,alt:"",className:"avatar",style:{borderRadius:l?"50%":"2px"}})]})]})})),os=s((({title:l,columnList:o})=>{const{View:s,Text:n,Badge:c,Image:r}=p(),[d,m]=t({});i((()=>{la(void 0,void 0,void 0,(function*(){try{const e=yield I();m(e.dataObj)}catch(e){}}))}),[]);const h=(e,a)=>{4!==e.id?y("orderlist",{indexId:a>1?a+2:a+1}):y("afterSalesList")};return console.log(333,o,d),a(s,{className:"mineOrderEntry",children:[a(s,{className:"title",children:[e(s,{className:"name",children:l}),e(s,{className:"more",onClick:()=>y("orderlist"),children:"查看全部"})]}),e(s,{className:"content",children:o.map(((l,o)=>a(s,{onClick:h.bind(null,l,o),className:"contentItem",style:{display:l.show?"block":"none"},children:[e(c,Object.assign({},d[l.code]>0?{content:d[l.code]}:{},{color:"#f00",style:{color:"#fff",fontSize:12},children:e(r,{src:l.imgUrl,className:"icon"})})),e(n,{className:"subTitle",children:l.label})]},o)))})]})})),ss=s((({paddingTop:l,paddingBottom:o,columnList:s})=>{const{View:t,Text:i,IconMobile:n,Image:c}=p();return e(t,{className:"mineFunction",style:{paddingTop:l+"px",paddingBottom:o+"px"},children:s.map(((l,o)=>a(t,{className:"menuListItem",onClick:()=>y(l.link.value),children:[a(t,{className:"lPart",children:[e(c,{src:Ee(l.imgUrl),className:"icon"}),e(i,{className:"label",children:l.link.label})]}),e(n,{value:"xiangyou1"})]},o)))})})),ts=({starColor:l="#FF0934",starSize:o="12px",itemData:s})=>{const{View:t,Text:i,Image:n}=p(),{Rate:c}=g;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":o,"--active-color":l}})]})]}),a(t,{className:"size",children:["规格: ",s.size]}),e(t,{className:"content",children:s.evaluate}),e(t,{className:"img-group",children:s.imgUrls.map(((a,l)=>e(n,{src:a.imgUrl,className:"img"},l)))})]})},is=[{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"}]}],ns=s((()=>{const[o,s]=t("1"),{View:i}=p(),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(l,{children:[e(i,{className:"evaluateListTab",children:n.current.map((e=>a(i,{className:"evaluateListTabItem "+(e.index===o?"active":""),"data-index":e.index,onClick:r.bind(null,e.index),children:[e.label," ",e.num]},e.index)))}),e(i,{className:"evaluateListContent",children:is.map(((a,l)=>e(ts,{itemData:a},l)))})]})})),cs=s((({code:l,borderRadius:o,borderColor:s,color:t,buttonColor:i,buttonBorderRadius:n,paddingTop:r,paddingBottom:d})=>{const{orderInfo:m,changeStar:u,Submit:N,changeContent:f}=De(l),{Button:b}=g,{View:C,Image:y,TextArea:x,Textarea:w}=p(),S=w||x,k=c("宝贝满足你吗?分享一下它吧");return a(C,{className:"evaluateDetail",style:{paddingTop:r,paddingBottom:d},children:[m.map(((l,s)=>a(h,{children:[a(C,{className:"topInfo",children:[a(C,{className:"lPart",children:[e(y,{src:Ee(l.dataPic),className:"img",style:{borderRadius:1===o?"20px":"0px"}}),a(C,{className:"goodsInfo",children:[e(C,{className:"goodsName",children:l.goodsName}),e(C,{className:"goodsSize",children:l.skuName})]})]}),e(C,{className:"rPart",children:a(C,{className:"price",children:["¥ ",l.pricesetNprice]})})]}),a(C,{className:"rate",children:[e(C,{className:"title",children:"商品评价"}),e(Yl,{onChange:u.bind(null,s)})]}),e(C,{className:"evaluate",children:e(S,{className:"content",placeholder:k.current,rows:5,maxLength:30,onInput:f.bind(null,s)})})]},s))),e(b,{style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===n?"20px":"0px"},className:"btn",onClick:N,children:"提交"})]})})),rs=s((({code:l,borderRadius:o,borderColor:s,color:t,buttonColor:i,buttonBorderRadius:n,paddingTop:c,paddingBottom:r})=>{const{orderInfo:d,handleDelete:m}=Ve(l),{Button:u}=g,{View:N,Image:f,Text:b}=p();return a(N,{className:"evaluateDetail",style:{paddingTop:c,paddingBottom:r},children:[d.map(((l,s)=>{var t;return a(h,{children:[a(N,{className:"topInfo",children:[a(N,{className:"lPart",children:[e(f,{src:Ee(l.dataPic),className:"img",style:{borderRadius:1===o?"20px":"0px"}}),a(N,{className:"goodsInfo",children:[e(N,{className:"goodsName",children:l.goodsName}),e(N,{className:"goodsSize",children:l.skuName})]})]}),e(N,{className:"rPart",children:l.pricesetNprice&&a(N,{className:"price",children:["¥ ",l.pricesetNprice]})})]}),a(N,{className:"rate",children:[e(N,{className:"title",children:"商品评价"}),e(Yl,{readOnly:!0,count:(null===(t=l.evaluateScopeReList)||void 0===t?void 0:t.length)||0})]}),e(N,{className:"evaluate",children:e(N,{className:"content",children:e(b,{children:l.evaluateGoodsContent||""})})})]},s)})),d.length?e(u,{style:{border:`1px solid ${s}`,color:t,backgroundColor:i,borderRadius:1===n?"20px":"0px",marginTop:20},className:"btn",onClick:m,children:"删除"}):null]})})),ds=({item:l,edit:o,checked:s})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=p();return a(t,{className:"collectItem",children:[o?e(n,{className:"lPart",value:l.collectCode,checked:s}):null,a(t,{className:"rPart",onClick:()=>y("goodDetail",{skuCode:l.collectOpcode}),children:[e(i,{src:Ee(l.collectOppic),className:"img"}),a(t,{className:"info",children:[e(c,{className:"title",children:l.collectOpcont}),a(c,{className:"price",children:[l.collectOpnum," 元"]})]})]})]})},ms=s((()=>{const{collectionList:l,edit:o,setEdit:s,getData:t,getSelectItem:i,delItem:n,init:c,checked:r,handleSelectAll:d,selectAllChecked:m}=Le(),{View:h,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:f,Image:b}=p();return e(h,{className:"collectList",children:0===l.length?e(h,{className:"noDate",children:e(b,{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(!o),children:o?"完成":"编辑"})}),e(Va,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(g,{onChange:i,style:{height:"100%"},children:l.map((a=>e(ds,{item:a,edit:o,checked:r},a.collectId)))}),o?a(h,{className:"handleBar",children:[e(h,{className:"checkAll",children:e(g,{onChange:d,children:e(N,{value:"1",checked:m,children:"全选"})})}),e(f,{className:"btn",onClick:n,children:"删除"})]}):null]})})]})})})),hs=({item:l,edit:o,checked:s})=>{const{View:t,Image:i,Checkbox:n,SmoothView:c}=p();return a(t,{className:"collectItem",children:[o?e(n,{className:"lPart",value:l.collectCode,checked:s}):null,a(t,{className:"rPart",onClick:()=>y("merchantShop",{memberCode:l.collectOpcode}),children:[e(i,{src:Ee(l.collectOppic),className:"img"}),e(t,{className:"info",children:e(c,{className:"title",children:l.collectOpcont})})]})]})},ps=s((()=>{const{collectionList:l,edit:o,setEdit:s,getData:t,getSelectItem:i,delItem:n,init:c,checked:r,handleSelectAll:d,selectAllChecked:m}=Le(1),{View:h,ScrollView:u,SmoothCheckbox:g,Checkbox:N,Button:f,Image:b}=p();return e(h,{className:"collectList",children:0===l.length?e(h,{className:"noDate",children:e(b,{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(!o),children:o?"完成":"编辑"})}),e(Va,{id:"topBar",children:a(u,{scrollY:!0,scrollWithAnimation:!0,onScrollToLower:t,onScrollToUpper:c,children:[e(g,{onChange:i,style:{height:"100%"},children:l.map(((a,l)=>e(hs,{item:a,edit:o,checked:r},a.collectId||l)))}),o?a(h,{className:"handleBar",children:[e(h,{className:"checkAll",children:e(g,{onChange:d,children:e(N,{value:"1",checked:m,children:"全选"})})}),e(f,{className:"btn",onClick:n,children:"删除"})]}):null]})})]})})})),us=({footprintItem:l,edit:o})=>{const{View:s,Image:t,Checkbox:i,SmoothView:c}=p(),r=n((()=>l.footprintOpnum?`${l.footprintOpnum}元`:""),[l.footprintOpnum]);return a(s,{className:"footprintItem",children:[o?e(s,{className:"lPart",children:e(i,{value:l.footprintCode})}):null,a(s,{className:"rPart",onClick:()=>y("goodDetail",{skuCode:l.footprintOpcode}),children:[e(t,{src:Ee(l.footprintOppic),className:"img"}),a(s,{className:"info",children:[e(c,{className:"title",children:l.footprintOpcont}),e(c,{className:"price",children:r})]})]})]})},gs=({item:o,edit:s})=>{const{View:t}=p();return a(t,{className:"footPrint",children:[e(l,{children:e(t,{className:"title",style:{paddingLeft:"20px",paddingTop:"30px",paddingBottom:"10px"},children:null==o?void 0:o.title})}),o.option.map(((a,l)=>e(us,{footprintItem:a,edit:s},l)))]})},Ns=({footprintList:a,edit:o})=>{const s=n((()=>{const e=a.map((e=>(e.gmtCreate=e.gmtCreate?$e(e.gmtCreate).format("YYYY-MM-DD"):e.gmtCreate,e))),l=L(e,"gmtCreate");return Object.keys(l).map((e=>({title:e||"",option:l[e]})))}),[a]);return e(l,{children:s.map(((a,l)=>e(gs,{item:a,edit:o},l)))})},fs=s((()=>{const{View:l,ScrollView:o,SmoothCheckbox:s,Button:t,WrapLoading:i}=p(),{footprintList:n,edit:c,setEdit:r,getSelectItem:d,delItem:m,getData:h,loading:u}=Pe();return e(i,{loading:u,children:e(l,{className:"footprint",children:a(l,{className:"hasDate",children:[e(l,{className:"topBar",children:e(l,{className:"edit",onClick:()=>r(!c),children:c?"完成":"编辑"})}),e(Va,{id:"topBar1",children:a(o,{scrollY:!0,scrollWithAnimation:!0,refresherEnabled:!0,onScrollToLower:h,children:[e(s,{onChange:d,children:e(Ns,{footprintList:n,edit:c})}),c?a(l,{className:"handleBar",children:[e(l,{className:"checkAll"}),e(t,{className:"btn",onClick:m,children:"删除"})]}):null]})})]})})})})),bs=s((({buttonText:l,buttonBackground:o,borderRadius:s,paddingTop:t,paddingBottom:i})=>{const{View:c,Text:r,Button:d,WrapLoading:m,IconMobile:h}=p(),{signedDates:u,pointsNum:g,loading:N,signing:f,handleSignin:b}=Re(),C=$e(),y=C.format("YYYY-MM-DD"),x=n((()=>u.includes(y)),[u,y]),w=n((()=>{const e=C.year(),a=C.month(),l=$e(`${e}-${a+1}-01`),o=l.endOf("month"),s=l.day(),t=0===s?6:s-1,i=l.subtract(t,"day"),n=o.day(),c=0===n?0:7-n,r=o.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(C,"day"),isSigned:u.includes(e)}),m=m.add(1,"day")}return d}),[C,u]),S=n((()=>C.format("YYYY年MM月")),[C]);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:S})}),a(c,{className:"signinCalendar",children:[e(c,{className:"weekDays",children:["一","二","三","四","五","六","日"].map(((a,l)=>e(c,{className:"weekDay",children:e(r,{children:a})},l)))}),e(c,{className:"calendarGrid",children:w.map(((l,s)=>a(c,{className:`calendarDay ${l.isCurrentMonth?"":"otherMonth"} ${l.isToday?"today":""} ${l.isSigned?"signed":""}`,children:[e(r,{className:"dayNumber",style:l.isToday?{color:o}:{},children:l.date.date()}),l.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:x||f,onClick:b,style:{backgroundColor:o,opacity:x?.3:1,borderRadius:1===s?"22px":"8px"},children:f?"签到中...":x?"已签到":l})]})]})})})),Cs=s((({title:l,themeColor:o="#fa8c16",paddingTop:s,paddingBottom:i})=>{const{View:c,Text:r,Popup:d,WrapLoading:m}=p(),[h,u]=t((()=>$e())),[g,N]=t(!1),[f,b]=t((()=>$e().year())),[C,y]=t((()=>$e().month()+1)),{signinDetails:x,loading:w,refresh:S}=Me(h),k=n((()=>h.format("YYYY年MM月")),[h]),v=n((()=>Array.from({length:12},((e,a)=>a+1))),[]),I=n((()=>x.sort(((e,a)=>$e(a.date).valueOf()-$e(e.date).valueOf()))),[x]);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:l}),a(c,{className:"dateSelector",onClick:()=>{const e=h.year(),a=h.month()+1;b(e),y(a),N(!0)},children:[e(r,{className:"dateText",children:k}),e(r,{className:"arrowIcon",children:"▼"})]})]}),e(c,{className:"signinDetailList",children:I.length>0?I.map(((l,s)=>{const t=$e(l.date);return a(c,{className:"signinDetailItem",children:[e(r,{className:"dateText",children:t.format("MM月DD日")}),a(r,{className:"pointsText",style:{color:o},children:["+",l.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:()=>{b((e=>e-1))},children:e(r,{className:"arrowText",children:"«"})}),a(r,{className:"yearText",children:[f,"年"]}),e(c,{className:"yearArrow",onClick:()=>{b((e=>e+1))},children:e(r,{className:"arrowText",children:"»"})})]}),e(c,{className:"monthGrid",children:v.map((l=>e(c,{className:"monthItem "+(C===l?"active":""),onClick:()=>(e=>{y(e);const a=$e(`${f}-${String(e).padStart(2,"0")}-01`);u(a),N(!1)})(l),style:C===l?{backgroundColor:o}:{},children:a(r,{className:"monthText",children:[l,"月"]})},l)))})]})})})]})})})),ys=[{label:"全部",val:"0002,0006"},{label:"满减",val:"0002"},{label:"满折",val:"0006"}],xs=s((({activeColor:a,setParams:l,params:o})=>{const{View:s}=p();return e(s,{className:"promotionListTab",children:ys.map(((t,i)=>e(s,{className:"promotionListTabItem",onClick:()=>l(t.val),style:{color:t.val===o?a:"#000"},children:t.label},i)))})})),ws=({data:l})=>{const{View:o}=p(),{pbName:s,promotionName:t,pmPromotionDiscountList:i,promotionBegintime:n,promotionEndtime:c}=l;return a(o,{className:"promotionItem",children:[a(o,{className:"lPart",children:[e(o,{className:"round"}),e(o,{className:"tagBg",children:a(o,{className:"txt",children:["官方",s]})}),e(o,{className:"rule",children:i.at(-1).discName}),e(o,{className:"title",children:t}),a(o,{className:"time",children:[$e(n).format("YYYY-MM-DD")," ~ ",$e(c).format("YYYY-MM-DD")]})]}),e(o,{className:"rPart",children:e(o,{className:"sideBorder"})})]})},Ss=s((({activeColor:l,paddingTop:o,paddingBottom:s})=>{const[i,n]=t(ys[0].val),{list:c,getData:r}=Oe({params:i}),{View:d,ScrollView:m}=p();return a(d,{style:{padding:`${o}px 0 ${s}px`},children:[e(xs,{activeColor:l,setParams:n,params:i}),e(d,{children:e(Va,{id:"listWrap",children:e(m,{onScroll:()=>r(),children:c.map(((a,l)=>e(ws,{data:a},l)))})})})]})}));s((()=>{const{View:a,Skeleton:o}=p(),s=c(new Array(3).fill(0));return e(l,{children:e(a,{className:"skullWrap",children:e(a,{className:"skull",children:s.current.map(((a,l)=>e(o,{className:"skullItem",animated:!0},l)))})})})}));const ks=()=>{const{View:a,Image:l}=p();return e(a,{className:"noData",children:e(l,{src:"https://b2cweapp7c0069b43749439d97b7cae6a02bd459.saas.qjclouds.com/paas/shop-master/c-static/images/wxminiImg/no_coupon.png",className:"img"})})},vs=({list:o,coe:s,config:t,backgroundColor:i,color:n})=>{const{View:c,Text:r}=p();return e(l,{children:o.length?o.map(((o,d)=>e(c,{className:`couponListItem\n ${t.current[s.current].styleName}`,style:{backgroundColor:i,color:n},children:a(c,{className:"coupon-content",children:[e(c,{className:"price",children:e(r,{className:"num",children:o.pbName})}),a(c,{className:"couponListItem-info",children:[e(r,{className:"title",children:o.discName}),a(r,{className:"date",children:["有效期至:",`${new Date(o.gmtModified).getFullYear()}-${new Date(o.gmtModified).getMonth()+1}-${new Date(o.gmtModified).getDate()}`]}),t.current[s.current].text?e(c,{className:"btn",children:t.current[s.current].text}):null,2===s.current?e(l,{children:e(c,{className:"round",children:"已失效"})}):null]})]})},d))):e(ks,{})})},Is=s((({backgroundColor:l,color:o,paddingTop:s,paddingBottom:t,queue:i})=>{const{View:n,Text:c,ScrollView:r}=p(),{coe:d,getList:m,config:h,switchTab:u,list:g=[]}=ze();return a(n,{className:"couponList",children:[e(n,{className:"couponTab",children:h.current.map(((l,o)=>a(n,{className:"couponTabItem "+(d.current===o?"active":""),onClick:()=>u(o),children:[l.label,e(c,{className:"icon"})]},l.id)))}),e(Va,{id:"couponTab",bottomHeight:"60",children:e(r,{onScroll:m,children:e(n,{className:"couponListContent",style:{paddingTop:s,paddingBottom:t},children:e(vs,{backgroundColor:l,color:o,queue:i,list:g,coe:d,config:h})})})})]})})),Bs=s((({defaultValue:l,coupons:o,bg:s,borderColor:t,btnColor:i,typeColor:n,titleColor:c,ruleColor:r,timeColor:d,paddingTop:m,paddingBottom:h})=>{const{View:u}=p(),{list:g,takeCoupon:N,takeList:f}=Fe({defaultValue:l,coupons:o});return e(u,{style:{paddingTop:`${m}px`,paddingBottom:`${h}px`},children:g.map(((l,o)=>{const m=A(l,"pbName"),h=A(l,"pmPromotionDiscountList"),p=A(h.at(-1),"discName"),g=A(l,"promotionName"),b=$e(A(l,"promotionBegintime")).format("YYYY-MM-DD"),C=$e(A(l,"promotionEndtime")).format("YYYY-MM-DD"),y=A(l,"promotionCode");return a(u,{className:"OneLineOneBlc",style:{backgroundColor:s,borderColor:t},children:[a(u,{className:"lPart",children:[a(u,{className:"intro",children:[e(u,{className:"type",style:{color:n},children:m}),e(u,{className:"rule",style:{color:r},children:p})]}),a(u,{className:"info",children:[e(u,{className:"title",style:{color:c},children:g}),a(u,{className:"validity",style:{color:d},children:[b," - ",C]})]})]}),e(u,{className:"rPart",style:{backgroundColor:i},children:-1===l.availabledate||f.includes(o)?e(u,{className:"txt",children:"已 领 取"}):e(u,{className:"txt",onClick:()=>N({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),As=s((({defaultValue:l,coupons:o,bg:s,borderColor:t,btnColor:i,typeColor:n,ruleColor:c,titleColor:r,timeColor:d,gap:m,paddingTop:h,paddingBottom:u})=>{const{View:g}=p(),{list:N,takeCoupon:f,takeList:b}=Fe({defaultValue:l,coupons:o});return e(g,{className:"oneLineTwoBlc",style:{paddingTop:h,paddingBottom:u,paddingLeft:"10px",paddingRight:"10px",gap:m},children:N.map(((l,o)=>{const m=A(l,"pbName"),h=A(l,"pmPromotionDiscountList"),p=A(h.at(-1),"discName"),u=A(l,"promotionName"),N=$e(A(l,"promotionBegintime")).format("YYYY-MM-DD"),C=$e(A(l,"promotionEndtime")).format("YYYY-MM-DD"),y=A(l,"promotionCode");return a(g,{className:"oneLineTwoBlcItem",style:{backgroundColor:s,borderColor:t},children:[a(g,{className:"lPart",children:[e(g,{className:"type",style:{color:n},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," - ",C]})]}),e(g,{className:"rPart",style:{backgroundColor:i},children:-1===l.availabledate||b.includes(o)?e(g,{className:"txt",children:"已 领 取"}):e(g,{className:"txt",onClick:()=>f({promotionCode:y,couponAmount:1,index:o}),children:"立 即 领 取"})})]},o)}))})})),Ts=s((l=>{var{type:o=1,coupons:s=[]}=l,t=aa(l,["type","coupons"]);const{View:i}=p();return a(i,{className:"getCouponOne",children:[1===o?e(Bs,Object.assign({coupons:s},t)):null,2===o?e(As,Object.assign({coupons:s},t)):null]})})),Ds=({direction:a,speed:l,num:o,color:s})=>{const{content:t,navigator:i}=We(o);return e(N,{navigator:i,color:s,speed:l,direction:a,content:t})},Vs=s((({noticeId:l,paddingTop:o,paddingBottom:s,paddingLeft:t,paddingRight:i})=>{const{View:n,Image:c}=p(),{info:r}=je(l);return a(n,{className:"noticeDetailContainer",style:{paddingTop:o,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})]})})),Ls=s((({doclistId:l,paddingTop:o,paddingBottom:s,paddingLeft:t,paddingRight:i})=>{const{info:n}=Ge(l),{View:c,ScrollView:r}=p(),{doclistContent:d,doclistTitle:m,doclistTitle4:h}=n;return e(c,{className:"articleDetail",style:{paddingTop:o,paddingBottom:s,paddingLeft:t,paddingRight:i},children:e(Va,{id:"a",children:a(r,{children:[e(c,{className:"title",children:m}),e(c,{className:"author",children:h}),e("div",{className:"content",dangerouslySetInnerHTML:{__html:d||""}})]})})})}));export{il as AddressDetail,ll as AddressList,ol as AddressListBtn,Ma as AfterSalesApply,Qa as AfterSalesDetail,Ga as AfterSalesList,Xa as AfterSalesType,Ss as AllPromotionList,Ls as ArticleDetail,Ia as BackTop,yo as CartList,xo as CartOperate,co as CartTop,Ca as ClassifyNav,wa as ClassifyNavOne,xa as ClassifyNavOneJsx,va as ClassifyNavThree,Sa as ClassifyNavTwo,ms as CollectionList,ps as CollectionShopList,Is as CouponList,Aa as Cube,cs as EvaluateDetail,ns as EvaluateList,rs as EvaluateViewDetail,as as ExpressInfo,fs as FootPrint,Ts as GetCouponOne,Tl as Goods,ul as GoodsClassify,Cl as GoodsClassifyOne,Sl as GoodsClassifyTwo,$l as GoodsDetailAndEvaluate,Ll as GoodsDetailBanner,El as GoodsDetailCoupon,lo as GoodsDetailHandleBar,so as GoodsDetailHandleBarOne,Rl as GoodsDetailInfo,Ol as GoodsDetailInfoOne,Wl as GoodsDetailPromotion,Fl as GoodsDetailSku,no as GoodsList,Dl as GoodsSlider,Vl as GoodsSlideshow,ea as Line,bs as MemberSignin,ls as MineData,ss as MineFunction,os as MineOrderEntry,nl as MyAgreementList,rl as MySetting,cl as MySettingJsx,Ds as Notice,Vs as NoticeDetail,Jo as OrderDetail,qo as OrderList,Fo as PaymentMode,ml as PickupPointList,vo as PlaceOrderAddress,Vo as PlaceOrderAddressTabs,Po as PlaceOrderCoupon,Ro as PlaceOrderDelivery,Mo as PlaceOrderGood,Oo as PlaceOrderInfo,zo as PlaceOrderOperate,jo as PlaceOrderResult,Xe as QjMobileIcon,Il as Search,Al as SearchPage,Bl as SearchStyleTwo,Ze as Service,Cs as SigninDetail,Na as Slider,_e as TextLine,Je as Title,ca as ToPrice,fa as Video,sa as addressIdConst,ta as fixPrice,ia as fixPrice1,na as formatTime,oa as useService};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s-material-react",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "'组件库'",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": [