This commit is contained in:
2023-05-16 17:34:27 +08:00
parent 70e08e6760
commit 17b3721bcc
867 changed files with 96987 additions and 111 deletions
+2 -1
View File
File diff suppressed because one or more lines are too long
+41
View File
@@ -0,0 +1,41 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./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 */
/*! @/api/newCollection */
/*! @/common/util */
/*! @/components/infiniteScroll */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!*****************************************!*\
!*** ./src/pages/accountPage/index.tsx ***!
\*****************************************/
/*!*************************************************!*\
!*** ./src/pages/accountPage/index.module.scss ***!
\*************************************************/
/*!**************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/accountPage/index.tsx ***!
\**************************************************************************************************************/
+415 -1
View File
@@ -1 +1,415 @@
.index-module__common_safe_area_y___L2yu5{background-color:transparent;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__flex-col___gcE2C{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___S7Daj{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___gCc2x{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.index-module__justify-center___Ft5eE{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.index-module__items-center___GQmlv{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.index-module__flex-item___vsz7N{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__full-100___l_oVL{height:100%;width:100%}.index-module__color-blue___Ahdmj{color:#3287ec}.index-module__color-yellow___Evqps{color:#ff9100}.index-module__color-green___urYry{color:#00b837}.index-module__color-grey___vJmB_{color:#707070}.index-module__color-white___kVrgG{color:#fff}.index-module__s-w___HEdXK::after{content:"W";font-size:28rpx}.index-module__s-e___B09qD::after{content:"E";font-size:28rpx}.index-module__filter___ep9_d{-webkit-filter:blur(1);filter:blur(1)}page{background:#f7f7f7}.index-module__cussBox___XJ1dA .index-module__searchBox____cTfl{-ms-flex-align:center;-webkit-align-items:center;align-items:center;background:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;height:96rpx;position:-webkit-sticky;position:sticky;top:0;width:750rpx}.index-module__cussBox___XJ1dA .index-module__searchBox____cTfl .index-module__two___LdwUA{height:72rpx;margin-left:24rpx;width:702rpx}.index-module__cussBox___XJ1dA .index-module__listBox___eIxpH{height:calc(100vh - 96rpx)}.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx{-ms-flex-align:center;-webkit-align-items:center;align-items:center;background:#fff;border-radius:16rpx;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:104rpx;margin-left:24rpx;margin-top:24rpx;width:702rpx}.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx .index-module__cussName___bZuWw{color:#000;font-family:PingFangSC-Medium,PingFang SC;font-size:28rpx;font-weight:500;height:34rpx;margin-left:48rpx;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx .index-module__phone___rngdu{color:#000;font-family:PingFangSC-Regular,PingFang SC;font-size:28rpx;font-weight:400;margin-left:88rpx}.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx .index-module__woker___GHA8m{color:#000;font-family:PingFangSC-Regular,PingFang SC;font-size:28rpx;font-weight:400;margin-left:88rpx}.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD{-ms-flex-align:center;-webkit-align-items:center;align-items:center;background:#fff;border:1px solid #337fff;border-radius:16rpx;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:104rpx;margin-left:24rpx;margin-top:24rpx;width:702rpx}.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD .index-module__cussName___bZuWw{color:#000;font-family:PingFangSC-Medium,PingFang SC;font-size:28rpx;font-weight:500;height:34rpx;margin-left:48rpx;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;width:168rpx}.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD .index-module__phone___rngdu{color:#000;font-family:PingFangSC-Regular,PingFang SC;font-size:28rpx;font-weight:400;margin-left:88rpx}.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD .index-module__woker___GHA8m{color:#000;font-family:PingFangSC-Regular,PingFang SC;font-size:28rpx;font-weight:400;margin-left:88rpx}
@charset "UTF-8";/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/accountPage/index.module.scss ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.index-module__common_safe_area_y___L2yu5 {
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___gcE2C {
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___S7Daj {
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___gCc2x {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___Ft5eE {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___GQmlv {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___vsz7N {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___l_oVL {
width: 100%;
height: 100%;
}
.index-module__color-blue___Ahdmj {
color: #3287EC;
}
.index-module__color-yellow___Evqps {
color: #FF9100;
}
.index-module__color-green___urYry {
color: #00B837;
}
.index-module__color-grey___vJmB_ {
color: #707070;
}
.index-module__color-white___kVrgG {
color: white;
}
.index-module__s-w___HEdXK::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___B09qD::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___ep9_d {
-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___wOYq1 {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___CAvRr:before {
content: "\e641";
}
.index-module__icon-cangku1___wFUaQ:before {
content: "\e642";
}
.index-module__icon-saoma___hALNF:before {
content: "\e643";
}
.index-module__icon-dizhi1___hnVnb:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___XaxPf:before {
content: "\e645";
}
.index-module__icon-yufukuan1___yG7dy:before {
content: "\e646";
}
.index-module__icon-yue___SAWvg:before {
content: "\e647";
}
.index-module__icon-zidingyi____9td3:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng____bz8y:before {
content: "\e649";
}
.index-module__icon-tuikuan1___GpBIE:before {
content: "\e64a";
}
.index-module__icon-zhankai____Etro:before {
content: "\e63f";
}
.index-module__icon-shouqi___eO_T9:before {
content: "\e640";
}
.index-module__icon-lujing___hNUU2:before {
content: "\e63e";
}
.index-module__icon-jizhumima___fR8nR:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___n8c_b:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___BntwJ:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___jP5RZ:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___bd4dW:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___KW7tl:before {
content: "\e638";
}
.index-module__icon-biyan___pEo4u:before {
content: "\e637";
}
.index-module__icon-bianji___s4GGy:before {
content: "\e61e";
}
.index-module__icon-daikuan___KVQ2y:before {
content: "\e61f";
}
.index-module__icon-cangku___h3xAd:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___eVnxU:before {
content: "\e621";
}
.index-module__icon-mima___yulpZ:before {
content: "\e622";
}
.index-module__icon-guanbi___5mDKl:before {
content: "\e623";
}
.index-module__icon-jianshao____Lj0E:before {
content: "\e624";
}
.index-module__icon-dingwei___vkSSm:before {
content: "\e625";
}
.index-module__icon-saomiao___xlPjq:before {
content: "\e626";
}
.index-module__icon-peihuo___YhYER:before {
content: "\e627";
}
.index-module__icon-shaixuan___jDNbP:before {
content: "\e628";
}
.index-module__icon-paiming___Qts5N:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___vNdSR:before {
content: "\e62a";
}
.index-module__icon-shijian___GydeM:before {
content: "\e62b";
}
.index-module__icon-sousuo___xUb3W:before {
content: "\e62c";
}
.index-module__icon-shouhou___vKxcc:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___iIq5d:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___oU5iO:before {
content: "\e62f";
}
.index-module__icon-tuikuan___Y3k7d:before {
content: "\e630";
}
.index-module__icon-tishi___uZWEH:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___CZa4J:before {
content: "\e632";
}
.index-module__icon-xinzeng___ljPmv:before {
content: "\e633";
}
.index-module__icon-yonghuming___iUJ0S:before {
content: "\e634";
}
.index-module__icon-yanjing___ELvty:before {
content: "\e635";
}
.index-module__icon-yufukuan___X8qX_:before {
content: "\e636";
}
.index-module__icon-wodekefu___Zs8je:before {
content: "\e60c";
}
.index-module__icon-dizhi___Hv2mV:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___ErEMa:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___aVi_E:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___lm9QX:before {
content: "\e610";
}
.index-module__icon-madanguanli___vFQ8O:before {
content: "\e611";
}
.index-module__icon-qusechazhao___lO8uv:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___X57R_:before {
content: "\e613";
}
.index-module__icon-yaoqingma___fgAVS:before {
content: "\e614";
}
.index-module__icon-duizhang___LY_I5:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___O0UMg:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___rETck:before {
content: "\e617";
}
.index-module__icon-yansequyang___Rj0E8:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___sc_h9:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___mrqdN:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___Q0rI0:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___QBV6L:before {
content: "\e61c";
}
.index-module__icon-lingquseka___NaeML:before {
content: "\e61d";
}
.index-module__icon-gouwu1____fwwF:before {
content: "\e608";
}
.index-module__icon-dingdan1___C1d5D:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___vxdsg:before {
content: "\e60a";
}
.index-module__icon-shouye1___l6p7f:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___tBRUp:before {
content: "\e604";
}
.index-module__icon-dingdan___xWneF:before {
content: "\e605";
}
.index-module__icon-shouye___xyGya:before {
content: "\e606";
}
.index-module__icon-gouwu___CYxrg:before {
content: "\e607";
}
page {
background: #f7f7f7;
}
.index-module__cussBox___XJ1dA .index-module__searchBox____cTfl {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 750rpx;
height: 96rpx;
background: #FFFFFF;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__cussBox___XJ1dA .index-module__searchBox____cTfl .index-module__two___LdwUA {
width: 702rpx;
height: 72rpx;
margin-left: 24rpx;
}
.index-module__cussBox___XJ1dA .index-module__listBox___eIxpH {
height: calc(100vh - 96rpx);
}
.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx {
margin-left: 24rpx;
width: 702rpx;
height: 104rpx;
background: #FFFFFF;
border-radius: 16rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
margin-top: 24rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx .index-module__cussName___bZuWw {
margin-left: 48rpx;
height: 34rpx;
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #000000;
overflow: hidden;
white-space: nowrap;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx .index-module__phone___rngdu {
margin-left: 88rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #000000;
}
.index-module__cussBox___XJ1dA .index-module__itemBox___I8Xyx .index-module__woker___GHA8m {
margin-left: 88rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #000000;
}
.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD {
margin-left: 24rpx;
width: 702rpx;
height: 104rpx;
background: #FFFFFF;
border-radius: 16rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
margin-top: 24rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #337FFF;
}
.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD .index-module__cussName___bZuWw {
margin-left: 48rpx;
width: 168rpx;
height: 34rpx;
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #000000;
overflow: hidden;
white-space: nowrap;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD .index-module__phone___rngdu {
margin-left: 88rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #000000;
}
.index-module__cussBox___XJ1dA .index-module__acticveitemBox___HOeKD .index-module__woker___GHA8m {
margin-left: 88rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #000000;
}
@@ -0,0 +1,2 @@
/*! For license information please see afc3d5d6b81e10acfabb5dead9c04685.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/afc3d5d6b81e10acfabb5dead9c04685"],{"./src/api/newCollection.ts":function(e,r,t){t.d(r,{MpCashManagementOrder:function(){return u},MpCashManagementOrderAccount:function(){return s},MpCashManagementOrderList:function(){return a},MpCashManagementOrderPost:function(){return c},MpShouldCollectOrderPurchaser:function(){return o}});var n=t("./src/use/useHttp.ts");var a=function MpCashManagementOrderList(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder/list",method:"get"})};var u=function MpCashManagementOrder(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder",method:"get"})};var s=function MpCashManagementOrderAccount(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder/account",method:"get"})};var c=function MpCashManagementOrderPost(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder",method:"post"})};var o=function MpShouldCollectOrderPurchaser(){return(0,n.useRequest)({url:"/v2/mp/shouldCollectOrder/purchaser",method:"get"})}}}]);
+2 -1
View File
File diff suppressed because one or more lines are too long
+45
View File
@@ -0,0 +1,45 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./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 */
/*! @/common/common */
/*! @/components/address */
/*! @/components/iconfont/iconfont */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!****************************************!*\
!*** ./src/pages/addAddress/index.tsx ***!
\****************************************/
/*!************************************************!*\
!*** ./src/pages/addAddress/index.module.scss ***!
\************************************************/
/*!*************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/addAddress/index.tsx ***!
\*************************************************************************************************************/
+511 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see b5b4d845f319d98d60a16c431432d47b.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b5b4d845f319d98d60a16c431432d47b"],{"./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 c},MpPurchaserAddressList:function(){return d},MpPurchaserAddressPut:function(){return a}});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 c=function MpPurchaserAddressGet(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"get"})};var a=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"})}}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,402 @@
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/address/index.module.scss ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___x4eYy {
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___WfAVR {
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___E72HL {
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___BX5jv {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___LWVHx {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___b7YfS {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___qWIe6 {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___UTe8u {
width: 100%;
height: 100%;
}
.index-module__color-blue___KlcQP {
color: #3287EC;
}
.index-module__color-yellow___BbR9i {
color: #FF9100;
}
.index-module__color-green___HIJKc {
color: #00B837;
}
.index-module__color-grey___vmmoc {
color: #707070;
}
.index-module__color-white___rLQP_ {
color: white;
}
.index-module__s-w___QSVgb::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___fDGe6::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___p2qM3 {
-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___kFGsG {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___ZW63S:before {
content: "\e641";
}
.index-module__icon-cangku1___VK0NJ:before {
content: "\e642";
}
.index-module__icon-saoma___KVcY3:before {
content: "\e643";
}
.index-module__icon-dizhi1___cGqZr:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___ncjnu:before {
content: "\e645";
}
.index-module__icon-yufukuan1___aLk8Q:before {
content: "\e646";
}
.index-module__icon-yue___OGK28:before {
content: "\e647";
}
.index-module__icon-zidingyi___SGcu2:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___jcHyI:before {
content: "\e649";
}
.index-module__icon-tuikuan1___x3CZP:before {
content: "\e64a";
}
.index-module__icon-zhankai___EK54W:before {
content: "\e63f";
}
.index-module__icon-shouqi___MmTsa:before {
content: "\e640";
}
.index-module__icon-lujing___PkxDi:before {
content: "\e63e";
}
.index-module__icon-jizhumima___gDf4b:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___BR7jP:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___GDXJs:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___tuVwf:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___gbPfz:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___W0tco:before {
content: "\e638";
}
.index-module__icon-biyan___P6j_M:before {
content: "\e637";
}
.index-module__icon-bianji___OT8MF:before {
content: "\e61e";
}
.index-module__icon-daikuan___VyTWB:before {
content: "\e61f";
}
.index-module__icon-cangku___PXvRo:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___e_gz4:before {
content: "\e621";
}
.index-module__icon-mima___Jdu6y:before {
content: "\e622";
}
.index-module__icon-guanbi___dHWHc:before {
content: "\e623";
}
.index-module__icon-jianshao___lrLTI:before {
content: "\e624";
}
.index-module__icon-dingwei___Rj7OP:before {
content: "\e625";
}
.index-module__icon-saomiao___NRREq:before {
content: "\e626";
}
.index-module__icon-peihuo___jDXYn:before {
content: "\e627";
}
.index-module__icon-shaixuan___zI205:before {
content: "\e628";
}
.index-module__icon-paiming___Iuzup:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___T_E8K:before {
content: "\e62a";
}
.index-module__icon-shijian___LqsmH:before {
content: "\e62b";
}
.index-module__icon-sousuo___wbVUl:before {
content: "\e62c";
}
.index-module__icon-shouhou___aEx2J:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___c9lEh:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___KBFk6:before {
content: "\e62f";
}
.index-module__icon-tuikuan___NBbL9:before {
content: "\e630";
}
.index-module__icon-tishi___fb542:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___mPne0:before {
content: "\e632";
}
.index-module__icon-xinzeng___y1u6N:before {
content: "\e633";
}
.index-module__icon-yonghuming___VZU8V:before {
content: "\e634";
}
.index-module__icon-yanjing____YtP8:before {
content: "\e635";
}
.index-module__icon-yufukuan___mnuxU:before {
content: "\e636";
}
.index-module__icon-wodekefu___tsfhO:before {
content: "\e60c";
}
.index-module__icon-dizhi___X0Lqf:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___kTNys:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___hWv6u:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___bGvZt:before {
content: "\e610";
}
.index-module__icon-madanguanli___XSYmJ:before {
content: "\e611";
}
.index-module__icon-qusechazhao___C7E1Z:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___H7XGo:before {
content: "\e613";
}
.index-module__icon-yaoqingma___eHvfV:before {
content: "\e614";
}
.index-module__icon-duizhang___Srn9D:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___xHCr1:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___v4kjD:before {
content: "\e617";
}
.index-module__icon-yansequyang___hnjZP:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___M3J7w:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___r3zFX:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___GTrH8:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___u0sKA:before {
content: "\e61c";
}
.index-module__icon-lingquseka___XU8MW:before {
content: "\e61d";
}
.index-module__icon-gouwu1___aUbDD:before {
content: "\e608";
}
.index-module__icon-dingdan1___z5IJb:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___wrQpN:before {
content: "\e60a";
}
.index-module__icon-shouye1___XOGK4:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin____Tu9Z:before {
content: "\e604";
}
.index-module__icon-dingdan___poXar:before {
content: "\e605";
}
.index-module__icon-shouye___bqov9:before {
content: "\e606";
}
.index-module__icon-gouwu___cafM7:before {
content: "\e607";
}
.index-module__address_main___huJxL {
width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
}
.index-module__address_main___huJxL .index-module__sure___VHAtN {
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #337FFF;
position: absolute;
top: 35rpx;
right: 40rpx;
}
.index-module__address_main___huJxL .index-module__address_title___nnKsa {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 28rpx;
padding: 20rpx;
padding-bottom: 0;
}
.index-module__address_main___huJxL .index-module__address_select___l33As {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding: 30rpx 0;
margin-top: 10rpx;
font-size: 24rpx;
border-bottom: 1px solid #eaeaea;
color: #337fff;
position: relative;
}
.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__address_item___mchDV {
padding: 0 20rpx;
max-width: 200rpx;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__bottom_index___J8o7V {
width: 88rpx;
height: 6rpx;
background: #337FFF;
border-radius: 3rpx;
position: absolute;
bottom: 0;
left: 0;
-webkit-transition: left 0.1s;
-o-transition: left 0.1s;
transition: left 0.1s;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA {
height: 600rpx;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q {
padding: 0 20rpx;
font-size: 28rpx;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG {
padding: 20rpx 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
border-bottom: 1px solid #f5f5f5;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG .index-module__address_list_item_name___TBOMb {
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG .index-module__address_iconfont___T4GZp {
font-size: 30rpx !important;
color: #4581ff;
}
.index-module__address_main___huJxL .index-module__addresst_select___hviCA {
color: #337fff;
}
+2 -1
View File
File diff suppressed because one or more lines are too long
+57
View File
@@ -0,0 +1,57 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./components/form */
/*! ./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 */
/*! @/api/newCollection */
/*! @/common/common */
/*! @/common/money */
/*! @/components/iconfont/iconfont */
/*! @/components/uploadImage */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! big.js */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!*******************************************!*\
!*** ./src/pages/addCollection/index.tsx ***!
\*******************************************/
/*!***************************************************!*\
!*** ./src/pages/addCollection/index.module.scss ***!
\***************************************************/
/*!***********************************************************!*\
!*** ./src/pages/addCollection/components/form/index.tsx ***!
\***********************************************************/
/*!*******************************************************************!*\
!*** ./src/pages/addCollection/components/form/index.module.scss ***!
\*******************************************************************/
/*!****************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/addCollection/index.tsx ***!
\****************************************************************************************************************/
+810 -1
View File
File diff suppressed because one or more lines are too long
@@ -0,0 +1,391 @@
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/uploadImage/index.module.scss ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___RxGYu {
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___oJX6A {
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___EwXBU {
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___gEVlI {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___KnkuE {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___XWwer {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___cqsdj {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___orlN2 {
width: 100%;
height: 100%;
}
.index-module__color-blue___RCmKF {
color: #3287EC;
}
.index-module__color-yellow___VEJVV {
color: #FF9100;
}
.index-module__color-green___Mk_9J {
color: #00B837;
}
.index-module__color-grey___SozQV {
color: #707070;
}
.index-module__color-white___N3DnK {
color: white;
}
.index-module__s-w___L1ksV::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___CSPlj::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___HwQTh {
-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___E93GP {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___HghSN:before {
content: "\e641";
}
.index-module__icon-cangku1___MuKNb:before {
content: "\e642";
}
.index-module__icon-saoma___u1NDi:before {
content: "\e643";
}
.index-module__icon-dizhi1___s7hRB:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___flF9k:before {
content: "\e645";
}
.index-module__icon-yufukuan1___XL_sz:before {
content: "\e646";
}
.index-module__icon-yue___ZKXx6:before {
content: "\e647";
}
.index-module__icon-zidingyi___WzU18:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___lVwcl:before {
content: "\e649";
}
.index-module__icon-tuikuan1___RDyuf:before {
content: "\e64a";
}
.index-module__icon-zhankai___evFZU:before {
content: "\e63f";
}
.index-module__icon-shouqi___OCI0r:before {
content: "\e640";
}
.index-module__icon-lujing___RI4Mw:before {
content: "\e63e";
}
.index-module__icon-jizhumima___h6eGe:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___MTqZt:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___o_8Ox:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___FV_zj:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___ffzOm:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___t5T9h:before {
content: "\e638";
}
.index-module__icon-biyan___LJoEL:before {
content: "\e637";
}
.index-module__icon-bianji___SzpNK:before {
content: "\e61e";
}
.index-module__icon-daikuan___Nzz6U:before {
content: "\e61f";
}
.index-module__icon-cangku___J0lfw:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___sGyXO:before {
content: "\e621";
}
.index-module__icon-mima___Kz1sR:before {
content: "\e622";
}
.index-module__icon-guanbi___SWpzl:before {
content: "\e623";
}
.index-module__icon-jianshao____3pEP:before {
content: "\e624";
}
.index-module__icon-dingwei___h01xo:before {
content: "\e625";
}
.index-module__icon-saomiao___SVPeW:before {
content: "\e626";
}
.index-module__icon-peihuo___xUVHW:before {
content: "\e627";
}
.index-module__icon-shaixuan___wKxd2:before {
content: "\e628";
}
.index-module__icon-paiming___yi4wn:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___Le1Gi:before {
content: "\e62a";
}
.index-module__icon-shijian____uwiY:before {
content: "\e62b";
}
.index-module__icon-sousuo___f2M7w:before {
content: "\e62c";
}
.index-module__icon-shouhou___ZvJeK:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___Aun0d:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___IyeeP:before {
content: "\e62f";
}
.index-module__icon-tuikuan___o6X74:before {
content: "\e630";
}
.index-module__icon-tishi___LQJmC:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___cC9M0:before {
content: "\e632";
}
.index-module__icon-xinzeng___m_gDK:before {
content: "\e633";
}
.index-module__icon-yonghuming___hU3fB:before {
content: "\e634";
}
.index-module__icon-yanjing___g3lmE:before {
content: "\e635";
}
.index-module__icon-yufukuan___JMGBE:before {
content: "\e636";
}
.index-module__icon-wodekefu___gynr9:before {
content: "\e60c";
}
.index-module__icon-dizhi___Pnqk3:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___Wg1xa:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___rNSi4:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___z5SXN:before {
content: "\e610";
}
.index-module__icon-madanguanli___uRb9P:before {
content: "\e611";
}
.index-module__icon-qusechazhao___XeZzz:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___XZegC:before {
content: "\e613";
}
.index-module__icon-yaoqingma___MO0O6:before {
content: "\e614";
}
.index-module__icon-duizhang___Pj6VT:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___yJnEn:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___wYZrO:before {
content: "\e617";
}
.index-module__icon-yansequyang___gtiOk:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___mfSHY:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___V79qi:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___M2etC:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun____cMxN:before {
content: "\e61c";
}
.index-module__icon-lingquseka___O7DLf:before {
content: "\e61d";
}
.index-module__icon-gouwu1___d7v27:before {
content: "\e608";
}
.index-module__icon-dingdan1___QqWnw:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___E6QJf:before {
content: "\e60a";
}
.index-module__icon-shouye1___XZ5jA:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___RLQjj:before {
content: "\e604";
}
.index-module__icon-dingdan___XOcna:before {
content: "\e605";
}
.index-module__icon-shouye___eeJ9f:before {
content: "\e606";
}
.index-module__icon-gouwu___H2ebX:before {
content: "\e607";
}
.index-module__image_main___i8Ggt {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P {
width: 143rpx;
height: 143rpx;
background: #f3f3f3;
border-radius: 8rpx;
margin-top: 20rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
position: relative;
position: relative;
}
.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P .index-module__miconfont___QFFs3 {
color: #d8d8d8;
font-size: 100rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w {
width: 143rpx;
height: 143rpx;
background: #f3f3f3;
border-radius: 8rpx;
margin-right: 20rpx;
margin-top: 20rpx;
position: relative;
border-radius: 10rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w image {
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w .index-module__miconfont_close___B691k {
width: 43rpx;
height: 43rpx;
background-color: #7f7f7f;
border-radius: 50%;
position: absolute;
right: -10rpx;
top: -10rpx;
text-align: center;
line-height: 43rpx;
color: #fff;
font-size: 30rpx;
}
.index-module__bigBoxThree___gMuZD {
width: 100%;
height: 150rpx;
}
.index-module__bigBoxThree___gMuZD .index-module__itemBox___MnBHI {
width: 100%;
height: 88rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
line-height: 88rpx;
font-size: 28rpx;
font-weight: 500;
color: #000000;
border-bottom: 1px solid #f7f7f7;
}
@@ -0,0 +1,2 @@
/*! For license information please see 20cc30ab415e801d225979ccaf9e37b1.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/20cc30ab415e801d225979ccaf9e37b1"],{"./src/use/useUploadImage.ts":function(e,t,n){var a=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var r=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var s=n("./node_modules/@tarojs/taro/index.js");var c=n.n(s);var o=n("./src/common/constant.ts");var i=n("./src/api/cdn.ts");t["default"]=function(){var e=(0,i.GetSignApi)(),t=e.fetchData;var n=function getSecret(e,n){return new Promise(function(){var n=(0,r["default"])((0,a["default"])().mark((function _callee(n,r){var s,c,o;return(0,a["default"])().wrap((function _callee$(a){while(1)switch(a.prev=a.next){case 0:s="/".concat(e,"/{filemd5}{day}{hour}{min}{sec}{.suffix}");c={method:"post",save_key:s};a.next=4;return t(c);case 4:o=a.sent;if(o.success){n(o.data)}else{r({code:o.code||"9999",msg:o.msg})}case 6:case"end":return a.stop()}}),_callee)})));return function(e,t){return n.apply(this,arguments)}}())};var s=function getFileType(e){if(!e){return false}var t=["gif","jpeg","jpg","bmp","png"];var n=["avi","wmv","mkv","mp4","mov","rm","3gp","flv","mpg","rmvb","quicktime"];if(RegExp(".?(".concat(t.join("|"),")$"),"i").test(e.toLowerCase())){return"image"}else if(RegExp(".(".concat(n.join("|"),")$"),"i").test(e.toLowerCase())){return"video"}else{return false}};var u=function uploadCDNImg(e,t,a){var r=e.path;console.log("filetype::",r);if(!s(r)){c().showToast({title:"上传文件类型错误",icon:"none",duration:3800});return false}return new Promise((function(r,s){n(t,a).then((function(t){var n=t;console.log("bucket",n.bucket);var a={authorization:n.authorization,policy:n.policy};var i=c().uploadFile({url:"".concat(o.UPLOAD_CDN_URL).concat(n.bucket),formData:a,filePath:e.path,name:"file",success:function success(e){r(JSON.parse("".concat(e.data)))},fail:function fail(e){console.log(e);s(e)}});i.progress((function(e){console.log("上传进度",e.progress);if(e.progress<100){c().showLoading({title:"上传中..."})}else{c().hideLoading()}}))})).catch((function(e){s(e);c().showToast({title:"获取密钥失败!",icon:"none",duration:3800})}))}))};var l=function getWxPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee2(){var r,i,l;return(0,a["default"])().wrap((function _callee2$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee2,null,[[0,20]])})))()}})}))};var f=function getChatPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseMessageFile({count:t,type:"image",success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee3(){var r,i,l;return(0,a["default"])().wrap((function _callee3$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee3,null,[[0,20]])})))()}})}))};return{uploadCDNImg:u,getWxPhoto:l,getChatPhoto:f}}}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 81bf4410dad05a23085bf259ded3a03d.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/81bf4410dad05a23085bf259ded3a03d"],{"./src/api/cdn.ts":function(t,e,n){n.d(e,{GetSignApi:function(){return u}});var s=n("./src/use/useHttp.ts");var u=function GetSignApi(){return(0,s.useRequest)({url:"/v2/mp/cdn/token",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see afc3d5d6b81e10acfabb5dead9c04685.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/afc3d5d6b81e10acfabb5dead9c04685"],{"./src/api/newCollection.ts":function(e,r,t){t.d(r,{MpCashManagementOrder:function(){return u},MpCashManagementOrderAccount:function(){return s},MpCashManagementOrderList:function(){return a},MpCashManagementOrderPost:function(){return c},MpShouldCollectOrderPurchaser:function(){return o}});var n=t("./src/use/useHttp.ts");var a=function MpCashManagementOrderList(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder/list",method:"get"})};var u=function MpCashManagementOrder(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder",method:"get"})};var s=function MpCashManagementOrderAccount(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder/account",method:"get"})};var c=function MpCashManagementOrderPost(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder",method:"post"})};var o=function MpShouldCollectOrderPurchaser(){return(0,n.useRequest)({url:"/v2/mp/shouldCollectOrder/purchaser",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see d595a9ddb1b2df773c9a07b73581bb4f.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/d595a9ddb1b2df773c9a07b73581bb4f"],{"./src/components/uploadImage/index.tsx":function(e,a,n){var t=n("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");var r=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var s=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var l=n("./node_modules/@tarojs/taro/index.js");var c=n.n(l);var u=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var i=n("./node_modules/react/cjs/react.production.min.js");var d=n("./src/components/uploadImage/index.module.scss");var f=n("./src/use/useUploadImage.ts");var m=n("./src/common/format.js");var p=n("./src/components/popup/index.tsx");var v=n("./src/components/iconfont/iconfont.tsx");var h=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var x=function PictureItem(e){var a=e.onChange,n=e.defaultList,l=e.onlyRead,x=l===void 0?false:l;var j=(0,f["default"])(),g=j.getWxPhoto,b=j.getChatPhoto;var w=(0,i.useState)([]),k=(0,o["default"])(w,2),_=k[0],I=k[1];var C=(0,i.useState)(false),y=(0,o["default"])(C,2),N=y[0],V=y[1];var P=(0,i.useState)([{id:1,name:"手机相册",check:false},{id:2,name:"从微信对话选择",check:false}]),z=(0,o["default"])(P,2),E=z[0],F=z[1];(0,i.useEffect)((function(){I(n||[])}),[n]);var S=function(){var e=(0,s["default"])((0,r["default"])().mark((function _callee(){return(0,r["default"])().wrap((function _callee$(e){while(1)switch(e.prev=e.next){case 0:V(true);case 1:case"end":return e.stop()}}),_callee)})));return function uploadImage(){return e.apply(this,arguments)}}();var T=function(){var e=(0,s["default"])((0,r["default"])().mark((function _callee2(e){var a;var n,s;return(0,r["default"])().wrap((function _callee2$(r){while(1)switch(r.prev=r.next){case 0:if(!(e==1)){r.next=6;break}r.next=3;return g("after-sale",5);case 3:n=r.sent;r.next=9;break;case 6:r.next=8;return b("after-sale",5);case 8:n=r.sent;case 9:s=[];(a=n)===null||a===void 0?void 0:a.forEach((function(e){s.push(e.url)}));I([].concat((0,t["default"])(_),s));V(false);case 13:case"end":return r.stop()}}),_callee2)})));return function handPic(a){return e.apply(this,arguments)}}();var U=function delImage(e){_.splice(e,1);I((function(){return(0,t["default"])(_)}))};(0,i.useEffect)((function(){a===null||a===void 0?void 0:a(_)}),[_]);var A=function showImage(){var e=_===null||_===void 0?void 0:_.map((function(e){return(0,m.formatImgUrl)(e,"!w800")}));c().previewImage({current:e[0],urls:e})};var B=function handItem(e){E.map((function(a){if(e.id==a.id){a.check=true}else{a.check=false}return a}));F((0,t["default"])(E));T(e.id)};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(u.View,{className:d["default"].image_main,children:[_===null||_===void 0?void 0:_.map((function(e,a){return(0,h.jsxs)(u.View,{className:d["default"].ImgItem,children:[(0,h.jsx)(u.Image,{mode:"aspectFill",src:(0,m.formatImgUrl)(e),onClick:A}),!x&&(0,h.jsx)(u.View,{onClick:function onClick(){return U(a)},children:(0,h.jsx)(v["default"],{name:"icon-guanbi",size:30,customClassName:d["default"].miconfont_close,color:"#ffffff"})})]},a)})),!x&&(0,h.jsx)(u.View,{className:d["default"].uploadImg,onClick:S,children:(0,h.jsx)(v["default"],{name:"icon-xinzeng",size:100,color:"#d8d8d8"})})]}),(0,h.jsx)(p["default"],{title:"选择方式",show:N,onClose:function onClose(){return V(false)},isFixed:true,children:(0,h.jsx)(u.View,{className:d["default"].bigBoxThree,children:E.map((function(e,a){return(0,h.jsx)(u.View,{className:d["default"].itemBox,onClick:function onClick(){return B(e)},children:e.name},a)}))})})]})};a["default"]=(0,i.memo)(x)}}]);
@@ -0,0 +1,2 @@
/*! For license information please see f217db728725cf91ed32ed0adbfce384.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/f217db728725cf91ed32ed0adbfce384"],{"./src/common/money.ts":function(r,a){var e=function smallToBig(r){var a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"];var e=["","拾","佰","仟"];var t=["","万","亿","兆"];var s=["角","分","毫","厘"];var v="整";var n="元";var f=1e15;var i="";var u;if(r==""){return""}r=parseFloat(r);if(r>=f){return"超出最大处理数字"}if(r==0){i=a[0]+n+v;return i}r=Math.round(r*100).toString();var o=r.substr(0,r.length-2);var b=r.substr(r.length-2);if(parseInt(o,10)>0){var c=0;var l=o.length;for(var p=0;p<l;p++){var m=o.substr(p,1);var d=l-p-1;var g=d/4;var h=d%4;if(m=="0"){c++}else{if(c>0){i+=a[0]}c=0;i+=a[parseInt(m)]+e[h]}if(h==0&&c<4){i+=t[g]}}i+=n}if(b!=""){var w=b.length;for(var k=0;k<w;k++){var x=b.substr(k,1);if(x!="0"){i+=a[Number(x)]+s[k]}}}if(i==""){i+=a[0]+n+v}else if(b==""||/^0*$/.test(b)){i+=v}return i};a["default"]=e}}]);
+2 -1
View File
File diff suppressed because one or more lines are too long
+99
View File
@@ -0,0 +1,99 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../goods/index.module.scss */
/*! ../goodsItem */
/*! ./components/goods */
/*! ./components/shoppingCart */
/*! ./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/index */
/*! @/api/order */
/*! @/api/search */
/*! @/common/format */
/*! @/common/util */
/*! @/components/Divider */
/*! @/components/LabAndImg */
/*! @/components/dotLoading */
/*! @/components/empty */
/*! @/components/infiniteScroll */
/*! @/components/popup */
/*! @/components/search */
/*! @tarojs/components */
/*! @tarojs/components/virtual-list */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!***************************************!*\
!*** ./src/pages/addFabric/index.tsx ***!
\***************************************/
/*!***********************************************!*\
!*** ./src/pages/addFabric/index.module.scss ***!
\***********************************************/
/*!********************************************************!*\
!*** ./src/pages/addFabric/components/goods/index.tsx ***!
\********************************************************/
/*!**********************************************************!*\
!*** ./node_modules/memoize-one/dist/memoize-one.esm.js ***!
\**********************************************************/
/*!************************************************************!*\
!*** ./src/pages/addFabric/components/goodsItem/index.tsx ***!
\************************************************************/
/*!***************************************************************!*\
!*** ./src/pages/addFabric/components/shoppingCart/index.tsx ***!
\***************************************************************/
/*!****************************************************************!*\
!*** ./src/pages/addFabric/components/goods/index.module.scss ***!
\****************************************************************/
/*!********************************************************************!*\
!*** ./src/pages/addFabric/components/goodsItem/index.module.scss ***!
\********************************************************************/
/*!***********************************************************************!*\
!*** ./src/pages/addFabric/components/shoppingCart/index.module.scss ***!
\***********************************************************************/
/*!************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/addFabric/index.tsx ***!
\************************************************************************************************************/
+1787 -1
View File
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 1be4b3e66c96a34f8258612224f11e2a.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/1be4b3e66c96a34f8258612224f11e2a"],{"./src/api/search.ts":function(t,s,e){e.d(s,{MpProductList:function(){return c}});var u=e("./src/use/useHttp.ts");var c=function MpProductList(){return(0,u.useRequest)({url:"/v2/mp/product/list",method:"get"})}}}]);
+2 -1
View File
@@ -1 +1,2 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5052],{1804:function(e,a,r){var s=r(2180),n=r(1515),t=r(2954),c=r(4384),i=r(5893),p=function AddressManager(){var e=(0,t.useRouter)();return(0,i.jsx)(n.G7,{className:"address-manager",children:(0,i.jsx)(c.Z,{refresherEnabled:!0,purchaser_id:e.params.purchaser_id})})};p.enableShareAppMessage=!0;Page((0,s.createPageConfig)(p,"pages/addressManager/index",{root:{cn:[]}},{navigationBarTitleText:"地址管理",enableShareAppMessage:!0}||{}))}},function(e){e.O(0,[2107,1216,8592],(function(){return a=1804,e(e.s=a);var a}));e.O()}]);
"use strict";require("./sub-common/b5b4d845f319d98d60a16c431432d47b.js");require("./sub-common/de1542834cdc5e25f394b236ca89437d.js");/*! For license information please see index.js.LICENSE.txt */
(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["pages/addressManager/index"],{"./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/addressManager/index.tsx":function(e,a,s){var r=s("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var n=s("./node_modules/@tarojs/taro/index.js");var d=s.n(n);var t=s("./src/components/AddressList/index.tsx");var o=s("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var u=function AddressManager(){var e=(0,n.useRouter)();return(0,o.jsx)(r.View,{className:"address-manager",children:(0,o.jsx)(t["default"],{refresherEnabled:true,purchaser_id:e.params.purchaser_id})})};a["default"]=u},"./src/pages/addressManager/index.tsx":function(e,a,s){var r=s("./node_modules/@tarojs/runtime/dist/runtime.esm.js");var n=s("./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/addressManager/index.tsx");var d={navigationBarTitleText:"地址管理",enableShareAppMessage:true};n["default"].enableShareAppMessage=true;var t=Page((0,r.createPageConfig)(n["default"],"pages/addressManager/index",{root:{cn:[]}},d||{}));var o=n["default"]}},function(e){var __webpack_exec__=function(a){return e(e.s=a)};e.O(0,["sub-common/b5b4d845f319d98d60a16c431432d47b","sub-common/de1542834cdc5e25f394b236ca89437d","sub-common/144232e53a50c7d00e57370d95a6ee8e","taro","vendors","common"],(function(){return __webpack_exec__("./src/pages/addressManager/index.tsx")}));var a=e.O()}]);
+19
View File
@@ -0,0 +1,19 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! @/components/AddressList */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! react/jsx-runtime */
/*!********************************************!*\
!*** ./src/pages/addressManager/index.tsx ***!
\********************************************/
/*!*****************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/addressManager/index.tsx ***!
\*****************************************************************************************************************/
+307 -1
View File
@@ -1 +1,307 @@
.common_safe_area_y{background-color:transparent;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.flex-col{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.flex-row{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.justify-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.justify-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.items-center{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.flex-item{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.full-100{height:100%;width:100%}.color-blue{color:#3287ec}.color-yellow{color:#ff9100}.color-green{color:#00b837}.color-grey{color:#707070}.color-white{color:#fff}.s-w::after{content:"W";font-size:28rpx}.s-e::after{content:"E";font-size:28rpx}.filter{-webkit-filter:blur(1);filter:blur(1)}.address-manager{height:100vh}
@charset "UTF-8";@import "./sub-common/144232e53a50c7d00e57370d95a6ee8e.wxss";/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].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[2].use[4]!./src/pages/addressManager/index.scss ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.common_safe_area_y {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
background-color: transparent;
}
.flex-col {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column nowrap;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
}
.flex-row {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.justify-between {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.justify-center {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.items-center {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.flex-item {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.full-100 {
width: 100%;
height: 100%;
}
.color-blue {
color: #3287EC;
}
.color-yellow {
color: #FF9100;
}
.color-green {
color: #00B837;
}
.color-grey {
color: #707070;
}
.color-white {
color: white;
}
.s-w::after {
content: "W";
font-size: 28rpx;
}
.s-e::after {
content: "E";
font-size: 28rpx;
}
.filter {
-webkit-filter: blur(1);
filter: blur(1);
}
@font-face {
font-family: "iconfont";
/* Project id 3619513 */
src: url(/styles/iconfont.ttf?t=1663556335905) format("truetype");
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-shouhou1:before {
content: "\e641";
}
.icon-cangku1:before {
content: "\e642";
}
.icon-saoma:before {
content: "\e643";
}
.icon-dizhi1:before {
content: "\e644";
}
.icon-huodaofukuan:before {
content: "\e645";
}
.icon-yufukuan1:before {
content: "\e646";
}
.icon-yue:before {
content: "\e647";
}
.icon-zidingyi:before {
content: "\e648";
}
.icon-jinetiaozheng:before {
content: "\e649";
}
.icon-tuikuan1:before {
content: "\e64a";
}
.icon-zhankai:before {
content: "\e63f";
}
.icon-shouqi:before {
content: "\e640";
}
.icon-lujing:before {
content: "\e63e";
}
.icon-jizhumima:before {
content: "\e63c";
}
.icon-a-jizhumima:before {
content: "\e63d";
}
.icon-weixindenglu:before {
content: "\e63b";
}
.icon-kehuxinxi:before {
content: "\e63a";
}
.icon-yewuyuanqizi:before {
content: "\e639";
}
.icon-chakanquanbukehu:before {
content: "\e638";
}
.icon-biyan:before {
content: "\e637";
}
.icon-bianji:before {
content: "\e61e";
}
.icon-daikuan:before {
content: "\e61f";
}
.icon-cangku:before {
content: "\e620";
}
.icon-guanlidingdan:before {
content: "\e621";
}
.icon-mima:before {
content: "\e622";
}
.icon-guanbi:before {
content: "\e623";
}
.icon-jianshao:before {
content: "\e624";
}
.icon-dingwei:before {
content: "\e625";
}
.icon-saomiao:before {
content: "\e626";
}
.icon-peihuo:before {
content: "\e627";
}
.icon-shaixuan:before {
content: "\e628";
}
.icon-paiming:before {
content: "\e629";
}
.icon-shanchusousuoxinxi:before {
content: "\e62a";
}
.icon-shijian:before {
content: "\e62b";
}
.icon-sousuo:before {
content: "\e62c";
}
.icon-shouhou:before {
content: "\e62d";
}
.icon-sousuofanhui:before {
content: "\e62e";
}
.icon-sousuoshanchu:before {
content: "\e62f";
}
.icon-tuikuan:before {
content: "\e630";
}
.icon-tishi:before {
content: "\e631";
}
.icon-xianxiahuizong:before {
content: "\e632";
}
.icon-xinzeng:before {
content: "\e633";
}
.icon-yonghuming:before {
content: "\e634";
}
.icon-yanjing:before {
content: "\e635";
}
.icon-yufukuan:before {
content: "\e636";
}
.icon-wodekefu:before {
content: "\e60c";
}
.icon-dizhi:before {
content: "\e60d";
}
.icon-shouhouzhongxin:before {
content: "\e60e";
}
.icon-wodeshoucang:before {
content: "\e60f";
}
.icon-shoukuanliebiao:before {
content: "\e610";
}
.icon-madanguanli:before {
content: "\e611";
}
.icon-qusechazhao:before {
content: "\e612";
}
.icon-pandiansaoma:before {
content: "\e613";
}
.icon-yaoqingma:before {
content: "\e614";
}
.icon-duizhang:before {
content: "\e615";
}
.icon-tihuoliebiao:before {
content: "\e616";
}
.icon-yangpinduibi:before {
content: "\e617";
}
.icon-yansequyang:before {
content: "\e618";
}
.icon-fahuoliebiao:before {
content: "\e619";
}
.icon-yuncangkucun:before {
content: "\e61a";
}
.icon-xiaoshou:before {
content: "\e61b";
}
.icon-qianzhicangkucun:before {
content: "\e61c";
}
.icon-lingquseka:before {
content: "\e61d";
}
.icon-gouwu1:before {
content: "\e608";
}
.icon-dingdan1:before {
content: "\e609";
}
.icon-gerenzhongxin1:before {
content: "\e60a";
}
.icon-shouye1:before {
content: "\e60b";
}
.icon-gerenzhongxin:before {
content: "\e604";
}
.icon-dingdan:before {
content: "\e605";
}
.icon-shouye:before {
content: "\e606";
}
.icon-gouwu:before {
content: "\e607";
}
.address-manager {
height: 100vh;
}
@@ -0,0 +1,448 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].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[2].use[4]!./src/components/AddressList/index.scss ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.common_safe_area_y {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
background-color: transparent;
}
.flex-col {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column nowrap;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
}
.flex-row {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.justify-between {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.justify-center {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.items-center {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.flex-item {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.full-100 {
width: 100%;
height: 100%;
}
.color-blue {
color: #3287EC;
}
.color-yellow {
color: #FF9100;
}
.color-green {
color: #00B837;
}
.color-grey {
color: #707070;
}
.color-white {
color: white;
}
.s-w::after {
content: "W";
font-size: 28rpx;
}
.s-e::after {
content: "E";
font-size: 28rpx;
}
.filter {
-webkit-filter: blur(1);
filter: blur(1);
}
@font-face {
font-family: "iconfont";
/* Project id 3619513 */
src: url(/styles/iconfont.ttf?t=1663556335905) format("truetype");
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-shouhou1:before {
content: "\e641";
}
.icon-cangku1:before {
content: "\e642";
}
.icon-saoma:before {
content: "\e643";
}
.icon-dizhi1:before {
content: "\e644";
}
.icon-huodaofukuan:before {
content: "\e645";
}
.icon-yufukuan1:before {
content: "\e646";
}
.icon-yue:before {
content: "\e647";
}
.icon-zidingyi:before {
content: "\e648";
}
.icon-jinetiaozheng:before {
content: "\e649";
}
.icon-tuikuan1:before {
content: "\e64a";
}
.icon-zhankai:before {
content: "\e63f";
}
.icon-shouqi:before {
content: "\e640";
}
.icon-lujing:before {
content: "\e63e";
}
.icon-jizhumima:before {
content: "\e63c";
}
.icon-a-jizhumima:before {
content: "\e63d";
}
.icon-weixindenglu:before {
content: "\e63b";
}
.icon-kehuxinxi:before {
content: "\e63a";
}
.icon-yewuyuanqizi:before {
content: "\e639";
}
.icon-chakanquanbukehu:before {
content: "\e638";
}
.icon-biyan:before {
content: "\e637";
}
.icon-bianji:before {
content: "\e61e";
}
.icon-daikuan:before {
content: "\e61f";
}
.icon-cangku:before {
content: "\e620";
}
.icon-guanlidingdan:before {
content: "\e621";
}
.icon-mima:before {
content: "\e622";
}
.icon-guanbi:before {
content: "\e623";
}
.icon-jianshao:before {
content: "\e624";
}
.icon-dingwei:before {
content: "\e625";
}
.icon-saomiao:before {
content: "\e626";
}
.icon-peihuo:before {
content: "\e627";
}
.icon-shaixuan:before {
content: "\e628";
}
.icon-paiming:before {
content: "\e629";
}
.icon-shanchusousuoxinxi:before {
content: "\e62a";
}
.icon-shijian:before {
content: "\e62b";
}
.icon-sousuo:before {
content: "\e62c";
}
.icon-shouhou:before {
content: "\e62d";
}
.icon-sousuofanhui:before {
content: "\e62e";
}
.icon-sousuoshanchu:before {
content: "\e62f";
}
.icon-tuikuan:before {
content: "\e630";
}
.icon-tishi:before {
content: "\e631";
}
.icon-xianxiahuizong:before {
content: "\e632";
}
.icon-xinzeng:before {
content: "\e633";
}
.icon-yonghuming:before {
content: "\e634";
}
.icon-yanjing:before {
content: "\e635";
}
.icon-yufukuan:before {
content: "\e636";
}
.icon-wodekefu:before {
content: "\e60c";
}
.icon-dizhi:before {
content: "\e60d";
}
.icon-shouhouzhongxin:before {
content: "\e60e";
}
.icon-wodeshoucang:before {
content: "\e60f";
}
.icon-shoukuanliebiao:before {
content: "\e610";
}
.icon-madanguanli:before {
content: "\e611";
}
.icon-qusechazhao:before {
content: "\e612";
}
.icon-pandiansaoma:before {
content: "\e613";
}
.icon-yaoqingma:before {
content: "\e614";
}
.icon-duizhang:before {
content: "\e615";
}
.icon-tihuoliebiao:before {
content: "\e616";
}
.icon-yangpinduibi:before {
content: "\e617";
}
.icon-yansequyang:before {
content: "\e618";
}
.icon-fahuoliebiao:before {
content: "\e619";
}
.icon-yuncangkucun:before {
content: "\e61a";
}
.icon-xiaoshou:before {
content: "\e61b";
}
.icon-qianzhicangkucun:before {
content: "\e61c";
}
.icon-lingquseka:before {
content: "\e61d";
}
.icon-gouwu1:before {
content: "\e608";
}
.icon-dingdan1:before {
content: "\e609";
}
.icon-gerenzhongxin1:before {
content: "\e60a";
}
.icon-shouye1:before {
content: "\e60b";
}
.icon-gerenzhongxin:before {
content: "\e604";
}
.icon-dingdan:before {
content: "\e605";
}
.icon-shouye:before {
content: "\e606";
}
.icon-gouwu:before {
content: "\e607";
}
.address-container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.address-scroll-view {
height: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
}
.address-scroll-view scroll-view {
height: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.address-scroll-view .address-scroll-view-content {
padding-bottom: 300rpx;
}
.address-scroll-view .address-list {
background: #ffffff;
border-radius: 20rpx;
padding: 24rpx 30rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 18rpx 24rpx 0;
}
.address-scroll-view .address-active {
border: 1px solid #68b4ff;
}
.address-scroll-view .address-list-last {
margin-bottom: 300rpx;
}
.address-scroll-view .address-user {
font-size: 32rpx;
font-weight: 700;
text-align: left;
color: #000000;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.address-scroll-view .address-list-default {
background: #ffffff;
border-radius: 6rpx;
font-size: 20rpx;
font-weight: 400;
text-align: center;
color: #007aff;
padding: 4rpx 10rpx;
}
.address-scroll-view .address-list-phone {
font-size: 28rpx;
font-weight: 400;
color: #717171;
margin-left: 16rpx;
margin-right: 16rpx;
}
.address-scroll-view .address-edit {
padding: 10rpx;
}
.address-scroll-view .address-edit .icon-bianji {
font-size: 40rpx;
}
.address-scroll-view .address-list-info {
font-size: 28rpx;
font-weight: 400;
color: #000000;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
width: 557rpx;
}
.address-scroll-view .address-list-info view {
max-width: 557rpx;
}
.address-scroll-view .address-list-bottom {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
margin-top: 10rpx;
}
.address-scroll-view .add-address {
width: 668rpx;
height: 82rpx;
background: #007aff;
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
position: absolute;
bottom: 100rpx;
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}
.address-scroll-view .address-no-data {
font-size: 24rpx;
font-weight: 400;
text-align: center;
color: #707070;
height: 100%;
padding-top: 40%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.address-scroll-view .line {
margin-top: 16rpx;
width: 100%;
height: 1px;
background: #000000;
opacity: 0.1;
}
.address-scroll-view .bottom-font {
margin-top: 16rpx;
font-size: 28rpx;
font-weight: 400;
color: #676767;
}
@@ -0,0 +1,2 @@
/*! For license information please see b5b4d845f319d98d60a16c431432d47b.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b5b4d845f319d98d60a16c431432d47b"],{"./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 c},MpPurchaserAddressList:function(){return d},MpPurchaserAddressPut:function(){return a}});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 c=function MpPurchaserAddressGet(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"get"})};var a=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"})}}}]);
File diff suppressed because one or more lines are too long
+2 -1
View File
File diff suppressed because one or more lines are too long
+51
View File
@@ -0,0 +1,51 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./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/order */
/*! @/components/Divider */
/*! @/components/LabAndImg */
/*! @/components/iconfont/iconfont */
/*! @/components/popup */
/*! @/components/saleModeTag */
/*! @/components/uploadImage */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!****************************************!*\
!*** ./src/pages/applyGoods/index.tsx ***!
\****************************************/
/*!************************************************!*\
!*** ./src/pages/applyGoods/index.module.scss ***!
\************************************************/
/*!*************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/applyGoods/index.tsx ***!
\*************************************************************************************************************/
+848 -1
View File
File diff suppressed because one or more lines are too long
@@ -0,0 +1,391 @@
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/uploadImage/index.module.scss ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___RxGYu {
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___oJX6A {
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___EwXBU {
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___gEVlI {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___KnkuE {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___XWwer {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___cqsdj {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___orlN2 {
width: 100%;
height: 100%;
}
.index-module__color-blue___RCmKF {
color: #3287EC;
}
.index-module__color-yellow___VEJVV {
color: #FF9100;
}
.index-module__color-green___Mk_9J {
color: #00B837;
}
.index-module__color-grey___SozQV {
color: #707070;
}
.index-module__color-white___N3DnK {
color: white;
}
.index-module__s-w___L1ksV::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___CSPlj::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___HwQTh {
-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___E93GP {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___HghSN:before {
content: "\e641";
}
.index-module__icon-cangku1___MuKNb:before {
content: "\e642";
}
.index-module__icon-saoma___u1NDi:before {
content: "\e643";
}
.index-module__icon-dizhi1___s7hRB:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___flF9k:before {
content: "\e645";
}
.index-module__icon-yufukuan1___XL_sz:before {
content: "\e646";
}
.index-module__icon-yue___ZKXx6:before {
content: "\e647";
}
.index-module__icon-zidingyi___WzU18:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___lVwcl:before {
content: "\e649";
}
.index-module__icon-tuikuan1___RDyuf:before {
content: "\e64a";
}
.index-module__icon-zhankai___evFZU:before {
content: "\e63f";
}
.index-module__icon-shouqi___OCI0r:before {
content: "\e640";
}
.index-module__icon-lujing___RI4Mw:before {
content: "\e63e";
}
.index-module__icon-jizhumima___h6eGe:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___MTqZt:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___o_8Ox:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___FV_zj:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___ffzOm:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___t5T9h:before {
content: "\e638";
}
.index-module__icon-biyan___LJoEL:before {
content: "\e637";
}
.index-module__icon-bianji___SzpNK:before {
content: "\e61e";
}
.index-module__icon-daikuan___Nzz6U:before {
content: "\e61f";
}
.index-module__icon-cangku___J0lfw:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___sGyXO:before {
content: "\e621";
}
.index-module__icon-mima___Kz1sR:before {
content: "\e622";
}
.index-module__icon-guanbi___SWpzl:before {
content: "\e623";
}
.index-module__icon-jianshao____3pEP:before {
content: "\e624";
}
.index-module__icon-dingwei___h01xo:before {
content: "\e625";
}
.index-module__icon-saomiao___SVPeW:before {
content: "\e626";
}
.index-module__icon-peihuo___xUVHW:before {
content: "\e627";
}
.index-module__icon-shaixuan___wKxd2:before {
content: "\e628";
}
.index-module__icon-paiming___yi4wn:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___Le1Gi:before {
content: "\e62a";
}
.index-module__icon-shijian____uwiY:before {
content: "\e62b";
}
.index-module__icon-sousuo___f2M7w:before {
content: "\e62c";
}
.index-module__icon-shouhou___ZvJeK:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___Aun0d:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___IyeeP:before {
content: "\e62f";
}
.index-module__icon-tuikuan___o6X74:before {
content: "\e630";
}
.index-module__icon-tishi___LQJmC:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___cC9M0:before {
content: "\e632";
}
.index-module__icon-xinzeng___m_gDK:before {
content: "\e633";
}
.index-module__icon-yonghuming___hU3fB:before {
content: "\e634";
}
.index-module__icon-yanjing___g3lmE:before {
content: "\e635";
}
.index-module__icon-yufukuan___JMGBE:before {
content: "\e636";
}
.index-module__icon-wodekefu___gynr9:before {
content: "\e60c";
}
.index-module__icon-dizhi___Pnqk3:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___Wg1xa:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___rNSi4:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___z5SXN:before {
content: "\e610";
}
.index-module__icon-madanguanli___uRb9P:before {
content: "\e611";
}
.index-module__icon-qusechazhao___XeZzz:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___XZegC:before {
content: "\e613";
}
.index-module__icon-yaoqingma___MO0O6:before {
content: "\e614";
}
.index-module__icon-duizhang___Pj6VT:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___yJnEn:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___wYZrO:before {
content: "\e617";
}
.index-module__icon-yansequyang___gtiOk:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___mfSHY:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___V79qi:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___M2etC:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun____cMxN:before {
content: "\e61c";
}
.index-module__icon-lingquseka___O7DLf:before {
content: "\e61d";
}
.index-module__icon-gouwu1___d7v27:before {
content: "\e608";
}
.index-module__icon-dingdan1___QqWnw:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___E6QJf:before {
content: "\e60a";
}
.index-module__icon-shouye1___XZ5jA:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___RLQjj:before {
content: "\e604";
}
.index-module__icon-dingdan___XOcna:before {
content: "\e605";
}
.index-module__icon-shouye___eeJ9f:before {
content: "\e606";
}
.index-module__icon-gouwu___H2ebX:before {
content: "\e607";
}
.index-module__image_main___i8Ggt {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P {
width: 143rpx;
height: 143rpx;
background: #f3f3f3;
border-radius: 8rpx;
margin-top: 20rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
position: relative;
position: relative;
}
.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P .index-module__miconfont___QFFs3 {
color: #d8d8d8;
font-size: 100rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w {
width: 143rpx;
height: 143rpx;
background: #f3f3f3;
border-radius: 8rpx;
margin-right: 20rpx;
margin-top: 20rpx;
position: relative;
border-radius: 10rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w image {
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w .index-module__miconfont_close___B691k {
width: 43rpx;
height: 43rpx;
background-color: #7f7f7f;
border-radius: 50%;
position: absolute;
right: -10rpx;
top: -10rpx;
text-align: center;
line-height: 43rpx;
color: #fff;
font-size: 30rpx;
}
.index-module__bigBoxThree___gMuZD {
width: 100%;
height: 150rpx;
}
.index-module__bigBoxThree___gMuZD .index-module__itemBox___MnBHI {
width: 100%;
height: 88rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
line-height: 88rpx;
font-size: 28rpx;
font-weight: 500;
color: #000000;
border-bottom: 1px solid #f7f7f7;
}
@@ -0,0 +1,2 @@
/*! For license information please see 20cc30ab415e801d225979ccaf9e37b1.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/20cc30ab415e801d225979ccaf9e37b1"],{"./src/use/useUploadImage.ts":function(e,t,n){var a=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var r=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var s=n("./node_modules/@tarojs/taro/index.js");var c=n.n(s);var o=n("./src/common/constant.ts");var i=n("./src/api/cdn.ts");t["default"]=function(){var e=(0,i.GetSignApi)(),t=e.fetchData;var n=function getSecret(e,n){return new Promise(function(){var n=(0,r["default"])((0,a["default"])().mark((function _callee(n,r){var s,c,o;return(0,a["default"])().wrap((function _callee$(a){while(1)switch(a.prev=a.next){case 0:s="/".concat(e,"/{filemd5}{day}{hour}{min}{sec}{.suffix}");c={method:"post",save_key:s};a.next=4;return t(c);case 4:o=a.sent;if(o.success){n(o.data)}else{r({code:o.code||"9999",msg:o.msg})}case 6:case"end":return a.stop()}}),_callee)})));return function(e,t){return n.apply(this,arguments)}}())};var s=function getFileType(e){if(!e){return false}var t=["gif","jpeg","jpg","bmp","png"];var n=["avi","wmv","mkv","mp4","mov","rm","3gp","flv","mpg","rmvb","quicktime"];if(RegExp(".?(".concat(t.join("|"),")$"),"i").test(e.toLowerCase())){return"image"}else if(RegExp(".(".concat(n.join("|"),")$"),"i").test(e.toLowerCase())){return"video"}else{return false}};var u=function uploadCDNImg(e,t,a){var r=e.path;console.log("filetype::",r);if(!s(r)){c().showToast({title:"上传文件类型错误",icon:"none",duration:3800});return false}return new Promise((function(r,s){n(t,a).then((function(t){var n=t;console.log("bucket",n.bucket);var a={authorization:n.authorization,policy:n.policy};var i=c().uploadFile({url:"".concat(o.UPLOAD_CDN_URL).concat(n.bucket),formData:a,filePath:e.path,name:"file",success:function success(e){r(JSON.parse("".concat(e.data)))},fail:function fail(e){console.log(e);s(e)}});i.progress((function(e){console.log("上传进度",e.progress);if(e.progress<100){c().showLoading({title:"上传中..."})}else{c().hideLoading()}}))})).catch((function(e){s(e);c().showToast({title:"获取密钥失败!",icon:"none",duration:3800})}))}))};var l=function getWxPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee2(){var r,i,l;return(0,a["default"])().wrap((function _callee2$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee2,null,[[0,20]])})))()}})}))};var f=function getChatPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseMessageFile({count:t,type:"image",success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee3(){var r,i,l;return(0,a["default"])().wrap((function _callee3$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee3,null,[[0,20]])})))()}})}))};return{uploadCDNImg:u,getWxPhoto:l,getChatPhoto:f}}}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 81bf4410dad05a23085bf259ded3a03d.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/81bf4410dad05a23085bf259ded3a03d"],{"./src/api/cdn.ts":function(t,e,n){n.d(e,{GetSignApi:function(){return u}});var s=n("./src/use/useHttp.ts");var u=function GetSignApi(){return(0,s.useRequest)({url:"/v2/mp/cdn/token",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see 9dddeab3cc4cc45012061a55a40ed398.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/9dddeab3cc4cc45012061a55a40ed398"],{"./src/components/saleModeTag/index.tsx":function(e,s,t){var a=t("./src/components/tag/index.tsx");var c=t("./src/common/Enumerate/index.ts");var l=t("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var u=function SaleModeTag(e){var s=e.saleMode,t=e.size,u=t===void 0?"small":t,o=e.customClassName,n=e.customStyle;return(0,l.jsxs)(l.Fragment,{children:[s===c.EnumSaleMode.Bulk&&(0,l.jsx)(a["default"],{circle:true,type:"bulk",size:u,customClassName:o,customStyle:n,children:"大货"}),s===c.EnumSaleMode.Plate&&(0,l.jsx)(a["default"],{circle:true,type:"plate",size:u,customClassName:o,customStyle:n,children:"剪板"}),s===c.EnumSaleMode.BulkCut&&(0,l.jsx)(a["default"],{circle:true,type:"bulkCut",size:u,customClassName:o,customStyle:n,children:"散剪"})]})};s["default"]=u}}]);
@@ -0,0 +1,2 @@
/*! For license information please see d595a9ddb1b2df773c9a07b73581bb4f.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/d595a9ddb1b2df773c9a07b73581bb4f"],{"./src/components/uploadImage/index.tsx":function(e,a,n){var t=n("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");var r=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var s=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var l=n("./node_modules/@tarojs/taro/index.js");var c=n.n(l);var u=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var i=n("./node_modules/react/cjs/react.production.min.js");var d=n("./src/components/uploadImage/index.module.scss");var f=n("./src/use/useUploadImage.ts");var m=n("./src/common/format.js");var p=n("./src/components/popup/index.tsx");var v=n("./src/components/iconfont/iconfont.tsx");var h=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var x=function PictureItem(e){var a=e.onChange,n=e.defaultList,l=e.onlyRead,x=l===void 0?false:l;var j=(0,f["default"])(),g=j.getWxPhoto,b=j.getChatPhoto;var w=(0,i.useState)([]),k=(0,o["default"])(w,2),_=k[0],I=k[1];var C=(0,i.useState)(false),y=(0,o["default"])(C,2),N=y[0],V=y[1];var P=(0,i.useState)([{id:1,name:"手机相册",check:false},{id:2,name:"从微信对话选择",check:false}]),z=(0,o["default"])(P,2),E=z[0],F=z[1];(0,i.useEffect)((function(){I(n||[])}),[n]);var S=function(){var e=(0,s["default"])((0,r["default"])().mark((function _callee(){return(0,r["default"])().wrap((function _callee$(e){while(1)switch(e.prev=e.next){case 0:V(true);case 1:case"end":return e.stop()}}),_callee)})));return function uploadImage(){return e.apply(this,arguments)}}();var T=function(){var e=(0,s["default"])((0,r["default"])().mark((function _callee2(e){var a;var n,s;return(0,r["default"])().wrap((function _callee2$(r){while(1)switch(r.prev=r.next){case 0:if(!(e==1)){r.next=6;break}r.next=3;return g("after-sale",5);case 3:n=r.sent;r.next=9;break;case 6:r.next=8;return b("after-sale",5);case 8:n=r.sent;case 9:s=[];(a=n)===null||a===void 0?void 0:a.forEach((function(e){s.push(e.url)}));I([].concat((0,t["default"])(_),s));V(false);case 13:case"end":return r.stop()}}),_callee2)})));return function handPic(a){return e.apply(this,arguments)}}();var U=function delImage(e){_.splice(e,1);I((function(){return(0,t["default"])(_)}))};(0,i.useEffect)((function(){a===null||a===void 0?void 0:a(_)}),[_]);var A=function showImage(){var e=_===null||_===void 0?void 0:_.map((function(e){return(0,m.formatImgUrl)(e,"!w800")}));c().previewImage({current:e[0],urls:e})};var B=function handItem(e){E.map((function(a){if(e.id==a.id){a.check=true}else{a.check=false}return a}));F((0,t["default"])(E));T(e.id)};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(u.View,{className:d["default"].image_main,children:[_===null||_===void 0?void 0:_.map((function(e,a){return(0,h.jsxs)(u.View,{className:d["default"].ImgItem,children:[(0,h.jsx)(u.Image,{mode:"aspectFill",src:(0,m.formatImgUrl)(e),onClick:A}),!x&&(0,h.jsx)(u.View,{onClick:function onClick(){return U(a)},children:(0,h.jsx)(v["default"],{name:"icon-guanbi",size:30,customClassName:d["default"].miconfont_close,color:"#ffffff"})})]},a)})),!x&&(0,h.jsx)(u.View,{className:d["default"].uploadImg,onClick:S,children:(0,h.jsx)(v["default"],{name:"icon-xinzeng",size:100,color:"#d8d8d8"})})]}),(0,h.jsx)(p["default"],{title:"选择方式",show:N,onClose:function onClose(){return V(false)},isFixed:true,children:(0,h.jsx)(u.View,{className:d["default"].bigBoxThree,children:E.map((function(e,a){return(0,h.jsx)(u.View,{className:d["default"].itemBox,onClick:function onClick(){return B(e)},children:e.name},a)}))})})]})};a["default"]=(0,i.memo)(x)}}]);
+2 -1
View File
File diff suppressed because one or more lines are too long
+41
View File
@@ -0,0 +1,41 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./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/order */
/*! @/components/popup */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!****************************************!*\
!*** ./src/pages/applyMoney/index.tsx ***!
\****************************************/
/*!************************************************!*\
!*** ./src/pages/applyMoney/index.module.scss ***!
\************************************************/
/*!*************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/applyMoney/index.tsx ***!
\*************************************************************************************************************/
+850 -1
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
File diff suppressed because one or more lines are too long
+25
View File
@@ -0,0 +1,25 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./index.module.scss */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! react */
/*! react/jsx-runtime */
/*!******************************************!*\
!*** ./src/pages/clauseDetail/index.tsx ***!
\******************************************/
/*!**************************************************!*\
!*** ./src/pages/clauseDetail/index.module.scss ***!
\**************************************************/
/*!***************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/clauseDetail/index.tsx ***!
\***************************************************************************************************************/
+307 -1
View File
@@ -1 +1,307 @@
.index-module__common_safe_area_y___sW7IX{background-color:transparent;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__flex-col___JA0b1{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___kPKJm{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___tpZif{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.index-module__justify-center___sSvZm{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.index-module__items-center___Ar7DQ{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.index-module__flex-item___EemBJ{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__full-100___bep5h{height:100%;width:100%}.index-module__color-blue___h3nVW{color:#3287ec}.index-module__color-yellow___NUy8m{color:#ff9100}.index-module__color-green___LUmqZ{color:#00b837}.index-module__color-grey___eFI6H{color:#707070}.index-module__color-white___yUxaD{color:#fff}.index-module__s-w___SM9X5::after{content:"W";font-size:28rpx}.index-module__s-e___pREZ6::after{content:"E";font-size:28rpx}.index-module__filter___BSUFw{-webkit-filter:blur(1);filter:blur(1)}.index-module__main___FWMk4{padding:0 20rpx 50rpx}
@charset "UTF-8";/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/clauseDetail/index.module.scss ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.index-module__common_safe_area_y___sW7IX {
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___JA0b1 {
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___kPKJm {
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___tpZif {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___sSvZm {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___Ar7DQ {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___EemBJ {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___bep5h {
width: 100%;
height: 100%;
}
.index-module__color-blue___h3nVW {
color: #3287EC;
}
.index-module__color-yellow___NUy8m {
color: #FF9100;
}
.index-module__color-green___LUmqZ {
color: #00B837;
}
.index-module__color-grey___eFI6H {
color: #707070;
}
.index-module__color-white___yUxaD {
color: white;
}
.index-module__s-w___SM9X5::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___pREZ6::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___BSUFw {
-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___eVdLz {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___uy9hA:before {
content: "\e641";
}
.index-module__icon-cangku1___mTltD:before {
content: "\e642";
}
.index-module__icon-saoma___m4_E4:before {
content: "\e643";
}
.index-module__icon-dizhi1___TWmFg:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___YwNwA:before {
content: "\e645";
}
.index-module__icon-yufukuan1___oDGuX:before {
content: "\e646";
}
.index-module__icon-yue___Y6Q00:before {
content: "\e647";
}
.index-module__icon-zidingyi___yFZGY:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___FxjSL:before {
content: "\e649";
}
.index-module__icon-tuikuan1___ZPWyO:before {
content: "\e64a";
}
.index-module__icon-zhankai___SOqZF:before {
content: "\e63f";
}
.index-module__icon-shouqi___xeGV_:before {
content: "\e640";
}
.index-module__icon-lujing___admzi:before {
content: "\e63e";
}
.index-module__icon-jizhumima___I4DoQ:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___drzfQ:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___OiwoH:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___e1ZCQ:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___J_Z4Q:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___pnyp9:before {
content: "\e638";
}
.index-module__icon-biyan___sd4cQ:before {
content: "\e637";
}
.index-module__icon-bianji___bl5ZI:before {
content: "\e61e";
}
.index-module__icon-daikuan___uQg5Q:before {
content: "\e61f";
}
.index-module__icon-cangku___H5mBn:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___KJC3g:before {
content: "\e621";
}
.index-module__icon-mima___CrnUL:before {
content: "\e622";
}
.index-module__icon-guanbi___GvVe0:before {
content: "\e623";
}
.index-module__icon-jianshao___warPL:before {
content: "\e624";
}
.index-module__icon-dingwei___C2Oia:before {
content: "\e625";
}
.index-module__icon-saomiao___EZpX2:before {
content: "\e626";
}
.index-module__icon-peihuo___lAxCt:before {
content: "\e627";
}
.index-module__icon-shaixuan___vwAvn:before {
content: "\e628";
}
.index-module__icon-paiming___y5uB6:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___G7Q_6:before {
content: "\e62a";
}
.index-module__icon-shijian___WswgN:before {
content: "\e62b";
}
.index-module__icon-sousuo___u_yUF:before {
content: "\e62c";
}
.index-module__icon-shouhou___Nl7rL:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___cPMF_:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___rm4V7:before {
content: "\e62f";
}
.index-module__icon-tuikuan___GD3MX:before {
content: "\e630";
}
.index-module__icon-tishi___EDQLI:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___GF2wg:before {
content: "\e632";
}
.index-module__icon-xinzeng___VEwVM:before {
content: "\e633";
}
.index-module__icon-yonghuming___S3sgM:before {
content: "\e634";
}
.index-module__icon-yanjing___WD1KC:before {
content: "\e635";
}
.index-module__icon-yufukuan____QN82:before {
content: "\e636";
}
.index-module__icon-wodekefu___O445m:before {
content: "\e60c";
}
.index-module__icon-dizhi___zRtIz:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___fnQDK:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___dP0Rn:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___TUaEC:before {
content: "\e610";
}
.index-module__icon-madanguanli___oSJO2:before {
content: "\e611";
}
.index-module__icon-qusechazhao___HysUT:before {
content: "\e612";
}
.index-module__icon-pandiansaoma____xvTK:before {
content: "\e613";
}
.index-module__icon-yaoqingma___x5k2R:before {
content: "\e614";
}
.index-module__icon-duizhang____gYy3:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___X6sp3:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___y6VaK:before {
content: "\e617";
}
.index-module__icon-yansequyang___o8VfT:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___OPyr0:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___GVL0F:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___l5enH:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___ErVsA:before {
content: "\e61c";
}
.index-module__icon-lingquseka___WI50V:before {
content: "\e61d";
}
.index-module__icon-gouwu1___zO_Po:before {
content: "\e608";
}
.index-module__icon-dingdan1___SuBIg:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___EqnnM:before {
content: "\e60a";
}
.index-module__icon-shouye1___CP31r:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin____ABLS:before {
content: "\e604";
}
.index-module__icon-dingdan___Gc70G:before {
content: "\e605";
}
.index-module__icon-shouye___BX9zO:before {
content: "\e606";
}
.index-module__icon-gouwu___YNcYq:before {
content: "\e607";
}
.index-module__main___FWMk4 {
padding: 0 20rpx 50rpx 20rpx;
}
File diff suppressed because one or more lines are too long
+51
View File
@@ -0,0 +1,51 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./components/form */
/*! ./index.module.scss */
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
/*! ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js */
/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! @/api/newCollection */
/*! @/common/format */
/*! @/common/money */
/*! @/components/iconfont/iconfont */
/*! @/components/uploadImage */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! react */
/*! react/jsx-runtime */
/*!**********************************************!*\
!*** ./src/pages/collectionDetail/index.tsx ***!
\**********************************************/
/*!******************************************************!*\
!*** ./src/pages/collectionDetail/index.module.scss ***!
\******************************************************/
/*!**************************************************************!*\
!*** ./src/pages/collectionDetail/components/form/index.tsx ***!
\**************************************************************/
/*!**********************************************************************!*\
!*** ./src/pages/collectionDetail/components/form/index.module.scss ***!
\**********************************************************************/
/*!*******************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/collectionDetail/index.tsx ***!
\*******************************************************************************************************************/
File diff suppressed because one or more lines are too long
@@ -0,0 +1,391 @@
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/uploadImage/index.module.scss ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___RxGYu {
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___oJX6A {
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___EwXBU {
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___gEVlI {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___KnkuE {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___XWwer {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___cqsdj {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___orlN2 {
width: 100%;
height: 100%;
}
.index-module__color-blue___RCmKF {
color: #3287EC;
}
.index-module__color-yellow___VEJVV {
color: #FF9100;
}
.index-module__color-green___Mk_9J {
color: #00B837;
}
.index-module__color-grey___SozQV {
color: #707070;
}
.index-module__color-white___N3DnK {
color: white;
}
.index-module__s-w___L1ksV::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___CSPlj::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___HwQTh {
-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___E93GP {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___HghSN:before {
content: "\e641";
}
.index-module__icon-cangku1___MuKNb:before {
content: "\e642";
}
.index-module__icon-saoma___u1NDi:before {
content: "\e643";
}
.index-module__icon-dizhi1___s7hRB:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___flF9k:before {
content: "\e645";
}
.index-module__icon-yufukuan1___XL_sz:before {
content: "\e646";
}
.index-module__icon-yue___ZKXx6:before {
content: "\e647";
}
.index-module__icon-zidingyi___WzU18:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___lVwcl:before {
content: "\e649";
}
.index-module__icon-tuikuan1___RDyuf:before {
content: "\e64a";
}
.index-module__icon-zhankai___evFZU:before {
content: "\e63f";
}
.index-module__icon-shouqi___OCI0r:before {
content: "\e640";
}
.index-module__icon-lujing___RI4Mw:before {
content: "\e63e";
}
.index-module__icon-jizhumima___h6eGe:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___MTqZt:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___o_8Ox:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___FV_zj:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___ffzOm:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___t5T9h:before {
content: "\e638";
}
.index-module__icon-biyan___LJoEL:before {
content: "\e637";
}
.index-module__icon-bianji___SzpNK:before {
content: "\e61e";
}
.index-module__icon-daikuan___Nzz6U:before {
content: "\e61f";
}
.index-module__icon-cangku___J0lfw:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___sGyXO:before {
content: "\e621";
}
.index-module__icon-mima___Kz1sR:before {
content: "\e622";
}
.index-module__icon-guanbi___SWpzl:before {
content: "\e623";
}
.index-module__icon-jianshao____3pEP:before {
content: "\e624";
}
.index-module__icon-dingwei___h01xo:before {
content: "\e625";
}
.index-module__icon-saomiao___SVPeW:before {
content: "\e626";
}
.index-module__icon-peihuo___xUVHW:before {
content: "\e627";
}
.index-module__icon-shaixuan___wKxd2:before {
content: "\e628";
}
.index-module__icon-paiming___yi4wn:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___Le1Gi:before {
content: "\e62a";
}
.index-module__icon-shijian____uwiY:before {
content: "\e62b";
}
.index-module__icon-sousuo___f2M7w:before {
content: "\e62c";
}
.index-module__icon-shouhou___ZvJeK:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___Aun0d:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___IyeeP:before {
content: "\e62f";
}
.index-module__icon-tuikuan___o6X74:before {
content: "\e630";
}
.index-module__icon-tishi___LQJmC:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___cC9M0:before {
content: "\e632";
}
.index-module__icon-xinzeng___m_gDK:before {
content: "\e633";
}
.index-module__icon-yonghuming___hU3fB:before {
content: "\e634";
}
.index-module__icon-yanjing___g3lmE:before {
content: "\e635";
}
.index-module__icon-yufukuan___JMGBE:before {
content: "\e636";
}
.index-module__icon-wodekefu___gynr9:before {
content: "\e60c";
}
.index-module__icon-dizhi___Pnqk3:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___Wg1xa:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___rNSi4:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___z5SXN:before {
content: "\e610";
}
.index-module__icon-madanguanli___uRb9P:before {
content: "\e611";
}
.index-module__icon-qusechazhao___XeZzz:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___XZegC:before {
content: "\e613";
}
.index-module__icon-yaoqingma___MO0O6:before {
content: "\e614";
}
.index-module__icon-duizhang___Pj6VT:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___yJnEn:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___wYZrO:before {
content: "\e617";
}
.index-module__icon-yansequyang___gtiOk:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___mfSHY:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___V79qi:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___M2etC:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun____cMxN:before {
content: "\e61c";
}
.index-module__icon-lingquseka___O7DLf:before {
content: "\e61d";
}
.index-module__icon-gouwu1___d7v27:before {
content: "\e608";
}
.index-module__icon-dingdan1___QqWnw:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___E6QJf:before {
content: "\e60a";
}
.index-module__icon-shouye1___XZ5jA:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___RLQjj:before {
content: "\e604";
}
.index-module__icon-dingdan___XOcna:before {
content: "\e605";
}
.index-module__icon-shouye___eeJ9f:before {
content: "\e606";
}
.index-module__icon-gouwu___H2ebX:before {
content: "\e607";
}
.index-module__image_main___i8Ggt {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P {
width: 143rpx;
height: 143rpx;
background: #f3f3f3;
border-radius: 8rpx;
margin-top: 20rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
position: relative;
position: relative;
}
.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P .index-module__miconfont___QFFs3 {
color: #d8d8d8;
font-size: 100rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w {
width: 143rpx;
height: 143rpx;
background: #f3f3f3;
border-radius: 8rpx;
margin-right: 20rpx;
margin-top: 20rpx;
position: relative;
border-radius: 10rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w image {
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.index-module__image_main___i8Ggt .index-module__ImgItem___at70w .index-module__miconfont_close___B691k {
width: 43rpx;
height: 43rpx;
background-color: #7f7f7f;
border-radius: 50%;
position: absolute;
right: -10rpx;
top: -10rpx;
text-align: center;
line-height: 43rpx;
color: #fff;
font-size: 30rpx;
}
.index-module__bigBoxThree___gMuZD {
width: 100%;
height: 150rpx;
}
.index-module__bigBoxThree___gMuZD .index-module__itemBox___MnBHI {
width: 100%;
height: 88rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
line-height: 88rpx;
font-size: 28rpx;
font-weight: 500;
color: #000000;
border-bottom: 1px solid #f7f7f7;
}
@@ -0,0 +1,2 @@
/*! For license information please see 20cc30ab415e801d225979ccaf9e37b1.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/20cc30ab415e801d225979ccaf9e37b1"],{"./src/use/useUploadImage.ts":function(e,t,n){var a=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var r=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var s=n("./node_modules/@tarojs/taro/index.js");var c=n.n(s);var o=n("./src/common/constant.ts");var i=n("./src/api/cdn.ts");t["default"]=function(){var e=(0,i.GetSignApi)(),t=e.fetchData;var n=function getSecret(e,n){return new Promise(function(){var n=(0,r["default"])((0,a["default"])().mark((function _callee(n,r){var s,c,o;return(0,a["default"])().wrap((function _callee$(a){while(1)switch(a.prev=a.next){case 0:s="/".concat(e,"/{filemd5}{day}{hour}{min}{sec}{.suffix}");c={method:"post",save_key:s};a.next=4;return t(c);case 4:o=a.sent;if(o.success){n(o.data)}else{r({code:o.code||"9999",msg:o.msg})}case 6:case"end":return a.stop()}}),_callee)})));return function(e,t){return n.apply(this,arguments)}}())};var s=function getFileType(e){if(!e){return false}var t=["gif","jpeg","jpg","bmp","png"];var n=["avi","wmv","mkv","mp4","mov","rm","3gp","flv","mpg","rmvb","quicktime"];if(RegExp(".?(".concat(t.join("|"),")$"),"i").test(e.toLowerCase())){return"image"}else if(RegExp(".(".concat(n.join("|"),")$"),"i").test(e.toLowerCase())){return"video"}else{return false}};var u=function uploadCDNImg(e,t,a){var r=e.path;console.log("filetype::",r);if(!s(r)){c().showToast({title:"上传文件类型错误",icon:"none",duration:3800});return false}return new Promise((function(r,s){n(t,a).then((function(t){var n=t;console.log("bucket",n.bucket);var a={authorization:n.authorization,policy:n.policy};var i=c().uploadFile({url:"".concat(o.UPLOAD_CDN_URL).concat(n.bucket),formData:a,filePath:e.path,name:"file",success:function success(e){r(JSON.parse("".concat(e.data)))},fail:function fail(e){console.log(e);s(e)}});i.progress((function(e){console.log("上传进度",e.progress);if(e.progress<100){c().showLoading({title:"上传中..."})}else{c().hideLoading()}}))})).catch((function(e){s(e);c().showToast({title:"获取密钥失败!",icon:"none",duration:3800})}))}))};var l=function getWxPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee2(){var r,i,l;return(0,a["default"])().wrap((function _callee2$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee2,null,[[0,20]])})))()}})}))};var f=function getChatPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseMessageFile({count:t,type:"image",success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee3(){var r,i,l;return(0,a["default"])().wrap((function _callee3$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee3,null,[[0,20]])})))()}})}))};return{uploadCDNImg:u,getWxPhoto:l,getChatPhoto:f}}}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 81bf4410dad05a23085bf259ded3a03d.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/81bf4410dad05a23085bf259ded3a03d"],{"./src/api/cdn.ts":function(t,e,n){n.d(e,{GetSignApi:function(){return u}});var s=n("./src/use/useHttp.ts");var u=function GetSignApi(){return(0,s.useRequest)({url:"/v2/mp/cdn/token",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see afc3d5d6b81e10acfabb5dead9c04685.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/afc3d5d6b81e10acfabb5dead9c04685"],{"./src/api/newCollection.ts":function(e,r,t){t.d(r,{MpCashManagementOrder:function(){return u},MpCashManagementOrderAccount:function(){return s},MpCashManagementOrderList:function(){return a},MpCashManagementOrderPost:function(){return c},MpShouldCollectOrderPurchaser:function(){return o}});var n=t("./src/use/useHttp.ts");var a=function MpCashManagementOrderList(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder/list",method:"get"})};var u=function MpCashManagementOrder(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder",method:"get"})};var s=function MpCashManagementOrderAccount(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder/account",method:"get"})};var c=function MpCashManagementOrderPost(){return(0,n.useRequest)({url:"/v2/mp/cashManagementOrder",method:"post"})};var o=function MpShouldCollectOrderPurchaser(){return(0,n.useRequest)({url:"/v2/mp/shouldCollectOrder/purchaser",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see d595a9ddb1b2df773c9a07b73581bb4f.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/d595a9ddb1b2df773c9a07b73581bb4f"],{"./src/components/uploadImage/index.tsx":function(e,a,n){var t=n("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");var r=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var s=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var l=n("./node_modules/@tarojs/taro/index.js");var c=n.n(l);var u=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var i=n("./node_modules/react/cjs/react.production.min.js");var d=n("./src/components/uploadImage/index.module.scss");var f=n("./src/use/useUploadImage.ts");var m=n("./src/common/format.js");var p=n("./src/components/popup/index.tsx");var v=n("./src/components/iconfont/iconfont.tsx");var h=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var x=function PictureItem(e){var a=e.onChange,n=e.defaultList,l=e.onlyRead,x=l===void 0?false:l;var j=(0,f["default"])(),g=j.getWxPhoto,b=j.getChatPhoto;var w=(0,i.useState)([]),k=(0,o["default"])(w,2),_=k[0],I=k[1];var C=(0,i.useState)(false),y=(0,o["default"])(C,2),N=y[0],V=y[1];var P=(0,i.useState)([{id:1,name:"手机相册",check:false},{id:2,name:"从微信对话选择",check:false}]),z=(0,o["default"])(P,2),E=z[0],F=z[1];(0,i.useEffect)((function(){I(n||[])}),[n]);var S=function(){var e=(0,s["default"])((0,r["default"])().mark((function _callee(){return(0,r["default"])().wrap((function _callee$(e){while(1)switch(e.prev=e.next){case 0:V(true);case 1:case"end":return e.stop()}}),_callee)})));return function uploadImage(){return e.apply(this,arguments)}}();var T=function(){var e=(0,s["default"])((0,r["default"])().mark((function _callee2(e){var a;var n,s;return(0,r["default"])().wrap((function _callee2$(r){while(1)switch(r.prev=r.next){case 0:if(!(e==1)){r.next=6;break}r.next=3;return g("after-sale",5);case 3:n=r.sent;r.next=9;break;case 6:r.next=8;return b("after-sale",5);case 8:n=r.sent;case 9:s=[];(a=n)===null||a===void 0?void 0:a.forEach((function(e){s.push(e.url)}));I([].concat((0,t["default"])(_),s));V(false);case 13:case"end":return r.stop()}}),_callee2)})));return function handPic(a){return e.apply(this,arguments)}}();var U=function delImage(e){_.splice(e,1);I((function(){return(0,t["default"])(_)}))};(0,i.useEffect)((function(){a===null||a===void 0?void 0:a(_)}),[_]);var A=function showImage(){var e=_===null||_===void 0?void 0:_.map((function(e){return(0,m.formatImgUrl)(e,"!w800")}));c().previewImage({current:e[0],urls:e})};var B=function handItem(e){E.map((function(a){if(e.id==a.id){a.check=true}else{a.check=false}return a}));F((0,t["default"])(E));T(e.id)};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(u.View,{className:d["default"].image_main,children:[_===null||_===void 0?void 0:_.map((function(e,a){return(0,h.jsxs)(u.View,{className:d["default"].ImgItem,children:[(0,h.jsx)(u.Image,{mode:"aspectFill",src:(0,m.formatImgUrl)(e),onClick:A}),!x&&(0,h.jsx)(u.View,{onClick:function onClick(){return U(a)},children:(0,h.jsx)(v["default"],{name:"icon-guanbi",size:30,customClassName:d["default"].miconfont_close,color:"#ffffff"})})]},a)})),!x&&(0,h.jsx)(u.View,{className:d["default"].uploadImg,onClick:S,children:(0,h.jsx)(v["default"],{name:"icon-xinzeng",size:100,color:"#d8d8d8"})})]}),(0,h.jsx)(p["default"],{title:"选择方式",show:N,onClose:function onClose(){return V(false)},isFixed:true,children:(0,h.jsx)(u.View,{className:d["default"].bigBoxThree,children:E.map((function(e,a){return(0,h.jsx)(u.View,{className:d["default"].itemBox,onClick:function onClick(){return B(e)},children:e.name},a)}))})})]})};a["default"]=(0,i.memo)(x)}}]);
@@ -0,0 +1,2 @@
/*! For license information please see f217db728725cf91ed32ed0adbfce384.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/f217db728725cf91ed32ed0adbfce384"],{"./src/common/money.ts":function(r,a){var e=function smallToBig(r){var a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"];var e=["","拾","佰","仟"];var t=["","万","亿","兆"];var s=["角","分","毫","厘"];var v="整";var n="元";var f=1e15;var i="";var u;if(r==""){return""}r=parseFloat(r);if(r>=f){return"超出最大处理数字"}if(r==0){i=a[0]+n+v;return i}r=Math.round(r*100).toString();var o=r.substr(0,r.length-2);var b=r.substr(r.length-2);if(parseInt(o,10)>0){var c=0;var l=o.length;for(var p=0;p<l;p++){var m=o.substr(p,1);var d=l-p-1;var g=d/4;var h=d%4;if(m=="0"){c++}else{if(c>0){i+=a[0]}c=0;i+=a[parseInt(m)]+e[h]}if(h==0&&c<4){i+=t[g]}}i+=n}if(b!=""){var w=b.length;for(var k=0;k<w;k++){var x=b.substr(k,1);if(x!="0"){i+=a[Number(x)]+s[k]}}}if(i==""){i+=a[0]+n+v}else if(b==""||/^0*$/.test(b)){i+=v}return i};a["default"]=e}}]);
File diff suppressed because one or more lines are too long
+95
View File
@@ -0,0 +1,95 @@
/*! ../../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../DrawerCenter */
/*! ../components/bluetooth/LinkBlueTooth */
/*! ./components/HistoryColor */
/*! ./components/LabColor */
/*! ./components/RecommendColor */
/*! ./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 */
/*! @/api/index */
/*! @/common/bluetooth/color/colorSpace */
/*! @/common/format */
/*! @/common/util */
/*! @/components/loading */
/*! @/components/popup */
/*! @/components/selectProduct */
/*! @/use/contextBlueTooth */
/*! @/use/useCommon */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!****************************************************!*\
!*** ./src/pages/colorRelated/findColor/index.tsx ***!
\****************************************************/
/*!************************************************************!*\
!*** ./src/pages/colorRelated/findColor/index.module.scss ***!
\************************************************************/
/*!************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/LabColor/index.tsx ***!
\************************************************************************/
/*!****************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/DrawerCenter/index.tsx ***!
\****************************************************************************/
/*!****************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/HistoryColor/index.tsx ***!
\****************************************************************************/
/*!******************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/RecommendColor/index.tsx ***!
\******************************************************************************/
/*!********************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/LabColor/index.module.scss ***!
\********************************************************************************/
/*!************************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/DrawerCenter/index.module.scss ***!
\************************************************************************************/
/*!************************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/HistoryColor/index.module.scss ***!
\************************************************************************************/
/*!**************************************************************************************!*\
!*** ./src/pages/colorRelated/findColor/components/RecommendColor/index.module.scss ***!
\**************************************************************************************/
/*!*************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/colorRelated/findColor/index.tsx ***!
\*************************************************************************************************************************/
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,47 @@
/*! ../../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../components/bluetooth/LinkBlueTooth */
/*! ./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 */
/*! @/api/index */
/*! @/common/bluetooth/color/colorSpace */
/*! @/common/common */
/*! @/use/contextBlueTooth */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/shared */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!***********************************************************!*\
!*** ./src/pages/colorRelated/sampleComparison/index.tsx ***!
\***********************************************************/
/*!*******************************************************************!*\
!*** ./src/pages/colorRelated/sampleComparison/index.module.scss ***!
\*******************************************************************/
/*!********************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/colorRelated/sampleComparison/index.tsx ***!
\********************************************************************************************************************************/
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 20cc30ab415e801d225979ccaf9e37b1.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/20cc30ab415e801d225979ccaf9e37b1"],{"./src/use/useUploadImage.ts":function(e,t,n){var a=n("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");var r=n("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");var s=n("./node_modules/@tarojs/taro/index.js");var c=n.n(s);var o=n("./src/common/constant.ts");var i=n("./src/api/cdn.ts");t["default"]=function(){var e=(0,i.GetSignApi)(),t=e.fetchData;var n=function getSecret(e,n){return new Promise(function(){var n=(0,r["default"])((0,a["default"])().mark((function _callee(n,r){var s,c,o;return(0,a["default"])().wrap((function _callee$(a){while(1)switch(a.prev=a.next){case 0:s="/".concat(e,"/{filemd5}{day}{hour}{min}{sec}{.suffix}");c={method:"post",save_key:s};a.next=4;return t(c);case 4:o=a.sent;if(o.success){n(o.data)}else{r({code:o.code||"9999",msg:o.msg})}case 6:case"end":return a.stop()}}),_callee)})));return function(e,t){return n.apply(this,arguments)}}())};var s=function getFileType(e){if(!e){return false}var t=["gif","jpeg","jpg","bmp","png"];var n=["avi","wmv","mkv","mp4","mov","rm","3gp","flv","mpg","rmvb","quicktime"];if(RegExp(".?(".concat(t.join("|"),")$"),"i").test(e.toLowerCase())){return"image"}else if(RegExp(".(".concat(n.join("|"),")$"),"i").test(e.toLowerCase())){return"video"}else{return false}};var u=function uploadCDNImg(e,t,a){var r=e.path;console.log("filetype::",r);if(!s(r)){c().showToast({title:"上传文件类型错误",icon:"none",duration:3800});return false}return new Promise((function(r,s){n(t,a).then((function(t){var n=t;console.log("bucket",n.bucket);var a={authorization:n.authorization,policy:n.policy};var i=c().uploadFile({url:"".concat(o.UPLOAD_CDN_URL).concat(n.bucket),formData:a,filePath:e.path,name:"file",success:function success(e){r(JSON.parse("".concat(e.data)))},fail:function fail(e){console.log(e);s(e)}});i.progress((function(e){console.log("上传进度",e.progress);if(e.progress<100){c().showLoading({title:"上传中..."})}else{c().hideLoading()}}))})).catch((function(e){s(e);c().showToast({title:"获取密钥失败!",icon:"none",duration:3800})}))}))};var l=function getWxPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee2(){var r,i,l;return(0,a["default"])().wrap((function _callee2$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee2,null,[[0,20]])})))()}})}))};var f=function getChatPhoto(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;return new Promise((function(n,s){var o=[];c().chooseMessageFile({count:t,type:"image",success:function success(c){return(0,r["default"])((0,a["default"])().mark((function _callee3(){var r,i,l;return(0,a["default"])().wrap((function _callee3$(a){while(1)switch(a.prev=a.next){case 0:a.prev=0;if(!(t>1)){a.next=14;break}r=0;case 3:if(!(r<c.tempFiles.length)){a.next=11;break}a.next=6;return u(c.tempFiles[r],e,e);case 6:i=a.sent;o.push(i);case 8:r++;a.next=3;break;case 11:n(o);a.next=18;break;case 14:a.next=16;return u(c.tempFiles[0],e,e);case 16:l=a.sent;n(l);case 18:a.next=23;break;case 20:a.prev=20;a.t0=a["catch"](0);s(a.t0);case 23:case"end":return a.stop()}}),_callee3,null,[[0,20]])})))()}})}))};return{uploadCDNImg:u,getWxPhoto:l,getChatPhoto:f}}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see 81bf4410dad05a23085bf259ded3a03d.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/81bf4410dad05a23085bf259ded3a03d"],{"./src/api/cdn.ts":function(t,e,n){n.d(e,{GetSignApi:function(){return u}});var s=n("./src/use/useHttp.ts");var u=function GetSignApi(){return(0,s.useRequest)({url:"/v2/mp/cdn/token",method:"get"})}}}]);
File diff suppressed because one or more lines are too long
+107
View File
@@ -0,0 +1,107 @@
/*! ../InputX */
/*! ../css/linkBlueTooth.module.scss */
/*! ../css/popup.module.scss */
/*! ../iconfont/iconfont */
/*! ../popup */
/*! ../search */
/*! ../searchInput */
/*! ./Popup */
/*! ./colorDiff */
/*! ./index.module.scss */
/*! ./lab */
/*! ./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 */
/*! ./rgb */
/*! ./xyz */
/*! @/api/index */
/*! @/common/format */
/*! @/components/loading */
/*! @/components/searchInput */
/*! @/use/contextBlueTooth */
/*! @tarojs/components */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!*******************************************!*\
!*** ./src/common/bluetooth/color/lab.js ***!
\*******************************************/
/*!*******************************************!*\
!*** ./src/common/bluetooth/color/rgb.js ***!
\*******************************************/
/*!*******************************************!*\
!*** ./src/common/bluetooth/color/xyz.js ***!
\*******************************************/
/*!**********************************************!*\
!*** ./src/components/searchInput/index.tsx ***!
\**********************************************/
/*!************************************************!*\
!*** ./src/components/selectProduct/index.tsx ***!
\************************************************/
/*!*************************************************!*\
!*** ./src/common/bluetooth/color/colorDiff.js ***!
\*************************************************/
/*!**************************************************!*\
!*** ./src/common/bluetooth/color/colorSpace.js ***!
\**************************************************/
/*!******************************************************!*\
!*** ./src/components/searchInput/index.module.scss ***!
\******************************************************/
/*!********************************************************!*\
!*** ./src/components/selectProduct/index.module.scss ***!
\********************************************************/
/*!***************************************************************!*\
!*** ./src/pages/colorRelated/components/bluetooth/Popup.tsx ***!
\***************************************************************/
/*!*****************************************************************!*\
!*** ./src/pages/colorRelated/components/css/popup.module.scss ***!
\*****************************************************************/
/*!***********************************************************************!*\
!*** ./src/pages/colorRelated/components/bluetooth/LinkBlueTooth.tsx ***!
\***********************************************************************/
/*!*************************************************************************!*\
!*** ./src/pages/colorRelated/components/css/linkBlueTooth.module.scss ***!
\*************************************************************************/
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+87
View File
@@ -0,0 +1,87 @@
/*! ../../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../Upload */
/*! ../components/bluetooth/LinkBlueTooth */
/*! ./components/ColorCard */
/*! ./components/Texture */
/*! ./index.module.scss */
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */
/*! ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js */
/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! @/api/index */
/*! @/common/bluetooth/color/colorSpace */
/*! @/common/common */
/*! @/common/format */
/*! @/components/iconfont/iconfont */
/*! @/components/popup */
/*! @/components/selectProduct/index */
/*! @/use/contextBlueTooth */
/*! @/use/useUploadImage */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! dayjs */
/*! react */
/*! react/jsx-runtime */
/*!****************************************************!*\
!*** ./src/pages/colorRelated/takeColor/index.tsx ***!
\****************************************************/
/*!************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/index.module.scss ***!
\************************************************************/
/*!**********************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/components/Upload/index.tsx ***!
\**********************************************************************/
/*!***********************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/components/Texture/index.tsx ***!
\***********************************************************************/
/*!*************************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/components/ColorCard/index.tsx ***!
\*************************************************************************/
/*!******************************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/components/Upload/index.module.scss ***!
\******************************************************************************/
/*!*******************************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/components/Texture/index.module.scss ***!
\*******************************************************************************/
/*!*********************************************************************************!*\
!*** ./src/pages/colorRelated/takeColor/components/ColorCard/index.module.scss ***!
\*********************************************************************************/
/*!*************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/colorRelated/takeColor/index.tsx ***!
\*************************************************************************************************************************/
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+79
View File
@@ -0,0 +1,79 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./components/form */
/*! ./components/tabs */
/*! ./components/tagPopup */
/*! ./index.module.scss */
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.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/customer */
/*! @/common/common */
/*! @/common/format */
/*! @/components/AddressList */
/*! @/components/normalButton */
/*! @/components/popup */
/*! @/components/tag */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!*********************************************!*\
!*** ./src/pages/customerDetails/index.tsx ***!
\*********************************************/
/*!*****************************************************!*\
!*** ./src/pages/customerDetails/index.module.scss ***!
\*****************************************************/
/*!*************************************************************!*\
!*** ./src/pages/customerDetails/components/form/index.tsx ***!
\*************************************************************/
/*!*************************************************************!*\
!*** ./src/pages/customerDetails/components/tabs/index.tsx ***!
\*************************************************************/
/*!*****************************************************************!*\
!*** ./src/pages/customerDetails/components/tagPopup/index.tsx ***!
\*****************************************************************/
/*!*********************************************************************!*\
!*** ./src/pages/customerDetails/components/form/index.module.scss ***!
\*********************************************************************/
/*!*********************************************************************!*\
!*** ./src/pages/customerDetails/components/tabs/index.module.scss ***!
\*********************************************************************/
/*!*************************************************************************!*\
!*** ./src/pages/customerDetails/components/tagPopup/index.module.scss ***!
\*************************************************************************/
/*!******************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/customerDetails/index.tsx ***!
\******************************************************************************************************************/
+1576 -1
View File
File diff suppressed because one or more lines are too long
@@ -0,0 +1,448 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].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[2].use[4]!./src/components/AddressList/index.scss ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.common_safe_area_y {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
background-color: transparent;
}
.flex-col {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: column nowrap;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
}
.flex-row {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.justify-between {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.justify-center {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.items-center {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.flex-item {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.full-100 {
width: 100%;
height: 100%;
}
.color-blue {
color: #3287EC;
}
.color-yellow {
color: #FF9100;
}
.color-green {
color: #00B837;
}
.color-grey {
color: #707070;
}
.color-white {
color: white;
}
.s-w::after {
content: "W";
font-size: 28rpx;
}
.s-e::after {
content: "E";
font-size: 28rpx;
}
.filter {
-webkit-filter: blur(1);
filter: blur(1);
}
@font-face {
font-family: "iconfont";
/* Project id 3619513 */
src: url(/styles/iconfont.ttf?t=1663556335905) format("truetype");
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-shouhou1:before {
content: "\e641";
}
.icon-cangku1:before {
content: "\e642";
}
.icon-saoma:before {
content: "\e643";
}
.icon-dizhi1:before {
content: "\e644";
}
.icon-huodaofukuan:before {
content: "\e645";
}
.icon-yufukuan1:before {
content: "\e646";
}
.icon-yue:before {
content: "\e647";
}
.icon-zidingyi:before {
content: "\e648";
}
.icon-jinetiaozheng:before {
content: "\e649";
}
.icon-tuikuan1:before {
content: "\e64a";
}
.icon-zhankai:before {
content: "\e63f";
}
.icon-shouqi:before {
content: "\e640";
}
.icon-lujing:before {
content: "\e63e";
}
.icon-jizhumima:before {
content: "\e63c";
}
.icon-a-jizhumima:before {
content: "\e63d";
}
.icon-weixindenglu:before {
content: "\e63b";
}
.icon-kehuxinxi:before {
content: "\e63a";
}
.icon-yewuyuanqizi:before {
content: "\e639";
}
.icon-chakanquanbukehu:before {
content: "\e638";
}
.icon-biyan:before {
content: "\e637";
}
.icon-bianji:before {
content: "\e61e";
}
.icon-daikuan:before {
content: "\e61f";
}
.icon-cangku:before {
content: "\e620";
}
.icon-guanlidingdan:before {
content: "\e621";
}
.icon-mima:before {
content: "\e622";
}
.icon-guanbi:before {
content: "\e623";
}
.icon-jianshao:before {
content: "\e624";
}
.icon-dingwei:before {
content: "\e625";
}
.icon-saomiao:before {
content: "\e626";
}
.icon-peihuo:before {
content: "\e627";
}
.icon-shaixuan:before {
content: "\e628";
}
.icon-paiming:before {
content: "\e629";
}
.icon-shanchusousuoxinxi:before {
content: "\e62a";
}
.icon-shijian:before {
content: "\e62b";
}
.icon-sousuo:before {
content: "\e62c";
}
.icon-shouhou:before {
content: "\e62d";
}
.icon-sousuofanhui:before {
content: "\e62e";
}
.icon-sousuoshanchu:before {
content: "\e62f";
}
.icon-tuikuan:before {
content: "\e630";
}
.icon-tishi:before {
content: "\e631";
}
.icon-xianxiahuizong:before {
content: "\e632";
}
.icon-xinzeng:before {
content: "\e633";
}
.icon-yonghuming:before {
content: "\e634";
}
.icon-yanjing:before {
content: "\e635";
}
.icon-yufukuan:before {
content: "\e636";
}
.icon-wodekefu:before {
content: "\e60c";
}
.icon-dizhi:before {
content: "\e60d";
}
.icon-shouhouzhongxin:before {
content: "\e60e";
}
.icon-wodeshoucang:before {
content: "\e60f";
}
.icon-shoukuanliebiao:before {
content: "\e610";
}
.icon-madanguanli:before {
content: "\e611";
}
.icon-qusechazhao:before {
content: "\e612";
}
.icon-pandiansaoma:before {
content: "\e613";
}
.icon-yaoqingma:before {
content: "\e614";
}
.icon-duizhang:before {
content: "\e615";
}
.icon-tihuoliebiao:before {
content: "\e616";
}
.icon-yangpinduibi:before {
content: "\e617";
}
.icon-yansequyang:before {
content: "\e618";
}
.icon-fahuoliebiao:before {
content: "\e619";
}
.icon-yuncangkucun:before {
content: "\e61a";
}
.icon-xiaoshou:before {
content: "\e61b";
}
.icon-qianzhicangkucun:before {
content: "\e61c";
}
.icon-lingquseka:before {
content: "\e61d";
}
.icon-gouwu1:before {
content: "\e608";
}
.icon-dingdan1:before {
content: "\e609";
}
.icon-gerenzhongxin1:before {
content: "\e60a";
}
.icon-shouye1:before {
content: "\e60b";
}
.icon-gerenzhongxin:before {
content: "\e604";
}
.icon-dingdan:before {
content: "\e605";
}
.icon-shouye:before {
content: "\e606";
}
.icon-gouwu:before {
content: "\e607";
}
.address-container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.address-scroll-view {
height: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
}
.address-scroll-view scroll-view {
height: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.address-scroll-view .address-scroll-view-content {
padding-bottom: 300rpx;
}
.address-scroll-view .address-list {
background: #ffffff;
border-radius: 20rpx;
padding: 24rpx 30rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 18rpx 24rpx 0;
}
.address-scroll-view .address-active {
border: 1px solid #68b4ff;
}
.address-scroll-view .address-list-last {
margin-bottom: 300rpx;
}
.address-scroll-view .address-user {
font-size: 32rpx;
font-weight: 700;
text-align: left;
color: #000000;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.address-scroll-view .address-list-default {
background: #ffffff;
border-radius: 6rpx;
font-size: 20rpx;
font-weight: 400;
text-align: center;
color: #007aff;
padding: 4rpx 10rpx;
}
.address-scroll-view .address-list-phone {
font-size: 28rpx;
font-weight: 400;
color: #717171;
margin-left: 16rpx;
margin-right: 16rpx;
}
.address-scroll-view .address-edit {
padding: 10rpx;
}
.address-scroll-view .address-edit .icon-bianji {
font-size: 40rpx;
}
.address-scroll-view .address-list-info {
font-size: 28rpx;
font-weight: 400;
color: #000000;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
width: 557rpx;
}
.address-scroll-view .address-list-info view {
max-width: 557rpx;
}
.address-scroll-view .address-list-bottom {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
margin-top: 10rpx;
}
.address-scroll-view .add-address {
width: 668rpx;
height: 82rpx;
background: #007aff;
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
position: absolute;
bottom: 100rpx;
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}
.address-scroll-view .address-no-data {
font-size: 24rpx;
font-weight: 400;
text-align: center;
color: #707070;
height: 100%;
padding-top: 40%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.address-scroll-view .line {
margin-top: 16rpx;
width: 100%;
height: 1px;
background: #000000;
opacity: 0.1;
}
.address-scroll-view .bottom-font {
margin-top: 16rpx;
font-size: 28rpx;
font-weight: 400;
color: #676767;
}
@@ -0,0 +1,2 @@
/*! For license information please see 568fd34d3b2cd1435fd3699e5df45654.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/568fd34d3b2cd1435fd3699e5df45654"],{"./src/api/customer.ts":function(r,u,e){e.d(u,{EnumSourcePlatform:function(){return p},MpPurchaser:function(){return s},MpPurchaserLabelAdd:function(){return a},MpPurchaserList:function(){return o},MpPurchaserPost:function(){return n},MpPurchaserPut:function(){return c}});var t=e("./src/use/useHttp.ts");var s=function MpPurchaser(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"get"})};var n=function MpPurchaserPost(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"post"})};var c=function MpPurchaserPut(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"put"})};var o=function MpPurchaserList(){return(0,t.useRequest)({url:"/v2/mp/purchaser/label/list",method:"get"})};var a=function MpPurchaserLabelAdd(){return(0,t.useRequest)({url:"/v2/mp/purchaser/label/add",method:"post"})};var p=function EnumSourcePlatform(){return(0,t.useRequest)({url:"/v1/mp/enum/sourcePlatform",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see b5b4d845f319d98d60a16c431432d47b.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b5b4d845f319d98d60a16c431432d47b"],{"./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 c},MpPurchaserAddressList:function(){return d},MpPurchaserAddressPut:function(){return a}});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 c=function MpPurchaserAddressGet(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"get"})};var a=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"})}}}]);
File diff suppressed because one or more lines are too long
+2 -1
View File
File diff suppressed because one or more lines are too long
+59
View File
@@ -0,0 +1,59 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../orderDetails/components/remark */
/*! ./components/Form */
/*! ./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/customer */
/*! @/common/common */
/*! @/components/address */
/*! @/components/iconfont/iconfont */
/*! @/components/popup */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!********************************************!*\
!*** ./src/pages/customerEditor/index.tsx ***!
\********************************************/
/*!****************************************************!*\
!*** ./src/pages/customerEditor/index.module.scss ***!
\****************************************************/
/*!************************************************************!*\
!*** ./src/pages/customerEditor/components/Form/index.tsx ***!
\************************************************************/
/*!********************************************************************!*\
!*** ./src/pages/customerEditor/components/Form/index.module.scss ***!
\********************************************************************/
/*!*****************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/customerEditor/index.tsx ***!
\*****************************************************************************************************************/
+860 -1
View File
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 04efec6c327a5b7979399f92322cf9d0.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/04efec6c327a5b7979399f92322cf9d0"],{"./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 c=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 i=function Remark(e){var a=e.onBlur,n=e.onSave,i=e.defaultValue,m=i===void 0?"":i,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 w=function setSave(){n===null||n===void 0?void 0:n(x.value)};(0,t.useEffect)((function(){_(m)}),[m]);var b=function onClickTag(e){h((function(a){return(0,u["default"])((0,u["default"])({},a),{},{value:a.value+e.value})}))};return(0,c.jsxs)(l.View,{className:o["default"].order_popup,children:[(0,c.jsx)(l.View,{className:o["default"].order_popup_title,children:"编辑备注"}),(0,c.jsxs)(l.View,{className:o["default"].order_popup_input,children:[(0,c.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,c.jsxs)(l.View,{className:o["default"].descDataNum,children:[x.number,"/",x.count]})]}),p?(0,c.jsxs)(l.View,{children:[(0,c.jsx)(l.View,{className:o["default"].recommend_remark,children:"推荐备注"}),(0,c.jsx)(l.View,{className:o["default"].recommend_remark_content,children:d.map((function(e){return(0,c.jsx)(s["default"],{type:"info",plain:true,onClick:function onClick(){return b(e)},circle:true,customClassName:o["default"].tag,children:e.value},e.id)}))})]}):null,(0,c.jsx)(l.View,{className:o["default"].order_save_address,onClick:function onClick(){return w()},children:"保存"})]})};a["default"]=i}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 568fd34d3b2cd1435fd3699e5df45654.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/568fd34d3b2cd1435fd3699e5df45654"],{"./src/api/customer.ts":function(r,u,e){e.d(u,{EnumSourcePlatform:function(){return p},MpPurchaser:function(){return s},MpPurchaserLabelAdd:function(){return a},MpPurchaserList:function(){return o},MpPurchaserPost:function(){return n},MpPurchaserPut:function(){return c}});var t=e("./src/use/useHttp.ts");var s=function MpPurchaser(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"get"})};var n=function MpPurchaserPost(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"post"})};var c=function MpPurchaserPut(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"put"})};var o=function MpPurchaserList(){return(0,t.useRequest)({url:"/v2/mp/purchaser/label/list",method:"get"})};var a=function MpPurchaserLabelAdd(){return(0,t.useRequest)({url:"/v2/mp/purchaser/label/add",method:"post"})};var p=function EnumSourcePlatform(){return(0,t.useRequest)({url:"/v1/mp/enum/sourcePlatform",method:"get"})}}}]);
@@ -0,0 +1,373 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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;
}
@@ -0,0 +1,2 @@
/*! For license information please see b5b4d845f319d98d60a16c431432d47b.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b5b4d845f319d98d60a16c431432d47b"],{"./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 c},MpPurchaserAddressList:function(){return d},MpPurchaserAddressPut:function(){return a}});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 c=function MpPurchaserAddressGet(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"get"})};var a=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"})}}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,402 @@
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/address/index.module.scss ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___x4eYy {
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___WfAVR {
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___E72HL {
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___BX5jv {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___LWVHx {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___b7YfS {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___qWIe6 {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___UTe8u {
width: 100%;
height: 100%;
}
.index-module__color-blue___KlcQP {
color: #3287EC;
}
.index-module__color-yellow___BbR9i {
color: #FF9100;
}
.index-module__color-green___HIJKc {
color: #00B837;
}
.index-module__color-grey___vmmoc {
color: #707070;
}
.index-module__color-white___rLQP_ {
color: white;
}
.index-module__s-w___QSVgb::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___fDGe6::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___p2qM3 {
-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___kFGsG {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___ZW63S:before {
content: "\e641";
}
.index-module__icon-cangku1___VK0NJ:before {
content: "\e642";
}
.index-module__icon-saoma___KVcY3:before {
content: "\e643";
}
.index-module__icon-dizhi1___cGqZr:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___ncjnu:before {
content: "\e645";
}
.index-module__icon-yufukuan1___aLk8Q:before {
content: "\e646";
}
.index-module__icon-yue___OGK28:before {
content: "\e647";
}
.index-module__icon-zidingyi___SGcu2:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___jcHyI:before {
content: "\e649";
}
.index-module__icon-tuikuan1___x3CZP:before {
content: "\e64a";
}
.index-module__icon-zhankai___EK54W:before {
content: "\e63f";
}
.index-module__icon-shouqi___MmTsa:before {
content: "\e640";
}
.index-module__icon-lujing___PkxDi:before {
content: "\e63e";
}
.index-module__icon-jizhumima___gDf4b:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___BR7jP:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___GDXJs:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___tuVwf:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___gbPfz:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___W0tco:before {
content: "\e638";
}
.index-module__icon-biyan___P6j_M:before {
content: "\e637";
}
.index-module__icon-bianji___OT8MF:before {
content: "\e61e";
}
.index-module__icon-daikuan___VyTWB:before {
content: "\e61f";
}
.index-module__icon-cangku___PXvRo:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___e_gz4:before {
content: "\e621";
}
.index-module__icon-mima___Jdu6y:before {
content: "\e622";
}
.index-module__icon-guanbi___dHWHc:before {
content: "\e623";
}
.index-module__icon-jianshao___lrLTI:before {
content: "\e624";
}
.index-module__icon-dingwei___Rj7OP:before {
content: "\e625";
}
.index-module__icon-saomiao___NRREq:before {
content: "\e626";
}
.index-module__icon-peihuo___jDXYn:before {
content: "\e627";
}
.index-module__icon-shaixuan___zI205:before {
content: "\e628";
}
.index-module__icon-paiming___Iuzup:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___T_E8K:before {
content: "\e62a";
}
.index-module__icon-shijian___LqsmH:before {
content: "\e62b";
}
.index-module__icon-sousuo___wbVUl:before {
content: "\e62c";
}
.index-module__icon-shouhou___aEx2J:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___c9lEh:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___KBFk6:before {
content: "\e62f";
}
.index-module__icon-tuikuan___NBbL9:before {
content: "\e630";
}
.index-module__icon-tishi___fb542:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___mPne0:before {
content: "\e632";
}
.index-module__icon-xinzeng___y1u6N:before {
content: "\e633";
}
.index-module__icon-yonghuming___VZU8V:before {
content: "\e634";
}
.index-module__icon-yanjing____YtP8:before {
content: "\e635";
}
.index-module__icon-yufukuan___mnuxU:before {
content: "\e636";
}
.index-module__icon-wodekefu___tsfhO:before {
content: "\e60c";
}
.index-module__icon-dizhi___X0Lqf:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___kTNys:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___hWv6u:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___bGvZt:before {
content: "\e610";
}
.index-module__icon-madanguanli___XSYmJ:before {
content: "\e611";
}
.index-module__icon-qusechazhao___C7E1Z:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___H7XGo:before {
content: "\e613";
}
.index-module__icon-yaoqingma___eHvfV:before {
content: "\e614";
}
.index-module__icon-duizhang___Srn9D:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___xHCr1:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___v4kjD:before {
content: "\e617";
}
.index-module__icon-yansequyang___hnjZP:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___M3J7w:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___r3zFX:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___GTrH8:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___u0sKA:before {
content: "\e61c";
}
.index-module__icon-lingquseka___XU8MW:before {
content: "\e61d";
}
.index-module__icon-gouwu1___aUbDD:before {
content: "\e608";
}
.index-module__icon-dingdan1___z5IJb:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___wrQpN:before {
content: "\e60a";
}
.index-module__icon-shouye1___XOGK4:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin____Tu9Z:before {
content: "\e604";
}
.index-module__icon-dingdan___poXar:before {
content: "\e605";
}
.index-module__icon-shouye___bqov9:before {
content: "\e606";
}
.index-module__icon-gouwu___cafM7:before {
content: "\e607";
}
.index-module__address_main___huJxL {
width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
}
.index-module__address_main___huJxL .index-module__sure___VHAtN {
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #337FFF;
position: absolute;
top: 35rpx;
right: 40rpx;
}
.index-module__address_main___huJxL .index-module__address_title___nnKsa {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 28rpx;
padding: 20rpx;
padding-bottom: 0;
}
.index-module__address_main___huJxL .index-module__address_select___l33As {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding: 30rpx 0;
margin-top: 10rpx;
font-size: 24rpx;
border-bottom: 1px solid #eaeaea;
color: #337fff;
position: relative;
}
.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__address_item___mchDV {
padding: 0 20rpx;
max-width: 200rpx;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__bottom_index___J8o7V {
width: 88rpx;
height: 6rpx;
background: #337FFF;
border-radius: 3rpx;
position: absolute;
bottom: 0;
left: 0;
-webkit-transition: left 0.1s;
-o-transition: left 0.1s;
transition: left 0.1s;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA {
height: 600rpx;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q {
padding: 0 20rpx;
font-size: 28rpx;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG {
padding: 20rpx 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
border-bottom: 1px solid #f5f5f5;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG .index-module__address_list_item_name___TBOMb {
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG .index-module__address_iconfont___T4GZp {
font-size: 30rpx !important;
color: #4581ff;
}
.index-module__address_main___huJxL .index-module__addresst_select___hviCA {
color: #337fff;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+111
View File
@@ -0,0 +1,111 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ../tabs */
/*! ./components/ChoseCity */
/*! ./components/ItemList */
/*! ./components/Sort */
/*! ./components/Tag */
/*! ./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/customer */
/*! @/api/order */
/*! @/common/common */
/*! @/common/format */
/*! @/common/util */
/*! @/components/SelectGroup */
/*! @/components/dropDown-item */
/*! @/components/iconfont/iconfont */
/*! @/components/infiniteScroll */
/*! @/components/search */
/*! @/components/tag */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! classnames */
/*! react */
/*! react/jsx-runtime */
/*!************************************************!*\
!*** ./src/pages/customerManagement/index.tsx ***!
\************************************************/
/*!********************************************************!*\
!*** ./src/pages/customerManagement/index.module.scss ***!
\********************************************************/
/*!***************************************************************!*\
!*** ./src/pages/customerManagement/components/Tag/index.tsx ***!
\***************************************************************/
/*!****************************************************************!*\
!*** ./src/pages/customerManagement/components/Sort/index.tsx ***!
\****************************************************************/
/*!****************************************************************!*\
!*** ./src/pages/customerManagement/components/tabs/index.tsx ***!
\****************************************************************/
/*!********************************************************************!*\
!*** ./src/pages/customerManagement/components/ItemList/index.tsx ***!
\********************************************************************/
/*!*********************************************************************!*\
!*** ./src/pages/customerManagement/components/ChoseCity/index.tsx ***!
\*********************************************************************/
/*!***********************************************************************!*\
!*** ./src/pages/customerManagement/components/Tag/index.module.scss ***!
\***********************************************************************/
/*!************************************************************************!*\
!*** ./src/pages/customerManagement/components/Sort/index.module.scss ***!
\************************************************************************/
/*!************************************************************************!*\
!*** ./src/pages/customerManagement/components/tabs/index.module.scss ***!
\************************************************************************/
/*!****************************************************************************!*\
!*** ./src/pages/customerManagement/components/ItemList/index.module.scss ***!
\****************************************************************************/
/*!*****************************************************************************!*\
!*** ./src/pages/customerManagement/components/ChoseCity/index.module.scss ***!
\*****************************************************************************/
/*!*********************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/customerManagement/index.tsx ***!
\*********************************************************************************************************************/
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see 568fd34d3b2cd1435fd3699e5df45654.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/568fd34d3b2cd1435fd3699e5df45654"],{"./src/api/customer.ts":function(r,u,e){e.d(u,{EnumSourcePlatform:function(){return p},MpPurchaser:function(){return s},MpPurchaserLabelAdd:function(){return a},MpPurchaserList:function(){return o},MpPurchaserPost:function(){return n},MpPurchaserPut:function(){return c}});var t=e("./src/use/useHttp.ts");var s=function MpPurchaser(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"get"})};var n=function MpPurchaserPost(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"post"})};var c=function MpPurchaserPut(){return(0,t.useRequest)({url:"/v2/mp/purchaser",method:"put"})};var o=function MpPurchaserList(){return(0,t.useRequest)({url:"/v2/mp/purchaser/label/list",method:"get"})};var a=function MpPurchaserLabelAdd(){return(0,t.useRequest)({url:"/v2/mp/purchaser/label/add",method:"post"})};var p=function EnumSourcePlatform(){return(0,t.useRequest)({url:"/v1/mp/enum/sourcePlatform",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see 585b86c0e879b089461dc1dc8c0a9b5e.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/585b86c0e879b089461dc1dc8c0a9b5e"],{"./src/components/cell/index.tsx":function(e,s,c){var n=c("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var a=c("./node_modules/classnames/index.js");var l=c.n(a);var o=c("./node_modules/react/cjs/react.production.min.js");var t=c("./src/components/iconfont/iconfont.tsx");var i=c("./src/components/cell/index.module.scss");var r=c("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var d=function Cell(e){var s=e.title,c=e.desc,a=e.isLink,d=a===void 0?false:a,u=e.customClassName,m=e.customTitleClassName,x=e.customStyle,j=e.onClick,f=e.iconName,p=e.customDescClassName;var v=function handleClick(){j===null||j===void 0?void 0:j()};var h=(0,o.useMemo)((function(){return(0,r.jsxs)(n.View,{className:l()(i["default"].cell,u),style:x,onClick:v,children:[(0,r.jsxs)(n.View,{className:l()(i["default"].title,m),children:[f&&(0,r.jsx)(t["default"],{name:f,size:46}),(0,r.jsx)(n.View,{children:s})]}),(0,r.jsxs)(n.View,{className:i["default"].desc,children:[(0,r.jsx)(n.View,{className:l()(i["default"].descText,p),children:c}),d&&(0,r.jsx)(t["default"],{name:"icon-chakanquanbukehu",size:46,color:"inherit"})]})]})}),[s,c,v,x]);return(0,r.jsx)(r.Fragment,{children:h})};s["default"]=d}}]);
@@ -0,0 +1,2 @@
/*! For license information please see 739e0fcc0a0871622bc99604227a1320.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/739e0fcc0a0871622bc99604227a1320"],{"./src/components/SelectGroup/index.tsx":function(n,e,r){var o=r("./node_modules/react/cjs/react.production.min.js");var c=r("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var t=function SelectGroup(n){var e=n.children;function handleChange(n,e){return function(r){e.props.onChange(r);n.forEach((function(n){var e;(e=n.ref)===null||e===void 0?void 0:e.current.closePopup()}))}}function handleCloseOverlay(n){return function(){n.forEach((function(n){var e;(e=n.ref)===null||e===void 0?void 0:e.current.closePopup()}))}}var r=function renderChildren(){return o.Children.map(e,(function(n){var r=n;return o.cloneElement(r,{onChange:handleChange(e,r),onCloseOverlay:handleCloseOverlay(e)})}))};return(0,c.jsx)(c.Fragment,{children:r()})};e["default"]=t}}]);
@@ -0,0 +1,355 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/cell/index.module.scss ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___Hy8CD {
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___TkYWF {
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___mYw8h {
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___gfGdc {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___vS2tI {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center___l6w_X {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___i0ViP {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___cUILc {
width: 100%;
height: 100%;
}
.index-module__color-blue___JC4PN {
color: #3287EC;
}
.index-module__color-yellow___JPBA4 {
color: #FF9100;
}
.index-module__color-green___FMDQC {
color: #00B837;
}
.index-module__color-grey___RtLS4 {
color: #707070;
}
.index-module__color-white___OEzYy {
color: white;
}
.index-module__s-w___Rjo7B::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___i1abF::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___xXltc {
-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___gz8F3 {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___sbM_d:before {
content: "\e641";
}
.index-module__icon-cangku1___Az7JW:before {
content: "\e642";
}
.index-module__icon-saoma___wyMQf:before {
content: "\e643";
}
.index-module__icon-dizhi1___MTCf1:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___AHEAM:before {
content: "\e645";
}
.index-module__icon-yufukuan1___K1vfT:before {
content: "\e646";
}
.index-module__icon-yue___DzYxj:before {
content: "\e647";
}
.index-module__icon-zidingyi___VZMz4:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___N7pzB:before {
content: "\e649";
}
.index-module__icon-tuikuan1___Hg1JB:before {
content: "\e64a";
}
.index-module__icon-zhankai___tgDTm:before {
content: "\e63f";
}
.index-module__icon-shouqi___pKyAG:before {
content: "\e640";
}
.index-module__icon-lujing___NfRcB:before {
content: "\e63e";
}
.index-module__icon-jizhumima___HA72n:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___NCnH1:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___uy9S7:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___Bp434:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___Dnp5Y:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___ICvTR:before {
content: "\e638";
}
.index-module__icon-biyan___z5162:before {
content: "\e637";
}
.index-module__icon-bianji___xjPoV:before {
content: "\e61e";
}
.index-module__icon-daikuan___dSHuf:before {
content: "\e61f";
}
.index-module__icon-cangku___R8Kyh:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___Y4XIZ:before {
content: "\e621";
}
.index-module__icon-mima___lOfKt:before {
content: "\e622";
}
.index-module__icon-guanbi___vylnT:before {
content: "\e623";
}
.index-module__icon-jianshao___kkJvO:before {
content: "\e624";
}
.index-module__icon-dingwei___CfShC:before {
content: "\e625";
}
.index-module__icon-saomiao___YJZ0Y:before {
content: "\e626";
}
.index-module__icon-peihuo___cbjiz:before {
content: "\e627";
}
.index-module__icon-shaixuan___bkYwc:before {
content: "\e628";
}
.index-module__icon-paiming___MuyBw:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___hMt3q:before {
content: "\e62a";
}
.index-module__icon-shijian___br1AU:before {
content: "\e62b";
}
.index-module__icon-sousuo___AUAK0:before {
content: "\e62c";
}
.index-module__icon-shouhou___Alp5p:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___OBCbX:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___qxach:before {
content: "\e62f";
}
.index-module__icon-tuikuan___S4xzI:before {
content: "\e630";
}
.index-module__icon-tishi____cc6R:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___mE3sR:before {
content: "\e632";
}
.index-module__icon-xinzeng___hS8U8:before {
content: "\e633";
}
.index-module__icon-yonghuming___aKEGX:before {
content: "\e634";
}
.index-module__icon-yanjing___MQa1Y:before {
content: "\e635";
}
.index-module__icon-yufukuan___OAcSP:before {
content: "\e636";
}
.index-module__icon-wodekefu___UZbT4:before {
content: "\e60c";
}
.index-module__icon-dizhi___k32ns:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___ZYLpI:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___ZF7pe:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___mrpux:before {
content: "\e610";
}
.index-module__icon-madanguanli___Qy5ch:before {
content: "\e611";
}
.index-module__icon-qusechazhao___H7L0Y:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___cpqeL:before {
content: "\e613";
}
.index-module__icon-yaoqingma___TJeRk:before {
content: "\e614";
}
.index-module__icon-duizhang___Ua6wK:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___wC7aF:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___PnAw6:before {
content: "\e617";
}
.index-module__icon-yansequyang___REdmo:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___aFH6Z:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___MLd9R:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___qonc7:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___yd4gK:before {
content: "\e61c";
}
.index-module__icon-lingquseka___U7xO6:before {
content: "\e61d";
}
.index-module__icon-gouwu1____f0pR:before {
content: "\e608";
}
.index-module__icon-dingdan1___A5fPd:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___xJEFP:before {
content: "\e60a";
}
.index-module__icon-shouye1___qgcIW:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___TkZ4i:before {
content: "\e604";
}
.index-module__icon-dingdan___S33sU:before {
content: "\e605";
}
.index-module__icon-shouye___WE_X3:before {
content: "\e606";
}
.index-module__icon-gouwu___ubPmq:before {
content: "\e607";
}
.index-module__cell___hk78p {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
font-size: 28rpx;
padding: 12rpx 0;
}
.index-module__cell___hk78p .index-module__title___zZSXo {
min-width: 140rpx;
-webkit-flex: none;
-ms-flex: none;
flex: none;
color: #a9a9a9;
}
.index-module__cell___hk78p .index-module__desc___qzpy8 {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
color: rgba(0, 0, 0, 0.8);
}
.index-module__descText___vWAke {
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/*! For license information please see b5b4d845f319d98d60a16c431432d47b.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b5b4d845f319d98d60a16c431432d47b"],{"./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 c},MpPurchaserAddressList:function(){return d},MpPurchaserAddressPut:function(){return a}});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 c=function MpPurchaserAddressGet(){return(0,t.useRequest)({url:"/v2/mp/purchaser/address",method:"get"})};var a=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"})}}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,333 @@
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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/dropDown-item/index.module.scss ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___s8DfH {
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___KTp9g {
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___jaFuM {
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___HoRLV {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.index-module__justify-center___W2crW {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.index-module__items-center____o12W {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__flex-item___hDL41 {
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.index-module__full-100___Nh9qO {
width: 100%;
height: 100%;
}
.index-module__color-blue___MlngC {
color: #3287EC;
}
.index-module__color-yellow___h3TsG {
color: #FF9100;
}
.index-module__color-green___FykHk {
color: #00B837;
}
.index-module__color-grey___LwHFS {
color: #707070;
}
.index-module__color-white___ASkZ_ {
color: white;
}
.index-module__s-w___rghPh::after {
content: "W";
font-size: 28rpx;
}
.index-module__s-e___P9Zbt::after {
content: "E";
font-size: 28rpx;
}
.index-module__filter___eoScp {
-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___RTnJ3 {
font-family: "iconfont" !important;
font-size: 16rpx;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.index-module__icon-shouhou1___xmJ9e:before {
content: "\e641";
}
.index-module__icon-cangku1___uZXc1:before {
content: "\e642";
}
.index-module__icon-saoma___UpjSr:before {
content: "\e643";
}
.index-module__icon-dizhi1___Yy2eM:before {
content: "\e644";
}
.index-module__icon-huodaofukuan___PKhDD:before {
content: "\e645";
}
.index-module__icon-yufukuan1___DzXEA:before {
content: "\e646";
}
.index-module__icon-yue___DPpOr:before {
content: "\e647";
}
.index-module__icon-zidingyi___BogCP:before {
content: "\e648";
}
.index-module__icon-jinetiaozheng___woa12:before {
content: "\e649";
}
.index-module__icon-tuikuan1___zRQX0:before {
content: "\e64a";
}
.index-module__icon-zhankai___fCrP5:before {
content: "\e63f";
}
.index-module__icon-shouqi___egDUO:before {
content: "\e640";
}
.index-module__icon-lujing___sWrKa:before {
content: "\e63e";
}
.index-module__icon-jizhumima___jDK_j:before {
content: "\e63c";
}
.index-module__icon-a-jizhumima___OeXmc:before {
content: "\e63d";
}
.index-module__icon-weixindenglu___oS31n:before {
content: "\e63b";
}
.index-module__icon-kehuxinxi___NSq5A:before {
content: "\e63a";
}
.index-module__icon-yewuyuanqizi___j79un:before {
content: "\e639";
}
.index-module__icon-chakanquanbukehu___MR_iy:before {
content: "\e638";
}
.index-module__icon-biyan___jlsnq:before {
content: "\e637";
}
.index-module__icon-bianji___QX3Xd:before {
content: "\e61e";
}
.index-module__icon-daikuan___to6e9:before {
content: "\e61f";
}
.index-module__icon-cangku___lLEId:before {
content: "\e620";
}
.index-module__icon-guanlidingdan___CpZ1p:before {
content: "\e621";
}
.index-module__icon-mima___nY57V:before {
content: "\e622";
}
.index-module__icon-guanbi___mrEAm:before {
content: "\e623";
}
.index-module__icon-jianshao___ZJY4e:before {
content: "\e624";
}
.index-module__icon-dingwei___i2A86:before {
content: "\e625";
}
.index-module__icon-saomiao___nPCEe:before {
content: "\e626";
}
.index-module__icon-peihuo___g88mx:before {
content: "\e627";
}
.index-module__icon-shaixuan___yCeBO:before {
content: "\e628";
}
.index-module__icon-paiming___mYz7s:before {
content: "\e629";
}
.index-module__icon-shanchusousuoxinxi___mmbTy:before {
content: "\e62a";
}
.index-module__icon-shijian___QAabx:before {
content: "\e62b";
}
.index-module__icon-sousuo___HWrj2:before {
content: "\e62c";
}
.index-module__icon-shouhou___FSfnD:before {
content: "\e62d";
}
.index-module__icon-sousuofanhui___V2OvW:before {
content: "\e62e";
}
.index-module__icon-sousuoshanchu___Na4l8:before {
content: "\e62f";
}
.index-module__icon-tuikuan___xgHil:before {
content: "\e630";
}
.index-module__icon-tishi___mraD1:before {
content: "\e631";
}
.index-module__icon-xianxiahuizong___EtJJ2:before {
content: "\e632";
}
.index-module__icon-xinzeng___pkSwD:before {
content: "\e633";
}
.index-module__icon-yonghuming___T4iYS:before {
content: "\e634";
}
.index-module__icon-yanjing___rcRCz:before {
content: "\e635";
}
.index-module__icon-yufukuan____EAGP:before {
content: "\e636";
}
.index-module__icon-wodekefu___UvFN_:before {
content: "\e60c";
}
.index-module__icon-dizhi___aaJb8:before {
content: "\e60d";
}
.index-module__icon-shouhouzhongxin___lPQFg:before {
content: "\e60e";
}
.index-module__icon-wodeshoucang___Sip77:before {
content: "\e60f";
}
.index-module__icon-shoukuanliebiao___oxjp2:before {
content: "\e610";
}
.index-module__icon-madanguanli___b_HDZ:before {
content: "\e611";
}
.index-module__icon-qusechazhao___FiigH:before {
content: "\e612";
}
.index-module__icon-pandiansaoma___pvn5u:before {
content: "\e613";
}
.index-module__icon-yaoqingma___YHHEl:before {
content: "\e614";
}
.index-module__icon-duizhang___mVDsC:before {
content: "\e615";
}
.index-module__icon-tihuoliebiao___pGkRH:before {
content: "\e616";
}
.index-module__icon-yangpinduibi___uEpAh:before {
content: "\e617";
}
.index-module__icon-yansequyang___t2oUJ:before {
content: "\e618";
}
.index-module__icon-fahuoliebiao___vR1pW:before {
content: "\e619";
}
.index-module__icon-yuncangkucun___TVelj:before {
content: "\e61a";
}
.index-module__icon-xiaoshou___OtWLW:before {
content: "\e61b";
}
.index-module__icon-qianzhicangkucun___f5LHY:before {
content: "\e61c";
}
.index-module__icon-lingquseka___fMlYk:before {
content: "\e61d";
}
.index-module__icon-gouwu1___zwXL7:before {
content: "\e608";
}
.index-module__icon-dingdan1___rDNWp:before {
content: "\e609";
}
.index-module__icon-gerenzhongxin1___lbadK:before {
content: "\e60a";
}
.index-module__icon-shouye1___c48tf:before {
content: "\e60b";
}
.index-module__icon-gerenzhongxin___JoWWI:before {
content: "\e604";
}
.index-module__icon-dingdan___gurke:before {
content: "\e605";
}
.index-module__icon-shouye___U47on:before {
content: "\e606";
}
.index-module__icon-gouwu___yiQ6U:before {
content: "\e607";
}
.index-module__dropDownItem___AoWXF {
width: 100%;
}
.index-module__dropDownItem--title___ENIlY {
position: relative;
background-color: white;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
padding: 24rpx 0;
color: #8c8c8c;
font-size: 28rpx;
}
.index-module__dropDownItem--title--text___DN0ay {
display: block;
margin-right: 12rpx;
}
.index-module__dropDownItemOptions___Mm6dp {
padding: 24rpx 40rpx;
}
@@ -0,0 +1,2 @@
/*! For license information please see f236ebc5587c658ea10632323fad8721.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/f236ebc5587c658ea10632323fad8721"],{"./src/components/dropDown-item/index.tsx":function(e,o,t){var n=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");var s=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var a=t("./node_modules/@tarojs/taro/index.js");var i=t.n(a);var r=t("./node_modules/react/cjs/react.production.min.js");var l=t("./node_modules/classnames/index.js");var c=t.n(l);var u=t("./src/components/iconfont/iconfont.tsx");var d=t("./src/components/popup/index.tsx");var p=t("./src/components/cell/index.tsx");var f=t("./src/components/dropDown-item/index.module.scss");var v=t("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var m=function DropDownItem(e,o){var t;var a=e.children,l=e.direction,m=l===void 0?"down":l,h=e.title,w=h===void 0?"":h,x=e.value,j=e.options,y=j===void 0?[]:j,b=e.change,C=e.activeColor,D=e.showOverlay,k=D===void 0?true:D,g=e.hasBottomBtn,I=g===void 0?false:g,S=e.customClassName,O=e.customStyle,N=e.onCloseOverlay;var _=(0,r.useState)(false),P=(0,n["default"])(_,2),T=P[0],V=P[1];(0,r.useImperativeHandle)(o,(function(){return{show:T,closePopup:function closePopup(){V(false)},showPopup:function showPopup(){V(true)}}}),[T]);var z=function handleClickOption(e){b===null||b===void 0?void 0:b(e)};var B=(0,r.useState)((y===null||y===void 0?void 0:(t=y[0])===null||t===void 0?void 0:t.text)||""),q=(0,n["default"])(B,2),A=q[0],H=q[1];var J=(0,r.useMemo)((function(){var e=x;return y===null||y===void 0?void 0:y.map((function(o,t){var n=o.text,s=o.value;e===s&&H(n);return(0,v.jsx)(p["default"],{title:n,desc:"",isLink:true,onClick:function onClick(){return z(s)}},t)}))}),[x]);var L=function getIconName(){if(m==="up"){return T?"icon-zhankai1":"icon-shouqi1"}return T?"icon-shouqi1":"icon-zhankai1"};var M=function handleClickTitle(){console.log("handleClickTitle",T);N===null||N===void 0?void 0:N();V((function(e){return!e}))};var R=function handleClosePopup(){if(I){return}V(false);N===null||N===void 0?void 0:N()};var E=(0,r.useState)("unset"),Q=(0,n["default"])(E,2),F=Q[0],G=Q[1];var K=function getOverlayStyle(){return{position:!k?"fixed":"absolute",top:0}};var U=(0,r.useState)(0),W=(0,n["default"])(U,2),X=W[0],Y=W[1];(0,r.useEffect)((function(){var e=i().createSelectorQuery();e.select("#DropDownItem").boundingClientRect();e.selectViewport().scrollOffset();e.exec((function(e){console.log("res==>",e);Y(e[1].scrollHeight);if(m==="down"){G("".concat(e[0].bottom,"px"))}else{G("".concat(e[0].top,"px"))}}))}),[]);var Z=(0,r.useMemo)((function(){if(m==="up"){return{position:"absolute",top:0,height:F}}else{return{position:"absolute",top:F,height:"calc(".concat("".concat(X,"px")," - ",F,")")}}}),[F]);return(0,v.jsxs)(s.View,{className:f["default"].dropDownItem,id:"DropDownItem",children:[(0,v.jsxs)(s.View,{className:c()(S,f["default"]["dropDownItem--title"]),style:O,onClick:M,children:[(0,v.jsx)(s.Text,{className:f["default"]["dropDownItem--title--text"],style:T?{color:C}:{},children:w||A}),(0,v.jsx)(u["default"],{name:L(),size:20,color:T?C:"#7f7f7f"})]}),(0,v.jsx)(d["default"],{onClose:R,showOverLay:k,show:T,showTitle:false,safeAreaInsetBottom:false,customStyle:Z,overlayStyle:K(),position:m==="down"?"top":"bottom",children:a||(0,v.jsx)(s.View,{className:f["default"].dropDownItemOptions,children:J})})]})};o["default"]=(0,r.forwardRef)(m)}}]);

Some files were not shown because too many files have changed in this diff Show More