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
project
jinfa-admin
Commits
82b912ec
Commit
82b912ec
authored
Dec 07, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into v2
parents
5e87c1a7
b50a824d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
index.less
src/pages/pageCustomized/mobileSettingPanel/index.less
+0
-1
index.tsx
...anel/propsSettings/components/marketingCardGood/index.tsx
+5
-1
yarn.lock
yarn.lock
+0
-0
No files found.
src/pages/pageCustomized/mobileSettingPanel/index.less
View file @
82b912ec
.mobileSettingPanel {
height: 100%;
overflow-y: auto;
background-color: #FFF;
transition: width .25s;
...
...
src/pages/pageCustomized/mobileSettingPanel/propsSettings/components/marketingCardGood/index.tsx
View file @
82b912ec
...
...
@@ -14,6 +14,8 @@ import ActivityImage from '@/asserts/activity/ActivityImage.svg';
import
{
priceFormat
}
from
'@/utils/numberFomat'
;
import
useSamLevelProps
from
'../../../common/hooks/useSameLevelProps'
;
interface
MarketingCardGoodProps
{
...
...
@@ -26,12 +28,13 @@ interface MarketingCardGoodProps {
}
const
MarketingCardGood
:
React
.
FC
<
MarketingCardGoodProps
>
=
(
props
:
MarketingCardGoodProps
)
=>
{
const
{
id
,
actType
,
exType
,
pageConfig
}
=
props
;
const
{
id
,
actType
,
exType
,
pageConfig
,
selectedKey
}
=
props
;
const
{
query
:
{
shopId
}
}:
any
=
history
.
location
;
const
[
record
,
setRecord
]
=
useState
<
any
>
([]);
const
[
actVisible
,
setActVisible
]
=
useState
(
false
);
const
[
ignoresfilters
]
=
useState
([
'activityType'
]);
const
sameLevelPropsList
=
useSamLevelProps
({
key
:
selectedKey
})
useEffect
(()
=>
{
if
(
id
&&
id
!=
record
[
0
]?.
id
)
{
...
...
@@ -251,6 +254,7 @@ const MarketingCardGood: React.FC<MarketingCardGoodProps> = (props: MarketingCar
onCancel=
{
()
=>
setActVisible
(
false
)
}
mode=
'radio'
ignoresFilters=
{
ignoresfilters
}
disabledList=
{
sameLevelPropsList
?
sameLevelPropsList
.
map
((
item
)
=>
`${item.id}_${item.activityId}`
)
:
[]
}
/>
</
div
>
);
...
...
yarn.lock
View file @
82b912ec
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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