Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
92da0f4b
Commit
92da0f4b
authored
Jan 15, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: app企业商城装修开发
parent
5a38ed67
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
14 deletions
+28
-14
index.ts
src/constants/index.ts
+2
-3
index.tsx
src/pages/pageCustomized/components/toolBar/index.tsx
+7
-8
config.ts
src/pages/pageCustomized/mobileEdit/config.ts
+15
-1
index.tsx
src/pages/pageCustomized/mobileEdit/index.tsx
+2
-0
index.tsx
...ingsPanel/propsSettings/components/BrandSetting/index.tsx
+2
-2
No files found.
src/constants/index.ts
View file @
92da0f4b
...
...
@@ -125,7 +125,7 @@ export const STATUS_ENUM = [
]
// 1是阿里云oss服务器, 2是本地文件服务器
export
const
UPLOAD_TYPE
=
isDev
?
2
:
1
export
const
UPLOAD_TYPE
=
1
// 会员规则类型
export
const
VIP_RULE_TRANSACTION
=
1
;
// 交易
...
...
@@ -1278,4 +1278,4 @@ export const PAY_CHANNEL = {
[
PAY_CHANNEL_OFFLINE
]:
'线下支付'
,
[
PAY_CHANNEL_CREDIT
]:
'授信'
,
[
PAY_CHANNEL_COD
]:
'货到付款'
,
};
\ No newline at end of file
};
src/pages/pageCustomized/components/toolBar/index.tsx
View file @
92da0f4b
...
...
@@ -35,7 +35,6 @@ const ToolBar: React.FC<ToolBarPropsType> = (props) => {
}
const
handleSave
=
useCallback
(()
=>
{
console
.
log
(
componentConfigs
,
'componentConfigs'
)
const
param
:
any
=
{
templateId
:
Number
(
templateId
),
appEnterpriseBO
:
{},
...
...
@@ -47,44 +46,44 @@ const ToolBar: React.FC<ToolBarPropsType> = (props) => {
case
PROPS_TYPES
.
mobileHeaderNav
:
param
.
appEnterpriseBO
.
topBO
=
{
style
:
componentConfigsItem
.
props
.
styleTheme
||
0
,
status
:
fals
e
,
status
:
tru
e
,
topDetailsBOList
:
componentConfigsItem
.
props
.
dataList
||
[]
}
break
case
PROPS_TYPES
.
mobileBanner
:
param
.
appEnterpriseBO
.
advertBO
=
{
status
:
componentConfigsItem
.
props
.
visible
||
fals
e
,
status
:
componentConfigsItem
.
props
.
visible
||
tru
e
,
advertDetailsBOList
:
componentConfigsItem
.
props
.
dataList
||
[]
}
break
case
PROPS_TYPES
.
mobileQuickNav
:
param
.
appEnterpriseBO
.
functionBO
=
{
status
:
componentConfigsItem
.
props
.
visible
||
fals
e
,
status
:
componentConfigsItem
.
props
.
visible
||
tru
e
,
functionDetailsBO
:
componentConfigsItem
.
props
.
dataList
||
[]
}
break
case
PROPS_TYPES
.
mobileShowCase
:
param
.
appEnterpriseBO
.
showcaseBO
=
{
style
:
componentConfigsItem
.
props
.
styleTheme
||
0
,
status
:
componentConfigsItem
.
props
.
visible
||
fals
e
,
status
:
componentConfigsItem
.
props
.
visible
||
tru
e
,
showcaseDetailsBO
:
componentConfigsItem
.
props
.
dataList
||
[]
}
break
case
PROPS_TYPES
.
mobileRecommentShops
:
param
.
appEnterpriseBO
.
storeBO
=
{
status
:
componentConfigsItem
.
props
.
visible
||
fals
e
,
status
:
componentConfigsItem
.
props
.
visible
||
tru
e
,
storeIdList
:
componentConfigsItem
.
props
.
dataList
?
componentConfigsItem
.
props
.
dataList
.
map
(
item
=>
item
.
selectId
)
:
[]
}
break
case
PROPS_TYPES
.
mobileQuality
:
param
.
appEnterpriseBO
.
excellentBO
=
{
status
:
componentConfigsItem
.
props
.
visible
||
fals
e
,
status
:
componentConfigsItem
.
props
.
visible
||
tru
e
,
excellentDetailsBO
:
componentConfigsItem
.
props
.
dataList
||
[]
}
break
case
PROPS_TYPES
.
mobileBottomNavigation
:
param
.
appEnterpriseBO
.
bottomBO
=
{
status
:
fals
e
,
status
:
tru
e
,
bottomDetailsBOList
:
componentConfigsItem
.
props
.
dataList
||
[]
}
break
...
...
src/pages/pageCustomized/mobileEdit/config.ts
View file @
92da0f4b
...
...
@@ -33,7 +33,7 @@ export const divWrap = {
"background"
:
"#FFF"
,
}
},
"childNodes"
:
[
"2"
,
"3"
]
"childNodes"
:
[
"2"
,
"
1
3"
]
}
}
...
...
@@ -83,6 +83,20 @@ export const mobileHeaderNav = {
}
}
export
const
bannerWrap
=
{
key
:
"13"
,
"13"
:
{
"componentName"
:
"div"
,
"props"
:
{
"style"
:
{
"marginTop"
:
"-50px"
,
}
},
"childNodes"
:
[
"3"
]
}
}
export
const
mobileBanner
=
{
key
:
"3"
,
"3"
:
{
...
...
src/pages/pageCustomized/mobileEdit/index.tsx
View file @
92da0f4b
...
...
@@ -8,6 +8,7 @@ import config from '../configs'
import
{
mallLayoutConfig
,
divWrap
,
bannerWrap
,
mobileHeaderNav
,
mobileBanner
,
mobileQuickNav
,
...
...
@@ -233,6 +234,7 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
...
mallLayoutConfig
,
...
divWrap
,
...
mobileHeaderNav
,
...
bannerWrap
,
...
mobileBanner
,
...
mobileQuickNav
,
...
mobileShowCase
,
...
...
src/pages/pageCustomized/settingsPanel/propsSettings/components/BrandSetting/index.tsx
View file @
92da0f4b
...
...
@@ -146,7 +146,7 @@ const BrandSetting: React.FC<ShopSettingPropsType> = (props) => {
param
.
brandIds
=
ids
PublicApi
.
postTemplateAdornWebEnterpriseSaveBrand
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
resolve
()
resolve
(
true
)
}
else
{
reject
()
}
...
...
@@ -213,7 +213,7 @@ const BrandSetting: React.FC<ShopSettingPropsType> = (props) => {
<
Col
>
<
Form
.
Item
className=
{
styles
.
mar_bot_0
}
name=
"
shop
Name"
name=
"
brand
Name"
>
<
Input
.
Search
style=
{
{
width
:
240
}
}
...
...
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