🎨 a 标签增加 rel="nofollow" 属性

This commit is contained in:
ronger 2020-08-12 11:28:37 +08:00
parent dce515dc34
commit a3bd788657
18 changed files with 52 additions and 52 deletions

View File

@ -4,7 +4,7 @@
<el-col v-for="article in articles.articles" :key="article.idArticle" style="padding-bottom: 1rem;"> <el-col v-for="article in articles.articles" :key="article.idArticle" style="padding-bottom: 1rem;">
<el-card> <el-card>
<div class="card-body d-flex flex-column"> <div class="card-body d-flex flex-column">
<el-link @click="onRouter('article',article.articleLink)" :underline="false" style="margin-bottom: .5rem;"> <el-link rel="nofollow" @click="onRouter('article',article.articleLink)" :underline="false" style="margin-bottom: .5rem;">
<h4 v-html="article.articleTitle"></h4> <h4 v-html="article.articleTitle"></h4>
</el-link> </el-link>
<el-tag <el-tag
@ -25,14 +25,14 @@
</el-col> </el-col>
<el-col :xs="16" :sm="16" :xl="16"> <el-col :xs="16" :sm="16" :xl="16">
<div> <div>
<el-link @click="onRouter('user', article.articleAuthorName)" :underline="false" class="text-default"> <el-link rel="nofollow" @click="onRouter('user', article.articleAuthorName)" :underline="false" class="text-default">
{{ article.articleAuthorName }} {{ article.articleAuthorName }}
</el-link> </el-link>
<small class="d-block text-muted">{{ article.timeAgo }}</small> <small class="d-block text-muted">{{ article.timeAgo }}</small>
</div> </div>
</el-col> </el-col>
<el-col class="text-right"> <el-col class="text-right">
<el-link :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span> <el-link rel="nofollow" :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span>
</el-link> </el-link>
</el-col> </el-col>
</el-row> </el-row>

View File

@ -43,13 +43,13 @@
<el-col :xs="21" :sm="23" :xl="23"> <el-col :xs="21" :sm="23" :xl="23">
<el-col style="margin-left: 1rem;"> <el-col style="margin-left: 1rem;">
<el-col v-show="comment.commentOriginalCommentId"> <el-col v-show="comment.commentOriginalCommentId">
<el-link @click="onRouter('user', comment.commenter.userNickname)" :underline="false" <el-link rel="nofollow" @click="onRouter('user', comment.commenter.userNickname)" :underline="false"
class="text-default">{{ comment.commenter.userNickname }} class="text-default">{{ comment.commenter.userNickname }}
</el-link> </el-link>
<small class="text-default" style="margin: 0 0.2rem">回复了</small><span style="font-weight: bold;"> {{comment.commentOriginalAuthorNickname}}</span> <small class="text-default" style="margin: 0 0.2rem">回复了</small><span style="font-weight: bold;"> {{comment.commentOriginalAuthorNickname}}</span>
</el-col> </el-col>
<el-col v-show="!comment.commentOriginalCommentId"> <el-col v-show="!comment.commentOriginalCommentId">
<el-link @click="onRouter('user', comment.commenter.userNickname)" :underline="false" <el-link rel="nofollow" @click="onRouter('user', comment.commenter.userNickname)" :underline="false"
class="text-default">{{ comment.commenter.userNickname }} class="text-default">{{ comment.commenter.userNickname }}
</el-link> </el-link>
</el-col> </el-col>
@ -61,10 +61,10 @@
</el-col> </el-col>
</el-col> </el-col>
<el-col :span="22" style="padding-left: 1rem;"> <el-col :span="22" style="padding-left: 1rem;">
<el-link :underline="false" class="text-default">{{ comment.timeAgo }}</el-link> <el-link rel="nofollow" :underline="false" class="text-default">{{ comment.timeAgo }}</el-link>
</el-col> </el-col>
<el-col :span="2" v-if="user" class="text-right" style="margin-bottom: 0.5rem;"> <el-col :span="2" v-if="user" class="text-right" style="margin-bottom: 0.5rem;">
<el-link :underline="false" title="回复" @click.native="replyComment(comment)"><i <el-link rel="nofollow" :underline="false" title="回复" @click.native="replyComment(comment)"><i
class="el-icon-s-comment"></i></el-link> class="el-icon-s-comment"></i></el-link>
</el-col> </el-col>
</el-col> </el-col>

