| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
 | | /** |  |  * 注意: |  |  * 此部分内容,在vue-cli模式下,需要在vue.config.js加入如下内容才有效: |  |  * module.exports = { |  |  *     transpileDependencies: ['uview-v2'] |  |  * } |  |  */ |  |   |  | let platform = 'none' |  |   |  | // #ifdef VUE3 |  | platform = 'vue3' |  | // #endif |  |   |  | // #ifdef VUE2 |  | platform = 'vue2' |  | // #endif |  |   |  | // #ifdef APP-PLUS |  | platform = 'plus' |  | // #endif |  |   |  | // #ifdef APP-NVUE |  | platform = 'nvue' |  | // #endif |  |   |  | // #ifdef H5 |  | platform = 'h5' |  | // #endif |  |   |  | // #ifdef MP-WEIXIN |  | platform = 'weixin' |  | // #endif |  |   |  | // #ifdef MP-ALIPAY |  | platform = 'alipay' |  | // #endif |  |   |  | // #ifdef MP-BAIDU |  | platform = 'baidu' |  | // #endif |  |   |  | // #ifdef MP-TOUTIAO |  | platform = 'toutiao' |  | // #endif |  |   |  | // #ifdef MP-QQ |  | platform = 'qq' |  | // #endif |  |   |  | // #ifdef MP-KUAISHOU |  | platform = 'kuaishou' |  | // #endif |  |   |  | // #ifdef MP-360 |  | platform = '360' |  | // #endif |  |   |  | // #ifdef MP |  | platform = 'mp' |  | // #endif |  |   |  | // #ifdef QUICKAPP-WEBVIEW |  | platform = 'quickapp-webview' |  | // #endif |  |   |  | // #ifdef QUICKAPP-WEBVIEW-HUAWEI |  | platform = 'quickapp-webview-huawei' |  | // #endif |  |   |  | // #ifdef QUICKAPP-WEBVIEW-UNION |  | platform = 'quckapp-webview-union' |  | // #endif |  |   |  | export default platform | 
 |