111
This commit is contained in:
Vendored
+1
-2
File diff suppressed because one or more lines are too long
-75
@@ -1,75 +0,0 @@
|
||||
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
|
||||
|
||||
/*! ./components/GoodsItem */
|
||||
|
||||
/*! ./components/addressDetailBox */
|
||||
|
||||
/*! ./index.module.scss */
|
||||
|
||||
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
|
||||
|
||||
/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
|
||||
|
||||
/*! ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js */
|
||||
|
||||
/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
|
||||
|
||||
/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js */
|
||||
|
||||
/*! @/api/addressList */
|
||||
|
||||
/*! @/api/order */
|
||||
|
||||
/*! @/common/common */
|
||||
|
||||
/*! @/common/format */
|
||||
|
||||
/*! @/common/util */
|
||||
|
||||
/*! @/components/LabAndImg */
|
||||
|
||||
/*! @/components/iconfont/iconfont */
|
||||
|
||||
/*! @/components/popup */
|
||||
|
||||
/*! @/components/textareaEnhance */
|
||||
|
||||
/*! @tarojs/components */
|
||||
|
||||
/*! @tarojs/runtime */
|
||||
|
||||
/*! @tarojs/taro */
|
||||
|
||||
/*! classnames */
|
||||
|
||||
/*! react */
|
||||
|
||||
/*! react/jsx-runtime */
|
||||
|
||||
/*!***************************************!*\
|
||||
!*** ./src/pages/orderEdit/index.tsx ***!
|
||||
\***************************************/
|
||||
|
||||
/*!***********************************************!*\
|
||||
!*** ./src/pages/orderEdit/index.module.scss ***!
|
||||
\***********************************************/
|
||||
|
||||
/*!************************************************************!*\
|
||||
!*** ./src/pages/orderEdit/components/GoodsItem/index.tsx ***!
|
||||
\************************************************************/
|
||||
|
||||
/*!*******************************************************************!*\
|
||||
!*** ./src/pages/orderEdit/components/addressDetailBox/index.tsx ***!
|
||||
\*******************************************************************/
|
||||
|
||||
/*!********************************************************************!*\
|
||||
!*** ./src/pages/orderEdit/components/GoodsItem/index.module.scss ***!
|
||||
\********************************************************************/
|
||||
|
||||
/*!***************************************************************************!*\
|
||||
!*** ./src/pages/orderEdit/components/addressDetailBox/index.module.scss ***!
|
||||
\***************************************************************************/
|
||||
|
||||
/*!************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/orderEdit/index.tsx ***!
|
||||
\************************************************************************************************************/
|
||||
Vendored
+1
-1592
File diff suppressed because one or more lines are too long
@@ -1,341 +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/textareaEnhance/index.module.scss ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
@charset "UTF-8";
|
||||
.index-module__common_safe_area_y___P66cS {
|
||||
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___s3siZ {
|
||||
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___H_G4J {
|
||||
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___Nx6w3 {
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__justify-center___C0vPO {
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.index-module__items-center___V5krN {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__flex-item___YmnrB {
|
||||
-webkit-flex: 1 1 auto;
|
||||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.index-module__full-100___eo77h {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__color-blue___W_GkM {
|
||||
color: #3287EC;
|
||||
}
|
||||
.index-module__color-yellow___P102m {
|
||||
color: #FF9100;
|
||||
}
|
||||
.index-module__color-green___vcwfe {
|
||||
color: #00B837;
|
||||
}
|
||||
.index-module__color-grey___Y0DL2 {
|
||||
color: #707070;
|
||||
}
|
||||
.index-module__color-white___mJYGe {
|
||||
color: white;
|
||||
}
|
||||
.index-module__s-w___YwfLr::after {
|
||||
content: "W";
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.index-module__s-e___mCppj::after {
|
||||
content: "E";
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.index-module__filter___B6eAL {
|
||||
-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___stxQR {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16rpx;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.index-module__icon-shouhou1___DPwPA:before {
|
||||
content: "\e641";
|
||||
}
|
||||
.index-module__icon-cangku1___NtqcA:before {
|
||||
content: "\e642";
|
||||
}
|
||||
.index-module__icon-saoma___r6Xt2:before {
|
||||
content: "\e643";
|
||||
}
|
||||
.index-module__icon-dizhi1____3ivm:before {
|
||||
content: "\e644";
|
||||
}
|
||||
.index-module__icon-huodaofukuan___K9zk9:before {
|
||||
content: "\e645";
|
||||
}
|
||||
.index-module__icon-yufukuan1___lLtRY:before {
|
||||
content: "\e646";
|
||||
}
|
||||
.index-module__icon-yue___JZNm9:before {
|
||||
content: "\e647";
|
||||
}
|
||||
.index-module__icon-zidingyi___DDbd4:before {
|
||||
content: "\e648";
|
||||
}
|
||||
.index-module__icon-jinetiaozheng___i6LCF:before {
|
||||
content: "\e649";
|
||||
}
|
||||
.index-module__icon-tuikuan1___QqmVx:before {
|
||||
content: "\e64a";
|
||||
}
|
||||
.index-module__icon-zhankai___UTorS:before {
|
||||
content: "\e63f";
|
||||
}
|
||||
.index-module__icon-shouqi___BcylT:before {
|
||||
content: "\e640";
|
||||
}
|
||||
.index-module__icon-lujing___HDBMV:before {
|
||||
content: "\e63e";
|
||||
}
|
||||
.index-module__icon-jizhumima___CGUKY:before {
|
||||
content: "\e63c";
|
||||
}
|
||||
.index-module__icon-a-jizhumima___w3YCn:before {
|
||||
content: "\e63d";
|
||||
}
|
||||
.index-module__icon-weixindenglu___s7cCS:before {
|
||||
content: "\e63b";
|
||||
}
|
||||
.index-module__icon-kehuxinxi___GGNSv:before {
|
||||
content: "\e63a";
|
||||
}
|
||||
.index-module__icon-yewuyuanqizi___oBlDE:before {
|
||||
content: "\e639";
|
||||
}
|
||||
.index-module__icon-chakanquanbukehu___L4gKD:before {
|
||||
content: "\e638";
|
||||
}
|
||||
.index-module__icon-biyan___W2ZyH:before {
|
||||
content: "\e637";
|
||||
}
|
||||
.index-module__icon-bianji___vQCL7:before {
|
||||
content: "\e61e";
|
||||
}
|
||||
.index-module__icon-daikuan___MXjjx:before {
|
||||
content: "\e61f";
|
||||
}
|
||||
.index-module__icon-cangku___ZP1Df:before {
|
||||
content: "\e620";
|
||||
}
|
||||
.index-module__icon-guanlidingdan___GZ_pI:before {
|
||||
content: "\e621";
|
||||
}
|
||||
.index-module__icon-mima___CPUeI:before {
|
||||
content: "\e622";
|
||||
}
|
||||
.index-module__icon-guanbi___hNSxC:before {
|
||||
content: "\e623";
|
||||
}
|
||||
.index-module__icon-jianshao___GxC7a:before {
|
||||
content: "\e624";
|
||||
}
|
||||
.index-module__icon-dingwei___SEQ16:before {
|
||||
content: "\e625";
|
||||
}
|
||||
.index-module__icon-saomiao___Oi2Fl:before {
|
||||
content: "\e626";
|
||||
}
|
||||
.index-module__icon-peihuo___CPjm4:before {
|
||||
content: "\e627";
|
||||
}
|
||||
.index-module__icon-shaixuan___OUksY:before {
|
||||
content: "\e628";
|
||||
}
|
||||
.index-module__icon-paiming___Hhfde:before {
|
||||
content: "\e629";
|
||||
}
|
||||
.index-module__icon-shanchusousuoxinxi___YyYaI:before {
|
||||
content: "\e62a";
|
||||
}
|
||||
.index-module__icon-shijian___iZSqS:before {
|
||||
content: "\e62b";
|
||||
}
|
||||
.index-module__icon-sousuo___jV9Y5:before {
|
||||
content: "\e62c";
|
||||
}
|
||||
.index-module__icon-shouhou___mkaiq:before {
|
||||
content: "\e62d";
|
||||
}
|
||||
.index-module__icon-sousuofanhui___tpwkd:before {
|
||||
content: "\e62e";
|
||||
}
|
||||
.index-module__icon-sousuoshanchu___zQ7z8:before {
|
||||
content: "\e62f";
|
||||
}
|
||||
.index-module__icon-tuikuan___I1gzm:before {
|
||||
content: "\e630";
|
||||
}
|
||||
.index-module__icon-tishi___eR5uY:before {
|
||||
content: "\e631";
|
||||
}
|
||||
.index-module__icon-xianxiahuizong___gGRFC:before {
|
||||
content: "\e632";
|
||||
}
|
||||
.index-module__icon-xinzeng___QGb8L:before {
|
||||
content: "\e633";
|
||||
}
|
||||
.index-module__icon-yonghuming___hb9iF:before {
|
||||
content: "\e634";
|
||||
}
|
||||
.index-module__icon-yanjing___p_QOL:before {
|
||||
content: "\e635";
|
||||
}
|
||||
.index-module__icon-yufukuan___zI3Bb:before {
|
||||
content: "\e636";
|
||||
}
|
||||
.index-module__icon-wodekefu___fdsjo:before {
|
||||
content: "\e60c";
|
||||
}
|
||||
.index-module__icon-dizhi___Eoqqc:before {
|
||||
content: "\e60d";
|
||||
}
|
||||
.index-module__icon-shouhouzhongxin___MhAuz:before {
|
||||
content: "\e60e";
|
||||
}
|
||||
.index-module__icon-wodeshoucang___KMm0b:before {
|
||||
content: "\e60f";
|
||||
}
|
||||
.index-module__icon-shoukuanliebiao___TvdDl:before {
|
||||
content: "\e610";
|
||||
}
|
||||
.index-module__icon-madanguanli___b97dl:before {
|
||||
content: "\e611";
|
||||
}
|
||||
.index-module__icon-qusechazhao___sGk_c:before {
|
||||
content: "\e612";
|
||||
}
|
||||
.index-module__icon-pandiansaoma___ChfXu:before {
|
||||
content: "\e613";
|
||||
}
|
||||
.index-module__icon-yaoqingma___PJAEC:before {
|
||||
content: "\e614";
|
||||
}
|
||||
.index-module__icon-duizhang___gohT_:before {
|
||||
content: "\e615";
|
||||
}
|
||||
.index-module__icon-tihuoliebiao___mnFBs:before {
|
||||
content: "\e616";
|
||||
}
|
||||
.index-module__icon-yangpinduibi___tdjFM:before {
|
||||
content: "\e617";
|
||||
}
|
||||
.index-module__icon-yansequyang___tujJ9:before {
|
||||
content: "\e618";
|
||||
}
|
||||
.index-module__icon-fahuoliebiao___rcAHf:before {
|
||||
content: "\e619";
|
||||
}
|
||||
.index-module__icon-yuncangkucun___JhZ8B:before {
|
||||
content: "\e61a";
|
||||
}
|
||||
.index-module__icon-xiaoshou___vNPI6:before {
|
||||
content: "\e61b";
|
||||
}
|
||||
.index-module__icon-qianzhicangkucun___QJb2L:before {
|
||||
content: "\e61c";
|
||||
}
|
||||
.index-module__icon-lingquseka___HWbqo:before {
|
||||
content: "\e61d";
|
||||
}
|
||||
.index-module__icon-gouwu1___h_kzy:before {
|
||||
content: "\e608";
|
||||
}
|
||||
.index-module__icon-dingdan1___D0MCA:before {
|
||||
content: "\e609";
|
||||
}
|
||||
.index-module__icon-gerenzhongxin1___S91pe:before {
|
||||
content: "\e60a";
|
||||
}
|
||||
.index-module__icon-shouye1___jR7TH:before {
|
||||
content: "\e60b";
|
||||
}
|
||||
.index-module__icon-gerenzhongxin___Qya21:before {
|
||||
content: "\e604";
|
||||
}
|
||||
.index-module__icon-dingdan___F_T9z:before {
|
||||
content: "\e605";
|
||||
}
|
||||
.index-module__icon-shouye___LpHTX:before {
|
||||
content: "\e606";
|
||||
}
|
||||
.index-module__icon-gouwu___YJrf_:before {
|
||||
content: "\e607";
|
||||
}
|
||||
.index-module__other_desc___aX07K {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__other_desc___aX07K .index-module__title___eJSzY {
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.index-module__other_desc___aX07K .index-module__textarea___PiPh4 {
|
||||
position: relative;
|
||||
height: 165.4rpx;
|
||||
}
|
||||
.index-module__other_desc___aX07K .index-module__textarea___PiPh4 .index-module__descDataNum___Rfef5 {
|
||||
position: absolute;
|
||||
right: 10rpx;
|
||||
bottom: 10rpx;
|
||||
font-size: 22rpx;
|
||||
color: #ABABAB;
|
||||
}
|
||||
.index-module__other_desc___aX07K .index-module__textarea_con___geMaf, .index-module__other_desc___aX07K .index-module__textarea_con_pretend___j9Rhi {
|
||||
background-color: #f3f3f3;
|
||||
border: 2rpx solid #e6e6e6;
|
||||
border-radius: 10rpx;
|
||||
width: 100%;
|
||||
font-size: 25rpx;
|
||||
height: 165.4rpx;
|
||||
padding: 20rpx 20rpx 30rpx 20rpx;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.index-module__other_desc___aX07K .index-module__textarea_con_pretend___j9Rhi {
|
||||
color: #ababab;
|
||||
}
|
||||
.index-module__other_desc___aX07K .index-module__textarea_con_pretend_ed___pxyq8 {
|
||||
color: #000;
|
||||
}
|
||||
.index-module__common_safe_area_y___P66cS{background-color:transparent;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__flex-col___s3siZ{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___H_G4J{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___Nx6w3{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.index-module__justify-center___C0vPO{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.index-module__items-center___V5krN{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.index-module__flex-item___YmnrB{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__full-100___eo77h{height:100%;width:100%}.index-module__color-blue___W_GkM{color:#3287ec}.index-module__color-yellow___P102m{color:#ff9100}.index-module__color-green___vcwfe{color:#00b837}.index-module__color-grey___Y0DL2{color:#707070}.index-module__color-white___mJYGe{color:#fff}.index-module__s-w___YwfLr::after{content:"W";font-size:28rpx}.index-module__s-e___mCppj::after{content:"E";font-size:28rpx}.index-module__filter___B6eAL{-webkit-filter:blur(1);filter:blur(1)}.index-module__other_desc___aX07K{-webkit-box-sizing:border-box;box-sizing:border-box}.index-module__other_desc___aX07K .index-module__title___eJSzY{font-size:28rpx;font-weight:700}.index-module__other_desc___aX07K .index-module__textarea___PiPh4{height:165.4rpx;position:relative}.index-module__other_desc___aX07K .index-module__textarea___PiPh4 .index-module__descDataNum___Rfef5{bottom:10rpx;color:#ababab;font-size:22rpx;position:absolute;right:10rpx}.index-module__other_desc___aX07K .index-module__textarea_con___geMaf,.index-module__other_desc___aX07K .index-module__textarea_con_pretend___j9Rhi{background-color:#f3f3f3;border:2rpx solid #e6e6e6;border-radius:10rpx;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:25rpx;height:165.4rpx;margin-top:20rpx;padding:20rpx 20rpx 30rpx;width:100%}.index-module__other_desc___aX07K .index-module__textarea_con_pretend___j9Rhi{color:#ababab}.index-module__other_desc___aX07K .index-module__textarea_con_pretend_ed___pxyq8{color:#000}
|
||||
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"})}}}]);
|
||||
@@ -1,2 +1 @@
|
||||
/*! For license information please see f8ddfe8b976b94a546e8f16a1ae81c3f.js.LICENSE.txt */
|
||||
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/f8ddfe8b976b94a546e8f16a1ae81c3f"],{"./src/components/textareaEnhance/index.tsx":function(e,a,n){var t=n("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");var s=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var o=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var u=n("./node_modules/react/cjs/react.production.min.js");var l=n("./node_modules/classnames/index.js");var r=n.n(l);var c=n("./src/components/textareaEnhance/index.module.scss");var d=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var i=function TextareaEnhance(e){var a=e.onChange,n=e.title,l=n===void 0?"":n,i=e.placeholder,f=i===void 0?"请输入":i,m=e.defaultValue,v=e.onlyRead,p=v===void 0?false:v;var x=(0,u.useState)({number:0,value:"",count:200,show:false}),h=(0,s["default"])(x,2),j=h[0],w=h[1];var b=function getDesc(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";var n=e;if(e.length>j.count){n=e.slice(0,j.count)}w((0,t["default"])((0,t["default"])({},j),{},{number:n.length,value:n}));a===null||a===void 0?void 0:a(n)};(0,u.useEffect)((function(){b(m)}),[m]);var _=function toggleShowRealTextarea(e){w((0,t["default"])((0,t["default"])({},j),{},{show:e}))};return(0,d.jsxs)(o.View,{className:c["default"].other_desc,children:[(0,d.jsx)(o.View,{className:c["default"].title,children:l}),(0,d.jsxs)(o.View,{className:c["default"].textarea,children:[j.show&&!p?(0,d.jsx)(o.Textarea,{autoFocus:true,value:j.value,onBlur:function onBlur(){return _(false)},className:c["default"].textarea_con,cursorSpacing:100,maxlength:j.count,onInput:function onInput(e){return b(e.detail.value)}}):(0,d.jsx)(o.View,{className:r()(c["default"].textarea_con_pretend,j.value&&c["default"].textarea_con_pretend_ed),onClick:function onClick(){return _(true)},children:j.value||f}),(0,d.jsx)(o.View,{className:c["default"].descDataNum,children:"".concat(j.number,"/").concat(j.count)})]})]})};a["default"]=(0,u.memo)(i)}}]);
|
||||
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9575],{4255:function(e,n,a){var t=a(1413),c=a(9439),o=a(1515),u=a(7294),l=a(4184),s=a.n(l),r=a(1989),i=a(5893),d=function TextareaEnhance(e){var n=e.onChange,a=e.title,l=void 0===a?"":a,d=e.placeholder,h=void 0===d?"请输入":d,x=e.defaultValue,v=e.onlyRead,m=void 0!==v&&v,Z=(0,u.useState)({number:0,value:"",count:200,show:!1}),f=(0,c.Z)(Z,2),p=f[0],g=f[1],w=function getDesc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=e;e.length>p.count&&(a=e.slice(0,p.count)),g((0,t.Z)((0,t.Z)({},p),{},{number:a.length,value:a})),null==n||n(a)};(0,u.useEffect)((function(){w(x)}),[x]);var N=function toggleShowRealTextarea(e){g((0,t.Z)((0,t.Z)({},p),{},{show:e}))};return(0,i.jsxs)(o.G7,{className:r.Z.other_desc,children:[(0,i.jsx)(o.G7,{className:r.Z.title,children:l}),(0,i.jsxs)(o.G7,{className:r.Z.textarea,children:[p.show&&!m?(0,i.jsx)(o.gx,{autoFocus:!0,value:p.value,onBlur:function onBlur(){return N(!1)},className:r.Z.textarea_con,cursorSpacing:100,maxlength:p.count,onInput:function onInput(e){return w(e.detail.value)}}):(0,i.jsx)(o.G7,{className:s()(r.Z.textarea_con_pretend,p.value&&r.Z.textarea_con_pretend_ed),onClick:function onClick(){return N(!0)},children:p.value||h}),(0,i.jsx)(o.G7,{className:r.Z.descDataNum,children:"".concat(p.number,"/").concat(p.count)})]})]})};n.Z=(0,u.memo)(d)}}]);
|
||||
Reference in New Issue
Block a user