This commit is contained in:
2023-05-15 16:21:46 +08:00
parent 39785281be
commit eeb2e66c42
863 changed files with 808 additions and 97010 deletions
@@ -1,2 +1 @@
/*! For license information please see 0faae082e61997f12841426745de246a.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/0faae082e61997f12841426745de246a"],{"./src/pages/orderDetails/components/addressDetailBox/index.tsx":function(e,s,a){var n=a("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var l=a("./node_modules/react/cjs/react.production.min.js");var t=a("./node_modules/classnames/index.js");var d=a.n(t);var i=a("./src/pages/orderDetails/components/addressDetailBox/index.module.scss");var o=a("./src/components/iconfont/iconfont.tsx");var c=a("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var r=function AddressDetailBox(e){var s=e.receivingStatus,a=s===void 0?null:s,l=e.onReceivingStatus,t=e.obj,r=t===void 0?{target_user_name:"暂无",purchaser_phone:"暂无"}:t,u=e.navSelect,m=e.showBtn,v=m===void 0?true:m,f=e.showWhatFont,p=f===void 0?"":f,x=e.isReadonly,j=x===void 0?false:x,h=e.icon;return(0,c.jsxs)(n.View,{className:i["default"].addressBox,children:[(0,c.jsxs)(n.View,{className:i["default"].topBox,onClick:function onClick(){return u===null||u===void 0?void 0:u(r)},children:[(0,c.jsx)(n.View,{className:i["default"].cirle,children:h!==null&&h!==void 0?h:(0,c.jsx)(o["default"],{name:"icon-cangku1",size:60})}),a==1&&(0,c.jsx)(n.View,{className:i["default"].address,children:r.take_goods_address||"中华人民共和国广东省佛山市禅城区陆盈纺织仓库"}),(r===null||r===void 0?void 0:r.province_name)!=""&&a==2&&(0,c.jsxs)(n.View,{className:i["default"].address,children:[r===null||r===void 0?void 0:r.province_name,r===null||r===void 0?void 0:r.city_name,r===null||r===void 0?void 0:r.district_name,r===null||r===void 0?void 0:r.address_detail]}),(r===null||r===void 0?void 0:r.province_name)==""&&a==2&&(0,c.jsx)(n.View,{className:d()(i["default"].address,i["default"].empty),children:"请选择地址"}),a!==1&&!j?(0,c.jsx)(o["default"],{name:"icon-chakanquanbukehu",size:50}):null]}),(0,c.jsx)(n.View,{className:i["default"].line}),(0,c.jsxs)(n.View,{className:i["default"].bottom,children:[(0,c.jsxs)(n.View,{className:i["default"].leftbottom,children:[(0,c.jsx)(n.View,{className:i["default"].name,children:a===1?"谭先生":r.target_user_name}),(0,c.jsx)(n.View,{className:i["default"].phone,children:a===1?13242128982:r.purchaser_phone}),v&&(0,c.jsx)(n.View,{className:i["default"].reatBox,children:(0,c.jsxs)(n.View,{className:i["default"].updateBtn,children:[(0,c.jsxs)(n.View,{className:i["default"].updateBtn_list,children:[(0,c.jsx)(n.View,{className:d()(i["default"].updateBtn_item,a==1&&i["default"].updateBtn_item_select),onClick:function onClick(e){return l===null||l===void 0?void 0:l(e,1)},children:"自提"}),(0,c.jsx)(n.View,{className:d()(i["default"].updateBtn_item,a==2&&i["default"].updateBtn_item_select),onClick:function onClick(e){return l===null||l===void 0?void 0:l(e,2)},children:"物流"})]}),(0,c.jsx)(n.View,{style:{transform:a==1?"translateX(0)":"translateX(100%)"},className:d()(i["default"].updateBtn_select)})]})})]}),!v&&(0,c.jsx)(n.View,{className:i["default"].reatName,children:p})]})]})};s["default"]=(0,l.memo)(r)}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5324],{2193:function(e,s,n){var a=n(1515),l=n(7294),c=n(4184),i=n.n(c),t=n(3478),d=n(6028),o=n(5893),r=function AddressDetailBox(e){var s=e.receivingStatus,n=void 0===s?null:s,l=e.onReceivingStatus,c=e.obj,r=void 0===c?{target_user_name:"暂无",purchaser_phone:"暂无"}:c,u=e.navSelect,m=e.showBtn,h=void 0===m||m,x=e.showWhatFont,Z=void 0===x?"":x,p=e.isReadonly,v=void 0!==p&&p,_=e.icon;return(0,o.jsxs)(a.G7,{className:t.Z.addressBox,children:[(0,o.jsxs)(a.G7,{className:t.Z.topBox,onClick:function onClick(){return null==u?void 0:u(r)},children:[(0,o.jsx)(a.G7,{className:t.Z.cirle,children:null!=_?_:(0,o.jsx)(d.Z,{name:"icon-cangku1",size:60})}),1==n&&(0,o.jsx)(a.G7,{className:t.Z.address,children:r.take_goods_address||"中华人民共和国广东省佛山市禅城区陆盈纺织仓库"}),""!=(null==r?void 0:r.province_name)&&2==n&&(0,o.jsxs)(a.G7,{className:t.Z.address,children:[null==r?void 0:r.province_name,null==r?void 0:r.city_name,null==r?void 0:r.district_name,null==r?void 0:r.address_detail]}),""==(null==r?void 0:r.province_name)&&2==n&&(0,o.jsx)(a.G7,{className:i()(t.Z.address,t.Z.empty),children:"请选择地址"}),1===n||v?null:(0,o.jsx)(d.Z,{name:"icon-chakanquanbukehu",size:50})]}),(0,o.jsx)(a.G7,{className:t.Z.line}),(0,o.jsxs)(a.G7,{className:t.Z.bottom,children:[(0,o.jsxs)(a.G7,{className:t.Z.leftbottom,children:[(0,o.jsx)(a.G7,{className:t.Z.name,children:1===n?"谭先生":r.target_user_name}),(0,o.jsx)(a.G7,{className:t.Z.phone,children:1===n?13242128982:r.purchaser_phone}),h&&(0,o.jsx)(a.G7,{className:t.Z.reatBox,children:(0,o.jsxs)(a.G7,{className:t.Z.updateBtn,children:[(0,o.jsxs)(a.G7,{className:t.Z.updateBtn_list,children:[(0,o.jsx)(a.G7,{className:i()(t.Z.updateBtn_item,1==n&&t.Z.updateBtn_item_select),onClick:function onClick(e){return null==l?void 0:l(e,1)},children:"自提"}),(0,o.jsx)(a.G7,{className:i()(t.Z.updateBtn_item,2==n&&t.Z.updateBtn_item_select),onClick:function onClick(e){return null==l?void 0:l(e,2)},children:"物流"})]}),(0,o.jsx)(a.G7,{style:{transform:1==n?"translateX(0)":"translateX(100%)"},className:i()(t.Z.updateBtn_select)})]})})]}),!h&&(0,o.jsx)(a.G7,{className:t.Z.reatName,children:Z})]})]})};s.Z=(0,l.memo)(r)}}]);
@@ -1,348 +1 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/@tarojs/webpack5-runner/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/components/Dialog/index.module.scss ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___hndrd {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
background-color: transparent;
}
.index-module__flex-col___IIv8C {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column nowrap;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
}
.index-module__flex-row___oqU_t {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.index-module__justify-between___djIBe {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___JcKoY {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___MFnaB {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___ktYxK {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___W69Xk {
width: 100%;
height: 100%;
}
.index-module__color-blue____NcwL {
color: #3287EC;
}
.index-module__color-yellow___YAtkr {
color: #FF9100;
}
.index-module__color-green___sqNVX {
color: #00B837;
}
.index-module__color-grey___BWmhW {
color: #707070;
}
.index-module__color-white___yIHvu {
color: white;
}
.index-module__s-w___ZdVM2::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___dRyPy::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___w59Pb {
-webkit-filter: blur(1);
filter: blur(1);
}
@font-face {
font-family: "iconfont";
/* Project id 3619513 */
src: url(/styles/iconfont.ttf?t=1663556335905) format("truetype");
}
.index-module__iconfont___tdVEb {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___eUlP_:before {
content: "\e641";
}
.index-module__icon-cangku1___iJEte:before {
content: "\e642";
}
.index-module__icon-saoma___LOWeR:before {
content: "\e643";
}
.index-module__icon-dizhi1___Vut0O:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___yMZEV:before {
content: "\e645";
}
.index-module__icon-yufukuan1___F2v6r:before {
content: "\e646";
}
.index-module__icon-yue___q0sY6:before {
content: "\e647";
}
.index-module__icon-zidingyi___uagyN:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___XHyam:before {
content: "\e649";
}
.index-module__icon-tuikuan1___hSuRT:before {
content: "\e64a";
}
.index-module__icon-zhankai____lzAO:before {
content: "\e63f";
}
.index-module__icon-shouqi___Y3yoa:before {
content: "\e640";
}
.index-module__icon-lujing___i563d:before {
content: "\e63e";
}
.index-module__icon-jizhumima___fRiS7:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___D6yk6:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___i4Ngm:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___kAEud:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___eH3yJ:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___YhN3R:before {
content: "\e638";
}
.index-module__icon-biyan___fgK1L:before {
content: "\e637";
}
.index-module__icon-bianji___jkFPS:before {
content: "\e61e";
}
.index-module__icon-daikuan___aGHWl:before {
content: "\e61f";
}
.index-module__icon-cangku___yJj6u:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___v8fqd:before {
content: "\e621";
}
.index-module__icon-mima___EXPeU:before {
content: "\e622";
}
.index-module__icon-guanbi___JCGDE:before {
content: "\e623";
}
.index-module__icon-jianshao___WsaVs:before {
content: "\e624";
}
.index-module__icon-dingwei___LGFhe:before {
content: "\e625";
}
.index-module__icon-saomiao___wpI4B:before {
content: "\e626";
}
.index-module__icon-peihuo___uPoQ4:before {
content: "\e627";
}
.index-module__icon-shaixuan___sF0a1:before {
content: "\e628";
}
.index-module__icon-paiming___aLlKE:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___sW5M9:before {
content: "\e62a";
}
.index-module__icon-shijian___iybuD:before {
content: "\e62b";
}
.index-module__icon-sousuo___qz9Ez:before {
content: "\e62c";
}
.index-module__icon-shouhou___jWlGJ:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___Olhhu:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___qMYRZ:before {
content: "\e62f";
}
.index-module__icon-tuikuan___krUGO:before {
content: "\e630";
}
.index-module__icon-tishi___KjrDF:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___IxZSt:before {
content: "\e632";
}
.index-module__icon-xinzeng___TrjUr:before {
content: "\e633";
}
.index-module__icon-yonghuming___CCb3o:before {
content: "\e634";
}
.index-module__icon-yanjing___EhKWP:before {
content: "\e635";
}
.index-module__icon-yufukuan___IBQ6m:before {
content: "\e636";
}
.index-module__icon-wodekefu___hbUe_:before {
content: "\e60c";
}
.index-module__icon-dizhi___iBxLc:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___gOT5B:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___wEy7Q:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___a2r8K:before {
content: "\e610";
}
.index-module__icon-madanguanli___Wn8e7:before {
content: "\e611";
}
.index-module__icon-qusechazhao___jHh1r:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___LNRFl:before {
content: "\e613";
}
.index-module__icon-yaoqingma___VT3gk:before {
content: "\e614";
}
.index-module__icon-duizhang___A1bUl:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___XadyW:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___gswJE:before {
content: "\e617";
}
.index-module__icon-yansequyang___Yhdcp:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___OOAKk:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___gBbB1:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___AVznr:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___RP_2M:before {
content: "\e61c";
}
.index-module__icon-lingquseka___tN6hD:before {
content: "\e61d";
}
.index-module__icon-gouwu1___PdU2q:before {
content: "\e608";
}
.index-module__icon-dingdan1___dJ1gh:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___lVLar:before {
content: "\e60a";
}
.index-module__icon-shouye1___AfYhi:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___WSpH8:before {
content: "\e604";
}
.index-module__icon-dingdan___Ao22M:before {
content: "\e605";
}
.index-module__icon-shouye___ziw8l:before {
content: "\e606";
}
.index-module__icon-gouwu___TYJMA:before {
content: "\e607";
}
.index-module__dialog___VAIsa {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100vw;
height: 100vh;
}
.index-module__dialog_mask____Zzwt {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 1;
opacity: 0;
-webkit-transition: opacity 200ms ease-in;
-o-transition: opacity 200ms ease-in;
transition: opacity 200ms ease-in;
}
.index-module__dialog_mask_active___tLD8m {
opacity: 1;
}
.index-module__dialog_mask--hidden___MXbMy {
background: transparent;
}
.index-module__dialog_content___oPL_n {
position: fixed;
z-index: 2;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
opacity: 0;
-webkit-transition: opacity 200ms ease-in;
-o-transition: opacity 200ms ease-in;
transition: opacity 200ms ease-in;
}
.index-module__dialog_content_active___mpop_ {
opacity: 1;
}
.index-module__common_safe_area_y___hndrd{background-color:transparent;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__flex-col___IIv8C{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.index-module__flex-row___oqU_t{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.index-module__justify-between___djIBe{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.index-module__justify-center___JcKoY{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.index-module__items-center___MFnaB{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.index-module__flex-item___ktYxK{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__full-100___W69Xk{height:100%;width:100%}.index-module__color-blue____NcwL{color:#3287ec}.index-module__color-yellow___YAtkr{color:#ff9100}.index-module__color-green___sqNVX{color:#00b837}.index-module__color-grey___BWmhW{color:#707070}.index-module__color-white___yIHvu{color:#fff}.index-module__s-w___ZdVM2::after{content:"W";font-size:28rpx}.index-module__s-e___dRyPy::after{content:"E";font-size:28rpx}.index-module__filter___w59Pb{-webkit-filter:blur(1);filter:blur(1)}.index-module__dialog___VAIsa{bottom:0;height:100vh;left:0;position:fixed;right:0;top:0;width:100vw}.index-module__dialog_mask____Zzwt{background:rgba(0,0,0,.8);height:100%;left:0;opacity:0;position:fixed;top:0;-webkit-transition:opacity .2s ease-in;-o-transition:opacity .2s ease-in;transition:opacity .2s ease-in;width:100%;z-index:1}.index-module__dialog_mask_active___tLD8m{opacity:1}.index-module__dialog_mask--hidden___MXbMy{background:transparent}.index-module__dialog_content___oPL_n{left:50%;opacity:0;position:fixed;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:opacity .2s ease-in;-o-transition:opacity .2s ease-in;transition:opacity .2s ease-in;z-index:2}.index-module__dialog_content_active___mpop_{opacity:1}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1 @@
/*! For license information please see 8b6394965b01a3482fded67e2b94c0e4.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/8b6394965b01a3482fded67e2b94c0e4"],{"./src/components/Dialog/index.tsx":function(e,a,n){var s=n("./node_modules/@babel/runtime/helpers/esm/defineProperty.js");var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var t=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var l=n("./node_modules/classnames/index.js");var d=n.n(l);var i=n("./node_modules/react/cjs/react.production.min.js");var u=n("./src/components/Dialog/index.module.scss");var r=n("./src/use/useCommon.ts");var c=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var f=function Dialog(e){var a;var n=e.showOverLay,l=n===void 0?true:n,f=e.zIndex,m=f===void 0?99:f,v=e.show,p=v===void 0?false:v,h=e.onClose,x=e.onChange,j=e.children;var w=(0,r.usePropsValue)({value:p,defaultValue:false,onChange:function onChange(e){x===null||x===void 0?void 0:x(e)}}),_=(0,o["default"])(w,2),g=_[0],b=_[1];var C=(0,i.useState)(false),k=(0,o["default"])(C,2),y=k[0],V=k[1];var z=function handleAnimShow(){b(true);setTimeout((function(){V(true)}),200)};var I=function handleAnimHide(){V(false);setTimeout((function(){b(false)}),200)};var A=function onClose(){I();h===null||h===void 0?void 0:h(g)};(0,i.useEffect)((function(){if(p){z()}}),[p]);return g?(0,c.jsxs)(t.View,{className:u["default"].dialog,style:{zIndex:m},children:[(0,c.jsx)(t.View,{style:{zIndex:m+1},className:d()(u["default"].dialog_mask,(a={},(0,s["default"])(a,u["default"].dialog_mask_active,y),(0,s["default"])(a,u["default"]["drawer_mask--hidden"],!l),a)),onClick:A}),(0,c.jsx)(t.View,{style:{zIndex:m+2},className:d()(u["default"].dialog_content,(0,s["default"])({},u["default"].dialog_content_active,y)),children:j})]}):(0,c.jsx)(t.View,{})};a["default"]=f}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[6408],{4389:function(n,e,o){var a=o(4942),i=o(9439),s=o(1515),t=o(4184),l=o.n(t),c=o(7294),d=o(8887),u=o(9498),h=o(5893);e.Z=function Dialog(n){var e,o=n.showOverLay,t=void 0===o||o,f=n.zIndex,Z=void 0===f?99:f,r=n.show,m=void 0!==r&&r,x=n.onClose,g=n.onChange,v=n.children,w=(0,u.BL)({value:m,defaultValue:!1,onChange:function onChange(n){null==g||g(n)}}),_=(0,i.Z)(w,2),k=_[0],C=_[1],p=(0,c.useState)(!1),j=(0,i.Z)(p,2),y=j[0],z=j[1];return(0,c.useEffect)((function(){m&&function handleAnimShow(){C(!0),setTimeout((function(){z(!0)}),200)}()}),[m]),k?(0,h.jsxs)(s.G7,{className:d.Z.dialog,style:{zIndex:Z},children:[(0,h.jsx)(s.G7,{style:{zIndex:Z+1},className:l()(d.Z.dialog_mask,(e={},(0,a.Z)(e,d.Z.dialog_mask_active,y),(0,a.Z)(e,d.Z["drawer_mask--hidden"],!t),e)),onClick:function onClose(){!function handleAnimHide(){z(!1),setTimeout((function(){C(!1)}),200)}(),null==x||x(k)}}),(0,h.jsx)(s.G7,{style:{zIndex:Z+2},className:l()(d.Z.dialog_content,(0,a.Z)({},d.Z.dialog_content_active,y)),children:v})]}):(0,h.jsx)(s.G7,{})}}}]);
@@ -1,2 +1 @@
/*! For license information please see b636e942651e29772c7a776b65f107ba.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b636e942651e29772c7a776b65f107ba"],{"./src/pages/orderDetails/components/remark/index.tsx":function(e,a,n){var u=n("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");var r=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var l=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var t=n("./node_modules/react/cjs/react.production.min.js");var o=n("./src/pages/orderDetails/components/remark/index.module.scss");var s=n("./src/components/tag/index.tsx");var i=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var d=[{id:1,value:"拿色片"},{id:2,value:"顺丰"},{id:3,value:"客户自提"},{id:4,value:"加急一下"},{id:5,value:"物流到"},{id:6,value:"中台秀银"},{id:7,value:"中台晓茵"},{id:8,value:"中台淑婷"},{id:9,value:"中台结慧"},{id:10,value:"辛苦了"}];var c=function Remark(e){var a=e.onBlur,n=e.onSave,c=e.defaultValue,m=c===void 0?"":c,v=e.recommend,p=v===void 0?true:v;var f=(0,t.useState)({number:0,value:"",count:200}),j=(0,r["default"])(f,2),x=j[0],h=j[1];var _=function getDesc(e){var a=e;if(e.length>x.count){a=e.slice(0,x.count)}h((0,u["default"])((0,u["default"])({},x),{},{number:a.length,value:a}))};var b=function setSave(){n===null||n===void 0?void 0:n(x.value)};(0,t.useEffect)((function(){_(m)}),[m]);var w=function onClickTag(e){h((function(a){return(0,u["default"])((0,u["default"])({},a),{},{value:a.value+e.value})}))};return(0,i.jsxs)(l.View,{className:o["default"].order_popup,children:[(0,i.jsx)(l.View,{className:o["default"].order_popup_title,children:"编辑备注"}),(0,i.jsxs)(l.View,{className:o["default"].order_popup_input,children:[(0,i.jsx)(l.Textarea,{placeholder:"请添加备注",value:x===null||x===void 0?void 0:x.value,maxlength:x.count,cursorSpacing:100,onInput:function onInput(e){return _(e.detail.value)},onBlur:function onBlur(e){return a===null||a===void 0?void 0:a(e)}}),(0,i.jsxs)(l.View,{className:o["default"].descDataNum,children:[x.number,"/",x.count]})]}),p?(0,i.jsxs)(l.View,{children:[(0,i.jsx)(l.View,{className:o["default"].recommend_remark,children:"推荐备注"}),(0,i.jsx)(l.View,{className:o["default"].recommend_remark_content,children:d.map((function(e){return(0,i.jsx)(s["default"],{type:"info",plain:true,onClick:function onClick(){return w(e)},circle:true,customClassName:o["default"].tag,children:e.value},e.id)}))})]}):null,(0,i.jsx)(l.View,{className:o["default"].order_save_address,onClick:function onClick(){return b()},children:"保存"})]})};a["default"]=c}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[288],{5376:function(e,n,u){var l=u(1413),a=u(9439),c=u(1515),r=u(7294),i=u(5113),o=u(9579),t=u(5893),s=[{id:1,value:"拿色片"},{id:2,value:"顺丰"},{id:3,value:"客户自提"},{id:4,value:"加急一下"},{id:5,value:"物流到"},{id:6,value:"中台秀银"},{id:7,value:"中台晓茵"},{id:8,value:"中台淑婷"},{id:9,value:"中台结慧"},{id:10,value:"辛苦了"}];n.Z=function Remark(e){var n=e.onBlur,u=e.onSave,d=e.defaultValue,v=void 0===d?"":d,m=e.recommend,p=void 0===m||m,f=(0,r.useState)({number:0,value:"",count:200}),Z=(0,a.Z)(f,2),h=Z[0],x=Z[1],j=function getDesc(e){var n=e;e.length>h.count&&(n=e.slice(0,h.count)),x((0,l.Z)((0,l.Z)({},h),{},{number:n.length,value:n}))};(0,r.useEffect)((function(){j(v)}),[v]);return(0,t.jsxs)(c.G7,{className:i.Z.order_popup,children:[(0,t.jsx)(c.G7,{className:i.Z.order_popup_title,children:"编辑备注"}),(0,t.jsxs)(c.G7,{className:i.Z.order_popup_input,children:[(0,t.jsx)(c.gx,{placeholder:"请添加备注",value:null==h?void 0:h.value,maxlength:h.count,cursorSpacing:100,onInput:function onInput(e){return j(e.detail.value)},onBlur:function onBlur(e){return null==n?void 0:n(e)}}),(0,t.jsxs)(c.G7,{className:i.Z.descDataNum,children:[h.number,"/",h.count]})]}),p?(0,t.jsxs)(c.G7,{children:[(0,t.jsx)(c.G7,{className:i.Z.recommend_remark,children:"推荐备注"}),(0,t.jsx)(c.G7,{className:i.Z.recommend_remark_content,children:s.map((function(e){return(0,t.jsx)(o.Z,{type:"info",plain:!0,onClick:function onClick(){return function onClickTag(e){x((function(n){return(0,l.Z)((0,l.Z)({},n),{},{value:n.value+e.value})}))}(e)},circle:!0,customClassName:i.Z.tag,children:e.value},e.id)}))})]}):null,(0,t.jsx)(c.G7,{className:i.Z.order_save_address,onClick:function onClick(){return function setSave(){null==u||u(h.value)}()},children:"保存"})]})}}}]);
File diff suppressed because one or more lines are too long
@@ -1,2 +1 @@
/*! For license information please see dde3895fab754ea605d2697ad6817a2a.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/dde3895fab754ea605d2697ad6817a2a"],{"./src/api/addressList.ts":function(e,r,s){s.d(r,{GetAddressListApi:function(){return u},MpPurchaserAddress:function(){return n},MpPurchaserAddressDelete:function(){return p},MpPurchaserAddressGet:function(){return a},MpPurchaserAddressList:function(){return d},MpPurchaserAddressPut:function(){return c}});var t=s("./src/use/useHttp.ts");var u=function GetAddressListApi(){return(0,t.useRequest)({url:"/v2/mp/district/list",method:"get"})};var d=function MpPurchaserAddressList(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address/list",method:"get"})};var n=function MpPurchaserAddress(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"post"})};var a=function MpPurchaserAddressGet(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"get"})};var c=function MpPurchaserAddressPut(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"put"})};var p=function MpPurchaserAddressDelete(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"delete"})}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7097],{2185:function(r,e,t){t.d(e,{Rf:function(){return s},V7:function(){return p},Wj:function(){return o},cN:function(){return d},gV:function(){return n},qv:function(){return c}});var u=t(1948),s=function GetAddressListApi(){return(0,u.Q)({url:"/v2/mp/district/list",method:"get"})},n=function MpPurchaserAddressList(){return(0,u.Q)({url:"/v2/mp/purchaser/address/list",method:"get"})},d=function MpPurchaserAddress(){return(0,u.Q)({url:"/v2/mp/purchaser/address",method:"post"})},c=function MpPurchaserAddressGet(){return(0,u.Q)({url:"/v2/mp/purchaser/address",method:"get"})},p=function MpPurchaserAddressPut(){return(0,u.Q)({url:"/v2/mp/purchaser/address",method:"put"})},o=function MpPurchaserAddressDelete(){return(0,u.Q)({url:"/v2/mp/purchaser/address",method:"delete"})}}}]);
File diff suppressed because one or more lines are too long
@@ -1,373 +1 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/@tarojs/webpack5-runner/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/orderDetails/components/remark/index.module.scss ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___CXdVC {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
background-color: transparent;
}
.index-module__flex-col___M5Tzl {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column nowrap;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
}
.index-module__flex-row___yuEB0 {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.index-module__justify-between___ioNlh {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___fUMhS {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___XcNnE {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___ZniAd {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___rJVjq {
width: 100%;
height: 100%;
}
.index-module__color-blue___ckAO5 {
color: #3287EC;
}
.index-module__color-yellow___RGamL {
color: #FF9100;
}
.index-module__color-green___N8DPp {
color: #00B837;
}
.index-module__color-grey___BI0oB {
color: #707070;
}
.index-module__color-white___IDOts {
color: white;
}
.index-module__s-w___KSCzY::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___VaLnS::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___K6sCJ {
-webkit-filter: blur(1);
filter: blur(1);
}
@font-face {
font-family: "iconfont";
/* Project id 3619513 */
src: url(/styles/iconfont.ttf?t=1663556335905) format("truetype");
}
.index-module__iconfont___sbX6G {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___f2d8V:before {
content: "\e641";
}
.index-module__icon-cangku1___a2t8a:before {
content: "\e642";
}
.index-module__icon-saoma___eeWZS:before {
content: "\e643";
}
.index-module__icon-dizhi1___QonFN:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___Z91Uv:before {
content: "\e645";
}
.index-module__icon-yufukuan1___XkF2z:before {
content: "\e646";
}
.index-module__icon-yue___PcSR9:before {
content: "\e647";
}
.index-module__icon-zidingyi___f303P:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___Ll3X4:before {
content: "\e649";
}
.index-module__icon-tuikuan1___iiabg:before {
content: "\e64a";
}
.index-module__icon-zhankai___uInfw:before {
content: "\e63f";
}
.index-module__icon-shouqi___iTkJ7:before {
content: "\e640";
}
.index-module__icon-lujing___bDQCV:before {
content: "\e63e";
}
.index-module__icon-jizhumima___XQwOm:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___CueXU:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___kKzo0:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___k8JFT:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___LZN71:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___SBbnH:before {
content: "\e638";
}
.index-module__icon-biyan___IroRv:before {
content: "\e637";
}
.index-module__icon-bianji___oqekP:before {
content: "\e61e";
}
.index-module__icon-daikuan___KbN2X:before {
content: "\e61f";
}
.index-module__icon-cangku___hhVsl:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___sS6A6:before {
content: "\e621";
}
.index-module__icon-mima___FkQnB:before {
content: "\e622";
}
.index-module__icon-guanbi___E5VzF:before {
content: "\e623";
}
.index-module__icon-jianshao___c3qac:before {
content: "\e624";
}
.index-module__icon-dingwei___Wj_JQ:before {
content: "\e625";
}
.index-module__icon-saomiao___NvxSU:before {
content: "\e626";
}
.index-module__icon-peihuo___P4zBc:before {
content: "\e627";
}
.index-module__icon-shaixuan___sthvR:before {
content: "\e628";
}
.index-module__icon-paiming___jhWe2:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___RoyjZ:before {
content: "\e62a";
}
.index-module__icon-shijian___HI5RN:before {
content: "\e62b";
}
.index-module__icon-sousuo____PS5c:before {
content: "\e62c";
}
.index-module__icon-shouhou___zJDXH:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___g42hv:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___cv5U7:before {
content: "\e62f";
}
.index-module__icon-tuikuan___NSJOH:before {
content: "\e630";
}
.index-module__icon-tishi___PuyQg:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___ub4Eu:before {
content: "\e632";
}
.index-module__icon-xinzeng___aiRcf:before {
content: "\e633";
}
.index-module__icon-yonghuming___q4xqD:before {
content: "\e634";
}
.index-module__icon-yanjing___C6kuu:before {
content: "\e635";
}
.index-module__icon-yufukuan___LuIpI:before {
content: "\e636";
}
.index-module__icon-wodekefu___rPT9o:before {
content: "\e60c";
}
.index-module__icon-dizhi___BJbKK:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___oD498:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___BbWot:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___C7POo:before {
content: "\e610";
}
.index-module__icon-madanguanli___RuTpi:before {
content: "\e611";
}
.index-module__icon-qusechazhao___SNMwr:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___colin:before {
content: "\e613";
}
.index-module__icon-yaoqingma___c4qQ8:before {
content: "\e614";
}
.index-module__icon-duizhang___pX1Z0:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___irS_w:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___iWkY8:before {
content: "\e617";
}
.index-module__icon-yansequyang___LS9ub:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___XpRoG:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___C0qip:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___v5Nor:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___PJAX_:before {
content: "\e61c";
}
.index-module__icon-lingquseka___ZKO33:before {
content: "\e61d";
}
.index-module__icon-gouwu1___tcBUD:before {
content: "\e608";
}
.index-module__icon-dingdan1___mbaY9:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___VpVHa:before {
content: "\e60a";
}
.index-module__icon-shouye1___QfEIT:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___m0K8O:before {
content: "\e604";
}
.index-module__icon-dingdan___pZBY_:before {
content: "\e605";
}
.index-module__icon-shouye___XiCsf:before {
content: "\e606";
}
.index-module__icon-gouwu___oXMlg:before {
content: "\e607";
}
.index-module__order_popup___YUr9p {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
padding: 20rpx 0;
}
.index-module__order_popup___YUr9p .index-module__order_popup_title___xrgpC {
color: 32rpx;
font-weight: 700;
color: #000000;
padding-bottom: 20rpx;
}
.index-module__order_popup___YUr9p .index-module__order_popup_input___xUU6L {
width: 100%;
padding: 0 25rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin-top: 43rpx;
position: relative;
}
.index-module__order_popup___YUr9p .index-module__order_popup_input___xUU6L .index-module__descDataNum___UJXVi {
position: absolute;
right: 40rpx;
bottom: 10rpx;
height: 39rpx;
font-size: 24rpx;
color: #ababab;
}
.index-module__order_popup___YUr9p .index-module__order_popup_input___xUU6L textarea {
background-color: #f3f3f3;
border-radius: 10rpx;
width: 100%;
height: 313rpx;
padding: 20rpx;
padding-bottom: 50rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 28rpx;
border: 2rpx solid #e6e6e6;
}
.index-module__order_popup___YUr9p .index-module__recommend_remark____lYgx {
margin: 10rpx 28rpx;
color: #808080;
font-size: 28rpx;
}
.index-module__order_popup___YUr9p .index-module__recommend_remark_content___FwimO {
margin: 0 20rpx;
}
.index-module__order_popup___YUr9p .index-module__recommend_remark_content___FwimO .index-module__tag___Dlejd {
height: 50rpx;
margin: 0 8rpx;
margin-bottom: 10rpx;
}
.index-module__order_popup___YUr9p .index-module__order_save_address____voxj {
height: 82rpx;
background: #007aff;
border-radius: 40rpx;
width: 668rpx;
text-align: center;
line-height: 82rpx;
color: #fff;
margin-top: 60rpx;
}
.index-module__common_safe_area_y___CXdVC{background-color:transparent;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__flex-col___M5Tzl{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.index-module__flex-row___yuEB0{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.index-module__justify-between___ioNlh{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.index-module__justify-center___fUMhS{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.index-module__items-center___XcNnE{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.index-module__flex-item___ZniAd{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__full-100___rJVjq{height:100%;width:100%}.index-module__color-blue___ckAO5{color:#3287ec}.index-module__color-yellow___RGamL{color:#ff9100}.index-module__color-green___N8DPp{color:#00b837}.index-module__color-grey___BI0oB{color:#707070}.index-module__color-white___IDOts{color:#fff}.index-module__s-w___KSCzY::after{content:"W";font-size:28rpx}.index-module__s-e___VaLnS::after{content:"E";font-size:28rpx}.index-module__filter___K6sCJ{-webkit-filter:blur(1);filter:blur(1)}.index-module__order_popup___YUr9p{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:20rpx 0}.index-module__order_popup___YUr9p .index-module__order_popup_title___xrgpC{color:32rpx;color:#000;font-weight:700;padding-bottom:20rpx}.index-module__order_popup___YUr9p .index-module__order_popup_input___xUU6L{-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:43rpx;padding:0 25rpx;position:relative;width:100%}.index-module__order_popup___YUr9p .index-module__order_popup_input___xUU6L .index-module__descDataNum___UJXVi{bottom:10rpx;color:#ababab;font-size:24rpx;height:39rpx;position:absolute;right:40rpx}.index-module__order_popup___YUr9p .index-module__order_popup_input___xUU6L textarea{background-color:#f3f3f3;border:2rpx solid #e6e6e6;border-radius:10rpx;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:28rpx;height:313rpx;padding:20rpx 20rpx 50rpx;width:100%}.index-module__order_popup___YUr9p .index-module__recommend_remark____lYgx{color:grey;font-size:28rpx;margin:10rpx 28rpx}.index-module__order_popup___YUr9p .index-module__recommend_remark_content___FwimO{margin:0 20rpx}.index-module__order_popup___YUr9p .index-module__recommend_remark_content___FwimO .index-module__tag___Dlejd{height:50rpx;margin:0 8rpx 10rpx}.index-module__order_popup___YUr9p .index-module__order_save_address____voxj{background:#007aff;border-radius:40rpx;color:#fff;height:82rpx;line-height:82rpx;margin-top:60rpx;text-align:center;width:668rpx}