更新面包屑导航右侧专业版入口链接

This commit is contained in:
hooray
2020-10-28 03:05:35 +08:00
parent e11d05998f
commit d0813e9d04
2 changed files with 33 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1603823169410" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="853" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M798.66255486 952.21205396H233.62249008a165.70089876 165.70089876 0 0 1-165.70089877-165.70089877V359.83134086a55.23363335 55.23363335 0 0 1 82.85044938-47.22475615l156.3111816 94.17334457 165.70089877-175.91912042a53.02428761 53.02428761 0 0 1 39.21587894-17.6747634 55.23363335 55.23363335 0 0 1 40.32055247 18.22709887l157.41585382 174.53828047 152.99716234-93.34484009a55.23363335 55.23363335 0 0 1 82.85044939 47.22475615v333.88731102a55.23363335 55.23363335 0 0 1-110.46726543 0v-235.57144398l-107.98175194 66.00419177a55.23363335 55.23363335 0 0 1-69.8705465-10.21822296L512 350.16545598l-154.65417262 165.70089875a55.23363335 55.23363335 0 0 1-68.76587298 9.38971717l-110.46726542-66.83269626V785.40648297a55.23363335 55.23363335 0 0 0 55.23363336 55.23363335h565.31623252a55.23363335 55.23363335 0 0 1 0 110.46726541z" fill="#FC455D" p-id="854"></path><path d="M157.74961881 200.38328203m-39.05607596 39.05607726a55.23363335 55.23363335 0 1 0 78.11215192-78.11215322 55.23363335 55.23363335 0 1 0-78.11215192 78.11215322Z" fill="#FF9B57" p-id="855"></path><path d="M511.88757065 98.69146372m-39.05607725 39.05607596a55.23363335 55.23363335 0 1 0 78.1121532-78.11215321 55.23363335 55.23363335 0 1 0-78.1121532 78.11215321Z" fill="#FF9B57" p-id="856"></path><path d="M857.31454726 200.34757737m-39.05607724 39.05607595a55.23363335 55.23363335 0 1 0 78.1121532-78.11215321 55.23363335 55.23363335 0 1 0-78.1121532 78.11215321Z" fill="#FF9B57" p-id="857"></path><path d="M517.24719469 795.34853689a41.42522469 41.42522469 0 0 1-32.86401071-17.12242664L390.76217617 650.08408273A41.42522469 41.42522469 0 0 1 456.76636665 601.47848533l57.16681006 78.98409465 49.4341019-77.05091793a41.42522469 41.42522469 0 1 1 69.59437749 44.73924266l-82.85044938 128.14202882a41.42522469 41.42522469 0 0 1-33.69251652 19.05560336z" fill="#FD8F9E" p-id="858"></path></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

+32
View File
@@ -1,6 +1,10 @@
<template>
<div class="user">
<div class="tools">
<span class="item item-pro" @click="pro">
<svg-icon name="pro" />
<span class="title">查看专业版</span>
</span>
<el-tooltip v-if="$store.state.global.enableNavSearch" effect="dark" content="搜索页面" placement="bottom">
<span class="item" @click="$store.commit('global/toggleSearch')">
<svg-icon name="search" />
@@ -86,6 +90,9 @@ export default {
})
break
}
},
pro() {
window.open('https://hooray.gitee.io/fantastic-admin/pro', 'top')
}
}
}
@@ -106,6 +113,31 @@ export default {
cursor: pointer;
transition: all 0.3s;
}
.item-pro {
display: inline-block;
animation: pro-text 3s ease-out infinite;
@keyframes pro-text {
0%,
20% {
transform: scale(1);
}
50%,
70% {
transform: scale(1.2) translateX(-5px) translateY(-2px);
}
100% {
transform: scale(1);
}
}
.title {
padding-left: 5px;
font-weight: bold;
font-size: 14px;
background-image: linear-gradient(to right, #ffa237, #fc455d);
background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
.user-container {
display: inline-block;