Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
ab4b92fd
Commit
ab4b92fd
authored
Dec 29, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复布局变形的问题
parent
a3ad5bf8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
index.tsx
src/components/MellowCard/index.tsx
+1
-1
index.tsx
src/pages/member/components/SincerityInfo/index.tsx
+4
-3
No files found.
src/components/MellowCard/index.tsx
View file @
ab4b92fd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-08-26 17:32:45
* @Date: 2020-08-26 17:32:45
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-
09-29 14:47:49
* @LastEditTime: 2020-
12-29 15:06:05
* @Description: 基于 antd Card 封装的适合项目 UI 的 Card,使用方式跟 antd Card 一样,这里只是修改了样式
* @Description: 基于 antd Card 封装的适合项目 UI 的 Card,使用方式跟 antd Card 一样,这里只是修改了样式
*/
*/
import
React
from
'react'
;
import
React
from
'react'
;
...
...
src/pages/member/components/SincerityInfo/index.tsx
View file @
ab4b92fd
...
@@ -550,9 +550,10 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
...
@@ -550,9 +550,10 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
<
Col
span=
{
24
}
>
<
Col
span=
{
24
}
>
<
Spin
spinning=
{
Boolean
(
basicInfo
.
loading
)
}
>
<
Spin
spinning=
{
Boolean
(
basicInfo
.
loading
)
}
>
<
Row
gutter=
{
24
}
>
<
Row
gutter=
{
24
}
>
<
Col
span=
{
8
}
>
<
Col
flex=
"386px"
>
<
MellowCard
<
MellowCard
title=
"信用积分"
title=
"信用积分"
fullHeight
>
>
<
Pie
<
Pie
hasLegend
hasLegend
...
@@ -566,9 +567,9 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
...
@@ -566,9 +567,9 @@ const SincerityInfo: React.FC<SincerityInfoProps> = ({
</
Col
>
</
Col
>
{
basicInfo
.
loading
===
false
&&
(
{
basicInfo
.
loading
===
false
&&
(
<
Col
span=
{
16
}
>
<
Col
flex=
"1"
>
<
div
className=
{
styles
.
tofo
}
>
<
div
className=
{
styles
.
tofo
}
>
<
MellowCard
>
<
MellowCard
fullHeight
>
{
integralItems
.
map
((
item
,
index
)
=>
(
{
integralItems
.
map
((
item
,
index
)
=>
(
<
Card
.
Grid
key=
{
item
.
id
}
className=
{
styles
[
'tofo-item'
]
}
>
<
Card
.
Grid
key=
{
item
.
id
}
className=
{
styles
[
'tofo-item'
]
}
>
<
ContentBox
<
ContentBox
...
...
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