Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
lijing
9 years ago
Commit
276be32b802d5e9cf07c680f49a8233bd657c102
1 parent
8b2005b5
分享,点赞按钮
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
public/vue/editorial/top-nav.vue
public/vue/editorial/top-nav.vue
View file @
276be32
...
...
@@ -2,16 +2,16 @@
<div class="top-nav">
<navbar>
<template slot="right">
<a class="right-button" href="javascript:void(0);" @click="like()">
<a class="right-button
no-intercept
" href="javascript:void(0);" @click="like()">
<span class="icon icon-like" :class=""></span>
{{likeCount}}
</a>
<a class="right-button" href="javascript:void(0);" @click="favorite()">
<a class="right-button
no-intercept
" href="javascript:void(0);" @click="favorite()">
<span class="icon" :class="{ 'icon-love': !isFavorite, 'icon-love-solid': isFavorite}"></span>
</a>
<a class="right-button" href="javascript:void(0);" @click="share()">
<a class="right-button
no-intercept
" href="javascript:void(0);" @click="share()">
<span class="icon icon-share"></span>
</a>
</template>
...
...
@@ -77,10 +77,10 @@
// if (result && result.code === 200) {
// // TODO:
// }
// }
if (result && result.code === 403) {
// 未登录
yoho.goLogin('',() => {
yoho.goLogin('',
() => {
this.favorite();
}, function() {
tip('登录失败');
...
...
Please
register
or
login
to post a comment