Compare commits

..
3 Commits
Author SHA1 Message Date
xuan c8e4e47569 1 2023-05-16 13:02:46 +08:00
xuan d19b1ed2aa 1111 2023-05-15 14:13:36 +08:00
xuan afec01d797 1 2023-05-12 11:43:37 +08:00
1389 changed files with 2015 additions and 116340 deletions
-8
View File
@@ -1,8 +0,0 @@
/node_modules
/build
/key
/dist
project.*.json
*.lock
*.log
iconfont/
-21
View File
@@ -1,21 +0,0 @@
{
"extends": [
"taro/react",
"@aaronghx/eslint-config-react"
],
"rules": {
"no-console": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-unused-vars": "off",
"eqeqeq": "off",
"no-prototype-builtins": "off",
"import/first": "off",
"react/no-children-prop": "off",
"import/no-commonjs": "off",
"react/display-name": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "warn",
"array-callback-return": 0,
"react/prop-types": 0
}
}
-6
View File
@@ -1,6 +0,0 @@
dist/
deploy_versions/
.temp/
.rn_temp/
node_modules/
.DS_Store
-10
View File
@@ -1,10 +0,0 @@
{
"printWidth": 160,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"jsxBracketSameLine": true,
"trailingComma": "all"
}
-45
View File
@@ -1,45 +0,0 @@
{
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"eslint.validate": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"json5"
],
// Set the default
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
// Enable per-language
"[css]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
}
-10
View File
@@ -1,10 +0,0 @@
// babel-preset-taro 更多选项和默认值:
// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
module.exports = {
presets: [
['taro', {
framework: 'react',
ts: true,
}],
],
}
-50
View File
@@ -1,50 +0,0 @@
const path = require('path')
module.exports = {
env: {
NODE_ENV: '"development"',
},
defineConstants: {
CURRENT_BASE_URL: '"https://test.zzfzyc.com/lymarket"',
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://test.zzfzyc.com"',
CURRENT_PAY_H5_CODE_URL: '"https://test.zzfzyc.com/cashier"',
CURRENT_PAY_Bank_APPID: '"wx0fb358ee24237c71"',
},
mini: {
// optimizeMainPackage: {
// enable: true
// },
webpackChain: (chain, webpack) => {
chain.merge({
plugin: {
install: {
plugin: require('terser-webpack-plugin'),
args: [
{
terserOptions: {
// compress: true, // 默认使用terser压缩
compress: {
drop_console: false, // 去掉打印
}, // 默认使用terser压缩
// mangle: false,
keep_classnames: true, // 不改变class名称
keep_fnames: true, // 不改变函数名称
},
},
],
},
},
})
},
},
h5: {},
alias: {
'@': path.resolve(__dirname, '..', 'src'),
},
sass: {
resource: path.resolve(__dirname, '..', 'src/styles/common.scss'),
},
// plugins: [
// '@tarojs/plugin-react-devtools'
// ],
}
-121
View File
@@ -1,121 +0,0 @@
const path = require('path')
const childProcess = require('child_process')
const versions
= childProcess.execSync('git rev-parse --abbrev-ref HEAD', {
encoding: 'utf8',
}) != 'HEAD\n'
? childProcess.execSync('git rev-parse --abbrev-ref HEAD', {
encoding: 'utf8',
})
: childProcess.execSync('git describe --tags --abbrev=0', {
encoding: 'utf8',
})
const CURRENT_GITHASH = childProcess.execSync('git rev-parse --short HEAD', {
encoding: 'utf8',
})
const CURRENT_VERSION = `Version: ${JSON.stringify(process.env.CODE_BRANCH || versions)} ${CURRENT_GITHASH} ${new Date().toLocaleString()}`.replace(
/\"|\\n/g,
'',
)
const CIPluginOpt = {
// 微信小程序
weapp: {
appid: 'wx64fe67f111d52457',
privateKeyPath: 'key/private.wx64fe67f111d52457.key',
// devToolsInstallPath: 'D:/weixin/微信web开发者工具',
},
// 版本号
version: versions,
// 版本发布描述
desc: versions,
}
const config = {
projectName: 'EShop',
date: '2022-4-6',
designWidth: 750,
deviceRatio: {
640: 2.34 / 2,
750: 1,
828: 1.81 / 2,
},
sourceRoot: 'src',
outputRoot: 'dist',
plugins: [
['@tarojs/plugin-mini-ci', CIPluginOpt],
['@tarojs/plugin-framework-react', { reactMode: 'concurrent' }],
],
defineConstants: {
CURRENT_VERSION: JSON.stringify(CURRENT_VERSION),
CURRENT_GITHASH: JSON.stringify(CURRENT_GITHASH),
CURRENT_ENV: JSON.stringify(process.env.NODE_ENV),
},
copy: {
patterns: [],
options: {},
},
framework: 'react',
mini: {
postcss: {
pxtransform: {
enable: true,
config: {
onePxTransform: false,
},
},
url: {
enable: true,
config: {
limit: 1024, // 设定转换尺寸上限
},
},
cssModules: {
enable: true, // 默认为 false,如需使用 css modules 功能,则设为 true
config: {
namingPattern: 'module', // 转换模式,取值为 global/module
generateScopedName: '[name]__[local]___[hash:base64:5]',
},
},
},
},
h5: {
publicPath: '/',
staticDirectory: 'static',
postcss: {
autoprefixer: {
enable: true,
config: {},
},
cssModules: {
enable: false, // 默认为 false,如需使用 css modules 功能,则设为 true
config: {
namingPattern: 'module', // 转换模式,取值为 global/module
generateScopedName: '[name]__[local]___[hash:base64:5]',
},
},
},
},
compiler: {
type: 'webpack5',
// 依赖预编译配置
prebundle: {
enable: true,
},
},
// 持久化缓存配置
// cache: {
// enable: true,
// },
}
module.exports = function(merge) {
if (process.env.NODE_ENV === 'development') {
return merge({}, config, require('./dev'))
}
if (process.env.NODE_ENV === 'pre') {
return merge({}, config, require('./pre'))
}
return merge({}, config, require('./prod'))
}
-47
View File
@@ -1,47 +0,0 @@
const path = require('path')
module.exports = {
env: {
NODE_ENV: '"pre"',
},
defineConstants: {
CURRENT_BASE_URL: '"https://pre.zzfzyc.com/lymarket"',
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://pre.zzfzyc.com"',
CURRENT_PAY_H5_CODE_URL: '"https://pre.zzfzyc.com/cashier"',
CURRENT_PAY_Bank_APPID: '"wx65934ee32a88d726"',
},
mini: {
optimizeMainPackage: {
enable: true,
},
webpackChain: (chain, webpack) => {
chain.merge({
plugin: {
install: {
plugin: require('terser-webpack-plugin'),
args: [
{
terserOptions: {
// compress: true, // 默认使用terser压缩
compress: {
drop_console: false, // 去掉打印
}, // 默认使用terser压缩
// mangle: false,
keep_classnames: true, // 不改变class名称
keep_fnames: true, // 不改变函数名称
},
},
],
},
},
})
},
},
h5: {},
alias: {
'@': path.resolve(__dirname, '..', 'src'),
},
sass: {
resource: path.resolve(__dirname, '..', 'src/styles/common.scss'),
},
}
-56
View File
@@ -1,56 +0,0 @@
const path = require('path')
module.exports = {
env: {
NODE_ENV: '"production"',
},
defineConstants: {
CURRENT_BASE_URL: '"https://www.zzfzyc.com/lymarket"',
CURRENT_CAP_HTML_TO_IMAGE_BASE_URL: '"https://www.zzfzyc.com"',
CURRENT_PAY_H5_CODE_URL: '"https://www.zzfzyc.com/cashier"',
CURRENT_PAY_Bank_APPID: '"wx65934ee32a88d726"',
},
mini: {
// optimizeMainPackage: {
// enable: true,
// },
webpackChain: (chain, webpack) => {
chain.merge({
plugin: {
install: {
plugin: require('terser-webpack-plugin'),
args: [
{
terserOptions: {
// compress: true, // 默认使用terser压缩
compress: {
drop_console: true, // 去掉打印
}, // 默认使用terser压缩
// mangle: false,
keep_classnames: true, // 不改变class名称
keep_fnames: true, // 不改变函数名称
},
},
],
},
},
})
},
},
h5: {
/**
* 如果h5端编译后体积过大,可以使用webpack-bundle-analyzer插件对打包体积进行分析。
* 参考代码如下:
* webpackChain (chain) {
* chain.plugin('analyzer')
* .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])
* }
*/
},
alias: {
'@': path.resolve(__dirname, '..', 'src'),
},
sass: {
resource: path.resolve(__dirname, '..', 'src/styles/common.scss'),
},
}
Vendored
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"pages":["pages/index/index","pages/user/index","pages/shopCar/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black","backgroundColor":"#ffffff"},"tabBar":{"list":[{"pagePath":"pages/index/index","text":"首页","iconPath":"./styles/tabbar/home.png","selectedIconPath":"./styles/tabbar/home_selected.png"},{"pagePath":"pages/shopCar/index","text":"购物车","iconPath":"./styles/tabbar/shop.png","selectedIconPath":"./styles/tabbar/shop_selected.png"},{"pagePath":"pages/user/index","text":"我的","iconPath":"./styles/tabbar/my.png","selectedIconPath":"./styles/tabbar/my_selected.png"}],"color":"#707070","selectedColor":"#2680EB","backgroundColor":"#fff","borderStyle":"white"},"subPackages":[{"root":"pages/category","pages":["index"]},{"root":"pages/search","pages":["index"]},{"root":"pages/classList","pages":["index"]},{"root":"pages/details","pages":["index"]},{"root":"pages/searchList","pages":["searchList","hightSearchList","search"]},{"root":"pages/userEdit","pages":["index"]},{"root":"pages/addressManager","pages":["index"]},{"root":"pages/addressAdd","pages":["index"]},{"root":"pages/company","pages":["index"]},{"root":"pages/weightList","pages":["index"]},{"root":"pages/weightListAdd","pages":["index"]},{"root":"pages/order","pages":["index","comfirm","speedComfirm","orderList/index"]},{"root":"pages/editOrder","pages":["index"]},{"root":"pages/subjectList","pages":["index"]},{"root":"pages/creditLine","pages":["index"]},{"root":"pages/creditUsed","pages":["index"]},{"root":"pages/depositBeforehandDetail","pages":["index"]},{"root":"pages/depositBeforehand","pages":["index"]},{"root":"pages/depositList","pages":["index"]},{"root":"pages/salesAfter","pages":["index","salesAfterList/index"]},{"root":"pages/applyAfterSales","pages":["index"]},{"root":"pages/collection","pages":["index","collectionDetail/index"]},{"root":"pages/sampleComparison","pages":["index"]},{"root":"pages/inviteCode","pages":["index","inviteFriends/index"]},{"root":"pages/codeSetting","pages":["index","codeColorList/index"]},{"root":"pages/codeList","pages":["index"]},{"root":"pages/colorCardClipping","pages":["index"]},{"root":"pages/colorCardList","pages":["index"]},{"root":"pages/colorCardOrder","pages":["index"]},{"root":"pages/colorCardOrderDetail","pages":["index"]},{"root":"pages/cutSampleList","pages":["index"]},{"root":"pages/cutSampleListOrder","pages":["index"]},{"root":"pages/cutSampleListOrderDetail","pages":["index"]},{"root":"pages/login","pages":["index"]},{"root":"pages/clauseDetail","pages":["index"]},{"root":"pages/activityIncome","pages":["index","withdraw/index","withdrawalRecord/index","withdrawalRecordDetail/index"]},{"root":"pages/bankCardMananger","pages":["addBankCard/index","editBankCard/index"]}]}
+1
View File
File diff suppressed because one or more lines are too long
+1122
View File
File diff suppressed because it is too large Load Diff
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[3367],{},function(n){n.O(0,[2107,1216],(function(){return s=4560,n(n.s=s);var s}));n.O()}]);
+1
View File
@@ -0,0 +1 @@
{"component":true,"usingComponents":{"comp":"./comp"},"custom-wrapper":"./custom-wrapper"}
+2
View File
@@ -0,0 +1,2 @@
<import src="./base.wxml" />
<template is="tmpl_0_container" data="{{i:i,l:l}}" />
+1
View File
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[3493],{},function(n){n.O(0,[2107,1216],(function(){return s=9313,n(n.s=s);var s}));n.O()}]);
+1
View File
@@ -0,0 +1 @@
{"component":true,"usingComponents":{"comp":"./comp","custom-wrapper":"./custom-wrapper"}}
+4
View File
@@ -0,0 +1,4 @@
<import src="./base.wxml" />
<block wx:for="{{i.cn}}" wx:key="sid">
<template is="tmpl_0_container" data="{{i:item,l:''}}" />
</block>
+1
View File
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[7335],{8650:function(e,s,a){var n=a(2180),i=a(4165),l=a(5861),c=a(1515),_=a(2954),t=a.n(_),r="index-module__main___alpM7",d="index-module__header___dJHv1",x="index-module__header_balance_total___f8YMz",o="index-module__balance___h2UvW",m="index-module__balance_num___BbjnZ",h="index-module__accumulative_count___XojYi",u="index-module__withdraw___Br1dD",j="index-module__price_list___LoOGr",v="index-module__price_list_item___OnSHJ",p="index-module__con___PtrxU",f="index-module__toBeSettled___DRidF",G="index-module__text___QVWJL",N="index-module__price___YSUD6",w="index-module__card___S_HY_",b="index-module__title___O85Ou",y="index-module__card_list___nsDcE",g="index-module__card_item___Y4zRB",k=a(6028),D=a(1115),S=a(8106),Z=a(4158),B=a(4123),C=a(9498),F=a(5893),activityIncome=function(){(0,C.av)("pages/activityIncome/index");var e=(0,S.ly)(),s=e.fetchData,a=e.state,n=function(){var e=(0,l.Z)((0,i.Z)().mark((function _callee(){return(0,i.Z)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s();case 2:t().stopPullDownRefresh();case 3:case"end":return e.stop()}}),_callee)})));return function getData(){return e.apply(this,arguments)}}();return(0,_.usePullDownRefresh)((function(){n()})),(0,_.useReady)((function(){n()})),(0,F.jsxs)(c.G7,{className:r,children:[(0,F.jsxs)(c.G7,{className:d,children:[(0,F.jsxs)(c.G7,{className:x,children:[(0,F.jsxs)(c.G7,{className:o,children:[(0,F.jsx)(c.G7,{children:"账户余额(元)"}),(0,F.jsx)(c.G7,{className:m,children:(0,Z.yb)(a.data.balance,100,!0)}),(0,F.jsxs)(c.G7,{className:h,children:["累计收益",(0,F.jsx)(c.xv,{children:(0,Z.yb)(a.data.total_income,100,!0)}),"元"]})]}),(0,F.jsxs)(c.G7,{className:u,onClick:function openWithdraw(){(0,D.jD)("/pages/activityIncome/withdraw/index")},children:[(0,F.jsx)(k.Z,{name:"icon-lijitixian",size:37}),(0,F.jsx)(c.xv,{children:"立即提现"}),(0,F.jsx)(k.Z,{name:"icon-rukou",color:"#fff",size:35})]})]}),(0,F.jsx)(B.Z,{direction:"horizontal",customStyles:{margin:"0",opacity:"0.3",transform:"translateY(1px) scaleY(0.6)"}}),(0,F.jsxs)(c.G7,{className:j,children:[(0,F.jsxs)(c.G7,{className:v,children:[(0,F.jsx)(c.xv,{children:"昨日收益(元)"}),(0,F.jsx)(c.xv,{children:(0,Z.yb)(a.data.today_income,100,!0)})]}),(0,F.jsx)(B.Z,{direction:"vertical",customStyles:{margin:"0",height:"100rpx",opacity:"0.3",transform:"scaleX(0.6)"}}),(0,F.jsxs)(c.G7,{className:v,children:[(0,F.jsx)(c.xv,{children:"近14日收益(元)"}),(0,F.jsx)(c.xv,{children:(0,Z.yb)(a.data.recently_fourteen_day_income,100,!0)})]})]})]}),(0,F.jsxs)(c.G7,{className:p,children:[(0,F.jsxs)(c.G7,{className:f,children:[(0,F.jsxs)(c.G7,{className:G,onClick:function openMsg(){t().showModal({title:"提示",showCancel:!1,content:"每笔订单产生的返佣,在已收货14天后会自动到账账户余额中,期间中途产生的退货条数会自动扣除,每天09:00自动更新收益。",confirmColor:"#337fff",confirmText:"我知道了"})},children:[(0,F.jsx)(c.xv,{children:"待结算收益(元)"}),(0,F.jsx)(k.Z,{name:"icon-tishi",size:30})]}),(0,F.jsx)(c.G7,{className:N,children:(0,Z.yb)(a.data.wait_settle_income,100,!0)})]}),(0,F.jsxs)(c.G7,{className:w,children:[(0,F.jsxs)(c.G7,{className:b,children:[(0,F.jsx)(c.xv,{}),(0,F.jsx)(c.xv,{children:"主动收益"})]}),(0,F.jsxs)(c.G7,{className:y,children:[(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.wait_settle_bulk_roll||0,"条"]}),(0,F.jsx)(c.xv,{children:"大货条数"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[(0,Z.yb)(a.data.wait_settle_bulk_income,100,!0),"元"]}),(0,F.jsx)(c.xv,{children:"大货收益"})]})]})]}),(0,F.jsxs)(c.G7,{className:w,children:[(0,F.jsxs)(c.G7,{className:b,children:[(0,F.jsx)(c.xv,{}),(0,F.jsx)(c.xv,{children:"被动收益"})]}),(0,F.jsxs)(c.G7,{className:y,children:[(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.passive_wait_settle_bulk_roll||0,"条"]}),(0,F.jsx)(c.xv,{children:"大货条数"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[(0,Z.yb)(a.data.passive_wait_settle_bulk_income,100,!0),"元"]}),(0,F.jsx)(c.xv,{children:"大货收益"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.passive_wait_settle_user_nums||0,"位"]}),(0,F.jsx)(c.xv,{children:"下单用户"})]}),(0,F.jsxs)(c.G7,{className:g,children:[(0,F.jsxs)(c.xv,{children:[a.data.passive_wait_settle_bulk_order_nums||0,"单"]}),(0,F.jsx)(c.xv,{children:"订单数量"})]})]})]})]})]})};activityIncome.enableShareAppMessage=!0;Page((0,n.createPageConfig)(activityIncome,"pages/activityIncome/index",{root:{cn:[]}},{navigationBarTitleText:"活动收益",navigationBarTextStyle:"white",enableShareAppMessage:!0,navigationBarBackgroundColor:"#4A7FFF",enablePullDownRefresh:!0,backgroundColorTop:"#4A7FFF"}||{}))}},function(e){e.O(0,[2107,1216,8592],(function(){return s=8650,e(e.s=s);var s}));e.O()}]);
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"活动收益","navigationBarTextStyle":"white","navigationBarBackgroundColor":"#4A7FFF","enablePullDownRefresh":true,"backgroundColorTop":"#4A7FFF","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
.index-module__common_safe_area_y___TfGaJ{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___IvFjO{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___Zf65j{height:100%;width:100%}.index-module__scroll_main___rWSFU{height:100%}.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by{-ms-flex-pack:center;color:#ababab;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:24rpx;-webkit-justify-content:center;justify-content:center;width:100%}.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__loading_more___Iljay{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex}.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__noMore___kPVsd{padding-top:20rpx}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8337],{4356:function(e,s,c){var n=c(1515),l=c(4184),a=c.n(l),i=c(7294),r=c(6028),t=c(8031),o=c(5893);s.Z=function Cell(e){var s=e.title,c=e.desc,l=e.isLink,u=void 0!==l&&l,m=e.customClassName,d=e.customTitleClassName,x=e.customStyle,h=e.onClick,j=e.iconName,N=e.customDescClassName,k=(0,i.useRef)(h);k.current=h;var v=(0,i.useCallback)((function(){var e;return u&&(null===(e=k.current)||void 0===e?void 0:e.call(k))}),[u]),C=(0,i.useMemo)((function(){return(0,o.jsxs)(n.G7,{className:a()(t.Z.cell,m),style:x,onClick:v,children:[(0,o.jsxs)(n.G7,{className:a()(t.Z.title,d),children:[j&&(0,o.jsx)(r.Z,{name:j,size:46}),(0,o.jsx)(n.G7,{children:s})]}),(0,o.jsxs)(n.G7,{className:t.Z.desc,children:[(0,o.jsx)(n.G7,{className:a()(t.Z.descText,N),children:c}),u&&(0,o.jsx)(r.Z,{name:"icon-rukou",size:46,color:"inherit"})]})]})}),[s,c,v,x]);return(0,o.jsx)(o.Fragment,{children:C})}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[33],{1805:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___qVHLM",hoverClass:"index-module__hoverClass___xmc2X","full-100":"index-module__full-100___f4rUs",mainBox:"index-module__mainBox___oYq7z",pic:"index-module__pic___jqHuf",text:"index-module__text___cFKLZ"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1157],{2711:function(e,r,o){var n=o(1515),l=o(7294),s=o(4508),t=o(9218),c=o(6541),i=o(1027),f=o(2495),u=o(5893),a=function InfiniteScroll(e){var r=e.styleObj,o=e.selfonScrollToLower,a=e.selfOnScrollToUpper,h=e.selfOnScroll,d=e.selfOnRefresherPulling,p=e.selfOnRefresherRefresh,m=e.selfOnRefresherRestore,R=e.selfOnRefresherAbort,x=e.safeAreaInsetBottom,T=void 0===x||x,g=e.enableLoadMoreStatus,S=void 0===g||g,j=e.children,v=e.lowerThresholdNum,b=void 0===v?30:v,w=e.paddingBottom,Z=void 0===w?0:w,N=e.refresherTriggered,B=void 0!==N&&N,O=e.refresherEnabled,y=void 0!==O&&O,G=e.moreStatus,U=void 0===G||G,_=e.statusMore,k=void 0===_?0:_,A=e.enableBackToTop,F=void 0===A||A,L=e.emptySlot,M=e.defaultUrl,P=void 0===M?"":M,C=e.defaultText,E=void 0===C?"":C,I=(0,l.useMemo)((function(){if(0==k)return.1}),[k]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(n.pf,{id:"infiniteScroll",style:r,className:t.Z.scroll_main,scrollY:!0,onScrollToLower:function onScrollToLower(){return function scrollToLower(){null==o||o()}()},onScrollToUpper:function onScrollToUpper(){return function scrollToUpper(){null==a||a()}()},onScroll:function onScroll(e){return function scroll(e){null==h||h(e)}(e)},lowerThreshold:b,refresherEnabled:y,refresherTriggered:B,onRefresherPulling:function onRefresherPulling(){return function refresherPulling(){null==d||d()}()},onRefresherRefresh:function onRefresherRefresh(){return function refresherRefresh(){null==p||p()}()},onRefresherRestore:function onRefresherRestore(){return function refresherRestore(){null==m||m()}()},onRefresherAbort:function onRefresherAbort(){return function refresherAbort(){null==R||R()}()},refresherBackground:"#F8F8F8",enableBackToTop:F,scrollTop:I,children:[function component(){return S&&U?(0,u.jsxs)(u.Fragment,{children:[(2==k||3==k)&&(0,u.jsxs)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:[j,(0,u.jsx)(n.G7,{className:t.Z.infinite_scroll,children:2==k?(0,u.jsxs)(n.G7,{className:t.Z.loading_more,children:["加载中",(0,u.jsx)(c.Z,{})]}):(0,u.jsx)(n.G7,{className:t.Z.noMore,children:"没有更多数据了"})})]}),0==k&&(0,u.jsx)(s.Z,{}),1==k&&(L||(0,u.jsx)(i.Z,{picUrl:P?"".concat(f.KC).concat(P):f.up,text:E||"暂无数据"}))]}):(0,u.jsx)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:j})}(),T&&(0,u.jsx)(n.G7,{className:"common_safe_area_y"})]})})};r.Z=(0,l.memo)(a)}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8044],{9218:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___TfGaJ",hoverClass:"index-module__hoverClass___IvFjO","full-100":"index-module__full-100___Zf65j",scroll_main:"index-module__scroll_main___rWSFU",infinite_scroll:"index-module__infinite_scroll___GY4by",loading_more:"index-module__loading_more___Iljay",noMore:"index-module__noMore___kPVsd"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5481],{8031:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___Hy8CD",hoverClass:"index-module__hoverClass____48Wr","full-100":"index-module__full-100___cUILc",cell:"index-module__cell___hk78p",title:"index-module__title___zZSXo",desc:"index-module__desc___qzpy8",descText:"index-module__descText___vWAke"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4763],{1027:function(s,e,a){var c=a(1515),i=a(7294),t=a(1805),n=a(5893),o=function Empty(s){var e=s.picUrl,a=void 0===e?"":e,i=s.text,o=void 0===i?"无搜索历史":i;return(0,n.jsxs)(c.G7,{className:t.Z.mainBox,children:[(0,n.jsx)(c.Ee,{className:t.Z.pic,mode:"aspectFill",lazyLoad:!0,src:a}),(0,n.jsx)(c.G7,{className:t.Z.text,children:o})]})};e.Z=(0,i.memo)(o)}}]);
@@ -0,0 +1 @@
.index-module__common_safe_area_y___Hy8CD{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass____48Wr{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___cUILc{height:100%;width:100%}.index-module__cell___hk78p{-ms-flex-pack:justify;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;font-size:28rpx;-webkit-justify-content:space-between;justify-content:space-between;padding:12rpx 0}.index-module__cell___hk78p .index-module__title___zZSXo{color:#a9a9a9;-webkit-flex:none;-ms-flex:none;flex:none;min-width:140rpx}.index-module__cell___hk78p .index-module__desc___qzpy8{-ms-flex-align:center;-ms-flex-pack:end;-webkit-align-items:center;align-items:center;color:#3c3c3c;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-justify-content:flex-end;justify-content:flex-end}.index-module__descText___vWAke{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:normal;word-break:break-all}
@@ -0,0 +1 @@
.index-module__common_safe_area_y___qVHLM{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___xmc2X{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___f4rUs{height:100%;width:100%}.index-module__mainBox___oYq7z{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-justify-content:center;justify-content:center}.index-module__mainBox___oYq7z .index-module__pic___jqHuf{height:322rpx;margin-bottom:24rpx;width:522rpx}.index-module__mainBox___oYq7z .index-module__text___cFKLZ{color:#ababab;font-size:26rpx;font-weight:400}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"立即提现","navigationBarTextStyle":"white","navigationBarBackgroundColor":"#4A7FFF","enablePullDownRefresh":true,"backgroundColorTop":"#4A7FFF","usingComponents":{"custom-wrapper":"../../../custom-wrapper","comp":"../../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
"use strict";require("../sub-common/f4c310eb2be6eab138d2a13361444531.js");require("../sub-common/a8d82d74f1630f15b70c7047aaba5a8e.js");require("../sub-common/c242456b15f273dfd32ffdaacbebbab5.js");require("../sub-common/ccecbdad79f94040bf0dd39faee4ec96.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[88],{7921:function(e,a,n){var r=n(2180),t=n(4165),s=n(5861),c=n(1413),l=n(9439),i=n(1515),o=n(7294),u="index-module__main___U7rvJ",d="index-module__content___TK16x",_="index-module__cell___MdGRz",f="index-module__cellLeft___lqzRQ",h="index-module__title___JfIgE",m="index-module__time___ooeHu",x="index-module__cellRight___zftIU",p="index-module__des___aQbBX",g="index-module__more___FDdha",w="index-module__balance___B7h7A",v=n(2711),b=n(8093),Z=n(6028),j=n(1115),G=n(8106),N=n(4158),R=n(9498),k=n(5893),y=function WithdrawalRecord(){var e=(0,G.N2)(),a=e.fetchData,n=e.state;(0,R.av)("pages/activityIncome/withdrawalRecord/index");var r=(0,o.useState)(!1),y=(0,l.Z)(r,2),z=y[0],C=y[1],D=(0,o.useState)({list:[],total:0}),S=(0,l.Z)(D,2),T=S[0],B=S[1],I=(0,o.useMemo)((function(){return(0,b.rA)({list:T.list,total:n.total,status:n.loading})}),[T,n]),M=(0,o.useState)({page:1,size:10}),A=(0,l.Z)(M,2),J=A[0],E=A[1],O=(0,o.useCallback)((function(){if(T.list.length<T.total){P.current.page++;var e=P.current.size*P.current.page;E((function(a){return(0,c.Z)((0,c.Z)({},a),{},{size:e})}))}}),[T]);(0,o.useEffect)((function(){Q()}),[J]);var P=(0,o.useRef)({size:J.size,page:J.page}),L=function(){var e=(0,s.Z)((0,t.Z)().mark((function _callee(){return(0,t.Z)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:P.current.size=10,P.current.page=1,C(!0),E((function(e){return(0,c.Z)((0,c.Z)({},e),{},{size:10})}));case 4:case"end":return e.stop()}}),_callee)})));return function getRefresherRefresh(){return e.apply(this,arguments)}}(),Q=function(){var e=(0,s.Z)((0,t.Z)().mark((function _callee2(){var e;return(0,t.Z)().wrap((function _callee2$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a();case 2:(e=n.sent).success?(B({list:e.data.list,total:e.data.total}),C(!1)):j.Z9.error("数据获取失败");case 4:case"end":return n.stop()}}),_callee2)})));return function getData(){return e.apply(this,arguments)}}();return(0,k.jsx)(i.G7,{className:u,children:(0,k.jsx)(i.G7,{className:d,children:(0,k.jsx)(v.Z,{selfonScrollToLower:O,refresherTriggered:z,statusMore:I,refresherEnabled:!0,selfOnRefresherRefresh:L,children:T.list.map((function(e,a){var n=1===e.record_type;return(0,k.jsxs)(i.G7,{className:_,onClick:function onClick(){return n?function handleClickDetail(e){(0,j.jD)("/pages/activityIncome/withdrawalRecordDetail/index",{id:e.withdraw_id})}(e.withdraw_record_detail):null},children:[(0,k.jsxs)(i.G7,{className:f,children:[1===e.record_type?(0,k.jsx)(i.G7,{className:h,children:e.record_type_name}):(0,k.jsxs)(i.G7,{className:h,children:["单号:",e.sale_order_no]}),(0,k.jsx)(i.G7,{className:m,children:(0,N.o0)(e.record_time)})]}),(0,k.jsxs)(i.G7,{className:x,children:[(0,k.jsxs)(i.G7,{className:d,children:[(0,k.jsx)(i.G7,{className:p,children:e.amount>0?"+".concat((0,N.yb)(e.amount,100,!0)):(0,N.yb)(e.amount,100,!0)}),(0,k.jsxs)(i.G7,{className:w,children:["余额 ",(0,N.yb)(e.balance,100,!0)]})]}),(0,k.jsx)(i.G7,{className:g,children:n&&(0,k.jsx)(Z.Z,{name:"icon-rukou",color:"#3b3b3b"})})]})]},a)}))})})})};y.enableShareAppMessage=!0;Page((0,r.createPageConfig)(y,"pages/activityIncome/withdrawalRecord/index",{root:{cn:[]}},{navigationBarTitleText:"提现记录",navigationBarTextStyle:"black",enableShareAppMessage:!0,navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!0,backgroundColorTop:"#fff"}||{}))}},function(e){e.O(0,[1704,4763,33,1157,9624,8044,2107,1216,8592],(function(){return a=7921,e(e.s=a);var a}));e.O()}]);
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"提现记录","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#fff","enablePullDownRefresh":true,"backgroundColorTop":"#fff","usingComponents":{"custom-wrapper":"../../../custom-wrapper","comp":"../../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+1
View File
@@ -0,0 +1 @@
@import "../sub-common/f77e1a3e6cf67ecdf8543a516968d26a.wxss";@import "../sub-common/431937c1bc270af0318ef77eec156c55.wxss";.index-module__common_safe_area_y___xW4pg{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___qbdCZ{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___XEQhp{height:100%;width:100%}page{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100vh}.index-module__main___U7rvJ{background-color:#f7f7f7;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100%;overflow:hidden}.index-module__main___U7rvJ .index-module__content___TK16x{background-color:#fff;height:100%;margin-top:20rpx}.index-module__cell___MdGRz{-ms-flex-align:center;-ms-flex-pack:justify;-webkit-align-items:center;align-items:center;border-bottom:1px solid #eaeaea;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;justify-content:space-between;margin:0 32rpx;padding:20rpx 0}.index-module__cell___MdGRz .index-module__cellLeft___lqzRQ{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.index-module__cell___MdGRz .index-module__cellLeft___lqzRQ .index-module__title___JfIgE{color:#333;font-size:28rpx;line-height:2}.index-module__cell___MdGRz .index-module__cellLeft___lqzRQ .index-module__time___ooeHu{color:#9e9e9e;font-size:28rpx}.index-module__cell___MdGRz .index-module__cellRight___zftIU{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;position:relative}.index-module__cell___MdGRz .index-module__cellRight___zftIU .index-module__content___TK16x{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;padding-right:56rpx}.index-module__cell___MdGRz .index-module__cellRight___zftIU .index-module__des___aQbBX{color:#333;font-size:28rpx;font-weight:500;line-height:2;text-align:right}.index-module__cell___MdGRz .index-module__cellRight___zftIU .index-module__more___FDdha{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);z-index:1}.index-module__cell___MdGRz .index-module__cellRight___zftIU .index-module__balance___B7h7A{color:#9e9e9e;font-size:28rpx;text-align:right}
@@ -0,0 +1 @@
"use strict";require("../sub-common/74fd6831107a599edf8b0da833b319c8.js");require("../sub-common/e60f11078fe4f50317e2c6684921c6c6.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1551],{381:function(e,a,t){var n=t(2180),s=t(4165),o=t(5861),l=t(9439),i=t(1515),c=t(2954),_=t(7294),r=t(4184),u=t.n(r),d={common_safe_area_y:"index-module__common_safe_area_y___Dzow1",hoverClass:"index-module__hoverClass___W8lDD","full-100":"index-module__full-100___Dlncm",passBackground:"index-module__passBackground___RqpK1",refuseBackground:"index-module__refuseBackground___LtYom",pendingBackground:"index-module__pendingBackground___apeTn",status:"index-module__status___YRuVO",statusTitle:"index-module__statusTitle___WHKLz",statusName:"index-module__statusName___TzXE4",refuseName:"index-module__refuseName___qZ46M",passName:"index-module__passName___yZifx",pendingName:"index-module__pendingName___hWUVd",price:"index-module__price___NqA5d",main:"index-module__main___QaPRc",title:"index-module__title___TbKBt",total:"index-module__total___F08PB",layoutBlock:"index-module__layoutBlock___QN_Kc",cell:"index-module__cell___ul6YO"},m=t(6028),x=t(519),p=t(4123),f=t(4356),N=t(4158),g=t(8106),h=t(9498),k=t(5893),S=function(e){return e[e.NONE=0]="NONE",e[e.PENDING=1]="PENDING",e[e.PASS=2]="PASS",e[e.REFUSE=3]="REFUSE",e}(S||{}),j=function ServicesNotification(e){var a=e.auditStatus,t=e.baseData,n=(0,_.useMemo)((function(){var e={background:"",textColor:"",icon:null};return a===S.PENDING?(e.background=d.pendingBackground,e.textColor=d.pendingName,e.icon=(0,k.jsx)(m.Z,{name:"icon-daishenhe",size:56,color:"#337fff"})):a===S.PASS?(e.background=d.passBackground,e.textColor=d.passName,e.icon=(0,k.jsx)(m.Z,{name:"icon-shenhetongguo",size:56,color:"#03b15f"})):a===S.REFUSE&&(e.background=d.refuseBackground,e.textColor=d.refuseName,e.icon=(0,k.jsx)(m.Z,{name:"icon-shenhejujue",size:56,color:"#f64861"})),e}),[a]);return(0,k.jsx)(i.G7,{className:u()(d.status,n.background),children:(0,k.jsxs)(i.G7,{className:d.statusLeft,children:[(0,k.jsxs)(i.G7,{className:d.statusTitle,children:[n.icon,(0,k.jsx)(i.xv,{className:u()(d.statusName,n.textColor),children:t.payment_status_name})]}),(0,k.jsxs)(i.G7,{className:d.price,children:[a===S.PENDING&&"申请提交中1-3个工作审核",a===S.PASS&&"提现时间:".concat((0,N.o0)(t.finished_time)),a===S.REFUSE&&"请重新申请或联系客服"]})]})})},b=function WithdrawalRecordDetail(){var e=(0,c.useRouter)();(0,h.av)("pages/activityIncome/withdrawalRecordDetail/index");var a=(0,_.useState)({}),t=(0,l.Z)(a,2),n=t[0],r=t[1],u=(0,g.wG)().fetchData,m=function(){var a=(0,o.Z)((0,s.Z)().mark((function _callee(){var a;return(0,s.Z)().wrap((function _callee$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u({id:e.params.id});case 2:a=t.sent,r(a.data);case 4:case"end":return t.stop()}}),_callee)})));return function getData(){return a.apply(this,arguments)}}();return(0,c.useDidShow)((function(){m()})),(0,k.jsxs)(i.G7,{className:d.main,children:[(0,k.jsx)(j,{auditStatus:n.payment_status,baseData:n}),(0,k.jsxs)(x.Z,{circle:!0,customClassName:d.layoutBlock,children:[(0,k.jsx)(i.G7,{className:d.title,children:"提现金额(元)"}),(0,k.jsx)(i.G7,{className:d.total,children:(0,N.yb)(n.withdraw_amount,100,!0)}),(0,k.jsx)(p.Z,{direction:"horizontal",customStyles:{marginBottom:"20rpx"}}),(0,k.jsx)(f.Z,{customTitleClassName:d.cell,title:"银行卡号:",desc:n.bank_card_no}),(0,k.jsx)(f.Z,{customTitleClassName:d.cell,title:"银行名称:",desc:n.bank_name}),(0,k.jsx)(f.Z,{customTitleClassName:d.cell,title:"申请人:",desc:n.apply_purchaser_name}),(0,k.jsx)(f.Z,{customTitleClassName:d.cell,title:"申请时间:",desc:(0,N.o0)(n.apply_time)})]})]})};b.enableShareAppMessage=!0;Page((0,n.createPageConfig)(b,"pages/activityIncome/withdrawalRecordDetail/index",{root:{cn:[]}},{navigationBarTitleText:"提现申请",navigationBarTextStyle:"black",enableShareAppMessage:!0,navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!0,backgroundColorTop:"#fff"}||{}))}},function(e){e.O(0,[8337,578,5481,2107,1216,8592],(function(){return a=381,e(e.s=a);var a}));e.O()}]);
@@ -0,0 +1 @@
{"navigationBarTitleText":"提现申请","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#fff","enablePullDownRefresh":true,"backgroundColorTop":"#fff","usingComponents":{"custom-wrapper":"../../../custom-wrapper","comp":"../../../comp"}}
@@ -0,0 +1,2 @@
<import src="../../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
@@ -0,0 +1 @@
@import "../sub-common/f76def822fcdce8a4dac1f910b3939bc.wxss";.index-module__common_safe_area_y___Dzow1{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___W8lDD{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___Dlncm{height:100%;width:100%}page{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100vh}.index-module__passBackground___RqpK1{background:url(https://cdn.zzfzyc.com/orderDetail/pass_background.png);background-repeat:no-repeat;background-size:contain}.index-module__refuseBackground___LtYom{background-image:url(https://cdn.zzfzyc.com/orderDetail/refuse_background.png);background-repeat:no-repeat;background-size:contain}.index-module__pendingBackground___apeTn{background:url(https://cdn.zzfzyc.com/orderDetail/pending_background.png);background-repeat:no-repeat;background-size:contain}.index-module__status___YRuVO{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;height:257rpx;left:0;padding:40rpx 32rpx;position:absolute;top:0;width:100%}.index-module__status___YRuVO .index-module__statusTitle___WHKLz{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.index-module__status___YRuVO .index-module__statusTitle___WHKLz .index-module__statusName___TzXE4{font-size:40rpx;margin-left:10rpx}.index-module__status___YRuVO .index-module__statusTitle___WHKLz .index-module__refuseName___qZ46M{color:#f65269}.index-module__status___YRuVO .index-module__statusTitle___WHKLz .index-module__passName___yZifx{color:#00ab5b}.index-module__status___YRuVO .index-module__statusTitle___WHKLz .index-module__pendingName___hWUVd{color:#333}.index-module__status___YRuVO .index-module__price___NqA5d{color:#757172;font-size:26rpx;margin-top:16rpx}.index-module__main___QaPRc{background-color:#f7f7f7;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100%;overflow:hidden}.index-module__main___QaPRc .index-module__title___TbKBt{-ms-flex-pack:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;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;justify-content:center;margin-top:30rpx}.index-module__main___QaPRc .index-module__total___F08PB{color:#191919;font-size:60rpx;font-weight:700;margin-top:10rpx;text-align:center}.index-module__layoutBlock___QN_Kc{margin-top:170rpx;position:relative;z-index:1}.index-module__cell___ul6YO{color:#3c3c3c;padding-left:10rpx;padding-right:10rpx}
+1
View File
@@ -0,0 +1 @@
"use strict";require("./sub-common/069fbdb91ae3f39c34ae83e1385a4a9e.js");require("./sub-common/1e32a4226c1f4248008b724a66d2a8d6.js");require("./sub-common/62ff006ce06f62c628da6cac3a2490db.js");require("./sub-common/6b898468c1c8f72aeea594401de98618.js");require("./sub-common/da33ff4827f2141afdf2ed686cb78e59.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2953],{3988:function(e,a,t){var n=t(2180),s=t(1413),d=t(4165),i=t(5861),r=t(9439),c=t(1515),l=t(2954),u=t.n(l),o=t(7294),f=t(1115),p=t(8214),h=t(8044),_=t(8487),m=t(4408),v=t(9498),x=t(5893),Z=function AddressAdd(){(0,m.Z)(),(0,v.av)("pages/addressAdd/index");var e=(0,o.useState)(!1),a=(0,r.Z)(e,2),t=a[0],n=a[1],Z=(0,l.useRouter)().params,g=Z.type,k=Z.id,j=(0,o.useState)({name:"",phone:"",site:"",siteArray:[],district_id:"",address_detail:"",is_default:!1,id:0}),b=(0,r.Z)(j,2),y=b[0],C=b[1],A=(0,_.k_)().fetchData,w=function(){var e=(0,i.Z)((0,d.Z)().mark((function _callee(){var e,a,t,n,s,i,r,c,l;return(0,d.Z)().wrap((function _callee$(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,A({id:k});case 2:e=d.sent,a=e.data,t=a.province_id,n=a.province_name,s=a.city_id,i=a.city_name,r=a.district_id,c=a.district_name,l=[{id:t,name:n}],s&&l.push({id:s,name:i}),r&&l.push({id:r,name:c}),C({name:e.data.name,phone:e.data.phone,site:l.map((function(e){return e.name})).join(" "),siteArray:l,district_id:e.data.district_id,address_detail:e.data.address_detail,is_default:e.data.is_default,id:e.data.id});case 8:case"end":return d.stop()}}),_callee)})));return function initalFormData(){return e.apply(this,arguments)}}(),N=(0,_.ln)().fetchData,S=(0,_.Dn)().fetchData,I={name:[{message:"请输入正确收货人姓名"}],phone:[{message:"请输入正确的电话号码",regex:/^1[3|5|6|9|2|8|7]\d{9}$/}],district_id:[{message:"请选择地址"}],address_detail:[{message:"请输入详细地址"}]};(0,o.useEffect)((function(){"add"==g?(0,l.setNavigationBarTitle)({title:"新增收货地址"}):(w(),(0,l.setNavigationBarTitle)({title:"编辑收货地址"}))}),[]);var D=(0,o.useState)(!1),G=(0,r.Z)(D,2),O=G[0],P=G[1];(0,o.useEffect)((function(){f.Pc&&(0,f.Pc)(y).then((function(){return P(!0)})).catch((function(){return P(!1)}))}),[y]);return(0,x.jsxs)(c.G7,{className:"add-address",children:[(0,x.jsx)(h.Z,{onInput:function onInput(e){return C((0,s.Z)((0,s.Z)({},y),{},{name:e.detail.value}))},value:y.name,label:"联系人",placeholder:"请输入收货人姓名"}),(0,x.jsx)(h.Z,{primordialType:"number",onInput:function onInput(e){return C((0,s.Z)((0,s.Z)({},y),{},{phone:e.detail.value}))},value:y.phone,label:"联系方式",placeholder:"请输入联系方式"}),(0,x.jsx)(h.Z,{value:y.site,onClick:function onClick(){return n(!0)},label:"收货地址",type:"select",placeholder:"请选择/省/市/区"}),(0,x.jsx)(h.Z,{onInput:function onInput(e){return C((0,s.Z)((0,s.Z)({},y),{},{address_detail:e.detail.value}))},value:y.address_detail,label:"详细地址",type:"textarea",placeholder:"请输入详细地址(街道、门牌号等)"}),(0,x.jsxs)(c.G7,{className:"add-address-default",children:[(0,x.jsx)(c.xv,{children:"设为默认地址"}),(0,x.jsx)(c.G7,{onClick:function onClick(){return C((0,s.Z)((0,s.Z)({},y),{},{is_default:!y.is_default}))},children:y.is_default?(0,x.jsx)(c.G7,{className:"add-address-default-active",children:(0,x.jsx)(c.xv,{className:"iconfont icon-tick"})}):(0,x.jsx)(c.G7,{className:"add-address-default-noactive"})})]}),(0,x.jsx)(c.zx,{style:{background:O?"#007aff":""},hoverClass:"none",className:"add-address-save",onClick:function handleSave(){(0,f.Pc)(y,I).then((0,i.Z)((0,d.Z)().mark((function _callee2(){var e;return(0,d.Z)().wrap((function _callee2$(a){for(;;)switch(a.prev=a.next){case 0:if("add"!=g){a.next=6;break}return a.next=3,N({name:y.name,phone:y.phone,district_id:y.district_id,address_detail:y.address_detail,is_default:y.is_default});case 3:a.t0=a.sent,a.next=9;break;case 6:return a.next=8,S({name:y.name,phone:y.phone,district_id:y.district_id,address_detail:y.address_detail,is_default:y.is_default,id:y.id});case 8:a.t0=a.sent;case 9:(e=a.t0).success?(u().eventCenter.trigger("addressList:refresh"),u().navigateBack(),f.Z9.success("保存成功")):f.Z9.error(e.msg);case 11:case"end":return a.stop()}}),_callee2)})))).catch((function(e){f.Z9.none(e)}))},children:"保存"}),(0,x.jsx)(p.Z,{addressOnChange:function handleSetSite(e){var a;e.length>0?C((0,s.Z)((0,s.Z)({},y),{},{siteArray:e,site:e.map((function(e){return"".concat(e.name," ")})),district_id:null===(a=e[e.length-1])||void 0===a?void 0:a.id})):f.Z9.error("请选择地址")},defaultValue:y.siteArray,addressOnClose:function addressOnClose(){return n(!1)},show:t})]})};Z.enableShareAppMessage=!0;Page((0,n.createPageConfig)(Z,"pages/addressAdd/index",{root:{cn:[]}},{navigationBarTitleText:"",enableShareAppMessage:!0}||{}))}},function(e){e.O(0,[2077,3865,1272,211,472,2586,81,2107,1216,8592],(function(){return a=3988,e(e.s=a);var a}));e.O()}]);
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+1
View File
@@ -0,0 +1 @@
@import "./sub-common/7c0b949216e22cb438b25adc02dd2c12.wxss";@import "./sub-common/47bbb1e0890cc1058cefb005188e92d4.wxss";.common_safe_area_y{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.hoverClass{-webkit-filter:brightness(70%);filter:brightness(70%)}.full-100{height:100%;width:100%}.add-address{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.add-address .add-address-default{-ms-flex-align:center;-ms-flex-pack:justify;-webkit-align-items:center;align-items:center;color:#000;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:26rpx;font-weight:700;-webkit-justify-content:space-between;justify-content:space-between;margin:70rpx 30rpx 0}.add-address .add-address-default-active{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#4581ff;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:45rpx;height:50rpx;-webkit-justify-content:center;justify-content:center;width:50rpx}.add-address .add-address-default-active text{font-size:35rpx}.add-address .add-address-default-noactive{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;border:2rpx solid #707070;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:50rpx;-webkit-justify-content:center;justify-content:center;width:50rpx}.add-address .add-address-save{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#68b4ff;border-radius:40rpx;bottom:50rpx;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:32rpx;font-weight:400;height:82rpx;-webkit-justify-content:center;justify-content:center;left:50%;position:fixed;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:668rpx}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2077],{8487:function(t,e,r){r.d(e,{BW:function(){return d},C_:function(){return l},Dn:function(){return i},k_:function(){return s},ln:function(){return u}});var n=r(749),d=function addressListApi(){return(0,n.Q)({url:"/v1/mall/address/list",method:"get"})},u=function addressAddApi(){return(0,n.Q)({url:"/v1/mall/address",method:"post"})},s=function addressDetailApi(){return(0,n.Q)({url:"/v1/mall/address",method:"get"})},i=function addressEditApi(){return(0,n.Q)({url:"/v1/mall/address",method:"put"})},l=function addressDeleteApi(){return(0,n.Q)({url:"/v1/mall/address",method:"delete"})}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1272],{8044:function(l,e,o){var n=o(1515),i=o(7294),s=o(5893),c=function FromList(l){var e,o=l.type,i=void 0===o?"input":o,c=l.value,r=void 0===c?"":c,a=l.style,t=void 0===a?{}:a,d=l.labelStyle,p=void 0===d?{}:d,u=l.contentStyle,h=void 0===u?{}:u,m=l.required,x=void 0!==m&&m;return(0,s.jsxs)(n.G7,{style:t,className:"form-list",children:[(0,s.jsx)(n.G7,{style:p,className:"form-list-label ".concat(x&&"form-list-label-required"),children:l.label}),(0,s.jsx)(n.G7,{onClick:null==l?void 0:l.onClick,className:"form-list-right",children:null!==(e=l.children)&&void 0!==e?e:(0,s.jsx)(n.G7,{style:h,onClick:null==l?void 0:l.onClick,className:"form-list-right-meet",children:"input"==i?(0,s.jsxs)(n.G7,{className:"form-list-input",children:[(0,s.jsx)(n.II,{alwaysEmbed:!0,cursorSpacing:150,value:r,"placeholder-class":"phcolor",type:l.primordialType||"text",onInput:null==l?void 0:l.onInput,placeholder:l.placeholder}),r&&(0,s.jsx)(n.G7,{children:(0,s.jsx)(n.xv,{onClick:function onClick(){return l.onInput&&l.onInput({detail:{value:""}})},className:"iconfont icon-qingkong"})})]}):"textarea"==i?(0,s.jsx)(n.gx,{value:r,"placeholder-class":"phcolor",onInput:null==l?void 0:l.onInput,placeholder:l.placeholder}):(0,s.jsxs)(s.Fragment,{children:[l.value?(0,s.jsx)(n.G7,{children:r}):(0,s.jsx)(n.G7,{className:"form-list-right-placeholder",children:l.placeholder}),(0,s.jsx)(n.G7,{className:"form-list-right-enter",children:(0,s.jsx)(n.xv,{className:"iconfont icon-a-moreback"})})]})})})]})};e.Z=(0,i.memo)(c)}}]);
@@ -0,0 +1 @@
.index-module__common_safe_area_y___x4eYy{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___h7SD1{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___UTe8u{height:100%;width:100%}.index-module__address_main___huJxL{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.index-module__address_main___huJxL .index-module__address_title___nnKsa{-ms-flex-pack:justify;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:28rpx;-webkit-justify-content:space-between;justify-content:space-between;padding:20rpx 20rpx 0}.index-module__address_main___huJxL .index-module__address_select___l33As{border-bottom:1px solid #eaeaea;color:#ababab;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:24rpx;margin-top:10rpx;padding:30rpx 0;position:relative}.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__address_item___mchDV{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;max-width:200rpx;overflow:hidden;padding:0 20rpx;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:normal;word-break:break-all}.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__bottom_index___J8o7V{background-color:#4581ff;border-radius:50rpx;bottom:0;height:2rpx;left:0;position:absolute;-webkit-transition:left .1s;-o-transition:left .1s;transition:left .1s;width:100rpx}.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{font-size:28rpx;padding:0 20rpx}.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG{-ms-flex-pack:justify;-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;justify-content:space-between;padding:20rpx 0}.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{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:normal;word-break:break-all}.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{color:#4581ff;font-size:30rpx!important}.index-module__address_main___huJxL .index-module__addresst_select___hviCA{color:#3c3c3c}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[211],{8214:function(e,n,t){var s=t(4942),r=t(4165),a=t(5861),c=t(9439),l=t(1515),i=t(2954),d=t.n(i),u=t(7294),o=t(4184),f=t.n(o),_=t(2090),m=t(5679),Z=t(2185),h=t(5893),v=function Address(e){var n=e.addressOnSelect,t=e.addressOnChange,i=e.addressOnClose,o=e.show,v=void 0!==o&&o,x=e.defaultValue,p=void 0===x?[]:x,k=(e.selectStatus,(0,u.useRef)([])),j=(0,u.useRef)([]),C=(0,u.useRef)([]),w=(0,u.useState)([]),g=(0,c.Z)(w,2),b=g[0],G=g[1],N=(0,u.useState)(0),S=(0,c.Z)(N,2),y=S[0],R=S[1],D=(0,u.useState)(1),E=(0,c.Z)(D,2),O=E[0],T=E[1],$=(0,u.useState)([]),I=(0,c.Z)($,2),J=I[0],A=I[1],F=(0,u.useState)(!1),P=(0,c.Z)(F,2),Q=P[0],V=P[1],Y=(0,u.useState)(!1),q=(0,c.Z)(Y,2),z=q[0],B=q[1],H=(0,u.useState)(!1),K=(0,c.Z)(H,2),L=(K[0],K[1]),M=(0,u.useState)({width:"100rpx",left:"0rpx"}),U=(0,c.Z)(M,2),W=U[0],X=U[1];(0,u.useEffect)((function(){0==J.length&&(A(p),p.length>1&&V(!0),p.length>2&&B(!0),p.length>0&&L(!0))}),[p]);var ee=(0,Z.R)().fetchData,ne=function getDomDes(e){setTimeout((function(){d().createSelectorQuery().select(e).boundingClientRect((function(e){var n=e.left,t=e.width;console.log(t),X({width:"".concat(t,"px"),left:"".concat(n,"px")})})).exec()}),100)},te=function(){var e=(0,a.Z)((0,r.Z)().mark((function _callee(){var e;return(0,r.Z)().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,ee({parent_id:1});case 2:e=n.sent,k.current=e.data.list||[],k.current.length>0&&(R(0),G((function(){return k.current})),ne("#address_tab_0"));case 5:case"end":return n.stop()}}),_callee)})));return function getProvince(){return e.apply(this,arguments)}}(),se=function(){var e=(0,a.Z)((0,r.Z)().mark((function _callee2(e){var n;return(0,r.Z)().wrap((function _callee2$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ee({parent_id:e});case 2:n=t.sent,j.current=n.data.list||[],j.current.length>0?(R(1),G((function(){return j.current})),V(!0),ne("#address_tab_1"),L(!1)):(L(!0),V(!1));case 5:case"end":return t.stop()}}),_callee2)})));return function getCity(n){return e.apply(this,arguments)}}(),re=function(){var e=(0,a.Z)((0,r.Z)().mark((function _callee3(e){var n;return(0,r.Z)().wrap((function _callee3$(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ee({parent_id:e});case 2:n=t.sent,C.current=n.data.list||[],C.current.length>0?(R(2),G((function(){return C.current})),B(!0),ne("#address_tab_2"),L(!1)):(L(!0),B(!1));case 5:case"end":return t.stop()}}),_callee3)})));return function area(n){return e.apply(this,arguments)}}(),ae=function submitSelect(){null==i||i(),null==n||n(J)},ce=function selectTab(e){!function onSelectIndex(e){R(e);var n=J[e]?J[e].id:0;if(T(n),0==e)te();else if(1==e){var t,s=null===(t=J[0])||void 0===t?void 0:t.id;se(s)}else{var r,a=null===(r=J[1])||void 0===r?void 0:r.id;re(a)}}(e),ne("#address_tab_".concat(e))};(0,u.useEffect)((function(){te()}),[]);return(0,u.useEffect)((function(){J&&J.length>0&&(null==t||t(J))}),[J]),(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(m.Z,{showTitle:!1,show:v,onClose:ae,children:(0,h.jsxs)(l.G7,{className:_.Z.address_main,children:[(0,h.jsxs)(l.G7,{className:_.Z.address_title,children:[(0,h.jsx)(l.G7,{onClick:function onClick(){return null==i?void 0:i()},children:"取消"}),(0,h.jsx)(l.G7,{onClick:function onClick(){return ae()},children:"确定"})]}),(0,h.jsxs)(l.G7,{className:_.Z.address_select,children:[(0,h.jsx)(l.G7,{id:"address_tab_0",onClick:function onClick(){return ce(0)},className:f()(_.Z.address_item,(0,s.Z)({},_.Z.addresst_select,0==y)),children:J[0]?J[0].name:"请选择"}),Q&&(0,h.jsx)(l.G7,{id:"address_tab_1",onClick:function onClick(){return ce(1)},className:f()(_.Z.address_item,(0,s.Z)({},_.Z.addresst_select,1==y)),children:J[1]?J[1].name:"请选择"}),z&&(0,h.jsx)(l.G7,{id:"address_tab_2",onClick:function onClick(){return ce(2)},className:f()(_.Z.address_item,(0,s.Z)({},_.Z.addresst_select,2==y)),children:J[2]?J[2].name:"请选择"}),(0,h.jsx)(l.G7,{style:W,className:_.Z.bottom_index})]}),(0,h.jsx)(l.G7,{className:_.Z.address_list,children:(0,h.jsx)(l.pf,{scrollY:!0,className:_.Z.address_scroll,children:(0,h.jsx)(l.G7,{className:_.Z.address_scroll_list,children:b.map((function(e,n){var t;return(0,h.jsxs)(l.G7,{onClick:function onClick(){return function selectItem(e){T(e.id),0==y?(A([{name:e.name,id:e.id,level:e.level}]),se(e.id),B(!1),V(!1)):1==y?(A([J[0],{name:e.name,id:e.id,level:e.level}]),re(e.id)):(A([J[0],J[1],{name:e.name,id:e.id,level:e.level}]),ne("#address_tab_2"))}(e)},className:f()(_.Z.address_list_item,(0,s.Z)({},_.Z.addresst_select,O==e.id)),children:[(0,h.jsx)(l.G7,{className:_.Z.address_list_item_name,children:e.name}),(null===(t=J[y])||void 0===t?void 0:t.id)==e.id&&(0,h.jsx)(l.G7,{className:"iconfont icon-tick ".concat(_.Z.address_iconfont)})]},n)}))})})})]})})})};n.Z=(0,u.memo)(v)}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2586],{2090:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___x4eYy",hoverClass:"index-module__hoverClass___h7SD1","full-100":"index-module__full-100___UTe8u",address_main:"index-module__address_main___huJxL",address_title:"index-module__address_title___nnKsa",address_select:"index-module__address_select___l33As",address_item:"index-module__address_item___mchDV",bottom_index:"index-module__bottom_index___J8o7V",address_scroll:"index-module__address_scroll___mubKA",address_scroll_list:"index-module__address_scroll_list___i1c9q",address_list_item:"index-module__address_list_item___sWUGG",address_list_item_name:"index-module__address_list_item_name___TBOMb",address_iconfont:"index-module__address_iconfont___T4GZp",addresst_select:"index-module__addresst_select___hviCA"}}}]);
@@ -0,0 +1 @@
.common_safe_area_y{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.hoverClass{-webkit-filter:brightness(70%);filter:brightness(70%)}.full-100{height:100%;width:100%}.form-list{border-bottom:1px solid rgba(0,0,0,.1);display:-webkit-flex;display:-ms-flexbox;display:flex;margin:30rpx 30rpx 0}.form-list .form-list-label{color:rgba(0,0,0,.8);font-size:28rpx;font-weight:700;margin-right:30rpx;margin-top:20rpx}.form-list .form-list-label-required::before{color:red;content:"*";font-size:28rpx}.form-list .form-list-right{font-size:26rpx;font-weight:400;width:506rpx}.form-list .form-list-right-meet{-ms-flex-pack:justify;-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-radius:20rpx;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-justify-content:space-between;justify-content:space-between;min-height:80rpx;padding:10rpx 20rpx;width:506rpx}.form-list .form-list-input{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%}.form-list .form-list-input view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;padding:0 10rpx}.form-list .form-list-input text{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:rgba(0,0,0,.3);border-radius:50%;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;font-size:18rpx;height:30rpx;-webkit-justify-content:center;justify-content:center;min-width:30rpx;width:30rpx}.form-list .form-list-right{-webkit-flex:1;-ms-flex:1;flex:1}.form-list .form-list-right input,.form-list .form-list-right textarea{color:rgba(0,0,0,.8);min-height:100%;width:100%}.form-list .form-list-right textarea{border-radius:10rpx;height:186rpx;padding:10rpx 0}.form-list .form-list-right .phcolor{color:#ababab}.form-list .form-list-right-placeholder{color:#ababab}.form-list .form-list-right-enter .icon-a-moreback{font-size:28rpx}.form-list .add-address-default{-ms-flex-align:center;-ms-flex-pack:justify;-webkit-align-items:center;align-items:center;color:#000;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:26rpx;font-weight:700;-webkit-justify-content:space-between;justify-content:space-between;margin:70rpx 30rpx 0}.form-list .add-address-save{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#4581ff;border-radius:40rpx;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:32rpx;font-weight:400;height:82rpx;-webkit-justify-content:center;justify-content:center;margin:620rpx auto 0;width:668rpx}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[81],{2185:function(t,n,s){s.d(n,{R:function(){return i}});var e=s(749),i=function GetAddressListApi(){return(0,e.Q)({url:"/v1/mall/district/list",method:"get"})}}}]);
+1
View File
@@ -0,0 +1 @@
"use strict";require("./sub-common/069fbdb91ae3f39c34ae83e1385a4a9e.js");require("./sub-common/b8510052aff6beb6a77cd0c9bcb4a55b.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5052],{1804:function(e,a,n){var s=n(2180),r=n(1515),t=n(4408),d=n(4384),g=n(9498),i=n(5893),c=function AddressManager(){return(0,t.Z)(),(0,g.av)("pages/addressManager/index"),(0,i.jsx)(r.G7,{className:"address-manager",children:(0,i.jsx)(d.Z,{refresherEnabled:!0})})};c.enableShareAppMessage=!0;Page((0,s.createPageConfig)(c,"pages/addressManager/index",{root:{cn:[]}},{navigationBarTitleText:"地址管理",enableShareAppMessage:!0}||{}))}},function(e){e.O(0,[2077,8598,4998,2107,1216,8592],(function(){return a=1804,e(e.s=a);var a}));e.O()}]);
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"地址管理","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+1
View File
@@ -0,0 +1 @@
@import "./sub-common/49a6f173abd5c2f59765fc8a8c94dba6.wxss";.common_safe_area_y{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.hoverClass{-webkit-filter:brightness(70%);filter:brightness(70%)}.full-100{height:100%;width:100%}.address-manager{height:100vh}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2077],{8487:function(t,e,r){r.d(e,{BW:function(){return d},C_:function(){return l},Dn:function(){return i},k_:function(){return s},ln:function(){return u}});var n=r(749),d=function addressListApi(){return(0,n.Q)({url:"/v1/mall/address/list",method:"get"})},u=function addressAddApi(){return(0,n.Q)({url:"/v1/mall/address",method:"post"})},s=function addressDetailApi(){return(0,n.Q)({url:"/v1/mall/address",method:"get"})},i=function addressEditApi(){return(0,n.Q)({url:"/v1/mall/address",method:"put"})},l=function addressDeleteApi(){return(0,n.Q)({url:"/v1/mall/address",method:"delete"})}}}]);
@@ -0,0 +1 @@
.common_safe_area_y{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.hoverClass{-webkit-filter:brightness(70%);filter:brightness(70%)}.full-100{height:100%;width:100%}.address-scroll-view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;position:relative}.address-scroll-view scroll-view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.address-scroll-view .address-scroll-view-content{padding-bottom:300rpx}.address-scroll-view .address-list{background:#fff;border:1px solid #fff;border:1px solid rgba(0,0,0,.16);border-radius:20rpx;-webkit-box-shadow:2rpx 4rpx 12rpx 0rpx rgba(0,0,0,.16);box-shadow:2rpx 4rpx 12rpx 0rpx rgba(0,0,0,.16);-webkit-box-sizing:border-box;box-sizing:border-box;margin:18rpx auto 0;padding:30rpx;position:relative;width:704rpx}.address-scroll-view .address-active{border:1px solid #68b4ff;-webkit-box-shadow:0rpx 0rpx 10rpx 0rpx rgba(0,122,255,.27);box-shadow:0rpx 0rpx 10rpx 0rpx rgba(0,122,255,.27)}.address-scroll-view .address-list:first-child{margin-top:0}.address-scroll-view .address-list-last{margin-bottom:300rpx}.address-scroll-view .address-user{-ms-flex-align:center;-webkit-align-items:center;align-items:center;color:#000;display:-webkit-flex;display:-ms-flexbox;display:flex;font-family:Microsoft YaHei,Microsoft YaHei-Bold;font-size:28rpx;font-weight:700;text-align:left}.address-scroll-view .address-list-default{background:#cde5ff;border-radius:6rpx;color:#4581ff;font-size:20rpx;font-weight:400;height:28rpx;margin-left:30rpx;text-align:center;width:58rpx}.address-scroll-view .address-list-phone{color:#ababab;font-size:24rpx;font-weight:400;margin-left:30rpx}.address-scroll-view .address-edit{-ms-flex-align:center;-webkit-align-items:center;align-items:center;bottom:0;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:auto;padding:10rpx;position:absolute;right:20rpx;top:0}.address-scroll-view .address-edit .icon-bianji{font-size:40rpx}.address-scroll-view .address-list-info{color:#3c3c3c;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:24rpx;font-weight:400;width:80%}.address-scroll-view .address-list-bottom{-ms-flex-pack:justify;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;justify-content:space-between;margin-top:18rpx}.address-scroll-view .add-address{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#4581ff;border-radius:40rpx;bottom:100rpx;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:32rpx;font-weight:400;height:82rpx;-webkit-justify-content:center;justify-content:center;left:50%;position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:668rpx}.address-scroll-view .address-no-data{-webkit-box-sizing:border-box;box-sizing:border-box;color:#707070;font-size:24rpx;font-weight:400;height:100%;padding-top:40%;text-align:center}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8598],{4384:function(e,s,n){var r=n(4165),a=n(5861),t=n(9439),c=n(1515),d=n(2954),l=n.n(d),i=n(7294),o=n(8487),u=n(1115),f=n(5893),h=function AddressList(e){var s,n,h,v,p=e.addButtonEnabled,x=void 0===p||p,m=e.focusBorderEnabled,_=void 0!==m&&m,j=(0,o.BW)(),Z=j.fetchData,w=j.state,N=(0,i.useState)(),g=(0,t.Z)(N,2),C=g[0],b=g[1],k=function(){var s=(0,a.Z)((0,r.Z)().mark((function _callee(){var s,n;return(0,r.Z)().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Z();case 2:s=r.sent,e.id?b(e.id):null===(n=s.data.list)||void 0===n||n.every((function(e){return!e.is_default||(b(e.id),!1)}));case 4:case"end":return r.stop()}}),_callee)})));return function getData(){return s.apply(this,arguments)}}();(0,i.useEffect)((function(){return k(),l().eventCenter.on("addressList:refresh",k),function(){l().eventCenter.off("addressList:refresh",k)}}),[]);var G=(0,i.useState)(!1),y=(0,t.Z)(G,2),E=y[0],L=y[1],S=function(){var e=(0,a.Z)((0,r.Z)().mark((function _callee2(){return(0,r.Z)().wrap((function _callee2$(e){for(;;)switch(e.prev=e.next){case 0:return L(!0),e.next=3,k();case 3:L(!1);case 4:case"end":return e.stop()}}),_callee2)})));return function handleRefresh(){return e.apply(this,arguments)}}(),A=(Array.from({length:15}),(0,o.C_)().fetchData);return(0,f.jsxs)(c.G7,{className:"address-scroll-view",children:[(0,f.jsx)(c.pf,{scrollY:!0,refresherEnabled:e.refresherEnabled,enhanced:!0,refresherTriggered:E,onRefresherRefresh:S,children:(0,f.jsx)(c.G7,{className:"address-scroll-view-content",children:(null==w||null===(s=w.data)||void 0===s||null===(n=s.list)||void 0===n?void 0:n.length)>0?null==w||null===(h=w.data)||void 0===h||null===(v=h.list)||void 0===v?void 0:v.map((function(s,n){return(0,f.jsxs)(c.G7,{onLongPress:function onLongPress(){return function handleDelete(e){(0,d.showModal)({title:"提示",content:"是否删除地址?",success:function success(s){return(0,a.Z)((0,r.Z)().mark((function _callee3(){var n;return(0,r.Z)().wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:if(!s.confirm){r.next=5;break}return r.next=3,A({id:e.id});case 3:(n=r.sent).success?(u.Z9.success("删除成功"),k()):u.Z9.success(n.msg);case 5:case"end":return r.stop()}}),_callee3)})))()}})}(s)},onClick:function onClick(){return function handleSelect(s,n){e.onSelect&&e.onSelect(s,n),_&&b(null==s?void 0:s.id)}(s,n)},className:"address-list ".concat(C==s.id&&"address-active"),children:[(0,f.jsxs)(c.G7,{className:"address-user",children:[s.name,(0,f.jsx)(c.xv,{className:"address-list-phone",children:s.phone.replace(s.phone.substring(3,7),"****")}),s.is_default&&(0,f.jsx)(c.xv,{className:"address-list-default",children:"默认"})]}),(0,f.jsxs)(c.G7,{className:"address-list-bottom",children:[(0,f.jsx)(c.G7,{className:"address-list-info",children:(0,f.jsx)(c.G7,{className:"address-list-info_title",children:s.province_name+s.city_name+s.district_name})}),(0,f.jsx)(c.C3,{onClick:function onClick(e){return e.stopPropagation()},url:"/pages/addressAdd/index?type=edit&id=".concat(s.id),hoverClass:"none",className:"address-edit",children:(0,f.jsx)(c.xv,{className:"iconfont icon-bianji"})})]})]},s.id)})):(0,f.jsx)(c.G7,{className:"address-no-data",children:"暂未添加地址"})})}),x&&(0,f.jsx)(c.C3,{url:"/pages/addressAdd/index?type=add",hoverClass:"none",className:"add-address",children:"添加收货地址"})]})};s.Z=(0,i.memo)(h)}}]);
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"申请售后","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[922],{9021:function(e,n,t){var a=t(9439),c=t(1515),l=t(7294),o=t(4184),s=t.n(o),u=t(5027),r=t(9498),i=t(5893),d=function TextareaEnhance(e){var n=e.onChange,t=e.title,o=void 0===t?"":t,d=e.placeholder,h=void 0===d?"请输入":d,x=e.defaultValue,f=e.onlyRead,m=void 0!==f&&f,g=e.maxLength,v=void 0===g?200:g,p=e.customStyle,Z=e.customClassName,N=(0,l.useState)(0),_=(0,a.Z)(N,2),j=_[0],C=_[1],w=(0,l.useState)(!1),G=(0,a.Z)(w,2),S=G[0],k=G[1],y=(0,l.useRef)(v),B=(0,r.BL)({value:x,defaultValue:"",onChange:function onChange(e){null==n||n(e)}}),R=(0,a.Z)(B,2),b=R[0],D=R[1],E=function getDesc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=e;e.length>y.current&&(n=e.slice(0,y.current)),C(n.length),D(n)};(0,l.useEffect)((function(){E(x)}),[x]);var I=function toggleShowRealTextarea(e){k(e)};return(0,i.jsxs)(c.G7,{className:u.Z.other_desc,children:[(0,i.jsx)(c.G7,{className:u.Z.title,children:o}),(0,i.jsxs)(c.G7,{className:u.Z.textarea,children:[S&&!m?(0,i.jsx)(c.gx,{autoFocus:!0,value:b,onBlur:function onBlur(){return I(!1)},style:p,className:s()(u.Z.textarea_con,Z),cursorSpacing:100,maxlength:y.current,onInput:function onInput(e){return E(e.detail.value)}}):(0,i.jsx)(c.G7,{className:s()(u.Z.textarea_con_pretend,b&&u.Z.textarea_con_pretend_ed,Z),style:p,onClick:function onClick(){return I(!0)},children:b||h}),(0,i.jsx)(c.G7,{className:u.Z.descDataNum,children:"".concat(j,"/").concat(y.current)})]})]})};n.Z=(0,l.memo)(d)}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5356],{1980:function(e,t,n){var o=n(4165),c=n(5861),a=n(2954),r=n.n(a),s=n(2495),i=n(6189);t.Z=function(){var e=(0,i.C)(),t=e.fetchData,n=(e.state,function uploadCDNImg(e,n,a){var i=e.path;return console.log("filetype::",i),function getFileType(e){return!!e&&(RegExp(".?(".concat(["gif","jpeg","jpg","bmp","png"].join("|"),")$"),"i").test(e.toLowerCase())?"image":!!RegExp(".(".concat(["avi","wmv","mkv","mp4","mov","rm","3gp","flv","mpg","rmvb","quicktime"].join("|"),")$"),"i").test(e.toLowerCase())&&"video")}(i)?new Promise((function(a,i){(function getSecret(e,n){return new Promise(function(){var n=(0,c.Z)((0,o.Z)().mark((function _callee(n,c){var a,r,s;return(0,o.Z)().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return a="/".concat(e,"/{filemd5}{day}{hour}{min}{sec}{.suffix}"),r={method:"post",save_key:a},o.next=4,t(r);case 4:(s=o.sent).success?n(s.data):c({code:s.code||"9999",msg:s.msg});case 6:case"end":return o.stop()}}),_callee)})));return function(e,t){return n.apply(this,arguments)}}())})(n).then((function(t){var n=t;console.log("bucket",n.bucket);var o={authorization:n.authorization,policy:n.policy},c=r().uploadFile({url:"".concat(s.Fu).concat(n.bucket),formData:o,filePath:e.path,name:"file",success:function success(e){a(JSON.parse("".concat(e.data)))},fail:function fail(e){console.log(e),i(e)}});c.progress((function(e){console.log("上传进度",e.progress),e.progress<100?r().showLoading({title:"上传中..."}):r().hideLoading()}))})).catch((function(e){i(e),r().showToast({title:"获取密钥失败!",icon:"none",duration:3800})}))})):(r().showToast({title:"上传文件类型错误",icon:"none",duration:3800}),!1)});return{uploadCDNImg:n,getWxPhoto:function getWxPhoto(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(a,s){var i=[];r().chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function success(r){return(0,c.Z)((0,o.Z)().mark((function _callee2(){var c,u,l;return(0,o.Z)().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,!(t>1)){o.next=14;break}c=0;case 3:if(!(c<r.tempFiles.length)){o.next=11;break}return o.next=6,n(r.tempFiles[c],e);case 6:u=o.sent,i.push(u);case 8:c++,o.next=3;break;case 11:a(i),o.next=18;break;case 14:return o.next=16,n(r.tempFiles[0],e);case 16:l=o.sent,a(l);case 18:o.next=23;break;case 20:o.prev=20,o.t0=o.catch(0),s(o.t0);case 23:case"end":return o.stop()}}),_callee2,null,[[0,20]])})))()}})}))}}}}}]);
@@ -0,0 +1 @@
.index-module__common_safe_area_y___RxGYu{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___hsZ1l{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___orlN2{height:100%;width:100%}.index-module__image_main___i8Ggt{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P{-ms-flex-pack:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;background:#f0f0f0;border:2rpx dashed #ccc;border-radius:10rpx;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:150rpx;-webkit-justify-content:center;justify-content:center;margin:0 0 20rpx 20rpx;position:relative;width:202rpx}.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P .index-module__miconfont___QFFs3{font-size:50rpx}.index-module__image_main___i8Ggt .index-module__uploadImg___rj88P .index-module__uploadText___p8nmx{color:#707070;font-size:26rpx}.index-module__image_main___i8Ggt .index-module__ImgItem___at70w{background:#f0f0f0;border-radius:10rpx;height:150rpx;margin-bottom:20rpx;margin-left:20rpx;position:relative;width:202rpx}.index-module__image_main___i8Ggt .index-module__ImgItem___at70w image{border-radius:10rpx;height:100%;width:100%}.index-module__image_main___i8Ggt .index-module__ImgItem___at70w .index-module__miconfont_close___B691k{background-color:#ccc;border-radius:50%;color:#fff;font-size:30rpx;height:43rpx;line-height:43rpx;position:absolute;right:-10rpx;text-align:center;top:-10rpx;width:43rpx}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8997],{6189:function(n,t,e){e.d(t,{C:function(){return c}});var u=e(749),c=function GetSignApi(){return(0,u.Q)({url:"/v1/mall/cdn/token",method:"get"})}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9152],{3416:function(n,e,c){var a=c(4165),t=c(3433),o=c(5861),s=c(9439),r=c(2954),i=c.n(r),u=c(1515),l=c(7294),f=c(4184),m=c.n(f),p=c(1948),d=c(1980),h=c(4158),x=c(5893),v=function PictureItem(n){var e=n.onChange,c=n.defaultList,r=n.onlyRead,f=void 0!==r&&r,v=(0,d.Z)().getWxPhoto,Z=(0,l.useState)([]),g=(0,s.Z)(Z,2),w=g[0],k=g[1];(0,l.useEffect)((function(){k(c||[])}),[c]);var I=function(){var n=(0,o.Z)((0,a.Z)().mark((function _callee(){var n,e;return(0,a.Z)().wrap((function _callee$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,v("after-sale",5);case 2:n=c.sent,e=[],null==n||n.forEach((function(n){e.push(n.url)})),k([].concat((0,t.Z)(w),e));case 6:case"end":return c.stop()}}),_callee)})));return function uploadImage(){return n.apply(this,arguments)}}();(0,l.useEffect)((function(){null==e||e(w)}),[w]);var j=function showImage(){var n=null==w?void 0:w.map((function(n){return(0,h.z)(n,"!w800")}));i().previewImage({current:n[0],urls:n})};return(0,x.jsxs)(u.G7,{className:p.Z.image_main,children:[null==w?void 0:w.map((function(n,e){return(0,x.jsxs)(u.G7,{className:p.Z.ImgItem,children:[(0,x.jsx)(u.Ee,{mode:"aspectFill",src:(0,h.z)(n),onClick:j}),!f&&(0,x.jsx)(u.G7,{onClick:function onClick(){return function delImage(n){w.splice(n,1),k((function(){return(0,t.Z)(w)}))}(e)},className:m()(p.Z.miconfont_close,"iconfont icon-qingkong")})]},e)})),!f&&(0,x.jsxs)(u.G7,{className:p.Z.uploadImg,onClick:I,children:[(0,x.jsx)(u.xv,{className:m()(p.Z.miconfont,"iconfont icon-shangchuanzhaopian")}),(0,x.jsx)(u.xv,{className:p.Z.uploadText,children:"上传照片"})]})]})};e.Z=(0,l.memo)(v)}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1024],{3275:function(r,n,t){t.d(n,{AS:function(){return o},Ae:function(){return f},SF:function(){return a},_9:function(){return A},cU:function(){return m},ef:function(){return c},jP:function(){return s},k8:function(){return l},m8:function(){return u},vc:function(){return d},vu:function(){return i},zf:function(){return p}});var e=t(749),u=function GetSaleOrderListApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/list",method:"get"})},l=function ReturnApplyOrderApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"post"})},o=function ReturnApplyOrderCancelApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/cancel",method:"post"})},i=function SaleOrderOrderDetailApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"get"})},p=function ReturnApplyLogisticsApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder/upload",method:"put"})},c=function ReturnGoodsStatusApi(){return(0,e.Q)({url:"/v1/mall/enum/return/goodsStatus",method:"get"})},d=function ReturnReasonApi(){return(0,e.Q)({url:"/v1/mall/enum/returnOrder/returnReason",method:"get"})},a=function ReturnExplainApi(){return(0,e.Q)({url:"/v1/mall/enum/returnExplain",method:"get"})},f=function ApplyRefundApi(){return(0,e.Q)({url:"/v1/mall/returnApplyOrder",method:"post"})},m=function RefundOrderSatausApi(){return(0,e.Q)({url:"/v1/mall/enum/filterReturnStage",method:"get"})},A=function RefundExplainApi(){return(0,e.Q)({url:"/v1/mall/enum/refundExplain",method:"get"})},s=function ReturnRecordApi(){return(0,e.Q)({url:"/v1/mall/saleOrder/return",method:"get"})}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2888],{5027:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___P66cS",hoverClass:"index-module__hoverClass___sVcPU","full-100":"index-module__full-100___eo77h",other_desc:"index-module__other_desc___aX07K",title:"index-module__title___eJSzY",textarea:"index-module__textarea___PiPh4",descDataNum:"index-module__descDataNum___Rfef5",textarea_con:"index-module__textarea_con___geMaf",textarea_con_pretend:"index-module__textarea_con_pretend___j9Rhi",textarea_con_pretend_ed:"index-module__textarea_con_pretend_ed___pxyq8"}}}]);
@@ -0,0 +1 @@
.index-module__common_safe_area_y___P66cS{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___sVcPU{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___eo77h{height:100%;width:100%}.index-module__other_desc___aX07K{-webkit-box-sizing:border-box;box-sizing:border-box}.index-module__other_desc___aX07K .index-module__title___eJSzY{font-size:28rpx;font-weight:500}.index-module__other_desc___aX07K .index-module__textarea___PiPh4{height:165.4rpx;position:relative}.index-module__other_desc___aX07K .index-module__textarea___PiPh4 .index-module__descDataNum___Rfef5{bottom:10rpx;color:#ababab;font-size:22rpx;position:absolute;right:10rpx}.index-module__other_desc___aX07K .index-module__textarea_con___geMaf,.index-module__other_desc___aX07K .index-module__textarea_con_pretend___j9Rhi{background-color:#f3f3f3;border:2rpx solid #e6e6e6;border-radius:10rpx;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:25rpx;height:165.4rpx;margin-top:20rpx;padding:20rpx 20rpx 30rpx;width:100%}.index-module__other_desc___aX07K .index-module__textarea_con_pretend___j9Rhi{color:#ababab}.index-module__other_desc___aX07K .index-module__textarea_con_pretend_ed___pxyq8{color:#000}
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5074],{1251:function(r,e,t){t.d(e,{BD:function(){return l},Ct:function(){return s},GG:function(){return a},Kp:function(){return c},Kq:function(){return m},QR:function(){return o},qm:function(){return d},xl:function(){return u},yW:function(){return i},zx:function(){return p}});var n=t(749),u=function SaleOrderApi(){return(0,n.Q)({url:"/v3/mallCherry/saleOrder",method:"post"})},l=function SaleOrderPreViewApi(){return(0,n.Q)({url:"/v3/mallCherry/saleOrder/preView/shoppingCart",method:"put"})},i=function GetSaleOrderDetailApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/detail",method:"get"})},d=function EditSaleOrderRemarkApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/remark",method:"put"})},a=function EditSaleOrderAddressApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/address",method:"put"})},o=function EditSaleOrderShipmentModeApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/shipmentMode",method:"put"})},c=function GetOrderListApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/list",method:"get"})},p=function CancelOrderApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/cancel",method:"put"})},m=function ReceiveOrderApi(){return(0,n.Q)({url:"/v1/mall/saleOrder/receive",method:"put"})},s=function OrderStatusListApi(){return(0,n.Q)({url:"/v1/mall/enum/filterSaleOrderStatus",method:"get"})}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[6546],{1948:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___RxGYu",hoverClass:"index-module__hoverClass___hsZ1l","full-100":"index-module__full-100___orlN2",image_main:"index-module__image_main___i8Ggt",uploadImg:"index-module__uploadImg___rj88P",miconfont:"index-module__miconfont___QFFs3",uploadText:"index-module__uploadText___p8nmx",ImgItem:"index-module__ImgItem___at70w",miconfont_close:"index-module__miconfont_close___B691k"}}}]);
+1
View File
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1663],{3725:function(e,a,n){var t=n(2180),l=n(4942),c=n(1413),o=n(4165),r=n(5861),s=n(9439),u=n(1515),i=n(2954),_=n.n(i),d=n(7294),m={common_safe_area_y:"index-module__common_safe_area_y___LuPts",hoverClass:"index-module__hoverClass___Do8gX","full-100":"index-module__full-100___LtPCW",main:"index-module__main___n37Lo",content:"index-module__content___tUSM_",cell:"index-module__cell___E27AP",cellTitle:"index-module__cellTitle___xPvOc",cellContent:"index-module__cellContent___ucxHW",input:"index-module__input___aTOcN",bottomBar:"index-module__bottomBar___YF5PF",bottomBar__text:"index-module__bottomBar__text___s50Lo",error:"index-module__error___F8toV"},x=n(7458),v=n(519),p=n(9179),f=n(1115),b=n(8106),k=n(9498),h=n(5893),j=function AddBankCard(){var e=(0,d.useState)({account:{value:"",validate:function validate(e){return!/^[1-9]\d{9,29}$/.test(e)&&e?"请输入正确的银行卡号":""}},bank_of_deposit:{value:"",validate:function validate(e){return""}},account_bank:{value:"",validate:function validate(e){return""}}}),a=(0,s.Z)(e,2),n=a[0],t=a[1],i=(0,b.C$)().fetchData,j=function(){var e=(0,r.Z)((0,o.Z)().mark((function _callee(){var e;return(0,o.Z)().wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(n.account.value&&n.bank_of_deposit.value&&n.account_bank.value){a.next=3;break}return f.Z9.none("请填写完整信息"),a.abrupt("return");case 3:if(!Object.keys(n).some((function(e){return n[e].validate(n[e].value)}))){a.next=7;break}return f.Z9.none("校验不通过,请重新输入"),a.abrupt("return");case 7:return a.next=9,i({account:n.account.value,account_name:n.account_bank.value,bank_of_deposit:n.bank_of_deposit.value,account_type:2});case 9:(e=a.sent).success?(f.Z9.success("添加成功"),setTimeout((function(){_().navigateBack()}),1e3)):f.Z9.error(e.msg);case 11:case"end":return a.stop()}}),_callee)})));return function handleConfirm(){return e.apply(this,arguments)}}(),C=function handleInput(e,a){t((0,c.Z)((0,c.Z)({},n),{},(0,l.Z)({},a,(0,c.Z)((0,c.Z)({},n[a]),{},{value:e.detail.value}))))};return(0,k.av)("pages/bankCardMananger/addBankCard/index"),(0,h.jsxs)(u.G7,{className:m.main,children:[(0,h.jsx)(u.G7,{className:m.content,children:(0,h.jsxs)(v.Z,{circle:!0,customStyle:{marginTop:"24rpx",paddingTop:0,paddingBottom:0},children:[(0,h.jsxs)(u.G7,{className:m.cell,children:[(0,h.jsxs)(u.G7,{className:m.cellTitle,children:["开户名称",(0,h.jsx)(u.xv,{children:"*"})]}),(0,h.jsxs)(u.G7,{className:m.cellContent,children:[(0,h.jsx)(x.Z,{value:n.account_bank.value,onInput:function onInput(e){return C(e,"account_bank")},placeholder:"请输入开户人姓名"}),n.account_bank.validate(n.account_bank.value)&&(0,h.jsx)(u.xv,{className:m.error,children:n.account_bank.validate(n.account_bank.value)})]})]}),(0,h.jsxs)(u.G7,{className:m.cell,children:[(0,h.jsxs)(u.G7,{className:m.cellTitle,children:["银行卡号",(0,h.jsx)(u.xv,{children:"*"})]}),(0,h.jsxs)(u.G7,{className:m.cellContent,children:[(0,h.jsx)(x.Z,{type:"number",maxlength:19,className:m.input,value:n.account.value,onInput:function onInput(e){return C(e,"account")},placeholder:"请输入银行卡号码"}),n.account.validate(n.account.value)&&(0,h.jsx)(u.xv,{className:m.error,children:n.account.validate(n.account.value)})]})]}),(0,h.jsxs)(u.G7,{className:m.cell,children:[(0,h.jsxs)(u.G7,{className:m.cellTitle,children:["开户银行",(0,h.jsx)(u.xv,{children:"*"})]}),(0,h.jsxs)(u.G7,{className:m.cellContent,children:[(0,h.jsx)(x.Z,{value:n.bank_of_deposit.value,onInput:function onInput(e){return C(e,"bank_of_deposit")},placeholder:"请输入银行名称(含开户支行)"}),n.bank_of_deposit.validate(n.bank_of_deposit.value)&&(0,h.jsx)(u.xv,{className:m.error,children:n.bank_of_deposit.validate(n.bank_of_deposit.value)})]})]})]})}),(0,h.jsx)(u.G7,{className:m.bottomBar,children:(0,h.jsx)(p.Z,{round:!0,type:"primary",customTextClassName:m.bottomBar__text,customClassName:m.bottomBar__button,customStyles:{width:"100%"},onClick:j,children:"确认"})})]})};Page((0,t.createPageConfig)(j,"pages/bankCardMananger/addBankCard/index",{root:{cn:[]}},{navigationBarTitleText:"新增银行卡",navigationBarTextStyle:"black",navigationBarBackgroundColor:"#fff",backgroundColorTop:"#fff"}||{}))}},function(e){e.O(0,[2107,1216,8592],(function(){return a=3725,e(e.s=a);var a}));e.O()}]);
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"新增银行卡","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#fff","backgroundColorTop":"#fff","usingComponents":{"custom-wrapper":"../../../custom-wrapper","comp":"../../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+1
View File
@@ -0,0 +1 @@
.index-module__common_safe_area_y___LuPts{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___Do8gX{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___LtPCW{height:100%;width:100%}page{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100vh}.index-module__main___n37Lo{background-color:#f7f7f7;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100%}.index-module__main___n37Lo .index-module__content___tUSM_{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__cell___E27AP{-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid #f5f5f5;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;padding:30rpx 0}.index-module__cell___E27AP:last-child{border-bottom:0}.index-module__cell___E27AP .index-module__cellTitle___xPvOc{-ms-flex-align:center;-webkit-align-items:center;align-items:center;color:#333;display:-webkit-flex;display:-ms-flexbox;display:flex;font-weight:500;width:30%}.index-module__cell___E27AP .index-module__cellTitle___xPvOc Text{color:#e64340}.index-module__cell___E27AP .index-module__cellContent___ucxHW{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__cell___E27AP .index-module__cellContent___ucxHW .index-module__input___aTOcN:-ms-input-placeholder{color:#9e9e9e;font-size:28rpx}.index-module__bottomBar___YF5PF{background-color:#fff;padding:24rpx 24rpx env(safe-area-inset-bottom)}.index-module__bottomBar__text___s50Lo{font-size:28rpx}.index-module__error___F8toV{color:#e64340;font-size:22rpx}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"修改银行卡","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#fff","backgroundColorTop":"#fff","usingComponents":{"custom-wrapper":"../../../custom-wrapper","comp":"../../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+1
View File
@@ -0,0 +1 @@
.index-module__common_safe_area_y___YVEpW{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___bIkzK{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___mocvW{height:100%;width:100%}page{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100vh}.index-module__main___Ex2wo{background-color:#f7f7f7;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:column nowrap;-ms-flex-flow:column nowrap;flex-flow:column nowrap;height:100%}.index-module__main___Ex2wo .index-module__content___Ts7DB{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__cell___mmVgK{-ms-flex-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid #f5f5f5;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;padding:30rpx 0}.index-module__cell___mmVgK:last-child{border-bottom:0}.index-module__cell___mmVgK .index-module__cellTitle___ldpVT{-ms-flex-align:center;-webkit-align-items:center;align-items:center;color:#333;display:-webkit-flex;display:-ms-flexbox;display:flex;font-weight:500;width:30%}.index-module__cell___mmVgK .index-module__cellTitle___ldpVT Text{color:#e64340}.index-module__cell___mmVgK .index-module__cellContent___D0yZ0{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.index-module__cell___mmVgK .index-module__cellContent___D0yZ0 .index-module__input___xQrXF:-ms-input-placeholder{color:#9e9e9e;font-size:28rpx}.index-module__bottomBar___HxG6h{-ms-flex-pack:justify;-ms-flex-align:center;-webkit-align-items:center;align-items:center;background-color:#fff;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;justify-content:space-between;padding:24rpx 24rpx env(safe-area-inset-bottom)}.index-module__bottomBar__text___VW9q4{font-size:28rpx}.index-module__error___Ic2r7{color:#e64340;font-size:22rpx}
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"分类","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2808],{1809:function(e,s,c){var a=c(1515),i=c(7294),r=c(6599),n=c(6028),l=c(3684),t=c(5980),o=c(1115),m=c(4158),d=c(9194),u=c(1341),_=c(5893);s.Z=function Product(e){var s=e.productList,c=void 0===s?[]:s,h=e.pageName,p=void 0===h?"":h,x=(0,d.v)((function(e){return e.userInfo})),Z=(0,i.useCallback)((function(e){return{lab:e.lab,rgb:e.rgb,texture_url:e.texture_url}}),[c]);return(0,_.jsx)(a.G7,{className:t.Z.products_list,children:null==c?void 0:c.map((function(e){return(0,_.jsxs)(a.G7,{className:t.Z.products_item,onClick:function onClick(){return function handleClickGoods(e){(0,u.mm)({page_name:p||"未知页面",fabric_code:e.code,fabric_name:e.name,trigger_time:(0,m.o0)(new Date),purchaser_name:x.adminUserInfo.user_name||"未知用户",purchaser_id:x.adminUserInfo.user_id||0}),(0,o.jD)("/pages/details/index?id=".concat(e.id))}(e)},children:[(0,_.jsxs)(a.G7,{className:t.Z.item_img,children:[(0,_.jsx)(r.Z,{value:Z(e)}),(0,_.jsxs)(a.G7,{className:t.Z.num,children:[e.product_color_count,"色"]}),e.is_favorite&&(0,_.jsx)(n.Z,{customClassName:t.Z.collection_icon,name:"icon-shoucang1",size:40})]}),(0,_.jsxs)(a.G7,{className:t.Z.item_con,children:[(0,_.jsxs)(a.G7,{className:t.Z.title,children:[(0,_.jsxs)(a.xv,{children:[(0,m.W7)(e.code,"")," "]}),e.name]}),(0,_.jsxs)(a.G7,{className:t.Z.tag_list,children:[(0,_.jsx)(l.Z,{customClassName:t.Z.tag,type:"primary",size:"small",circle:!0,children:e.width}),(0,_.jsx)(l.Z,{customClassName:t.Z.tag_g,type:"primary",size:"small",circle:!0,children:e.weight_density})]}),(0,_.jsx)(a.G7,{className:t.Z.des,children:e.component}),(0,_.jsxs)(a.G7,{className:t.Z.bottom,children:[(0,_.jsx)(a.G7,{className:t.Z.header_con,children:(0,_.jsx)(a.G7,{children:!!e.product_screw_id&&(0,_.jsx)(l.Z,{customClassName:t.Z.header_label,circle:!0,type:"primary",size:"small",children:"配套螺纹"})})}),(0,_.jsxs)(a.G7,{className:t.Z.price,children:[(0,_.jsx)(a.G7,{className:t.Z.price_unit,children:"¥"}),(0,_.jsxs)(a.G7,{className:t.Z.price_num,children:[(0,m.yb)(e.lowest_price,100,!0),"起"]})]})]})]})]},e.id)}))})}}}]);
@@ -0,0 +1 @@
.index-module__common_safe_area_y___TfGaJ{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___IvFjO{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___Zf65j{height:100%;width:100%}.index-module__scroll_main___rWSFU{height:100%}.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by{-ms-flex-pack:center;color:#ababab;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:24rpx;-webkit-justify-content:center;justify-content:center;width:100%}.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__loading_more___Iljay{-ms-flex-align:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex}.index-module__scroll_main___rWSFU .index-module__infinite_scroll___GY4by .index-module__noMore___kPVsd{padding-top:20rpx}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8614],{5980:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___aLNaO",hoverClass:"index-module__hoverClass___uRAZL","full-100":"index-module__full-100___ebtcA",products_list:"index-module__products_list___Di2TY",products_item:"index-module__products_item___hVSDd",item_img:"index-module__item_img___Ijcvj",num:"index-module__num___MjBVU",collection_icon:"index-module__collection_icon___Wx0Jh",item_con:"index-module__item_con___yY5XF",title:"index-module__title___mj3Dr",tag_list:"index-module__tag_list___P668g",tag:"index-module__tag___eXORV",tag_g:"index-module__tag_g___rvsn1",introduce:"index-module__introduce___w3B7J",des:"index-module__des___RPGWs",bottom:"index-module__bottom___C5piy",header_con:"index-module__header_con___VY7jF",header_label:"index-module__header_label___Cawsq",price:"index-module__price___degfh",price_unit:"index-module__price_unit___Ilsd9",price_num:"index-module__price_num___ztY3p"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[33],{1805:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___qVHLM",hoverClass:"index-module__hoverClass___xmc2X","full-100":"index-module__full-100___f4rUs",mainBox:"index-module__mainBox___oYq7z",pic:"index-module__pic___jqHuf",text:"index-module__text___cFKLZ"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[1157],{2711:function(e,r,o){var n=o(1515),l=o(7294),s=o(4508),t=o(9218),c=o(6541),i=o(1027),f=o(2495),u=o(5893),a=function InfiniteScroll(e){var r=e.styleObj,o=e.selfonScrollToLower,a=e.selfOnScrollToUpper,h=e.selfOnScroll,d=e.selfOnRefresherPulling,p=e.selfOnRefresherRefresh,m=e.selfOnRefresherRestore,R=e.selfOnRefresherAbort,x=e.safeAreaInsetBottom,T=void 0===x||x,g=e.enableLoadMoreStatus,S=void 0===g||g,j=e.children,v=e.lowerThresholdNum,b=void 0===v?30:v,w=e.paddingBottom,Z=void 0===w?0:w,N=e.refresherTriggered,B=void 0!==N&&N,O=e.refresherEnabled,y=void 0!==O&&O,G=e.moreStatus,U=void 0===G||G,_=e.statusMore,k=void 0===_?0:_,A=e.enableBackToTop,F=void 0===A||A,L=e.emptySlot,M=e.defaultUrl,P=void 0===M?"":M,C=e.defaultText,E=void 0===C?"":C,I=(0,l.useMemo)((function(){if(0==k)return.1}),[k]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(n.pf,{id:"infiniteScroll",style:r,className:t.Z.scroll_main,scrollY:!0,onScrollToLower:function onScrollToLower(){return function scrollToLower(){null==o||o()}()},onScrollToUpper:function onScrollToUpper(){return function scrollToUpper(){null==a||a()}()},onScroll:function onScroll(e){return function scroll(e){null==h||h(e)}(e)},lowerThreshold:b,refresherEnabled:y,refresherTriggered:B,onRefresherPulling:function onRefresherPulling(){return function refresherPulling(){null==d||d()}()},onRefresherRefresh:function onRefresherRefresh(){return function refresherRefresh(){null==p||p()}()},onRefresherRestore:function onRefresherRestore(){return function refresherRestore(){null==m||m()}()},onRefresherAbort:function onRefresherAbort(){return function refresherAbort(){null==R||R()}()},refresherBackground:"#F8F8F8",enableBackToTop:F,scrollTop:I,children:[function component(){return S&&U?(0,u.jsxs)(u.Fragment,{children:[(2==k||3==k)&&(0,u.jsxs)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:[j,(0,u.jsx)(n.G7,{className:t.Z.infinite_scroll,children:2==k?(0,u.jsxs)(n.G7,{className:t.Z.loading_more,children:["加载中",(0,u.jsx)(c.Z,{})]}):(0,u.jsx)(n.G7,{className:t.Z.noMore,children:"没有更多数据了"})})]}),0==k&&(0,u.jsx)(s.Z,{}),1==k&&(L||(0,u.jsx)(i.Z,{picUrl:P?"".concat(f.KC).concat(P):f.up,text:E||"暂无数据"}))]}):(0,u.jsx)(n.G7,{style:{paddingBottom:"".concat(Z,"rpx")},className:t.Z.scrollViewCon,children:j})}(),T&&(0,u.jsx)(n.G7,{className:"common_safe_area_y"})]})})};r.Z=(0,l.memo)(a)}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[8044],{9218:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___TfGaJ",hoverClass:"index-module__hoverClass___IvFjO","full-100":"index-module__full-100___Zf65j",scroll_main:"index-module__scroll_main___rWSFU",infinite_scroll:"index-module__infinite_scroll___GY4by",loading_more:"index-module__loading_more___Iljay",noMore:"index-module__noMore___kPVsd"}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[4763],{1027:function(s,e,a){var c=a(1515),i=a(7294),t=a(1805),n=a(5893),o=function Empty(s){var e=s.picUrl,a=void 0===e?"":e,i=s.text,o=void 0===i?"无搜索历史":i;return(0,n.jsxs)(c.G7,{className:t.Z.mainBox,children:[(0,n.jsx)(c.Ee,{className:t.Z.pic,mode:"aspectFill",lazyLoad:!0,src:a}),(0,n.jsx)(c.G7,{className:t.Z.text,children:o})]})};e.Z=(0,i.memo)(o)}}]);
@@ -0,0 +1 @@
.index-module__common_safe_area_y___qVHLM{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___xmc2X{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___f4rUs{height:100%;width:100%}.index-module__mainBox___oYq7z{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-justify-content:center;justify-content:center}.index-module__mainBox___oYq7z .index-module__pic___jqHuf{height:322rpx;margin-bottom:24rpx;width:522rpx}.index-module__mainBox___oYq7z .index-module__text___cFKLZ{color:#ababab;font-size:26rpx;font-weight:400}

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