@kyfe/hroa-ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/README.md +50 -0
  2. package/dist/demo.html +8 -0
  3. package/dist/hrui.common.js +3892 -0
  4. package/dist/hrui.common.js.map +1 -0
  5. package/dist/hrui.umd.js +3902 -0
  6. package/dist/hrui.umd.js.map +1 -0
  7. package/dist/hrui.umd.min.js +2 -0
  8. package/dist/hrui.umd.min.js.map +1 -0
  9. package/lib/hr-bottom-button/index.css +1 -0
  10. package/lib/hr-bottom-button/index.js +1 -0
  11. package/lib/hr-button/index.css +1 -0
  12. package/lib/hr-button/index.js +1 -0
  13. package/lib/hr-clipboard/index.css +1 -0
  14. package/lib/hr-clipboard/index.js +1 -0
  15. package/lib/hr-condition-filtrate/index.css +1 -0
  16. package/lib/hr-condition-filtrate/index.js +1 -0
  17. package/lib/hr-emotional-picture/index.css +1 -0
  18. package/lib/hr-emotional-picture/index.js +1 -0
  19. package/lib/hr-module-card/index.css +1 -0
  20. package/lib/hr-module-card/index.js +1 -0
  21. package/lib/hr-notice-bar/index.js +1 -0
  22. package/lib/hr-open-ks/index.css +1 -0
  23. package/lib/hr-open-ks/index.js +1 -0
  24. package/lib/hr-pager/index.css +1 -0
  25. package/lib/hr-pager/index.js +1 -0
  26. package/lib/hr-search-input/index.css +1 -0
  27. package/lib/hr-search-input/index.js +1 -0
  28. package/lib/hr-select/index.js +1 -0
  29. package/lib/hr-slide-pager/index.css +1 -0
  30. package/lib/hr-slide-pager/index.js +1 -0
  31. package/lib/hr-stack-image/index.css +1 -0
  32. package/lib/hr-stack-image/index.js +1 -0
  33. package/lib/hr-tab-nav/index.css +1 -0
  34. package/lib/hr-tab-nav/index.js +1 -0
  35. package/lib/hr-view-item/index.css +1 -0
  36. package/lib/hr-view-item/index.js +1 -0
  37. package/lib/index/index.css +1 -0
  38. package/lib/index/index.js +1 -0
  39. package/lib/utils/index.js +1 -0
  40. package/package.json +66 -0
  41. package/packages/hr-bottom-button/index.js +7 -0
  42. package/packages/hr-bottom-button/src/index.vue +85 -0
  43. package/packages/hr-button/index.js +13 -0
  44. package/packages/hr-button/src/hr-button.vue +39 -0
  45. package/packages/hr-clipboard/index.js +3 -0
  46. package/packages/hr-clipboard/src/icon.png +0 -0
  47. package/packages/hr-clipboard/src/main.vue +64 -0
  48. package/packages/hr-clipboard/src/util.js +9 -0
  49. package/packages/hr-condition-filtrate/enum/index.js +11 -0
  50. package/packages/hr-condition-filtrate/image/arrow-right.png +0 -0
  51. package/packages/hr-condition-filtrate/index.js +7 -0
  52. package/packages/hr-condition-filtrate/src/employee-choose/index.vue +101 -0
  53. package/packages/hr-condition-filtrate/src/index.vue +246 -0
  54. package/packages/hr-condition-filtrate/src/multiterm-choose/index.vue +167 -0
  55. package/packages/hr-condition-filtrate/src/org-tree-choose/index.vue +102 -0
  56. package/packages/hr-condition-filtrate/src/single-choose/index.vue +144 -0
  57. package/packages/hr-condition-filtrate/src/text-input/index.vue +60 -0
  58. package/packages/hr-condition-filtrate/src/time-selector/date-range-select.vue +154 -0
  59. package/packages/hr-condition-filtrate/src/time-selector/images/date-icon.png +0 -0
  60. package/packages/hr-condition-filtrate/src/time-selector/index.vue +380 -0
  61. package/packages/hr-condition-filtrate/src/time-selector/utils/constant.js +30 -0
  62. package/packages/hr-condition-filtrate/src/time-selector/utils/tools.js +213 -0
  63. package/packages/hr-emotional-picture/index.js +7 -0
  64. package/packages/hr-emotional-picture/src/index.vue +66 -0
  65. package/packages/hr-emotional-picture//346/203/205/346/204/237/345/233/276/347/273/204/344/273/266.md +0 -0
  66. package/packages/hr-module-card/index.js +13 -0
  67. package/packages/hr-module-card/src/index.vue +132 -0
  68. package/packages/hr-module-card//346/250/241/345/235/227/345/215/241/347/211/207/347/273/204/344/273/266.md +29 -0
  69. package/packages/hr-notice-bar/index.js +7 -0
  70. package/packages/hr-notice-bar/src/bem.js +38 -0
  71. package/packages/hr-notice-bar/src/index.js +52 -0
  72. package/packages/hr-notice-bar//351/200/232/347/237/245/346/240/217/347/273/204/344/273/266.md +3 -0
  73. package/packages/hr-open-ks/index.js +3 -0
  74. package/packages/hr-open-ks/src/icon.png +0 -0
  75. package/packages/hr-open-ks/src/main.vue +85 -0
  76. package/packages/hr-open-ks/src/util.js +31 -0
  77. package/packages/hr-pager/images/next-page.png +0 -0
  78. package/packages/hr-pager/images/prev-page.png +0 -0
  79. package/packages/hr-pager/index.js +7 -0
  80. package/packages/hr-pager/src/index.vue +95 -0
  81. package/packages/hr-pager//346/214/211/351/222/256/347/277/273/351/241/265/347/273/204/344/273/266.md +0 -0
  82. package/packages/hr-search-input/image/input-close-icon.png +0 -0
  83. package/packages/hr-search-input/image/search-icon.png +0 -0
  84. package/packages/hr-search-input/index.js +8 -0
  85. package/packages/hr-search-input/src/index.vue +144 -0
  86. package/packages/hr-select/index.js +3 -0
  87. package/packages/hr-select/src/main.vue +62 -0
  88. package/packages/hr-slide-pager/guide/image/turn-left.png +0 -0
  89. package/packages/hr-slide-pager/guide/image/turn-right.png +0 -0
  90. package/packages/hr-slide-pager/guide/index.vue +59 -0
  91. package/packages/hr-slide-pager/guide//346/226/260/346/211/213/346/214/207/345/274/225.md +0 -0
  92. package/packages/hr-slide-pager/index.js +7 -0
  93. package/packages/hr-slide-pager/src/index.vue +371 -0
  94. package/packages/hr-slide-pager//346/273/221/345/212/250/347/277/273/351/241/265/347/273/204/344/273/266.md +0 -0
  95. package/packages/hr-stack-image/index.js +3 -0
  96. package/packages/hr-stack-image/src/main.vue +77 -0
  97. package/packages/hr-stack-image//345/261/202/345/217/240/345/233/276/347/211/207/347/273/204/344/273/266.md +0 -0
  98. package/packages/hr-tab-nav/index.js +8 -0
  99. package/packages/hr-tab-nav/src/index.vue +96 -0
  100. package/packages/hr-view-item/index.js +13 -0
  101. package/packages/hr-view-item/src/index.vue +89 -0
  102. package/packages/hr-view-item//350/241/250/345/215/225/351/241/271item/345/261/225/347/244/272.md +0 -0
  103. package/packages/index.js +53 -0
  104. package/packages/utils/directive.js +58 -0
  105. package/packages/utils/index.js +73 -0
