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
陈智峰
jinfa-platform
Commits
38a3d065
Commit
38a3d065
authored
Jan 11, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改pc 装修页tab样式以及商城域名链接
parent
0b925212
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
index.tsx
...esManagement/activePage/components/ActivityItem/index.tsx
+7
-2
web.less
...arketingActivitiesManagement/activePage/fixtures/web.less
+21
-0
index.tsx
...bility/marketingActivitiesManagement/activePage/index.tsx
+1
-0
No files found.
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/components/ActivityItem/index.tsx
View file @
38a3d065
...
...
@@ -7,6 +7,8 @@ import styles from './index.less';
import
{
enumName
,
WEB
}
from
'@/constants/environment'
;
import
StatusTag
from
'@/components/StatusTag'
;
import
fixture
from
'@/assets/activity/fixture.png'
import
{
REQUEST_HEADER
,
TOP_DOMAIN
}
from
'@/constants'
;
// REQUEST_HEADER
const
{
Paragraph
}
=
Typography
;
interface
Iprops
{
...
...
@@ -18,6 +20,8 @@ interface Iprops {
endTime
:
string
,
statusName
:
string
,
id
:
number
,
/** 商城子域名 */
url
:
string
,
/** 1.WEB 2.H5 3.小程序 4.APP */
environment
:
1
|
2
|
3
|
4
|
number
,
onRemove
?:
((
id
:
number
)
=>
void
)
|
null
,
...
...
@@ -54,7 +58,8 @@ const ActiveItem: React.FC<Iprops> = (props: Iprops) => {
onRemove
,
status
,
onChangeStatus
,
environment
environment
,
url
,
}
=
props
;
const
handleRemove
=
()
=>
{
...
...
@@ -104,7 +109,7 @@ const ActiveItem: React.FC<Iprops> = (props: Iprops) => {
{
environment
===
WEB
&&
status
!==
END
&&
(
<
div
className=
{
styles
.
copyLink
}
>
<
Paragraph
copyable=
{
{
text
:
`
http://b2b.lingxidev.com
/activity/${id}`
}
}
/>
<
Paragraph
copyable=
{
{
text
:
`
${REQUEST_HEADER}${url}.${TOP_DOMAIN}
/activity/${id}`
}
}
/>
</
div
>
)
}
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/fixtures/web.less
View file @
38a3d065
...
...
@@ -38,6 +38,27 @@
height: 100%;
overflow: auto;
:global {
.ant-tabs-nav {
margin-bottom: 0px;
}
.ant-tabs-nav-wrap {
flex: 1;
width: 100%;
padding: 0 16px;
}
.ant-tabs-nav-list {
width: 100%;
}
.ant-tabs-tab {
flex: 1;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
}
.expand-icon {
position: absolute;
top: 35px;
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/index.tsx
View file @
38a3d065
...
...
@@ -128,6 +128,7 @@ const ActivePage = () => {
endTime=
{
_item
.
endTime
as
unknown
as
string
}
environment=
{
_item
.
environment
}
status=
{
_item
.
status
}
url=
{
_item
.
url
}
onRemove=
{
handleRemove
}
onChangeStatus=
{
onChangeStatus
}
/>
...
...
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