View File

@ -2,7 +2,7 @@
<el-row> <el-row>
<el-col v-for="article in articles.articles" :key="article.idArticle"> <el-col v-for="article in articles.articles" :key="article.idArticle">
<el-col> <el-col>
<el-link @click="onRouter(article.articleLink)" :underline="false"> <el-link rel="nofollow" @click="onRouter(article.articleLink)" :underline="false">
<h2 v-html="article.articleTitle"></h2> <h2 v-html="article.articleTitle"></h2>
</el-link> </el-link>
</el-col> </el-col>

View File

@ -4,12 +4,12 @@
<el-col v-for="notification in notifications.notifications" :key="notification.idNotification"> <el-col v-for="notification in notifications.notifications" :key="notification.idNotification">
<el-col v-if="notification.dataType == 0"> <el-col v-if="notification.dataType == 0">
<el-col :xs="16" :sm="20" :xl="20"> <el-col :xs="16" :sm="20" :xl="20">
<el-link :underline="false" @click="onRouter(notification)" style="font-size: 1.1em;" <el-link rel="nofollow" :underline="false" @click="onRouter(notification)" style="font-size: 1.1em;"
v-html="notification.dataSummary"></el-link> v-html="notification.dataSummary"></el-link>
<el-col style="font-size: 12px;color: #7f828b;">{{ notification.createdTime }}</el-col> <el-col style="font-size: 12px;color: #7f828b;">{{ notification.createdTime }}</el-col>
</el-col> </el-col>
<el-col :xs="8" :sm="4" :xl="4" class="text-right" style="padding-right: 1rem;"> <el-col :xs="8" :sm="4" :xl="4" class="text-right" style="padding-right: 1rem;">
<el-link v-if="notification.hasRead === '0'" :underline="false" @click="read(notification.idNotification)"> <el-link rel="nofollow" v-if="notification.hasRead === '0'" :underline="false" @click="read(notification.idNotification)">
<i class="el-icon-check"></i> 标记已读 <i class="el-icon-check"></i> 标记已读
</el-link> </el-link>
</el-col> </el-col>
@ -20,7 +20,7 @@
</el-col> </el-col>
<el-col :xs="20" :xl="22"> <el-col :xs="20" :xl="22">
<el-col :xs="16" :sm="20" :xl="20"> <el-col :xs="16" :sm="20" :xl="20">
<el-link :underline="false" @click="onRouter(notification)" style="font-size: 1.1em;" <el-link rel="nofollow" :underline="false" @click="onRouter(notification)" style="font-size: 1.1em;"
v-html="notification.dataTitle"></el-link> v-html="notification.dataTitle"></el-link>
<el-col style="font-size: 12px;color: #7f828b;"> <el-col style="font-size: 12px;color: #7f828b;">
{{ notification.createdTime }} {{ notification.createdTime }}
@ -30,7 +30,7 @@
</el-col> </el-col>
</el-col> </el-col>
<el-col :xs="8" :sm="4" :xl="4" class="text-right" style="padding-right: 1rem;"> <el-col :xs="8" :sm="4" :xl="4" class="text-right" style="padding-right: 1rem;">
<el-link v-if="notification.hasRead === '0'" :underline="false" <el-link rel="nofollow" v-if="notification.hasRead === '0'" :underline="false"
@click="read(notification.idNotification)"> @click="read(notification.idNotification)">
<i class="el-icon-check" style="font-weight: bold;"></i> 标记已读 <i class="el-icon-check" style="font-weight: bold;"></i> 标记已读
</el-link> </el-link>

View File

@ -15,7 +15,7 @@
</el-col> </el-col>
<el-col :span="18"> <el-col :span="18">
<h4 class="article-header-md"> <h4 class="article-header-md">
<el-link @click="onRouter('portfolio',portfolio.idPortfolio)" :underline="false" <el-link rel="nofollow" @click="onRouter('portfolio',portfolio.idPortfolio)" :underline="false"
v-html="portfolio.portfolioTitle"></el-link> v-html="portfolio.portfolioTitle"></el-link>
</h4> </h4>
<div class="text-muted article-summary-md">{{ portfolio.portfolioDescription }}</div> <div class="text-muted article-summary-md">{{ portfolio.portfolioDescription }}</div>

