Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
9bce05dd
Commit
9bce05dd
authored
Sep 27, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
0af1057c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
sharePic.vue
src/components/sharePic.vue
+7
-4
No files found.
src/components/sharePic.vue
View file @
9bce05dd
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
style=
"width: 94px;height: 94px;margin: 0 21px;font-size: 34px;"
style=
"width: 94px;height: 94px;margin: 0 21px;font-size: 34px;"
/>
/>
</div>
</div>
<div
class=
"groupProcess"
style=
"width:
75
0px;height: 123px;padding-top: 50px;"
>
<div
class=
"groupProcess"
style=
"width:
92
0px;height: 123px;padding-top: 50px;"
>
<div
class=
"desc"
style=
"border-radius: 36.5px;font-size: 34px;"
>
<div
class=
"desc"
style=
"border-radius: 36.5px;font-size: 34px;"
>
还差
<span
style=
"margin: 0 10px;"
>
{{ sharePicData.needGuys }}人
</span>
成团,
<
template
还差
<span
style=
"margin: 0 10px;"
>
{{ sharePicData.needGuys }}人
</span>
成团,
<
template
v-if=
"endTime != ''"
v-if=
"endTime != ''"
...
@@ -171,9 +171,12 @@ export default {
...
@@ -171,9 +171,12 @@ export default {
},
},
async
createAndUploadPic
(
sharePicData
)
{
async
createAndUploadPic
(
sharePicData
)
{
this
.
sharePicData
=
sharePicData
;
this
.
sharePicData
=
sharePicData
;
let
endTime
=
sharePicData
.
endTime
?
sharePicData
.
endTime
.
split
(
'
'
)[
0
]
:
''
;
const
endTimeYMD
=
sharePicData
.
endTime
?
sharePicData
.
endTime
.
split
(
'
'
)[
0
]
:
''
;
if
(
endTime
)
{
const
endTimeHMS
=
sharePicData
.
endTime
?
sharePicData
.
endTime
.
split
(
'
'
)[
1
]
:
''
;
this
.
endTime
=
`
${
new
Date
(
endTime
).
getMonth
()
+
1
}
月
${
new
Date
(
endTime
).
getDate
()}
日`
;
if
(
endTimeYMD
)
{
this
.
endTime
=
`
${
new
Date
(
endTimeYMD
).
getMonth
()
+
1
}
月
${
new
Date
(
endTimeYMD
).
getDate
()}
日
${
endTimeHMS
}
`
;
}
}
this
.
handleAvator
(
sharePicData
);
this
.
handleAvator
(
sharePicData
);
const
_this
=
this
;
const
_this
=
this
;
...
...
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