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
linweijiong
jinfa-platform
Commits
be61f948
Commit
be61f948
authored
Jan 19, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 1.修改网页小图标;2.渠道商城进货单商品id参数修改
parent
df7b29ff
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
4 deletions
+20
-4
Fav.jpg
public/static/imgs/Fav.jpg
+0
-0
BasicLayout.tsx
src/layouts/BasicLayout.tsx
+8
-2
UserLayouts.tsx
src/layouts/UserLayouts.tsx
+6
-0
document.ejs
src/pages/document.ejs
+1
-1
LXChannelLayout.tsx
src/pages/lxMall/layouts/LXChannelLayout.tsx
+1
-0
LXIChannelLayout.tsx
src/pages/lxMall/layouts/LXIChannelLayout.tsx
+1
-0
LXMallLayout.tsx
src/pages/lxMall/layouts/LXMallLayout.tsx
+1
-0
LXShopLayout.tsx
src/pages/lxMall/layouts/LXShopLayout.tsx
+1
-0
index.tsx
src/pages/lxMall/purchaseOrder/index.tsx
+1
-1
No files found.
public/static/imgs/Fav.jpg
0 → 100644
View file @
be61f948
2.6 KB
src/layouts/BasicLayout.tsx
View file @
be61f948
...
...
@@ -7,8 +7,9 @@ import ProLayout, {
getPageTitle
}
from
'@ant-design/pro-layout'
;
import
React
,
{
useState
,
useEffect
,
useLayoutEffect
}
from
'react'
;
import
{
Link
,
useIntl
}
from
'umi'
;
import
{
Link
,
useIntl
,
Helmet
}
from
'umi'
;
import
RightContent
from
'./components/RightContent'
;
import
{
GlobalConfig
}
from
'@/global/config'
;
// import { ConnectState } from '@/models/connect';
// import logo from '../assets/logo.svg';
import
logo
from
'../../mockStatic/logo.png'
...
...
@@ -87,7 +88,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
};
const
getMenuRouter
=
(
routes
:
any
,
pathname
:
any
)
=>
{
le
t
list
=
routes
.
filter
((
item
:
any
)
=>
pathname
.
indexOf
(
item
.
key
)
>
-
1
)
cons
t
list
=
routes
.
filter
((
item
:
any
)
=>
pathname
.
indexOf
(
item
.
key
)
>
-
1
)
return
list
[
0
]
}
...
...
@@ -151,6 +152,10 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
:
{}
return
(
<>
{
/* <Helmet>
<link rel="icon" type="image/x-icon" href={GlobalConfig.global.siteInfo.logo} />
</Helmet> */
}
<
ProLayout
pageTitleRender=
{
()
=>
currentRouter
?
currentRouter
.
name
:
window
.
location
.
href
}
// contentStyle={{minWidth: '1280px'}}
...
...
@@ -185,6 +190,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
>
{
children
}
</
ProLayout
>
</>
);
};
...
...
src/layouts/UserLayouts.tsx
View file @
be61f948
import
React
from
'react'
;
import
styles
from
'./styles/UserLayouts.less'
import
{
Helmet
}
from
'umi'
import
UserHeader
from
'./components/UserHeader'
;
import
BaseFooter
from
'./components/BaseFooter'
;
import
{
GlobalConfig
}
from
'@/global/config'
;
...
...
@@ -11,6 +12,10 @@ import { GlobalConfig } from '@/global/config';
const
UserLayouts
:
React
.
FC
=
(
props
)
=>
{
console
.
log
(
props
)
return
(
<>
{
/* <Helmet>
<link rel="icon" type="image/x-icon" href={GlobalConfig.global.siteInfo.logo} />
</Helmet> */
}
<
div
className=
{
styles
.
lingxiBusinessUserLayout
}
>
<
UserHeader
logo=
{
GlobalConfig
.
global
.
siteInfo
.
logo
}
{
...
props
}
/>
<
div
className=
{
styles
.
lingxiBusinessUserBg
}
>
...
...
@@ -18,6 +23,7 @@ const UserLayouts: React.FC = (props) => {
<
BaseFooter
/>
</
div
>
</
div
>
</>
)
}
...
...
src/pages/document.ejs
View file @
be61f948
...
...
@@ -4,7 +4,7 @@
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<
!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" /> --
>
<
link
rel=
"icon"
type=
"image/x-icon"
href=
"/static/imgs/Fav.jpg"
/
>
</head>
<body>
...
...
src/pages/lxMall/layouts/LXChannelLayout.tsx
View file @
be61f948
...
...
@@ -92,6 +92,7 @@ const LXChannelLayout: React.FC<LXChannelLayoutPropsType> = (props) => {
{
shopInfo
?
<
title
>
{
shopInfo
.
memberName
}
</
title
>
:
null
}
{
/* <link rel="icon" type="image/x-icon" href={shopInfo?.logo} /> */
}
</
Helmet
>
<
div
className=
{
styles
.
lxmall_page
}
>
<
TopBar
langComponent=
{
<
SelectLang
/>
}
name=
{
shopInfo
?.
memberName
}
type=
{
LAYOUT_TYPE
.
channel
}
shopUrlParam=
{
channelId
}
/>
...
...
src/pages/lxMall/layouts/LXIChannelLayout.tsx
View file @
be61f948
...
...
@@ -91,6 +91,7 @@ const LXIChannelLayout: React.FC<LXIChannelLayoutPropsType> = (props) => {
{
shopInfo
?
<
title
>
{
shopInfo
.
memberName
}
</
title
>
:
null
}
{
/* <link rel="icon" type="image/x-icon" href={shopInfo?.logo} /> */
}
</
Helmet
>
<
div
className=
{
styles
.
lxmall_page
}
>
<
TopBar
langComponent=
{
<
SelectLang
/>
}
name=
{
shopInfo
?.
memberName
}
type=
{
LAYOUT_TYPE
.
ichannel
}
shopUrlParam=
{
channelId
}
/>
...
...
src/pages/lxMall/layouts/LXMallLayout.tsx
View file @
be61f948
...
...
@@ -73,6 +73,7 @@ const LXMallLayout: React.FC<LXMallLayoutPropsType> = (props) => {
{
mallInfo
?
<
title
>
{
mallInfo
.
name
}
</
title
>
:
null
}
{
/* <link rel="icon" type="image/x-icon" href={mallInfo?.logoUrl} /> */
}
</
Helmet
>
<
div
className=
{
styles
.
lxmall_page
}
>
<
TopBar
langComponent=
{
<
SelectLang
/>
}
name=
{
mallInfo
.
name
}
type=
{
LAYOUT_TYPE
.
mall
}
/>
...
...
src/pages/lxMall/layouts/LXShopLayout.tsx
View file @
be61f948
...
...
@@ -109,6 +109,7 @@ const LXShopLayout: React.FC<LXMallLayoutPropsType> = (props) => {
{
mallInfo
?
<
title
>
{
mallInfo
.
name
}
</
title
>
:
null
}
{
/* <link rel="icon" type="image/x-icon" href={mallInfo?.logoUrl} /> */
}
</
Helmet
>
<
div
className=
{
styles
.
lxmall_page
}
>
<
TopBar
langComponent=
{
<
SelectLang
/>
}
name=
{
mallInfo
.
name
}
type=
{
LAYOUT_TYPE
.
shop
}
/>
...
...
src/pages/lxMall/purchaseOrder/index.tsx
View file @
be61f948
...
...
@@ -575,7 +575,7 @@ const PurchaseOrder: React.FC<PurchaseOrderPropsType> = (props) => {
// 如果是渠道商品就添加渠道商品的id(非skuId)
if
(
layoutType
===
LAYOUT_TYPE
.
channel
||
layoutType
===
LAYOUT_TYPE
.
ichannel
)
{
buyCommodityInfo
.
channelProductId
=
item
.
commodityUnitPrice
.
commodity
.
i
d
buyCommodityInfo
.
channelProductId
=
item
.
commodityUnitPrice
.
commodity
UnitPriceAndPicI
d
}
if
(
item
.
commodityUnitPrice
.
commodity
.
isMemberPrice
)
{
...
...
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