View File

@ -3,7 +3,7 @@
<el-col v-for="article in articles.articles" :key="article.idArticle" style="padding-top: 1rem;"> <el-col v-for="article in articles.articles" :key="article.idArticle" style="padding-top: 1rem;">
<el-card> <el-card>
<div class="card-body d-flex flex-column"> <div class="card-body d-flex flex-column">
<el-link :underline="false" style="margin-bottom: .5rem;"> <el-link rel="nofollow" :underline="false" style="margin-bottom: .5rem;">
<h4 v-html="article.articleTitle"></h4> <h4 v-html="article.articleTitle"></h4>
</el-link> </el-link>
<div class="text-muted article-summary-md">{{ article.articlePreviewContent }}</div> <div class="text-muted article-summary-md">{{ article.articlePreviewContent }}</div>

View File

@ -10,7 +10,7 @@
<el-table-column <el-table-column
label="文章标题"> label="文章标题">
<template slot-scope="scope"> <template slot-scope="scope">
<el-link type="primary" @click.native="onRouter('article', scope.row.idArticle)" :underline="false">{{ <el-link rel="nofollow" type="primary" @click.native="onRouter('article', scope.row.idArticle)" :underline="false">{{
scope.row.articleTitle }} scope.row.articleTitle }}
</el-link> </el-link>
</template> </template>

View File

@ -9,10 +9,10 @@
<el-col class="row align-items-center"> <el-col class="row align-items-center">
<el-col class="col-auto"> <el-col class="col-auto">
Copyright © 2020 Copyright © 2020
<el-link :underline="false" href="/" style="vertical-align: baseline;"><span>{{ systemName }}</span> <el-link rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>{{ systemName }}</span>
</el-link> </el-link>
. .
<el-link :underline="false" href="http://www.beian.miit.gov.cn/" style="vertical-align: baseline;"><span>{{ beiAn }}</span> <el-link rel="nofollow" :underline="false" href="http://www.beian.miit.gov.cn/" style="vertical-align: baseline;"><span>{{ beiAn }}</span>
</el-link> </el-link>
</el-col> </el-col>
</el-col> </el-col>

View File

@ -2,7 +2,7 @@
<el-row justify="space-between" type="flex"> <el-row justify="space-between" type="flex">
<el-col :span="24"> <el-col :span="24">
<el-col :xs="8" :sm="4" :md="4" :xl="3" style="padding-top: 1rem;"> <el-col :xs="8" :sm="4" :md="4" :xl="3" style="padding-top: 1rem;">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/" rel="nofollow">
<img src="@/assets/rymcu.png" alt="RYMCU" class="navbar-brand-img"> <img src="@/assets/rymcu.png" alt="RYMCU" class="navbar-brand-img">
<span>RYMCU</span> <span>RYMCU</span>
</a> </a>
@ -22,12 +22,12 @@
<!--<el-col v-if="user" :xs="0" :sm="8" :xl="6">--> <!--<el-col v-if="user" :xs="0" :sm="8" :xl="6">-->
<client-only> <client-only>
<el-col v-if="user" style="text-align: right;"> <el-col v-if="user" style="text-align: right;">
<el-link :underline="false" style="padding-left: 10px;padding-right: 10px;" href="/article/post">发帖 <el-link rel="nofollow" :underline="false" style="padding-left: 10px;padding-right: 10px;" href="/article/post">发帖
</el-link> </el-link>
<el-link :underline="false" style="padding-left: 10px;padding-right: 10px;"> <el-link rel="nofollow" :underline="false" style="padding-left: 10px;padding-right: 10px;">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<el-badge :value="notificationNumbers" class="item"> <el-badge :value="notificationNumbers" class="item">
<el-link :underline="false" style="font-size: 1.4rem;" class="el-icon-bell"></el-link> <el-link rel="nofollow" :underline="false" style="font-size: 1.4rem;" class="el-icon-bell"></el-link>
</el-badge> </el-badge>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="notification in notifications" :key="notification.idNotification" <el-dropdown-item v-for="notification in notifications" :key="notification.idNotification"
@ -37,7 +37,7 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</el-link> </el-link>
<el-link :underline="false" style="margin-left: 10px;"> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<el-avatar v-if="avatarURL" size="small" :src="avatarURL"></el-avatar> <el-avatar v-if="avatarURL" size="small" :src="avatarURL"></el-avatar>
<el-avatar v-else size="small" src="https://static.rymcu.com/article/1578475481946.png"></el-avatar> <el-avatar v-else size="small" src="https://static.rymcu.com/article/1578475481946.png"></el-avatar>
@ -47,7 +47,7 @@
:src="avatarURL"></el-avatar> :src="avatarURL"></el-avatar>
<el-avatar class="mr-3" v-else size="small" style="margin-top: 1rem;" <el-avatar class="mr-3" v-else size="small" style="margin-top: 1rem;"
src="https://static.rymcu.com/article/1578475481946.png"></el-avatar> src="https://static.rymcu.com/article/1578475481946.png"></el-avatar>
<el-link :underline="false" style="margin-left: 10px;margin-bottom: 1rem;">{{ nickname }}</el-link> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;margin-bottom: 1rem;">{{ nickname }}</el-link>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="hasPermissions" command="admin-dashboard">系统管理</el-dropdown-item> <el-dropdown-item v-if="hasPermissions" command="admin-dashboard">系统管理</el-dropdown-item>
<el-dropdown-item command="user-info">资料与账号</el-dropdown-item> <el-dropdown-item command="user-info">资料与账号</el-dropdown-item>
@ -59,10 +59,10 @@
</el-col> </el-col>
<el-col v-else style="text-align: right;"> <el-col v-else style="text-align: right;">
<nuxt-link to="/login"> <nuxt-link to="/login">
<el-link :underline="false" style="margin-left: 10px;">登录</el-link> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;">登录</el-link>
</nuxt-link> </nuxt-link>
<nuxt-link to="/register"> <nuxt-link to="/register">
<el-link :underline="false" style="margin-left: 10px;">注册</el-link> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;">注册</el-link>
</nuxt-link> </nuxt-link>
</el-col> </el-col>
</client-only> </client-only>

