Commit 9f2551b1 by 胡悦

修改

1 parent 555df628
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-05 15:11:53
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 17:03:43
* @LastEditTime: 2023-07-14 18:02:44
-->
<template>
<div v-click-outside="handleClickOutside" @mouseleave="handleMouseLeave" v-show="isShow" class="select-box" :style="{'width': boxWidth}">
......@@ -146,6 +146,6 @@ export default {
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-image: linear-gradient(270deg, #6578FF 0%, #079FF1 100%); /* 设置滑块的颜色 */
background-color: rgba(244, 244, 244, 0.26); /* 设置滑块的颜色 */
}
</style>
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-05 10:35:43
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 17:07:42
* @LastEditTime: 2023-07-14 18:11:23
-->
<template>
<div class="view-date">统计年份:
......@@ -17,7 +17,10 @@
<div class="year-item" :class="year == item ? 'active' : ''" v-for="(item,index) in dataList" :key="index" @click.s="selectYear(item)">{{item}}</div>
</div> -->
</div>
业务开始时间:{{businessTime}}</div>
<span class="businessTime">
业务开始时间:{{new Date(businessTime).format('yyyy-MM-dd')}}
</span>
</div>
</template>
<script type='text/ecmascript-6'>
import datas from '@/utils/data'
......@@ -43,8 +46,6 @@ export default {
this.isShow = !this.isShow
},
selectVal(val) {
// this.year = val
// this.$emit('yearValue', val)
this.setSolarYear(val)
this.switchYear()
},
......@@ -84,4 +85,8 @@ export default {
}
}
}
.businessTime {
color: #536079;
font-size: 14px;
}
</style>
......@@ -7,7 +7,7 @@
-->
<template>
<div class="view-content">
<ViewDate :businessTime="businessTime" @yearValue="yearValue"></ViewDate>
<ViewDate :businessTime="businessTime"></ViewDate>
<div class="content">
<ContentLeft></ContentLeft>
<ContentRight></ContentRight>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!