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
陈智峰
jinfa-platform
Commits
7fd252ce
Commit
7fd252ce
authored
Aug 25, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除不必要的bug
parent
8e8f676f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
28 deletions
+13
-28
interface.d.ts
src/components/PolymericTable/interface.d.ts
+8
-1
addEquity.less
src/pages/member/memberLevel/addEquity.less
+1
-2
addEquity.tsx
src/pages/member/memberLevel/addEquity.tsx
+4
-25
No files found.
src/components/PolymericTable/interface.d.ts
View file @
7fd252ce
/*
* @Author: XieZhiXiong
* @Date: 2020-08-21 11:13:55
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-08-25 10:05:19
* @Description:
*/
import
{
TableProps
,
TablePaginationConfig
,
ColumnType
}
from
'antd/lib/table'
;
export
interface
StandardTableProps
extends
TableProps
<
any
>
{
...
...
@@ -10,7 +17,7 @@ export interface EditableCellProps {
onValidateError
?:
(
error
:
{[
key
:
string
]:
any
})
=>
void
,
record
?:
any
;
index
?:
number
;
dataIndex
:
string
|
number
;
dataIndex
?
:
string
|
number
;
title
?:
React
.
ReactNode
;
editable
?:
boolean
;
children
?:
React
.
ReactNode
;
...
...
src/pages/member/memberLevel/addEquity.less
View file @
7fd252ce
...
...
@@ -89,9 +89,8 @@
.left {
display: flex;
justify-content: center;
align-items: center;
padding: 35px 0 28px;
padding: 35px 0 28px
8%
;
background: rgba(250, 251, 252, 1);
border-radius: 4px;
...
...
src/pages/member/memberLevel/addEquity.tsx
View file @
7fd252ce
...
...
@@ -20,29 +20,6 @@ import { EditableCellProps, EditableColumns } from '@/components/PolymericTable/
import
{
GetMemberAbilityLevelGetResponse
}
from
'@/services'
;
import
styles
from
'./addEquity.less'
;
const
data
=
[
{
key
:
'1'
,
id
:
'1'
,
name
:
'价格权益'
,
explain
:
'交易一方能获得另一方的价格折扣'
,
type
:
'交易获取'
,
setting
:
'按交易金额比例设置'
,
params
:
'1'
,
status
:
2
},
{
key
:
'2'
,
id
:
'2'
,
name
:
'返现权益'
,
explain
:
'交易一方能获得另一方的交易返现'
,
type
:
'交易获取'
,
setting
:
'按交易金额比例设置'
,
params
:
'1'
,
status
:
1
}
]
const
addEquity
:
React
.
FC
<
[]
>
=
()
=>
{
const
{
id
}
=
usePageStatus
();
...
...
@@ -275,6 +252,7 @@ const addEquity: React.FC<[]> = () => {
<
div
>
{
levelInfo
?.
memberTypeName
}
</
div
>
</
div
>
</
div
>
<
div
className=
{
styles
[
'headerMain-right'
]
}
>
<
Button
type=
"primary"
...
...
@@ -309,14 +287,15 @@ const addEquity: React.FC<[]> = () => {
</
div
>
</
div
>
</
div
>
<
div
className=
{
classNames
(
styles
[
'extra-main-content'
],
styles
.
right
)
}
>
{
/* <div className={classNames(styles['extra-main-content'], styles.right)}>
<Slider
marks={marks}
max={50000}
value={thresholdValue}
disabled
/>
</
div
>
</div>
*/
}
</
div
>
</
div
>
</
Card
>
...
...
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