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
94fb32ba
Commit
94fb32ba
authored
Feb 17, 2022
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加渠道app装修默认底部导航
parent
d9bee8a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
7 deletions
+25
-7
config.ts
src/pages/mobileTemplate/channelTemplateEdit/config.ts
+17
-2
index.tsx
src/pages/mobileTemplate/channelTemplateEdit/index.tsx
+4
-3
config.ts
src/pages/mobileTemplate/ownMallTemplateEdit/config.ts
+4
-2
No files found.
src/pages/mobileTemplate/channelTemplateEdit/config.ts
View file @
94fb32ba
/*
* @Author: ghua
* @Date: 2021-02-22 17:02:20
* @LastEditTime: 202
1-03-01 11:47:26
* @LastEditors:
Please set LastEditors
* @LastEditTime: 202
2-02-17 14:23:55
* @LastEditors:
GHua
* @Description: In User Settings Edit
* @FilePath: /lingxi-business-paltform/src/pages/mobileTemplate/channelTemplateEdit/config.ts
*/
...
...
@@ -22,6 +22,21 @@ export const defaultHeaderNavData = [
},
]
export
const
defaultBottomData
=
[
{
defaultIcon
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/home_default_icon@2x53811228510b478b982e930f3abd311c.png"
,
name
:
intl
.
formatMessage
({
id
:
'editor.bottom.link.type.home'
}),
selectIcon
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/home_select_icon61bb51708e454013bf26126b8ccca779.png"
,
type
:
1
,
},
{
defaultIcon
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/mine_default_icon7c3a9ddd9dc844b89abbd7ecc906869e.png"
,
name
:
intl
.
formatMessage
({
id
:
'editor.bottom.link.type.mine'
}),
selectIcon
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/mine_select_icon66af7fd1a6374b1a8081247d6e6f18c7.png"
,
type
:
7
,
}
]
export
const
channelLayoutConfig
:
PageConfigType
=
{
'0'
:
{
componentName
:
'LocaleProvide'
,
...
...
src/pages/mobileTemplate/channelTemplateEdit/index.tsx
View file @
94fb32ba
/*
* @Author: ghua
* @Date: 2021-02-22 17:02:20
* @LastEditTime: 202
1-03-01 11:37:34
* @LastEditors:
Please set LastEditors
* @LastEditTime: 202
2-02-17 14:18:17
* @LastEditors:
GHua
* @Description: app渠道商城装修
* @FilePath: /lingxi-business-paltform/src/pages/mobileTemplate/channelTemplateEdit/index.tsx
*/
...
...
@@ -27,6 +27,7 @@ import {
couponsModalConfig
,
defaultConfig
,
suggestProductConfig
,
defaultBottomData
,
}
from
'./config'
;
import
{
marketingConfig_1
,
...
...
@@ -212,7 +213,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
navList
:
appConfig
?.
navList
?
appConfig
?.
navList
.
details
:
[],
advert
:
appConfig
?.
advert
?
appConfig
?.
advert
.
details
:
[],
informationTitle
:
await
getInfoList
(),
bottom
:
appConfig
?.
bottom
?
appConfig
?.
bottom
.
details
:
[]
,
bottom
:
(
appConfig
?.
bottom
&&
appConfig
?.
bottom
.
details
&&
appConfig
?.
bottom
.
details
.
length
>
0
)
?
appConfig
?.
bottom
.
details
:
defaultBottomData
,
};
const
_suggestProductConfig
:
any
=
cloneDeep
(
suggestProductConfig
);
...
...
src/pages/mobileTemplate/ownMallTemplateEdit/config.ts
View file @
94fb32ba
/*
* @Author: ghua
* @Date: 2021-02-22 17:02:20
* @LastEditTime: 202
1-03-01 11:47:26
* @LastEditors:
Please set LastEditors
* @LastEditTime: 202
2-02-17 14:13:58
* @LastEditors:
GHua
* @Description: In User Settings Edit
* @FilePath: /lingxi-business-paltform/src/pages/mobileTemplate/channelTemplateEdit/config.ts
*/
...
...
@@ -228,3 +228,5 @@ export const couponsModalConfig = {
canDrag
:
false
,
},
};
// https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/home_default_icon@2x53811228510b478b982e930f3abd311c.png
// https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/home_select_icon61bb51708e454013bf26126b8ccca779.png
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