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
a3d7a480
Commit
a3d7a480
authored
May 25, 2019
by
chenyishuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5.25
parent
6abd59a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
starRank.vue
src/components/star/starRank.vue
+4
-1
No files found.
src/components/star/starRank.vue
View file @
a3d7a480
...
...
@@ -28,7 +28,8 @@
<p
class=
"date"
>
{{
item
.
created_at
}}
</p>
</div>
<div
class=
"right"
>
<span>
+
{{
item
.
value
}}
</span>
<span
v-if=
"item.is_add==1"
class=
"add"
>
+
{{
item
.
value
}}
</span>
<span
v-if=
"item.is_add==0"
class=
"reduce"
>
-
{{
item
.
value
}}
</span>
<img
:src=
"star_inner"
alt
>
</div>
</div>
...
...
@@ -242,6 +243,8 @@ export default {
}
span {
}
.add{}
.reduce{color: greenyellow;}
}
}
}
...
...
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