View File

@ -9,10 +9,10 @@
<el-col class="row align-items-center"> <el-col class="row align-items-center">
<el-col class="col-auto"> <el-col class="col-auto">
Copyright © 2020 Copyright © 2020
<el-link :underline="false" href="/" style="vertical-align: baseline;"><span>{{ systemName }}</span> <el-link rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>{{ systemName }}</span>
</el-link> </el-link>
. .
<el-link :underline="false" href="http://www.beian.miit.gov.cn/" style="vertical-align: baseline;"><span>{{ beiAn }}</span> <el-link rel="nofollow" :underline="false" href="http://www.beian.miit.gov.cn/" style="vertical-align: baseline;"><span>{{ beiAn }}</span>
</el-link> </el-link>
</el-col> </el-col>
</el-col> </el-col>

View File

@ -2,7 +2,7 @@
<el-row justify="space-between" type="flex"> <el-row justify="space-between" type="flex">
<el-col> <el-col>
<el-col :xs="8" :sm="4" :md="4" :xl="3" style="padding-top: 1rem;"> <el-col :xs="8" :sm="4" :md="4" :xl="3" style="padding-top: 1rem;">
<a class="navbar-brand" href="/"> <a rel="nofollow" class="navbar-brand" href="/">
<img src="@/assets/rymcu.png" alt="RYMCU" class="navbar-brand-img"> <img src="@/assets/rymcu.png" alt="RYMCU" class="navbar-brand-img">
<span>RYMCU</span> <span>RYMCU</span>
</a> </a>
@ -35,14 +35,14 @@
<!--<el-col v-if="user" :xs="0" :sm="8" :xl="6">--> <!--<el-col v-if="user" :xs="0" :sm="8" :xl="6">-->
<client-only> <client-only>
<el-col v-if="user"> <el-col v-if="user">
<el-link :underline="false" style="padding-left: 10px;padding-right: 10px;" href="/portfolio/post">创建作品集 <el-link rel="nofollow" :underline="false" style="padding-left: 10px;padding-right: 10px;" href="/portfolio/post">创建作品集
</el-link> </el-link>
<el-link :underline="false" style="padding-left: 10px;padding-right: 10px;" href="/article/post">发帖 <el-link rel="nofollow" :underline="false" style="padding-left: 10px;padding-right: 10px;" href="/article/post">发帖
</el-link> </el-link>
<el-link :underline="false" style="padding-left: 10px;padding-right: 10px;"> <el-link rel="nofollow" :underline="false" style="padding-left: 10px;padding-right: 10px;">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<el-badge :value="notificationNumbers" class="item"> <el-badge :value="notificationNumbers" class="item">
<el-link :underline="false" style="font-size: 1.4rem;" class="el-icon-bell"></el-link> <el-link rel="nofollow" :underline="false" style="font-size: 1.4rem;" class="el-icon-bell"></el-link>
</el-badge> </el-badge>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="notification in notifications" :key="notification.idNotification" <el-dropdown-item v-for="notification in notifications" :key="notification.idNotification"
@ -52,7 +52,7 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</el-link> </el-link>
<el-link :underline="false" style="margin-left: 10px;"> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<el-avatar v-if="avatarURL" size="small" :src="avatarURL"></el-avatar> <el-avatar v-if="avatarURL" size="small" :src="avatarURL"></el-avatar>
<el-avatar v-else size="small" src="https://static.rymcu.com/article/1578475481946.png"></el-avatar> <el-avatar v-else size="small" src="https://static.rymcu.com/article/1578475481946.png"></el-avatar>
@ -62,7 +62,7 @@
:src="avatarURL"></el-avatar> :src="avatarURL"></el-avatar>
<el-avatar class="mr-3" v-else size="small" style="margin-top: 1rem;" <el-avatar class="mr-3" v-else size="small" style="margin-top: 1rem;"
src="https://static.rymcu.com/article/1578475481946.png"></el-avatar> src="https://static.rymcu.com/article/1578475481946.png"></el-avatar>
<el-link :underline="false" style="margin-left: 10px;margin-bottom: 1rem;">{{ nickname }}</el-link> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;margin-bottom: 1rem;">{{ nickname }}</el-link>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="hasPermissions" command="admin-dashboard">系统管理</el-dropdown-item> <el-dropdown-item v-if="hasPermissions" command="admin-dashboard">系统管理</el-dropdown-item>
<el-dropdown-item command="user-info">资料与账号</el-dropdown-item> <el-dropdown-item command="user-info">资料与账号</el-dropdown-item>
@ -74,10 +74,10 @@
</el-col> </el-col>
<el-col v-else> <el-col v-else>
<nuxt-link to="/login"> <nuxt-link to="/login">
<el-link :underline="false" style="margin-left: 10px;">登录</el-link> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;">登录</el-link>
</nuxt-link> </nuxt-link>
<nuxt-link to="/register"> <nuxt-link to="/register">
<el-link :underline="false" style="margin-left: 10px;">注册</el-link> <el-link rel="nofollow" :underline="false" style="margin-left: 10px;">注册</el-link>
</nuxt-link> </nuxt-link>
</el-col> </el-col>
</client-only> </client-only>

