Commit 69a7f778 by 姜雷

Merge branch 'develop' into test

parents 552eaf1c 8e77c573
...@@ -34,7 +34,9 @@ const config = { ...@@ -34,7 +34,9 @@ const config = {
}, },
defineConstants: {}, defineConstants: {},
copy: { copy: {
patterns: [], patterns: [
{from: 'sitemap.json', to: 'dist/sitemap.json'}
],
options: {}, options: {},
}, },
weapp: { weapp: {
......
{
"rules": {
"action": "disallow",
"page": "*"
}
}
...@@ -8,5 +8,5 @@ export type Area = { ...@@ -8,5 +8,5 @@ export type Area = {
export const fetchAllArea = (): Promise<ResponseDataEntity<Area[]>> => export const fetchAllArea = (): Promise<ResponseDataEntity<Area[]>> =>
baseFetch({ baseFetch({
url: '/area/queryAreaList', url: '/area/queryAccessAreaList',
}); });
...@@ -241,10 +241,10 @@ class OrderPayway extends Component { ...@@ -241,10 +241,10 @@ class OrderPayway extends Component {
<View className='OrderPayway'> <View className='OrderPayway'>
{prePay ? ( {prePay ? (
payInfoList.length ? ( payInfoList.length ? (
payInfoList.map((payway, index) => payInfoList.map(payway =>
payway.payType === '2' ? ( payway.payType === '2' ? (
<View <View
key={index} key={payway.payType}
className='OrderPay-payway' className='OrderPay-payway'
onClick={() => this.changePayWay(payway)}> onClick={() => this.changePayWay(payway)}>
<Image className='OrderPay-icon' src={payWayWxLogo} /> <Image className='OrderPay-icon' src={payWayWxLogo} />
...@@ -261,7 +261,7 @@ class OrderPayway extends Component { ...@@ -261,7 +261,7 @@ class OrderPayway extends Component {
</View> </View>
) : payway.payType === '6' ? ( ) : payway.payType === '6' ? (
<View <View
key={index} key={payway.payType}
className={`OrderPay-payway ${useAmi ? '' : 'disabled'}`} className={`OrderPay-payway ${useAmi ? '' : 'disabled'}`}
onClick={() => this.changePayWay(payway, !useAmi)}> onClick={() => this.changePayWay(payway, !useAmi)}>
<Image className='OrderPay-icon' src={payWayAimiLogo} /> <Image className='OrderPay-icon' src={payWayAimiLogo} />
...@@ -282,7 +282,7 @@ class OrderPayway extends Component { ...@@ -282,7 +282,7 @@ class OrderPayway extends Component {
</View> </View>
) : payway.payType === '7' ? ( ) : payway.payType === '7' ? (
<View <View
key={index} key={payway.payType}
className={`OrderPay-payway ${useBean ? '' : 'disabled'}`} className={`OrderPay-payway ${useBean ? '' : 'disabled'}`}
onClick={() => this.changePayWay(payway, !useBean)}> onClick={() => this.changePayWay(payway, !useBean)}>
<Image className='OrderPay-icon' src={payWayHairLogo} /> <Image className='OrderPay-icon' src={payWayHairLogo} />
...@@ -303,7 +303,7 @@ class OrderPayway extends Component { ...@@ -303,7 +303,7 @@ class OrderPayway extends Component {
</View> </View>
) : payway.payType === '8' ? ( ) : payway.payType === '8' ? (
<View <View
key={index} key={payway.payType}
className={`OrderPay-payway ${useCom ? '' : 'disabled'}`} className={`OrderPay-payway ${useCom ? '' : 'disabled'}`}
onClick={() => this.changePayWay(payway, !useCom)}> onClick={() => this.changePayWay(payway, !useCom)}>
<Image className='OrderPay-icon' src={payWayComLogo} /> <Image className='OrderPay-icon' src={payWayComLogo} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment