Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
shenshaokai
jinfa-platform
Commits
06a5db57
Commit
06a5db57
authored
Jan 12, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 生成电子合同接口添加参数
parent
0e814124
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
17 deletions
+25
-17
index.tsx
src/pages/lxMall/components/CommonHeader/index.tsx
+2
-1
index.less
src/pages/lxMall/order/contract/index.less
+6
-2
index.tsx
src/pages/lxMall/order/contract/index.tsx
+14
-10
index.less
src/pages/lxMall/order/index.less
+3
-4
index.tsx
src/pages/lxMall/order/index.tsx
+0
-0
No files found.
src/pages/lxMall/components/CommonHeader/index.tsx
View file @
06a5db57
import
React
from
'react'
import
React
from
'react'
import
styles
from
'./index.less'
import
styles
from
'./index.less'
import
{
LAYOUT_TYPE
}
from
'@/constants'
import
{
LAYOUT_TYPE
}
from
'@/constants'
import
ImageBox
from
'@/components/ImageBox'
import
{
GlobalConfig
}
from
'@/global/config'
import
{
GlobalConfig
}
from
'@/global/config'
interface
ShopHeaderPropsType
{
interface
ShopHeaderPropsType
{
...
@@ -35,7 +36,7 @@ const CommonHeader: React.FC<ShopHeaderPropsType> = (props) => {
...
@@ -35,7 +36,7 @@ const CommonHeader: React.FC<ShopHeaderPropsType> = (props) => {
<
div
className=
{
styles
.
common_header_container
}
>
<
div
className=
{
styles
.
common_header_container
}
>
<
div
className=
{
styles
.
logo
}
>
<
div
className=
{
styles
.
logo
}
>
<
a
href=
{
getLink
()
}
>
<
a
href=
{
getLink
()
}
>
<
img
src
=
{
logoUrl
}
/>
<
ImageBox
width=
{
145
}
height=
{
50
}
imgUrl
=
{
logoUrl
}
/>
</
a
>
</
a
>
</
div
>
</
div
>
<
div
className=
{
styles
.
common_header_split
}
></
div
>
<
div
className=
{
styles
.
common_header_split
}
></
div
>
...
...
src/pages/lxMall/order/contract/index.less
View file @
06a5db57
...
@@ -4,4 +4,9 @@
...
@@ -4,4 +4,9 @@
&:hover {
&:hover {
color: var(--mall_main_color);
color: var(--mall_main_color);
}
}
}
}
\ No newline at end of file
.errorText {
color: #D32F2F;
padding: 16px 0;
}
src/pages/lxMall/order/contract/index.tsx
View file @
06a5db57
...
@@ -6,12 +6,13 @@ import styles from './index.less'
...
@@ -6,12 +6,13 @@ import styles from './index.less'
interface
ContractPropsType
{
interface
ContractPropsType
{
state
:
boolean
;
state
:
boolean
;
onChange
:
Function
;
onChange
:
Function
;
contractInfo
:
any
contractInfo
:
any
;
errorInfo
?:
any
,
}
}
const
Contract
:
React
.
FC
<
ContractPropsType
>
=
(
props
)
=>
{
const
Contract
:
React
.
FC
<
ContractPropsType
>
=
(
props
)
=>
{
const
{
state
,
onChange
,
contractInfo
}
=
props
const
{
state
,
onChange
,
contractInfo
,
errorInfo
}
=
props
return
(
return
(
<
div
className=
{
styles
.
contract
}
>
<
div
className=
{
styles
.
contract
}
>
...
@@ -21,14 +22,17 @@ const Contract: React.FC<ContractPropsType> = (props) => {
...
@@ -21,14 +22,17 @@ const Contract: React.FC<ContractPropsType> = (props) => {
<
QuestionCircleOutlined
className=
{
styles
.
common_title_icon
}
/>
<
QuestionCircleOutlined
className=
{
styles
.
common_title_icon
}
/>
</
Tooltip
>
</
Tooltip
>
</
div
>
</
div
>
<
div
className=
{
styles
.
checkbox
}
>
{
<
Checkbox
checked=
{
state
}
onChange=
{
(
e
)
=>
onChange
(
e
.
target
.
checked
)
}
>
contractInfo
&&
(
<
span
>
我同意签订:
</
span
>
<
div
className=
{
styles
.
checkbox
}
>
</
Checkbox
>
<
Checkbox
checked=
{
state
}
onChange=
{
(
e
)
=>
onChange
(
e
.
target
.
checked
)
}
>
{
<
span
>
我同意签订:
</
span
>
contractInfo
&&
<
a
href=
{
contractInfo
?.
contractUrl
}
download
rel=
"noreferrer"
target=
"_blank"
className=
{
styles
.
checkbox_contract_text
}
>
《
{
contractInfo
?.
contractName
}
》
</
a
>
</
Checkbox
>
}
<
a
href=
{
contractInfo
?.
contractUrl
}
download
rel=
"noreferrer"
target=
"_blank"
className=
{
styles
.
checkbox_contract_text
}
>
《
{
contractInfo
?.
contractName
}
》
</
a
>
</
div
>
</
div
>
)
}
{
(
errorInfo
&&
!
contractInfo
)
&&
<
span
className=
{
styles
.
errorText
}
>
{
errorInfo
}
</
span
>
}
</
div
>
</
div
>
)
)
}
}
...
...
src/pages/lxMall/order/index.less
View file @
06a5db57
...
@@ -144,9 +144,9 @@
...
@@ -144,9 +144,9 @@
height: 50px;
height: 50px;
outline: none;
outline: none;
font-size: 16px;
font-size: 16px;
border-color:
#D32F2F
;
border-color:
var(--mall_main_color)
;
border-radius: 0;
border-radius: 0;
background-color:
#D32F2F
;
background-color:
var(--mall_main_color)
;
cursor: pointer;
cursor: pointer;
&:hover {
&:hover {
...
@@ -156,4 +156,4 @@
...
@@ -156,4 +156,4 @@
}
}
}
}
}
}
}
}
\ No newline at end of file
src/pages/lxMall/order/index.tsx
View file @
06a5db57
This diff is collapsed.
Click to expand it.
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