Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
de97699e
Commit
de97699e
authored
Aug 15, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情倒计时样式优化
parent
ac737f76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
ScenicSpots.vue
src/Components/assistingAgriculture/index/ScenicSpots.vue
+3
-0
detail.vue
src/pages/assistingAgriculture/detail/detail.vue
+6
-3
No files found.
src/Components/assistingAgriculture/index/ScenicSpots.vue
View file @
de97699e
...
...
@@ -90,6 +90,9 @@ defineExpose({ reset });
padding-left
:
20rpx
;
display
:
flex
;
flex-flow
:
wrap
;
overflow
:
hidden
;
height
:
160rpx
;
overflow-y
:
auto
;
li
{
width
:
154rpx
;
border-radius
:
8rpx
;
...
...
src/pages/assistingAgriculture/detail/detail.vue
View file @
de97699e
...
...
@@ -49,14 +49,16 @@
</view>
<wd-count-down
:time=
"timeLeft"
style=
"position: absolute; z-index: 999;
margin-left: 46
0rpx; margin-top: 10rpx"
style=
"position: absolute; z-index: 999;
left: 44
0rpx; margin-top: 10rpx"
>
<template
#
default=
"
{ current }">
<span
class=
"custom-count-down"
>
{{
current
.
days
}}
</span>
<span
class=
"custom-count-down"
>
{{
current
.
days
}}
天
</span>
<span
class=
"custom-count-down-colon"
>
:
</span>
<span
class=
"custom-count-down"
>
{{
current
.
hours
}}
</span>
<span
class=
"custom-count-down-colon"
>
:
</span>
<span
class=
"custom-count-down"
>
{{
current
.
minutes
}}
</span>
<span
class=
"custom-count-down-colon"
>
:
</span>
<span
class=
"custom-count-down"
>
{{
current
.
seconds
}}
</span>
</
template
>
</wd-count-down>
</view>
...
...
@@ -360,6 +362,7 @@ page {
color
:
#3d3d3d
;
padding-top
:
20rpx
;
padding-left
:
20rpx
;
padding-bottom
:
40rpx
;
}
.detail-int
{
width
:
336
*
2rpx
;
...
...
@@ -538,7 +541,7 @@ page {
}
.custom-count-down
{
display
:
inline-block
;
width
:
44
rpx
;
width
:
56
rpx
;
color
:
#fa5151
;
font-size
:
24rpx
;
text-align
:
center
;
...
...
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