预发布环境
This commit is contained in:
Vendored
+2
File diff suppressed because one or more lines are too long
+51
@@ -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 ***!
|
||||
\*************************************************************************************************************/
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"navigationBarTitleText":"申请退货","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
<import src="../../base.wxml"/>
|
||||
<template is="taro_tmpl" data="{{root:root}}" />
|
||||
Vendored
+848
@@ -0,0 +1,848 @@
|
||||
@charset "UTF-8";@import "./sub-common/f437345ae9818808a269edcd3d9d51d0.wxss";/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/applyGoods/index.module.scss ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
||||
.index-module__common_safe_area_y___hG2LL {
|
||||
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___bdeiq {
|
||||
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___Favt0 {
|
||||
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___mePhi {
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__justify-center___vZPv2 {
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.index-module__items-center___c9edY {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__flex-item___Iaiap {
|
||||
-webkit-flex: 1 1 auto;
|
||||
-ms-flex: 1 1 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.index-module__full-100___Ge3DL {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.index-module__color-blue___UOfZu {
|
||||
color: #3287EC;
|
||||
}
|
||||
.index-module__color-yellow___u5Abd {
|
||||
color: #FF9100;
|
||||
}
|
||||
.index-module__color-green___UZtvD {
|
||||
color: #00B837;
|
||||
}
|
||||
.index-module__color-grey___L6J6t {
|
||||
color: #707070;
|
||||
}
|
||||
.index-module__color-white___B6D6m {
|
||||
color: white;
|
||||
}
|
||||
.index-module__s-w___ctKrn::after {
|
||||
content: "W";
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.index-module__s-e___BnIrf::after {
|
||||
content: "E";
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.index-module__filter___I31N8 {
|
||||
-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___BDJ4C {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16rpx;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.index-module__icon-shouhou1___M4vSC:before {
|
||||
content: "\e641";
|
||||
}
|
||||
.index-module__icon-cangku1___LEJtP:before {
|
||||
content: "\e642";
|
||||
}
|
||||
.index-module__icon-saoma___rbuJy:before {
|
||||
content: "\e643";
|
||||
}
|
||||
.index-module__icon-dizhi1___NUpiR:before {
|
||||
content: "\e644";
|
||||
}
|
||||
.index-module__icon-huodaofukuan___i0eLZ:before {
|
||||
content: "\e645";
|
||||
}
|
||||
.index-module__icon-yufukuan1___n9DRh:before {
|
||||
content: "\e646";
|
||||
}
|
||||
.index-module__icon-yue___wuRAC:before {
|
||||
content: "\e647";
|
||||
}
|
||||
.index-module__icon-zidingyi___EoRMO:before {
|
||||
content: "\e648";
|
||||
}
|
||||
.index-module__icon-jinetiaozheng___MqrQg:before {
|
||||
content: "\e649";
|
||||
}
|
||||
.index-module__icon-tuikuan1___kGTcz:before {
|
||||
content: "\e64a";
|
||||
}
|
||||
.index-module__icon-zhankai___oBUGL:before {
|
||||
content: "\e63f";
|
||||
}
|
||||
.index-module__icon-shouqi___RDtnr:before {
|
||||
content: "\e640";
|
||||
}
|
||||
.index-module__icon-lujing___e2AOM:before {
|
||||
content: "\e63e";
|
||||
}
|
||||
.index-module__icon-jizhumima___sCHrs:before {
|
||||
content: "\e63c";
|
||||
}
|
||||
.index-module__icon-a-jizhumima___FyLoa:before {
|
||||
content: "\e63d";
|
||||
}
|
||||
.index-module__icon-weixindenglu___k0_su:before {
|
||||
content: "\e63b";
|
||||
}
|
||||
.index-module__icon-kehuxinxi___iWRLH:before {
|
||||
content: "\e63a";
|
||||
}
|
||||
.index-module__icon-yewuyuanqizi___Ulj8A:before {
|
||||
content: "\e639";
|
||||
}
|
||||
.index-module__icon-chakanquanbukehu___t_7kB:before {
|
||||
content: "\e638";
|
||||
}
|
||||
.index-module__icon-biyan___HgupO:before {
|
||||
content: "\e637";
|
||||
}
|
||||
.index-module__icon-bianji___ivmMe:before {
|
||||
content: "\e61e";
|
||||
}
|
||||
.index-module__icon-daikuan___thElI:before {
|
||||
content: "\e61f";
|
||||
}
|
||||
.index-module__icon-cangku___a7pdJ:before {
|
||||
content: "\e620";
|
||||
}
|
||||
.index-module__icon-guanlidingdan___YOzDB:before {
|
||||
content: "\e621";
|
||||
}
|
||||
.index-module__icon-mima___cUn3G:before {
|
||||
content: "\e622";
|
||||
}
|
||||
.index-module__icon-guanbi___EzAZm:before {
|
||||
content: "\e623";
|
||||
}
|
||||
.index-module__icon-jianshao___cz5_4:before {
|
||||
content: "\e624";
|
||||
}
|
||||
.index-module__icon-dingwei___mXXnY:before {
|
||||
content: "\e625";
|
||||
}
|
||||
.index-module__icon-saomiao___HNavo:before {
|
||||
content: "\e626";
|
||||
}
|
||||
.index-module__icon-peihuo___OScGE:before {
|
||||
content: "\e627";
|
||||
}
|
||||
.index-module__icon-shaixuan___XsxRE:before {
|
||||
content: "\e628";
|
||||
}
|
||||
.index-module__icon-paiming___bWIpP:before {
|
||||
content: "\e629";
|
||||
}
|
||||
.index-module__icon-shanchusousuoxinxi___Wp8tW:before {
|
||||
content: "\e62a";
|
||||
}
|
||||
.index-module__icon-shijian___t4Eou:before {
|
||||
content: "\e62b";
|
||||
}
|
||||
.index-module__icon-sousuo___RjAcb:before {
|
||||
content: "\e62c";
|
||||
}
|
||||
.index-module__icon-shouhou___G4AM_:before {
|
||||
content: "\e62d";
|
||||
}
|
||||
.index-module__icon-sousuofanhui___ug2Mh:before {
|
||||
content: "\e62e";
|
||||
}
|
||||
.index-module__icon-sousuoshanchu___pDUqP:before {
|
||||
content: "\e62f";
|
||||
}
|
||||
.index-module__icon-tuikuan___wy30D:before {
|
||||
content: "\e630";
|
||||
}
|
||||
.index-module__icon-tishi___jm_24:before {
|
||||
content: "\e631";
|
||||
}
|
||||
.index-module__icon-xianxiahuizong___Pz1XY:before {
|
||||
content: "\e632";
|
||||
}
|
||||
.index-module__icon-xinzeng___KQ512:before {
|
||||
content: "\e633";
|
||||
}
|
||||
.index-module__icon-yonghuming___hi5jv:before {
|
||||
content: "\e634";
|
||||
}
|
||||
.index-module__icon-yanjing___XUG5v:before {
|
||||
content: "\e635";
|
||||
}
|
||||
.index-module__icon-yufukuan___VLD7k:before {
|
||||
content: "\e636";
|
||||
}
|
||||
.index-module__icon-wodekefu___lhOJW:before {
|
||||
content: "\e60c";
|
||||
}
|
||||
.index-module__icon-dizhi___K8_RT:before {
|
||||
content: "\e60d";
|
||||
}
|
||||
.index-module__icon-shouhouzhongxin___F0QQ3:before {
|
||||
content: "\e60e";
|
||||
}
|
||||
.index-module__icon-wodeshoucang___ucgOT:before {
|
||||
content: "\e60f";
|
||||
}
|
||||
.index-module__icon-shoukuanliebiao___MeJ4r:before {
|
||||
content: "\e610";
|
||||
}
|
||||
.index-module__icon-madanguanli___wEthe:before {
|
||||
content: "\e611";
|
||||
}
|
||||
.index-module__icon-qusechazhao___SzHUr:before {
|
||||
content: "\e612";
|
||||
}
|
||||
.index-module__icon-pandiansaoma___DT09N:before {
|
||||
content: "\e613";
|
||||
}
|
||||
.index-module__icon-yaoqingma___Kw_Hc:before {
|
||||
content: "\e614";
|
||||
}
|
||||
.index-module__icon-duizhang___JDGfP:before {
|
||||
content: "\e615";
|
||||
}
|
||||
.index-module__icon-tihuoliebiao___uihoQ:before {
|
||||
content: "\e616";
|
||||
}
|
||||
.index-module__icon-yangpinduibi___VEpV6:before {
|
||||
content: "\e617";
|
||||
}
|
||||
.index-module__icon-yansequyang___Y5oec:before {
|
||||
content: "\e618";
|
||||
}
|
||||
.index-module__icon-fahuoliebiao___oYpow:before {
|
||||
content: "\e619";
|
||||
}
|
||||
.index-module__icon-yuncangkucun___o2Miu:before {
|
||||
content: "\e61a";
|
||||
}
|
||||
.index-module__icon-xiaoshou____gE6L:before {
|
||||
content: "\e61b";
|
||||
}
|
||||
.index-module__icon-qianzhicangkucun___g_KwH:before {
|
||||
content: "\e61c";
|
||||
}
|
||||
.index-module__icon-lingquseka___jB4b_:before {
|
||||
content: "\e61d";
|
||||
}
|
||||
.index-module__icon-gouwu1___jAjdB:before {
|
||||
content: "\e608";
|
||||
}
|
||||
.index-module__icon-dingdan1___JyhRW:before {
|
||||
content: "\e609";
|
||||
}
|
||||
.index-module__icon-gerenzhongxin1___mZunY:before {
|
||||
content: "\e60a";
|
||||
}
|
||||
.index-module__icon-shouye1___U5U8X:before {
|
||||
content: "\e60b";
|
||||
}
|
||||
.index-module__icon-gerenzhongxin___eJjKf:before {
|
||||
content: "\e604";
|
||||
}
|
||||
.index-module__icon-dingdan___ycPId:before {
|
||||
content: "\e605";
|
||||
}
|
||||
.index-module__icon-shouye___dQo7o:before {
|
||||
content: "\e606";
|
||||
}
|
||||
.index-module__icon-gouwu___Y6T0y:before {
|
||||
content: "\e607";
|
||||
}
|
||||
.index-module__bgBox___kPrZg {
|
||||
margin: 24rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 16rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X {
|
||||
margin-top: 24rpx;
|
||||
overflow: hidden;
|
||||
border-bottom: 8rpx solid #f7f7f7;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__goodsProduct___QncEO {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
margin-left: 32rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__goodsLine___SsIBE {
|
||||
width: 638rpx;
|
||||
height: 1px;
|
||||
background: #000000;
|
||||
opacity: 0.1;
|
||||
margin-left: 32rpx;
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k {
|
||||
margin-top: 24rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemPic___hXC12 {
|
||||
margin-left: 32rpx;
|
||||
margin-right: 42rpx;
|
||||
width: 108rpx;
|
||||
height: 108rpx;
|
||||
border-radius: 5rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 {
|
||||
padding-bottom: 24rpx;
|
||||
width: 495rpx;
|
||||
border-bottom: 1px solid #f7f7f7;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_top___v6Dql {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_top___v6Dql .index-module__itemName___iI_Ke {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_top___v6Dql .index-module__itemNums___HDuYn {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: flex-end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__itemMoney___kU5vI {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__itemMoneyOne___LNB66 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__btn___E1ddN {
|
||||
width: 120rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 8rpx;
|
||||
border: 1px solid #337fff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
line-height: 64rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__btnOne___VPwWI {
|
||||
width: 204rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 8rpx;
|
||||
border: 1px solid #337fff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
line-height: 64rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__inputBox___MhLAq {
|
||||
width: 189rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 8rpx;
|
||||
border: 1px solid #337fff;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__inputBox___MhLAq .index-module__redceBox___OTNis {
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 8rpx 0rpx 0rpx 8rpx;
|
||||
border-right: 1px solid #337fff;
|
||||
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;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__inputBox___MhLAq .index-module__redceBox___OTNis .index-module__reduce___HDnB6 {
|
||||
width: 20rpx;
|
||||
height: 2rpx;
|
||||
background: #337fff;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__inputBox___MhLAq .index-module__inputBig___W4aDR {
|
||||
width: 61rpx;
|
||||
height: 64rpx;
|
||||
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;
|
||||
text-align: center;
|
||||
font-size: 24rpx;
|
||||
font-weight: 400;
|
||||
color: #337fff;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__inputBox___MhLAq .index-module__addBox___suwT5 {
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
border-left: 1px solid #337fff;
|
||||
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;
|
||||
font-size: 40rpx;
|
||||
color: #337fff;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child {
|
||||
margin-top: 24rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemPic___hXC12 {
|
||||
margin-left: 32rpx;
|
||||
margin-right: 42rpx;
|
||||
width: 108rpx;
|
||||
height: 108rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 {
|
||||
padding-bottom: 24rpx;
|
||||
width: 495rpx;
|
||||
border-bottom: none;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_top___v6Dql {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_top___v6Dql .index-module__itemName___iI_Ke {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_top___v6Dql .index-module__itemNums___HDuYn {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: flex-end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__itemMoney___kU5vI {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__itemMoneyOne___LNB66 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__btn___E1ddN {
|
||||
width: 120rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 8rpx;
|
||||
border: 1px solid #337fff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
line-height: 64rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X .index-module__itemGoods___lPs9k:last-child .index-module__itemRight___Plh81 .index-module__item_right_Bottom___LHIMI .index-module__btnOne___VPwWI {
|
||||
width: 204rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 8rpx;
|
||||
border: 1px solid #337fff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
line-height: 64rpx;
|
||||
}
|
||||
.index-module__goodsBox___fPl_X {
|
||||
border-bottom: none;
|
||||
}
|
||||
.index-module__hasSelect___vsnvt {
|
||||
margin-left: 32rpx;
|
||||
margin-right: 32rpx;
|
||||
height: 54rpx;
|
||||
background: #fef9f4;
|
||||
border-radius: 8rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
color: #f79b31;
|
||||
padding-left: 20rpx;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq {
|
||||
overflow: hidden;
|
||||
margin: 0 24rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 16rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__reasonItem___Qj7eY {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #f7f7f7;
|
||||
margin: 32rpx;
|
||||
padding-bottom: 32rpx;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__reasonItem___Qj7eY .index-module__reasonLeft___Qx34Q {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__reasonItem___Qj7eY .index-module__reasonLeft___Qx34Q .index-module__reasonFont___D8URT {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__reasonItem___Qj7eY .index-module__reasonLeft___Qx34Q .index-module__xing___H0SE4 {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #e42945;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__reasonItem___Qj7eY .index-module__reasonLeft___Qx34Q .index-module__selectFont___RAdRp {
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__reasonItem___Qj7eY .index-module__chakanquanbukehu___ulQlK {
|
||||
font-size: 50rpx;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__picBig___ZYObi {
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
margin-top: 32rpx;
|
||||
display: flex;
|
||||
padding-bottom: 32rpx;
|
||||
}
|
||||
.index-module__resonBig___s4Qeq .index-module__picBig___ZYObi .index-module__picFont___wxKgc {
|
||||
width: 130rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
margin-left: 32rpx;
|
||||
}
|
||||
.index-module__descBox___Wkj7b {
|
||||
padding: 24rpx 0rpx 24rpx 0rpx;
|
||||
margin: 32rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 16rpx 16rpx 0rpx 0rpx;
|
||||
}
|
||||
.index-module__descBox___Wkj7b .index-module__title___ONbbm {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
margin-left: 32rpx;
|
||||
}
|
||||
.index-module__descBox___Wkj7b .index-module__textBox___oHaaT {
|
||||
padding-top: 15rpx;
|
||||
padding-left: 24rpx;
|
||||
padding-right: 24rpx;
|
||||
padding-bottom: 24rpx;
|
||||
margin-right: 32rpx;
|
||||
margin-top: 24rpx;
|
||||
margin-left: 32rpx;
|
||||
height: 210rpx;
|
||||
background: #f6f6f6;
|
||||
border-radius: 8rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__bottomBox___aBhcB {
|
||||
width: 750rpx;
|
||||
height: 160rpx;
|
||||
background: #ffffff;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 99;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
padding-top: 16rpx;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__bottomBox___aBhcB .index-module__resetBox___j2_JF {
|
||||
margin-left: 48rpx;
|
||||
width: 311rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 44rpx;
|
||||
border: 1px solid #087eff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
.index-module__bottomBox___aBhcB .index-module__button___hqgQL {
|
||||
margin-right: 32rpx;
|
||||
width: 311rpx;
|
||||
height: 80rpx;
|
||||
background: #68b4ff;
|
||||
border-radius: 44rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.index-module__bottomBox___aBhcB .index-module__activeButton___F4ih5 {
|
||||
margin-right: 32rpx;
|
||||
width: 311rpx;
|
||||
height: 80rpx;
|
||||
background: #337fff;
|
||||
border-radius: 44rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.index-module__safeBox___PGLTZ {
|
||||
height: 160rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.index-module__popupBox___LiRQp {
|
||||
height: 500rpx;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua {
|
||||
margin-top: 20rpx;
|
||||
padding-left: 48rpx;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua .index-module__thirdTopfont___Uss8Y {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua .index-module__timeBox2___Ryq0G {
|
||||
margin-top: 24rpx;
|
||||
background-color: #f6f6f6;
|
||||
height: 68rpx;
|
||||
background: #e9e9e9;
|
||||
border-radius: 8rpx;
|
||||
margin-right: 48rpx;
|
||||
text-align: center;
|
||||
line-height: 68rpx;
|
||||
position: relative;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua .index-module__timeBox2___Ryq0G .index-module__more___hgOBD {
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 5rpx;
|
||||
font-size: 40rpx;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua .index-module__flexModebox___dXKBA {
|
||||
margin-top: 24rpx;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex-wrap: wrap;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua .index-module__flexModebox___dXKBA .index-module__activemodeBox___Fc0Sq {
|
||||
margin-bottom: 16rpx;
|
||||
margin-right: 16rpx;
|
||||
padding: 17rpx 34rpx 17rpx 34rpx;
|
||||
background: rgba(51, 127, 255, 0.1);
|
||||
border-radius: 8rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
border: 1px solid #337fff;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__thirdBox___zPFua .index-module__flexModebox___dXKBA .index-module__modeBox___A6omV {
|
||||
margin-bottom: 16rpx;
|
||||
margin-right: 16rpx;
|
||||
padding: 17rpx 34rpx 17rpx 34rpx;
|
||||
background: #f6f6f6;
|
||||
border-radius: 8rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #000000;
|
||||
border: 1px solid #f6f6f6;
|
||||
text-align: center;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__bottomBox1___ukR0B {
|
||||
width: 750rpx;
|
||||
height: 160rpx;
|
||||
background: #ffffff;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 99;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
padding-top: 16rpx;
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__bottomBox1___ukR0B .index-module__resetBox1___qqDLr {
|
||||
margin-left: 48rpx;
|
||||
width: 311rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 44rpx;
|
||||
border: 1px solid #087eff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #337fff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__bottomBox1___ukR0B .index-module__button1___VJ5wT {
|
||||
margin-right: 32rpx;
|
||||
width: 311rpx;
|
||||
height: 80rpx;
|
||||
background: #68b4ff;
|
||||
border-radius: 44rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__bottomBox1___ukR0B .index-module__activeButton1___afh_L {
|
||||
margin-right: 32rpx;
|
||||
width: 311rpx;
|
||||
height: 80rpx;
|
||||
background: #337fff;
|
||||
border-radius: 44rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.index-module__popupBox___LiRQp .index-module__safeBoxs___AATh_ {
|
||||
height: 160rpx;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 13c349ec6fe97c02f07716d358f66d11.js.LICENSE.txt */
|
||||
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/13c349ec6fe97c02f07716d358f66d11"],{"./src/api/cdn.ts":function(e,t,n){n.d(t,{GetSignApi:function(){return s}});var c=n("./src/use/useHttp.ts");var s=function GetSignApi(){return(0,c.useRequest)({url:"/v2/mp/cdn/token",method:"get"})}}}]);
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see 1da759392e78d572495498b53bc4e2a9.js.LICENSE.txt */
|
||||
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/1da759392e78d572495498b53bc4e2a9"],{"./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 77c6c00ee9ac4bfa87e3885cb3a9f4ce.js.LICENSE.txt */
|
||||
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/77c6c00ee9ac4bfa87e3885cb3a9f4ce"],{"./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 b14021f24a99c16a41f3ddce1a2c0358.js.LICENSE.txt */
|
||||
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/b14021f24a99c16a41f3ddce1a2c0358"],{"./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 c=n("./node_modules/@tarojs/taro/index.js");var l=n.n(c);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,c=e.onlyRead,x=c===void 0?false:c;var j=(0,f["default"])(),g=j.getWxPhoto,w=j.getChatPhoto;var b=(0,i.useState)([]),k=(0,o["default"])(b,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 w("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")}));l().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,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;
|
||||
}
|
||||
Reference in New Issue
Block a user