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
779c8859
Commit
779c8859
authored
Sep 08, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into dev
parents
7ed83ba8
7ee63c4b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
9 deletions
+16
-9
demo.js
demo.js
+1
-1
app.tsx
src/app.tsx
+7
-3
index.less
src/pages/channel/channelInfo/index.less
+2
-0
index.tsx
src/pages/lxMall/index/index.tsx
+1
-1
LXShopLayout.tsx
src/pages/lxMall/layouts/LXShopLayout.tsx
+3
-3
index.less
src/pages/shop/shopInfo/index.less
+2
-0
index.tsx
src/pages/shop/shopInfo/index.tsx
+0
-1
No files found.
demo.js
View file @
779c8859
...
...
@@ -4,7 +4,7 @@ const mockData = {
data
:
{
global
:
{
siteId
:
352
,
siteUrl
:
'http://
localhost
:4396'
,
siteUrl
:
'http://
10.0.0.25
:4396'
,
logo
:
'https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/4db4e7c5424c471c968ab540bce027f31597319423082.png'
,
countryList
:
[
{
...
...
src/app.tsx
View file @
779c8859
...
...
@@ -117,15 +117,19 @@ export function render(oldRender: Function) {
export
function
onRouteChange
({
routes
,
matchedRoutes
,
location
,
action
})
{
console
.
log
(
'onRouteChange'
)
if
(
isDev
)
{
return
;
// if (isDev) {
// return;
// }
if
(
whiteLists
.
includes
(
location
.
pathname
))
{
return
}
// 是否登录
if
(
getAuth
())
{
const
routeAuthUrls
=
getRouters
()
const
{
query
,
pathname
}
=
location
if
(
userLoginLists
.
includes
(
pathname
))
{
// 当登录过, 并且尝试访问登录相关页面, 需重定向到首页
history
.
replace
(
'/memberCenter/home'
)
...
...
src/pages/channel/channelInfo/index.less
View file @
779c8859
...
...
@@ -20,6 +20,7 @@
.form_item_wrap {
display: flex;
align-items: center;
flex-wrap: wrap;
.size_require {
color: #97A0AF;
...
...
@@ -62,6 +63,7 @@
cursor: pointer;
margin-right: 24px;
overflow: hidden;
margin-bottom: 12px;
&.upload {
border: 1px solid rgba(223, 225, 230, 1);
...
...
src/pages/lxMall/index/index.tsx
View file @
779c8859
...
...
@@ -110,7 +110,7 @@ const MallIndex: React.FC<MallIndexPropsType> = (props) => {
</
FloorLine
.
FloorHeader
>
<
FloorLine
.
Horizontal
>
<
FloorLine
.
Goods
goodsList=
{
categoryDetail
.
goodsBOList
}
/>
<
FloorLine
.
Shops
shopsList=
{
categoryDetail
.
shopBOList
}
linkUrl=
{
`/shop
?shopId=${btoa(JSON.stringify({ shopId: 3, memberId: 6 }))}
`
}
/>
<
FloorLine
.
Shops
shopsList=
{
categoryDetail
.
shopBOList
}
linkUrl=
{
`/shop`
}
/>
</
FloorLine
.
Horizontal
>
</
FloorLine
.
Vertical
>
</
FloorLine
.
Horizontal
>
...
...
src/pages/lxMall/layouts/LXShopLayout.tsx
View file @
779c8859
...
...
@@ -44,8 +44,8 @@ const LXShopLayout: React.FC<LXMallLayoutPropsType> = (props) => {
},
[])
useEffect
(()
=>
{
if
(
query
.
me
m
berId
)
{
fetchShopInfo
(
query
.
me
m
berId
)
if
(
query
.
meberId
)
{
fetchShopInfo
(
query
.
meberId
)
}
},
[
query
])
...
...
@@ -81,7 +81,7 @@ const LXShopLayout: React.FC<LXMallLayoutPropsType> = (props) => {
{
layoutType
:
'shop'
,
shopId
:
query
.
shopId
,
memberId
:
query
.
me
m
berId
,
memberId
:
query
.
meberId
,
shopUrlParam
:
shopId
,
shopInfo
},
...
...
src/pages/shop/shopInfo/index.less
View file @
779c8859
...
...
@@ -19,6 +19,7 @@
.form_item_wrap {
display: flex;
flex-wrap: wrap;
align-items: center;
.size_require {
...
...
@@ -62,6 +63,7 @@
cursor: pointer;
margin-right: 24px;
overflow: hidden;
margin-bottom: 12px;
&.upload {
border: 1px solid rgba(223, 225, 230, 1);
...
...
src/pages/shop/shopInfo/index.tsx
View file @
779c8859
...
...
@@ -305,7 +305,6 @@ const ShopInfo: React.FC<ShopInfoPropsType> = (props) => {
label=
{
<
RequireItem
label=
"资质荣誉"
brief=
{
<
Tooltip
placement=
"top"
title=
"如商标注册证书、品牌授权证书等证明材料"
><
QuestionCircleOutlined
/></
Tooltip
>
}
/>
}
>
<
div
className=
{
styles
.
form_item_wrap
}
>
<
div
className=
{
styles
.
img_list
}
>
{
honorPics
.
map
((
item
,
index
)
=>
(
...
...
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