View File

@ -18,7 +18,7 @@
<el-col :span="20"> <el-col :span="20">
<el-col> <el-col>
<el-col> <el-col>
<el-link @click="onRouter('admin-topic-tag',topic)" :underline="false"><h4>{{ topic.topicTitle }}</h4> <el-link rel="nofollow" @click="onRouter('admin-topic-tag',topic)" :underline="false"><h4>{{ topic.topicTitle }}</h4>
</el-link> </el-link>
</el-col> </el-col>
<el-col> <el-col>

View File

@ -29,7 +29,7 @@
width="180" width="180"
prop="nickname"> prop="nickname">
<template slot-scope="scope"> <template slot-scope="scope">
<el-link type="primary" @click="onRouter('user', scope.row.nickname)" :underline="false">{{ <el-link rel="nofollow" type="primary" @click="onRouter('user', scope.row.nickname)" :underline="false">{{
scope.row.nickname }} scope.row.nickname }}
</el-link> </el-link>
</template> </template>

View File

@ -12,7 +12,7 @@
</el-col> </el-col>
<el-col :xs="9" :sm="11" :xl="11"> <el-col :xs="9" :sm="11" :xl="11">
<div style="margin-left: 1rem;"> <div style="margin-left: 1rem;">
<el-link @click="onRouter('user', article.articleAuthorName)" :underline="false" <el-link rel="nofollow" @click="onRouter('user', article.articleAuthorName)" :underline="false"
class="text-default">{{ article.articleAuthorName }} class="text-default">{{ article.articleAuthorName }}
</el-link> </el-link>
<small class="d-block text-muted">{{ article.timeAgo }}</small> <small class="d-block text-muted">{{ article.timeAgo }}</small>
@ -20,7 +20,7 @@
</el-col> </el-col>
<el-col :xs="12" :sm="12" :xl="12" v-if="user" class="text-right"> <el-col :xs="12" :sm="12" :xl="12" v-if="user" class="text-right">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<el-link :underline="false"><i class="el-icon-more"></i></el-link> <el-link rel="nofollow" :underline="false"><i class="el-icon-more"></i></el-link>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item command="edit" v-if="hasPermissions">编辑</el-dropdown-item> <el-dropdown-item command="edit" v-if="hasPermissions">编辑</el-dropdown-item>
<el-dropdown-item command="share">分享</el-dropdown-item> <el-dropdown-item command="share">分享</el-dropdown-item>
@ -28,7 +28,7 @@
</el-dropdown> </el-dropdown>
</el-col> </el-col>
<el-col class="text-right"> <el-col class="text-right">
<el-link :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span> <el-link rel="nofollow" :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span>
</el-link> </el-link>
</el-col> </el-col>
<el-col style="margin: 1rem 0;"> <el-col style="margin: 1rem 0;">
@ -51,7 +51,7 @@
<el-avatar :size="24" :src="portfolio.headImgUrl"></el-avatar> <el-avatar :size="24" :src="portfolio.headImgUrl"></el-avatar>
</el-col> </el-col>
<el-col :xs="20" :sm="20" :xl="20"> <el-col :xs="20" :sm="20" :xl="20">
<el-link @click="onRouter('portfolio', portfolio.idPortfolio)" :underline="false" <el-link rel="nofollow" @click="onRouter('portfolio', portfolio.idPortfolio)" :underline="false"
class="text-default">{{ portfolio.portfolioTitle }} class="text-default">{{ portfolio.portfolioTitle }}
</el-link> </el-link>
</el-col> </el-col>

