@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,85 @@
1
+ <script>
2
+ export default {
3
+ name: 'HrBottomButton',
4
+ props: {
5
+ list: {
6
+ type: Array,
7
+ default () {
8
+ return [
9
+ {
10
+ text: '取消',
11
+ icon: '',
12
+ },
13
+ {
14
+ text: '确定',
15
+ icon: '',
16
+ }
17
+ ]
18
+ }
19
+ },
20
+ isRadius: {
21
+ type: Boolean,
22
+ default () {
23
+ return false
24
+ }
25
+ }
26
+ },
27
+ data () {
28
+ return {}
29
+ },
30
+ methods: {
31
+ clickButton (index) {
32
+ this.$emit('clickButton', index)
33
+ }
34
+ },
35
+ render () {
36
+ return <div class="hr-bottom-button">
37
+ <div class="button-list">
38
+ {
39
+ this.list.map((item, index) => {
40
+ const { text } = item
41
+ return <div class="list-item" onClick={this.clickButton.bind(this, index)}>
42
+ <span class="item-text">{text}</span>
43
+ </div>
44
+ })
45
+ }
46
+ </div>
47
+ </div>
48
+ }
49
+ }
50
+ </script>
51
+
52
+ <style scoped lang="less">
53
+ .hr-bottom-button {
54
+ background: #fff;
55
+ z-index: 111;
56
+ .button-list {
57
+ padding: 8px 16px;
58
+ display: flex;
59
+ justify-content: space-around;
60
+ gap: 13px;
61
+ .list-item {
62
+ flex: 1;
63
+ font-size: 16px;
64
+ color: #7972fe;
65
+ display: flex;
66
+ line-height: 40px;
67
+ border-radius: 8px;
68
+ border: 0.5px solid #7972fe;
69
+ background: #fff;
70
+ .item-text {
71
+ text-align: center;
72
+ flex: 1;
73
+ }
74
+ }
75
+ .list-item:last-child {
76
+ color: #ffffff;
77
+ background: #7972fe;
78
+ }
79
+ }
80
+ }
81
+ .ios .hr-bottom-button,
82
+ .ipx .hr-bottom-button {
83
+ padding-bottom: 28px;
84
+ }
85
+ </style>
@@ -0,0 +1,13 @@
1
+ /*
2
+ * @Author : HR-OA-KTS 黄强 670604@ky-tech.com.cn
3
+ * @Date : 2023-11-07 16:47:26
4
+ * @Description :
5
+ */
6
+
7
+ import hrButton from './src/hr-button'
8
+
9
+ hrButton.install = function (Vue) {
10
+ Vue.component(hrButton.name, hrButton);
11
+ };
12
+
13
+ export default hrButton;
@@ -0,0 +1,39 @@
1
+ <!--
2
+ * @Author : HR-OA-KTS 黄强 670604@ky-tech.com.cn
3
+ * @Date : 2023-11-07 16:47:16
4
+ * @Description :
5
+ -->
6
+ <template>
7
+ <div class="hr-button">
8
+
9
+ <ks-button plain
10
+ type="primary"
11
+ @click="handleBtnClick">
12
+ <slot></slot>
13
+ </ks-button>
14
+ </div>
15
+ </template>
16
+
17
+ <script>
18
+
19
+ export default {
20
+ name: "hr-button",
21
+ props: {},
22
+ data () {
23
+ return {
24
+
25
+ }
26
+ },
27
+ methods: {
28
+ handleBtnClick () {
29
+ console.log('别看我长得丑,我有内涵的');
30
+ }
31
+ }
32
+ }
33
+ </script>
34
+
35
+ <style scoped>
36
+ .button {
37
+ padding: 6px 10px;
38
+ }
39
+ </style>
@@ -0,0 +1,3 @@
1
+ import HrClipboard from './src/main'
2
+
3
+ export default HrClipboard
@@ -0,0 +1,64 @@
1
+ <script>
2
+ import icon from './icon.png'
3
+ import { copyCode } from './util.js'
4
+ export default {
5
+ name: 'HrClipboard',
6
+ props: {
7
+ // 标题名字
8
+ title: {
9
+ type: String,
10
+ default: '点击复制'
11
+ },
12
+ // 需要复制的内容
13
+ txt: {
14
+ type: String,
15
+ default: ''
16
+ },
17
+ color: {
18
+ type: String,
19
+ default: '#7972fe'
20
+ },
21
+ size: {
22
+ type: [String, Number],
23
+ default: '14'
24
+ },
25
+ imgSize: {
26
+ type: [String, Number],
27
+ default: '14'
28
+ },
29
+ // 模块形式导入
30
+ icon: {
31
+ default: icon
32
+ },
33
+ marginLeft: {
34
+ type: [String, Number],
35
+ default: '4'
36
+ }
37
+ },
38
+ methods: {
39
+ copy () {
40
+ copyCode(this.txt)
41
+ this.$emit('click', this.txt)
42
+ }
43
+ },
44
+ render () {
45
+ return (<div onClick={this.copy.bind(this)} class="clipboard">
46
+ <div style={{ width: `${this.imgSize}px`, height: `${this.imgSize}px` }} class="clipboard-img">
47
+ <img width={this.imgSize}
48
+ height={this.imgSize}
49
+ src={this.icon} />
50
+ </div>
51
+ <div style={{ fontSize: `${this.size}px`, color: this.color, marginLeft: `${this.marginLeft}px` }}>{this.title}</div>
52
+ </div>)
53
+ }
54
+ }
55
+ </script>
56
+ <style lang="less" scoped>
57
+ .clipboard {
58
+ display: flex;
59
+ align-items: center;
60
+ .clipboard-img {
61
+ font-size: 0;
62
+ }
63
+ }
64
+ </style>
@@ -0,0 +1,9 @@
1
+ export function copyCode (value) {
2
+ window.ks.callFunc({
3
+ method: 'paste',
4
+ params: { str: value }
5
+ })
6
+ if (navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('kuasheng_work')) {
7
+ window.vant.Toast('已复制到剪贴板')
8
+ }
9
+ }
@@ -0,0 +1,11 @@
1
+ export const DATE_SHORTCUT_TYPE = {
2
+ THREE_DAY: 10,
3
+ SEVEN_DAY: 20,
4
+ ONE_MONTH: 30
5
+ }
6
+
7
+ export const DATE_SHORTCUT_PARAMS = {
8
+ [DATE_SHORTCUT_TYPE.THREE_DAY]: { count: 3, type: 'day', text: '近三天' },
9
+ [DATE_SHORTCUT_TYPE.SEVEN_DAY]: { count: 7, type: 'day', text: '近七天' },
10
+ [DATE_SHORTCUT_TYPE.ONE_MONTH]: { count: 1, type: 'month', text: '近一个月' },
11
+ }
@@ -0,0 +1,7 @@
1
+ import HrConditionFiltrate from './src/index.vue'
2
+
3
+ HrConditionFiltrate.install = function (Vue) {
4
+ Vue.component(HrConditionFiltrate.name, HrConditionFiltrate)
5
+ }
6
+
7
+ export default HrConditionFiltrate
@@ -0,0 +1,101 @@
1
+ <script>
2
+ export default {
3
+ name: 'EmployeeChoose',
4
+ props: {
5
+ title: {
6
+ type: String,
7
+ default () {
8
+ return '请选择'
9
+ }
10
+ },
11
+ multiple: {
12
+ type: Boolean,
13
+ default () {
14
+ return true
15
+ }
16
+ }
17
+ },
18
+ data () {
19
+ return {
20
+ isShowKsEmployeePopup: false,
21
+ employeeList: []
22
+ }
23
+ },
24
+ methods: {
25
+ confirmEmployee (list) {
26
+ this.employeeList = list
27
+ this.isShowKsEmployeePopup = false
28
+ }
29
+ },
30
+ render () {
31
+ const { employeeName } = this.employeeList[0] || {}
32
+ return <div class="employee-choose">
33
+ <div class="choose-title">{this.title}</div>
34
+ <div class="choose-input" onClick={() => {
35
+ this.isShowKsEmployeePopup = true
36
+ }}>
37
+ <span class={["input-text", employeeName && 'black']}>{employeeName || '请选择'}</span>
38
+ <img class="input-image" src={require('../../image/arrow-right.png')} />
39
+ </div>
40
+ <div class="choose-popup">
41
+ <ks-employee-popup
42
+ style={{ height: '100%', width: '330px' }}
43
+ placeholder="输入员工姓名/工号"
44
+ value={this.isShowKsEmployeePopup}
45
+ onInput={(value) => { this.isShowKsEmployeePopup = value }}
46
+ multiple={this.multiple}
47
+ menuId='151596034994370809'
48
+ popAttr={{ position: 'right' }}
49
+ onConfirm={this.confirmEmployee}></ks-employee-popup>
50
+ </div>
51
+ </div>
52
+ }
53
+ }
54
+ </script>
55
+
56
+ <style scoped lang="less">
57
+ .employee-choose {
58
+ .choose-title {
59
+ line-height: 20px;
60
+ margin-bottom: 12px;
61
+ text-align: left;
62
+ font-size: 14px;
63
+ font-weight: 600;
64
+ color: #03050d;
65
+ .title-black {
66
+ font-size: 14px;
67
+ font-weight: normal;
68
+ color: #6e6d72;
69
+ }
70
+ }
71
+ .choose-input {
72
+ height: 32px;
73
+ border-radius: 8px;
74
+ background: #f7f8fa;
75
+ display: flex;
76
+ padding: 0 17px 0 12px;
77
+ line-height: 32px;
78
+ .input-text {
79
+ font-size: 14px;
80
+ color: #b0b3bf;
81
+ }
82
+ .input-text.black {
83
+ color: #03050d;
84
+ }
85
+ .input-image {
86
+ margin: 12px 0 0 auto;
87
+ width: 4px;
88
+ height: 8px;
89
+ }
90
+ }
91
+ .choose-popup {
92
+ }
93
+ }
94
+ .van-popup {
95
+ height: 100%;
96
+ .popup-employee {
97
+ width: 330px;
98
+ height: 100%;
99
+ }
100
+ }
101
+ </style>
@@ -0,0 +1,246 @@
1
+ <script>
2
+ import SingleChoose from './single-choose/index.vue'
3
+ import MultitermChoose from './multiterm-choose/index.vue'
4
+ import TimeSelector from './time-selector/index.vue'
5
+ import Textinput from './text-input/index.vue'
6
+ import EmployeeChoose from './employee-choose/index.vue'
7
+ import OrgTreeChoose from './org-tree-choose/index.vue'
8
+
9
+ export default {
10
+ name: 'HrConditionFiltrate',
11
+ components: {
12
+ SingleChoose,
13
+ MultitermChoose,
14
+ Textinput,
15
+ EmployeeChoose,
16
+ OrgTreeChoose
17
+ },
18
+ props: {
19
+ value: {
20
+ type: Boolean,
21
+ default () {
22
+ return false
23
+ }
24
+ }
25
+ },
26
+ data () { },
27
+ methods: {
28
+ operationCondition () {
29
+
30
+ },
31
+ setisShowFiltrate (flag) {
32
+ this.$emit('input', flag)
33
+ }
34
+ },
35
+ render () {
36
+ // 单项选择卡片
37
+ const renderSingleChoose = (title) => <SingleChoose divideeQually={3} title={title} />
38
+ // 多项选择卡片
39
+ const renderMultitermChoose = (title) => <MultitermChoose title={title} />
40
+ // 时间选择器
41
+ const renderTimeSelector = (title) => <TimeSelector title={title} ref='TimeSelector' />
42
+ // 文本框
43
+ const renderTextInput = (title) => <Textinput title={title} />
44
+ // 渲染选择人员框
45
+ const renderEmployeeChoose = (title) => <EmployeeChoose title={title} />
46
+ // 渲染选择组织树
47
+ const renderOrgTreeChoose = (title) => <OrgTreeChoose title={title} />
48
+ // 主要内容
49
+ const renderFiltrateContent = () => {
50
+ return <div class="filtrate-content" id="hr-filtrate-content">
51
+ <header class="ksui-header">
52
+ <div class="ksui-nav">
53
+ <ks-nav-bar title="筛选"
54
+ left-arrow={true}
55
+ onClick-left={() => { this.setisShowFiltrate(false) }}>
56
+ </ks-nav-bar>
57
+ </div>
58
+ </header>
59
+ <div class="content-main ksui-body">
60
+ {renderSingleChoose('培训类')}
61
+ {renderMultitermChoose('排序')}
62
+ {renderTimeSelector('排序')}
63
+ {renderTextInput('录单人')}
64
+ {renderEmployeeChoose('扣款人')}
65
+ {renderOrgTreeChoose('选择组织')}
66
+ </div>
67
+ <div class="content-footer">
68
+ <span class="footer-button reset" onClick={this.operationCondition.bind(this, 0)}>重置</span>
69
+ <span class="footer-button" onClick={this.operationCondition.bind(this, 1)}>确定</span>
70
+ </div>
71
+ </div>
72
+ }
73
+
74
+ return <div class="hr-condition-filtrate">
75
+ <ks-popup
76
+ value={this.value}
77
+ onInput={(value) => { this.setisShowFiltrate(value) }}
78
+ get-container="#app"
79
+ position="right">
80
+ {renderFiltrateContent()}
81
+ </ks-popup>
82
+ </div>
83
+ }
84
+ }
85
+ </script>
86
+
87
+ <style scoped lang="less">
88
+ .filtrate-content {
89
+ width: 330px;
90
+ height: 100%;
91
+ border-radius: 12px 0px 0px 12px;
92
+ box-sizing: border-box;
93
+ .ksui-nav {
94
+ .van-nav-bar {
95
+ display: flex;
96
+ padding: 0 16px;
97
+ flex-direction: row;
98
+ align-items: center;
99
+ .van-icon.van-icon-arrow-left.van-nav-bar__arrow {
100
+ font-size: 22px !important;
101
+ font-weight: 500;
102
+ color: #000;
103
+ }
104
+ .van-nav-bar__left,
105
+ .van-nav-bar__right {
106
+ position: static;
107
+ font-size: 22px;
108
+ font-weight: 500;
109
+ color: #000;
110
+ }
111
+ .van-nav-bar__left {
112
+ display: flex;
113
+ justify-content: flex-start;
114
+ flex: 0 0 22px;
115
+ margin-right: 4px;
116
+ }
117
+ .van-nav-bar__title {
118
+ margin: 0;
119
+ flex: 0 0 auto;
120
+ height: auto;
121
+ line-height: auto;
122
+
123
+ // & > a.light {
124
+ // border: 1px solid #7972fe;
125
+ // }
126
+ }
127
+ }
128
+ }
129
+ .ksui-header {
130
+ background: #fff !important;
131
+ }
132
+ .content-main {
133
+ padding: 16px;
134
+ overflow-y: scroll !important;
135
+ padding-bottom: 90px;
136
+ height: 100%;
137
+ .main-item {
138
+ margin-bottom: 8px;
139
+ .item-title {
140
+ line-height: 20px;
141
+ margin-bottom: 12px;
142
+ font-size: 14px;
143
+ font-weight: 600;
144
+ color: #03050d;
145
+ text-align: left;
146
+ .title-black {
147
+ font-size: 14px;
148
+ font-weight: normal;
149
+ color: #6e6d72;
150
+ }
151
+ }
152
+ .item-condition {
153
+ display: flex;
154
+ flex-wrap: wrap;
155
+ justify-content: flex-start;
156
+ .condition-item {
157
+ width: calc((100% - 16px) / 3);
158
+ height: 28px;
159
+ border-radius: 8px;
160
+ box-sizing: border-box;
161
+ background: #f7f8fa;
162
+ text-align: center;
163
+ line-height: 26px;
164
+ margin-bottom: 12px;
165
+ margin-right: 8px;
166
+ color: #03050d;
167
+ font-size: 12px;
168
+ position: relative;
169
+ }
170
+ .condition-item.active {
171
+ // border: 1px solid rgba(121, 114, 254, 0.8);
172
+ background: rgba(121, 114, 254, 0.08);
173
+ color: #7972fe;
174
+ &::after {
175
+ content: " ";
176
+ position: absolute;
177
+ left: 0;
178
+ top: 0;
179
+ width: 200%;
180
+ height: 200%;
181
+ border: 1px solid #7972fe;
182
+ border-radius: 16px;
183
+ -webkit-transform-origin: 0 0;
184
+ transform-origin: 0 0;
185
+ -webkit-transform: scale(0.5);
186
+ transform: scale(0.5);
187
+ }
188
+ }
189
+
190
+ .condition-item:nth-child(3n) {
191
+ margin-right: 0;
192
+ }
193
+ }
194
+ }
195
+ }
196
+ .content-footer {
197
+ position: absolute;
198
+ bottom: 0;
199
+ left: 0;
200
+ padding: 8px 36px;
201
+ display: flex;
202
+ width: 100%;
203
+ box-sizing: border-box;
204
+ background: #fff;
205
+ .footer-button {
206
+ flex: 1;
207
+ border-radius: 8px;
208
+ background: #7972fe;
209
+ font-size: 16px;
210
+ line-height: 22px;
211
+ color: #ffffff;
212
+ text-align: center;
213
+ line-height: 40px;
214
+ }
215
+ .footer-button.reset {
216
+ color: #7972fe;
217
+ // border: solid #7972fe 1px;
218
+ background: #fff;
219
+ margin-right: 18px;
220
+ position: relative;
221
+ &::after {
222
+ content: " ";
223
+ position: absolute;
224
+ left: 0;
225
+ top: 0;
226
+ width: 200%;
227
+ height: 200%;
228
+ border: 1px solid #7972fe;
229
+ border-radius: 16px;
230
+ -webkit-transform-origin: 0 0;
231
+ transform-origin: 0 0;
232
+ -webkit-transform: scale(0.5);
233
+ transform: scale(0.5);
234
+ }
235
+ }
236
+ }
237
+ }
238
+ .van-popup {
239
+ height: 100%;
240
+ overflow: hidden;
241
+ }
242
+ .ios .content-footer,
243
+ .ipx .content-footer {
244
+ padding-top: 28px;
245
+ }
246
+ </style>