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
30eb267d
Commit
30eb267d
authored
May 19, 2022
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复模板装修问题
parent
dccb338a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
index.tsx
src/pages/mobileTemplate/channelTemplateEdit/index.tsx
+2
-1
index.tsx
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
+2
-1
index.tsx
src/pages/mobileTemplate/shopTemplateEdit/index.tsx
+2
-1
No files found.
src/pages/mobileTemplate/channelTemplateEdit/index.tsx
View file @
30eb267d
...
...
@@ -20,6 +20,7 @@ import MobileClientEditLeft from '../../editor/components/mobileClientEditLeft';
import
{
message
}
from
'antd'
;
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
*
as
MarketingConfigs
from
'./marketing_config'
;
import
brickConfig
from
'../../editor/configs'
import
{
cloneDeep
}
from
'lodash'
;
import
{
defaultHeaderNavData
,
...
...
@@ -91,7 +92,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
const
[
componentConfigs
,
setComponentConfigs
]
=
useState
({});
const
{
memberId
,
memberRoleId
}
=
getAuth
()
||
{};
const
[
templateInfo
,
setTemplateInfo
]
=
useState
<
any
>
()
const
brickConfig
=
useBrickAsync
()
//
const brickConfig = useBrickAsync()
const
intl
=
useIntl
()
const
headers
:
any
=
{
...
...
src/pages/mobileTemplate/ownMallTemplateEdit/index.tsx
View file @
30eb267d
...
...
@@ -21,6 +21,7 @@ import { priceFormat } from '@/utils/numberFomat';
import
*
as
MarketingConfigs
from
'./marketing_config'
;
import
{
cloneDeep
}
from
'lodash'
;
import
{
GlobalConfig
}
from
'@/global/config'
import
brickConfig
from
'../../editor/configs'
import
moment
from
'moment'
import
{
channelLayoutConfig
,
...
...
@@ -91,7 +92,7 @@ const OwnMallTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
const
[
componentConfigs
,
setComponentConfigs
]
=
useState
({});
const
{
memberId
,
memberRoleId
}
=
getAuth
()
||
{};
const
[
templateInfo
,
setTemplateInfo
]
=
useState
<
any
>
()
const
brickConfig
=
useBrickAsync
()
//
const brickConfig = useBrickAsync()
const
intl
=
useIntl
()
useEffect
(()
=>
{
...
...
src/pages/mobileTemplate/shopTemplateEdit/index.tsx
View file @
30eb267d
...
...
@@ -14,6 +14,7 @@ import MobileClientEditLeft from '../../editor/components/mobileClientEditLeft'
import
{
cloneDeep
}
from
'lodash'
import
{
message
}
from
'antd'
import
moment
from
'moment'
import
brickConfig
from
'../../editor/configs'
import
*
as
MarketingConfigs
from
'./marketing_config'
import
{
priceFormat
}
from
'@/utils/numberFomat'
import
{
...
...
@@ -77,7 +78,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
const
[
theme
,
setTheme
]
=
useState
<
string
>
(
'theme-mall-science'
)
const
[
componentConfigs
,
setComponentConfigs
]
=
useState
({})
const
{
memberId
,
memberRoleId
}
=
getAuth
()
||
{}
const
brickConfig
=
useBrickAsync
()
//
const brickConfig = useBrickAsync()
const
intl
=
useIntl
()
const
headers
=
{
...
...
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