View File

@ -12,7 +12,7 @@
</el-col> </el-col>
<el-col :xs="9" :sm="11" :xl="11"> <el-col :xs="9" :sm="11" :xl="11">
<div style="margin-left: 1rem;"> <div style="margin-left: 1rem;">
<el-link @click="onRouter('user', article.articleAuthorName)" :underline="false" <el-link rel="nofollow" @click="onRouter('user', article.articleAuthorName)" :underline="false"
class="text-default">{{ article.articleAuthorName }} class="text-default">{{ article.articleAuthorName }}
</el-link> </el-link>
<small class="d-block text-muted">{{ article.timeAgo }}</small> <small class="d-block text-muted">{{ article.timeAgo }}</small>
@ -20,14 +20,14 @@
</el-col> </el-col>
<el-col :xs="12" :sm="12" :xl="12" v-if="user" class="text-right"> <el-col :xs="12" :sm="12" :xl="12" v-if="user" class="text-right">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<el-link :underline="false"><i class="el-icon-more"></i></el-link> <el-link rel="nofollow" :underline="false"><i class="el-icon-more"></i></el-link>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item command="edit" v-if="hasPermissions">编辑</el-dropdown-item> <el-dropdown-item command="edit" v-if="hasPermissions">编辑</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</el-col> </el-col>
<el-col class="text-right"> <el-col class="text-right">
<el-link :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span> <el-link rel="nofollow" :underline="false" title="总浏览数"><i class="el-icon-s-data"></i><span style="color: red;">{{ article.articleViewCount }}</span>
</el-link> </el-link>
</el-col> </el-col>
<el-col style="margin: 1rem 0;"> <el-col style="margin: 1rem 0;">
@ -50,7 +50,7 @@
<el-avatar :size="24" :src="portfolio.headImgUrl"></el-avatar> <el-avatar :size="24" :src="portfolio.headImgUrl"></el-avatar>
</el-col> </el-col>
<el-col :xs="20" :sm="20" :xl="20"> <el-col :xs="20" :sm="20" :xl="20">
<el-link @click="onRouter('portfolio', portfolio.idPortfolio)" :underline="false" <el-link rel="nofollow" @click="onRouter('portfolio', portfolio.idPortfolio)" :underline="false"
class="text-default">{{ portfolio.portfolioTitle }} class="text-default">{{ portfolio.portfolioTitle }}
</el-link> </el-link>
</el-col> </el-col>

