|
@@ -1,9 +1,10 @@
|
|
<template>
|
|
<template>
|
|
- <div class="d-flex">
|
|
|
|
|
|
+ <div class="d-flex pl-3">
|
|
<div class="position-box">
|
|
<div class="position-box">
|
|
- <div class="sub-li"
|
|
|
|
|
|
+ <div
|
|
v-for="(item, index) in list" :key="index"
|
|
v-for="(item, index) in list" :key="index"
|
|
- :class="[{'chosen': chosenIndex === index}, item.active ? 'elevation-8' : 'elevation-3']"
|
|
|
|
|
|
+ class="sub-li pl-3"
|
|
|
|
+ :class="[{'hoverShadowSolid': chosenIndex === index}, item.active ? 'elevation-8 hoverShadow' : 'elevation-0']"
|
|
:style="`margin-top: ${index ? '12px' : '0'}`"
|
|
:style="`margin-top: ${index ? '12px' : '0'}`"
|
|
@mouseenter="item.active = true" @mouseleave="item.active = false"
|
|
@mouseenter="item.active = true" @mouseleave="item.active = false"
|
|
@click="handleClick(item, index)"
|
|
@click="handleClick(item, index)"
|
|
@@ -95,7 +96,6 @@ const handleClick = (item, index) => {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
-.chosen { border: 1px solid var(--v-primary-base) !important; }
|
|
|
|
.sub-li {
|
|
.sub-li {
|
|
position: relative;
|
|
position: relative;
|
|
width: 384px;
|
|
width: 384px;
|
|
@@ -107,7 +107,7 @@ const handleClick = (item, index) => {
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
- border: 1px solid #fff;
|
|
|
|
|
|
+ border: 1px solid #ddd;
|
|
}
|
|
}
|
|
.job-info {
|
|
.job-info {
|
|
position: relative;
|
|
position: relative;
|