|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="slider-box" :style="{'height': getToken() ? '225px' : '137px'}">
|
|
|
+ <div class="slider-box" :style="{'height': getToken() ? '186px' : '100px'}">
|
|
|
<div v-for="(item, index) in list" :key="index" class="slider-box-item" @click="handleClick(item, index)">
|
|
|
<v-btn size="30" class="icons" icon variant="text">
|
|
|
<v-icon class="icons" size="30">{{ item.mdi }}</v-icon>
|
|
@@ -22,12 +22,10 @@ import { getToken } from '@/utils/auth'
|
|
|
|
|
|
const router = useRouter()
|
|
|
const defaultList = [
|
|
|
- { mdi: 'mdi-arrow-up-bold', tips: '返回顶部' },
|
|
|
{ mdi: 'mdi-qrcode', tips: '微信公众号', showImg: 'https://minio.citupro.com/dev/menduner/official-account-code4.jpg' },
|
|
|
{ mdi: 'mdi-headphones', tips: '联系我们', path: '/contactUs' }
|
|
|
]
|
|
|
const hasTokenList = [
|
|
|
- { mdi: 'mdi-arrow-up-bold', tips: '返回顶部' },
|
|
|
{ mdi: 'mdi-qrcode', tips: '微信公众号', showImg: 'https://minio.citupro.com/dev/menduner/official-account-code4.jpg' },
|
|
|
{ mdi: 'mdi-bell-outline', tips: '通知', path: '/recruit/personal/message' },
|
|
|
{ mdi: 'mdi-list-box-outline', tips: '在线简历', path: '/recruit/personal/personalCenter/resume/online' },
|
|
@@ -45,7 +43,6 @@ const handleClick = (item, index) => {
|
|
|
<style lang="scss" scoped>
|
|
|
.slider-box {
|
|
|
width: 44px;
|
|
|
- // height: 180px;
|
|
|
background-color: #fff;
|
|
|
border-radius: 22px;
|
|
|
box-shadow: 0 4px 20px 0 rgba(0,0,0,.06);
|
|
@@ -55,6 +52,9 @@ const handleClick = (item, index) => {
|
|
|
height: 44px;
|
|
|
padding: 6px 0;
|
|
|
text-align: center;
|
|
|
+ &:first-child {
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
}
|
|
|
.icons {
|
|
|
color: var(--color-ccc);
|