View File

@ -12,7 +12,7 @@
<el-input type="password" v-model="user.password" autocomplete="off" show-password></el-input> <el-input type="password" v-model="user.password" autocomplete="off" show-password></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-link style="float: right;" :underline="false" @click="forgetPassword">忘记密码</el-link> <el-link rel="nofollow" style="float: right;" :underline="false" @click="forgetPassword">忘记密码</el-link>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button style="width: 60%;" type="primary" @click="login">立即登录</el-button> <el-button style="width: 60%;" type="primary" @click="login">立即登录</el-button>

View File

@ -10,7 +10,7 @@
</el-col> </el-col>
<el-col style="margin-bottom: .5rem;"> <el-col style="margin-bottom: .5rem;">
<span class="text-default" style="padding-right: 1rem;">作者</span> <span class="text-default" style="padding-right: 1rem;">作者</span>
<el-link @click="onRouter('user', portfolio.portfolioAuthorName)" :underline="false" class="text-default"> <el-link rel="nofollow" @click="onRouter('user', portfolio.portfolioAuthorName)" :underline="false" class="text-default">
<el-avatar :src="portfolio.portfolioAuthorAvatarUrl" :size="16"></el-avatar> <el-avatar :src="portfolio.portfolioAuthorAvatarUrl" :size="16"></el-avatar>
{{ portfolio.portfolioAuthorName }} {{ portfolio.portfolioAuthorName }}
</el-link> </el-link>
@ -25,7 +25,7 @@
<el-col> <el-col>
<el-col v-if="isAuthor" style="text-align: right;"> <el-col v-if="isAuthor" style="text-align: right;">
<el-col :xs="0" :xl="24"> <el-col :xs="0" :xl="24">
<el-link @click="managerPortfolio(portfolio.idPortfolio)" :underline="false" class="text-default">管理</el-link> <el-link rel="nofollow" @click="managerPortfolio(portfolio.idPortfolio)" :underline="false" class="text-default">管理</el-link>
</el-col> </el-col>
</el-col> </el-col>
<el-divider><i class="el-icon-loading"></i></el-divider> <el-divider><i class="el-icon-loading"></i></el-divider>

View File

@ -11,7 +11,7 @@
</el-col> </el-col>
<el-col style="margin-bottom: .5rem;"> <el-col style="margin-bottom: .5rem;">
<span class="text-default" style="padding-right: 1rem;">作者</span> <span class="text-default" style="padding-right: 1rem;">作者</span>
<el-link @click="onRouter('user', portfolio.portfolioAuthorName)" :underline="false" class="text-default"> <el-link rel="nofollow" @click="onRouter('user', portfolio.portfolioAuthorName)" :underline="false" class="text-default">
<el-avatar :src="portfolio.portfolioAuthorAvatarUrl" :size="16"></el-avatar> <el-avatar :src="portfolio.portfolioAuthorAvatarUrl" :size="16"></el-avatar>
{{ portfolio.portfolioAuthorName }} {{ portfolio.portfolioAuthorName }}
</el-link> </el-link>
@ -26,10 +26,10 @@
<el-col> <el-col>
<el-col style="text-align: right;"> <el-col style="text-align: right;">
<el-col> <el-col>
<el-link @click="onRouter('post-portfolio',portfolio.idPortfolio)" :underline="false" class="text-default" <el-link rel="nofollow" @click="onRouter('post-portfolio',portfolio.idPortfolio)" :underline="false" class="text-default"
style="margin-right: 1rem;">编辑 style="margin-right: 1rem;">编辑
</el-link> </el-link>
<el-link @click="showBindArticleDialog(portfolio.idPortfolio)" :underline="false" class="text-default" <el-link rel="nofollow" @click="showBindArticleDialog(portfolio.idPortfolio)" :underline="false" class="text-default"
style="margin-right: 1rem;">添加文章 style="margin-right: 1rem;">添加文章
</el-link> </el-link>
</el-col> </el-col>