@aochuang/common 1.0.1 → 1.0.126
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/common/index.js +13 -0
- package/common/resizable/index.js +3 -0
- package/common/resizable/resizable.vue +260 -0
- package/common/scroll-load-more/index.js +3 -0
- package/common/scroll-load-more/scroll-load-more.vue +397 -0
- package/common/static-map/index.js +3 -0
- package/common/static-map/static-map.vue +87 -0
- package/common/tooltip/tooltip.vue +27 -7
- package/common/viewer/index.js +4 -0
- package/common/viewer/util.js +40 -0
- package/common/viewer/viewer.vue +607 -0
- package/common/viewer-pedestal/index.js +3 -0
- package/common/viewer-pedestal/viewer-pedestal.vue +70 -0
- package/common/voice/index.js +21 -0
- package/common/voice/util.js +18 -0
- package/common/voice/voice-player-aac.js +584 -0
- package/common/voice/voice-player-audio.js +159 -0
- package/common/voice/voice-player.js +309 -0
- package/common/voice/voice.vue +274 -0
- package/common/voice-player/index.js +3 -0
- package/common/voice-player/voice-player.vue +785 -0
- package/common/waterfall/index.js +3 -0
- package/common/waterfall/waterfall.vue +169 -0
- package/common/wechat-emoji/emoji/666.png +0 -0
- package/common/wechat-emoji/emoji/Emm.png +0 -0
- package/common/wechat-emoji/emoji/OK.png +0 -0
- package/common/wechat-emoji/emoji//344/272/262/344/272/262.png +0 -0
- package/common/wechat-emoji/emoji//344/276/277/344/276/277.png +0 -0
- package/common/wechat-emoji/emoji//345/201/267/347/254/221.png +0 -0
- package/common/wechat-emoji/emoji//345/202/262/346/205/242.png +0 -0
- package/common/wechat-emoji/emoji//345/206/215/350/247/201.png +0 -0
- package/common/wechat-emoji/emoji//345/207/213/350/260/242.png +0 -0
- package/common/wechat-emoji/emoji//345/210/240/351/231/244.png +0 -0
- package/common/wechat-emoji/emoji//345/212/240/346/262/271.png +0 -0
- package/common/wechat-emoji/emoji//345/213/276/345/274/225.png +0 -0
- package/common/wechat-emoji/emoji//345/217/221/345/221/206.png +0 -0
- package/common/wechat-emoji/emoji//345/217/221/346/200/222.png +0 -0
- package/common/wechat-emoji/emoji//345/217/221/346/212/226.png +0 -0
- package/common/wechat-emoji/emoji//345/217/257/346/200/234.png +0 -0
- package/common/wechat-emoji/emoji//345/217/263/345/223/274/345/223/274.png +0 -0
- package/common/wechat-emoji/emoji//345/217/271/346/260/224.png +0 -0
- package/common/wechat-emoji/emoji//345/220/203/347/223/234.png +0 -0
- package/common/wechat-emoji/emoji//345/220/210/345/215/201.png +0 -0
- package/common/wechat-emoji/emoji//345/220/220.png +0 -0
- package/common/wechat-emoji/emoji//345/220/220/350/210/214/345/244/264.png +0 -0
- package/common/wechat-emoji/emoji//345/221/262/347/211/231.png +0 -0
- package/common/wechat-emoji/emoji//345/222/222/351/252/202.png +0 -0
- package/common/wechat-emoji/emoji//345/222/226/345/225/241.png +0 -0
- package/common/wechat-emoji/emoji//345/223/207.png +0 -0
- package/common/wechat-emoji/emoji//345/223/210/346/254/240.png +0 -0
- package/common/wechat-emoji/emoji//345/225/244/351/205/222.png +0 -0
- package/common/wechat-emoji/emoji//345/230/230.png +0 -0
- package/common/wechat-emoji/emoji//345/230/264/345/224/207.png +0 -0
- package/common/wechat-emoji/emoji//345/230/277/345/223/210.png +0 -0
- package/common/wechat-emoji/emoji//345/233/247.png +0 -0
- package/common/wechat-emoji/emoji//345/233/260.png +0 -0
- package/common/wechat-emoji/emoji//345/235/217/347/254/221.png +0 -0
- package/common/wechat-emoji/emoji//345/244/247/345/223/255.png +0 -0
- package/common/wechat-emoji/emoji//345/244/251/345/225/212.png +0 -0
- package/common/wechat-emoji/emoji//345/244/252/351/230/263.png +0 -0
- package/common/wechat-emoji/emoji//345/244/261/346/234/233.png +0 -0
- package/common/wechat-emoji/emoji//345/245/213/346/226/227.png +0 -0
- package/common/wechat-emoji/emoji//345/245/270/347/254/221.png +0 -0
- package/common/wechat-emoji/emoji//345/245/275/347/232/204.png +0 -0
- package/common/wechat-emoji/emoji//345/247/224/345/261/210.png +0 -0
- package/common/wechat-emoji/emoji//345/256/263/347/276/236.png +0 -0
- package/common/wechat-emoji/emoji//345/260/264/345/260/254.png +0 -0
- package/common/wechat-emoji/emoji//345/267/246/345/223/274/345/223/274.png +0 -0
- package/common/wechat-emoji/emoji//345/272/206/347/245/235.png +0 -0
- package/common/wechat-emoji/emoji//345/274/261.png +0 -0
- package/common/wechat-emoji/emoji//345/274/272.png +0 -0
- package/common/wechat-emoji/emoji//345/276/227/346/204/217.png +0 -0
- package/common/wechat-emoji/emoji//345/276/256/347/254/221.png +0 -0
- package/common/wechat-emoji/emoji//345/277/203/347/242/216.png +0 -0
- package/common/wechat-emoji/emoji//345/277/253/345/223/255/344/272/206.png +0 -0
- package/common/wechat-emoji/emoji//346/200/204/347/201/253.png +0 -0
- package/common/wechat-emoji/emoji//346/201/220/346/203/247.png +0 -0
- package/common/wechat-emoji/emoji//346/202/240/351/227/262.png +0 -0
- package/common/wechat-emoji/emoji//346/203/212/346/201/220.png +0 -0
- package/common/wechat-emoji/emoji//346/203/212/350/256/266.png +0 -0
- package/common/wechat-emoji/emoji//346/204/211/345/277/253.png +0 -0
- package/common/wechat-emoji/emoji//346/206/250/347/254/221.png +0 -0
- package/common/wechat-emoji/emoji//346/211/223/350/204/270.png +0 -0
- package/common/wechat-emoji/emoji//346/212/223/347/213/202.png +0 -0
- package/common/wechat-emoji/emoji//346/212/240/351/274/273.png +0 -0
- package/common/wechat-emoji/emoji//346/212/261/346/213/263.png +0 -0
- package/common/wechat-emoji/emoji//346/213/245/346/212/261.png +0 -0
- package/common/wechat-emoji/emoji//346/213/263/345/244/264.png +0 -0
- package/common/wechat-emoji/emoji//346/215/202/350/204/270.png +0 -0
- package/common/wechat-emoji/emoji//346/217/241/346/211/213.png +0 -0
- package/common/wechat-emoji/emoji//346/222/207/345/230/264.png +0 -0
- package/common/wechat-emoji/emoji//346/223/246/346/261/227.png +0 -0
- package/common/wechat-emoji/emoji//346/225/262/346/211/223.png +0 -0
- package/common/wechat-emoji/emoji//346/227/240/350/257/255.png +0 -0
- package/common/wechat-emoji/emoji//346/227/272/346/237/264.png +0 -0
- package/common/wechat-emoji/emoji//346/231/225.png +0 -0
- package/common/wechat-emoji/emoji//346/234/210/344/272/256.png +0 -0
- package/common/wechat-emoji/emoji//346/234/272/346/231/272.png +0 -0
- package/common/wechat-emoji/emoji//346/261/227.png +0 -0
- package/common/wechat-emoji/emoji//346/265/201/346/261/227.png +0 -0
- package/common/wechat-emoji/emoji//346/265/201/346/263/252.png +0 -0
- package/common/wechat-emoji/emoji//347/202/270/345/274/271.png +0 -0
- package/common/wechat-emoji/emoji//347/203/237/350/212/261.png +0 -0
- package/common/wechat-emoji/emoji//347/210/206/347/253/271.png +0 -0
- package/common/wechat-emoji/emoji//347/210/261/345/277/203.png +0 -0
- package/common/wechat-emoji/emoji//347/214/252/345/244/264.png +0 -0
- package/common/wechat-emoji/emoji//347/216/253/347/221/260.png +0 -0
- package/common/wechat-emoji/emoji//347/224/237/347/227/205.png +0 -0
- package/common/wechat-emoji/emoji//347/226/221/351/227/256.png +0 -0
- package/common/wechat-emoji/emoji//347/231/274.png +0 -0
- package/common/wechat-emoji/emoji//347/231/275/347/234/274.png +0 -0
- package/common/wechat-emoji/emoji//347/232/261/347/234/211.png +0 -0
- package/common/wechat-emoji/emoji//347/235/241.png +0 -0
- package/common/wechat-emoji/emoji//347/240/264/346/266/225/344/270/272/347/254/221.png +0 -0
- package/common/wechat-emoji/emoji//347/244/274/347/211/251.png +0 -0
- package/common/wechat-emoji/emoji//347/244/276/344/274/232/347/244/276/344/274/232.png +0 -0
- package/common/wechat-emoji/emoji//347/246/217.png +0 -0
- package/common/wechat-emoji/emoji//347/254/221/350/204/270.png +0 -0
- package/common/wechat-emoji/emoji//347/272/242/345/214/205.png +0 -0
- package/common/wechat-emoji/emoji//347/277/273/347/231/275/347/234/274.png +0 -0
- package/common/wechat-emoji/emoji//350/200/266.png +0 -0
- package/common/wechat-emoji/emoji//350/203/234/345/210/251.png +0 -0
- package/common/wechat-emoji/emoji//350/204/270/347/272/242.png +0 -0
- package/common/wechat-emoji/emoji//350/211/262.png +0 -0
- package/common/wechat-emoji/emoji//350/213/246/346/266/251.png +0 -0
- package/common/wechat-emoji/emoji//350/217/234/345/210/200.png +0 -0
- package/common/wechat-emoji/emoji//350/233/213/347/263/225.png +0 -0
- package/common/wechat-emoji/emoji//350/241/260.png +0 -0
- package/common/wechat-emoji/emoji//350/243/202/345/274/200.png +0 -0
- package/common/wechat-emoji/emoji//350/245/277/347/223/234.png +0 -0
- package/common/wechat-emoji/emoji//350/256/251/346/210/221/347/234/213/347/234/213.png +0 -0
- package/common/wechat-emoji/emoji//350/260/203/347/232/256.png +0 -0
- package/common/wechat-emoji/emoji//350/267/263/350/267/263.png +0 -0
- package/common/wechat-emoji/emoji//350/275/254/345/234/210.png +0 -0
- package/common/wechat-emoji/emoji//351/204/231/350/247/206.png +0 -0
- package/common/wechat-emoji/emoji//351/227/255/345/230/264.png +0 -0
- package/common/wechat-emoji/emoji//351/230/264/351/231/251.png +0 -0
- package/common/wechat-emoji/emoji//351/232/276/350/277/207.png +0 -0
- package/common/wechat-emoji/emoji//351/252/267/351/253/205.png +0 -0
- package/common/wechat-emoji/emoji//351/254/274/350/204/270.png +0 -0
- package/common/wechat-emoji/emoji//351/270/241.png +0 -0
- package/common/wechat-emoji/emoji//351/274/223/346/216/214.png +0 -0
- package/common/wechat-emoji/index.js +14 -0
- package/common/wechat-emoji/order.json +111 -0
- package/common/wechat-emoji/utils.js +52 -0
- package/common/wechat-emoji/wechat-emoji.vue +74 -0
- package/common/wechat-emoji-select/index.js +3 -0
- package/common/wechat-emoji-select/wechat-emoji-select.vue +67 -0
- package/components/advanced-filter/advanced-filter-condition.vue +1 -1
- package/components/advanced-filter/advanced-filter.vue +6 -1
- package/components/advanced-filter/index.js +11 -12
- package/components/avatar/avatar.vue +9 -5
- package/components/button/button.vue +15 -2
- package/components/date-picker/date-picker.vue +9 -2
- package/components/dialog/dialog.vue +6 -1
- package/components/dropdown/dropdown-item.vue +10 -2
- package/components/dropdown/dropdown.vue +45 -5
- package/components/dropdown/index.js +8 -8
- package/components/empty/empty.vue +29 -2
- package/components/filter/filter.vue +1 -1
- package/components/filter/index.js +10 -10
- package/components/form/form.vue +33 -2
- package/components/form/index.js +11 -0
- package/components/grid/grid-column.vue +1 -0
- package/components/grid/grid-table.vue +6 -4
- package/components/grid/grid.vue +15 -3
- package/components/grid/index.js +31 -32
- package/components/icon/demo_index.html +2752 -1073
- package/components/icon/iconfont.css +299 -7
- package/components/icon/iconfont.js +1 -1
- package/components/icon/iconfont.json +518 -7
- package/components/icon/iconfont.ttf +0 -0
- package/components/icon/iconfont.woff +0 -0
- package/components/icon/iconfont.woff2 +0 -0
- package/components/image/image.vue +91 -13
- package/components/image/index.js +3 -1
- package/components/image/util.js +82 -1
- package/components/index.js +6 -2
- package/components/menu/index.js +13 -7
- package/components/menu/menu-group.vue +6 -1
- package/components/menu/menu-item.vue +57 -3
- package/components/menu/menu.vue +1 -1
- package/components/message/message.js +12 -9
- package/components/message-box/index.js +4 -0
- package/components/pagination/pagination.vue +11 -7
- package/components/popover/popover.vue +24 -1
- package/components/searchbox/searchbox.vue +15 -3
- package/components/select/index.js +2 -0
- package/components/select/select.vue +7 -1
- package/components/skeleton/index.js +2 -0
- package/components/sortable/index.js +7 -5
- package/components/sortable/sortable.vue +5 -0
- package/components/tabbar/index.js +9 -0
- package/components/tabbar/tabbar-item.vue +162 -0
- package/components/tabbar/tabbar.vue +49 -0
- package/components/tabs/index.js +2 -0
- package/components/tabs/tabs.vue +5 -0
- package/components/tag/index.js +4 -4
- package/components/tag/tag.less +12 -3
- package/components/textarea/textarea.vue +19 -3
- package/components/time-picker/time-picker.vue +7 -0
- package/components/toolbar/index.js +2 -0
- package/components/transfer/index.js +4 -4
- package/components/transfer/transfer-element.vue +109 -0
- package/components/transfer/transfer.vue +22 -7
- package/components/tree/tree.vue +175 -16
- package/components/video/video.vue +50 -2
- package/package.json +12 -1
- package/uni-common/more-button/more-button.vue +23 -0
- package/uni-common/popup-select/popup-select.vue +217 -0
- package/uni-common/portray/portray.vue +54 -0
- package/uni-common/refresh-view/refresh-view.vue +94 -0
- package/uni-common/scroll-load-more/scroll-load-more.vue +201 -0
- package/uni-common/tree-popup-select/index.js +3 -0
- package/uni-common/tree-popup-select/tree-popup-select-panel.vue +92 -0
- package/uni-common/tree-popup-select/tree-popup-select.vue +124 -0
- package/uni-common/tree-popup-select/util.js +19 -0
- package/uni-common/wechat-emoji/index.js +13 -0
- package/uni-common/wechat-emoji/order.json +438 -0
- package/uni-common/wechat-emoji/utils.js +52 -0
- package/uni-common/wechat-emoji/wechat-emoji.vue +74 -0
- package/uni-components/avatar/avatar.vue +81 -0
- package/uni-components/badge/badge.vue +57 -0
- package/uni-components/empty/empty.vue +27 -0
- package/uni-components/exception/exception.vue +47 -0
- package/uni-components/icon/demo.css +539 -0
- package/uni-components/icon/demo_index.html +1591 -0
- package/uni-components/icon/icon.vue +48 -0
- package/uni-components/icon/iconfont.css +259 -0
- package/uni-components/icon/iconfont.js +1 -0
- package/uni-components/icon/iconfont.json +436 -0
- package/uni-components/icon/iconfont.ttf +0 -0
- package/uni-components/icon/iconfont.woff +0 -0
- package/uni-components/icon/iconfont.woff2 +0 -0
- package/uni-components/icon/index.js +3 -0
- package/uni-components/image/image.vue +38 -0
- package/uni-components/image/index.js +3 -0
- package/uni-components/loading/index.js +3 -0
- package/uni-components/loading/loading.vue +30 -0
- package/uni-components/message/message-item.vue +29 -0
- package/uni-components/message/message.js +80 -0
- package/uni-components/message/message.vue +30 -0
- package/uni-components/message-box/message-box-item.vue +54 -0
- package/uni-components/message-box/message-box.js +91 -0
- package/uni-components/message-box/message-box.vue +52 -0
- package/uni-components/picker/picker.vue +270 -0
- package/uni-components/popup/index.js +3 -0
- package/uni-components/popup/popup.vue +143 -0
- package/uni-components/search/index.js +3 -0
- package/uni-components/search/search.vue +86 -0
- package/uni-components/skeleton/skeleton-chat.vue +85 -0
- package/uni-components/skeleton/skeleton-contact.vue +84 -0
- package/uni-components/skeleton/skeleton-detail.vue +84 -0
- package/uni-components/skeleton/skeleton.vue +32 -0
- package/uni-components/tabbar/tabbar-item.vue +33 -0
- package/uni-components/tabbar/tabbar.vue +87 -0
- package/uni-components/tree/index.js +3 -0
- package/uni-components/tree/tree-select-loading.vue +48 -0
- package/uni-components/tree/tree-select-node.vue +202 -0
- package/uni-components/tree/tree-select-store.js +520 -0
- package/uni-components/tree/tree-select.vue +210 -0
- package/uni-components/tree/utils.js +33 -0
- package/uni-components/video/index.js +3 -0
- package/uni-components/video/video.vue +29 -0
- package/uni-components/voice/index.js +3 -0
- package/uni-components/voice/voice.vue +24 -0
- package/uni-components/waterfall/index.js +3 -0
- package/uni-components/waterfall/util.js +72 -0
- package/uni-components/waterfall/waterfall.vue +147 -0
- package/utils/data.js +128 -0
- package/utils/date.js +484 -44
- package/utils/dom.js +37 -0
- package/utils/event.js +92 -0
- package/utils/file.js +76 -0
- package/utils/json.js +22 -1
- package/utils/network-detector.js +258 -0
- package/utils/oss.js +11 -0
- package/utils/share-message.js +81 -0
- package/utils/share-websocket.js +127 -0
- package/utils/string.js +59 -0
- package/utils/time-task.js +60 -0
- package/utils/url.js +46 -0
- package/utils/util.js +416 -1
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "4649601",
|
|
3
|
+
"name": "FangZhouChatMobile",
|
|
4
|
+
"font_family": "iconfont",
|
|
5
|
+
"css_prefix_text": "icon-",
|
|
6
|
+
"description": "方舟客服移动端",
|
|
7
|
+
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "24696237",
|
|
10
|
+
"name": "chat-smile-2-fill",
|
|
11
|
+
"font_class": "chat-smile-2-fill",
|
|
12
|
+
"unicode": "e7a0",
|
|
13
|
+
"unicode_decimal": 59296
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "24696240",
|
|
17
|
+
"name": "chat-smile-2-line",
|
|
18
|
+
"font_class": "chat-smile-2-line",
|
|
19
|
+
"unicode": "e79f",
|
|
20
|
+
"unicode_decimal": 59295
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "24697691",
|
|
24
|
+
"name": "star-fill",
|
|
25
|
+
"font_class": "star-fill",
|
|
26
|
+
"unicode": "ea65",
|
|
27
|
+
"unicode_decimal": 60005
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "24697697",
|
|
31
|
+
"name": "star-line",
|
|
32
|
+
"font_class": "star-line",
|
|
33
|
+
"unicode": "ea68",
|
|
34
|
+
"unicode_decimal": 60008
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "38926111",
|
|
38
|
+
"name": "取消星标",
|
|
39
|
+
"font_class": "star-cancel-line",
|
|
40
|
+
"unicode": "e6c2",
|
|
41
|
+
"unicode_decimal": 59074
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "30200508",
|
|
45
|
+
"name": "空间草图_全息空间",
|
|
46
|
+
"font_class": "space-fill",
|
|
47
|
+
"unicode": "e629",
|
|
48
|
+
"unicode_decimal": 58921
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"icon_id": "24695734",
|
|
52
|
+
"name": "calendar-2-line",
|
|
53
|
+
"font_class": "calendar-2-line",
|
|
54
|
+
"unicode": "e732",
|
|
55
|
+
"unicode_decimal": 59186
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"icon_id": "24697893",
|
|
59
|
+
"name": "user-3-line",
|
|
60
|
+
"font_class": "user-3-line",
|
|
61
|
+
"unicode": "eae7",
|
|
62
|
+
"unicode_decimal": 60135
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"icon_id": "4288154",
|
|
66
|
+
"name": "预览",
|
|
67
|
+
"font_class": "preview-line",
|
|
68
|
+
"unicode": "e637",
|
|
69
|
+
"unicode_decimal": 58935
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"icon_id": "43121613",
|
|
73
|
+
"name": "发送",
|
|
74
|
+
"font_class": "send-line",
|
|
75
|
+
"unicode": "e633",
|
|
76
|
+
"unicode_decimal": 58931
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"icon_id": "17103622",
|
|
80
|
+
"name": "folder-line",
|
|
81
|
+
"font_class": "folder-line",
|
|
82
|
+
"unicode": "e783",
|
|
83
|
+
"unicode_decimal": 59267
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"icon_id": "17103626",
|
|
87
|
+
"name": "folder-open-line",
|
|
88
|
+
"font_class": "folder-open-line",
|
|
89
|
+
"unicode": "e784",
|
|
90
|
+
"unicode_decimal": 59268
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"icon_id": "24696656",
|
|
94
|
+
"name": "file-unknow-line",
|
|
95
|
+
"font_class": "file-unknow-line",
|
|
96
|
+
"unicode": "e83b",
|
|
97
|
+
"unicode_decimal": 59451
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"icon_id": "924549",
|
|
101
|
+
"name": "text",
|
|
102
|
+
"font_class": "text1-line",
|
|
103
|
+
"unicode": "e959",
|
|
104
|
+
"unicode_decimal": 59737
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"icon_id": "17102800",
|
|
108
|
+
"name": "links-line",
|
|
109
|
+
"font_class": "links-line",
|
|
110
|
+
"unicode": "e6d7",
|
|
111
|
+
"unicode_decimal": 59095
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"icon_id": "17138425",
|
|
115
|
+
"name": "image-line",
|
|
116
|
+
"font_class": "image-line1",
|
|
117
|
+
"unicode": "e631",
|
|
118
|
+
"unicode_decimal": 58929
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"icon_id": "17138433",
|
|
122
|
+
"name": "mic-line",
|
|
123
|
+
"font_class": "mic-line1",
|
|
124
|
+
"unicode": "e639",
|
|
125
|
+
"unicode_decimal": 58937
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"icon_id": "17138461",
|
|
129
|
+
"name": "vidicon-line",
|
|
130
|
+
"font_class": "vidicon-line1",
|
|
131
|
+
"unicode": "e655",
|
|
132
|
+
"unicode_decimal": 58965
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"icon_id": "45282401",
|
|
136
|
+
"name": "At",
|
|
137
|
+
"font_class": "at-line",
|
|
138
|
+
"unicode": "e685",
|
|
139
|
+
"unicode_decimal": 59013
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"icon_id": "27172369",
|
|
143
|
+
"name": "未读",
|
|
144
|
+
"font_class": "weidu-line",
|
|
145
|
+
"unicode": "e6ba",
|
|
146
|
+
"unicode_decimal": 59066
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"icon_id": "24695835",
|
|
150
|
+
"name": "reply-fill",
|
|
151
|
+
"font_class": "reply-fill1",
|
|
152
|
+
"unicode": "e74b",
|
|
153
|
+
"unicode_decimal": 59211
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"icon_id": "24697823",
|
|
157
|
+
"name": "time-fill",
|
|
158
|
+
"font_class": "time-fill",
|
|
159
|
+
"unicode": "eabd",
|
|
160
|
+
"unicode_decimal": 60093
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"icon_id": "21053534",
|
|
164
|
+
"name": "未标题-1",
|
|
165
|
+
"font_class": "device-group-line",
|
|
166
|
+
"unicode": "e634",
|
|
167
|
+
"unicode_decimal": 58932
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"icon_id": "25914510",
|
|
171
|
+
"name": "pc同步到M",
|
|
172
|
+
"font_class": "device-transfer-line",
|
|
173
|
+
"unicode": "e743",
|
|
174
|
+
"unicode_decimal": 59203
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"icon_id": "42885492",
|
|
178
|
+
"name": "设备登录",
|
|
179
|
+
"font_class": "device-user-line",
|
|
180
|
+
"unicode": "e62d",
|
|
181
|
+
"unicode_decimal": 58925
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"icon_id": "17104454",
|
|
185
|
+
"name": "map-pin-2-fill",
|
|
186
|
+
"font_class": "map-pin-2-fill",
|
|
187
|
+
"unicode": "e7ed",
|
|
188
|
+
"unicode_decimal": 59373
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"icon_id": "17103388",
|
|
192
|
+
"name": "phone-fill",
|
|
193
|
+
"font_class": "phone-fill",
|
|
194
|
+
"unicode": "e748",
|
|
195
|
+
"unicode_decimal": 59208
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"icon_id": "17104750",
|
|
199
|
+
"name": "vidicon-fill",
|
|
200
|
+
"font_class": "vidicon-fill",
|
|
201
|
+
"unicode": "e824",
|
|
202
|
+
"unicode_decimal": 59428
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"icon_id": "17104951",
|
|
206
|
+
"name": "checkbox-circle-fill",
|
|
207
|
+
"font_class": "checkbox-circle-fill",
|
|
208
|
+
"unicode": "e848",
|
|
209
|
+
"unicode_decimal": 59464
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"icon_id": "17104959",
|
|
213
|
+
"name": "close-circle-fill",
|
|
214
|
+
"font_class": "close-circle-fill",
|
|
215
|
+
"unicode": "e84a",
|
|
216
|
+
"unicode_decimal": 59466
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"icon_id": "17105035",
|
|
220
|
+
"name": "loader-5-fill",
|
|
221
|
+
"font_class": "loader-5-fill",
|
|
222
|
+
"unicode": "e85e",
|
|
223
|
+
"unicode_decimal": 59486
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"icon_id": "6352906",
|
|
227
|
+
"name": "message",
|
|
228
|
+
"font_class": "message-line",
|
|
229
|
+
"unicode": "e738",
|
|
230
|
+
"unicode_decimal": 59192
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"icon_id": "35828024",
|
|
234
|
+
"name": "冲红异常",
|
|
235
|
+
"font_class": "exception-line",
|
|
236
|
+
"unicode": "e658",
|
|
237
|
+
"unicode_decimal": 58968
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"icon_id": "34230475",
|
|
241
|
+
"name": "免打扰",
|
|
242
|
+
"font_class": "mute-notification-line",
|
|
243
|
+
"unicode": "e73e",
|
|
244
|
+
"unicode_decimal": 59198
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"icon_id": "17104900",
|
|
248
|
+
"name": "arrow-down-circle-line",
|
|
249
|
+
"font_class": "arrow-down-circle-line",
|
|
250
|
+
"unicode": "e83d",
|
|
251
|
+
"unicode_decimal": 59453
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"icon_id": "17104675",
|
|
255
|
+
"name": "play-circle-line",
|
|
256
|
+
"font_class": "play-circle-line",
|
|
257
|
+
"unicode": "e80f",
|
|
258
|
+
"unicode_decimal": 59407
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"icon_id": "5735279",
|
|
262
|
+
"name": "工程-65",
|
|
263
|
+
"font_class": "building-line",
|
|
264
|
+
"unicode": "e74f",
|
|
265
|
+
"unicode_decimal": 59215
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"icon_id": "912286",
|
|
269
|
+
"name": "表情",
|
|
270
|
+
"font_class": "face-1-line",
|
|
271
|
+
"unicode": "e644",
|
|
272
|
+
"unicode_decimal": 58948
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"icon_id": "26847628",
|
|
276
|
+
"name": "键盘",
|
|
277
|
+
"font_class": "keyboard-1-line",
|
|
278
|
+
"unicode": "e661",
|
|
279
|
+
"unicode_decimal": 58977
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"icon_id": "26847671",
|
|
283
|
+
"name": "语音",
|
|
284
|
+
"font_class": "voice-1-line",
|
|
285
|
+
"unicode": "e66c",
|
|
286
|
+
"unicode_decimal": 58988
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"icon_id": "26847933",
|
|
290
|
+
"name": "增加",
|
|
291
|
+
"font_class": "plus-1-line",
|
|
292
|
+
"unicode": "e671",
|
|
293
|
+
"unicode_decimal": 58993
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"icon_id": "17102755",
|
|
297
|
+
"name": "attachment-line",
|
|
298
|
+
"font_class": "attachment-line",
|
|
299
|
+
"unicode": "e6cb",
|
|
300
|
+
"unicode_decimal": 59083
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"icon_id": "17102864",
|
|
304
|
+
"name": "stack-line",
|
|
305
|
+
"font_class": "stack-line",
|
|
306
|
+
"unicode": "e6ec",
|
|
307
|
+
"unicode_decimal": 59116
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"icon_id": "17103099",
|
|
311
|
+
"name": "magic-line",
|
|
312
|
+
"font_class": "magic-line",
|
|
313
|
+
"unicode": "e71b",
|
|
314
|
+
"unicode_decimal": 59163
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"icon_id": "17104627",
|
|
318
|
+
"name": "image-line",
|
|
319
|
+
"font_class": "image-line",
|
|
320
|
+
"unicode": "e807",
|
|
321
|
+
"unicode_decimal": 59399
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"icon_id": "17104631",
|
|
325
|
+
"name": "mic-line",
|
|
326
|
+
"font_class": "mic-line",
|
|
327
|
+
"unicode": "e808",
|
|
328
|
+
"unicode_decimal": 59400
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"icon_id": "17104751",
|
|
332
|
+
"name": "vidicon-line",
|
|
333
|
+
"font_class": "vidicon-line",
|
|
334
|
+
"unicode": "e823",
|
|
335
|
+
"unicode_decimal": 59427
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"icon_id": "17102854",
|
|
339
|
+
"name": "send-plane-fill",
|
|
340
|
+
"font_class": "send-plane-fill",
|
|
341
|
+
"unicode": "e6e8",
|
|
342
|
+
"unicode_decimal": 59112
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"icon_id": "17104884",
|
|
346
|
+
"name": "add-line",
|
|
347
|
+
"font_class": "add-line",
|
|
348
|
+
"unicode": "e839",
|
|
349
|
+
"unicode_decimal": 59449
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"icon_id": "17105082",
|
|
353
|
+
"name": "more-fill",
|
|
354
|
+
"font_class": "more-fill",
|
|
355
|
+
"unicode": "e869",
|
|
356
|
+
"unicode_decimal": 59497
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"icon_id": "1645750",
|
|
360
|
+
"name": "好友",
|
|
361
|
+
"font_class": "all-friend-line",
|
|
362
|
+
"unicode": "e78a",
|
|
363
|
+
"unicode_decimal": 59274
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"icon_id": "6684316",
|
|
367
|
+
"name": "邀请好友",
|
|
368
|
+
"font_class": "all-friend-fill",
|
|
369
|
+
"unicode": "e63c",
|
|
370
|
+
"unicode_decimal": 58940
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"icon_id": "17105028",
|
|
374
|
+
"name": "information-fill",
|
|
375
|
+
"font_class": "information-fill",
|
|
376
|
+
"unicode": "e85c",
|
|
377
|
+
"unicode_decimal": 59484
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"icon_id": "4735281",
|
|
381
|
+
"name": "icon_回复2-面",
|
|
382
|
+
"font_class": "reply-fill",
|
|
383
|
+
"unicode": "e63a",
|
|
384
|
+
"unicode_decimal": 58938
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"icon_id": "9209613",
|
|
388
|
+
"name": "素材",
|
|
389
|
+
"font_class": "material-fill",
|
|
390
|
+
"unicode": "e608",
|
|
391
|
+
"unicode_decimal": 58888
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"icon_id": "34222125",
|
|
395
|
+
"name": "机器人",
|
|
396
|
+
"font_class": "robot-fill",
|
|
397
|
+
"unicode": "e88d",
|
|
398
|
+
"unicode_decimal": 59533
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"icon_id": "40607418",
|
|
402
|
+
"name": "素材",
|
|
403
|
+
"font_class": "material-1-fill",
|
|
404
|
+
"unicode": "e765",
|
|
405
|
+
"unicode_decimal": 59237
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"icon_id": "77151",
|
|
409
|
+
"name": "朋友圈",
|
|
410
|
+
"font_class": "moments-fill",
|
|
411
|
+
"unicode": "e600",
|
|
412
|
+
"unicode_decimal": 58880
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"icon_id": "1727462",
|
|
416
|
+
"name": "227注册、添加好友",
|
|
417
|
+
"font_class": "add-friend-fill",
|
|
418
|
+
"unicode": "e8ca",
|
|
419
|
+
"unicode_decimal": 59594
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"icon_id": "3895778",
|
|
423
|
+
"name": "群发",
|
|
424
|
+
"font_class": "send-message-fill",
|
|
425
|
+
"unicode": "e62e",
|
|
426
|
+
"unicode_decimal": 58926
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"icon_id": "30102579",
|
|
430
|
+
"name": "打标签",
|
|
431
|
+
"font_class": "make-tag-fill",
|
|
432
|
+
"unicode": "e687",
|
|
433
|
+
"unicode_decimal": 59015
|
|
434
|
+
}
|
|
435
|
+
]
|
|
436
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<uv-image class="ui-image" :width="width" :height="height" :shape="shape" mode="widthFix" radius="3px" :src="innerSrc" @click="handleClick"></uv-image>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import { formatOssPath } from '../../utils/oss'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
name: 'UiImage',
|
|
10
|
+
props: {
|
|
11
|
+
src: {
|
|
12
|
+
type: String
|
|
13
|
+
},
|
|
14
|
+
width: {
|
|
15
|
+
type: String
|
|
16
|
+
},
|
|
17
|
+
height: {
|
|
18
|
+
type: String
|
|
19
|
+
},
|
|
20
|
+
shape: {
|
|
21
|
+
type: String
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
computed: {
|
|
25
|
+
innerSrc () {
|
|
26
|
+
return formatOssPath(this.src)
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
methods: {
|
|
30
|
+
handleClick (evt) {
|
|
31
|
+
this.$emit('click', evt)
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<style>
|
|
38
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<uv-loading-icon mode="circle" :size="innerSize"></uv-loading-icon>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
export default {
|
|
7
|
+
name: 'UiLoading',
|
|
8
|
+
props: {
|
|
9
|
+
size: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: 'small',
|
|
12
|
+
validator (value) {
|
|
13
|
+
return ['small', 'mini'].includes(value)
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
computed: {
|
|
18
|
+
innerSize () {
|
|
19
|
+
if (this.size === 'small') {
|
|
20
|
+
return 24
|
|
21
|
+
} else if (this.size === 'mini') {
|
|
22
|
+
return 14
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<style>
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<uv-notify
|
|
3
|
+
ref="notify"
|
|
4
|
+
:message="message"
|
|
5
|
+
:type="type"
|
|
6
|
+
></uv-notify>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
export default {
|
|
11
|
+
name: 'BiMessageItem',
|
|
12
|
+
props: {
|
|
13
|
+
message: {
|
|
14
|
+
type: String
|
|
15
|
+
},
|
|
16
|
+
type: {
|
|
17
|
+
type: String
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
mounted () {
|
|
21
|
+
this.$refs.notify.show({
|
|
22
|
+
top: 0.1
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<style>
|
|
29
|
+
</style>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { unique } from '../../utils/string.js'
|
|
3
|
+
|
|
4
|
+
const proxyData = Vue.observable({
|
|
5
|
+
data: []
|
|
6
|
+
})
|
|
7
|
+
|
|
8
|
+
function addMessageBox (id, options) {
|
|
9
|
+
if (proxyData.data.some(v => v.id === id)) {
|
|
10
|
+
throw new Error('[UiMessgeBoxProxy]已存在消息框实例')
|
|
11
|
+
}
|
|
12
|
+
proxyData.data.push({
|
|
13
|
+
id,
|
|
14
|
+
options
|
|
15
|
+
})
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function removeMessageBox (id) {
|
|
19
|
+
let index = -1
|
|
20
|
+
proxyData.data.some((v, i) => {
|
|
21
|
+
if (v.id === id) {
|
|
22
|
+
index = i
|
|
23
|
+
return true
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
if (index < 0) {
|
|
27
|
+
return
|
|
28
|
+
}
|
|
29
|
+
proxyData.data.splice(index, 1)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function getMessageBoxQueue () {
|
|
33
|
+
return proxyData
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function success (message) {
|
|
37
|
+
return new Promise((resolve, reject) => {
|
|
38
|
+
const id = unique()
|
|
39
|
+
addMessageBox(id, {
|
|
40
|
+
type: 'success',
|
|
41
|
+
message,
|
|
42
|
+
duration: 0
|
|
43
|
+
})
|
|
44
|
+
setTimeout(() => {
|
|
45
|
+
removeMessageBox(id)
|
|
46
|
+
resolve()
|
|
47
|
+
}, 3000)
|
|
48
|
+
})
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function error (message) {
|
|
52
|
+
return new Promise((resolve, reject) => {
|
|
53
|
+
const id = unique()
|
|
54
|
+
addMessageBox(id, {
|
|
55
|
+
type: 'error',
|
|
56
|
+
message,
|
|
57
|
+
duration: 0
|
|
58
|
+
})
|
|
59
|
+
setTimeout(() => {
|
|
60
|
+
removeMessageBox(id)
|
|
61
|
+
resolve()
|
|
62
|
+
}, 3000)
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function warning (message) {
|
|
67
|
+
return new Promise((resolve, reject) => {
|
|
68
|
+
const id = unique()
|
|
69
|
+
addMessageBox(id, {
|
|
70
|
+
type: 'warning',
|
|
71
|
+
message,
|
|
72
|
+
duration: 0
|
|
73
|
+
})
|
|
74
|
+
setTimeout(() => {
|
|
75
|
+
removeMessageBox(id)
|
|
76
|
+
resolve()
|
|
77
|
+
}, 3000)
|
|
78
|
+
})
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="bi-message">
|
|
3
|
+
<message-item
|
|
4
|
+
v-for="item in messageBoxQueue.data"
|
|
5
|
+
:key="item.id"
|
|
6
|
+
:message="item.options.message"
|
|
7
|
+
:type="item.options.type"
|
|
8
|
+
></message-item>
|
|
9
|
+
</view>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import { getMessageBoxQueue } from './message.js'
|
|
14
|
+
import MessageItem from './message-item.vue'
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
name: 'BiMessage',
|
|
18
|
+
components: {
|
|
19
|
+
MessageItem
|
|
20
|
+
},
|
|
21
|
+
computed: {
|
|
22
|
+
messageBoxQueue () {
|
|
23
|
+
return getMessageBoxQueue()
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<style>
|
|
30
|
+
</style>
|