Commit fb60109e authored by Bill's avatar Bill

fix: 修改首页顶部bug

parent e1c4efa7
......@@ -147,7 +147,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
const prolayoutStyle = isHome
? {
minHeight: '100vh',
minWidth: '1380px'
minWidth: '1280px'
}
: {}
......
......@@ -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
......
......@@ -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: 16px;
padding: 0 8px;
cursor: pointer;
transition: all 0.3s;
......
......@@ -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>
}
......
......@@ -12,8 +12,8 @@ import { GetTemplateWebMemberShopWebFindCurrMemberShopResponse } from '@/service
import Layout from './layout';
interface Iprops {}
const SHOP_CENTER = '/memberCenter/shopAbility/template'
const CREATE_SHOP = '/memberCenter/shopAbility/infoManage';
const SHOP_CENTER = '/memberCenter/channelAbility/infoManage'
const CREATE_TEMPLATE = '/memberCenter/channelAbility/template';
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: "渠道商城模板"
},
{
......
......@@ -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;
}
}
}
......@@ -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: '考察日期',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment