Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
8d91bfaf
Commit
8d91bfaf
authored
Oct 14, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijiao
parent
381144ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
order.vue
src/components/order.vue
+3
-2
index.vue
src/components/punchTheClock/index.vue
+7
-2
No files found.
src/components/order.vue
View file @
8d91bfaf
...
...
@@ -36,6 +36,7 @@
<
script
>
import
{
getOrderListApi
,
getwechatParam
}
from
"../service/api"
;
import
commom
from
"../util/common"
;
import
{
ORDERTYPE
}
from
"../util/wordbook"
;
import
{
order
}
from
"../util/imgUrl.js"
import
shareUrl
from
'../assets/share.png'
...
...
@@ -241,7 +242,7 @@
}
}
.payMoney{margin-left: 0;}
.pay{width: 70* @toVw;height: 28* @toVw;border:1px solid rgba(244,99,99,1);color:rgba(244,99,99,1);
.pay{width: 70* @toVw;height: 28* @toVw;border:1px solid rgba(244,99,99,1);color:rgba(244,99,99,1);
text-align: center;line-height: 28* @toVw;border-radius: 14* @toVw; }
}
}
...
...
@@ -266,7 +267,7 @@
margin: 0;
line-height: 20 * @toVw;
}
.red{
color: #f06a33;
}
...
...
src/components/punchTheClock/index.vue
View file @
8d91bfaf
...
...
@@ -119,8 +119,10 @@
<div
class=
"today-list-xian"
v-for=
"(item, index) in punchCardData"
v-if=
"punchCardData.length !== 0"
:key=
"index"
>
<!-- 日期 -->
<div
class=
"punch-card-today"
>
<div
class=
"sou"
v-if=
"recordListIndex === 0"
>
<img
:src=
"punchTheClock.sou"
alt=
""
>
<div
class=
"days"
>
<div
class=
"sou"
v-if=
"recordListIndex === 0"
>
<img
:src=
"punchTheClock.sou"
alt=
""
>
</div>
</div>
<div
class=
"day"
v-if=
"recordListIndex !== 0"
>
{{
item
.
push_time
.
split
(
'-'
)[
1
]
}}
月
{{
item
.
push_time
.
split
(
'-'
)[
2
]
}}
日打卡任务
</div>
<div
class=
"day-small"
>
{{
recordListIndex
===
0
?
'请耐心等待课程开始'
:
recordListIndex
===
1
?
'请在当日完成'
:
recordListIndex
===
2
?
'需消耗星星补卡'
:
'很棒哦!继续加油'
}}
</div>
...
...
@@ -786,6 +788,9 @@
font-weight: 500;
color: #6B5617;
}
.days {
width: 116 * @toVw;
}
.day-small {
padding-top: 3 * @toVw;
font-size: 10 * @toVw;
...
...
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