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
24b3d90c
Commit
24b3d90c
authored
Mar 09, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改活动页原价与活动价bug
parent
515b94a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pageConfigs.ts
...agement/activePage/fixtures/common/configs/pageConfigs.ts
+1
-1
index.tsx
...Management/activePage/fixtures/components/Price/index.tsx
+2
-2
No files found.
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/fixtures/common/configs/pageConfigs.ts
View file @
24b3d90c
...
...
@@ -9,7 +9,7 @@ import WebLayout from '../../components/WebDesignPanel/components/WebLayout';
/** 组件注册 */
const
originalComponents
=
{
...
LxUI
,
...
CustomLayouts
,
WebLayout
};
/** 组件schema 注册 */
/** 组件schema 注册
, 所有组件在 components/Layouts 下
*/
const
componentSchemasMap
=
{
...
schema
,
...
HTML
,
...
webScheam
};
// /**
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/fixtures/components/Price/index.tsx
View file @
24b3d90c
...
...
@@ -14,12 +14,12 @@ const Price: React.FC<Iprops> = (props: Iprops) => {
<
div
className=
{
styles
.
price
}
>
<
div
className=
{
styles
.
originalPrice
}
>
<
span
className=
{
styles
.
currency
}
>
{
getIntl
().
formatMessage
({
id
:
'common.money'
})
}
</
span
>
<
span
>
{
originalPrice
||
discount
Price
}
/
{
unit
}
</
span
>
<
span
>
{
discountPrice
||
original
Price
}
/
{
unit
}
</
span
>
</
div
>
{
(
originalPrice
!==
discountPrice
||
!
originalPrice
)
&&
(
<
div
className=
{
styles
.
discountPrice
}
>
{
getIntl
().
formatMessage
({
id
:
'common.money'
})
}{
discount
Price
}
/
{
unit
}
{
getIntl
().
formatMessage
({
id
:
'common.money'
})
}{
original
Price
}
/
{
unit
}
</
div
>
)
||
null
}
...
...
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