Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 51c6376a
authored
Jun 20, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
#1d2129 var(--font-black)
1 parent
c3fe5707
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
127 additions
and
129 deletions
vue3-lw-pc/src/layout/components/TopBar/TopMenu.vue
vue3-lw-pc/src/layout/components/TopBar/index.vue
vue3-lw-pc/src/views/application/common/FassionSetting.vue
vue3-lw-pc/src/views/application/groupFission/detail.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/add.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/components/Step3.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/detail.vue
vue3-lw-pc/src/views/application/taskGroup/detail.vue
vue3-lw-pc/src/views/contentCenter/trackMaterial/poster.vue
vue3-lw-pc/src/views/index/index.vue
vue3-lw-pc/src/views/login.vue
vue3-lw-pc/src/layout/components/TopBar/TopMenu.vue
View file @
51c6376
...
...
@@ -124,7 +124,7 @@ export default {
&
>
.el-menu-item
{
height
:
38px
!important
;
line-height
:
38px
!important
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
border-radius
:
8px
;
font-weight
:
bold
;
margin
:
0
4px
!important
;
...
...
vue3-lw-pc/src/layout/components/TopBar/index.vue
View file @
51c6376
...
...
@@ -207,7 +207,7 @@ export default {
height
:
100%
;
overflow
:
hidden
;
position
:
relative
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
.errLog-container
{
display
:
inline-block
;
...
...
vue3-lw-pc/src/views/application/common/FassionSetting.vue
View file @
51c6376
...
...
@@ -344,7 +344,7 @@ export default {
.info_title
{
font-size
:
16px
;
font-weight
:
600
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
margin-bottom
:
10px
;
}
</
style
>
vue3-lw-pc/src/views/application/groupFission/detail.vue
View file @
51c6376
...
...
@@ -144,7 +144,7 @@ export default {
.info_title
{
font-size
:
16px
;
font-weight
:
600
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
margin-bottom
:
10px
;
}
</
style
>
vue3-lw-pc/src/views/application/shortLinkPopularize/add.vue
View file @
51c6376
This diff is collapsed.
Click to expand it.
vue3-lw-pc/src/views/application/shortLinkPopularize/components/Step3.vue
View file @
51c6376
...
...
@@ -351,7 +351,7 @@ export default {
.info_title
{
font-size
:
16px
;
font-weight
:
600
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
margin-bottom
:
10px
;
}
</
style
>
vue3-lw-pc/src/views/application/shortLinkPopularize/detail.vue
View file @
51c6376
...
...
@@ -2,16 +2,15 @@
<div>
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
label=
"任务信息"
name=
"first"
>
<el-row
:gutter=
"20"
type=
"flex"
style=
"margin-top: 20px
;
"
>
<el-row
:gutter=
"20"
type=
"flex"
style=
"margin-top: 20px"
>
<el-col>
<div
class=
"g-card"
>
<div
style=
"display: flex; justify-content: space-between
;
"
>
<div
style=
"display: flex; justify-content: space-between"
>
<div
class=
"info_title"
>
基本信息
</div>
<el-button
v-if=
"form.taskStatus == 0"
type=
"primary"
@
click=
"$router.push(
{ path: './add', query: { id: id } })"
>
@
click=
"$router.push(
{ path: './add', query: { id: id } })">
编辑
</el-button>
</div>
...
...
@@ -23,8 +22,7 @@
v-model=
"form.taskName"
show-word-limit
disabled
clearable
></el-input>
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"任务状态:"
>
<el-tag
:type=
"form.taskStatus == 0 ? 'info' : form.taskStatus == 2 ? 'danger' : ''"
>
...
...
@@ -32,7 +30,7 @@
</el-tag>
</el-form-item>
<el-form-item
label=
"推广短链:"
>
<div
style=
"margin-top: 10px
;
"
>
<div
style=
"margin-top: 10px"
>
<ShowShortLinkVue
:data=
"shortLinkObj"
></ShowShortLinkVue>
</div>
</el-form-item>
...
...
@@ -43,10 +41,10 @@
</el-radio-group>
</el-form-item>
<el-form-item
v-if=
"form.style == 1"
label=
"推广海报:"
prop=
"materialId"
>
<div
style=
"margin-top: 10px
;
"
v-if=
"posterUrl"
>
<div
style=
"margin-top: 10px"
v-if=
"posterUrl"
>
<ul
class=
"el-upload-list el-upload-list--picture-card"
>
<li
class=
"el-upload-list__item is-success"
>
<img
style=
"width: 100%; height: 100%
;
"
:src=
"posterUrl"
/>
<img
style=
"width: 100%; height: 100%"
:src=
"posterUrl"
/>
</li>
</ul>
</div>
...
...
@@ -54,8 +52,8 @@
</el-form>
</div>
</el-col>
<el-col
style=
"flex-basis: 370px
;
"
>
<div
class=
"g-card"
style=
"height: 100%
;
"
>
<el-col
style=
"flex-basis: 370px"
>
<div
class=
"g-card"
style=
"height: 100%"
>
<div
class=
"info_title"
>
消息预览
</div>
<Preview
:value=
"posterUrl"
></Preview>
</div>
...
...
@@ -118,128 +116,128 @@
</
template
>
<
script
>
import
Statistics
from
'./statistics'
import
Preview
from
'./components/PreviewInPhone.vue'
import
ShowShortLinkVue
from
'./components/ShowShortLink.vue'
import
Step3
from
'./components/Step3.vue'
import
Statistics
from
'./statistics'
import
Preview
from
'./components/PreviewInPhone.vue'
import
ShowShortLinkVue
from
'./components/ShowShortLink.vue'
import
Step3
from
'./components/Step3.vue'
import
{
getDetail
}
from
'./api'
import
{
getDetail
}
from
'./api'
export
default
{
name
:
'short-link-popularize-detail'
,
components
:
{
Statistics
,
ShowShortLinkVue
,
Preview
,
Step3
},
data
()
{
return
{
activeName
:
'first'
,
form
:
{
taskName
:
''
,
shortLinkId
:
''
,
style
:
0
,
materialId
:
''
,
type
:
null
,
attachments
:
[]
},
choseDialog
:
false
,
showShortLink
:
false
,
shortLinkObj
:
[],
posterUrl
:
''
,
posterObj
:
{},
statusType
:
[
{
name
:
'待推广'
,
key
:
0
},
{
name
:
'推广中'
,
key
:
1
},
{
name
:
'已结束'
,
key
:
2
}
]
}
},
methods
:
{
setStatus
(
data
)
{
let
str
=
''
this
.
statusType
.
forEach
((
dd
)
=>
{
if
(
dd
.
key
==
data
.
taskStatus
)
{
str
=
dd
.
name
}
})
return
str
export
default
{
name
:
'short-link-popularize-detail'
,
components
:
{
Statistics
,
ShowShortLinkVue
,
Preview
,
Step3
,
},
data
()
{
return
{
activeName
:
'first'
,
form
:
{
taskName
:
''
,
shortLinkId
:
''
,
style
:
0
,
materialId
:
''
,
type
:
null
,
attachments
:
[],
},
getDetailFn
()
{
getDetail
(
this
.
id
).
then
((
res
)
=>
{
this
.
form
=
res
.
data
if
(
this
.
form
.
shortLinkId
)
{
this
.
shortLinkObj
=
[
this
.
form
.
shortLink
]
}
if
(
this
.
form
.
style
==
1
)
{
this
.
posterObj
=
this
.
form
.
weMaterial
this
.
posterUrl
=
this
.
posterObj
.
materialUrl
}
})
}
choseDialog
:
false
,
showShortLink
:
false
,
shortLinkObj
:
[],
posterUrl
:
''
,
posterObj
:
{},
statusType
:
[
{
name
:
'待推广'
,
key
:
0
},
{
name
:
'推广中'
,
key
:
1
},
{
name
:
'已结束'
,
key
:
2
},
],
}
},
methods
:
{
setStatus
(
data
)
{
let
str
=
''
this
.
statusType
.
forEach
((
dd
)
=>
{
if
(
dd
.
key
==
data
.
taskStatus
)
{
str
=
dd
.
name
}
})
return
str
},
getDetailFn
()
{
getDetail
(
this
.
id
).
then
((
res
)
=>
{
this
.
form
=
res
.
data
if
(
this
.
form
.
shortLinkId
)
{
this
.
shortLinkObj
=
[
this
.
form
.
shortLink
]
}
if
(
this
.
form
.
style
==
1
)
{
this
.
posterObj
=
this
.
form
.
weMaterial
this
.
posterUrl
=
this
.
posterObj
.
materialUrl
}
})
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
if
(
this
.
id
)
{
this
.
getDetailFn
()
}
},
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
if
(
this
.
id
)
{
this
.
getDetailFn
()
}
}
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.unit
{
//
margin
:
0
auto
;
.unit
{
//
margin
:
0
auto
;
display
:
flex
;
flex-wrap
:
wrap
;
//
width
:
580px
;
justify-content
:
space-between
;
.unit-item
{
width
:
280px
;
//
height
:
80px
;
border-width
:
1px
;
border-style
:
solid
;
border-color
:
rgba
(
242
,
242
,
242
,
1
);
border-radius
:
5px
;
display
:
flex
;
flex-wrap
:
wrap
;
//
width
:
580px
;
justify-content
:
space-between
;
.unit-item
{
width
:
280px
;
//
height
:
80px
;
border-width
:
1px
;
border-style
:
solid
;
border-color
:
rgba
(
242
,
242
,
242
,
1
);
border-radius
:
5px
;
display
:
flex
;
padding
:
17px
;
margin-bottom
:
20px
;
//
cursor
:
pointer
;
.icon-style
{
margin-right
:
10px
;
margin-top
:
7px
;
font-size
:
22px
;
width
:
24px
;
//
height
:
20px
;
}
.item-title
{
margin-top
:
4px
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
#1d2129
;
}
.item-text
{
margin-top
:
6px
;
font-size
:
12px
;
color
:
#aaaaaa
;
line-height
:
24px
;
}
&
:hover
{
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
}
padding
:
17px
;
margin-bottom
:
20px
;
//
cursor
:
pointer
;
.icon-style
{
margin-right
:
10px
;
margin-top
:
7px
;
font-size
:
22px
;
width
:
24px
;
//
height
:
20px
;
}
.item-title
{
margin-top
:
4px
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
var
(
--font-black
);
}
.item-text
{
margin-top
:
6px
;
font-size
:
12px
;
color
:
#aaaaaa
;
line-height
:
24px
;
}
.active_item
{
&
:hover
{
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
}
}
.info_title
{
font-size
:
16px
;
font-weight
:
600
;
color
:
#1d2129
;
margin-bottom
:
10px
;
.active_item
{
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
}
}
.info_title
{
font-size
:
16px
;
font-weight
:
600
;
color
:
var
(
--font-black
);
margin-bottom
:
10px
;
}
</
style
>
vue3-lw-pc/src/views/application/taskGroup/detail.vue
View file @
51c6376
...
...
@@ -144,7 +144,7 @@ export default {
.info_title
{
font-size
:
16px
;
font-weight
:
600
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
margin-bottom
:
10px
;
}
</
style
>
vue3-lw-pc/src/views/contentCenter/trackMaterial/poster.vue
View file @
51c6376
...
...
@@ -252,7 +252,7 @@ export default {
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
}
.item-text
{
margin-top
:
6px
;
...
...
vue3-lw-pc/src/views/index/index.vue
View file @
51c6376
...
...
@@ -476,7 +476,7 @@ export default {
.view-item-num
{
font-size
:
24px
;
font-weight
:
500
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
font-family
:
Bahnschrift-Regular
,
Bahnschrift
;
}
}
...
...
vue3-lw-pc/src/views/login.vue
View file @
51c6376
...
...
@@ -205,7 +205,7 @@ export default {
.login-text
{
font-size
:
32px
;
font-weight
:
700
;
color
:
#1d2129
;
color
:
var
(
--font-black
)
;
margin
:
26px
auto
50px
auto
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment