Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-school-app
Commits
bc063fb0
Commit
bc063fb0
authored
Apr 12, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
17d5c0d1
69a7f778
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
7 deletions
+15
-7
index.js
config/index.js
+3
-1
sitemap.json
sitemap.json
+6
-0
area.ts
src/api/area.ts
+1
-1
OrderPayway.tsx
src/pages/Order/components/OrderPayway/OrderPayway.tsx
+5
-5
No files found.
config/index.js
View file @
bc063fb0
...
...
@@ -34,7 +34,9 @@ const config = {
},
defineConstants
:
{},
copy
:
{
patterns
:
[],
patterns
:
[
{
from
:
'sitemap.json'
,
to
:
'dist/sitemap.json'
}
],
options
:
{},
},
weapp
:
{
...
...
sitemap.json
0 → 100644
View file @
bc063fb0
{
"rules"
:
{
"action"
:
"disallow"
,
"page"
:
"*"
}
}
src/api/area.ts
View file @
bc063fb0
...
...
@@ -8,5 +8,5 @@ export type Area = {
export
const
fetchAllArea
=
():
Promise
<
ResponseDataEntity
<
Area
[]
>>
=>
baseFetch
({
url
:
'/area/queryAreaList'
,
url
:
'/area/queryA
ccessA
reaList'
,
});
src/pages/Order/components/OrderPayway/OrderPayway.tsx
View file @
bc063fb0
...
...
@@ -241,10 +241,10 @@ class OrderPayway extends Component {
<
View
className=
'OrderPayway'
>
{
prePay
?
(
payInfoList
.
length
?
(
payInfoList
.
map
(
(
payway
,
index
)
=>
payInfoList
.
map
(
payway
=>
payway
.
payType
===
'2'
?
(
<
View
key=
{
index
}
key=
{
payway
.
payType
}
className=
'OrderPay-payway'
onClick=
{
()
=>
this
.
changePayWay
(
payway
)
}
>
<
Image
className=
'OrderPay-icon'
src=
{
payWayWxLogo
}
/>
...
...
@@ -261,7 +261,7 @@ class OrderPayway extends Component {
</
View
>
)
:
payway
.
payType
===
'6'
?
(
<
View
key=
{
index
}
key=
{
payway
.
payType
}
className=
{
`OrderPay-payway ${useAmi ? '' : 'disabled'}`
}
onClick=
{
()
=>
this
.
changePayWay
(
payway
,
!
useAmi
)
}
>
<
Image
className=
'OrderPay-icon'
src=
{
payWayAimiLogo
}
/>
...
...
@@ -282,7 +282,7 @@ class OrderPayway extends Component {
</
View
>
)
:
payway
.
payType
===
'7'
?
(
<
View
key=
{
index
}
key=
{
payway
.
payType
}
className=
{
`OrderPay-payway ${useBean ? '' : 'disabled'}`
}
onClick=
{
()
=>
this
.
changePayWay
(
payway
,
!
useBean
)
}
>
<
Image
className=
'OrderPay-icon'
src=
{
payWayHairLogo
}
/>
...
...
@@ -303,7 +303,7 @@ class OrderPayway extends Component {
</
View
>
)
:
payway
.
payType
===
'8'
?
(
<
View
key=
{
index
}
key=
{
payway
.
payType
}
className=
{
`OrderPay-payway ${useCom ? '' : 'disabled'}`
}
onClick=
{
()
=>
this
.
changePayWay
(
payway
,
!
useCom
)
}
>
<
Image
className=
'OrderPay-icon'
src=
{
payWayComLogo
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment