1
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[922],{9021:function(e,n,t){var a=t(9439),c=t(1515),l=t(7294),o=t(4184),s=t.n(o),u=t(5027),r=t(9498),i=t(5893),d=function TextareaEnhance(e){var n=e.onChange,t=e.title,o=void 0===t?"":t,d=e.placeholder,h=void 0===d?"请输入":d,x=e.defaultValue,f=e.onlyRead,m=void 0!==f&&f,g=e.maxLength,v=void 0===g?200:g,p=e.customStyle,Z=e.customClassName,N=(0,l.useState)(0),_=(0,a.Z)(N,2),j=_[0],C=_[1],w=(0,l.useState)(!1),G=(0,a.Z)(w,2),S=G[0],k=G[1],y=(0,l.useRef)(v),B=(0,r.BL)({value:x,defaultValue:"",onChange:function onChange(e){null==n||n(e)}}),R=(0,a.Z)(B,2),b=R[0],D=R[1],E=function getDesc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=e;e.length>y.current&&(n=e.slice(0,y.current)),C(n.length),D(n)};(0,l.useEffect)((function(){E(x)}),[x]);var I=function toggleShowRealTextarea(e){k(e)};return(0,i.jsxs)(c.G7,{className:u.Z.other_desc,children:[(0,i.jsx)(c.G7,{className:u.Z.title,children:o}),(0,i.jsxs)(c.G7,{className:u.Z.textarea,children:[S&&!m?(0,i.jsx)(c.gx,{autoFocus:!0,value:b,onBlur:function onBlur(){return I(!1)},style:p,className:s()(u.Z.textarea_con,Z),cursorSpacing:100,maxlength:y.current,onInput:function onInput(e){return E(e.detail.value)}}):(0,i.jsx)(c.G7,{className:s()(u.Z.textarea_con_pretend,b&&u.Z.textarea_con_pretend_ed,Z),style:p,onClick:function onClick(){return I(!0)},children:b||h}),(0,i.jsx)(c.G7,{className:u.Z.descDataNum,children:"".concat(j,"/").concat(y.current)})]})]})};n.Z=(0,l.memo)(d)}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9907],{8487:function(t,e,r){r.d(e,{BW:function(){return d},C_:function(){return l},Dn:function(){return i},k_:function(){return s},ln:function(){return u}});var n=r(749),d=function addressListApi(){return(0,n.Q)({url:"/v1/mall/address/list",method:"get"})},u=function addressAddApi(){return(0,n.Q)({url:"/v1/mall/address",method:"post"})},s=function addressDetailApi(){return(0,n.Q)({url:"/v1/mall/address",method:"get"})},i=function addressEditApi(){return(0,n.Q)({url:"/v1/mall/address",method:"put"})},l=function addressDeleteApi(){return(0,n.Q)({url:"/v1/mall/address",method:"delete"})}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2077],{8487:function(t,e,r){r.d(e,{BW:function(){return d},C_:function(){return l},Dn:function(){return i},k_:function(){return s},ln:function(){return u}});var n=r(749),d=function addressListApi(){return(0,n.Q)({url:"/v1/mall/address/list",method:"get"})},u=function addressAddApi(){return(0,n.Q)({url:"/v1/mall/address",method:"post"})},s=function addressDetailApi(){return(0,n.Q)({url:"/v1/mall/address",method:"get"})},i=function addressEditApi(){return(0,n.Q)({url:"/v1/mall/address",method:"put"})},l=function addressDeleteApi(){return(0,n.Q)({url:"/v1/mall/address",method:"delete"})}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4044],{5687:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___oaPAQ",hoverClass:"index-module__hoverClass___CFBjN","full-100":"index-module__full-100___ViNu0",order_price_num:"index-module__order_price_num___w7rDR",emphasis_num:"index-module__emphasis_num___XaOtu",price_text:"index-module__price_text___O8_pj",emphasis_num_big:"index-module__emphasis_num_big___YcYvD"}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4810],{5687:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___oaPAQ",hoverClass:"index-module__hoverClass___CFBjN","full-100":"index-module__full-100___ViNu0",order_price_num:"index-module__order_price_num___w7rDR",emphasis_num:"index-module__emphasis_num___XaOtu",price_text:"index-module__price_text___O8_pj",emphasis_num_big:"index-module__emphasis_num_big___YcYvD"}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[216],{6714:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___ccGnr",hoverClass:"index-module__hoverClass___gTUgM","full-100":"index-module__full-100___O7snw",shop_cart_main:"index-module__shop_cart_main___JXPT9",popup_con:"index-module__popup_con___y3rOB",header:"index-module__header___Fkmjh",miconfont:"index-module__miconfont___WCOzn",count_all:"index-module__count_all___CBjuZ",search:"index-module__search___sxzuE",search_item:"index-module__search_item___J0yVs",search_item_select:"index-module__search_item_select___j2U7K",con:"index-module__con___M3zqN",scroll:"index-module__scroll___XgNi2",product_list:"index-module__product_list___R2YCS",product_item:"index-module__product_item___JkDOa",checkbox:"index-module__checkbox___iwkrf",img:"index-module__img___P6j5a",des:"index-module__des___BygXN",subtitle:"index-module__subtitle___OHRTL",tag:"index-module__tag_____ISZ",no_product_item_select:"index-module__no_product_item_select___jZhOw",count:"index-module__count___rIRby",btn_count:"index-module__btn_count___q_l0I",long:"index-module__long___MWfGP",product_item_name:"index-module__product_item_name___vWPVX",product_item_name_header:"index-module__product_item_name_header___ZEGQk",price:"index-module__price___Dne74",title:"index-module__title___FuOxK",empty:"index-module__empty____wXM7",btn:"index-module__btn___yoqkR",buy_btn:"index-module__buy_btn___S9lS1",buy_con:"index-module__buy_con___M7y2i",icon:"index-module__icon___REXwD",price_con:"index-module__price_con___ZDMQk",price_real:"index-module__price_real___Z0aPl",price_forecast:"index-module__price_forecast___Ggj9H",goPay:"index-module__goPay___F2QQ6"}}}]);
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[3851],{6714:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___ccGnr",hoverClass:"index-module__hoverClass___gTUgM","full-100":"index-module__full-100___O7snw",shop_cart_main:"index-module__shop_cart_main___JXPT9",popup_con:"index-module__popup_con___y3rOB",header:"index-module__header___Fkmjh",miconfont:"index-module__miconfont___WCOzn",count_all:"index-module__count_all___CBjuZ",search:"index-module__search___sxzuE",search_item:"index-module__search_item___J0yVs",search_item_select:"index-module__search_item_select___j2U7K",con:"index-module__con___M3zqN",scroll:"index-module__scroll___XgNi2",product_list:"index-module__product_list___R2YCS",product_item:"index-module__product_item___JkDOa",checkbox:"index-module__checkbox___iwkrf",img:"index-module__img___P6j5a",des:"index-module__des___BygXN",subtitle:"index-module__subtitle___OHRTL",tag:"index-module__tag_____ISZ",no_product_item_select:"index-module__no_product_item_select___jZhOw",count:"index-module__count___rIRby",btn_count:"index-module__btn_count___q_l0I",long:"index-module__long___MWfGP",product_item_name:"index-module__product_item_name___vWPVX",product_item_name_header:"index-module__product_item_name_header___ZEGQk",price:"index-module__price___Dne74",title:"index-module__title___FuOxK",empty:"index-module__empty____wXM7",btn:"index-module__btn___yoqkR",buy_btn:"index-module__buy_btn___S9lS1",buy_con:"index-module__buy_con___M7y2i",icon:"index-module__icon___REXwD",price_con:"index-module__price_con___ZDMQk",price_real:"index-module__price_real___Z0aPl",price_forecast:"index-module__price_forecast___Ggj9H",goPay:"index-module__goPay___F2QQ6"}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1977],{9257:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___CpcN6",hoverClass:"index-module__hoverClass___VAnKW","full-100":"index-module__full-100___uByL9",order_price:"index-module__order_price___QFyFJ",close:"index-module__close___zwBgY",order_price_text:"index-module__order_price_text___n7Rjo",iconfont_msg:"index-module__iconfont_msg___yJmcY",miconfont:"index-module__miconfont___wIcAQ",message:"index-module__message___Q2Vml",emphasis:"index-module__emphasis___bFApd",order_price_num:"index-module__order_price_num___XpEx6",emphasis_num:"index-module__emphasis_num___SmMkM",refund_destination:"index-module__refund_destination___fwmXI"}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2161],{9257:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___CpcN6",hoverClass:"index-module__hoverClass___VAnKW","full-100":"index-module__full-100___uByL9",order_price:"index-module__order_price___QFyFJ",close:"index-module__close___zwBgY",order_price_text:"index-module__order_price_text___n7Rjo",iconfont_msg:"index-module__iconfont_msg___yJmcY",miconfont:"index-module__miconfont___wIcAQ",message:"index-module__message___Q2Vml",emphasis:"index-module__emphasis___bFApd",order_price_num:"index-module__order_price_num___XpEx6",emphasis_num:"index-module__emphasis_num___SmMkM",refund_destination:"index-module__refund_destination___fwmXI"}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1167],{2232:function(e,n,t){var s=t(1413),o=t(9439),i=t(1515),c=t(2954),r=t.n(c),a=t(7294),u=t(4184),m=t.n(u),l=t(8843),d=t(9257),x=t(5893),h=function EstimeatedAmount(e){var n=e.number,t=void 0===n?0:n,c=e.titleStatus,u=void 0===c||c,h=e.title,f=void 0===h?"":h,Z=e.messageTitle,p=void 0===Z?"":Z,v=e.numberStatus,g=void 0===v?1:v,j=e.messageWidth,b=void 0===j?430:j,w=e.messageShow,N=void 0!==w&&w,S=e.numberFormat,G=void 0===S?"number":S,k=(0,a.useState)(N),C=(0,o.Z)(k,2),_=C[0],y=C[1],D=(0,a.useState)(),E=(0,o.Z)(D,2),F=E[0],J=E[1];return(0,a.useEffect)((function(){_?function getDomDes(e){setTimeout((function(){r().createSelectorQuery().select(e).boundingClientRect((function(e){var n=2*e.height+15;J((function(e){return(0,s.Z)((0,s.Z)({},e),{},{top:"-".concat(n,"rpx"),opacity:1})}))})).exec()}),0)}("#message"):J((function(){return{top:"0"}}))}),[_]),(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(i.G7,{className:d.Z.order_price,children:[(0,x.jsxs)(i.G7,{className:m()(d.Z.order_price_text,u&&d.Z.emphasis),onClick:function onClick(){return function openShow(){return[y(!0)]}()},children:[(0,x.jsx)(i.xv,{children:f}),(0,x.jsxs)(i.G7,{className:d.Z.iconfont_msg,children:[_&&(0,x.jsx)(i.G7,{style:(0,s.Z)((0,s.Z)({},F),{},{width:"".concat(b,"rpx")}),id:"message",className:m()(d.Z.message),children:p}),(0,x.jsx)(i.xv,{className:m()(d.Z.miconfont,"iconfont icon-zhushi")})]})]}),"number"==G&&(0,x.jsx)(l.Z,{status:g,number:t/100}),"text"==G&&(0,x.jsx)(i.G7,{className:d.Z.refund_destination,children:t}),_&&(0,x.jsx)(i.G7,{className:d.Z.close,catchMove:!0,onClick:function onClose(){y(!1)}})]})})};n.Z=(0,a.memo)(h)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[6772],{2232:function(e,n,t){var s=t(1413),o=t(9439),i=t(1515),c=t(2954),r=t.n(c),a=t(7294),u=t(4184),m=t.n(u),l=t(8843),d=t(9257),x=t(5893),h=function EstimeatedAmount(e){var n=e.number,t=void 0===n?0:n,c=e.titleStatus,u=void 0===c||c,h=e.title,f=void 0===h?"":h,Z=e.messageTitle,p=void 0===Z?"":Z,v=e.numberStatus,g=void 0===v?1:v,j=e.messageWidth,b=void 0===j?430:j,w=e.messageShow,N=void 0!==w&&w,S=e.numberFormat,G=void 0===S?"number":S,k=(0,a.useState)(N),C=(0,o.Z)(k,2),_=C[0],y=C[1],D=(0,a.useState)(),E=(0,o.Z)(D,2),F=E[0],J=E[1];return(0,a.useEffect)((function(){_?function getDomDes(e){setTimeout((function(){r().createSelectorQuery().select(e).boundingClientRect((function(e){var n=2*e.height+15;J((function(e){return(0,s.Z)((0,s.Z)({},e),{},{top:"-".concat(n,"rpx"),opacity:1})}))})).exec()}),0)}("#message"):J((function(){return{top:"0"}}))}),[_]),(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(i.G7,{className:d.Z.order_price,children:[(0,x.jsxs)(i.G7,{className:m()(d.Z.order_price_text,u&&d.Z.emphasis),onClick:function onClick(){return function openShow(){return[y(!0)]}()},children:[(0,x.jsx)(i.xv,{children:f}),(0,x.jsxs)(i.G7,{className:d.Z.iconfont_msg,children:[_&&(0,x.jsx)(i.G7,{style:(0,s.Z)((0,s.Z)({},F),{},{width:"".concat(b,"rpx")}),id:"message",className:m()(d.Z.message),children:p}),(0,x.jsx)(i.xv,{className:m()(d.Z.miconfont,"iconfont icon-zhushi")})]})]}),"number"==G&&(0,x.jsx)(l.Z,{status:g,number:t/100}),"text"==G&&(0,x.jsx)(i.G7,{className:d.Z.refund_destination,children:t}),_&&(0,x.jsx)(i.G7,{className:d.Z.close,catchMove:!0,onClick:function onClose(){y(!1)}})]})})};n.Z=(0,a.memo)(h)}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9082],{209:function(e,s,l){var c=l(1413),a=l(1515),t=l(7294),n=l(4184),o=l.n(n),u=l(3012),r=l(3530),i=l(4456),d=l(6312),m=l(6599),_=l(4158),x=l(5893),Z=function ProductItem(e){var s=e.onChangeCount,l=e.onChangeSelect,n=e.item,Z=e.sale_model,h=(0,t.useCallback)((function(){l((0,c.Z)((0,c.Z)({},n),{},{selected:!0}))}),[n]),b=(0,t.useCallback)((function(){l((0,c.Z)((0,c.Z)({},n),{},{selected:!1}))}),[n]),p=(0,t.useCallback)((function(){}),[]),N=(0,t.useCallback)((function(e){var l=0==n.sale_mode?parseFloat(e):0,a=0!=n.sale_mode?parseFloat(new u.Z(parseFloat(e)).times(100)):0;s((0,c.Z)((0,c.Z)({},n),{},{roll:l,length:a}))}),[n]),j=(0,t.useMemo)((function(){return{lab:n.lab,rgb:n.rgb,texture_url:n.texture_url,title:n.product_color_code}}),[n]);(0,t.useCallback)((function(){Z==n.sale_mode&&l((0,c.Z)((0,c.Z)({},n),{},{selected:!n.selected}))}),[n]);console.log("刷新2::",n);var C=(0,t.useCallback)((function(e){return Number((0,_.yb)(e))}),[]),f=(0,t.useCallback)((function(e){return 0==e.sale_mode?e.roll:e.length/100}),[]),k=(0,t.useCallback)((function(e){return 0==e.sale_mode?"条":"米"}),[]),G=(0,t.useMemo)((function(){return Z!=n.sale_mode}),[n]);return(0,x.jsxs)(a.G7,{className:o()(r.Z.product_item,G&&r.Z.no_product_item_select),children:[(0,x.jsx)(a.G7,{className:r.Z.checkbox,children:(0,x.jsx)(i.Z,{status:n.selected,onSelect:h,onClose:b,disabled:G})}),(0,x.jsx)(a.G7,{className:r.Z.img,children:(0,x.jsx)(m.Z,{value:j,showStatus:!1,onClick:p})}),(0,x.jsxs)(a.G7,{className:r.Z.product_item_name,children:[(0,x.jsxs)(a.G7,{className:r.Z.product_item_name_header,children:[(0,x.jsx)(a.G7,{className:r.Z.title,children:(0,_.W7)(n.product_code,n.product_name)}),(0,x.jsxs)(a.G7,{className:r.Z.price,children:[(0,x.jsx)(a.xv,{children:"¥"}),C(n.sale_price),(0,x.jsxs)(a.xv,{children:["/",n.eunit]})]})]}),(0,x.jsxs)(a.G7,{className:r.Z.count,children:[(0,x.jsxs)(a.G7,{className:r.Z.des,children:[(0,x.jsx)(a.G7,{className:r.Z.subtitle,children:"".concat(n.product_color_code," ").concat(n.product_color_name)}),(0,x.jsx)(a.G7,{className:r.Z.tag,children:n.sale_mode_name})]}),(0,x.jsx)(a.G7,{className:r.Z.btn_count,children:(0,x.jsx)(d.Z,{onBlue:N,defaultNum:f(n),step:n.step,digits:n.digits,onClickBtn:N,unit:k(n),minNum:n.minNum,maxNum:n.maxNum,disabled:G})})]})]})]})};s.Z=(0,t.memo)(Z)}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[902],{4856:function(n,c,s){var e=s(2954),t=s.n(e),u=s(7294),i=s(1115);c.Z=function(n){var c=n.scope,s=n.msg;return{check:(0,u.useCallback)((function(){return new Promise((function(n,e){t().getSetting({success:function success(u){u.authSetting[c]?n(!0):void 0===u.authSetting[c]?t().authorize({scope:c,success:function success(){n(!0)},fail:function fail(){i.Z9.none(s),e(!1)}}):t().openSetting({success:function success(t){t.authSetting[c]?n(!0):(i.Z9.none(s),e(!1))}})}})}))}),[c])}}}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9972],{4856:function(n,c,s){var e=s(2954),t=s.n(e),u=s(7294),i=s(1115);c.Z=function(n){var c=n.scope,s=n.msg;return{check:(0,u.useCallback)((function(){return new Promise((function(n,e){t().getSetting({success:function success(u){u.authSetting[c]?n(!0):void 0===u.authSetting[c]?t().authorize({scope:c,success:function success(){n(!0)},fail:function fail(){i.Z9.none(s),e(!1)}}):t().openSetting({success:function success(t){t.authSetting[c]?n(!0):(i.Z9.none(s),e(!1))}})}})}))}),[c])}}}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[3560],{1805:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___qVHLM",hoverClass:"index-module__hoverClass___xmc2X","full-100":"index-module__full-100___f4rUs",mainBox:"index-module__mainBox___oYq7z",pic:"index-module__pic___jqHuf",text:"index-module__text___cFKLZ"}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1262],{3530:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___qlCUj",hoverClass:"index-module__hoverClass___U06jB","full-100":"index-module__full-100___Bl_Ur",product_item:"index-module__product_item___z6Vx0",checkbox:"index-module__checkbox___WuJMV",img:"index-module__img___nL6LB",des:"index-module__des____wkTs",subtitle:"index-module__subtitle___x1wjX",tag:"index-module__tag___jdkkN",count:"index-module__count___gyYmw",btn_count:"index-module__btn_count___SNYbE",long:"index-module__long___qf79D",product_item_name:"index-module__product_item_name___xYkhg",product_item_name_header:"index-module__product_item_name_header___zlqI0",price:"index-module__price___UXJSb",title:"index-module__title___LgKUP",no_product_item_select:"index-module__no_product_item_select___M_n6L"}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[6290],{3530:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___qlCUj",hoverClass:"index-module__hoverClass___U06jB","full-100":"index-module__full-100___Bl_Ur",product_item:"index-module__product_item___z6Vx0",checkbox:"index-module__checkbox___WuJMV",img:"index-module__img___nL6LB",des:"index-module__des____wkTs",subtitle:"index-module__subtitle___x1wjX",tag:"index-module__tag___jdkkN",count:"index-module__count___gyYmw",btn_count:"index-module__btn_count___SNYbE",long:"index-module__long___qf79D",product_item_name:"index-module__product_item_name___xYkhg",product_item_name_header:"index-module__product_item_name_header___zlqI0",price:"index-module__price___UXJSb",title:"index-module__title___LgKUP",no_product_item_select:"index-module__no_product_item_select___M_n6L"}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[570],{209:function(e,s,l){var c=l(1413),a=l(1515),t=l(7294),n=l(4184),o=l.n(n),u=l(3012),r=l(3530),i=l(4456),d=l(6312),m=l(6599),_=l(4158),x=l(5893),Z=function ProductItem(e){var s=e.onChangeCount,l=e.onChangeSelect,n=e.item,Z=e.sale_model,h=(0,t.useCallback)((function(){l((0,c.Z)((0,c.Z)({},n),{},{selected:!0}))}),[n]),b=(0,t.useCallback)((function(){l((0,c.Z)((0,c.Z)({},n),{},{selected:!1}))}),[n]),p=(0,t.useCallback)((function(){}),[]),N=(0,t.useCallback)((function(e){var l=0==n.sale_mode?parseFloat(e):0,a=0!=n.sale_mode?parseFloat(new u.Z(parseFloat(e)).times(100)):0;s((0,c.Z)((0,c.Z)({},n),{},{roll:l,length:a}))}),[n]),j=(0,t.useMemo)((function(){return{lab:n.lab,rgb:n.rgb,texture_url:n.texture_url,title:n.product_color_code}}),[n]);(0,t.useCallback)((function(){Z==n.sale_mode&&l((0,c.Z)((0,c.Z)({},n),{},{selected:!n.selected}))}),[n]);console.log("刷新2::",n);var C=(0,t.useCallback)((function(e){return Number((0,_.yb)(e))}),[]),f=(0,t.useCallback)((function(e){return 0==e.sale_mode?e.roll:e.length/100}),[]),k=(0,t.useCallback)((function(e){return 0==e.sale_mode?"条":"米"}),[]),G=(0,t.useMemo)((function(){return Z!=n.sale_mode}),[n]);return(0,x.jsxs)(a.G7,{className:o()(r.Z.product_item,G&&r.Z.no_product_item_select),children:[(0,x.jsx)(a.G7,{className:r.Z.checkbox,children:(0,x.jsx)(i.Z,{status:n.selected,onSelect:h,onClose:b,disabled:G})}),(0,x.jsx)(a.G7,{className:r.Z.img,children:(0,x.jsx)(m.Z,{value:j,showStatus:!1,onClick:p})}),(0,x.jsxs)(a.G7,{className:r.Z.product_item_name,children:[(0,x.jsxs)(a.G7,{className:r.Z.product_item_name_header,children:[(0,x.jsx)(a.G7,{className:r.Z.title,children:(0,_.W7)(n.product_code,n.product_name)}),(0,x.jsxs)(a.G7,{className:r.Z.price,children:[(0,x.jsx)(a.xv,{children:"¥"}),C(n.sale_price),(0,x.jsxs)(a.xv,{children:["/",n.eunit]})]})]}),(0,x.jsxs)(a.G7,{className:r.Z.count,children:[(0,x.jsxs)(a.G7,{className:r.Z.des,children:[(0,x.jsx)(a.G7,{className:r.Z.subtitle,children:"".concat(n.product_color_code," ").concat(n.product_color_name)}),(0,x.jsx)(a.G7,{className:r.Z.tag,children:n.sale_mode_name})]}),(0,x.jsx)(a.G7,{className:r.Z.btn_count,children:(0,x.jsx)(d.Z,{onBlue:N,defaultNum:f(n),step:n.step,digits:n.digits,onClickBtn:N,unit:k(n),minNum:n.minNum,maxNum:n.maxNum,disabled:G})})]})]})]})};s.Z=(0,t.memo)(Z)}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8515],{1787:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___Lsrep",hoverClass:"index-module__hoverClass___fYn19","full-100":"index-module__full-100___qPvgF",searchInput_main:"index-module__searchInput_main___xgE29",searchInput_title:"index-module__searchInput_title___fi82Z",searchInput_con:"index-module__searchInput_con___V0HZA",icon_more_self:"index-module__icon_more_self___UoArA",searchActive:"index-module__searchActive___HFWPu"}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8657],{1787:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___Lsrep",hoverClass:"index-module__hoverClass___fYn19","full-100":"index-module__full-100___qPvgF",searchInput_main:"index-module__searchInput_main___xgE29",searchInput_title:"index-module__searchInput_title___fi82Z",searchInput_con:"index-module__searchInput_con___V0HZA",icon_more_self:"index-module__icon_more_self___UoArA",searchActive:"index-module__searchActive___HFWPu"}}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[586],{1251:function(r,e,t){t.d(e,{BD:function(){return l},Ct:function(){return s},GG:function(){return a},Kp:function(){return c},Kq:function(){return m},QR:function(){return o},qm:function(){return d},xl:function(){return u},yW:function(){return i},zx:function(){return p}});var n=t(749),u=function SaleOrderApi(){return(0,n.Q)({url:"/v3/mallCherry/saleOrder",method:"post"})},l=function SaleOrderPreViewApi(){return(0,n.Q)({url:"/v3/mallCherry/saleOrder/preView/shoppingCart",method:"put"})},i=function GetSaleOrderDetailApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/detail",method:"get"})},d=function EditSaleOrderRemarkApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/remark",method:"put"})},a=function EditSaleOrderAddressApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/address",method:"put"})},o=function EditSaleOrderShipmentModeApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/shipmentMode",method:"put"})},c=function GetOrderListApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/list",method:"get"})},p=function CancelOrderApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/cancel",method:"put"})},m=function ReceiveOrderApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/receive",method:"put"})},s=function OrderStatusListApi(){return(0,n.Q)({url:"/v1/mall/enum/filterSaleOrderStatus",method:"get"})}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5848],{3275:function(r,n,t){t.d(n,{AS:function(){return o},Ae:function(){return f},SF:function(){return a},_9:function(){return A},cU:function(){return m},ef:function(){return c},jP:function(){return s},k8:function(){return l},m8:function(){return u},vc:function(){return d},vu:function(){return i},zf:function(){return p}});var e=t(749),u=function GetSaleOrderListApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/list",method:"get"})},l=function ReturnApplyOrderApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"post"})},o=function ReturnApplyOrderCancelApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/cancel",method:"post"})},i=function SaleOrderOrderDetailApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"get"})},p=function ReturnApplyLogisticsApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/upload",method:"put"})},c=function ReturnGoodsStatusApi(){return(0,e.Q)({url:"/v1/mall/enum/return/goodsStatus",method:"get"})},d=function ReturnReasonApi(){return(0,e.Q)({url:"/v1/mall/enum/returnOrder/returnReason",method:"get"})},a=function ReturnExplainApi(){return(0,e.Q)({url:"/v1/mall/enum/returnExplain",method:"get"})},f=function ApplyRefundApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"post"})},m=function RefundOrderSatausApi(){return(0,e.Q)({url:"/v1/mall/enum/filterReturnStage",method:"get"})},A=function RefundExplainApi(){return(0,e.Q)({url:"/v1/mall/enum/refundExplain",method:"get"})},s=function ReturnRecordApi(){return(0,e.Q)({url:"/v1/mall/saleOrder/return",method:"get"})}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1024],{3275:function(r,n,t){t.d(n,{AS:function(){return o},Ae:function(){return f},SF:function(){return a},_9:function(){return A},cU:function(){return m},ef:function(){return c},jP:function(){return s},k8:function(){return l},m8:function(){return u},vc:function(){return d},vu:function(){return i},zf:function(){return p}});var e=t(749),u=function GetSaleOrderListApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/list",method:"get"})},l=function ReturnApplyOrderApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"post"})},o=function ReturnApplyOrderCancelApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/cancel",method:"post"})},i=function SaleOrderOrderDetailApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"get"})},p=function ReturnApplyLogisticsApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/upload",method:"put"})},c=function ReturnGoodsStatusApi(){return(0,e.Q)({url:"/v1/mall/enum/return/goodsStatus",method:"get"})},d=function ReturnReasonApi(){return(0,e.Q)({url:"/v1/mall/enum/returnOrder/returnReason",method:"get"})},a=function ReturnExplainApi(){return(0,e.Q)({url:"/v1/mall/enum/returnExplain",method:"get"})},f=function ApplyRefundApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"post"})},m=function RefundOrderSatausApi(){return(0,e.Q)({url:"/v1/mall/enum/filterReturnStage",method:"get"})},A=function RefundExplainApi(){return(0,e.Q)({url:"/v1/mall/enum/refundExplain",method:"get"})},s=function ReturnRecordApi(){return(0,e.Q)({url:"/v1/mall/saleOrder/return",method:"get"})}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1287],{8843:function(e,s,n){var r=n(1515),c=n(7294),i=n(4184),t=n.n(i),a=n(5687),m=n(4158),u=n(5893),x=function AmountShow(e){var s=e.number,n=void 0===s?0:s,i=e.status,x=void 0===i?1:i,o=(0,c.useCallback)((function(){var e=n.toFixed(2).split("."),s="".concat(parseInt(e[0])),c=e[1];return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.xv,{className:a.Z.price_text,children:"¥"}),(0,u.jsx)(r.xv,{className:a.Z.price_text,children:(0,m.x6)({number:s,digit:0})}),(0,u.jsxs)(r.xv,{className:a.Z.price_text,children:[".",c]})]})}),[n]);return(0,u.jsx)(r.G7,{className:t()(a.Z.order_price_num,1==x&&a.Z.emphasis_num,2==x&&a.Z.emphasis_num_big),children:o()})};s.Z=(0,c.memo)(x)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4155],{8843:function(e,s,n){var r=n(1515),c=n(7294),i=n(4184),t=n.n(i),a=n(5687),m=n(4158),u=n(5893),x=function AmountShow(e){var s=e.number,n=void 0===s?0:s,i=e.status,x=void 0===i?1:i,o=(0,c.useCallback)((function(){var e=n.toFixed(2).split("."),s="".concat(parseInt(e[0])),c=e[1];return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.xv,{className:a.Z.price_text,children:"¥"}),(0,u.jsx)(r.xv,{className:a.Z.price_text,children:(0,m.x6)({number:s,digit:0})}),(0,u.jsxs)(r.xv,{className:a.Z.price_text,children:[".",c]})]})}),[n]);return(0,u.jsx)(r.G7,{className:t()(a.Z.order_price_num,1==x&&a.Z.emphasis_num,2==x&&a.Z.emphasis_num_big),children:o()})};s.Z=(0,c.memo)(x)}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[33],{1805:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___qVHLM",hoverClass:"index-module__hoverClass___xmc2X","full-100":"index-module__full-100___f4rUs",mainBox:"index-module__mainBox___oYq7z",pic:"index-module__pic___jqHuf",text:"index-module__text___cFKLZ"}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1515],{6027:function(e,n,o){var i=o(1413),c=o(1515),t=o(7294),s=o(1787),l=o(5893),r=function SearchInput(e){var n=e.showTitle,o=void 0===n||n,r=e.title,a=void 0===r?"标题":r,d=e.showIcon,u=void 0!==d&&d,h=e.disabled,p=void 0!==h&&h,v=e.placeholder,m=void 0===v?"请输入":v,I=e.showBorder,x=void 0===I||I,w=e.changeOnInput,f=e.clickOnInput,j=e.height,Z=void 0===j?"80rpx":j,b=e.titleStyle,g=void 0===b?{}:b,k=e.hasCopy,y=void 0!==k&&k,_=(0,t.useMemo)((function(){return x?{}:{borderBottom:0}}),[x]);return(0,l.jsxs)(c.G7,{className:y?s.Z.searchActive:s.Z.searchInput_main,style:(0,i.Z)({height:Z},_),children:[o&&(0,l.jsx)(c.G7,{className:s.Z.searchInput_title,style:g,children:a}),(0,l.jsx)(c.G7,{className:s.Z.searchInput_con,children:!e.children&&(0,l.jsx)(c.II,{alwaysEmbed:!0,cursorSpacing:150,disabled:p,placeholder:m,onClick:function onClick(){return null==f?void 0:f()},onInput:function onInput(e){return null==w?void 0:w(e.detail.value)}})||(0,l.jsx)(l.Fragment,{children:e.children})}),u&&(0,l.jsx)(c.G7,{className:"iconfont icon-jiantou ".concat(s.Z.icon_more_self)})]})};n.Z=(0,t.memo)(r)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4630],{6027:function(e,n,o){var i=o(1413),c=o(1515),t=o(7294),s=o(1787),l=o(5893),r=function SearchInput(e){var n=e.showTitle,o=void 0===n||n,r=e.title,a=void 0===r?"标题":r,d=e.showIcon,u=void 0!==d&&d,h=e.disabled,p=void 0!==h&&h,v=e.placeholder,m=void 0===v?"请输入":v,I=e.showBorder,x=void 0===I||I,w=e.changeOnInput,f=e.clickOnInput,j=e.height,Z=void 0===j?"80rpx":j,b=e.titleStyle,g=void 0===b?{}:b,k=e.hasCopy,y=void 0!==k&&k,_=(0,t.useMemo)((function(){return x?{}:{borderBottom:0}}),[x]);return(0,l.jsxs)(c.G7,{className:y?s.Z.searchActive:s.Z.searchInput_main,style:(0,i.Z)({height:Z},_),children:[o&&(0,l.jsx)(c.G7,{className:s.Z.searchInput_title,style:g,children:a}),(0,l.jsx)(c.G7,{className:s.Z.searchInput_con,children:!e.children&&(0,l.jsx)(c.II,{alwaysEmbed:!0,cursorSpacing:150,disabled:p,placeholder:m,onClick:function onClick(){return null==f?void 0:f()},onInput:function onInput(e){return null==w?void 0:w(e.detail.value)}})||(0,l.jsx)(l.Fragment,{children:e.children})}),u&&(0,l.jsx)(c.G7,{className:"iconfont icon-jiantou ".concat(s.Z.icon_more_self)})]})};n.Z=(0,t.memo)(r)}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7563],{5027:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___P66cS",hoverClass:"index-module__hoverClass___sVcPU","full-100":"index-module__full-100___eo77h",other_desc:"index-module__other_desc___aX07K",title:"index-module__title___eJSzY",textarea:"index-module__textarea___PiPh4",descDataNum:"index-module__descDataNum___Rfef5",textarea_con:"index-module__textarea_con___geMaf",textarea_con_pretend:"index-module__textarea_con_pretend___j9Rhi",textarea_con_pretend_ed:"index-module__textarea_con_pretend_ed___pxyq8"}}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2888],{5027:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___P66cS",hoverClass:"index-module__hoverClass___sVcPU","full-100":"index-module__full-100___eo77h",other_desc:"index-module__other_desc___aX07K",title:"index-module__title___eJSzY",textarea:"index-module__textarea___PiPh4",descDataNum:"index-module__descDataNum___Rfef5",textarea_con:"index-module__textarea_con___geMaf",textarea_con_pretend:"index-module__textarea_con_pretend___j9Rhi",textarea_con_pretend_ed:"index-module__textarea_con_pretend_ed___pxyq8"}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2977],{4384:function(e,s,n){var r=n(4165),a=n(5861),t=n(9439),c=n(1515),d=n(2954),l=n.n(d),i=n(7294),o=n(8487),u=n(1115),f=n(5893),h=function AddressList(e){var s,n,h,v,p=e.addButtonEnabled,x=void 0===p||p,m=e.focusBorderEnabled,_=void 0!==m&&m,j=(0,o.BW)(),Z=j.fetchData,w=j.state,N=(0,i.useState)(),g=(0,t.Z)(N,2),C=g[0],b=g[1],k=function(){var s=(0,a.Z)((0,r.Z)().mark((function _callee(){var s,n;return(0,r.Z)().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Z();case 2:s=r.sent,e.id?b(e.id):null===(n=s.data.list)||void 0===n||n.every((function(e){return!e.is_default||(b(e.id),!1)}));case 4:case"end":return r.stop()}}),_callee)})));return function getData(){return s.apply(this,arguments)}}();(0,i.useEffect)((function(){return k(),l().eventCenter.on("addressList:refresh",k),function(){l().eventCenter.off("addressList:refresh",k)}}),[]);var G=(0,i.useState)(!1),y=(0,t.Z)(G,2),E=y[0],L=y[1],S=function(){var e=(0,a.Z)((0,r.Z)().mark((function _callee2(){return(0,r.Z)().wrap((function _callee2$(e){for(;;)switch(e.prev=e.next){case 0:return L(!0),e.next=3,k();case 3:L(!1);case 4:case"end":return e.stop()}}),_callee2)})));return function handleRefresh(){return e.apply(this,arguments)}}(),A=(Array.from({length:15}),(0,o.C_)().fetchData);return(0,f.jsxs)(c.G7,{className:"address-scroll-view",children:[(0,f.jsx)(c.pf,{scrollY:!0,refresherEnabled:e.refresherEnabled,enhanced:!0,refresherTriggered:E,onRefresherRefresh:S,children:(0,f.jsx)(c.G7,{className:"address-scroll-view-content",children:(null==w||null===(s=w.data)||void 0===s||null===(n=s.list)||void 0===n?void 0:n.length)>0?null==w||null===(h=w.data)||void 0===h||null===(v=h.list)||void 0===v?void 0:v.map((function(s,n){return(0,f.jsxs)(c.G7,{onLongPress:function onLongPress(){return function handleDelete(e){(0,d.showModal)({title:"提示",content:"是否删除地址?",success:function success(s){return(0,a.Z)((0,r.Z)().mark((function _callee3(){var n;return(0,r.Z)().wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:if(!s.confirm){r.next=5;break}return r.next=3,A({id:e.id});case 3:(n=r.sent).success?(u.Z9.success("删除成功"),k()):u.Z9.success(n.msg);case 5:case"end":return r.stop()}}),_callee3)})))()}})}(s)},onClick:function onClick(){return function handleSelect(s,n){e.onSelect&&e.onSelect(s,n),_&&b(null==s?void 0:s.id)}(s,n)},className:"address-list ".concat(C==s.id&&"address-active"),children:[(0,f.jsxs)(c.G7,{className:"address-user",children:[s.name,(0,f.jsx)(c.xv,{className:"address-list-phone",children:s.phone.replace(s.phone.substring(3,7),"****")}),s.is_default&&(0,f.jsx)(c.xv,{className:"address-list-default",children:"默认"})]}),(0,f.jsxs)(c.G7,{className:"address-list-bottom",children:[(0,f.jsx)(c.G7,{className:"address-list-info",children:(0,f.jsx)(c.G7,{className:"address-list-info_title",children:s.province_name+s.city_name+s.district_name})}),(0,f.jsx)(c.C3,{onClick:function onClick(e){return e.stopPropagation()},url:"/pages/addressAdd/index?type=edit&id=".concat(s.id),hoverClass:"none",className:"address-edit",children:(0,f.jsx)(c.xv,{className:"iconfont icon-bianji"})})]})]},s.id)})):(0,f.jsx)(c.G7,{className:"address-no-data",children:"暂未添加地址"})})}),x&&(0,f.jsx)(c.C3,{url:"/pages/addressAdd/index?type=add",hoverClass:"none",className:"add-address",children:"添加收货地址"})]})};s.Z=(0,i.memo)(h)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8598],{4384:function(e,s,n){var r=n(4165),a=n(5861),t=n(9439),c=n(1515),d=n(2954),l=n.n(d),i=n(7294),o=n(8487),u=n(1115),f=n(5893),h=function AddressList(e){var s,n,h,v,p=e.addButtonEnabled,x=void 0===p||p,m=e.focusBorderEnabled,_=void 0!==m&&m,j=(0,o.BW)(),Z=j.fetchData,w=j.state,N=(0,i.useState)(),g=(0,t.Z)(N,2),C=g[0],b=g[1],k=function(){var s=(0,a.Z)((0,r.Z)().mark((function _callee(){var s,n;return(0,r.Z)().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Z();case 2:s=r.sent,e.id?b(e.id):null===(n=s.data.list)||void 0===n||n.every((function(e){return!e.is_default||(b(e.id),!1)}));case 4:case"end":return r.stop()}}),_callee)})));return function getData(){return s.apply(this,arguments)}}();(0,i.useEffect)((function(){return k(),l().eventCenter.on("addressList:refresh",k),function(){l().eventCenter.off("addressList:refresh",k)}}),[]);var G=(0,i.useState)(!1),y=(0,t.Z)(G,2),E=y[0],L=y[1],S=function(){var e=(0,a.Z)((0,r.Z)().mark((function _callee2(){return(0,r.Z)().wrap((function _callee2$(e){for(;;)switch(e.prev=e.next){case 0:return L(!0),e.next=3,k();case 3:L(!1);case 4:case"end":return e.stop()}}),_callee2)})));return function handleRefresh(){return e.apply(this,arguments)}}(),A=(Array.from({length:15}),(0,o.C_)().fetchData);return(0,f.jsxs)(c.G7,{className:"address-scroll-view",children:[(0,f.jsx)(c.pf,{scrollY:!0,refresherEnabled:e.refresherEnabled,enhanced:!0,refresherTriggered:E,onRefresherRefresh:S,children:(0,f.jsx)(c.G7,{className:"address-scroll-view-content",children:(null==w||null===(s=w.data)||void 0===s||null===(n=s.list)||void 0===n?void 0:n.length)>0?null==w||null===(h=w.data)||void 0===h||null===(v=h.list)||void 0===v?void 0:v.map((function(s,n){return(0,f.jsxs)(c.G7,{onLongPress:function onLongPress(){return function handleDelete(e){(0,d.showModal)({title:"提示",content:"是否删除地址?",success:function success(s){return(0,a.Z)((0,r.Z)().mark((function _callee3(){var n;return(0,r.Z)().wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:if(!s.confirm){r.next=5;break}return r.next=3,A({id:e.id});case 3:(n=r.sent).success?(u.Z9.success("删除成功"),k()):u.Z9.success(n.msg);case 5:case"end":return r.stop()}}),_callee3)})))()}})}(s)},onClick:function onClick(){return function handleSelect(s,n){e.onSelect&&e.onSelect(s,n),_&&b(null==s?void 0:s.id)}(s,n)},className:"address-list ".concat(C==s.id&&"address-active"),children:[(0,f.jsxs)(c.G7,{className:"address-user",children:[s.name,(0,f.jsx)(c.xv,{className:"address-list-phone",children:s.phone.replace(s.phone.substring(3,7),"****")}),s.is_default&&(0,f.jsx)(c.xv,{className:"address-list-default",children:"默认"})]}),(0,f.jsxs)(c.G7,{className:"address-list-bottom",children:[(0,f.jsx)(c.G7,{className:"address-list-info",children:(0,f.jsx)(c.G7,{className:"address-list-info_title",children:s.province_name+s.city_name+s.district_name})}),(0,f.jsx)(c.C3,{onClick:function onClick(e){return e.stopPropagation()},url:"/pages/addressAdd/index?type=edit&id=".concat(s.id),hoverClass:"none",className:"address-edit",children:(0,f.jsx)(c.xv,{className:"iconfont icon-bianji"})})]})]},s.id)})):(0,f.jsx)(c.G7,{className:"address-no-data",children:"暂未添加地址"})})}),x&&(0,f.jsx)(c.C3,{url:"/pages/addressAdd/index?type=add",hoverClass:"none",className:"add-address",children:"添加收货地址"})]})};s.Z=(0,i.memo)(h)}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9760],{9021:function(e,n,t){var a=t(9439),c=t(1515),l=t(7294),o=t(4184),s=t.n(o),u=t(5027),r=t(9498),i=t(5893),d=function TextareaEnhance(e){var n=e.onChange,t=e.title,o=void 0===t?"":t,d=e.placeholder,h=void 0===d?"请输入":d,x=e.defaultValue,f=e.onlyRead,m=void 0!==f&&f,g=e.maxLength,v=void 0===g?200:g,p=e.customStyle,Z=e.customClassName,N=(0,l.useState)(0),_=(0,a.Z)(N,2),j=_[0],C=_[1],w=(0,l.useState)(!1),G=(0,a.Z)(w,2),S=G[0],k=G[1],y=(0,l.useRef)(v),B=(0,r.BL)({value:x,defaultValue:"",onChange:function onChange(e){null==n||n(e)}}),R=(0,a.Z)(B,2),b=R[0],D=R[1],E=function getDesc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=e;e.length>y.current&&(n=e.slice(0,y.current)),C(n.length),D(n)};(0,l.useEffect)((function(){E(x)}),[x]);var I=function toggleShowRealTextarea(e){k(e)};return(0,i.jsxs)(c.G7,{className:u.Z.other_desc,children:[(0,i.jsx)(c.G7,{className:u.Z.title,children:o}),(0,i.jsxs)(c.G7,{className:u.Z.textarea,children:[S&&!m?(0,i.jsx)(c.gx,{autoFocus:!0,value:b,onBlur:function onBlur(){return I(!1)},style:p,className:s()(u.Z.textarea_con,Z),cursorSpacing:100,maxlength:y.current,onInput:function onInput(e){return E(e.detail.value)}}):(0,i.jsx)(c.G7,{className:s()(u.Z.textarea_con_pretend,b&&u.Z.textarea_con_pretend_ed,Z),style:p,onClick:function onClick(){return I(!0)},children:b||h}),(0,i.jsx)(c.G7,{className:u.Z.descDataNum,children:"".concat(j,"/").concat(y.current)})]})]})};n.Z=(0,l.memo)(d)}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9315],{2711:function(e,r,o){var n=o(1515),l=o(7294),s=o(4508),t=o(9218),c=o(6541),i=o(1027),f=o(2495),u=o(5893),a=function InfiniteScroll(e){var r=e.styleObj,o=e.selfonScrollToLower,a=e.selfOnScrollToUpper,h=e.selfOnScroll,d=e.selfOnRefresherPulling,p=e.selfOnRefresherRefresh,m=e.selfOnRefresherRestore,R=e.selfOnRefresherAbort,x=e.safeAreaInsetBottom,T=void 0===x||x,g=e.enableLoadMoreStatus,S=void 0===g||g,j=e.children,v=e.lowerThresholdNum,b=void 0===v?30:v,w=e.paddingBottom,Z=void 0===w?0:w,N=e.refresherTriggered,B=void 0!==N&&N,O=e.refresherEnabled,y=void 0!==O&&O,G=e.moreStatus,U=void 0===G||G,_=e.statusMore,k=void 0===_?0:_,A=e.enableBackToTop,F=void 0===A||A,L=e.emptySlot,M=e.defaultUrl,P=void 0===M?"":M,C=e.defaultText,E=void 0===C?"":C,I=(0,l.useMemo)((function(){if(0==k)return.1}),[k]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(n.pf,{id:"infiniteScroll",style:r,className:t.Z.scroll_main,scrollY:!0,onScrollToLower:function onScrollToLower(){return function scrollToLower(){null==o||o()}()},onScrollToUpper:function onScrollToUpper(){return function scrollToUpper(){null==a||a()}()},onScroll:function onScroll(e){return function scroll(e){null==h||h(e)}(e)},lowerThreshold:b,refresherEnabled:y,refresherTriggered:B,onRefresherPulling:function onRefresherPulling(){return function refresherPulling(){null==d||d()}()},onRefresherRefresh:function onRefresherRefresh(){return function refresherRefresh(){null==p||p()}()},onRefresherRestore:function onRefresherRestore(){return function refresherRestore(){null==m||m()}()},onRefresherAbort:function onRefresherAbort(){return function refresherAbort(){null==R||R()}()},refresherBackground:"#F8F8F8",enableBackToTop:F,scrollTop:I,children:[function component(){return S&&U?(0,u.jsxs)(u.Fragment,{children:[(2==k||3==k)&&(0,u.jsxs)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:[j,(0,u.jsx)(n.G7,{className:t.Z.infinite_scroll,children:2==k?(0,u.jsxs)(n.G7,{className:t.Z.loading_more,children:["加载中",(0,u.jsx)(c.Z,{})]}):(0,u.jsx)(n.G7,{className:t.Z.noMore,children:"没有更多数据了"})})]}),0==k&&(0,u.jsx)(s.Z,{}),1==k&&(L||(0,u.jsx)(i.Z,{picUrl:P?"".concat(f.KC).concat(P):f.up,text:E||"暂无数据"}))]}):(0,u.jsx)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:j})}(),T&&(0,u.jsx)(n.G7,{className:"common_safe_area_y"})]})})};r.Z=(0,l.memo)(a)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1157],{2711:function(e,r,o){var n=o(1515),l=o(7294),s=o(4508),t=o(9218),c=o(6541),i=o(1027),f=o(2495),u=o(5893),a=function InfiniteScroll(e){var r=e.styleObj,o=e.selfonScrollToLower,a=e.selfOnScrollToUpper,h=e.selfOnScroll,d=e.selfOnRefresherPulling,p=e.selfOnRefresherRefresh,m=e.selfOnRefresherRestore,R=e.selfOnRefresherAbort,x=e.safeAreaInsetBottom,T=void 0===x||x,g=e.enableLoadMoreStatus,S=void 0===g||g,j=e.children,v=e.lowerThresholdNum,b=void 0===v?30:v,w=e.paddingBottom,Z=void 0===w?0:w,N=e.refresherTriggered,B=void 0!==N&&N,O=e.refresherEnabled,y=void 0!==O&&O,G=e.moreStatus,U=void 0===G||G,_=e.statusMore,k=void 0===_?0:_,A=e.enableBackToTop,F=void 0===A||A,L=e.emptySlot,M=e.defaultUrl,P=void 0===M?"":M,C=e.defaultText,E=void 0===C?"":C,I=(0,l.useMemo)((function(){if(0==k)return.1}),[k]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(n.pf,{id:"infiniteScroll",style:r,className:t.Z.scroll_main,scrollY:!0,onScrollToLower:function onScrollToLower(){return function scrollToLower(){null==o||o()}()},onScrollToUpper:function onScrollToUpper(){return function scrollToUpper(){null==a||a()}()},onScroll:function onScroll(e){return function scroll(e){null==h||h(e)}(e)},lowerThreshold:b,refresherEnabled:y,refresherTriggered:B,onRefresherPulling:function onRefresherPulling(){return function refresherPulling(){null==d||d()}()},onRefresherRefresh:function onRefresherRefresh(){return function refresherRefresh(){null==p||p()}()},onRefresherRestore:function onRefresherRestore(){return function refresherRestore(){null==m||m()}()},onRefresherAbort:function onRefresherAbort(){return function refresherAbort(){null==R||R()}()},refresherBackground:"#F8F8F8",enableBackToTop:F,scrollTop:I,children:[function component(){return S&&U?(0,u.jsxs)(u.Fragment,{children:[(2==k||3==k)&&(0,u.jsxs)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:[j,(0,u.jsx)(n.G7,{className:t.Z.infinite_scroll,children:2==k?(0,u.jsxs)(n.G7,{className:t.Z.loading_more,children:["加载中",(0,u.jsx)(c.Z,{})]}):(0,u.jsx)(n.G7,{className:t.Z.noMore,children:"没有更多数据了"})})]}),0==k&&(0,u.jsx)(s.Z,{}),1==k&&(L||(0,u.jsx)(i.Z,{picUrl:P?"".concat(f.KC).concat(P):f.up,text:E||"暂无数据"}))]}):(0,u.jsx)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:j})}(),T&&(0,u.jsx)(n.G7,{className:"common_safe_area_y"})]})})};r.Z=(0,l.memo)(a)}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5074],{1251:function(r,e,t){t.d(e,{BD:function(){return l},Ct:function(){return s},GG:function(){return a},Kp:function(){return c},Kq:function(){return m},QR:function(){return o},qm:function(){return d},xl:function(){return u},yW:function(){return i},zx:function(){return p}});var n=t(749),u=function SaleOrderApi(){return(0,n.Q)({url:"/v3/mallCherry/saleOrder",method:"post"})},l=function SaleOrderPreViewApi(){return(0,n.Q)({url:"/v3/mallCherry/saleOrder/preView/shoppingCart",method:"put"})},i=function GetSaleOrderDetailApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/detail",method:"get"})},d=function EditSaleOrderRemarkApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/remark",method:"put"})},a=function EditSaleOrderAddressApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/address",method:"put"})},o=function EditSaleOrderShipmentModeApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/shipmentMode",method:"put"})},c=function GetOrderListApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/list",method:"get"})},p=function CancelOrderApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/cancel",method:"put"})},m=function ReceiveOrderApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/receive",method:"put"})},s=function OrderStatusListApi(){return(0,n.Q)({url:"/v1/mall/enum/filterSaleOrderStatus",method:"get"})}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8044],{9218:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___TfGaJ",hoverClass:"index-module__hoverClass___IvFjO","full-100":"index-module__full-100___Zf65j",scroll_main:"index-module__scroll_main___rWSFU",infinite_scroll:"index-module__infinite_scroll___GY4by",loading_more:"index-module__loading_more___Iljay",noMore:"index-module__noMore___kPVsd"}}}]);
|
||||
@@ -1 +0,0 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[635],{9218:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___TfGaJ",hoverClass:"index-module__hoverClass___IvFjO","full-100":"index-module__full-100___Zf65j",scroll_main:"index-module__scroll_main___rWSFU",infinite_scroll:"index-module__infinite_scroll___GY4by",loading_more:"index-module__loading_more___Iljay",noMore:"index-module__noMore___kPVsd"}}}]);
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[6878],{1027:function(s,e,a){var c=a(1515),i=a(7294),t=a(1805),n=a(5893),o=function Empty(s){var e=s.picUrl,a=void 0===e?"":e,i=s.text,o=void 0===i?"无搜索历史":i;return(0,n.jsxs)(c.G7,{className:t.Z.mainBox,children:[(0,n.jsx)(c.Ee,{className:t.Z.pic,mode:"aspectFill",lazyLoad:!0,src:a}),(0,n.jsx)(c.G7,{className:t.Z.text,children:o})]})};e.Z=(0,i.memo)(o)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4763],{1027:function(s,e,a){var c=a(1515),i=a(7294),t=a(1805),n=a(5893),o=function Empty(s){var e=s.picUrl,a=void 0===e?"":e,i=s.text,o=void 0===i?"无搜索历史":i;return(0,n.jsxs)(c.G7,{className:t.Z.mainBox,children:[(0,n.jsx)(c.Ee,{className:t.Z.pic,mode:"aspectFill",lazyLoad:!0,src:a}),(0,n.jsx)(c.G7,{className:t.Z.text,children:o})]})};e.Z=(0,i.memo)(o)}}]);
|
||||
Reference in New Issue
Block a user