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
fb60109e
Commit
fb60109e
authored
Jun 21, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改首页顶部bug
parent
e1c4efa7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
47 deletions
+21
-47
BasicLayout.tsx
src/layouts/BasicLayout.tsx
+1
-1
RightContent.tsx
src/layouts/components/RightContent.tsx
+4
-4
RightContent.less
src/layouts/styles/RightContent.less
+3
-1
AfterSoldCenter.tsx
src/pages/home/components/Centers/AfterSoldCenter.tsx
+1
-1
ChannelMallCenter.tsx
src/pages/home/components/Centers/ChannelMallCenter.tsx
+3
-3
center.less
src/pages/home/components/Centers/center.less
+7
-35
index.tsx
src/pages/member/memberInspection/common/columns/index.tsx
+2
-2
No files found.
src/layouts/BasicLayout.tsx
View file @
fb60109e
...
...
@@ -147,7 +147,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
const
prolayoutStyle
=
isHome
?
{
minHeight
:
'100vh'
,
minWidth
:
'1
3
80px'
minWidth
:
'1
2
80px'
}
:
{}
...
...
src/layouts/components/RightContent.tsx
View file @
fb60109e
...
...
@@ -4,7 +4,7 @@ import React, { useCallback, useRef, useLayoutEffect, useState, useEffect } from
import
Avatar
from
'./AvatarDropdown'
;
import
SelectLang
from
'./SelectLang'
;
import
Location
from
'./Location'
;
import
{
history
}
from
'umi'
import
{
history
,
Link
}
from
'umi'
import
Roles
from
'./Roles'
;
import
{
inject
,
observer
}
from
'mobx-react'
import
styles
from
'../styles/RightContent.less'
;
...
...
@@ -79,14 +79,14 @@ const GlobalHeaderRight: React.FC<{ SiteStore?: any }> = (props) => {
{
/* <Location /> */
}
<
SelectLang
/>
<
Tooltip
title=
"消息"
>
<
a
href
=
"/memberCenter/systemSetting/message"
<
Link
to
=
"/memberCenter/systemSetting/message"
className=
{
styles
.
action
}
>
<
Badge
count=
{
message
}
size=
{
"small"
}
>
<
BellOutlined
/>
</
Badge
>
</
a
>
</
Link
>
</
Tooltip
>
{
/* <Tooltip title="服务">
<a
...
...
src/layouts/styles/RightContent.less
View file @
fb60109e
...
...
@@ -19,12 +19,14 @@
margin-left: auto;
overflow: hidden;
font-size: 12px;
padding: 0 16px;
.action {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
padding
-left: 16
px;
padding
: 0 8
px;
cursor: pointer;
transition: all 0.3s;
...
...
src/pages/home/components/Centers/AfterSoldCenter.tsx
View file @
fb60109e
...
...
@@ -37,7 +37,7 @@ const AfterSoldCenter: React.FC<Iprops> = () => {
url=
{
roleType
==
1
?
EXCHANGE_HANDLE
:
EXCHANGE_APPLICATION
}
>
<
div
>
<
Link
to=
{
roleType
==
1
?
EXCHANGE_HANDLE
:
EXCHANGE_APPLICATION
}
>
进入
交易
中心
</
Link
>
<
Link
to=
{
roleType
==
1
?
EXCHANGE_HANDLE
:
EXCHANGE_APPLICATION
}
>
进入
售后
中心
</
Link
>
</
div
>
</
Authorize
>
}
...
...
src/pages/home/components/Centers/ChannelMallCenter.tsx
View file @
fb60109e
...
...
@@ -12,8 +12,8 @@ import { GetTemplateWebMemberShopWebFindCurrMemberShopResponse } from '@/service
import
Layout
from
'./layout'
;
interface
Iprops
{}
const
SHOP_CENTER
=
'/memberCenter/
shopAbility/templat
e'
const
CREATE_
SHOP
=
'/memberCenter/shopAbility/infoManag
e'
;
const
SHOP_CENTER
=
'/memberCenter/
channelAbility/infoManag
e'
const
CREATE_
TEMPLATE
=
'/memberCenter/channelAbility/templat
e'
;
const
ChannelMallCenter
:
React
.
FC
<
Iprops
>
=
()
=>
{
const
{
loading
,
responseData
,
isError
,
ref
}
=
useViewRequest
<
GetTemplateWebMemberShopWebFindCurrMemberShopResponse
,
any
>
(
PublicApi
.
getTemplateWebMemberShopWebFindCurrMemberShop
,
{})
...
...
@@ -27,7 +27,7 @@ const ChannelMallCenter: React.FC<Iprops> = () => {
},
{
icon
:
create_shop
,
url
:
SHOP_CENTER
,
url
:
CREATE_TEMPLATE
,
title
:
"渠道商城模板"
},
{
...
...
src/pages/home/components/Centers/center.less
View file @
fb60109e
...
...
@@ -90,41 +90,6 @@
}
}
.valueRow {
padding: 24px 0;
display: flex;
flex-direction: row;
// align-items: cen;
.title {
width: 90px;
margin-right: 32px;
font-size: 12px;
color: #303133;
}
.values {
display: flex;
flex-wrap: nowrap;
.valueItem {
min-width: 98px;
margin-right: 32px;
.valueTitle {
color: #909399;
font-size: 12px;
height: 34px;
}
.count {
font-size: 20px;
color: #303133;
font-weight: 600;
}
}
}
}
.wrapRow {
display: flex;
...
...
@@ -194,5 +159,12 @@
}
}
}
}
@media (max-width: 1280px) {
.centerRow {
.tagsItem {
min-width: 248px;
}
}
}
src/pages/member/memberInspection/common/columns/index.tsx
View file @
fb60109e
...
...
@@ -22,8 +22,8 @@ const columns: ColumnsType<GetMemberInspectPageResponseDetail> = [
{
title
:
'考察类型'
,
dataIndex
:
'inspectTypeName'
,
filters
:
[],
onFilter
:
(
_value
,
record
)
=>
record
.
inspectType
===
_value
,
//
filters: [],
//
onFilter: (_value, record) => record.inspectType === _value,
},
{
title
:
'考察日期'
,
...
...
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