Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
kaisa
/
SopWeb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d8b62bba
authored
Nov 17, 2025
by
kaisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:测试
parent
2b2ac9d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
src/views/activity/recruitment/components/sign/index.vue
src/views/activity/recruitment/components/sign/index.vue
View file @
d8b62bba
...
...
@@ -17,12 +17,11 @@ const columns = [
// 进度条
const
stages
=
[
{
label
:
'試合作'
,
value
:
33.33
,
time
:
"15天"
},
{
label
:
'中期合作'
,
value
:
66.66
,
time
:
"180天或收穫200w螢火"
},
{
label
:
'長期合作'
,
value
:
100
,
time
:
"365天"
}
{
label
:
'試合作'
,
time
:
"15天"
},
{
label
:
'中期合作'
,
time
:
"180天或收穫200w螢火"
},
{
label
:
'長期合作'
,
time
:
"365天"
}
];
const
stageIndex
=
ref
(
0
)
const
currentProgress
=
ref
(
33.33
);
// 默认显示第一阶段
const
onConfirm
=
({
selectedValues
}:
any
)
=>
{
formData
.
value
.
platform
=
selectedValues
;
...
...
@@ -52,12 +51,13 @@ const onSubmit = async () => {
<div
class=
"text-content"
>
<div
class=
"stage-progress"
>
<div
class=
"progress-bar"
>
<div
class=
"progress-fill"
:style=
"
{ width: currentProgress + '%' }">
</div>
<div
class=
"progress-fill"
:style=
"
{ left: `${stageIndex * 33.33}%` }">
</div>
</div>
<div
class=
"progress-markers"
>
<div
class=
"marker"
v-for=
"(stage, index) in stages"
:key=
"index"
>
<img
src=
"../../image/down.png"
alt=
""
>
<span
class=
"active
"
>
{{
stage
.
label
}}
</span>
<img
v-show=
"stageIndex === index"
src=
"../../image/down.png"
alt=
""
>
<span
:class=
"
{ active: stageIndex === index }
">
{{
stage
.
label
}}
</span>
</div>
</div>
</div>
...
...
@@ -387,6 +387,7 @@ const onSubmit = async () => {
.progress-fill
{
height
:
19px
;
width
:
33.33%
;
background-color
:
#49FFC2
;
border-radius
:
14px
;
transition
:
width
0.3s
ease
;
...
...
@@ -410,7 +411,7 @@ const onSubmit = async () => {
.progress-markers
{
display
:
flex
;
justify-content
:
space-between
;
gap
:
55px
;
color
:
rgba
(
255
,
255
,
255
,
0.5
);
font-size
:
26px
;
font-family
:
PingFang
SC
;
...
...
@@ -419,10 +420,12 @@ const onSubmit = async () => {
.marker
{
position
:
relative
;
padding-top
:
2px
;
padding-left
:
5
3px
;
padding-left
:
4
3px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
min-height
:
56px
;
justify-content
:
center
;
img
{
width
:
18px
;
...
...
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