cbvirtua 1.0.102 → 1.0.104
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.
- package/better-scroll-dev.zip +0 -0
- package/package.json +1 -1
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/.hbuilderx/launch.json +11 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/App.vue +17 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/README.md +13 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/components/xiaolu-tree/code.js +408 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/components/xiaolu-tree/css/icon.css +342 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/components/xiaolu-tree/css/style.scss +119 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/components/xiaolu-tree/search/index.vue +66 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/components/xiaolu-tree/tree.vue +70 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/main.js +11 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/manifest.json +78 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/pages/chooseUser/chooseUser.vue +69 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/pages/chooseUser/data.js +96 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/pages/index/index.vue +122 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/pages.json +25 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/changelog.md +80 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/i18n/en.json +7 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/i18n/index.js +8 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json +7 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json +7 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/keypress.js +45 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/popup.js +26 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue +90 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup/uni-popup.vue +496 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js +45 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue +313 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue +143 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue +187 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/package.json +87 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-popup/readme.md +17 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/changelog.md +8 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/index.scss +1 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/package.json +82 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/readme.md +4 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/index.scss +7 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_border.scss +3 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_color.scss +66 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_radius.scss +55 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_space.scss +56 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_styles.scss +167 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_text.scss +24 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/setting/_variables.scss +146 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/styles/tools/functions.scss +19 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/theme.scss +31 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-scss/variables.scss +62 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-transition/changelog.md +22 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-transition/components/uni-transition/createAnimation.js +131 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-transition/components/uni-transition/uni-transition.vue +286 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-transition/package.json +84 -0
- package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/uni_modules/uni-transition/readme.md +11 -0
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "iconfont"; /* Project id 2009600 */
|
|
3
|
+
src: url('https://at.alicdn.com/t/font_2009600_gpzp7pxtnw.woff2?t=1620633089023') format('woff2'),
|
|
4
|
+
url('https://at.alicdn.com/t/font_2009600_gpzp7pxtnw.woff?t=1620633089023') format('woff'),
|
|
5
|
+
url('https://at.alicdn.com/t/font_2009600_gpzp7pxtnw.ttf?t=1620633089023') format('truetype');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.iconfont {
|
|
9
|
+
font-family: "iconfont" !important;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.icon-banxuanzhongshousuo1-shi:before {
|
|
17
|
+
content: "\e682";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon-xuanzhong3:before {
|
|
21
|
+
content: "\e6bb";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.icon-weixuanzhong2:before {
|
|
25
|
+
content: "\e62e";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon-danxuanxuanzhong:before {
|
|
29
|
+
content: "\e631";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.icon-xuanzhong4:before {
|
|
33
|
+
content: "\e63e";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.icon-xuanzhong1:before {
|
|
37
|
+
content: "\e62d";
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.icon-xuanzhong2:before {
|
|
41
|
+
content: "\e656";
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.icon-selected:before {
|
|
45
|
+
content: "\e615";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.icon-weixuanzhong1:before {
|
|
49
|
+
content: "\e614";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.icon-xingzhuang6kaobei3-copy-copy:before {
|
|
53
|
+
content: "\e613";
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.icon-radio-checked:before {
|
|
57
|
+
content: "\e63f";
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.icon-huifu:before {
|
|
61
|
+
content: "\e619";
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.icon-dizhi:before {
|
|
65
|
+
content: "\e64a";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.icon-kuaijiecaidan:before {
|
|
69
|
+
content: "\e60a";
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.icon-z043:before {
|
|
73
|
+
content: "\e62f";
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.icon-guanbi:before {
|
|
77
|
+
content: "\e607";
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.icon-xuanze:before {
|
|
81
|
+
content: "\e623";
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.icon-caidanzhaolinggan:before {
|
|
85
|
+
content: "\e616";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.icon-xitongshezhi:before {
|
|
89
|
+
content: "\e60c";
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.icon-xitongshezhi1:before {
|
|
93
|
+
content: "\e633";
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.icon-lunbo:before {
|
|
97
|
+
content: "\e692";
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.icon-shuping:before {
|
|
101
|
+
content: "\e659";
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.icon-tongzhi:before {
|
|
105
|
+
content: "\e641";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.icon-pinglunguanlishezhi:before {
|
|
109
|
+
content: "\e6ac";
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.icon-icon:before {
|
|
113
|
+
content: "\e600";
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.icon-liuyanguanli:before {
|
|
117
|
+
content: "\e61d";
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.icon-xuanzhong:before {
|
|
121
|
+
content: "\e669";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.icon--:before {
|
|
125
|
+
content: "\e622";
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.icon-tushu:before {
|
|
129
|
+
content: "\e604";
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.icon-huishouzhan:before {
|
|
133
|
+
content: "\e61c";
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.icon-yonghutouxiang:before {
|
|
137
|
+
content: "\e617";
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.icon-liebiao:before {
|
|
141
|
+
content: "\e630";
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.icon-fenlei:before {
|
|
145
|
+
content: "\e621";
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.icon-tushu1:before {
|
|
149
|
+
content: "\e605";
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.icon-tubiao-:before {
|
|
153
|
+
content: "\e620";
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.icon-weixuanze:before {
|
|
157
|
+
content: "\e624";
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.icon-tushujieyue:before {
|
|
161
|
+
content: "\e690";
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.icon-lunbo1:before {
|
|
165
|
+
content: "\e6c5";
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.icon-shanchu:before {
|
|
169
|
+
content: "\e67b";
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.icon-lunbo2:before {
|
|
173
|
+
content: "\e61e";
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.icon-huaban:before {
|
|
177
|
+
content: "\e663";
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.icon-kehuan:before {
|
|
181
|
+
content: "\e608";
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.icon-icon02:before {
|
|
185
|
+
content: "\e601";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.icon-huishouzhan1:before {
|
|
189
|
+
content: "\e612";
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.icon-huishouzhan2:before {
|
|
193
|
+
content: "\e63d";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.icon-sousuo:before {
|
|
197
|
+
content: "\e62c";
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.icon-xingzhuang:before {
|
|
201
|
+
content: "\e625";
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.icon-lunbobankuai:before {
|
|
205
|
+
content: "\e61f";
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.icon-shangchuan:before {
|
|
209
|
+
content: "\e602";
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.icon-yonghu:before {
|
|
213
|
+
content: "\e761";
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.icon-tongzhi1:before {
|
|
217
|
+
content: "\e603";
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.icon-jingsong:before {
|
|
221
|
+
content: "\e65c";
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.icon-fenlei1:before {
|
|
225
|
+
content: "\e6c6";
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.icon-xieshupingicon:before {
|
|
229
|
+
content: "\e72d";
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.icon-liuyan:before {
|
|
233
|
+
content: "\e626";
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.icon-weixuanzhong:before {
|
|
237
|
+
content: "\e627";
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.icon-youxiang:before {
|
|
241
|
+
content: "\e646";
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.icon-lunboguanggao:before {
|
|
245
|
+
content: "\e6b3";
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.icon-xuanze1:before {
|
|
249
|
+
content: "\e60d";
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.icon-chushaixuanxiang:before {
|
|
253
|
+
content: "\e606";
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.icon-liuyanguanli1:before {
|
|
257
|
+
content: "\e61a";
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.icon-shanchu1:before {
|
|
261
|
+
content: "\e609";
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.icon-huishouzhan3:before {
|
|
265
|
+
content: "\e642";
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.icon-shangchuan1:before {
|
|
269
|
+
content: "\e823";
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.icon-huishouzhan4:before {
|
|
273
|
+
content: "\e61b";
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.icon-chuangzuo:before {
|
|
277
|
+
content: "\e8ad";
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.icon-dianzan:before {
|
|
281
|
+
content: "\e8ae";
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.icon-paihangbang:before {
|
|
285
|
+
content: "\e8b3";
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.icon-shouye:before {
|
|
289
|
+
content: "\e8b9";
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.icon-shoucang:before {
|
|
293
|
+
content: "\e8c6";
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.icon-addApp:before {
|
|
297
|
+
content: "\e60b";
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.icon-huishouzhan5:before {
|
|
301
|
+
content: "\e63a";
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.icon-add1:before {
|
|
305
|
+
content: "\e60e";
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.icon-shoucang1:before {
|
|
309
|
+
content: "\e60f";
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.icon-canshutongji:before {
|
|
313
|
+
content: "\e618";
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.icon-rizhiguanli:before {
|
|
317
|
+
content: "\e628";
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.icon-shanchu2:before {
|
|
321
|
+
content: "\e629";
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.icon-xinzeng:before {
|
|
325
|
+
content: "\e62a";
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.icon-zhankailiebiao:before {
|
|
329
|
+
content: "\e62b";
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.icon-xiala-copy:before {
|
|
333
|
+
content: "\e610";
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.icon-shangla:before {
|
|
337
|
+
content: "\e64e";
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.icon-xianxingshezhi:before {
|
|
341
|
+
content: "\e611";
|
|
342
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
.flex_between_center {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.checkbox {
|
|
8
|
+
position: relative;
|
|
9
|
+
margin-left: 10rpx;
|
|
10
|
+
margin-right: 0px;
|
|
11
|
+
.color {
|
|
12
|
+
color: #00aaff;
|
|
13
|
+
background-color: #00aaff;
|
|
14
|
+
}
|
|
15
|
+
.txt {
|
|
16
|
+
font-size: 44rpx;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
display: flex;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.checkBorder {
|
|
23
|
+
border: 1px solid #ecdee4;
|
|
24
|
+
}
|
|
25
|
+
.header {
|
|
26
|
+
width: 100%;
|
|
27
|
+
position: fixed;
|
|
28
|
+
background-color: #fff;
|
|
29
|
+
z-index: 9999;
|
|
30
|
+
.title {
|
|
31
|
+
height: 90rpx;
|
|
32
|
+
padding: 0 32rpx;
|
|
33
|
+
line-height: 90rpx;
|
|
34
|
+
font-size: 30rpx;
|
|
35
|
+
background-color: #f5f5f5;
|
|
36
|
+
color: #606064;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.iconclass {
|
|
40
|
+
display: inline-block;
|
|
41
|
+
margin: 0 12rpx;
|
|
42
|
+
color: #D0D4DB;
|
|
43
|
+
font-size: 28rpx;
|
|
44
|
+
}
|
|
45
|
+
.container-list {
|
|
46
|
+
overflow-y: scroll;
|
|
47
|
+
overflow-x: hidden;
|
|
48
|
+
padding-bottom: 160rpx;
|
|
49
|
+
padding-top: 200rpx;
|
|
50
|
+
.common {
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
border-bottom: 1rpx solid #f4f4f4;
|
|
53
|
+
padding-left: 10rpx;
|
|
54
|
+
.content {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
height: 60rpx;
|
|
58
|
+
width: 100%;
|
|
59
|
+
padding: 15rpx 0;
|
|
60
|
+
position: relative;
|
|
61
|
+
font-size: 32rpx;
|
|
62
|
+
.lable-text{
|
|
63
|
+
margin-left: 16rpx;
|
|
64
|
+
font-size: 30rpx;
|
|
65
|
+
color: #5b5757;
|
|
66
|
+
width: 500rpx;
|
|
67
|
+
word-break: break-all;
|
|
68
|
+
}
|
|
69
|
+
.right {
|
|
70
|
+
position: absolute;
|
|
71
|
+
right: 30rpx;
|
|
72
|
+
color: #babdc3;
|
|
73
|
+
font-size: 32rpx;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.active {
|
|
79
|
+
color: #4297ED !important;
|
|
80
|
+
}
|
|
81
|
+
.none {
|
|
82
|
+
color: #666666;
|
|
83
|
+
}
|
|
84
|
+
.icon-selected{
|
|
85
|
+
color: #0095F2!important;
|
|
86
|
+
font-size: 40rpx!important;
|
|
87
|
+
}
|
|
88
|
+
.icons{
|
|
89
|
+
color: #0095F2!important;
|
|
90
|
+
font-size: 40rpx!important;
|
|
91
|
+
}
|
|
92
|
+
.inline-item {
|
|
93
|
+
display: inline-block
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.content-item{
|
|
97
|
+
display: flex;
|
|
98
|
+
position: relative;
|
|
99
|
+
align-items: center;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.box_sizing {
|
|
103
|
+
-webkit-box-sizing: border-box;
|
|
104
|
+
-moz-box-sizing: border-box;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.btn {
|
|
109
|
+
position: fixed;
|
|
110
|
+
bottom: 0;
|
|
111
|
+
padding: 10px;
|
|
112
|
+
background-color: #fff;
|
|
113
|
+
width: 100%;
|
|
114
|
+
|
|
115
|
+
.sureBtn {
|
|
116
|
+
background-color: #0095F2;
|
|
117
|
+
color: #fff;
|
|
118
|
+
}
|
|
119
|
+
}
|
package/xiaolu-tree-plugin-main/xiaolu-tree-plugin-main/components/xiaolu-tree/search/index.vue
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="tmp-box">
|
|
3
|
+
<view class='filterBox'>
|
|
4
|
+
<view class='filter-input'>
|
|
5
|
+
<text style="color: #b8b8b8;" class="iconfont icon-sousuo filterImg"/>
|
|
6
|
+
<input class="text" type='text' v-model="inputVal" confirm-type="搜索" @confirm='handleFllter' placeholder='搜索'></input>
|
|
7
|
+
</view>
|
|
8
|
+
</view>
|
|
9
|
+
</view>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
inputVal: "",
|
|
17
|
+
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
methods: {
|
|
21
|
+
handleFllter(e) {
|
|
22
|
+
// console.log(e.detail.value)
|
|
23
|
+
this.$emit("confirm", e.detail.value)
|
|
24
|
+
},
|
|
25
|
+
clears(){
|
|
26
|
+
console.log(this.inputVal)
|
|
27
|
+
this.inputVal=""
|
|
28
|
+
console.log('清除了内容')
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
}
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
|
+
<style lang="scss" scoped>
|
|
35
|
+
.filterBox {
|
|
36
|
+
padding: 15rpx 32rpx;
|
|
37
|
+
background-color: #fff;
|
|
38
|
+
.filter-input {
|
|
39
|
+
height: 80rpx;
|
|
40
|
+
background-color: #eeeff0;
|
|
41
|
+
border-radius: 40rpx;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
|
|
45
|
+
padding-left: 40rpx;
|
|
46
|
+
.filterImg {
|
|
47
|
+
width: 32rpx;
|
|
48
|
+
height: 32rpx;
|
|
49
|
+
margin-right: 20rpx;
|
|
50
|
+
margin-bottom: 5rpx;
|
|
51
|
+
}
|
|
52
|
+
.filterImgs {
|
|
53
|
+
width: 32rpx;
|
|
54
|
+
height: 32rpx;
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
.text {
|
|
58
|
+
width: 84%;
|
|
59
|
+
background-color: #eeeff0;
|
|
60
|
+
font-size: 32rpx;
|
|
61
|
+
color: #000;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@import url("../css/icon.css");
|
|
66
|
+
</style>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view>
|
|
3
|
+
<view class="header">
|
|
4
|
+
<search v-if="searchIf" ref="sea" @confirm="confirmSearch" />
|
|
5
|
+
<view class="title">
|
|
6
|
+
<scroll-view scroll-x style="width: 100%;white-space: nowrap;" :scroll-left="scrollLeft">
|
|
7
|
+
<view v-for="(item,index) in tree_stack" class="inline-item" :key="index">
|
|
8
|
+
<view class="inline-item" v-if="index==0" @click="backTree(item,-1)">
|
|
9
|
+
<text :class="[(isActive(index)&&!is_search)?'none':'active']">全部</text>
|
|
10
|
+
</view>
|
|
11
|
+
<view v-if="index==0&&is_search" @click="backTree(item,-2)"
|
|
12
|
+
:class="[(index==tree_stack.length-1&&is_search)?'none':'active','inline-item']">
|
|
13
|
+
<i class="iconfont icon-z043 iconclass" />
|
|
14
|
+
搜索结果
|
|
15
|
+
</view>
|
|
16
|
+
<view class="inline-item" @click="backTree(item,index)" v-if="index!=0">
|
|
17
|
+
<i class="iconfont icon-z043 iconclass" />
|
|
18
|
+
<text :class="isActive(index)?'none inline-ite':'active'">
|
|
19
|
+
{{item[props.label]}}
|
|
20
|
+
</text>
|
|
21
|
+
</view>
|
|
22
|
+
</view>
|
|
23
|
+
</scroll-view>
|
|
24
|
+
</view>
|
|
25
|
+
</view>
|
|
26
|
+
<view>
|
|
27
|
+
<scroll-view scroll-y :style="{ height:scrollHeight }">
|
|
28
|
+
<view class="container-list">
|
|
29
|
+
<view class="common" v-for="(item, index) in tree" @click="handleClick(item,index)"
|
|
30
|
+
:key="item[keyValue]">
|
|
31
|
+
<label class="content">
|
|
32
|
+
<view class="list-item" v-show="isCheck">
|
|
33
|
+
<!-- 多选 -->
|
|
34
|
+
<view class="checkbox" v-if="props.multiple" @click.stop="handleClick(item,-1)">
|
|
35
|
+
<span v-if="isSelect(item)">
|
|
36
|
+
<i v-if="item.bx&&newCheckList.length!=0"
|
|
37
|
+
class="iconfont icon-banxuanzhongshousuo1-shi icons" />
|
|
38
|
+
<i v-else class="iconfont icon-xuanzhong txt icon-selected" />
|
|
39
|
+
</span>
|
|
40
|
+
<i v-else-if="item.qx" class="iconfont icon-xuanzhong txt icon-selected" />
|
|
41
|
+
<i v-else-if="item.bx" class="iconfont icon-banxuanzhongshousuo1-shi icons" />
|
|
42
|
+
<i style="color: #b8b8b8;" v-else class="iconfont icon-weixuanzhong txt" />
|
|
43
|
+
</view>
|
|
44
|
+
<!-- 单选 -->
|
|
45
|
+
<view class="checkbox" v-else-if="!props.nodes||(props.nodes&&item.user)"
|
|
46
|
+
@click.stop="handleClick(item,-1)">
|
|
47
|
+
<i v-if="radioSelect(item)" class="txt iconfont icon-selected" />
|
|
48
|
+
<i style="color: #b8b8b8;" v-else class="txt iconfont icon-weixuanzhong1" />
|
|
49
|
+
</view>
|
|
50
|
+
</view>
|
|
51
|
+
<view class="lable-text">{{item[props.label]}}</view>
|
|
52
|
+
<view class="right"><i v-if="!item.user&&item[props.children].length>0"
|
|
53
|
+
class="iconfont icon-z043 iconclass"></i></view>
|
|
54
|
+
</label>
|
|
55
|
+
</view>
|
|
56
|
+
</view>
|
|
57
|
+
|
|
58
|
+
</scroll-view>
|
|
59
|
+
</view>
|
|
60
|
+
<view class="btn box_sizing">
|
|
61
|
+
<button class="sureBtn" type="primary" @click="backConfirm">确认</button>
|
|
62
|
+
</view>
|
|
63
|
+
</view>
|
|
64
|
+
</template>
|
|
65
|
+
|
|
66
|
+
<script src="./code.js" type="text/javascript"></script>
|
|
67
|
+
<style lang="scss" scoped>
|
|
68
|
+
@import './css/style.scss';
|
|
69
|
+
@import url("./css/icon.css");
|
|
70
|
+
</style>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name" : "树形选择器增强版,支持多选、单选、父级选择,Picker形式示例",
|
|
3
|
+
"appid" : "__UNI__BA789BD",
|
|
4
|
+
"description" : "",
|
|
5
|
+
"versionName" : "1.0.0",
|
|
6
|
+
"versionCode" : "100",
|
|
7
|
+
"transformPx" : false,
|
|
8
|
+
/* 5+App特有相关 */
|
|
9
|
+
"app-plus" : {
|
|
10
|
+
"usingComponents" : true,
|
|
11
|
+
"splashscreen" : {
|
|
12
|
+
"alwaysShowBeforeRender" : true,
|
|
13
|
+
"waiting" : true,
|
|
14
|
+
"autoclose" : true,
|
|
15
|
+
"delay" : 0
|
|
16
|
+
},
|
|
17
|
+
/* 模块配置 */
|
|
18
|
+
"modules" : {},
|
|
19
|
+
/* 应用发布信息 */
|
|
20
|
+
"distribute" : {
|
|
21
|
+
/* android打包配置 */
|
|
22
|
+
"android" : {
|
|
23
|
+
"permissions" : [
|
|
24
|
+
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
|
25
|
+
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
|
26
|
+
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
|
|
27
|
+
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
|
28
|
+
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
|
29
|
+
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
|
30
|
+
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
|
31
|
+
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
|
32
|
+
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
|
33
|
+
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
|
34
|
+
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
|
|
35
|
+
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
|
36
|
+
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
|
37
|
+
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
|
38
|
+
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
|
39
|
+
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
|
40
|
+
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
|
41
|
+
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
|
42
|
+
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
|
43
|
+
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
|
44
|
+
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
|
45
|
+
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
/* ios打包配置 */
|
|
49
|
+
"ios" : {},
|
|
50
|
+
/* SDK配置 */
|
|
51
|
+
"sdkConfigs" : {}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
/* 快应用特有相关 */
|
|
55
|
+
"quickapp" : {},
|
|
56
|
+
/* 小程序特有相关 */
|
|
57
|
+
"mp-weixin" : {
|
|
58
|
+
"appid" : "",
|
|
59
|
+
"setting" : {
|
|
60
|
+
"urlCheck" : false
|
|
61
|
+
},
|
|
62
|
+
"usingComponents" : true
|
|
63
|
+
},
|
|
64
|
+
"mp-alipay" : {
|
|
65
|
+
"usingComponents" : true
|
|
66
|
+
},
|
|
67
|
+
"mp-baidu" : {
|
|
68
|
+
"usingComponents" : true
|
|
69
|
+
},
|
|
70
|
+
"mp-toutiao" : {
|
|
71
|
+
"usingComponents" : true
|
|
72
|
+
},
|
|
73
|
+
"h5" : {
|
|
74
|
+
"router" : {
|
|
75
|
+
"base" : "./"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|