This commit is contained in:
2023-05-16 13:02:46 +08:00
parent d19b1ed2aa
commit c8e4e47569
719 changed files with 505 additions and 466 deletions
@@ -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 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1812],{1875:function(t,r,e){e.d(r,{Ez:function(){return i},Js:function(){return n},gh:function(){return m},no:function(){return c},sm:function(){return a},v7:function(){return l}});var u=e(749),n=function GetCutSampleOrderListApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/list",method:"get"})},l=function GetCutSampleOrderStatusApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/audit_status",method:"get"})},a=function CutSampleOrderCancelApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/cancel",method:"put"})},c=function GetSampleOrderProductApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/products",method:"get"})},i=function GetCutSampleOrderDetailApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/detail",method:"get"})},m=function submitCutSampleOrderApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/submit",method:"post"})}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7196],{1875:function(t,r,e){e.d(r,{Ez:function(){return i},Js:function(){return n},gh:function(){return m},no:function(){return c},sm:function(){return a},v7:function(){return l}});var u=e(749),n=function GetCutSampleOrderListApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/list",method:"get"})},l=function GetCutSampleOrderStatusApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/audit_status",method:"get"})},a=function CutSampleOrderCancelApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/cancel",method:"put"})},c=function GetSampleOrderProductApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/products",method:"get"})},i=function GetCutSampleOrderDetailApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/detail",method:"get"})},m=function submitCutSampleOrderApi(){return(0,u.Q)({url:"/v1/mall/cutSampleOrder/submit",method:"post"})}}}]);
@@ -1 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9195],{5646:function(e,n,t){var r=t(9439),c=t(1515),s=t(2954),a=t.n(s),o=t(7294),i=t(6538),u=t(6028),l=t(5893);n.Z=function NavBar(e){var n=e.children,t=e.hasLeft,s=void 0!==t&&t,h=e.title,f=void 0===h?"":h,d=e.leftSlot,v=e.onClickLeftIcon,m=(0,o.useRef)(null),g=(0,o.useRef)(null),x=(0,o.useRef)(0),p=(0,o.useRef)(0),Z=(0,o.useState)({}),N=(0,r.Z)(Z,2)[1],j=(0,o.useState)(0),k=(0,r.Z)(j,2),w=k[0],y=k[1];(0,o.useEffect)((function(){g.current=a().getSystemInfoSync(),m.current=a().getMenuButtonBoundingClientRect(),p.current=g.current.screenWidth/750,N({}),function handleLayout(){var e=g.current,n=e.statusBarHeight,t=!!(e.system.toLowerCase().search("ios")+1);x.current=t?4:0;var r=m.current,c=r.top,s=r.height+2*(c-n)+n;console.log("height",s),y(s)}()}),[]);var G=(0,o.useMemo)((function(){var e;return null===(e=m.current)||void 0===e?void 0:e.height}),[m.current]),B=(0,o.useMemo)((function(){var e;return null===(e=m.current)||void 0===e?void 0:e.top}),[m.current]);return(0,l.jsx)(c.G7,{className:i.Z.navBarContainer,style:{height:"".concat(w+x.current,"px")},children:(0,l.jsxs)(c.G7,{className:i.Z.navBar,style:{height:"".concat(G,"px"),marginTop:"".concat(B,"px")},children:[(0,l.jsx)(c.G7,{className:i.Z.left_view,children:s&&d?d:(0,l.jsxs)(c.G7,{className:i.Z.back,onClick:function handleClickLeftIcon(){null==v||v()},children:[(0,l.jsx)(u.Z,{name:"icon-zhankai",size:50,color:"#000000",customStyle:{transform:"rotate(90deg)"}}),(0,l.jsx)(c.G7,{className:i.Z.iconName,children:"返回"})]})}),(0,l.jsx)(c.G7,{className:i.Z.title,children:f||n}),(0,l.jsx)(c.G7,{className:i.Z.right_view})]})})}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5373],{5646:function(e,n,t){var r=t(9439),c=t(1515),s=t(2954),a=t.n(s),o=t(7294),i=t(6538),u=t(6028),l=t(5893);n.Z=function NavBar(e){var n=e.children,t=e.hasLeft,s=void 0!==t&&t,h=e.title,f=void 0===h?"":h,d=e.leftSlot,v=e.onClickLeftIcon,m=(0,o.useRef)(null),g=(0,o.useRef)(null),x=(0,o.useRef)(0),p=(0,o.useRef)(0),Z=(0,o.useState)({}),N=(0,r.Z)(Z,2)[1],j=(0,o.useState)(0),k=(0,r.Z)(j,2),w=k[0],y=k[1];(0,o.useEffect)((function(){g.current=a().getSystemInfoSync(),m.current=a().getMenuButtonBoundingClientRect(),p.current=g.current.screenWidth/750,N({}),function handleLayout(){var e=g.current,n=e.statusBarHeight,t=!!(e.system.toLowerCase().search("ios")+1);x.current=t?4:0;var r=m.current,c=r.top,s=r.height+2*(c-n)+n;console.log("height",s),y(s)}()}),[]);var G=(0,o.useMemo)((function(){var e;return null===(e=m.current)||void 0===e?void 0:e.height}),[m.current]),B=(0,o.useMemo)((function(){var e;return null===(e=m.current)||void 0===e?void 0:e.top}),[m.current]);return(0,l.jsx)(c.G7,{className:i.Z.navBarContainer,style:{height:"".concat(w+x.current,"px")},children:(0,l.jsxs)(c.G7,{className:i.Z.navBar,style:{height:"".concat(G,"px"),marginTop:"".concat(B,"px")},children:[(0,l.jsx)(c.G7,{className:i.Z.left_view,children:s&&d?d:(0,l.jsxs)(c.G7,{className:i.Z.back,onClick:function handleClickLeftIcon(){null==v||v()},children:[(0,l.jsx)(u.Z,{name:"icon-zhankai",size:50,color:"#000000",customStyle:{transform:"rotate(90deg)"}}),(0,l.jsx)(c.G7,{className:i.Z.iconName,children:"返回"})]})}),(0,l.jsx)(c.G7,{className:i.Z.title,children:f||n}),(0,l.jsx)(c.G7,{className:i.Z.right_view})]})})}}}]);
@@ -1 +0,0 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[349],{2593:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___wZZRK",hoverClass:"index-module__hoverClass___le9bT","full-100":"index-module__full-100___zebIi",order_address_list:"index-module__order_address_list___Xqx44",order_address_title:"index-module__order_address_title___jBp7D",addressList_con:"index-module__addressList_con___y3lUP"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8059],{2593:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___wZZRK",hoverClass:"index-module__hoverClass___le9bT","full-100":"index-module__full-100___zebIi",order_address_list:"index-module__order_address_list___Xqx44",order_address_title:"index-module__order_address_title___jBp7D",addressList_con:"index-module__addressList_con___y3lUP"}}}]);
@@ -1 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5201],{6538:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___Be_Hb",hoverClass:"index-module__hoverClass___ag6Bd","full-100":"index-module__full-100___NoEyY",navBarContainer:"index-module__navBarContainer___i9As6",navBar:"index-module__navBar___NRecE",left_view:"index-module__left_view___hZYX1",title:"index-module__title___Ey1tH",right_view:"index-module__right_view___V66sv",back:"index-module__back___bCba0",iconName:"index-module__iconName___sm3Ai"}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1061],{6538:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___Be_Hb",hoverClass:"index-module__hoverClass___ag6Bd","full-100":"index-module__full-100___NoEyY",navBarContainer:"index-module__navBarContainer___i9As6",navBar:"index-module__navBar___NRecE",left_view:"index-module__left_view___hZYX1",title:"index-module__title___Ey1tH",right_view:"index-module__right_view___V66sv",back:"index-module__back___bCba0",iconName:"index-module__iconName___sm3Ai"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[491],{400:function(n,e,u){var o=u(1413),l=u(9439),s=u(1515),r=u(7294),a=u(5465),c=u(5679),t=u(5893);e.Z=function(n){var e=(0,r.useState)({number:0,value:"",count:200}),u=(0,l.Z)(e,2),i=u[0],p=u[1],d=(0,r.useState)(!1),v=(0,l.Z)(d,2),h=v[0],f=v[1];(0,r.useEffect)((function(){f(n.show)}),[n.show]);var x=(0,r.useCallback)((function(n){var e=n.detail.value,u=e;e.length>i.count&&(u=e.slice(0,i.count)),p((0,o.Z)((0,o.Z)({},i),{},{number:u.length,value:u}))}),[]);return(0,t.jsx)(c.Z,{show:h,showTitle:!1,onClose:function onClose(){return n.onClose(!1)},children:(0,t.jsxs)(s.G7,{className:a.Z.order_popup,children:[(0,t.jsx)(s.G7,{className:a.Z.order_popup_title,children:"编辑备注"}),(0,t.jsxs)(s.G7,{className:a.Z.order_popup_input,children:[(0,t.jsx)(s.gx,{value:i.value,placeholder:"请添加备注",maxlength:i.count,cursorSpacing:100,onInput:function onInput(n){return x(n)},onBlur:function onBlur(e){var u;return null===(u=n.onBlur)||void 0===u?void 0:u.call(n,e)}}),(0,t.jsxs)(s.G7,{className:a.Z.descDataNum,children:[i.number,"/",i.count]})]}),(0,t.jsx)(s.G7,{className:a.Z.order_save_address,onClick:function onClick(){return function setSave(){var e;null===(e=n.onSave)||void 0===e||e.call(n,i.value)}()},children:"保存"})]})})}}}]);
@@ -1 +0,0 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1273],{5465:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___k_Ouj",hoverClass:"index-module__hoverClass___rXLLI","full-100":"index-module__full-100___CZmVW",order_popup:"index-module__order_popup___zedvD",order_popup_title:"index-module__order_popup_title___fqJjk",order_popup_input:"index-module__order_popup_input___rMm_1",descDataNum:"index-module__descDataNum___ipSpp",order_save_address:"index-module__order_save_address___oRq3y"}}}]);
@@ -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)}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[583],{5465:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___k_Ouj",hoverClass:"index-module__hoverClass___rXLLI","full-100":"index-module__full-100___CZmVW",order_popup:"index-module__order_popup___zedvD",order_popup_title:"index-module__order_popup_title___fqJjk",order_popup_input:"index-module__order_popup_input___rMm_1",descDataNum:"index-module__descDataNum___ipSpp",order_save_address:"index-module__order_save_address___oRq3y"}}}]);
@@ -1 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7176],{6873:function(s,e,n){var o=n(9439),t=n(1515),c=n(7294),r=n(4384),l=n(2593),a=n(5679),i=n(5893);e.Z=function(s){var e=(0,c.useState)(!1),n=(0,o.Z)(e,2),d=n[0],u=n[1];(0,c.useEffect)((function(){u(s.show)}),[s.show]);return(0,i.jsx)(a.Z,{show:d,showTitle:!1,onClose:function onClose(){return s.onClose(!1)},children:(0,i.jsxs)(t.G7,{className:l.Z.order_address_list,children:[(0,i.jsx)(t.G7,{className:l.Z.order_address_title,children:"请选择收货地址2"}),(0,i.jsx)(t.G7,{className:l.Z.addressList_con,children:(0,i.jsx)(r.Z,{onSelect:function getSelect(e){s.onSelect(e),s.onClose(!1)}})})]})})}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8178],{6873:function(s,e,n){var o=n(9439),t=n(1515),c=n(7294),r=n(4384),l=n(2593),a=n(5679),i=n(5893);e.Z=function(s){var e=(0,c.useState)(!1),n=(0,o.Z)(e,2),d=n[0],u=n[1];(0,c.useEffect)((function(){u(s.show)}),[s.show]);return(0,i.jsx)(a.Z,{show:d,showTitle:!1,onClose:function onClose(){return s.onClose(!1)},children:(0,i.jsxs)(t.G7,{className:l.Z.order_address_list,children:[(0,i.jsx)(t.G7,{className:l.Z.order_address_title,children:"请选择收货地址2"}),(0,i.jsx)(t.G7,{className:l.Z.addressList_con,children:(0,i.jsx)(r.Z,{onSelect:function getSelect(e){s.onSelect(e),s.onClose(!1)}})})]})})}}}]);
@@ -1 +0,0 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7801],{400:function(n,e,u){var o=u(1413),l=u(9439),s=u(1515),r=u(7294),a=u(5465),c=u(5679),t=u(5893);e.Z=function(n){var e=(0,r.useState)({number:0,value:"",count:200}),u=(0,l.Z)(e,2),i=u[0],p=u[1],d=(0,r.useState)(!1),v=(0,l.Z)(d,2),h=v[0],f=v[1];(0,r.useEffect)((function(){f(n.show)}),[n.show]);var x=(0,r.useCallback)((function(n){var e=n.detail.value,u=e;e.length>i.count&&(u=e.slice(0,i.count)),p((0,o.Z)((0,o.Z)({},i),{},{number:u.length,value:u}))}),[]);return(0,t.jsx)(c.Z,{show:h,showTitle:!1,onClose:function onClose(){return n.onClose(!1)},children:(0,t.jsxs)(s.G7,{className:a.Z.order_popup,children:[(0,t.jsx)(s.G7,{className:a.Z.order_popup_title,children:"编辑备注"}),(0,t.jsxs)(s.G7,{className:a.Z.order_popup_input,children:[(0,t.jsx)(s.gx,{value:i.value,placeholder:"请添加备注",maxlength:i.count,cursorSpacing:100,onInput:function onInput(n){return x(n)},onBlur:function onBlur(e){var u;return null===(u=n.onBlur)||void 0===u?void 0:u.call(n,e)}}),(0,t.jsxs)(s.G7,{className:a.Z.descDataNum,children:[i.number,"/",i.count]})]}),(0,t.jsx)(s.G7,{className:a.Z.order_save_address,onClick:function onClick(){return function setSave(){var e;null===(e=n.onSave)||void 0===e||e.call(n,i.value)}()},children:"保存"})]})})}}}]);