|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <div class="drawer-statistics" :class="{'drawer-padding': show}">
|
|
|
|
|
|
+ <div class="drawer-statistics" :class="{'drawer-padding': !show}">
|
|
<transition name="fade-drawer">
|
|
<transition name="fade-drawer">
|
|
<div v-show="show" class="statistics">
|
|
<div v-show="show" class="statistics">
|
|
<div class="statistics-data">
|
|
<div class="statistics-data">
|
|
@@ -45,11 +45,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</transition>
|
|
</transition>
|
|
- <div v-show="show" class="drawer" @click="show = !show">
|
|
|
|
- <i class="el-icon-arrow-up" />
|
|
|
|
- </div>
|
|
|
|
- <div v-show="!show" class="drawer drawer-pull" @click="show = !show">
|
|
|
|
- <i class="el-icon-arrow-down" />
|
|
|
|
|
|
+ <div class="drawer" @click="show = !show">
|
|
|
|
+ <i v-show="show" class="el-icon-arrow-up" />
|
|
|
|
+ <i v-show="!show" class="el-icon-arrow-down" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -195,7 +193,7 @@ export default {
|
|
padding-bottom: 1px;
|
|
padding-bottom: 1px;
|
|
}
|
|
}
|
|
.drawer-padding {
|
|
.drawer-padding {
|
|
- padding-bottom: 14px;
|
|
|
|
|
|
+ padding-bottom: 13px;
|
|
}
|
|
}
|
|
//.fade-drawer-enter-active {
|
|
//.fade-drawer-enter-active {
|
|
// transition: all 1.5s ease
|
|
// transition: all 1.5s ease
|
|
@@ -285,7 +283,7 @@ export default {
|
|
}
|
|
}
|
|
.drawer {
|
|
.drawer {
|
|
width: 26px;
|
|
width: 26px;
|
|
- height: 13px;
|
|
|
|
|
|
+ height: 12px;
|
|
left: 50%;
|
|
left: 50%;
|
|
position: absolute;
|
|
position: absolute;
|
|
bottom: 1px;
|
|
bottom: 1px;
|
|
@@ -297,9 +295,10 @@ export default {
|
|
color: #666666;
|
|
color: #666666;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
background-color: #ffffff;
|
|
background-color: #ffffff;
|
|
- border-bottom: 1px solid #999999;
|
|
|
|
- border-left: 1px solid #999999;
|
|
|
|
- border-right: 1px solid #999999;
|
|
|
|
|
|
+ // border-bottom: 1px solid #999999;
|
|
|
|
+ // border-left: 1px solid #999999;
|
|
|
|
+ // border-right: 1px solid #999999;
|
|
|
|
+ box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
|
|
border-bottom-left-radius: 2px;
|
|
border-bottom-left-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
}
|
|
}
|