@@ -0,0 +1,167 @@
1
+ <script>
2
+ export default {
3
+ name: 'MultitermChoose',
4
+ props: {
5
+ list: {
6
+ type: Array,
7
+ default () {
8
+ return [
9
+ {
10
+ label: '新人培训1',
11
+ value: 10
12
+ },
13
+ {
14
+ label: '新人培训2',
15
+ value: 20
16
+ },
17
+ {
18
+ label: '新人培训3',
19
+ value: 30
20
+ },
21
+ {
22
+ label: '新人培训4',
23
+ value: 40
24
+ }
25
+ ]
26
+ }
27
+ },
28
+ title: {
29
+ type: String,
30
+ default () {
31
+ return '请选择'
32
+ }
33
+ },
34
+ isShowAll: {
35
+ type: Boolean,
36
+ default () {
37
+ return false
38
+ }
39
+ }
40
+ },
41
+ data () {
42
+ return {
43
+ listActive: []
44
+ }
45
+ },
46
+ computed: {
47
+ concatList () {
48
+ return [{ label: '全部', value: 0 }].concat(this.list)
49
+ }
50
+ },
51
+ watch: {
52
+ concatList: {
53
+ handler (list) {
54
+ this.initListActive(list)
55
+ },
56
+ immediate: true
57
+ }
58
+ },
59
+ created () {
60
+ this.init()
61
+ },
62
+ methods: {
63
+ init () {
64
+ this.initState()
65
+ },
66
+ initState () {
67
+ },
68
+ initListActive (list) {
69
+ if (!Array.isArray(list)) return
70
+ this.listActive = new Array(list.length).fill(false)
71
+ this.listActive[0] = true
72
+ },
73
+ select (index) {
74
+ const active = this.listActive[index]
75
+ if (index === 0) {
76
+ if (active) return
77
+ this.listActive = this.listActive.map(() => false)
78
+ this.$set(this.listActive, index, true)
79
+ } else {
80
+ this.$set(this.listActive, index, !this.listActive[index])
81
+ if (this.listActive.every((item) => !item)) {
82
+ this.$set(this.listActive, 0, true)
83
+ } else {
84
+ this.$set(this.listActive, 0, false)
85
+ }
86
+ }
87
+ const chooseList = this.concatList.filter((item, index) => this.listActive[index])
88
+ this.$emit('select', chooseList)
89
+ }
90
+ },
91
+ render () {
92
+ console.log('render')
93
+ return <div class="multiterm-choose">
94
+ <div class="choose-title">{this.title}</div>
95
+ <div class="choose-condition">
96
+ {
97
+ this.concatList.map((item, index) => <div
98
+ onClick={this.select.bind(this, index)}
99
+ class={['condition-item', this.listActive[index] && 'active']}>
100
+ {item.label}
101
+ </div>)
102
+ }
103
+ </div>
104
+ </div>
105
+ }
106
+ }
107
+ </script>
108
+
109
+ <style scoped lang="less">
110
+ .multiterm-choose {
111
+ .choose-title {
112
+ line-height: 20px;
113
+ margin-bottom: 12px;
114
+ text-align: left;
115
+ font-size: 14px;
116
+ font-weight: 600;
117
+ color: #03050d;
118
+ .title-black {
119
+ font-size: 14px;
120
+ font-weight: normal;
121
+ color: #6e6d72;
122
+ }
123
+ }
124
+ .choose-condition {
125
+ display: flex;
126
+ flex-wrap: wrap;
127
+ justify-content: flex-start;
128
+ .condition-item {
129
+ width: calc((100% - 16px) / 3);
130
+ height: 28px;
131
+ border-radius: 8px;
132
+ box-sizing: border-box;
133
+ background: #f7f8fa;
134
+ text-align: center;
135
+ line-height: 28px;
136
+ margin-bottom: 12px;
137
+ margin-right: 8px;
138
+ color: #03050d;
139
+ font-size: 12px;
140
+ position: relative;
141
+ }
142
+ .condition-item.active {
143
+ // border: 1px solid rgba(121, 114, 254, 0.8);
144
+ background: rgba(121, 114, 254, 0.08);
145
+ color: #7972fe;
146
+ &::after {
147
+ content: " ";
148
+ position: absolute;
149
+ left: 0;
150
+ top: 0;
151
+ width: 200%;
152
+ height: 200%;
153
+ border: 1px solid #7972fe;
154
+ border-radius: 16px;
155
+ -webkit-transform-origin: 0 0;
156
+ transform-origin: 0 0;
157
+ -webkit-transform: scale(0.5);
158
+ transform: scale(0.5);
159
+ }
160
+ }
161
+
162
+ .condition-item:nth-child(3n) {
163
+ margin-right: 0;
164
+ }
165
+ }
166
+ }
167
+ </style>
@@ -0,0 +1,102 @@
1
+ <script>
2
+ export default {
3
+ name: 'OrgTreeChoose',
4
+ props: {
5
+ title: {
6
+ type: String,
7
+ default () {
8
+ return '请选择'
9
+ }
10
+ }
11
+ },
12
+ data () {
13
+ return {
14
+ defaultCheckedKey: '171',
15
+ isShowOrgTreePop: false,
16
+ organization: {}
17
+ }
18
+ },
19
+ methods: {
20
+ handleChange (organization) {
21
+ this.isShowOrgTreePop = false
22
+ this.organization = organization || {}
23
+ console.log(organization, 'organization')
24
+ }
25
+ },
26
+ render () {
27
+ const { name } = this.organization
28
+ return <div class="org-tree-choose">
29
+ <div class="choose-title">{this.title}</div>
30
+ <div class="choose-input" onClick={() => {
31
+ this.isShowOrgTreePop = true
32
+ }}>
33
+ <span class={["input-text", name && 'black']}>{name || '请选择'}</span>
34
+ <img class="input-image" src={require('../../image/arrow-right.png')} />
35
+ </div>
36
+ <div class="choose-popup">
37
+ <ks-org-tree-pop
38
+ style={{ height: '100%', width: '330px' }}
39
+ value={this.isShowOrgTreePop}
40
+ overlay={true}
41
+ closeOnClickOverlay={true}
42
+ onClose={() => {
43
+ this.isShowOrgTreePop = false
44
+ }}
45
+ onInput={(value) => {
46
+ this.isShowOrgTreePop = value
47
+ }}
48
+ ref="popTree"
49
+ defaultCheckedKeys={this.defaultCheckedKey}
50
+ onHandleChange={this.handleChange}
51
+ />
52
+ </div>
53
+ </div>
54
+ }
55
+ }
56
+ </script>
57
+
58
+ <style scoped lang="less">
59
+ .org-tree-choose {
60
+ .choose-title {
61
+ line-height: 20px;
62
+ margin-bottom: 12px;
63
+ text-align: left;
64
+ font-size: 14px;
65
+ font-weight: 600;
66
+ color: #03050d;
67
+ .title-black {
68
+ font-size: 14px;
69
+ font-weight: normal;
70
+ color: #6e6d72;
71
+ }
72
+ }
73
+ .choose-input {
74
+ height: 32px;
75
+ border-radius: 8px;
76
+ background: #f7f8fa;
77
+ display: flex;
78
+ padding: 0 17px 0 12px;
79
+ line-height: 32px;
80
+ .input-text {
81
+ font-size: 14px;
82
+ color: #b0b3bf;
83
+ }
84
+ .input-text.black {
85
+ color: #03050d;
86
+ }
87
+ .input-image {
88
+ margin: 12px 0 0 auto;
89
+ width: 4px;
90
+ height: 8px;
91
+ }
92
+ }
93
+ .choose-popup {
94
+ }
95
+ }
96
+ .van-popup {
97
+ height: 100%;
98
+ }
99
+ /deep/.ks-org-tree-header-title-label {
100
+ font-size: 16px;
101
+ }
102
+ </style>
@@ -0,0 +1,144 @@
1
+ <script>
2
+ export default {
3
+ name: 'SingleChoose',
4
+ props: {
5
+ list: {
6
+ type: Array,
7
+ default () {
8
+ return [
9
+ {
10
+ label: '课程类型',
11
+ value: 10
12
+ },
13
+ {
14
+ label: '课程类型2',
15
+ value: 20
16
+ },
17
+ {
18
+ label: '课程类型3',
19
+ value: 30
20
+ },
21
+ {
22
+ label: '课程类型4',
23
+ value: 40
24
+ }
25
+ ]
26
+ }
27
+ },
28
+ title: {
29
+ type: String,
30
+ default () {
31
+ return '请选择'
32
+ }
33
+ },
34
+ isShowAll: {
35
+ type: Boolean,
36
+ default () {
37
+ return false
38
+ }
39
+ },
40
+ divideeQually: {
41
+ type: Number,
42
+ default () {
43
+ return 3
44
+ }
45
+ }
46
+ },
47
+ data () {
48
+ return {
49
+ active: 0
50
+ }
51
+ },
52
+ created () {
53
+ this.init()
54
+ },
55
+ methods: {
56
+ init () {
57
+ this.initState()
58
+ },
59
+ initState () {
60
+ },
61
+ select (index) {
62
+ this.active = index
63
+ this.$emit('select', this.list[index])
64
+ }
65
+ },
66
+ render () {
67
+ const list = this.isShowAll ? [{ label: '全部', value: 0 }].concat(this.list) : this.list
68
+ return <div class="single-choose">
69
+ <div class="choose-title">{this.title}</div>
70
+ <div class="choose-condition">
71
+ {
72
+ list.map((item, index) => <div
73
+ onClick={this.select.bind(this, index)}
74
+ style={{ width: `calc((100% - 16px) / ${this.divideeQually})` }}
75
+ class={['condition-item', this.active === index && 'active']}>
76
+ {item.label}
77
+ </div>)
78
+ }
79
+ </div>
80
+ </div>
81
+ }
82
+ }
83
+ </script>
84
+
85
+ <style scoped lang="less">
86
+ .single-choose {
87
+ .choose-title {
88
+ line-height: 20px;
89
+ margin-bottom: 12px;
90
+ text-align: left;
91
+ font-size: 14px;
92
+ font-weight: 600;
93
+ color: #03050d;
94
+ .title-black {
95
+ font-size: 14px;
96
+ font-weight: normal;
97
+ color: #6e6d72;
98
+ }
99
+ }
100
+ .choose-condition {
101
+ display: flex;
102
+ flex-wrap: wrap;
103
+ justify-content: flex-start;
104
+ .condition-item {
105
+ // width: calc((100% - 16px) / 3);
106
+ height: 28px;
107
+ border-radius: 8px;
108
+ box-sizing: border-box;
109
+ background: #f7f8fa;
110
+ text-align: center;
111
+ line-height: 28px;
112
+ margin-bottom: 12px;
113
+ margin-right: 8px;
114
+ color: #03050d;
115
+ font-size: 12px;
116
+ position: relative;
117
+ }
118
+ .condition-item.active {
119
+ // border: 1px solid rgba(121, 114, 254, 0.8);
120
+ background: rgba(121, 114, 254, 0.08);
121
+ color: #7972fe;
122
+ &::after {
123
+ content: " ";
124
+ position: absolute;
125
+ left: 0;
126
+ top: 0;
127
+ width: 200%;
128
+ height: 200%;
129
+ border: 1px solid #7972fe;
130
+ border-radius: 16px;
131
+ box-sizing: border-box;
132
+ -webkit-transform-origin: 0 0;
133
+ transform-origin: 0 0;
134
+ -webkit-transform: scale(0.5);
135
+ transform: scale(0.5);
136
+ }
137
+ }
138
+
139
+ .condition-item:nth-child(3n) {
140
+ margin-right: 0;
141
+ }
142
+ }
143
+ }
144
+ </style>
@@ -0,0 +1,60 @@
1
+ <script>
2
+ export default {
3
+ name: 'TextInput',
4
+ props: {
5
+ title: {
6
+ type: String,
7
+ default () {
8
+ return '用户名'
9
+ }
10
+ },
11
+ },
12
+ data () {
13
+ return {
14
+ value: ''
15
+ }
16
+ },
17
+ render () {
18
+ return <div class="text-input">
19
+ <div class="input-title">{this.title}</div>
20
+ <div class="input-box">
21
+ <van-field value={this.value}
22
+ onInput={(value) => { this.value = value }}
23
+ maxlength="10"
24
+ clearable={true}
25
+ placeholder={`请输入${this.title}`} />
26
+ </div>
27
+ </div>
28
+ }
29
+ }
30
+ </script>
31
+
32
+ <style scoped lang="less">
33
+ .text-input {
34
+ .input-title {
35
+ line-height: 20px;
36
+ margin-bottom: 12px;
37
+ text-align: left;
38
+ font-size: 14px;
39
+ font-weight: 600;
40
+ color: #03050d;
41
+ .title-black {
42
+ font-size: 14px;
43
+ font-weight: normal;
44
+ color: #6e6d72;
45
+ }
46
+ }
47
+ .input-box {
48
+ margin-bottom: 12px;
49
+ .van-cell {
50
+ height: 32px;
51
+ padding: 0 12px;
52
+ line-height: 32px;
53
+ border-radius: 8px;
54
+ background-color: #f7f8fa !important;
55
+ font-size: 12px;
56
+ color: #b0b3bf;
57
+ }
58
+ }
59
+ }
60
+ </style>
@@ -0,0 +1,154 @@
1
+ <script>
2
+ import { formatToDate, formatToString } from './utils/tools'
3
+ // import { hrDayJs } from './tools'
4
+
5
+ export default {
6
+ name: 'DateRangeSelect',
7
+ props: {
8
+ defaultValue: {
9
+ type: Array,
10
+ default: () => ([])
11
+ },
12
+ min: [String, Number, Date],
13
+ max: [String, Number, Date],
14
+ },
15
+ data () {
16
+ return {
17
+ currentDate: [],
18
+ currentMin: new Date(),
19
+ currentMax: new Date()
20
+ }
21
+ },
22
+ watch: {
23
+ defaultValue () {
24
+ this.init()
25
+ }
26
+ },
27
+ created () {
28
+ this.disposeVantBug()
29
+ this.init()
30
+ this.handleSelect(this.currentDate)
31
+ },
32
+ methods: {
33
+ init () {
34
+ if (this.defaultValue.length) {
35
+ this.currentDate = [formatToDate(this.defaultValue[0]), formatToDate(this.defaultValue[1])]
36
+ }
37
+ if (!this.min) {
38
+ let _date = new Date()
39
+ let y = _date.getFullYear()
40
+ let m = _date.getMonth() + 1
41
+ this.currentMin = (m - 6) < 1 ? new Date(y - 1, 12 + m - 5, 1) : new Date(y, m - 5, 1)
42
+ } else {
43
+ this.currentMin = formatToDate(this.min)
44
+ }
45
+ if (!this.max) {
46
+ let _date = new Date()
47
+ let y = _date.getFullYear()
48
+ let m = _date.getMonth() + 1
49
+ this.currentMax = (m + 6) > 12 ? new Date(y + 1, m + 6 - 12, 0) : new Date(y, m + 6, 0)
50
+ } else {
51
+ this.currentMax = formatToDate(this.max)
52
+ }
53
+ },
54
+ disposeVantBug () {
55
+ this.$nextTick(() => {
56
+ const select = document.querySelector('.van-calendar__body')
57
+ console.log(select, 'select')
58
+ select.scrollTop += 1
59
+ })
60
+ },
61
+ handleSelect (e) {
62
+ console.log(e, 'swq')
63
+ this.$emit('select', { date: e, str: [formatToString(e[0]), formatToString(e[1])] })
64
+ }
65
+ },
66
+ render () {
67
+ return <van-calendar class="ks-daterange-select"
68
+ default-date={this.currentDate}
69
+ poppable={false}
70
+ show-confirm={false}
71
+ show-title={false}
72
+ show-subtitle={false}
73
+ min-date={this.currentMin}
74
+ max-date={this.currentMax}
75
+ lazy-render={false}
76
+ allow-same-day={true}
77
+ safe-area-inset-bottom={true}
78
+ row-height="44"
79
+ type="range"
80
+ onSelect={this.handleSelect} />
81
+ }
82
+ }
83
+ </script>
84
+
85
+ <style lang="less">
86
+ .ks-daterange-select {
87
+ .van-calendar__day {
88
+ margin: 3px 0;
89
+ }
90
+ .van-calendar__day--middle {
91
+ color: #7972fe !important;
92
+ &::after {
93
+ top: 0 !important;
94
+ bottom: 0 !important;
95
+ }
96
+ }
97
+ .van-calendar__day--start,
98
+ .van-calendar__day--end {
99
+ margin-left: calc((14.285% - 44px) / 2);
100
+ margin-right: calc((14.285% - 44px) / 2);
101
+ }
102
+ .van-calendar__day--start-end {
103
+ margin-left: calc((14.285% - 54px) / 2);
104
+ margin-right: calc((14.285% - 54px) / 2);
105
+ }
106
+ }
107
+ .van-calendar__day {
108
+ margin: 3px 0;
109
+ }
110
+ .van-calendar__day--start {
111
+ position: relative;
112
+ border-radius: 40px;
113
+ width: 44px;
114
+ margin-left: calc((14.285% - 44px) / 2);
115
+ margin-right: calc((14.285% - 44px) / 2);
116
+ &::after {
117
+ position: absolute;
118
+ left: 50%;
119
+ top: 0;
120
+ bottom: 0;
121
+ width: 85%;
122
+ content: " ";
123
+ background-color: rgba(121, 114, 254, 0.1);
124
+ }
125
+ }
126
+ .van-calendar__day--end {
127
+ position: relative;
128
+ border-radius: 40px;
129
+ width: 44px;
130
+ margin-left: calc((14.285% - 44px) / 2);
131
+ margin-right: calc((14.285% - 44px) / 2);
132
+ &::after {
133
+ position: absolute;
134
+ right: 50%;
135
+ top: 0;
136
+ bottom: 0;
137
+ width: 85%;
138
+ content: " ";
139
+ background-color: rgba(121, 114, 254, 0.1);
140
+ }
141
+ }
142
+ .filter-data-pop {
143
+ .time-pop-box {
144
+ height: 100%;
145
+ width: 100%;
146
+ display: flex;
147
+ flex-direction: column;
148
+ .date-content {
149
+ flex: 1;
150
+ overflow: hidden;
151
+ }
152
+ }
153
+ }
154
+ </style>