noCustomerOps.vue
1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<template>
<div class="behavior-more-option nocustom-option">
<div class="opt-left">
<!-- 时间 -->
<div class="nocustom-time">
<el-date-picker v-model="timeVal" class="time-opt" placeholder="请选择时间" :picker-options="pickerOptions1"></el-date-picker>
</div>
</div>
<div class="opt-right">
<el-button type="primary" class="primary-btn behavior-collapse-btn" size="samll" @click="clickHandle">{{$t('button.confirm')}}</el-button>
<!-- <el-button class="reset-btn behavior-collapse-btn" size="samll" @click="resetRefresh">{{$t('button.reset')}}</el-button> -->
</div>
</div>
</template>
<script>
export default {
data() {
return {
pickerOptions1: {
disabledDate(time) {
return time.getTime() > Date.now();
},
},
timeVal: '',
}
},
methods: {
clickHandle() {},
resetRefresh() {}
}
}
</script>
<style scoped>
.opt-left {
float: left;
}
.opt-right {
float: right;
font-size: 0.14rem;
}
.time-opt {
height: 0.3rem;
line-height: 0.3rem;
}
/* btn */
.behavior-collapse-btn {
font-family: 微软雅黑, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", STHeiti, "WenQuanYi Micro Hei", SimSun, sans-serif;
font-size: 0.14rem;
padding: 0.08rem 0.17rem;
font-weight: normal;
color: #666;
border-color: #e5e5e5;
}
.behavior-collapse-btn:hover {
background-color: #fff;
}
.primary-btn {
color: #fff;
background: #0069FF;
border: none;
}
.primary-btn:hover {
background-color: #014FBE;
}
</style>