Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
anyefeiyu
uni-app
提交
1b7bd565
U
uni-app
项目概览
anyefeiyu
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1b7bd565
编写于
4月 17, 2020
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev' into alpha
# Conflicts: # packages/uni-h5/dist/index.umd.min.js
上级
18c7e0f0
1ac62092
变更
30
显示空白变更内容
内联
并排
Showing
30 changed file
with
257 addition
and
154 deletion
+257
-154
packages/uni-app-plus/dist/index.v3.js
packages/uni-app-plus/dist/index.v3.js
+14
-7
packages/uni-app-plus/template/common/__uniappopenlocation.js
...ages/uni-app-plus/template/common/__uniappopenlocation.js
+1
-1
packages/uni-app-plus/template/common/__uniapppicker.js
packages/uni-app-plus/template/common/__uniapppicker.js
+1
-1
packages/uni-cli-shared/lib/platform.js
packages/uni-cli-shared/lib/platform.js
+2
-2
packages/uni-cli-shared/template/common/__uniappopenlocation.js
...es/uni-cli-shared/template/common/__uniappopenlocation.js
+1
-1
packages/uni-h5/dist/index.umd.min.js
packages/uni-h5/dist/index.umd.min.js
+1
-1
packages/vue-cli-plugin-uni/lib/app-plus/index.js
packages/vue-cli-plugin-uni/lib/app-plus/index.js
+8
-0
packages/vue-cli-plugin-uni/lib/env.js
packages/vue-cli-plugin-uni/lib/env.js
+6
-0
packages/vue-cli-plugin-uni/packages/@vue/component-compiler-utils/dist/parse.js
...-uni/packages/@vue/component-compiler-utils/dist/parse.js
+3
-2
packages/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js
...-plugin-uni/packages/webpack-uni-app-loader/view/style.js
+24
-0
packages/webpack-uni-pages-loader/lib/platforms/app-plus/define-pages.js
...k-uni-pages-loader/lib/platforms/app-plus/define-pages.js
+1
-1
src/core/helpers/patch.js
src/core/helpers/patch.js
+5
-4
src/core/view/components/canvas/index.vue
src/core/view/components/canvas/index.vue
+25
-25
src/core/view/components/editor/formats/image.js
src/core/view/components/editor/formats/image.js
+28
-0
src/core/view/components/editor/index.vue
src/core/view/components/editor/index.vue
+8
-2
src/core/view/components/image/index.vue
src/core/view/components/image/index.vue
+5
-8
src/core/view/components/input/index.vue
src/core/view/components/input/index.vue
+10
-7
src/core/view/components/movable-area/index.vue
src/core/view/components/movable-area/index.vue
+13
-11
src/core/view/components/picker-view/index.vue
src/core/view/components/picker-view/index.vue
+3
-1
src/core/view/components/swiper/index.vue
src/core/view/components/swiper/index.vue
+1
-18
src/core/view/components/textarea/index.vue
src/core/view/components/textarea/index.vue
+5
-2
src/core/view/mixins/base.js
src/core/view/mixins/base.js
+2
-2
src/core/view/mixins/keyboard.js
src/core/view/mixins/keyboard.js
+4
-0
src/platforms/app-plus/service/api/media/choose-image.js
src/platforms/app-plus/service/api/media/choose-image.js
+2
-1
src/platforms/app-plus/service/api/ui/popup.js
src/platforms/app-plus/service/api/ui/popup.js
+1
-1
src/platforms/app-plus/service/framework/plugins/vdom-sync.js
...platforms/app-plus/service/framework/plugins/vdom-sync.js
+5
-4
src/platforms/app-plus/view/components/map/index.vue
src/platforms/app-plus/view/components/map/index.vue
+17
-9
src/platforms/app-plus/view/framework/plugins/data.js
src/platforms/app-plus/view/framework/plugins/data.js
+2
-2
src/platforms/h5/service/api/media/choose-image.js
src/platforms/h5/service/api/media/choose-image.js
+1
-1
src/shared/util.js
src/shared/util.js
+58
-40
未找到文件。
packages/uni-app-plus/dist/index.v3.js
浏览文件 @
1b7bd565
...
...
@@ -4037,7 +4037,6 @@ var serviceContext = (function () {
var
onBluetoothAdapterStateChange
;
var
onBluetoothDeviceFound
;
var
onBLEConnectionStateChange
;
var
onBLEConnectionStateChanged
;
var
onBLECharacteristicValueChange
;
function
openBluetoothAdapter
(
data
,
callbackId
)
{
...
...
@@ -4072,7 +4071,6 @@ var serviceContext = (function () {
function
createBLEConnection
(
data
,
callbackId
)
{
onBLEConnectionStateChange
=
onBLEConnectionStateChange
||
bluetoothOn
(
'
onBLEConnectionStateChange
'
);
onBLEConnectionStateChanged
=
onBLEConnectionStateChanged
||
bluetoothOn
(
'
onBLEConnectionStateChanged
'
);
bluetoothExec
(
'
createBLEConnection
'
,
callbackId
,
data
);
}
...
...
@@ -5925,7 +5923,8 @@ var serviceContext = (function () {
const
camera
=
plus
.
camera
.
getCamera
();
camera
.
captureImage
(
e
=>
invokeChooseImage
(
callbackId
,
'
ok
'
,
sizeType
,
[
e
]),
e
=>
invokeChooseImage
(
callbackId
,
'
fail
'
,
1
),
{
filename
:
TEMP_PATH
+
'
/camera/
'
filename
:
TEMP_PATH
+
'
/camera/
'
,
resolution
:
'
high
'
});
};
const
openAlbum
=
function
(
callbackId
,
sizeType
,
count
)
{
...
...
@@ -13016,6 +13015,17 @@ var serviceContext = (function () {
};
}
/**
* mpvue event
*/
function
wrapperMPEvent
(
event
)
{
event
.
mp
=
Object
.
assign
({
'
@warning
'
:
'
mp is deprecated
'
},
event
);
event
.
_processed
=
true
;
return
event
}
const
isAndroid
=
plus
.
os
.
name
.
toLowerCase
()
===
'
android
'
;
const
FOCUS_TIMEOUT
=
isAndroid
?
300
:
700
;
const
HIDE_TIMEOUT
=
isAndroid
?
800
:
300
;
...
...
@@ -13105,10 +13115,7 @@ var serviceContext = (function () {
parseTargets
(
event
);
event
.
preventDefault
=
noop
;
event
.
stopPropagation
=
noop
;
event
.
mp
=
event
;
return
Object
.
assign
({
mp
:
event
// mpvue
},
event
)
return
wrapperMPEvent
(
event
)
}
const
handleVdData
=
{
...
...
packages/uni-app-plus/template/common/__uniappopenlocation.js
浏览文件 @
1b7bd565
!
function
(
e
){
var
t
=
{};
function
n
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
o
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
o
.
exports
,
o
,
o
.
exports
,
n
),
o
.
l
=!
0
,
o
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
n
.
d
(
a
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
41
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
o
,
i
,
r
,
s
){
var
u
,
c
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
t
&&
(
c
.
render
=
t
,
c
.
staticRenderFns
=
n
,
c
.
_compiled
=!
0
),
a
&&
(
c
.
functional
=!
0
),
i
&&
(
c
.
_scopeId
=
"
data-v-
"
+
i
),
r
?(
u
=
function
(
e
){(
e
=
e
||
this
.
$vnode
&&
this
.
$vnode
.
ssrContext
||
this
.
parent
&&
this
.
parent
.
$vnode
&&
this
.
parent
.
$vnode
.
ssrContext
)
||
"
undefined
"
==
typeof
__VUE_SSR_CONTEXT__
||
(
e
=
__VUE_SSR_CONTEXT__
),
o
&&
o
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
r
)},
c
.
_ssrRegister
=
u
):
o
&&
(
u
=
s
?
function
(){
o
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
o
),
u
)
if
(
c
.
functional
){
c
.
_injectStyles
=
u
;
var
l
=
c
.
render
;
c
.
render
=
function
(
e
,
t
){
return
u
.
call
(
t
),
l
(
e
,
t
)}}
else
{
var
f
=
c
.
beforeCreate
;
c
.
beforeCreate
=
f
?[].
concat
(
f
,
u
):[
u
]}
return
{
exports
:
e
,
options
:
c
}}
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
})},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
n
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
a
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
n
.
indexOf
(
e
))},
i
=
function
(
t
){
return
function
(){
for
(
var
n
=
arguments
.
length
,
a
=
Array
(
n
>
1
?
n
-
1
:
0
),
o
=
1
;
o
<
n
;
o
++
)
a
[
o
-
1
]
=
arguments
[
o
];
var
i
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
i
.
success
)
||
e
(
i
.
fail
)
||
e
(
i
.
complete
)?
t
.
apply
(
void
0
,[
i
].
concat
(
a
)):
new
Promise
(
function
(
e
,
n
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
i
,{
success
:
e
,
fail
:
n
})].
concat
(
a
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
(
function
(
n
){
return
t
.
resolve
(
e
()).
then
(
function
(){
return
n
})},
function
(
n
){
return
t
.
resolve
(
e
()).
then
(
function
(){
throw
n
})})}}).
then
(
function
(
e
){
return
[
null
,
e
]}).
catch
(
function
(
e
){
return
[
e
]})}},
r
=
[],
s
=
void
0
;
function
u
(
e
){
r
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
c
=
o
.
webview
.
currentWebview
().
id
,
l
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
f
(
e
){
e
.
$processed
=!
0
;
var
t
=
o
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
l
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
b
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
r
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
u
=
o
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
u
=
u
.
parent
()
||
u
;
var
c
=
e
.
show
,
f
=
e
.
hide
,
d
=
e
.
close
,
p
=
function
(){
u
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
u
.
setStyle
({
mask
:
i
});
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
f
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
d
.
apply
(
e
,
n
)}}}
function
d
(
e
){
var
t
=
o
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
f
(
t
),
t
}
l
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
c
&&
u
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
v
=
weex
.
requireModule
(
"
globalEvent
"
),
g
=
0
,
m
=
{},
y
=
"
__uniapp__service
"
;
v
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
h
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
u
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
S
&&
S
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
x
&&
x
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
C
&&
C
(
e
.
data
.
data
)});
var
h
=
function
(
e
,
t
){
var
n
=
m
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
m
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
A
=
function
(
t
){
var
n
,
a
,
o
=
t
.
id
,
i
=
t
.
type
,
r
=
t
.
params
;
m
[
o
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
r
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
o
,
type
:
i
,
params
:
r
},
y
)};
function
b
(
e
){
p
.
postMessage
(
e
,
y
)}
var
P
=
function
(
e
){
return
function
(
t
){
A
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
w
=
void
0
,
x
=
void
0
,
C
=
void
0
;
function
_
(
e
){
S
=
e
}
function
M
(
e
){
w
=
e
}
function
I
(
e
){
x
=
e
}
function
k
(
e
){
C
=
e
}
function
B
(
e
){
return
weex
.
requireModule
(
e
)}
var
O
=
weex
.
requireModule
(
"
dom
"
),
j
=
weex
.
requireModule
(
"
globalEvent
"
),
E
=
[];
function
T
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
E
.
push
(
e
))}
j
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
T
.
isUniAppReady
=!
0
,
E
.
length
&&
(
E
.
forEach
(
function
(
e
){
return
e
()}),
E
=
[]))});
var
L
=
"
function
"
==
typeof
Symbol
&&
"
symbol
"
==
typeof
Symbol
.
iterator
?
function
(
e
){
return
typeof
e
}:
function
(
e
){
return
e
&&
"
function
"
==
typeof
Symbol
&&
e
.
constructor
===
Symbol
&&
e
!==
Symbol
.
prototype
?
"
symbol
"
:
typeof
e
},
U
=
weex
.
requireModule
(
"
stream
"
),
N
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
N
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
L
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
n
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
(
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])}).
join
(
"
&
"
):
e
},
V
=
weex
.
requireModule
(
"
plusstorage
"
),
q
=
"
__TYPE
"
,
z
=
weex
.
requireModule
(
"
clipboard
"
),
F
=
function
(){
if
(
"
function
"
==
typeof
getUniEmitter
)
return
getUniEmitter
;
var
e
=
{
$on
:
function
(){
console
.
warn
(
"
uni.$on failed
"
)},
$off
:
function
(){
console
.
warn
(
"
uni.$off failed
"
)},
$once
:
function
(){
console
.
warn
(
"
uni.$once failed
"
)},
$emit
:
function
(){
console
.
warn
(
"
uni.$emit failed
"
)}};
return
function
(){
return
e
}}();
function
D
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
X
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
O
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
r
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
r
),
e
(
i
)
&&
i
(
r
)},
ready
:
T
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
o
=
t
.
header
,
i
=
t
.
method
,
r
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
v
=
{};
if
(
o
)
for
(
var
g
in
o
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
v
[
g
]
=
o
[
g
]:(
p
=!
0
,
v
[
"
Content-Type
"
]
=
o
[
g
]);
return
r
===
N
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
a
)),
U
.
fetch
({
url
:
n
,
method
:
r
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
r
!==
N
?
R
(
a
,
r
,
v
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
o
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
V
.
getItem
(
n
+
q
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
r
=
t
.
data
;
V
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
r
&&
n
?(
"
String
"
!==
r
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
);
e
(
i
)
&&
i
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
),
e
(
i
)
&&
i
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
o
=
t
.
success
,
i
=
t
.
fail
,
r
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
L
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
V
.
setItem
(
n
,
a
,
function
(
t
){
"
success
"
===
t
.
result
?
V
.
setItem
(
n
+
q
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
o
)
&&
o
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
r
)
&&
r
(
t
)})},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
V
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
i
)
&&
i
(
t
)}),
V
.
removeItem
(
n
+
q
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
);
z
.
getString
(
function
(
t
){
var
o
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
o
),
e
(
a
)
&&
a
(
o
)})},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
o
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
z
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
o
)
&&
o
(
i
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
D
(
F
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
D
(
F
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
D
(
F
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
D
(
F
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
H
=
{
os
:{
nvue
:
!
0
}},
Y
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
Y
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
b
;
if
(
"
requireNativePlugin
"
===
t
)
return
B
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
_
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
I
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
k
;
var
n
=
X
[
t
];
return
n
||
(
n
=
P
(
t
)),
a
(
t
)?
i
(
n
):
n
}}):(
Object
.
keys
(
H
).
forEach
(
function
(
e
){
Y
[
e
]
=
H
[
e
]}),
Y
.
postMessage
=
b
,
Y
.
requireNativePlugin
=
B
,
Y
.
onNavigationBarButtonTap
=
_
,
Y
.
onNavigationBarSearchInputChanged
=
M
,
Y
.
onNavigationBarSearchInputConfirmed
=
I
,
Y
.
onNavigationBarSearchInputClicked
=
k
,
Object
.
keys
({
uploadFile
:
!
0
,
downloadFile
:
!
0
,
chooseImage
:
!
0
,
previewImage
:
!
0
,
getImageInfo
:
!
0
,
saveImageToPhotosAlbum
:
!
0
,
chooseVideo
:
!
0
,
saveVideoToPhotosAlbum
:
!
0
,
saveFile
:
!
0
,
getSavedFileList
:
!
0
,
getSavedFileInfo
:
!
0
,
removeSavedFile
:
!
0
,
openDocument
:
!
0
,
setStorage
:
!
0
,
getStorage
:
!
0
,
getStorageInfo
:
!
0
,
removeStorage
:
!
0
,
clearStorage
:
!
0
,
getLocation
:
!
0
,
chooseLocation
:
!
0
,
openLocation
:
!
0
,
getSystemInfo
:
!
0
,
getNetworkType
:
!
0
,
makePhoneCall
:
!
0
,
scanCode
:
!
0
,
setScreenBrightness
:
!
0
,
getScreenBrightness
:
!
0
,
setKeepScreenOn
:
!
0
,
vibrateLong
:
!
0
,
vibrateShort
:
!
0
,
addPhoneContact
:
!
0
,
showToast
:
!
0
,
showLoading
:
!
0
,
hideToast
:
!
0
,
hideLoading
:
!
0
,
showModal
:
!
0
,
showActionSheet
:
!
0
,
setNavigationBarTitle
:
!
0
,
setNavigationBarColor
:
!
0
,
navigateTo
:
!
0
,
redirectTo
:
!
0
,
reLaunch
:
!
0
,
switchTab
:
!
0
,
navigateBack
:
!
0
,
getProvider
:
!
0
,
login
:
!
0
,
getUserInfo
:
!
0
,
share
:
!
0
,
requestPayment
:
!
0
,
subscribePush
:
!
0
,
unsubscribePush
:
!
0
,
onPush
:
!
0
,
offPush
:
!
0
}).
forEach
(
function
(
e
){
var
t
=
X
[
e
];
t
||
(
t
=
P
(
e
)),
a
(
e
)?
Y
[
e
]
=
i
(
t
):
Y
[
e
]
=
t
})),
Y
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
i
=
a
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
o
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
r
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
o
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
r
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
o
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
){
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
o
);
else
new
BroadcastChannel
(
o
).
postMessage
(
a
)}
else
{
var
i
=
e
.
webview
.
getWebviewById
(
o
);
i
&&
i
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
30
),
o
=
n
(
14
),
i
=
n
(
1
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
53d1e1f6
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
36
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
36
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
15
),
o
=
n
.
n
(
a
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
,
o
=
(
a
=
n
(
5
))
&&
a
.
__esModule
?
a
:{
default
:
a
};
weex
.
requireModule
(
"
mapSearch
"
);
var
i
=
{
mixins
:[
o
.
default
],
data
:
function
(){
return
{
longitude
:
""
,
latitude
:
""
,
markers
:[{
id
:
"
location
"
,
latitude
:
39.908692
,
longitude
:
116.397477
,
title
:
"
天安门
"
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,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
"
,
width
:
26
,
height
:
36
}],
name
:
""
,
address
:
""
}},
onLoad
:
function
(){
var
e
=
this
.
data
;
this
.
latitude
=
e
.
latitude
||
39.908692
,
this
.
longitude
=
e
.
longitude
||
116.397477
,
this
.
name
=
e
.
name
||
""
,
this
.
address
=
e
.
address
||
""
},
onReady
:
function
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
updateMarker
()},
methods
:{
goto
:
function
(){
var
t
=
"
iOS
"
===
weex
.
config
.
env
.
platform
;
!
function
(
t
,
n
,
a
,
o
){
var
i
=
[{
title
:
"
腾讯地图网页版
"
,
getUrl
:
function
(){
return
"
https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}],
r
=
[];[{
title
:
"
高德地图
"
,
pname
:
"
com.autonavi.minimap
"
,
action
:
o
?
"
iosamap://
"
:
"
amapuri://
"
,
getUrl
:
function
(){
var
e
;
return
e
=
o
?
"
iosamap://path
"
:
"
amapuri://route/plan/
"
,
e
+=
"
?sourceApplication=APP&dname=
"
+
encodeURIComponent
(
a
)
+
"
&dlat=
"
+
t
+
"
&dlon=
"
+
n
+
"
&dev=0
"
}},{
title
:
"
百度地图
"
,
pname
:
"
com.baidu.BaiduMap
"
,
action
:
"
baidumap://
"
,
getUrl
:
function
(){
return
"
baidumap://map/direction?destination=
"
+
encodeURIComponent
(
"
latlng:
"
+
t
+
"
,
"
+
n
+
"
|name:
"
+
a
)
+
"
&mode=driving&src=APP&coord_type=gcj02
"
}},{
title
:
"
腾讯地图
"
,
pname
:
"
com.tencent.map
"
,
action
:
"
qqmap://
"
,
getUrl
:
function
(){
return
"
qqmap://map/routeplan?type=drive
"
+
(
o
?
"
&from=
"
+
encodeURIComponent
(
"
我的位置
"
):
""
)
+
"
&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}].
forEach
(
function
(
t
){
e
.
runtime
.
isApplicationExist
({
pname
:
t
.
pname
,
action
:
t
.
action
})
&&
r
.
push
(
t
)}),
o
&&
r
.
unshift
({
title
:
"
Apple 地图
"
,
getUrl
:
function
(){
return
"
https://maps.apple.com/?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)}}),
0
===
r
.
length
&&
(
r
=
r
.
concat
(
i
)),
e
.
nativeUI
.
actionSheet
({
title
:
"
导航方式
"
,
cancel
:
"
取消
"
,
buttons
:
r
},
function
(
t
){
var
n
,
a
=
t
.
index
;
a
>
0
&&
(
n
=
r
[
a
-
1
],
e
.
runtime
.
openURL
(
n
.
getUrl
(),
function
(){},
n
.
pname
))})}(
this
.
latitude
,
this
.
longitude
,
this
.
name
,
t
)},
updateMarker
:
function
(){
this
.
mapContext
.
moveToLocation
(),
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
duration
:
0
},
function
(
e
){})}}};
t
.
default
=
i
}).
call
(
this
,
n
(
2
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
},
"
flex-r
"
:{
flexDirection
:
"
row
"
,
flexWrap
:
"
nowrap
"
},
"
flex-c
"
:{
flexDirection
:
"
column
"
,
flexWrap
:
"
nowrap
"
},
"
flex-fill
"
:{
flex
:
1
},
"
a-i-c
"
:{
alignItems
:
"
center
"
},
"
j-c-c
"
:{
justifyContent
:
"
center
"
},
target
:{
paddingTop
:
"
10
"
,
paddingBottom
:
"
10
"
},
"
text-area
"
:{
paddingLeft
:
"
10
"
,
paddingRight
:
"
10
"
,
flex
:
1
},
name
:{
fontSize
:
"
16
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
},
address
:{
fontSize
:
"
14
"
,
color
:
"
#808080
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
,
marginTop
:
"
2
"
},
"
goto-area
"
:{
paddingTop
:
0
,
paddingRight
:
"
15
"
,
paddingBottom
:
0
,
paddingLeft
:
"
15
"
},
"
goto-icon
"
:{
width
:
"
50
"
,
height
:
"
50
"
},
"
goto-text
"
:{
fontSize
:
"
14
"
,
color
:
"
#FFFFFF
"
}}},,,,,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
,
"
flex-c
"
]},[
n
(
"
map
"
,{
ref
:
"
map1
"
,
staticClass
:[
"
flex-fill
"
,
"
map
"
],
attrs
:{
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
,
markers
:
e
.
markers
}}),
n
(
"
view
"
,{
staticClass
:[
"
flex-r
"
,
"
a-i-c
"
,
"
target
"
]},[
n
(
"
view
"
,{
staticClass
:[
"
text-area
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
name
"
]},[
e
.
_v
(
e
.
_s
(
e
.
name
))]),
n
(
"
u-text
"
,{
staticClass
:[
"
address
"
]},[
e
.
_v
(
e
.
_s
(
e
.
address
))])]),
n
(
"
view
"
,{
staticClass
:[
"
goto-area
"
],
on
:{
click
:
e
.
goto
}},[
n
(
"
u-image
"
,{
staticClass
:[
"
goto-icon
"
],
attrs
:{
src
:
"
data:image/png;base64,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
"
}})],
1
)])],
1
)])},
o
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
16
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
o
.
a
},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
7
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniappopenlocation
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)}]);
\ No newline at end of file
!
function
(
e
){
var
t
=
{};
function
n
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
o
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
o
.
exports
,
o
,
o
.
exports
,
n
),
o
.
l
=!
0
,
o
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
n
.
d
(
a
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
42
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
o
,
i
,
r
,
s
,
u
,
c
){
var
l
,
f
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
u
){
f
.
components
||
(
f
.
components
=
{});
var
d
=
Object
.
prototype
.
hasOwnProperty
;
for
(
var
p
in
u
)
d
.
call
(
u
,
p
)
&&!
d
.
call
(
f
.
components
,
p
)
&&
(
f
.
components
[
p
]
=
u
[
p
])}
if
(
c
&&
((
c
.
beforeCreate
||
(
c
.
beforeCreate
=
[])).
unshift
((
function
(){
this
[
c
.
__module
]
=
this
})),(
f
.
mixins
||
(
f
.
mixins
=
[])).
push
(
c
)),
t
&&
(
f
.
render
=
t
,
f
.
staticRenderFns
=
n
,
f
.
_compiled
=!
0
),
a
&&
(
f
.
functional
=!
0
),
i
&&
(
f
.
_scopeId
=
"
data-v-
"
+
i
),
r
?(
l
=
function
(
e
){(
e
=
e
||
this
.
$vnode
&&
this
.
$vnode
.
ssrContext
||
this
.
parent
&&
this
.
parent
.
$vnode
&&
this
.
parent
.
$vnode
.
ssrContext
)
||
"
undefined
"
==
typeof
__VUE_SSR_CONTEXT__
||
(
e
=
__VUE_SSR_CONTEXT__
),
o
&&
o
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
r
)},
f
.
_ssrRegister
=
l
):
o
&&
(
l
=
s
?
function
(){
o
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
o
),
l
)
if
(
f
.
functional
){
f
.
_injectStyles
=
l
;
var
v
=
f
.
render
;
f
.
render
=
function
(
e
,
t
){
return
l
.
call
(
t
),
v
(
e
,
t
)}}
else
{
var
g
=
f
.
beforeCreate
;
f
.
beforeCreate
=
g
?[].
concat
(
g
,
l
):[
l
]}
return
{
exports
:
e
,
options
:
f
}}
n
.
d
(
t
,
"
a
"
,(
function
(){
return
a
}))},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
function
(
e
){
return
e
.
then
((
function
(
e
){
return
[
null
,
e
]})).
catch
((
function
(
e
){
return
[
e
]}))},
n
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
a
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
i
=
function
(
e
){
return
(
!
n
.
test
(
e
)
||
"
createBLEConnection
"
===
e
)
&&!~
a
.
indexOf
(
e
)},
r
=
function
(
n
){
return
function
(){
for
(
var
a
=
arguments
.
length
,
o
=
Array
(
a
>
1
?
a
-
1
:
0
),
i
=
1
;
i
<
a
;
i
++
)
o
[
i
-
1
]
=
arguments
[
i
];
var
r
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
r
.
success
)
||
e
(
r
.
fail
)
||
e
(
r
.
complete
)?
n
.
apply
(
void
0
,[
r
].
concat
(
o
)):
t
(
new
Promise
((
function
(
e
,
t
){
n
.
apply
(
void
0
,[
Object
.
assign
({},
r
,{
success
:
e
,
fail
:
t
})].
concat
(
o
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
((
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
return
n
}))}),(
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
throw
n
}))}))}})))}},
s
=
[],
u
=
void
0
;
function
c
(
e
){
s
.
forEach
((
function
(
t
){
return
t
({
origin
:
u
,
data
:
e
})}))}
var
l
=
o
.
webview
.
currentWebview
().
id
,
f
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
d
(
e
){
var
t
=
o
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
function
(
e
){
e
.
$processed
=!
0
;
var
t
=
o
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
f
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
A
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
s
.
push
(
e
)},
e
.
__uniapp_mask_id
){
u
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
r
=
o
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
r
=
r
.
parent
()
||
r
;
var
c
=
e
.
show
,
l
=
e
.
hide
,
d
=
e
.
close
,
p
=
function
(){
r
.
setStyle
({
mask
:
i
})},
v
=
function
(){
r
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
v
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
l
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
v
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
d
.
apply
(
e
,
n
)}}}(
t
),
t
}
f
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
l
&&
c
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
v
=
weex
.
requireModule
(
"
globalEvent
"
),
g
=
0
,
m
=
{};
v
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
y
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
c
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
P
&&
P
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
S
&&
S
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
_
&&
_
(
e
.
data
.
data
)}));
var
y
=
function
(
e
,
t
){
var
n
=
m
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
m
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
h
=
function
(
t
){
var
n
,
a
,
o
=
t
.
id
,
i
=
t
.
type
,
r
=
t
.
params
;
m
[
o
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
r
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
o
,
type
:
i
,
params
:
r
},
"
__uniapp__service
"
)};
function
A
(
e
){
p
.
postMessage
(
e
,
"
__uniapp__service
"
)}
var
b
=
function
(
e
){
return
function
(
t
){
h
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
P
=
void
0
,
S
=
void
0
,
w
=
void
0
,
_
=
void
0
;
function
x
(
e
){
P
=
e
}
function
C
(
e
){
S
=
e
}
function
M
(
e
){
w
=
e
}
function
I
(
e
){
_
=
e
}
function
k
(
e
){
return
weex
.
requireModule
(
e
)}
var
B
=
weex
.
requireModule
(
"
dom
"
),
E
=
weex
.
requireModule
(
"
globalEvent
"
),
O
=
[];
function
T
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
O
.
push
(
e
))}
E
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
T
.
isUniAppReady
=!
0
,
O
.
length
&&
(
O
.
forEach
((
function
(
e
){
return
e
()})),
O
=
[]))}));
var
j
=
"
function
"
==
typeof
Symbol
&&
"
symbol
"
==
typeof
Symbol
.
iterator
?
function
(
e
){
return
typeof
e
}:
function
(
e
){
return
e
&&
"
function
"
==
typeof
Symbol
&&
e
.
constructor
===
Symbol
&&
e
!==
Symbol
.
prototype
?
"
symbol
"
:
typeof
e
},
L
=
weex
.
requireModule
(
"
stream
"
),
U
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"
GET
"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
j
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
n
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
((
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])})).
join
(
"
&
"
):
e
},
N
=
weex
.
requireModule
(
"
plusstorage
"
),
R
=
weex
.
requireModule
(
"
clipboard
"
),
V
=
function
(){
if
(
"
function
"
==
typeof
getUniEmitter
)
return
getUniEmitter
;
var
e
=
{
$on
:
function
(){
console
.
warn
(
"
uni.$on failed
"
)},
$off
:
function
(){
console
.
warn
(
"
uni.$off failed
"
)},
$once
:
function
(){
console
.
warn
(
"
uni.$once failed
"
)},
$emit
:
function
(){
console
.
warn
(
"
uni.$emit failed
"
)}};
return
function
(){
return
e
}}();
function
q
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
z
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
B
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
r
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
r
),
e
(
i
)
&&
i
(
r
)},
ready
:
T
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
o
=
t
.
header
,
i
=
t
.
method
,
r
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
v
=
{};
if
(
o
)
for
(
var
g
in
o
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
v
[
g
]
=
o
[
g
]:(
p
=!
0
,
v
[
"
Content-Type
"
]
=
o
[
g
]);
return
"
GET
"
===
r
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
U
(
a
)),
L
.
fetch
({
url
:
n
,
method
:
r
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
"
GET
"
!==
r
?
U
(
a
,
r
,
v
[
"
Content-Type
"
]):
""
},(
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
o
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)})),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
N
.
getItem
(
n
+
"
__TYPE
"
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
r
=
t
.
data
;
N
.
getItem
(
n
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
r
&&
n
?(
"
String
"
!==
r
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
);
e
(
i
)
&&
i
(
t
)}))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
),
e
(
i
)
&&
i
(
t
)}))},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
o
=
t
.
success
,
i
=
t
.
fail
,
r
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
j
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
N
.
setItem
(
n
,
a
,(
function
(
t
){
"
success
"
===
t
.
result
?
N
.
setItem
(
n
+
"
__TYPE
"
,
s
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
o
)
&&
o
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
r
)
&&
r
(
t
)}))},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
N
.
removeItem
(
n
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
i
)
&&
i
(
t
)})),
N
.
removeItem
(
n
+
"
__TYPE
"
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
);
R
.
getString
((
function
(
t
){
var
o
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
o
),
e
(
a
)
&&
a
(
o
)}))},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
o
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
R
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
o
)
&&
o
(
i
)},
onSubNVueMessage
:
c
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
q
(
V
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
q
(
V
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
q
(
V
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
q
(
V
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
F
=
{
os
:{
nvue
:
!
0
}},
D
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
D
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
A
;
if
(
"
requireNativePlugin
"
===
t
)
return
k
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
x
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
C
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
I
;
var
n
=
z
[
t
];
return
n
||
(
n
=
b
(
t
)),
i
(
t
)?
r
(
n
):
n
}}):(
Object
.
keys
(
F
).
forEach
((
function
(
e
){
D
[
e
]
=
F
[
e
]})),
D
.
postMessage
=
A
,
D
.
requireNativePlugin
=
k
,
D
.
onNavigationBarButtonTap
=
x
,
D
.
onNavigationBarSearchInputChanged
=
C
,
D
.
onNavigationBarSearchInputConfirmed
=
M
,
D
.
onNavigationBarSearchInputClicked
=
I
,
Object
.
keys
({
uploadFile
:
!
0
,
downloadFile
:
!
0
,
chooseImage
:
!
0
,
previewImage
:
!
0
,
getImageInfo
:
!
0
,
saveImageToPhotosAlbum
:
!
0
,
chooseVideo
:
!
0
,
saveVideoToPhotosAlbum
:
!
0
,
saveFile
:
!
0
,
getSavedFileList
:
!
0
,
getSavedFileInfo
:
!
0
,
removeSavedFile
:
!
0
,
openDocument
:
!
0
,
setStorage
:
!
0
,
getStorage
:
!
0
,
getStorageInfo
:
!
0
,
removeStorage
:
!
0
,
clearStorage
:
!
0
,
getLocation
:
!
0
,
chooseLocation
:
!
0
,
openLocation
:
!
0
,
getSystemInfo
:
!
0
,
getNetworkType
:
!
0
,
makePhoneCall
:
!
0
,
scanCode
:
!
0
,
setScreenBrightness
:
!
0
,
getScreenBrightness
:
!
0
,
setKeepScreenOn
:
!
0
,
vibrateLong
:
!
0
,
vibrateShort
:
!
0
,
addPhoneContact
:
!
0
,
showToast
:
!
0
,
showLoading
:
!
0
,
hideToast
:
!
0
,
hideLoading
:
!
0
,
showModal
:
!
0
,
showActionSheet
:
!
0
,
setNavigationBarTitle
:
!
0
,
setNavigationBarColor
:
!
0
,
navigateTo
:
!
0
,
redirectTo
:
!
0
,
reLaunch
:
!
0
,
switchTab
:
!
0
,
navigateBack
:
!
0
,
getProvider
:
!
0
,
login
:
!
0
,
getUserInfo
:
!
0
,
share
:
!
0
,
requestPayment
:
!
0
,
subscribePush
:
!
0
,
unsubscribePush
:
!
0
,
onPush
:
!
0
,
offPush
:
!
0
}).
forEach
((
function
(
e
){
var
t
=
z
[
e
];
t
||
(
t
=
b
(
e
)),
i
(
e
)?
D
[
e
]
=
r
(
t
):
D
[
e
]
=
t
}))),
D
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
i
=
a
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
this
.
initMessage
()},
methods
:{
initMessage
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
o
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
r
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
o
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
r
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,(
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)}));
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
o
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
)
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
o
);
else
{
var
i
=
new
BroadcastChannel
(
o
);
i
.
postMessage
(
a
)}
else
{
var
r
=
e
.
webview
.
getWebviewById
(
o
);
r
&&
r
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
29
),
o
=
n
(
14
),
i
=
n
(
1
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
a
.
b
,
a
.
c
,
!
1
,
null
,
null
,
"
6a1c7a00
"
,
!
1
,
a
.
a
,
void
0
);(
function
(
e
){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
37
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
37
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
15
),
o
=
n
.
n
(
a
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
,
o
=
(
a
=
n
(
5
))
&&
a
.
__esModule
?
a
:{
default
:
a
};
weex
.
requireModule
(
"
mapSearch
"
);
var
i
=
{
mixins
:[
o
.
default
],
data
:
function
(){
return
{
longitude
:
""
,
latitude
:
""
,
markers
:[],
name
:
""
,
address
:
""
}},
onLoad
:
function
(){
var
e
=
this
.
data
;
this
.
latitude
=
e
.
latitude
,
this
.
longitude
=
e
.
longitude
,
this
.
name
=
e
.
name
||
""
,
this
.
address
=
e
.
address
||
""
},
onReady
:
function
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
markers
=
[{
id
:
"
location
"
,
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
,
title
:
this
.
name
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,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
"
,
width
:
26
,
height
:
36
}],
this
.
updateMarker
()},
methods
:{
goto
:
function
(){
var
t
=
"
iOS
"
===
weex
.
config
.
env
.
platform
;
!
function
(
t
,
n
,
a
,
o
){
var
i
=
[{
title
:
"
腾讯地图网页版
"
,
getUrl
:
function
(){
return
"
https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}],
r
=
[];[{
title
:
"
高德地图
"
,
pname
:
"
com.autonavi.minimap
"
,
action
:
o
?
"
iosamap://
"
:
"
amapuri://
"
,
getUrl
:
function
(){
var
e
;
return
e
=
o
?
"
iosamap://path
"
:
"
amapuri://route/plan/
"
,
e
+=
"
?sourceApplication=APP&dname=
"
+
encodeURIComponent
(
a
)
+
"
&dlat=
"
+
t
+
"
&dlon=
"
+
n
+
"
&dev=0
"
}},{
title
:
"
百度地图
"
,
pname
:
"
com.baidu.BaiduMap
"
,
action
:
"
baidumap://
"
,
getUrl
:
function
(){
return
"
baidumap://map/direction?destination=
"
+
encodeURIComponent
(
"
latlng:
"
+
t
+
"
,
"
+
n
+
"
|name:
"
+
a
)
+
"
&mode=driving&src=APP&coord_type=gcj02
"
}},{
title
:
"
腾讯地图
"
,
pname
:
"
com.tencent.map
"
,
action
:
"
qqmap://
"
,
getUrl
:
function
(){
return
"
qqmap://map/routeplan?type=drive
"
+
(
o
?
"
&from=
"
+
encodeURIComponent
(
"
我的位置
"
):
""
)
+
"
&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}].
forEach
((
function
(
t
){
e
.
runtime
.
isApplicationExist
({
pname
:
t
.
pname
,
action
:
t
.
action
})
&&
r
.
push
(
t
)})),
o
&&
r
.
unshift
({
title
:
"
Apple 地图
"
,
getUrl
:
function
(){
return
"
https://maps.apple.com/?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)}}),
0
===
r
.
length
&&
(
r
=
r
.
concat
(
i
)),
e
.
nativeUI
.
actionSheet
({
title
:
"
导航方式
"
,
cancel
:
"
取消
"
,
buttons
:
r
},(
function
(
t
){
var
n
,
a
=
t
.
index
;
a
>
0
&&
(
n
=
r
[
a
-
1
],
e
.
runtime
.
openURL
(
n
.
getUrl
(),(
function
(){}),
n
.
pname
))}))}(
this
.
latitude
,
this
.
longitude
,
this
.
name
,
t
)},
updateMarker
:
function
(){
this
.
mapContext
.
moveToLocation
(),
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
duration
:
0
},(
function
(
e
){}))}}};
t
.
default
=
i
}).
call
(
this
,
n
(
2
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
},
"
flex-r
"
:{
flexDirection
:
"
row
"
,
flexWrap
:
"
nowrap
"
},
"
flex-c
"
:{
flexDirection
:
"
column
"
,
flexWrap
:
"
nowrap
"
},
"
flex-fill
"
:{
flex
:
1
},
"
a-i-c
"
:{
alignItems
:
"
center
"
},
"
j-c-c
"
:{
justifyContent
:
"
center
"
},
target
:{
paddingTop
:
"
10
"
,
paddingBottom
:
"
10
"
},
"
text-area
"
:{
paddingLeft
:
"
10
"
,
paddingRight
:
"
10
"
,
flex
:
1
},
name
:{
fontSize
:
"
16
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
},
address
:{
fontSize
:
"
14
"
,
color
:
"
#808080
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
,
marginTop
:
"
2
"
},
"
goto-area
"
:{
paddingTop
:
0
,
paddingRight
:
"
15
"
,
paddingBottom
:
0
,
paddingLeft
:
"
15
"
},
"
goto-icon
"
:{
width
:
"
50
"
,
height
:
"
50
"
},
"
goto-text
"
:{
fontSize
:
"
14
"
,
color
:
"
#FFFFFF
"
}}},,,,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
,
"
flex-c
"
]},[
n
(
"
map
"
,{
ref
:
"
map1
"
,
staticClass
:[
"
flex-fill
"
,
"
map
"
],
attrs
:{
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
,
markers
:
e
.
markers
}}),
n
(
"
view
"
,{
staticClass
:[
"
flex-r
"
,
"
a-i-c
"
,
"
target
"
]},[
n
(
"
view
"
,{
staticClass
:[
"
text-area
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
name
"
]},[
e
.
_v
(
e
.
_s
(
e
.
name
))]),
n
(
"
u-text
"
,{
staticClass
:[
"
address
"
]},[
e
.
_v
(
e
.
_s
(
e
.
address
))])]),
n
(
"
view
"
,{
staticClass
:[
"
goto-area
"
],
on
:{
click
:
e
.
goto
}},[
n
(
"
u-image
"
,{
staticClass
:[
"
goto-icon
"
],
attrs
:{
src
:
"
data:image/png;base64,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
"
}})],
1
)])],
1
)])},
o
=
[];
n
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}))},,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
16
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
o
.
a
},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
7
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniappopenlocation
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)}]);
\ No newline at end of file
packages/uni-app-plus/template/common/__uniapppicker.js
浏览文件 @
1b7bd565
!
function
(
e
){
var
t
=
{};
function
n
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
r
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
r
.
exports
,
r
,
r
.
exports
,
n
),
r
.
l
=!
0
,
r
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
r
in
e
)
n
.
d
(
a
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
44
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
r
,
i
,
o
,
s
,
u
,
c
){
var
l
,
f
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
u
){
f
.
components
||
(
f
.
components
=
{});
var
d
=
Object
.
prototype
.
hasOwnProperty
;
for
(
var
p
in
u
)
d
.
call
(
u
,
p
)
&&!
d
.
call
(
f
.
components
,
p
)
&&
(
f
.
components
[
p
]
=
u
[
p
])}
if
(
c
&&
((
c
.
beforeCreate
||
(
c
.
beforeCreate
=
[])).
unshift
((
function
(){
this
[
c
.
__module
]
=
this
})),(
f
.
mixins
||
(
f
.
mixins
=
[])).
push
(
c
)),
t
&&
(
f
.
render
=
t
,
f
.
staticRenderFns
=
n
,
f
.
_compiled
=!
0
),
a
&&
(
f
.
functional
=!
0
),
i
&&
(
f
.
_scopeId
=
"
data-v-
"
+
i
),
o
?(
l
=
function
(
e
){(
e
=
e
||
this
.
$vnode
&&
this
.
$vnode
.
ssrContext
||
this
.
parent
&&
this
.
parent
.
$vnode
&&
this
.
parent
.
$vnode
.
ssrContext
)
||
"
undefined
"
==
typeof
__VUE_SSR_CONTEXT__
||
(
e
=
__VUE_SSR_CONTEXT__
),
r
&&
r
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
o
)},
f
.
_ssrRegister
=
l
):
r
&&
(
l
=
s
?
function
(){
r
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
r
),
l
)
if
(
f
.
functional
){
f
.
_injectStyles
=
l
;
var
h
=
f
.
render
;
f
.
render
=
function
(
e
,
t
){
return
l
.
call
(
t
),
h
(
e
,
t
)}}
else
{
var
v
=
f
.
beforeCreate
;
f
.
beforeCreate
=
v
?[].
concat
(
v
,
l
):[
l
]}
return
{
exports
:
e
,
options
:
f
}}
n
.
d
(
t
,
"
a
"
,(
function
(){
return
a
}))},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
function
(
e
){
return
e
.
then
((
function
(
e
){
return
[
null
,
e
]})).
catch
((
function
(
e
){
return
[
e
]}))},
n
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
a
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
i
=
function
(
e
){
return
(
!
n
.
test
(
e
)
||
"
createBLEConnection
"
===
e
)
&&!~
a
.
indexOf
(
e
)},
o
=
function
(
n
){
return
function
(){
for
(
var
a
=
arguments
.
length
,
r
=
Array
(
a
>
1
?
a
-
1
:
0
),
i
=
1
;
i
<
a
;
i
++
)
r
[
i
-
1
]
=
arguments
[
i
];
var
o
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
o
.
success
)
||
e
(
o
.
fail
)
||
e
(
o
.
complete
)?
n
.
apply
(
void
0
,[
o
].
concat
(
r
)):
t
(
new
Promise
((
function
(
e
,
t
){
n
.
apply
(
void
0
,[
Object
.
assign
({},
o
,{
success
:
e
,
fail
:
t
})].
concat
(
r
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
((
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
return
n
}))}),(
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
throw
n
}))}))}})))}},
s
=
[],
u
=
void
0
;
function
c
(
e
){
s
.
forEach
((
function
(
t
){
return
t
({
origin
:
u
,
data
:
e
})}))}
var
l
=
r
.
webview
.
currentWebview
().
id
,
f
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
d
(
e
){
var
t
=
r
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
function
(
e
){
e
.
$processed
=!
0
;
var
t
=
r
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
f
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
_
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
s
.
push
(
e
)},
e
.
__uniapp_mask_id
){
u
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
o
=
r
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
o
=
o
.
parent
()
||
o
;
var
c
=
e
.
show
,
l
=
e
.
hide
,
d
=
e
.
close
,
p
=
function
(){
o
.
setStyle
({
mask
:
i
})},
h
=
function
(){
o
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
h
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
l
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
h
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
d
.
apply
(
e
,
n
)}}}(
t
),
t
}
f
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
l
&&
c
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
h
=
weex
.
requireModule
(
"
globalEvent
"
),
v
=
0
,
g
=
{};
h
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
y
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
c
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
S
&&
S
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
T
&&
T
(
e
.
data
.
data
)}));
var
y
=
function
(
e
,
t
){
var
n
=
g
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
g
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
m
=
function
(
t
){
var
n
,
a
,
r
=
t
.
id
,
i
=
t
.
type
,
o
=
t
.
params
;
g
[
r
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
o
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
r
,
type
:
i
,
params
:
o
},
"
__uniapp__service
"
)};
function
_
(
e
){
p
.
postMessage
(
e
,
"
__uniapp__service
"
)}
var
b
=
function
(
e
){
return
function
(
t
){
m
({
id
:
v
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
w
=
void
0
,
A
=
void
0
,
T
=
void
0
;
function
k
(
e
){
S
=
e
}
function
M
(
e
){
w
=
e
}
function
E
(
e
){
A
=
e
}
function
x
(
e
){
T
=
e
}
function
C
(
e
){
return
weex
.
requireModule
(
e
)}
var
I
=
weex
.
requireModule
(
"
dom
"
),
O
=
weex
.
requireModule
(
"
globalEvent
"
),
V
=
[];
function
N
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
V
.
push
(
e
))}
O
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
N
.
isUniAppReady
=!
0
,
V
.
length
&&
(
V
.
forEach
((
function
(
e
){
return
e
()})),
V
=
[]))}));
var
L
=
"
function
"
==
typeof
Symbol
&&
"
symbol
"
==
typeof
Symbol
.
iterator
?
function
(
e
){
return
typeof
e
}:
function
(
e
){
return
e
&&
"
function
"
==
typeof
Symbol
&&
e
.
constructor
===
Symbol
&&
e
!==
Symbol
.
prototype
?
"
symbol
"
:
typeof
e
},
P
=
weex
.
requireModule
(
"
stream
"
),
D
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"
GET
"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
L
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
n
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
((
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])})).
join
(
"
&
"
):
e
},
$
=
weex
.
requireModule
(
"
plusstorage
"
),
j
=
weex
.
requireModule
(
"
clipboard
"
),
B
=
function
(){
if
(
"
function
"
==
typeof
getUniEmitter
)
return
getUniEmitter
;
var
e
=
{
$on
:
function
(){
console
.
warn
(
"
uni.$on failed
"
)},
$off
:
function
(){
console
.
warn
(
"
uni.$off failed
"
)},
$once
:
function
(){
console
.
warn
(
"
uni.$once failed
"
)},
$emit
:
function
(){
console
.
warn
(
"
uni.$emit failed
"
)}};
return
function
(){
return
e
}}();
function
R
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
U
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
r
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
I
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
o
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
r
)
&&
r
(
o
),
e
(
i
)
&&
i
(
o
)},
ready
:
N
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
r
=
t
.
header
,
i
=
t
.
method
,
o
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
h
=
{};
if
(
r
)
for
(
var
v
in
r
)
p
||
"
content-type
"
!==
v
.
toLowerCase
()?
h
[
v
]
=
r
[
v
]:(
p
=!
0
,
h
[
"
Content-Type
"
]
=
r
[
v
]);
return
"
GET
"
===
o
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
D
(
a
)),
P
.
fetch
({
url
:
n
,
method
:
o
,
headers
:
h
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
"
GET
"
!==
o
?
D
(
a
,
o
,
h
[
"
Content-Type
"
]):
""
},(
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
r
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
r
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)})),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
r
=
t
.
fail
,
i
=
t
.
complete
;
$
.
getItem
(
n
+
"
__TYPE
"
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
o
=
t
.
data
;
$
.
getItem
(
n
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
o
&&
n
?(
"
String
"
!==
o
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
);
e
(
i
)
&&
i
(
t
)}))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
),
e
(
i
)
&&
i
(
t
)}))},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
r
=
t
.
success
,
i
=
t
.
fail
,
o
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
L
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
$
.
setItem
(
n
,
a
,(
function
(
t
){
"
success
"
===
t
.
result
?
$
.
setItem
(
n
+
"
__TYPE
"
,
s
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
r
)
&&
r
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
o
)
&&
o
(
t
)}))},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
r
=
t
.
fail
,
i
=
t
.
complete
;
$
.
removeItem
(
n
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
r
)
&&
r
(
t
)),
e
(
i
)
&&
i
(
t
)})),
$
.
removeItem
(
n
+
"
__TYPE
"
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
);
j
.
getString
((
function
(
t
){
var
r
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
r
),
e
(
a
)
&&
a
(
r
)}))},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
r
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
j
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
r
)
&&
r
(
i
)},
onSubNVueMessage
:
c
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
r
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
R
(
B
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
R
(
B
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
R
(
B
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
R
(
B
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
Y
=
{
os
:{
nvue
:
!
0
}},
z
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
z
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
_
;
if
(
"
requireNativePlugin
"
===
t
)
return
C
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
k
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
E
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
x
;
var
n
=
U
[
t
];
return
n
||
(
n
=
b
(
t
)),
i
(
t
)?
o
(
n
):
n
}}):(
Object
.
keys
(
Y
).
forEach
((
function
(
e
){
z
[
e
]
=
Y
[
e
]})),
z
.
postMessage
=
_
,
z
.
requireNativePlugin
=
C
,
z
.
onNavigationBarButtonTap
=
k
,
z
.
onNavigationBarSearchInputChanged
=
M
,
z
.
onNavigationBarSearchInputConfirmed
=
E
,
z
.
onNavigationBarSearchInputClicked
=
x
,
Object
.
keys
({
uploadFile
:
!
0
,
downloadFile
:
!
0
,
chooseImage
:
!
0
,
previewImage
:
!
0
,
getImageInfo
:
!
0
,
saveImageToPhotosAlbum
:
!
0
,
chooseVideo
:
!
0
,
saveVideoToPhotosAlbum
:
!
0
,
saveFile
:
!
0
,
getSavedFileList
:
!
0
,
getSavedFileInfo
:
!
0
,
removeSavedFile
:
!
0
,
openDocument
:
!
0
,
setStorage
:
!
0
,
getStorage
:
!
0
,
getStorageInfo
:
!
0
,
removeStorage
:
!
0
,
clearStorage
:
!
0
,
getLocation
:
!
0
,
chooseLocation
:
!
0
,
openLocation
:
!
0
,
getSystemInfo
:
!
0
,
getNetworkType
:
!
0
,
makePhoneCall
:
!
0
,
scanCode
:
!
0
,
setScreenBrightness
:
!
0
,
getScreenBrightness
:
!
0
,
setKeepScreenOn
:
!
0
,
vibrateLong
:
!
0
,
vibrateShort
:
!
0
,
addPhoneContact
:
!
0
,
showToast
:
!
0
,
showLoading
:
!
0
,
hideToast
:
!
0
,
hideLoading
:
!
0
,
showModal
:
!
0
,
showActionSheet
:
!
0
,
setNavigationBarTitle
:
!
0
,
setNavigationBarColor
:
!
0
,
navigateTo
:
!
0
,
redirectTo
:
!
0
,
reLaunch
:
!
0
,
switchTab
:
!
0
,
navigateBack
:
!
0
,
getProvider
:
!
0
,
login
:
!
0
,
getUserInfo
:
!
0
,
share
:
!
0
,
requestPayment
:
!
0
,
subscribePush
:
!
0
,
unsubscribePush
:
!
0
,
onPush
:
!
0
,
offPush
:
!
0
}).
forEach
((
function
(
e
){
var
t
=
U
[
e
];
t
||
(
t
=
b
(
e
)),
i
(
e
)?
z
[
e
]
=
o
(
t
):
z
[
e
]
=
t
}))),
z
};
var
r
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
r
;
var
i
=
a
(
weex
,
r
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
this
.
initMessage
()},
methods
:{
initMessage
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
r
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
o
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
o
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,(
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)}));
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
r
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
)
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
r
);
else
{
var
i
=
new
BroadcastChannel
(
r
);
i
.
postMessage
(
a
)}
else
{
var
o
=
e
.
webview
.
getWebviewById
(
r
);
o
&&
o
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
30
),
r
=
n
(
20
),
i
=
n
(
1
);
var
o
=
Object
(
i
.
a
)(
r
.
default
,
a
.
b
,
a
.
c
,
!
1
,
null
,
null
,
"
186ae9bb
"
,
!
1
,
a
.
a
,
void
0
);(
function
(
e
){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
40
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
40
).
default
)}).
call
(
o
),
t
.
default
=
o
.
exports
},,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
21
),
r
=
n
.
n
(
a
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
r
(
n
(
45
));
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
mixins
:[
r
(
n
(
5
)).
default
],
components
:{
picker
:
a
.
default
},
data
:
function
(){
return
{
range
:[],
rangeKey
:
""
,
value
:
0
,
mode
:
"
selector
"
,
fields
:
"
day
"
,
start
:
""
,
end
:
""
,
disabled
:
!
1
,
visible
:
!
1
}},
onLoad
:
function
(){
var
e
=
this
;
null
===
this
.
data
?
this
.
postMessage
({
event
:
"
created
"
},
!
0
):
this
.
showPicker
(
this
.
data
),
this
.
onMessage
((
function
(
t
){
e
.
showPicker
(
t
)}))},
onReady
:
function
(){
var
e
=
this
;
this
.
$nextTick
((
function
(){
e
.
visible
=!
0
}))},
methods
:{
showPicker
:
function
(){
var
e
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
t
=
e
.
column
;
for
(
var
n
in
e
)
"
column
"
!==
n
&&
(
"
number
"
==
typeof
t
?
this
.
$set
(
this
.
$data
[
n
],
t
,
e
[
n
]):
this
.
$data
[
n
]
=
e
[
n
])},
close
:
function
(
e
){
var
t
=
this
,
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:{},
a
=
n
.
value
,
r
=
void
0
===
a
?
-
1
:
a
;
this
.
visible
=!
1
,
setTimeout
((
function
(){
t
.
postMessage
({
event
:
e
,
value
:
r
})}),
210
)},
onClose
:
function
(){
this
.
close
(
"
cancel
"
)},
columnchange
:
function
(
e
){
var
t
=
e
.
column
,
n
=
e
.
value
;
this
.
$set
(
this
.
value
,
t
,
n
),
this
.
postMessage
({
event
:
"
columnchange
"
,
column
:
t
,
value
:
n
},
!
0
)}}};
t
.
default
=
i
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
23
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
46
),
r
=
o
(
n
(
35
)),
i
=
o
(
n
(
47
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
function
s
(
e
){
return
function
(
e
){
if
(
Array
.
isArray
(
e
)){
for
(
var
t
=
0
,
n
=
new
Array
(
e
.
length
);
t
<
e
.
length
;
t
++
)
n
[
t
]
=
e
[
t
];
return
n
}}(
e
)
||
function
(
e
){
if
(
Symbol
.
iterator
in
Object
(
e
)
||
"
[object Arguments]
"
===
Object
.
prototype
.
toString
.
call
(
e
))
return
Array
.
from
(
e
)}(
e
)
||
function
(){
throw
new
TypeError
(
"
Invalid attempt to spread non-iterable instance
"
)}()}
function
u
(){
if
(
this
.
mode
===
f
.
TIME
)
return
"
00:00
"
;
if
(
this
.
mode
===
f
.
DATE
){
var
e
=
(
new
Date
).
getFullYear
()
-
61
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
return
e
;
case
d
.
MONTH
:
return
e
+
"
-01
"
;
case
d
.
DAY
:
return
e
+
"
-01-01
"
}}
return
""
}
function
c
(){
if
(
this
.
mode
===
f
.
TIME
)
return
"
23:59
"
;
if
(
this
.
mode
===
f
.
DATE
){
var
e
=
(
new
Date
).
getFullYear
()
+
61
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
return
e
;
case
d
.
MONTH
:
return
e
+
"
-12
"
;
case
d
.
DAY
:
return
e
+
"
-12-31
"
}}
return
""
}
var
l
=
weex
.
requireModule
(
"
animation
"
),
f
=
{
SELECTOR
:
"
selector
"
,
MULTISELECTOR
:
"
multiSelector
"
,
TIME
:
"
time
"
,
DATE
:
"
date
"
,
REGION
:
"
region
"
},
d
=
{
YEAR
:
"
year
"
,
MONTH
:
"
month
"
,
DAY
:
"
day
"
},
p
=
{
name
:
"
Picker
"
,
mixins
:[
r
.
default
,
i
.
default
],
props
:{
pageId
:{
type
:
Number
,
default
:
0
},
range
:{
type
:
Array
,
default
:
function
(){
return
[]}},
rangeKey
:{
type
:
String
,
default
:
""
},
value
:{
type
:[
Number
,
String
,
Array
],
default
:
0
},
mode
:{
type
:
String
,
default
:
f
.
SELECTOR
},
fields
:{
type
:
String
,
default
:
d
.
DAY
},
start
:{
type
:
String
,
default
:
u
},
end
:{
type
:
String
,
default
:
c
},
disabled
:{
type
:[
Boolean
,
String
],
default
:
!
1
},
visible
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
valueSync
:
null
,
timeArray
:[],
dateArray
:[],
valueArray
:[],
oldValueArray
:[],
fontSize
:
16
,
height
:
261
,
android
:
"
android
"
===
weex
.
config
.
env
.
platform
.
toLowerCase
(),
localization
:{
en
:{
year
:
"
"
,
month
:
"
"
,
day
:
"
"
,
hour
:
"
"
,
minute
:
"
"
},
zh
:{
year
:
"
年
"
,
month
:
"
月
"
,
day
:
"
日
"
,
hour
:
"
时
"
,
minute
:
"
分
"
}}}},
computed
:{
rangeArray
:
function
(){
var
e
=
this
.
range
;
switch
(
this
.
mode
){
case
f
.
SELECTOR
:
return
[
e
];
case
f
.
MULTISELECTOR
:
return
e
;
case
f
.
TIME
:
return
this
.
timeArray
;
case
f
.
DATE
:
var
t
=
this
.
dateArray
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
return
[
t
[
0
]];
case
d
.
MONTH
:
return
[
t
[
0
],
t
[
1
]];
default
:
return
[
t
[
0
],
t
[
1
],
t
[
2
]]}}
return
[]},
startArray
:
function
(){
return
this
.
_getDateValueArray
(
this
.
start
,
u
.
bind
(
this
)())},
endArray
:
function
(){
return
this
.
_getDateValueArray
(
this
.
end
,
c
.
bind
(
this
)())},
units
:
function
(){
var
e
=
this
.
localize
;
switch
(
this
.
mode
){
case
f
.
DATE
:
return
[
e
(
"
year
"
),
e
(
"
month
"
),
e
(
"
day
"
)];
case
f
.
TIME
:
return
[
e
(
"
hour
"
),
e
(
"
minute
"
)];
default
:
return
[]}},
textMaxLength
:
function
(){
return
Math
.
floor
(
Math
.
min
(
weex
.
config
.
env
.
deviceWidth
,
weex
.
config
.
env
.
deviceHeight
)
/
weex
.
config
.
env
.
scale
/
this
.
fontSize
/
this
.
rangeArray
.
length
)}},
watch
:{
value
:
function
(){
this
.
_setValueSync
()},
mode
:
function
(){
this
.
_setValueSync
()},
range
:
function
(){
this
.
_setValueSync
()},
valueSync
:
function
(){
this
.
_setValueArray
()},
valueArray
:
function
(
e
){
var
t
=
this
;
if
(
this
.
mode
===
f
.
TIME
||
this
.
mode
===
f
.
DATE
){
var
n
=
this
.
mode
===
f
.
TIME
?
this
.
_getTimeValue
:
this
.
_getDateValue
,
a
=
this
.
valueArray
,
r
=
this
.
startArray
,
i
=
this
.
endArray
;
if
(
this
.
mode
===
f
.
DATE
){
var
o
=
this
.
dateArray
,
s
=
o
[
2
].
length
,
u
=
Number
(
o
[
2
][
a
[
2
]])
||
1
,
c
=
new
Date
(
""
.
concat
(
o
[
0
][
a
[
0
]],
"
/
"
).
concat
(
o
[
1
][
a
[
1
]],
"
/
"
).
concat
(
u
)).
getDate
();
c
<
u
&&
(
a
[
2
]
-=
c
+
s
-
u
)}
n
(
a
)
<
n
(
r
)?
this
.
_cloneArray
(
a
,
r
):
n
(
a
)
>
n
(
i
)
&&
this
.
_cloneArray
(
a
,
i
)}
e
.
forEach
((
function
(
e
,
n
){
e
!==
t
.
oldValueArray
[
n
]
&&
(
t
.
oldValueArray
[
n
]
=
e
,
t
.
mode
===
f
.
MULTISELECTOR
&&
t
.
$emit
(
"
columnchange
"
,{
column
:
n
,
value
:
e
}))}))},
visible
:
function
(
e
){
var
t
=
this
;
e
?
this
.
$nextTick
((
function
(){
l
.
transition
(
t
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(0)
"
},
duration
:
200
})})):
l
.
transition
(
this
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(
"
.
concat
(
283
+
this
.
safeAreaInsets
.
bottom
,
"
px)
"
)},
duration
:
200
})}},
created
:
function
(){
this
.
_createTime
(),
this
.
_createDate
(),
this
.
_setValueSync
()},
methods
:{
getTexts
:
function
(
e
,
t
){
var
n
=
this
,
a
=
this
.
textMaxLength
;
return
e
.
map
((
function
(
e
){
var
r
=
(
"
object
"
==
typeof
e
?
e
[
n
.
rangeKey
]
||
""
:
e
)
+
(
n
.
units
[
t
]
||
""
);
if
(
a
>
0
&&
r
.
length
>
a
)
for
(
var
i
=
0
,
o
=
0
;
o
<
r
.
length
;
o
++
){
var
s
=
r
.
charCodeAt
(
o
);
if
((
i
+=
s
>
127
||
94
===
s
?
1
:.
65
)
>=
a
)
return
o
===
r
.
length
-
1
?
r
:
r
.
slice
(
0
,
o
)
+
"
...
"
}
return
r
||
"
"
})).
join
(
"
\n
"
)},
_createTime
:
function
(){
var
e
=
[],
t
=
[];
e
.
splice
(
0
,
e
.
length
);
for
(
var
n
=
0
;
n
<
24
;
n
++
)
e
.
push
((
n
<
10
?
"
0
"
:
""
)
+
n
);
t
.
splice
(
0
,
t
.
length
);
for
(
var
a
=
0
;
a
<
60
;
a
++
)
t
.
push
((
a
<
10
?
"
0
"
:
""
)
+
a
);
this
.
timeArray
.
push
(
e
,
t
)},
_createDate
:
function
(){
for
(
var
e
=
[],
t
=
(
new
Date
).
getFullYear
(),
n
=
t
-
61
,
a
=
t
+
61
;
n
<=
a
;
n
++
)
e
.
push
(
String
(
n
));
for
(
var
r
=
[],
i
=
1
;
i
<=
12
;
i
++
)
r
.
push
((
i
<
10
?
"
0
"
:
""
)
+
i
);
for
(
var
o
=
[],
s
=
1
;
s
<=
31
;
s
++
)
o
.
push
((
s
<
10
?
"
0
"
:
""
)
+
s
);
this
.
dateArray
.
push
(
e
,
r
,
o
)},
_getTimeValue
:
function
(
e
){
return
60
*
e
[
0
]
+
e
[
1
]},
_getDateValue
:
function
(
e
){
return
366
*
e
[
0
]
+
31
*
(
e
[
1
]
||
0
)
+
(
e
[
2
]
||
0
)},
_cloneArray
:
function
(
e
,
t
){
for
(
var
n
=
0
;
n
<
e
.
length
&&
n
<
t
.
length
;
n
++
)
e
[
n
]
=
t
[
n
]},
_setValueSync
:
function
(){
var
e
=
this
.
value
;
switch
(
this
.
mode
){
case
f
.
MULTISELECTOR
:
Array
.
isArray
(
e
)
||
(
e
=
[]),
Array
.
isArray
(
this
.
valueSync
)
||
(
this
.
valueSync
=
[]);
for
(
var
t
=
this
.
valueSync
.
length
=
Math
.
max
(
e
.
length
,
this
.
range
.
length
),
n
=
0
;
n
<
t
;
n
++
)
this
.
valueSync
.
splice
(
n
,
1
,
Number
(
e
[
n
])
||
Number
(
this
.
valueSync
[
n
])
||
0
);
break
;
case
f
.
TIME
:
case
f
.
DATE
:
this
.
valueSync
=
String
(
e
);
break
;
default
:
this
.
valueSync
=
Number
(
e
)
||
0
}},
_setValueArray
:
function
(){
var
e
,
t
=
this
.
valueSync
;
switch
(
this
.
mode
){
case
f
.
MULTISELECTOR
:
e
=
s
(
t
);
break
;
case
f
.
TIME
:
e
=
this
.
_getDateValueArray
(
t
,(
0
,
a
.
formatDateTime
)({
mode
:
f
.
TIME
}));
break
;
case
f
.
DATE
:
e
=
this
.
_getDateValueArray
(
t
,(
0
,
a
.
formatDateTime
)({
mode
:
f
.
DATE
}));
break
;
default
:
e
=
[
t
]}
this
.
oldValueArray
=
s
(
e
),
this
.
valueArray
=
s
(
e
)},
_getValue
:
function
(){
var
e
=
this
,
t
=
this
.
valueArray
;
switch
(
this
.
mode
){
case
f
.
SELECTOR
:
return
t
[
0
];
case
f
.
MULTISELECTOR
:
return
t
.
map
((
function
(
e
){
return
e
}));
case
f
.
TIME
:
return
this
.
valueArray
.
map
((
function
(
t
,
n
){
return
e
.
timeArray
[
n
][
t
]})).
join
(
"
:
"
);
case
f
.
DATE
:
return
this
.
valueArray
.
map
((
function
(
t
,
n
){
return
e
.
dateArray
[
n
][
t
]})).
join
(
"
-
"
)}},
_getDateValueArray
:
function
(
e
,
t
){
var
n
=
this
.
mode
===
f
.
DATE
?
"
-
"
:
"
:
"
,
a
=
this
.
mode
===
f
.
DATE
?
this
.
dateArray
:
this
.
timeArray
,
r
=
3
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
r
=
1
;
break
;
case
d
.
MONTH
:
r
=
2
}
for
(
var
i
=
String
(
e
).
split
(
n
),
o
=
[],
s
=
0
;
s
<
r
;
s
++
){
var
u
=
i
[
s
];
o
.
push
(
a
[
s
].
indexOf
(
u
))}
return
o
.
indexOf
(
-
1
)
>=
0
&&
(
o
=
t
?
this
.
_getDateValueArray
(
t
):
o
.
map
((
function
(){
return
0
}))),
o
},
_change
:
function
(){
this
.
$emit
(
"
change
"
,{
value
:
this
.
_getValue
()})},
_cancel
:
function
(){
this
.
$emit
(
"
cancel
"
)}}};
t
.
default
=
p
},
function
(
e
,
t
){
e
.
exports
=
{
content
:{
position
:
"
absolute
"
,
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
0
},
"
uni-mask
"
:{
position
:
"
absolute
"
,
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
0
,
backgroundColor
:
"
rgba(0,0,0,0.4)
"
,
opacity
:
0
,
transitionProperty
:
"
opacity
"
,
transitionDuration
:
200
,
transitionTimingFunction
:
"
linear
"
},
"
@TRANSITION
"
:{
"
uni-mask
"
:{
property
:
"
opacity
"
,
duration
:
200
,
timingFunction
:
"
linear
"
}},
"
uni-mask-android
"
:{
backgroundColor
:
"
rgba(0,0,0,0.6)
"
},
"
uni-mask-visible
"
:{
opacity
:
1
},
"
uni-picker
"
:{
position
:
"
absolute
"
,
left
:
0
,
bottom
:
0
,
right
:
0
,
backgroundColor
:
"
#ffffff
"
,
color
:
"
#000000
"
,
flexDirection
:
"
column
"
,
transform
:
"
translateY(295px)
"
},
"
uni-picker-header
"
:{
height
:
"
45
"
,
borderBottomWidth
:
0
,
backgroundColor
:
"
#E6E6E6
"
,
fontSize
:
"
20
"
},
"
uni-picker-action
"
:{
position
:
"
absolute
"
,
textAlign
:
"
center
"
,
top
:
0
,
height
:
"
45
"
,
paddingTop
:
0
,
paddingRight
:
"
14
"
,
paddingBottom
:
0
,
paddingLeft
:
"
14
"
,
fontSize
:
"
17
"
,
lineHeight
:
"
45
"
},
"
uni-picker-action-cancel
"
:{
left
:
0
,
color
:
"
#888888
"
},
"
uni-picker-action-confirm
"
:{
right
:
0
,
color
:
"
#007aff
"
},
"
uni-picker-content
"
:{
flex
:
1
},
"
uni-picker-item
"
:{
lineHeight
:
"
34
"
,
textAlign
:
"
center
"
,
color
:
"
#000000
"
}}},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
}}},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
]},[
n
(
"
picker
"
,{
attrs
:{
range
:
e
.
range
,
rangeKey
:
e
.
rangeKey
,
value
:
e
.
value
,
mode
:
e
.
mode
,
fields
:
e
.
fields
,
start
:
e
.
start
,
end
:
e
.
end
,
disabled
:
e
.
disabled
,
visible
:
e
.
visible
},
on
:{
change
:
function
(
t
){
e
.
close
(
"
change
"
,
t
)},
cancel
:
function
(
t
){
e
.
close
(
"
cancel
"
,
t
)},
columnchange
:
e
.
columnchange
}})],
1
)])},
r
=
[];
n
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}))},,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:[
"
content
"
]},[
n
(
"
div
"
,{
ref
:
"
mask
"
,
staticClass
:[
"
uni-mask
"
],
class
:{
"
uni-mask-visible
"
:
e
.
visible
,
"
uni-mask-android
"
:
e
.
android
},
on
:{
click
:
e
.
_cancel
}}),
n
(
"
div
"
,{
ref
:
"
picker
"
,
staticClass
:[
"
uni-picker
"
],
class
:{
"
uni-picker-visible
"
:
e
.
visible
},
style
:
"
padding-bottom:
"
+
e
.
safeAreaInsets
.
bottom
+
"
px;height:
"
+
(
e
.
height
+
e
.
safeAreaInsets
.
bottom
)
+
"
px;
"
},[
n
(
"
div
"
,{
staticClass
:[
"
uni-picker-header
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-cancel
"
],
style
:
"
left:
"
+
e
.
safeAreaInsets
.
left
+
"
px
"
,
on
:{
click
:
e
.
_cancel
}},[
e
.
_v
(
e
.
_s
(
e
.
localize
(
"
cancel
"
)))]),
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-confirm
"
],
style
:
"
right:
"
+
e
.
safeAreaInsets
.
right
+
"
px
"
,
on
:{
click
:
e
.
_change
}},[
e
.
_v
(
e
.
_s
(
e
.
localize
(
"
ok
"
)))])]),
e
.
visible
?
n
(
"
picker-view
"
,{
staticClass
:[
"
uni-picker-content
"
],
style
:
"
margin-left:
"
+
e
.
safeAreaInsets
.
left
+
"
px
"
,
attrs
:{
height
:
"
216
"
,
indicatorStyle
:
"
height: 34px;border-color:#C8C9C9;border-top-width:0.5px;border-bottom-width:0.5px;
"
,
value
:
e
.
valueArray
},
on
:{
"
update:value
"
:
function
(
t
){
e
.
valueArray
=
t
}}},
e
.
_l
(
e
.
rangeArray
,(
function
(
t
,
a
){
return
n
(
"
picker-view-column
"
,{
key
:
a
,
attrs
:{
length
:
t
.
length
}},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-item
"
],
style
:{
fontSize
:
e
.
fontSize
+
"
px
"
}},[
e
.
_v
(
e
.
_s
(
e
.
getTexts
(
t
,
a
)))])])})),
1
):
e
.
_e
()],
1
)])},
r
=
[];
n
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}))},,
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
data
:
function
(){
return
{
locale
:{
default
:
"
en
"
,
full
:
"
en
"
,
primary
:
"
en
"
},
localization
:{
en
:{
ok
:
"
OK
"
,
cancel
:
"
Cancel
"
},
zh
:{
ok
:
"
完成
"
,
cancel
:
"
取消
"
},
"
zh-hans
"
:{},
"
zh-hant
"
:{}}}},
onLoad
:
function
(){
this
.
initLocale
()},
created
:
function
(){
this
.
initLocale
()},
methods
:{
initLocale
:
function
(){
if
(
!
this
.
__initLocale
){
this
.
__initLocale
=!
0
;
var
t
=
e
.
os
.
language
.
toLowerCase
().
replace
(
"
_
"
,
"
-
"
).
split
(
"
-
"
),
n
=
t
[
1
];
n
&&
(
t
[
1
]
=
{
chs
:
"
hans
"
,
cn
:
"
hans
"
,
sg
:
"
hans
"
,
cht
:
"
hant
"
,
tw
:
"
hant
"
,
hk
:
"
hant
"
,
mo
:
"
hant
"
}[
n
]
||
n
),
t
.
length
=
t
.
length
>
2
?
2
:
t
.
length
,
this
.
locale
.
full
=
t
.
join
(
"
-
"
),
this
.
locale
.
primary
=
t
[
0
]}},
localize
:
function
(
e
){
var
t
=
this
.
locale
,
n
=
this
.
localization
;
function
a
(
e
){
return
n
[
e
]
||
{}}
return
a
(
t
.
full
)[
e
]
||
a
(
t
.
primary
)[
e
]
||
a
(
t
.
default
)[
e
]
||
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
24
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
25
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
9
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniapppicker
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
33
),
r
=
n
(
22
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
i
);
var
o
=
n
(
1
);
var
s
=
Object
(
o
.
a
)(
r
.
default
,
a
.
b
,
a
.
c
,
!
1
,
null
,
null
,
"
7a3cf155
"
,
!
1
,
a
.
a
,
void
0
);(
function
(
e
){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
39
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
39
).
default
)}).
call
(
s
),
t
.
default
=
s
.
exports
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
formatDateTime
=
function
(
e
){
var
t
=
e
.
date
,
n
=
void
0
===
t
?
new
Date
:
t
,
r
=
e
.
mode
;
return
"
time
"
===
(
void
0
===
r
?
"
date
"
:
r
)?
a
(
n
.
getHours
())
+
"
:
"
+
a
(
n
.
getMinutes
()):
n
.
getFullYear
()
+
"
-
"
+
a
(
n
.
getMonth
()
+
1
)
+
"
-
"
+
a
(
n
.
getDate
())};
var
a
=
function
(
e
){
return
e
>
9
?
e
:
"
0
"
+
e
}},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
data
:
function
(){
return
{
safeAreaInsets
:{
left
:
0
,
right
:
0
,
top
:
0
,
bottom
:
0
}}},
onLoad
:
function
(){
this
.
initSafeAreaInsets
()},
created
:
function
(){
this
.
initSafeAreaInsets
()},
methods
:{
initSafeAreaInsets
:
function
(){
var
t
=
this
;
if
(
!
this
.
__initSafeAreaInsets
){
this
.
__initSafeAreaInsets
=!
0
;
var
n
=
e
.
webview
.
currentWebview
();
n
.
addEventListener
(
"
resize
"
,(
function
(){
setTimeout
((
function
(){
t
.
updateSafeAreaInsets
(
n
)}),
20
)})),
this
.
updateSafeAreaInsets
(
n
)}},
updateSafeAreaInsets
:
function
(
e
){
var
t
=
e
.
getSafeAreaInsets
(),
n
=
this
.
safeAreaInsets
;
Object
.
keys
(
n
).
forEach
((
function
(
e
){
n
[
e
]
=
t
[
e
]}))}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)}]);
\ No newline at end of file
!
function
(
e
){
var
t
=
{};
function
n
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
r
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
r
.
exports
,
r
,
r
.
exports
,
n
),
r
.
l
=!
0
,
r
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
r
in
e
)
n
.
d
(
a
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
44
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
r
,
i
,
o
,
s
,
u
,
c
){
var
l
,
f
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
u
){
f
.
components
||
(
f
.
components
=
{});
var
d
=
Object
.
prototype
.
hasOwnProperty
;
for
(
var
p
in
u
)
d
.
call
(
u
,
p
)
&&!
d
.
call
(
f
.
components
,
p
)
&&
(
f
.
components
[
p
]
=
u
[
p
])}
if
(
c
&&
((
c
.
beforeCreate
||
(
c
.
beforeCreate
=
[])).
unshift
((
function
(){
this
[
c
.
__module
]
=
this
})),(
f
.
mixins
||
(
f
.
mixins
=
[])).
push
(
c
)),
t
&&
(
f
.
render
=
t
,
f
.
staticRenderFns
=
n
,
f
.
_compiled
=!
0
),
a
&&
(
f
.
functional
=!
0
),
i
&&
(
f
.
_scopeId
=
"
data-v-
"
+
i
),
o
?(
l
=
function
(
e
){(
e
=
e
||
this
.
$vnode
&&
this
.
$vnode
.
ssrContext
||
this
.
parent
&&
this
.
parent
.
$vnode
&&
this
.
parent
.
$vnode
.
ssrContext
)
||
"
undefined
"
==
typeof
__VUE_SSR_CONTEXT__
||
(
e
=
__VUE_SSR_CONTEXT__
),
r
&&
r
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
o
)},
f
.
_ssrRegister
=
l
):
r
&&
(
l
=
s
?
function
(){
r
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
r
),
l
)
if
(
f
.
functional
){
f
.
_injectStyles
=
l
;
var
h
=
f
.
render
;
f
.
render
=
function
(
e
,
t
){
return
l
.
call
(
t
),
h
(
e
,
t
)}}
else
{
var
v
=
f
.
beforeCreate
;
f
.
beforeCreate
=
v
?[].
concat
(
v
,
l
):[
l
]}
return
{
exports
:
e
,
options
:
f
}}
n
.
d
(
t
,
"
a
"
,(
function
(){
return
a
}))},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
function
(
e
){
return
e
.
then
((
function
(
e
){
return
[
null
,
e
]})).
catch
((
function
(
e
){
return
[
e
]}))},
n
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
a
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
i
=
function
(
e
){
return
(
!
n
.
test
(
e
)
||
"
createBLEConnection
"
===
e
)
&&!~
a
.
indexOf
(
e
)},
o
=
function
(
n
){
return
function
(){
for
(
var
a
=
arguments
.
length
,
r
=
Array
(
a
>
1
?
a
-
1
:
0
),
i
=
1
;
i
<
a
;
i
++
)
r
[
i
-
1
]
=
arguments
[
i
];
var
o
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
o
.
success
)
||
e
(
o
.
fail
)
||
e
(
o
.
complete
)?
n
.
apply
(
void
0
,[
o
].
concat
(
r
)):
t
(
new
Promise
((
function
(
e
,
t
){
n
.
apply
(
void
0
,[
Object
.
assign
({},
o
,{
success
:
e
,
fail
:
t
})].
concat
(
r
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
((
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
return
n
}))}),(
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
throw
n
}))}))}})))}},
s
=
[],
u
=
void
0
;
function
c
(
e
){
s
.
forEach
((
function
(
t
){
return
t
({
origin
:
u
,
data
:
e
})}))}
var
l
=
r
.
webview
.
currentWebview
().
id
,
f
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
d
(
e
){
var
t
=
r
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
function
(
e
){
e
.
$processed
=!
0
;
var
t
=
r
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
f
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
_
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
s
.
push
(
e
)},
e
.
__uniapp_mask_id
){
u
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
o
=
r
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
o
=
o
.
parent
()
||
o
;
var
c
=
e
.
show
,
l
=
e
.
hide
,
d
=
e
.
close
,
p
=
function
(){
o
.
setStyle
({
mask
:
i
})},
h
=
function
(){
o
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
h
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
l
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
h
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
d
.
apply
(
e
,
n
)}}}(
t
),
t
}
f
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
l
&&
c
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
h
=
weex
.
requireModule
(
"
globalEvent
"
),
v
=
0
,
g
=
{};
h
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
y
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
c
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
S
&&
S
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
T
&&
T
(
e
.
data
.
data
)}));
var
y
=
function
(
e
,
t
){
var
n
=
g
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
g
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
m
=
function
(
t
){
var
n
,
a
,
r
=
t
.
id
,
i
=
t
.
type
,
o
=
t
.
params
;
g
[
r
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
o
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
r
,
type
:
i
,
params
:
o
},
"
__uniapp__service
"
)};
function
_
(
e
){
p
.
postMessage
(
e
,
"
__uniapp__service
"
)}
var
b
=
function
(
e
){
return
function
(
t
){
m
({
id
:
v
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
w
=
void
0
,
A
=
void
0
,
T
=
void
0
;
function
k
(
e
){
S
=
e
}
function
M
(
e
){
w
=
e
}
function
E
(
e
){
A
=
e
}
function
x
(
e
){
T
=
e
}
function
C
(
e
){
return
weex
.
requireModule
(
e
)}
var
I
=
weex
.
requireModule
(
"
dom
"
),
O
=
weex
.
requireModule
(
"
globalEvent
"
),
N
=
[];
function
V
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
N
.
push
(
e
))}
O
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
V
.
isUniAppReady
=!
0
,
N
.
length
&&
(
N
.
forEach
((
function
(
e
){
return
e
()})),
N
=
[]))}));
var
L
=
"
function
"
==
typeof
Symbol
&&
"
symbol
"
==
typeof
Symbol
.
iterator
?
function
(
e
){
return
typeof
e
}:
function
(
e
){
return
e
&&
"
function
"
==
typeof
Symbol
&&
e
.
constructor
===
Symbol
&&
e
!==
Symbol
.
prototype
?
"
symbol
"
:
typeof
e
},
P
=
weex
.
requireModule
(
"
stream
"
),
D
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"
GET
"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
L
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
n
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
((
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])})).
join
(
"
&
"
):
e
},
$
=
weex
.
requireModule
(
"
plusstorage
"
),
j
=
weex
.
requireModule
(
"
clipboard
"
),
B
=
function
(){
if
(
"
function
"
==
typeof
getUniEmitter
)
return
getUniEmitter
;
var
e
=
{
$on
:
function
(){
console
.
warn
(
"
uni.$on failed
"
)},
$off
:
function
(){
console
.
warn
(
"
uni.$off failed
"
)},
$once
:
function
(){
console
.
warn
(
"
uni.$once failed
"
)},
$emit
:
function
(){
console
.
warn
(
"
uni.$emit failed
"
)}};
return
function
(){
return
e
}}();
function
R
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
U
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
r
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
I
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
o
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
r
)
&&
r
(
o
),
e
(
i
)
&&
i
(
o
)},
ready
:
V
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
r
=
t
.
header
,
i
=
t
.
method
,
o
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
h
=
{};
if
(
r
)
for
(
var
v
in
r
)
p
||
"
content-type
"
!==
v
.
toLowerCase
()?
h
[
v
]
=
r
[
v
]:(
p
=!
0
,
h
[
"
Content-Type
"
]
=
r
[
v
]);
return
"
GET
"
===
o
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
D
(
a
)),
P
.
fetch
({
url
:
n
,
method
:
o
,
headers
:
h
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
"
GET
"
!==
o
?
D
(
a
,
o
,
h
[
"
Content-Type
"
]):
""
},(
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
r
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
r
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)})),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
r
=
t
.
fail
,
i
=
t
.
complete
;
$
.
getItem
(
n
+
"
__TYPE
"
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
o
=
t
.
data
;
$
.
getItem
(
n
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
o
&&
n
?(
"
String
"
!==
o
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
);
e
(
i
)
&&
i
(
t
)}))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
),
e
(
i
)
&&
i
(
t
)}))},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
r
=
t
.
success
,
i
=
t
.
fail
,
o
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
L
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
$
.
setItem
(
n
,
a
,(
function
(
t
){
"
success
"
===
t
.
result
?
$
.
setItem
(
n
+
"
__TYPE
"
,
s
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
r
)
&&
r
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
o
)
&&
o
(
t
)}))},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
r
=
t
.
fail
,
i
=
t
.
complete
;
$
.
removeItem
(
n
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
r
)
&&
r
(
t
)),
e
(
i
)
&&
i
(
t
)})),
$
.
removeItem
(
n
+
"
__TYPE
"
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
);
j
.
getString
((
function
(
t
){
var
r
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
r
),
e
(
a
)
&&
a
(
r
)}))},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
r
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
j
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
r
)
&&
r
(
i
)},
onSubNVueMessage
:
c
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
r
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
R
(
B
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
R
(
B
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
R
(
B
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
R
(
B
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
Y
=
{
os
:{
nvue
:
!
0
}},
z
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
z
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
_
;
if
(
"
requireNativePlugin
"
===
t
)
return
C
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
k
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
E
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
x
;
var
n
=
U
[
t
];
return
n
||
(
n
=
b
(
t
)),
i
(
t
)?
o
(
n
):
n
}}):(
Object
.
keys
(
Y
).
forEach
((
function
(
e
){
z
[
e
]
=
Y
[
e
]})),
z
.
postMessage
=
_
,
z
.
requireNativePlugin
=
C
,
z
.
onNavigationBarButtonTap
=
k
,
z
.
onNavigationBarSearchInputChanged
=
M
,
z
.
onNavigationBarSearchInputConfirmed
=
E
,
z
.
onNavigationBarSearchInputClicked
=
x
,
Object
.
keys
({
uploadFile
:
!
0
,
downloadFile
:
!
0
,
chooseImage
:
!
0
,
previewImage
:
!
0
,
getImageInfo
:
!
0
,
saveImageToPhotosAlbum
:
!
0
,
chooseVideo
:
!
0
,
saveVideoToPhotosAlbum
:
!
0
,
saveFile
:
!
0
,
getSavedFileList
:
!
0
,
getSavedFileInfo
:
!
0
,
removeSavedFile
:
!
0
,
openDocument
:
!
0
,
setStorage
:
!
0
,
getStorage
:
!
0
,
getStorageInfo
:
!
0
,
removeStorage
:
!
0
,
clearStorage
:
!
0
,
getLocation
:
!
0
,
chooseLocation
:
!
0
,
openLocation
:
!
0
,
getSystemInfo
:
!
0
,
getNetworkType
:
!
0
,
makePhoneCall
:
!
0
,
scanCode
:
!
0
,
setScreenBrightness
:
!
0
,
getScreenBrightness
:
!
0
,
setKeepScreenOn
:
!
0
,
vibrateLong
:
!
0
,
vibrateShort
:
!
0
,
addPhoneContact
:
!
0
,
showToast
:
!
0
,
showLoading
:
!
0
,
hideToast
:
!
0
,
hideLoading
:
!
0
,
showModal
:
!
0
,
showActionSheet
:
!
0
,
setNavigationBarTitle
:
!
0
,
setNavigationBarColor
:
!
0
,
navigateTo
:
!
0
,
redirectTo
:
!
0
,
reLaunch
:
!
0
,
switchTab
:
!
0
,
navigateBack
:
!
0
,
getProvider
:
!
0
,
login
:
!
0
,
getUserInfo
:
!
0
,
share
:
!
0
,
requestPayment
:
!
0
,
subscribePush
:
!
0
,
unsubscribePush
:
!
0
,
onPush
:
!
0
,
offPush
:
!
0
}).
forEach
((
function
(
e
){
var
t
=
U
[
e
];
t
||
(
t
=
b
(
e
)),
i
(
e
)?
z
[
e
]
=
o
(
t
):
z
[
e
]
=
t
}))),
z
};
var
r
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
r
;
var
i
=
a
(
weex
,
r
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
this
.
initMessage
()},
methods
:{
initMessage
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
r
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
o
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
o
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,(
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)}));
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
r
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
)
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
r
);
else
{
var
i
=
new
BroadcastChannel
(
r
);
i
.
postMessage
(
a
)}
else
{
var
o
=
e
.
webview
.
getWebviewById
(
r
);
o
&&
o
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
30
),
r
=
n
(
20
),
i
=
n
(
1
);
var
o
=
Object
(
i
.
a
)(
r
.
default
,
a
.
b
,
a
.
c
,
!
1
,
null
,
null
,
"
186ae9bb
"
,
!
1
,
a
.
a
,
void
0
);(
function
(
e
){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
40
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
40
).
default
)}).
call
(
o
),
t
.
default
=
o
.
exports
},,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
21
),
r
=
n
.
n
(
a
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
r
(
n
(
45
));
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
mixins
:[
r
(
n
(
5
)).
default
],
components
:{
picker
:
a
.
default
},
data
:
function
(){
return
{
range
:[],
rangeKey
:
""
,
value
:
0
,
mode
:
"
selector
"
,
fields
:
"
day
"
,
start
:
""
,
end
:
""
,
disabled
:
!
1
,
visible
:
!
1
}},
onLoad
:
function
(){
var
e
=
this
;
null
===
this
.
data
?
this
.
postMessage
({
event
:
"
created
"
},
!
0
):
this
.
showPicker
(
this
.
data
),
this
.
onMessage
((
function
(
t
){
e
.
showPicker
(
t
)}))},
onReady
:
function
(){
var
e
=
this
;
this
.
$nextTick
((
function
(){
e
.
visible
=!
0
}))},
methods
:{
showPicker
:
function
(){
var
e
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
t
=
e
.
column
;
for
(
var
n
in
e
)
"
column
"
!==
n
&&
(
"
number
"
==
typeof
t
?
this
.
$set
(
this
.
$data
[
n
],
t
,
e
[
n
]):
this
.
$data
[
n
]
=
e
[
n
])},
close
:
function
(
e
){
var
t
=
this
,
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:{},
a
=
n
.
value
,
r
=
void
0
===
a
?
-
1
:
a
;
this
.
visible
=!
1
,
setTimeout
((
function
(){
t
.
postMessage
({
event
:
e
,
value
:
r
})}),
210
)},
onClose
:
function
(){
this
.
close
(
"
cancel
"
)},
columnchange
:
function
(
e
){
var
t
=
e
.
column
,
n
=
e
.
value
;
this
.
$set
(
this
.
value
,
t
,
n
),
this
.
postMessage
({
event
:
"
columnchange
"
,
column
:
t
,
value
:
n
},
!
0
)}}};
t
.
default
=
i
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
23
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
46
),
r
=
o
(
n
(
35
)),
i
=
o
(
n
(
47
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
function
s
(
e
){
return
function
(
e
){
if
(
Array
.
isArray
(
e
)){
for
(
var
t
=
0
,
n
=
new
Array
(
e
.
length
);
t
<
e
.
length
;
t
++
)
n
[
t
]
=
e
[
t
];
return
n
}}(
e
)
||
function
(
e
){
if
(
Symbol
.
iterator
in
Object
(
e
)
||
"
[object Arguments]
"
===
Object
.
prototype
.
toString
.
call
(
e
))
return
Array
.
from
(
e
)}(
e
)
||
function
(){
throw
new
TypeError
(
"
Invalid attempt to spread non-iterable instance
"
)}()}
function
u
(){
if
(
this
.
mode
===
f
.
TIME
)
return
"
00:00
"
;
if
(
this
.
mode
===
f
.
DATE
){
var
e
=
(
new
Date
).
getFullYear
()
-
61
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
return
e
;
case
d
.
MONTH
:
return
e
+
"
-01
"
;
case
d
.
DAY
:
return
e
+
"
-01-01
"
}}
return
""
}
function
c
(){
if
(
this
.
mode
===
f
.
TIME
)
return
"
23:59
"
;
if
(
this
.
mode
===
f
.
DATE
){
var
e
=
(
new
Date
).
getFullYear
()
+
61
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
return
e
;
case
d
.
MONTH
:
return
e
+
"
-12
"
;
case
d
.
DAY
:
return
e
+
"
-12-31
"
}}
return
""
}
var
l
=
weex
.
requireModule
(
"
animation
"
),
f
=
{
SELECTOR
:
"
selector
"
,
MULTISELECTOR
:
"
multiSelector
"
,
TIME
:
"
time
"
,
DATE
:
"
date
"
,
REGION
:
"
region
"
},
d
=
{
YEAR
:
"
year
"
,
MONTH
:
"
month
"
,
DAY
:
"
day
"
},
p
=
{
name
:
"
Picker
"
,
mixins
:[
r
.
default
,
i
.
default
],
props
:{
pageId
:{
type
:
Number
,
default
:
0
},
range
:{
type
:
Array
,
default
:
function
(){
return
[]}},
rangeKey
:{
type
:
String
,
default
:
""
},
value
:{
type
:[
Number
,
String
,
Array
],
default
:
0
},
mode
:{
type
:
String
,
default
:
f
.
SELECTOR
},
fields
:{
type
:
String
,
default
:
d
.
DAY
},
start
:{
type
:
String
,
default
:
u
},
end
:{
type
:
String
,
default
:
c
},
disabled
:{
type
:[
Boolean
,
String
],
default
:
!
1
},
visible
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
valueSync
:
null
,
timeArray
:[],
dateArray
:[],
valueArray
:[],
oldValueArray
:[],
fontSize
:
16
,
height
:
261
,
android
:
"
android
"
===
weex
.
config
.
env
.
platform
.
toLowerCase
(),
localization
:{
en
:{
year
:
"
"
,
month
:
"
"
,
day
:
"
"
,
hour
:
"
"
,
minute
:
"
"
},
zh
:{
year
:
"
年
"
,
month
:
"
月
"
,
day
:
"
日
"
,
hour
:
"
时
"
,
minute
:
"
分
"
}}}},
computed
:{
rangeArray
:
function
(){
var
e
=
this
.
range
;
switch
(
this
.
mode
){
case
f
.
SELECTOR
:
return
[
e
];
case
f
.
MULTISELECTOR
:
return
e
;
case
f
.
TIME
:
return
this
.
timeArray
;
case
f
.
DATE
:
var
t
=
this
.
dateArray
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
return
[
t
[
0
]];
case
d
.
MONTH
:
return
[
t
[
0
],
t
[
1
]];
default
:
return
[
t
[
0
],
t
[
1
],
t
[
2
]]}}
return
[]},
startArray
:
function
(){
return
this
.
_getDateValueArray
(
this
.
start
,
u
.
bind
(
this
)())},
endArray
:
function
(){
return
this
.
_getDateValueArray
(
this
.
end
,
c
.
bind
(
this
)())},
units
:
function
(){
var
e
=
this
.
localize
;
switch
(
this
.
mode
){
case
f
.
DATE
:
return
[
e
(
"
year
"
),
e
(
"
month
"
),
e
(
"
day
"
)];
case
f
.
TIME
:
return
[
e
(
"
hour
"
),
e
(
"
minute
"
)];
default
:
return
[]}},
textMaxLength
:
function
(){
return
Math
.
floor
(
Math
.
min
(
weex
.
config
.
env
.
deviceWidth
,
weex
.
config
.
env
.
deviceHeight
)
/
weex
.
config
.
env
.
scale
/
this
.
fontSize
/
this
.
rangeArray
.
length
)}},
watch
:{
value
:
function
(){
this
.
_setValueSync
()},
mode
:
function
(){
this
.
_setValueSync
()},
range
:
function
(){
this
.
_setValueSync
()},
valueSync
:
function
(){
this
.
_setValueArray
()},
valueArray
:
function
(
e
){
var
t
=
this
;
if
(
this
.
mode
===
f
.
TIME
||
this
.
mode
===
f
.
DATE
){
var
n
=
this
.
mode
===
f
.
TIME
?
this
.
_getTimeValue
:
this
.
_getDateValue
,
a
=
this
.
valueArray
,
r
=
this
.
startArray
,
i
=
this
.
endArray
;
if
(
this
.
mode
===
f
.
DATE
){
var
o
=
this
.
dateArray
,
s
=
o
[
2
].
length
,
u
=
Number
(
o
[
2
][
a
[
2
]])
||
1
,
c
=
new
Date
(
""
.
concat
(
o
[
0
][
a
[
0
]],
"
/
"
).
concat
(
o
[
1
][
a
[
1
]],
"
/
"
).
concat
(
u
)).
getDate
();
c
<
u
&&
(
a
[
2
]
-=
c
+
s
-
u
)}
n
(
a
)
<
n
(
r
)?
this
.
_cloneArray
(
a
,
r
):
n
(
a
)
>
n
(
i
)
&&
this
.
_cloneArray
(
a
,
i
)}
e
.
forEach
((
function
(
e
,
n
){
e
!==
t
.
oldValueArray
[
n
]
&&
(
t
.
oldValueArray
[
n
]
=
e
,
t
.
mode
===
f
.
MULTISELECTOR
&&
t
.
$emit
(
"
columnchange
"
,{
column
:
n
,
value
:
e
}))}))},
visible
:
function
(
e
){
var
t
=
this
;
e
?
this
.
$nextTick
((
function
(){
l
.
transition
(
t
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(0)
"
},
duration
:
200
})})):
l
.
transition
(
this
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(
"
.
concat
(
283
+
this
.
safeAreaInsets
.
bottom
,
"
px)
"
)},
duration
:
200
})}},
created
:
function
(){
this
.
_createTime
(),
this
.
_createDate
(),
this
.
_setValueSync
()},
methods
:{
getTexts
:
function
(
e
,
t
){
var
n
=
this
,
a
=
this
.
textMaxLength
;
return
e
.
map
((
function
(
e
){
var
r
=
(
"
object
"
==
typeof
e
?
e
[
n
.
rangeKey
]
||
""
:
e
)
+
(
n
.
units
[
t
]
||
""
);
if
(
a
>
0
&&
r
.
length
>
a
)
for
(
var
i
=
0
,
o
=
0
;
o
<
r
.
length
;
o
++
){
var
s
=
r
.
charCodeAt
(
o
);
if
((
i
+=
s
>
127
||
94
===
s
?
1
:.
65
)
>=
a
)
return
o
===
r
.
length
-
1
?
r
:
r
.
slice
(
0
,
o
)
+
"
...
"
}
return
r
||
"
"
})).
join
(
"
\n
"
)},
_createTime
:
function
(){
var
e
=
[],
t
=
[];
e
.
splice
(
0
,
e
.
length
);
for
(
var
n
=
0
;
n
<
24
;
n
++
)
e
.
push
((
n
<
10
?
"
0
"
:
""
)
+
n
);
t
.
splice
(
0
,
t
.
length
);
for
(
var
a
=
0
;
a
<
60
;
a
++
)
t
.
push
((
a
<
10
?
"
0
"
:
""
)
+
a
);
this
.
timeArray
.
push
(
e
,
t
)},
_createDate
:
function
(){
for
(
var
e
=
[],
t
=
(
new
Date
).
getFullYear
(),
n
=
t
-
61
,
a
=
t
+
61
;
n
<=
a
;
n
++
)
e
.
push
(
String
(
n
));
for
(
var
r
=
[],
i
=
1
;
i
<=
12
;
i
++
)
r
.
push
((
i
<
10
?
"
0
"
:
""
)
+
i
);
for
(
var
o
=
[],
s
=
1
;
s
<=
31
;
s
++
)
o
.
push
((
s
<
10
?
"
0
"
:
""
)
+
s
);
this
.
dateArray
.
push
(
e
,
r
,
o
)},
_getTimeValue
:
function
(
e
){
return
60
*
e
[
0
]
+
e
[
1
]},
_getDateValue
:
function
(
e
){
return
366
*
e
[
0
]
+
31
*
(
e
[
1
]
||
0
)
+
(
e
[
2
]
||
0
)},
_cloneArray
:
function
(
e
,
t
){
for
(
var
n
=
0
;
n
<
e
.
length
&&
n
<
t
.
length
;
n
++
)
e
[
n
]
=
t
[
n
]},
_setValueSync
:
function
(){
var
e
=
this
.
value
;
switch
(
this
.
mode
){
case
f
.
MULTISELECTOR
:
Array
.
isArray
(
e
)
||
(
e
=
[]),
Array
.
isArray
(
this
.
valueSync
)
||
(
this
.
valueSync
=
[]);
for
(
var
t
=
this
.
valueSync
.
length
=
Math
.
max
(
e
.
length
,
this
.
range
.
length
),
n
=
0
;
n
<
t
;
n
++
){
var
a
=
Number
(
e
[
n
]),
r
=
Number
(
this
.
valueSync
[
n
]);
this
.
valueSync
.
splice
(
n
,
1
,
isNaN
(
a
)?
isNaN
(
r
)?
0
:
r
:
a
)}
break
;
case
f
.
TIME
:
case
f
.
DATE
:
this
.
valueSync
=
String
(
e
);
break
;
default
:
this
.
valueSync
=
Number
(
e
)
||
0
}},
_setValueArray
:
function
(){
var
e
,
t
=
this
.
valueSync
;
switch
(
this
.
mode
){
case
f
.
MULTISELECTOR
:
e
=
s
(
t
);
break
;
case
f
.
TIME
:
e
=
this
.
_getDateValueArray
(
t
,(
0
,
a
.
formatDateTime
)({
mode
:
f
.
TIME
}));
break
;
case
f
.
DATE
:
e
=
this
.
_getDateValueArray
(
t
,(
0
,
a
.
formatDateTime
)({
mode
:
f
.
DATE
}));
break
;
default
:
e
=
[
t
]}
this
.
oldValueArray
=
s
(
e
),
this
.
valueArray
=
s
(
e
)},
_getValue
:
function
(){
var
e
=
this
,
t
=
this
.
valueArray
;
switch
(
this
.
mode
){
case
f
.
SELECTOR
:
return
t
[
0
];
case
f
.
MULTISELECTOR
:
return
t
.
map
((
function
(
e
){
return
e
}));
case
f
.
TIME
:
return
this
.
valueArray
.
map
((
function
(
t
,
n
){
return
e
.
timeArray
[
n
][
t
]})).
join
(
"
:
"
);
case
f
.
DATE
:
return
this
.
valueArray
.
map
((
function
(
t
,
n
){
return
e
.
dateArray
[
n
][
t
]})).
join
(
"
-
"
)}},
_getDateValueArray
:
function
(
e
,
t
){
var
n
=
this
.
mode
===
f
.
DATE
?
"
-
"
:
"
:
"
,
a
=
this
.
mode
===
f
.
DATE
?
this
.
dateArray
:
this
.
timeArray
,
r
=
3
;
switch
(
this
.
fields
){
case
d
.
YEAR
:
r
=
1
;
break
;
case
d
.
MONTH
:
r
=
2
}
for
(
var
i
=
String
(
e
).
split
(
n
),
o
=
[],
s
=
0
;
s
<
r
;
s
++
){
var
u
=
i
[
s
];
o
.
push
(
a
[
s
].
indexOf
(
u
))}
return
o
.
indexOf
(
-
1
)
>=
0
&&
(
o
=
t
?
this
.
_getDateValueArray
(
t
):
o
.
map
((
function
(){
return
0
}))),
o
},
_change
:
function
(){
this
.
$emit
(
"
change
"
,{
value
:
this
.
_getValue
()})},
_cancel
:
function
(){
this
.
$emit
(
"
cancel
"
)}}};
t
.
default
=
p
},
function
(
e
,
t
){
e
.
exports
=
{
content
:{
position
:
"
absolute
"
,
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
0
},
"
uni-mask
"
:{
position
:
"
absolute
"
,
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
0
,
backgroundColor
:
"
rgba(0,0,0,0.4)
"
,
opacity
:
0
,
transitionProperty
:
"
opacity
"
,
transitionDuration
:
200
,
transitionTimingFunction
:
"
linear
"
},
"
@TRANSITION
"
:{
"
uni-mask
"
:{
property
:
"
opacity
"
,
duration
:
200
,
timingFunction
:
"
linear
"
}},
"
uni-mask-android
"
:{
backgroundColor
:
"
rgba(0,0,0,0.6)
"
},
"
uni-mask-visible
"
:{
opacity
:
1
},
"
uni-picker
"
:{
position
:
"
absolute
"
,
left
:
0
,
bottom
:
0
,
right
:
0
,
backgroundColor
:
"
#ffffff
"
,
color
:
"
#000000
"
,
flexDirection
:
"
column
"
,
transform
:
"
translateY(295px)
"
},
"
uni-picker-header
"
:{
height
:
"
45
"
,
borderBottomWidth
:
0
,
backgroundColor
:
"
#E6E6E6
"
,
fontSize
:
"
20
"
},
"
uni-picker-action
"
:{
position
:
"
absolute
"
,
textAlign
:
"
center
"
,
top
:
0
,
height
:
"
45
"
,
paddingTop
:
0
,
paddingRight
:
"
14
"
,
paddingBottom
:
0
,
paddingLeft
:
"
14
"
,
fontSize
:
"
17
"
,
lineHeight
:
"
45
"
},
"
uni-picker-action-cancel
"
:{
left
:
0
,
color
:
"
#888888
"
},
"
uni-picker-action-confirm
"
:{
right
:
0
,
color
:
"
#007aff
"
},
"
uni-picker-content
"
:{
flex
:
1
},
"
uni-picker-item
"
:{
lineHeight
:
"
34
"
,
textAlign
:
"
center
"
,
color
:
"
#000000
"
}}},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
}}},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
]},[
n
(
"
picker
"
,{
attrs
:{
range
:
e
.
range
,
rangeKey
:
e
.
rangeKey
,
value
:
e
.
value
,
mode
:
e
.
mode
,
fields
:
e
.
fields
,
start
:
e
.
start
,
end
:
e
.
end
,
disabled
:
e
.
disabled
,
visible
:
e
.
visible
},
on
:{
change
:
function
(
t
){
e
.
close
(
"
change
"
,
t
)},
cancel
:
function
(
t
){
e
.
close
(
"
cancel
"
,
t
)},
columnchange
:
e
.
columnchange
}})],
1
)])},
r
=
[];
n
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}))},,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:[
"
content
"
]},[
n
(
"
div
"
,{
ref
:
"
mask
"
,
staticClass
:[
"
uni-mask
"
],
class
:{
"
uni-mask-visible
"
:
e
.
visible
,
"
uni-mask-android
"
:
e
.
android
},
on
:{
click
:
e
.
_cancel
}}),
n
(
"
div
"
,{
ref
:
"
picker
"
,
staticClass
:[
"
uni-picker
"
],
class
:{
"
uni-picker-visible
"
:
e
.
visible
},
style
:
"
padding-bottom:
"
+
e
.
safeAreaInsets
.
bottom
+
"
px;height:
"
+
(
e
.
height
+
e
.
safeAreaInsets
.
bottom
)
+
"
px;
"
},[
n
(
"
div
"
,{
staticClass
:[
"
uni-picker-header
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-cancel
"
],
style
:
"
left:
"
+
e
.
safeAreaInsets
.
left
+
"
px
"
,
on
:{
click
:
e
.
_cancel
}},[
e
.
_v
(
e
.
_s
(
e
.
localize
(
"
cancel
"
)))]),
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-confirm
"
],
style
:
"
right:
"
+
e
.
safeAreaInsets
.
right
+
"
px
"
,
on
:{
click
:
e
.
_change
}},[
e
.
_v
(
e
.
_s
(
e
.
localize
(
"
ok
"
)))])]),
e
.
visible
?
n
(
"
picker-view
"
,{
staticClass
:[
"
uni-picker-content
"
],
style
:
"
margin-left:
"
+
e
.
safeAreaInsets
.
left
+
"
px
"
,
attrs
:{
height
:
"
216
"
,
indicatorStyle
:
"
height: 34px;border-color:#C8C9C9;border-top-width:0.5px;border-bottom-width:0.5px;
"
,
value
:
e
.
valueArray
},
on
:{
"
update:value
"
:
function
(
t
){
e
.
valueArray
=
t
}}},
e
.
_l
(
e
.
rangeArray
,(
function
(
t
,
a
){
return
n
(
"
picker-view-column
"
,{
key
:
a
,
attrs
:{
length
:
t
.
length
}},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-item
"
],
style
:{
fontSize
:
e
.
fontSize
+
"
px
"
}},[
e
.
_v
(
e
.
_s
(
e
.
getTexts
(
t
,
a
)))])])})),
1
):
e
.
_e
()],
1
)])},
r
=
[];
n
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}))},,
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
data
:
function
(){
return
{
locale
:{
default
:
"
en
"
,
full
:
"
en
"
,
primary
:
"
en
"
},
localization
:{
en
:{
ok
:
"
OK
"
,
cancel
:
"
Cancel
"
},
zh
:{
ok
:
"
完成
"
,
cancel
:
"
取消
"
},
"
zh-hans
"
:{},
"
zh-hant
"
:{}}}},
onLoad
:
function
(){
this
.
initLocale
()},
created
:
function
(){
this
.
initLocale
()},
methods
:{
initLocale
:
function
(){
if
(
!
this
.
__initLocale
){
this
.
__initLocale
=!
0
;
var
t
=
e
.
os
.
language
.
toLowerCase
().
replace
(
"
_
"
,
"
-
"
).
split
(
"
-
"
),
n
=
t
[
1
];
n
&&
(
t
[
1
]
=
{
chs
:
"
hans
"
,
cn
:
"
hans
"
,
sg
:
"
hans
"
,
cht
:
"
hant
"
,
tw
:
"
hant
"
,
hk
:
"
hant
"
,
mo
:
"
hant
"
}[
n
]
||
n
),
t
.
length
=
t
.
length
>
2
?
2
:
t
.
length
,
this
.
locale
.
full
=
t
.
join
(
"
-
"
),
this
.
locale
.
primary
=
t
[
0
]}},
localize
:
function
(
e
){
var
t
=
this
.
locale
,
n
=
this
.
localization
;
function
a
(
e
){
return
n
[
e
]
||
{}}
return
a
(
t
.
full
)[
e
]
||
a
(
t
.
primary
)[
e
]
||
a
(
t
.
default
)[
e
]
||
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
24
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
25
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
r
.
a
},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
9
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniapppicker
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
33
),
r
=
n
(
22
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
i
);
var
o
=
n
(
1
);
var
s
=
Object
(
o
.
a
)(
r
.
default
,
a
.
b
,
a
.
c
,
!
1
,
null
,
null
,
"
7a3cf155
"
,
!
1
,
a
.
a
,
void
0
);(
function
(
e
){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
39
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
39
).
default
)}).
call
(
s
),
t
.
default
=
s
.
exports
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
formatDateTime
=
function
(
e
){
var
t
=
e
.
date
,
n
=
void
0
===
t
?
new
Date
:
t
,
r
=
e
.
mode
;
return
"
time
"
===
(
void
0
===
r
?
"
date
"
:
r
)?
a
(
n
.
getHours
())
+
"
:
"
+
a
(
n
.
getMinutes
()):
n
.
getFullYear
()
+
"
-
"
+
a
(
n
.
getMonth
()
+
1
)
+
"
-
"
+
a
(
n
.
getDate
())};
var
a
=
function
(
e
){
return
e
>
9
?
e
:
"
0
"
+
e
}},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
data
:
function
(){
return
{
safeAreaInsets
:{
left
:
0
,
right
:
0
,
top
:
0
,
bottom
:
0
}}},
onLoad
:
function
(){
this
.
initSafeAreaInsets
()},
created
:
function
(){
this
.
initSafeAreaInsets
()},
methods
:{
initSafeAreaInsets
:
function
(){
var
t
=
this
;
if
(
!
this
.
__initSafeAreaInsets
){
this
.
__initSafeAreaInsets
=!
0
;
var
n
=
e
.
webview
.
currentWebview
();
n
.
addEventListener
(
"
resize
"
,(
function
(){
setTimeout
((
function
(){
t
.
updateSafeAreaInsets
(
n
)}),
20
)})),
this
.
updateSafeAreaInsets
(
n
)}},
updateSafeAreaInsets
:
function
(
e
){
var
t
=
e
.
getSafeAreaInsets
(),
n
=
this
.
safeAreaInsets
;
Object
.
keys
(
n
).
forEach
((
function
(
e
){
n
[
e
]
=
t
[
e
]}))}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)}]);
\ No newline at end of file
packages/uni-cli-shared/lib/platform.js
浏览文件 @
1b7bd565
...
...
@@ -92,7 +92,7 @@ module.exports = {
return
uniPluginOptions
.
vue
||
'
@dcloudio/vue-cli-plugin-uni/packages/mp-vue
'
},
getPlatformCssVars
()
{
return
uniPluginOptions
.
cssVars
return
uniPluginOptions
.
cssVars
||
{}
},
getPlatformCssnano
()
{
return
{
...
...
packages/uni-cli-shared/template/common/__uniappopenlocation.js
浏览文件 @
1b7bd565
!
function
(
e
){
var
t
=
{};
function
n
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
o
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
o
.
exports
,
o
,
o
.
exports
,
n
),
o
.
l
=!
0
,
o
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
n
.
d
(
a
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
41
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
o
,
i
,
r
,
s
){
var
u
,
c
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
t
&&
(
c
.
render
=
t
,
c
.
staticRenderFns
=
n
,
c
.
_compiled
=!
0
),
a
&&
(
c
.
functional
=!
0
),
i
&&
(
c
.
_scopeId
=
"
data-v-
"
+
i
),
r
?(
u
=
function
(
e
){(
e
=
e
||
this
.
$vnode
&&
this
.
$vnode
.
ssrContext
||
this
.
parent
&&
this
.
parent
.
$vnode
&&
this
.
parent
.
$vnode
.
ssrContext
)
||
"
undefined
"
==
typeof
__VUE_SSR_CONTEXT__
||
(
e
=
__VUE_SSR_CONTEXT__
),
o
&&
o
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
r
)},
c
.
_ssrRegister
=
u
):
o
&&
(
u
=
s
?
function
(){
o
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
o
),
u
)
if
(
c
.
functional
){
c
.
_injectStyles
=
u
;
var
l
=
c
.
render
;
c
.
render
=
function
(
e
,
t
){
return
u
.
call
(
t
),
l
(
e
,
t
)}}
else
{
var
f
=
c
.
beforeCreate
;
c
.
beforeCreate
=
f
?[].
concat
(
f
,
u
):[
u
]}
return
{
exports
:
e
,
options
:
c
}}
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
})},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
n
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
a
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
n
.
indexOf
(
e
))},
i
=
function
(
t
){
return
function
(){
for
(
var
n
=
arguments
.
length
,
a
=
Array
(
n
>
1
?
n
-
1
:
0
),
o
=
1
;
o
<
n
;
o
++
)
a
[
o
-
1
]
=
arguments
[
o
];
var
i
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
i
.
success
)
||
e
(
i
.
fail
)
||
e
(
i
.
complete
)?
t
.
apply
(
void
0
,[
i
].
concat
(
a
)):
new
Promise
(
function
(
e
,
n
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
i
,{
success
:
e
,
fail
:
n
})].
concat
(
a
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
(
function
(
n
){
return
t
.
resolve
(
e
()).
then
(
function
(){
return
n
})},
function
(
n
){
return
t
.
resolve
(
e
()).
then
(
function
(){
throw
n
})})}}).
then
(
function
(
e
){
return
[
null
,
e
]}).
catch
(
function
(
e
){
return
[
e
]})}},
r
=
[],
s
=
void
0
;
function
u
(
e
){
r
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
c
=
o
.
webview
.
currentWebview
().
id
,
l
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
f
(
e
){
e
.
$processed
=!
0
;
var
t
=
o
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
l
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
b
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
r
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
u
=
o
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
u
=
u
.
parent
()
||
u
;
var
c
=
e
.
show
,
f
=
e
.
hide
,
d
=
e
.
close
,
p
=
function
(){
u
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
u
.
setStyle
({
mask
:
i
});
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
f
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
d
.
apply
(
e
,
n
)}}}
function
d
(
e
){
var
t
=
o
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
f
(
t
),
t
}
l
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
c
&&
u
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
v
=
weex
.
requireModule
(
"
globalEvent
"
),
g
=
0
,
m
=
{},
y
=
"
__uniapp__service
"
;
v
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
h
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
u
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
S
&&
S
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
x
&&
x
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
C
&&
C
(
e
.
data
.
data
)});
var
h
=
function
(
e
,
t
){
var
n
=
m
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
m
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
A
=
function
(
t
){
var
n
,
a
,
o
=
t
.
id
,
i
=
t
.
type
,
r
=
t
.
params
;
m
[
o
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
r
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
o
,
type
:
i
,
params
:
r
},
y
)};
function
b
(
e
){
p
.
postMessage
(
e
,
y
)}
var
P
=
function
(
e
){
return
function
(
t
){
A
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
w
=
void
0
,
x
=
void
0
,
C
=
void
0
;
function
_
(
e
){
S
=
e
}
function
M
(
e
){
w
=
e
}
function
I
(
e
){
x
=
e
}
function
k
(
e
){
C
=
e
}
function
B
(
e
){
return
weex
.
requireModule
(
e
)}
var
O
=
weex
.
requireModule
(
"
dom
"
),
j
=
weex
.
requireModule
(
"
globalEvent
"
),
E
=
[];
function
T
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
E
.
push
(
e
))}
j
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
T
.
isUniAppReady
=!
0
,
E
.
length
&&
(
E
.
forEach
(
function
(
e
){
return
e
()}),
E
=
[]))});
var
L
=
"
function
"
==
typeof
Symbol
&&
"
symbol
"
==
typeof
Symbol
.
iterator
?
function
(
e
){
return
typeof
e
}:
function
(
e
){
return
e
&&
"
function
"
==
typeof
Symbol
&&
e
.
constructor
===
Symbol
&&
e
!==
Symbol
.
prototype
?
"
symbol
"
:
typeof
e
},
U
=
weex
.
requireModule
(
"
stream
"
),
N
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
N
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
L
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
n
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
(
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])}).
join
(
"
&
"
):
e
},
V
=
weex
.
requireModule
(
"
plusstorage
"
),
q
=
"
__TYPE
"
,
z
=
weex
.
requireModule
(
"
clipboard
"
),
F
=
function
(){
if
(
"
function
"
==
typeof
getUniEmitter
)
return
getUniEmitter
;
var
e
=
{
$on
:
function
(){
console
.
warn
(
"
uni.$on failed
"
)},
$off
:
function
(){
console
.
warn
(
"
uni.$off failed
"
)},
$once
:
function
(){
console
.
warn
(
"
uni.$once failed
"
)},
$emit
:
function
(){
console
.
warn
(
"
uni.$emit failed
"
)}};
return
function
(){
return
e
}}();
function
D
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
X
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
O
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
r
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
r
),
e
(
i
)
&&
i
(
r
)},
ready
:
T
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
o
=
t
.
header
,
i
=
t
.
method
,
r
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
v
=
{};
if
(
o
)
for
(
var
g
in
o
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
v
[
g
]
=
o
[
g
]:(
p
=!
0
,
v
[
"
Content-Type
"
]
=
o
[
g
]);
return
r
===
N
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
a
)),
U
.
fetch
({
url
:
n
,
method
:
r
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
r
!==
N
?
R
(
a
,
r
,
v
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
o
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
V
.
getItem
(
n
+
q
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
r
=
t
.
data
;
V
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
r
&&
n
?(
"
String
"
!==
r
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
);
e
(
i
)
&&
i
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
),
e
(
i
)
&&
i
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
o
=
t
.
success
,
i
=
t
.
fail
,
r
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
L
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
V
.
setItem
(
n
,
a
,
function
(
t
){
"
success
"
===
t
.
result
?
V
.
setItem
(
n
+
q
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
o
)
&&
o
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
r
)
&&
r
(
t
)})},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
V
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
i
)
&&
i
(
t
)}),
V
.
removeItem
(
n
+
q
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
);
z
.
getString
(
function
(
t
){
var
o
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
o
),
e
(
a
)
&&
a
(
o
)})},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
o
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
z
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
o
)
&&
o
(
i
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
D
(
F
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
D
(
F
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
D
(
F
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
D
(
F
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
H
=
{
os
:{
nvue
:
!
0
}},
Y
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
Y
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
b
;
if
(
"
requireNativePlugin
"
===
t
)
return
B
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
_
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
I
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
k
;
var
n
=
X
[
t
];
return
n
||
(
n
=
P
(
t
)),
a
(
t
)?
i
(
n
):
n
}}):(
Object
.
keys
(
H
).
forEach
(
function
(
e
){
Y
[
e
]
=
H
[
e
]}),
Y
.
postMessage
=
b
,
Y
.
requireNativePlugin
=
B
,
Y
.
onNavigationBarButtonTap
=
_
,
Y
.
onNavigationBarSearchInputChanged
=
M
,
Y
.
onNavigationBarSearchInputConfirmed
=
I
,
Y
.
onNavigationBarSearchInputClicked
=
k
,
Object
.
keys
({
uploadFile
:
!
0
,
downloadFile
:
!
0
,
chooseImage
:
!
0
,
previewImage
:
!
0
,
getImageInfo
:
!
0
,
saveImageToPhotosAlbum
:
!
0
,
chooseVideo
:
!
0
,
saveVideoToPhotosAlbum
:
!
0
,
saveFile
:
!
0
,
getSavedFileList
:
!
0
,
getSavedFileInfo
:
!
0
,
removeSavedFile
:
!
0
,
openDocument
:
!
0
,
setStorage
:
!
0
,
getStorage
:
!
0
,
getStorageInfo
:
!
0
,
removeStorage
:
!
0
,
clearStorage
:
!
0
,
getLocation
:
!
0
,
chooseLocation
:
!
0
,
openLocation
:
!
0
,
getSystemInfo
:
!
0
,
getNetworkType
:
!
0
,
makePhoneCall
:
!
0
,
scanCode
:
!
0
,
setScreenBrightness
:
!
0
,
getScreenBrightness
:
!
0
,
setKeepScreenOn
:
!
0
,
vibrateLong
:
!
0
,
vibrateShort
:
!
0
,
addPhoneContact
:
!
0
,
showToast
:
!
0
,
showLoading
:
!
0
,
hideToast
:
!
0
,
hideLoading
:
!
0
,
showModal
:
!
0
,
showActionSheet
:
!
0
,
setNavigationBarTitle
:
!
0
,
setNavigationBarColor
:
!
0
,
navigateTo
:
!
0
,
redirectTo
:
!
0
,
reLaunch
:
!
0
,
switchTab
:
!
0
,
navigateBack
:
!
0
,
getProvider
:
!
0
,
login
:
!
0
,
getUserInfo
:
!
0
,
share
:
!
0
,
requestPayment
:
!
0
,
subscribePush
:
!
0
,
unsubscribePush
:
!
0
,
onPush
:
!
0
,
offPush
:
!
0
}).
forEach
(
function
(
e
){
var
t
=
X
[
e
];
t
||
(
t
=
P
(
e
)),
a
(
e
)?
Y
[
e
]
=
i
(
t
):
Y
[
e
]
=
t
})),
Y
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
i
=
a
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
o
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
r
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
o
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
r
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
o
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
){
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
o
);
else
new
BroadcastChannel
(
o
).
postMessage
(
a
)}
else
{
var
i
=
e
.
webview
.
getWebviewById
(
o
);
i
&&
i
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
30
),
o
=
n
(
14
),
i
=
n
(
1
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
53d1e1f6
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
36
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
36
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
15
),
o
=
n
.
n
(
a
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
,
o
=
(
a
=
n
(
5
))
&&
a
.
__esModule
?
a
:{
default
:
a
};
weex
.
requireModule
(
"
mapSearch
"
);
var
i
=
{
mixins
:[
o
.
default
],
data
:
function
(){
return
{
longitude
:
""
,
latitude
:
""
,
markers
:[{
id
:
"
location
"
,
latitude
:
39.908692
,
longitude
:
116.397477
,
title
:
"
天安门
"
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,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
"
,
width
:
26
,
height
:
36
}],
name
:
""
,
address
:
""
}},
onLoad
:
function
(){
var
e
=
this
.
data
;
this
.
latitude
=
e
.
latitude
||
39.908692
,
this
.
longitude
=
e
.
longitude
||
116.397477
,
this
.
name
=
e
.
name
||
""
,
this
.
address
=
e
.
address
||
""
},
onReady
:
function
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
updateMarker
()},
methods
:{
goto
:
function
(){
var
t
=
"
iOS
"
===
weex
.
config
.
env
.
platform
;
!
function
(
t
,
n
,
a
,
o
){
var
i
=
[{
title
:
"
腾讯地图网页版
"
,
getUrl
:
function
(){
return
"
https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}],
r
=
[];[{
title
:
"
高德地图
"
,
pname
:
"
com.autonavi.minimap
"
,
action
:
o
?
"
iosamap://
"
:
"
amapuri://
"
,
getUrl
:
function
(){
var
e
;
return
e
=
o
?
"
iosamap://path
"
:
"
amapuri://route/plan/
"
,
e
+=
"
?sourceApplication=APP&dname=
"
+
encodeURIComponent
(
a
)
+
"
&dlat=
"
+
t
+
"
&dlon=
"
+
n
+
"
&dev=0
"
}},{
title
:
"
百度地图
"
,
pname
:
"
com.baidu.BaiduMap
"
,
action
:
"
baidumap://
"
,
getUrl
:
function
(){
return
"
baidumap://map/direction?destination=
"
+
encodeURIComponent
(
"
latlng:
"
+
t
+
"
,
"
+
n
+
"
|name:
"
+
a
)
+
"
&mode=driving&src=APP&coord_type=gcj02
"
}},{
title
:
"
腾讯地图
"
,
pname
:
"
com.tencent.map
"
,
action
:
"
qqmap://
"
,
getUrl
:
function
(){
return
"
qqmap://map/routeplan?type=drive
"
+
(
o
?
"
&from=
"
+
encodeURIComponent
(
"
我的位置
"
):
""
)
+
"
&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}].
forEach
(
function
(
t
){
e
.
runtime
.
isApplicationExist
({
pname
:
t
.
pname
,
action
:
t
.
action
})
&&
r
.
push
(
t
)}),
o
&&
r
.
unshift
({
title
:
"
Apple 地图
"
,
getUrl
:
function
(){
return
"
https://maps.apple.com/?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)}}),
0
===
r
.
length
&&
(
r
=
r
.
concat
(
i
)),
e
.
nativeUI
.
actionSheet
({
title
:
"
导航方式
"
,
cancel
:
"
取消
"
,
buttons
:
r
},
function
(
t
){
var
n
,
a
=
t
.
index
;
a
>
0
&&
(
n
=
r
[
a
-
1
],
e
.
runtime
.
openURL
(
n
.
getUrl
(),
function
(){},
n
.
pname
))})}(
this
.
latitude
,
this
.
longitude
,
this
.
name
,
t
)},
updateMarker
:
function
(){
this
.
mapContext
.
moveToLocation
(),
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
duration
:
0
},
function
(
e
){})}}};
t
.
default
=
i
}).
call
(
this
,
n
(
2
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
},
"
flex-r
"
:{
flexDirection
:
"
row
"
,
flexWrap
:
"
nowrap
"
},
"
flex-c
"
:{
flexDirection
:
"
column
"
,
flexWrap
:
"
nowrap
"
},
"
flex-fill
"
:{
flex
:
1
},
"
a-i-c
"
:{
alignItems
:
"
center
"
},
"
j-c-c
"
:{
justifyContent
:
"
center
"
},
target
:{
paddingTop
:
"
10
"
,
paddingBottom
:
"
10
"
},
"
text-area
"
:{
paddingLeft
:
"
10
"
,
paddingRight
:
"
10
"
,
flex
:
1
},
name
:{
fontSize
:
"
16
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
},
address
:{
fontSize
:
"
14
"
,
color
:
"
#808080
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
,
marginTop
:
"
2
"
},
"
goto-area
"
:{
paddingTop
:
0
,
paddingRight
:
"
15
"
,
paddingBottom
:
0
,
paddingLeft
:
"
15
"
},
"
goto-icon
"
:{
width
:
"
50
"
,
height
:
"
50
"
},
"
goto-text
"
:{
fontSize
:
"
14
"
,
color
:
"
#FFFFFF
"
}}},,,,,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
,
"
flex-c
"
]},[
n
(
"
map
"
,{
ref
:
"
map1
"
,
staticClass
:[
"
flex-fill
"
,
"
map
"
],
attrs
:{
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
,
markers
:
e
.
markers
}}),
n
(
"
view
"
,{
staticClass
:[
"
flex-r
"
,
"
a-i-c
"
,
"
target
"
]},[
n
(
"
view
"
,{
staticClass
:[
"
text-area
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
name
"
]},[
e
.
_v
(
e
.
_s
(
e
.
name
))]),
n
(
"
u-text
"
,{
staticClass
:[
"
address
"
]},[
e
.
_v
(
e
.
_s
(
e
.
address
))])]),
n
(
"
view
"
,{
staticClass
:[
"
goto-area
"
],
on
:{
click
:
e
.
goto
}},[
n
(
"
u-image
"
,{
staticClass
:[
"
goto-icon
"
],
attrs
:{
src
:
"
data:image/png;base64,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
"
}})],
1
)])],
1
)])},
o
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
16
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
o
.
a
},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
7
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniappopenlocation
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)}]);
\ No newline at end of file
!
function
(
e
){
var
t
=
{};
function
n
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
o
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
o
.
exports
,
o
,
o
.
exports
,
n
),
o
.
l
=!
0
,
o
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
n
.
d
(
a
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
42
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
o
,
i
,
r
,
s
,
u
,
c
){
var
l
,
f
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
u
){
f
.
components
||
(
f
.
components
=
{});
var
d
=
Object
.
prototype
.
hasOwnProperty
;
for
(
var
p
in
u
)
d
.
call
(
u
,
p
)
&&!
d
.
call
(
f
.
components
,
p
)
&&
(
f
.
components
[
p
]
=
u
[
p
])}
if
(
c
&&
((
c
.
beforeCreate
||
(
c
.
beforeCreate
=
[])).
unshift
((
function
(){
this
[
c
.
__module
]
=
this
})),(
f
.
mixins
||
(
f
.
mixins
=
[])).
push
(
c
)),
t
&&
(
f
.
render
=
t
,
f
.
staticRenderFns
=
n
,
f
.
_compiled
=!
0
),
a
&&
(
f
.
functional
=!
0
),
i
&&
(
f
.
_scopeId
=
"
data-v-
"
+
i
),
r
?(
l
=
function
(
e
){(
e
=
e
||
this
.
$vnode
&&
this
.
$vnode
.
ssrContext
||
this
.
parent
&&
this
.
parent
.
$vnode
&&
this
.
parent
.
$vnode
.
ssrContext
)
||
"
undefined
"
==
typeof
__VUE_SSR_CONTEXT__
||
(
e
=
__VUE_SSR_CONTEXT__
),
o
&&
o
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
r
)},
f
.
_ssrRegister
=
l
):
o
&&
(
l
=
s
?
function
(){
o
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
o
),
l
)
if
(
f
.
functional
){
f
.
_injectStyles
=
l
;
var
v
=
f
.
render
;
f
.
render
=
function
(
e
,
t
){
return
l
.
call
(
t
),
v
(
e
,
t
)}}
else
{
var
g
=
f
.
beforeCreate
;
f
.
beforeCreate
=
g
?[].
concat
(
g
,
l
):[
l
]}
return
{
exports
:
e
,
options
:
f
}}
n
.
d
(
t
,
"
a
"
,(
function
(){
return
a
}))},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
function
(
e
){
return
e
.
then
((
function
(
e
){
return
[
null
,
e
]})).
catch
((
function
(
e
){
return
[
e
]}))},
n
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
a
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
i
=
function
(
e
){
return
(
!
n
.
test
(
e
)
||
"
createBLEConnection
"
===
e
)
&&!~
a
.
indexOf
(
e
)},
r
=
function
(
n
){
return
function
(){
for
(
var
a
=
arguments
.
length
,
o
=
Array
(
a
>
1
?
a
-
1
:
0
),
i
=
1
;
i
<
a
;
i
++
)
o
[
i
-
1
]
=
arguments
[
i
];
var
r
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
r
.
success
)
||
e
(
r
.
fail
)
||
e
(
r
.
complete
)?
n
.
apply
(
void
0
,[
r
].
concat
(
o
)):
t
(
new
Promise
((
function
(
e
,
t
){
n
.
apply
(
void
0
,[
Object
.
assign
({},
r
,{
success
:
e
,
fail
:
t
})].
concat
(
o
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
((
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
return
n
}))}),(
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
throw
n
}))}))}})))}},
s
=
[],
u
=
void
0
;
function
c
(
e
){
s
.
forEach
((
function
(
t
){
return
t
({
origin
:
u
,
data
:
e
})}))}
var
l
=
o
.
webview
.
currentWebview
().
id
,
f
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
d
(
e
){
var
t
=
o
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
function
(
e
){
e
.
$processed
=!
0
;
var
t
=
o
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
f
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
A
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
s
.
push
(
e
)},
e
.
__uniapp_mask_id
){
u
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
r
=
o
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
r
=
r
.
parent
()
||
r
;
var
c
=
e
.
show
,
l
=
e
.
hide
,
d
=
e
.
close
,
p
=
function
(){
r
.
setStyle
({
mask
:
i
})},
v
=
function
(){
r
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
v
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
l
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
v
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
a
=
0
;
a
<
t
;
a
++
)
n
[
a
]
=
arguments
[
a
];
return
d
.
apply
(
e
,
n
)}}}(
t
),
t
}
f
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
l
&&
c
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
v
=
weex
.
requireModule
(
"
globalEvent
"
),
g
=
0
,
m
=
{};
v
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
y
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
c
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
P
&&
P
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
S
&&
S
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
_
&&
_
(
e
.
data
.
data
)}));
var
y
=
function
(
e
,
t
){
var
n
=
m
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
m
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
h
=
function
(
t
){
var
n
,
a
,
o
=
t
.
id
,
i
=
t
.
type
,
r
=
t
.
params
;
m
[
o
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
r
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
o
,
type
:
i
,
params
:
r
},
"
__uniapp__service
"
)};
function
A
(
e
){
p
.
postMessage
(
e
,
"
__uniapp__service
"
)}
var
b
=
function
(
e
){
return
function
(
t
){
h
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
P
=
void
0
,
S
=
void
0
,
w
=
void
0
,
_
=
void
0
;
function
x
(
e
){
P
=
e
}
function
C
(
e
){
S
=
e
}
function
M
(
e
){
w
=
e
}
function
I
(
e
){
_
=
e
}
function
k
(
e
){
return
weex
.
requireModule
(
e
)}
var
B
=
weex
.
requireModule
(
"
dom
"
),
E
=
weex
.
requireModule
(
"
globalEvent
"
),
O
=
[];
function
T
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
O
.
push
(
e
))}
E
.
addEventListener
(
"
plusMessage
"
,(
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
T
.
isUniAppReady
=!
0
,
O
.
length
&&
(
O
.
forEach
((
function
(
e
){
return
e
()})),
O
=
[]))}));
var
j
=
"
function
"
==
typeof
Symbol
&&
"
symbol
"
==
typeof
Symbol
.
iterator
?
function
(
e
){
return
typeof
e
}:
function
(
e
){
return
e
&&
"
function
"
==
typeof
Symbol
&&
e
.
constructor
===
Symbol
&&
e
!==
Symbol
.
prototype
?
"
symbol
"
:
typeof
e
},
L
=
weex
.
requireModule
(
"
stream
"
),
U
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"
GET
"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
j
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
n
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
((
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])})).
join
(
"
&
"
):
e
},
N
=
weex
.
requireModule
(
"
plusstorage
"
),
R
=
weex
.
requireModule
(
"
clipboard
"
),
V
=
function
(){
if
(
"
function
"
==
typeof
getUniEmitter
)
return
getUniEmitter
;
var
e
=
{
$on
:
function
(){
console
.
warn
(
"
uni.$on failed
"
)},
$off
:
function
(){
console
.
warn
(
"
uni.$off failed
"
)},
$once
:
function
(){
console
.
warn
(
"
uni.$once failed
"
)},
$emit
:
function
(){
console
.
warn
(
"
uni.$emit failed
"
)}};
return
function
(){
return
e
}}();
function
q
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
z
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
B
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
r
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
r
),
e
(
i
)
&&
i
(
r
)},
ready
:
T
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
o
=
t
.
header
,
i
=
t
.
method
,
r
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
v
=
{};
if
(
o
)
for
(
var
g
in
o
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
v
[
g
]
=
o
[
g
]:(
p
=!
0
,
v
[
"
Content-Type
"
]
=
o
[
g
]);
return
"
GET
"
===
r
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
U
(
a
)),
L
.
fetch
({
url
:
n
,
method
:
r
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
"
GET
"
!==
r
?
U
(
a
,
r
,
v
[
"
Content-Type
"
]):
""
},(
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
o
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)})),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
N
.
getItem
(
n
+
"
__TYPE
"
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
r
=
t
.
data
;
N
.
getItem
(
n
,(
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
r
&&
n
?(
"
String
"
!==
r
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
);
e
(
i
)
&&
i
(
t
)}))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
),
e
(
i
)
&&
i
(
t
)}))},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
o
=
t
.
success
,
i
=
t
.
fail
,
r
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
j
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
N
.
setItem
(
n
,
a
,(
function
(
t
){
"
success
"
===
t
.
result
?
N
.
setItem
(
n
+
"
__TYPE
"
,
s
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
o
)
&&
o
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
r
)
&&
r
(
t
)}))},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
N
.
removeItem
(
n
,(
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
i
)
&&
i
(
t
)})),
N
.
removeItem
(
n
+
"
__TYPE
"
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
);
R
.
getString
((
function
(
t
){
var
o
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
o
),
e
(
a
)
&&
a
(
o
)}))},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
o
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
R
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
o
)
&&
o
(
i
)},
onSubNVueMessage
:
c
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
q
(
V
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
q
(
V
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
q
(
V
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
q
(
V
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
F
=
{
os
:{
nvue
:
!
0
}},
D
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
D
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
A
;
if
(
"
requireNativePlugin
"
===
t
)
return
k
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
x
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
C
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
I
;
var
n
=
z
[
t
];
return
n
||
(
n
=
b
(
t
)),
i
(
t
)?
r
(
n
):
n
}}):(
Object
.
keys
(
F
).
forEach
((
function
(
e
){
D
[
e
]
=
F
[
e
]})),
D
.
postMessage
=
A
,
D
.
requireNativePlugin
=
k
,
D
.
onNavigationBarButtonTap
=
x
,
D
.
onNavigationBarSearchInputChanged
=
C
,
D
.
onNavigationBarSearchInputConfirmed
=
M
,
D
.
onNavigationBarSearchInputClicked
=
I
,
Object
.
keys
({
uploadFile
:
!
0
,
downloadFile
:
!
0
,
chooseImage
:
!
0
,
previewImage
:
!
0
,
getImageInfo
:
!
0
,
saveImageToPhotosAlbum
:
!
0
,
chooseVideo
:
!
0
,
saveVideoToPhotosAlbum
:
!
0
,
saveFile
:
!
0
,
getSavedFileList
:
!
0
,
getSavedFileInfo
:
!
0
,
removeSavedFile
:
!
0
,
openDocument
:
!
0
,
setStorage
:
!
0
,
getStorage
:
!
0
,
getStorageInfo
:
!
0
,
removeStorage
:
!
0
,
clearStorage
:
!
0
,
getLocation
:
!
0
,
chooseLocation
:
!
0
,
openLocation
:
!
0
,
getSystemInfo
:
!
0
,
getNetworkType
:
!
0
,
makePhoneCall
:
!
0
,
scanCode
:
!
0
,
setScreenBrightness
:
!
0
,
getScreenBrightness
:
!
0
,
setKeepScreenOn
:
!
0
,
vibrateLong
:
!
0
,
vibrateShort
:
!
0
,
addPhoneContact
:
!
0
,
showToast
:
!
0
,
showLoading
:
!
0
,
hideToast
:
!
0
,
hideLoading
:
!
0
,
showModal
:
!
0
,
showActionSheet
:
!
0
,
setNavigationBarTitle
:
!
0
,
setNavigationBarColor
:
!
0
,
navigateTo
:
!
0
,
redirectTo
:
!
0
,
reLaunch
:
!
0
,
switchTab
:
!
0
,
navigateBack
:
!
0
,
getProvider
:
!
0
,
login
:
!
0
,
getUserInfo
:
!
0
,
share
:
!
0
,
requestPayment
:
!
0
,
subscribePush
:
!
0
,
unsubscribePush
:
!
0
,
onPush
:
!
0
,
offPush
:
!
0
}).
forEach
((
function
(
e
){
var
t
=
z
[
e
];
t
||
(
t
=
b
(
e
)),
i
(
e
)?
D
[
e
]
=
r
(
t
):
D
[
e
]
=
t
}))),
D
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
i
=
a
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
this
.
initMessage
()},
methods
:{
initMessage
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
o
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
r
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
o
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
r
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,(
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)}));
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
o
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
)
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
o
);
else
{
var
i
=
new
BroadcastChannel
(
o
);
i
.
postMessage
(
a
)}
else
{
var
r
=
e
.
webview
.
getWebviewById
(
o
);
r
&&
r
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
29
),
o
=
n
(
14
),
i
=
n
(
1
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
a
.
b
,
a
.
c
,
!
1
,
null
,
null
,
"
6a1c7a00
"
,
!
1
,
a
.
a
,
void
0
);(
function
(
e
){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
),
Vue
.
prototype
.
__merge_style
?
Vue
.
prototype
.
__merge_style
(
n
(
37
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
37
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
15
),
o
=
n
.
n
(
a
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
,
o
=
(
a
=
n
(
5
))
&&
a
.
__esModule
?
a
:{
default
:
a
};
weex
.
requireModule
(
"
mapSearch
"
);
var
i
=
{
mixins
:[
o
.
default
],
data
:
function
(){
return
{
longitude
:
""
,
latitude
:
""
,
markers
:[],
name
:
""
,
address
:
""
}},
onLoad
:
function
(){
var
e
=
this
.
data
;
this
.
latitude
=
e
.
latitude
,
this
.
longitude
=
e
.
longitude
,
this
.
name
=
e
.
name
||
""
,
this
.
address
=
e
.
address
||
""
},
onReady
:
function
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
markers
=
[{
id
:
"
location
"
,
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
,
title
:
this
.
name
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,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
"
,
width
:
26
,
height
:
36
}],
this
.
updateMarker
()},
methods
:{
goto
:
function
(){
var
t
=
"
iOS
"
===
weex
.
config
.
env
.
platform
;
!
function
(
t
,
n
,
a
,
o
){
var
i
=
[{
title
:
"
腾讯地图网页版
"
,
getUrl
:
function
(){
return
"
https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}],
r
=
[];[{
title
:
"
高德地图
"
,
pname
:
"
com.autonavi.minimap
"
,
action
:
o
?
"
iosamap://
"
:
"
amapuri://
"
,
getUrl
:
function
(){
var
e
;
return
e
=
o
?
"
iosamap://path
"
:
"
amapuri://route/plan/
"
,
e
+=
"
?sourceApplication=APP&dname=
"
+
encodeURIComponent
(
a
)
+
"
&dlat=
"
+
t
+
"
&dlon=
"
+
n
+
"
&dev=0
"
}},{
title
:
"
百度地图
"
,
pname
:
"
com.baidu.BaiduMap
"
,
action
:
"
baidumap://
"
,
getUrl
:
function
(){
return
"
baidumap://map/direction?destination=
"
+
encodeURIComponent
(
"
latlng:
"
+
t
+
"
,
"
+
n
+
"
|name:
"
+
a
)
+
"
&mode=driving&src=APP&coord_type=gcj02
"
}},{
title
:
"
腾讯地图
"
,
pname
:
"
com.tencent.map
"
,
action
:
"
qqmap://
"
,
getUrl
:
function
(){
return
"
qqmap://map/routeplan?type=drive
"
+
(
o
?
"
&from=
"
+
encodeURIComponent
(
"
我的位置
"
):
""
)
+
"
&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)
+
"
&referer=APP
"
}}].
forEach
((
function
(
t
){
e
.
runtime
.
isApplicationExist
({
pname
:
t
.
pname
,
action
:
t
.
action
})
&&
r
.
push
(
t
)})),
o
&&
r
.
unshift
({
title
:
"
Apple 地图
"
,
getUrl
:
function
(){
return
"
https://maps.apple.com/?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
t
+
"
,
"
+
n
)}}),
0
===
r
.
length
&&
(
r
=
r
.
concat
(
i
)),
e
.
nativeUI
.
actionSheet
({
title
:
"
导航方式
"
,
cancel
:
"
取消
"
,
buttons
:
r
},(
function
(
t
){
var
n
,
a
=
t
.
index
;
a
>
0
&&
(
n
=
r
[
a
-
1
],
e
.
runtime
.
openURL
(
n
.
getUrl
(),(
function
(){}),
n
.
pname
))}))}(
this
.
latitude
,
this
.
longitude
,
this
.
name
,
t
)},
updateMarker
:
function
(){
this
.
mapContext
.
moveToLocation
(),
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
duration
:
0
},(
function
(
e
){}))}}};
t
.
default
=
i
}).
call
(
this
,
n
(
2
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
},
"
flex-r
"
:{
flexDirection
:
"
row
"
,
flexWrap
:
"
nowrap
"
},
"
flex-c
"
:{
flexDirection
:
"
column
"
,
flexWrap
:
"
nowrap
"
},
"
flex-fill
"
:{
flex
:
1
},
"
a-i-c
"
:{
alignItems
:
"
center
"
},
"
j-c-c
"
:{
justifyContent
:
"
center
"
},
target
:{
paddingTop
:
"
10
"
,
paddingBottom
:
"
10
"
},
"
text-area
"
:{
paddingLeft
:
"
10
"
,
paddingRight
:
"
10
"
,
flex
:
1
},
name
:{
fontSize
:
"
16
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
},
address
:{
fontSize
:
"
14
"
,
color
:
"
#808080
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
,
marginTop
:
"
2
"
},
"
goto-area
"
:{
paddingTop
:
0
,
paddingRight
:
"
15
"
,
paddingBottom
:
0
,
paddingLeft
:
"
15
"
},
"
goto-icon
"
:{
width
:
"
50
"
,
height
:
"
50
"
},
"
goto-text
"
:{
fontSize
:
"
14
"
,
color
:
"
#FFFFFF
"
}}},,,,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
,
"
flex-c
"
]},[
n
(
"
map
"
,{
ref
:
"
map1
"
,
staticClass
:[
"
flex-fill
"
,
"
map
"
],
attrs
:{
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
,
markers
:
e
.
markers
}}),
n
(
"
view
"
,{
staticClass
:[
"
flex-r
"
,
"
a-i-c
"
,
"
target
"
]},[
n
(
"
view
"
,{
staticClass
:[
"
text-area
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
name
"
]},[
e
.
_v
(
e
.
_s
(
e
.
name
))]),
n
(
"
u-text
"
,{
staticClass
:[
"
address
"
]},[
e
.
_v
(
e
.
_s
(
e
.
address
))])]),
n
(
"
view
"
,{
staticClass
:[
"
goto-area
"
],
on
:{
click
:
e
.
goto
}},[
n
(
"
u-image
"
,{
staticClass
:[
"
goto-icon
"
],
attrs
:{
src
:
"
data:image/png;base64,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
"
}})],
1
)])],
1
)])},
o
=
[];
n
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}))},,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
16
),
o
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
i
);
t
.
default
=
o
.
a
},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
7
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniappopenlocation
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)}]);
\ No newline at end of file
packages/uni-h5/dist/index.umd.min.js
浏览文件 @
1b7bd565
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
packages/vue-cli-plugin-uni/lib/app-plus/index.js
浏览文件 @
1b7bd565
...
...
@@ -236,6 +236,14 @@ const v3 = {
}
if
(
isAppView
)
{
if
(
process
.
env
.
UNI_USING_V3_SCOPED
)
{
webpackConfig
.
module
.
rule
(
'
vue
'
)
.
use
(
'
uniapp-app-style-scoped
'
)
.
loader
(
path
.
resolve
(
__dirname
,
'
../../packages/webpack-uni-app-loader/view/style
'
))
}
if
(
process
.
env
.
NODE_ENV
===
'
production
'
)
{
require
(
'
../h5/cssnano-options
'
)(
webpackConfig
)
}
...
...
packages/vue-cli-plugin-uni/lib/env.js
浏览文件 @
1b7bd565
...
...
@@ -26,6 +26,8 @@ global.uniPlugin.validate.forEach(validate => {
process
.
UNI_MANIFEST
=
manifestJsonObj
process
.
env
.
UNI_USING_V3_SCOPED
=
true
process
.
UNI_CLOUD
=
false
process
.
UNI_CLOUD_TCB
=
false
process
.
UNI_CLOUD_ALIYUN
=
false
...
...
@@ -408,6 +410,10 @@ global.uniPlugin.configureEnv.forEach(configureEnv => {
configureEnv
()
})
if
(
process
.
env
.
UNI_PLATFORM
.
startsWith
(
'
mp-
'
))
{
console
.
log
(
'
小程序各家浏览器内核及自定义组件实现机制存在差异,可能存在样式布局兼容问题,参考:https://uniapp.dcloud.io/matter?id=mp
'
)
}
runByHBuilderX
&&
console
.
log
(
'
正在编译中...
'
)
module
.
exports
=
{
...
...
packages/vue-cli-plugin-uni/packages/@vue/component-compiler-utils/dist/parse.js
浏览文件 @
1b7bd565
...
...
@@ -7,7 +7,8 @@ const splitRE = /\r?\n/g;
const
emptyRE
=
/^
(?:\/\/)?\s
*$/
;
function
parse
(
options
)
{
const
{
source
,
filename
=
''
,
compiler
,
compilerParseOptions
=
{
pad
:
'
line
'
},
sourceRoot
=
''
,
needMap
=
true
}
=
options
;
const
cacheKey
=
hash
(
filename
+
source
);
// fixed by xxxxxx (添加isAppNVue标记,防止nvue与vue引用相同组件时,走了相同的cache)
const
cacheKey
=
hash
(
String
(
options
.
isAppNVue
)
+
filename
+
source
);
let
output
=
cache
.
get
(
cacheKey
);
if
(
output
)
return
output
;
...
...
packages/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js
0 → 100644
浏览文件 @
1b7bd565
const
path
=
require
(
'
path
'
)
const
loaderUtils
=
require
(
'
loader-utils
'
)
const
isWin
=
/^win/
.
test
(
process
.
platform
)
const
normalizePath
=
path
=>
(
isWin
?
path
.
replace
(
/
\\
/g
,
'
/
'
)
:
path
)
const
AppPath
=
normalizePath
(
path
.
resolve
(
process
.
env
.
UNI_INPUT_DIR
,
'
App.vue
'
))
module
.
exports
=
function
(
content
)
{
this
.
cacheable
&&
this
.
cacheable
()
if
(
this
.
resourceQuery
)
{
const
params
=
loaderUtils
.
parseQuery
(
this
.
resourceQuery
)
if
(
params
.
mpType
===
'
page
'
)
{
return
content
}
}
if
(
normalizePath
(
this
.
resourcePath
)
===
AppPath
)
{
return
content
}
if
(
content
.
indexOf
(
'
platform="mp-weixin"
'
)
!==
-
1
)
{
return
content
}
return
content
.
replace
(
/
(
<style
\b[^
><
]
*
)
>/ig
,
'
$1 scoped>
'
)
}
packages/webpack-uni-pages-loader/lib/platforms/app-plus/define-pages.js
浏览文件 @
1b7bd565
...
...
@@ -3,7 +3,7 @@ function generatePageCode (pages, pageOptions) {
if
(
pageOptions
[
pagePath
].
nvue
)
{
return
''
}
return
`__definePage('
${
pagePath
}
',function(){return Vue.extend(require('
${
pagePath
}
.vue').default)})`
return
`__definePage('
${
pagePath
}
',function(){return Vue.extend(require('
${
pagePath
}
.vue
?mpType=page
').default)})`
}).
join
(
'
\n
'
)
}
...
...
src/core/helpers/patch.js
浏览文件 @
1b7bd565
...
...
@@ -6,10 +6,11 @@ import {
* mpvue event
*/
export
function
wrapperMPEvent
(
event
)
{
return
Object
.
assign
({
mp
:
event
,
_processed
:
true
event
.
mp
=
Object
.
assign
({
'
@warning
'
:
'
mp is deprecated
'
},
event
)
event
.
_processed
=
true
return
event
}
/**
* app-plus titleNView
...
...
src/core/view/components/canvas/index.vue
浏览文件 @
1b7bd565
...
...
@@ -279,37 +279,37 @@ export default {
}
},
preloadImage
:
function
(
actions
)
{
var
se
fl
=
this
var
se
lf
=
this
actions
.
forEach
(
function
(
action
)
{
var
method
=
action
.
method
var
data
=
action
.
data
var
src
=
''
if
(
method
===
'
drawImage
'
)
{
src
=
data
[
0
]
src
=
se
fl
.
$getRealPath
(
src
)
src
=
se
lf
.
$getRealPath
(
src
)
data
[
0
]
=
src
}
else
if
(
method
===
'
setFillStyle
'
&&
data
[
0
]
===
'
pattern
'
)
{
src
=
data
[
1
]
src
=
se
fl
.
$getRealPath
(
src
)
src
=
se
lf
.
$getRealPath
(
src
)
data
[
1
]
=
src
}
if
(
src
&&
!
se
fl
.
_images
[
src
])
{
if
(
src
&&
!
se
lf
.
_images
[
src
])
{
loadImage
()
}
/**
* 加载图像
*/
function
loadImage
()
{
se
fl
.
_images
[
src
]
=
new
Image
()
se
fl
.
_images
[
src
].
onload
=
function
()
{
se
fl
.
_images
[
src
].
ready
=
true
se
lf
.
_images
[
src
]
=
new
Image
()
se
lf
.
_images
[
src
].
onload
=
function
()
{
se
lf
.
_images
[
src
].
ready
=
true
}
/**
* 从Blob加载
* @param {Blob} blob
*/
function
loadBlob
(
blob
)
{
se
fl
.
_images
[
src
].
src
=
(
window
.
URL
||
window
.
webkitURL
).
createObjectURL
(
blob
)
se
lf
.
_images
[
src
].
src
=
(
window
.
URL
||
window
.
webkitURL
).
createObjectURL
(
blob
)
}
/**
* 从本地文件加载
...
...
@@ -318,7 +318,7 @@ export default {
function
loadFile
(
path
)
{
var
bitmap
=
new
plus
.
nativeObj
.
Bitmap
(
'
bitmap
'
+
Date
.
now
())
bitmap
.
load
(
path
,
function
()
{
se
fl
.
_images
[
src
].
src
=
bitmap
.
toBase64Data
()
se
lf
.
_images
[
src
].
src
=
bitmap
.
toBase64Data
()
bitmap
.
clear
()
},
function
()
{
bitmap
.
clear
()
...
...
@@ -337,7 +337,7 @@ export default {
if
(
status
===
200
)
{
loadFile
(
d
.
filename
)
}
else
{
se
fl
.
_images
[
src
].
src
=
src
se
lf
.
_images
[
src
].
src
=
src
}
}).
start
()
}
...
...
@@ -350,20 +350,20 @@ export default {
}
}
xhr
.
onerror
=
window
.
plus
?
plusDownload
:
function
()
{
se
fl
.
_images
[
src
].
src
=
src
se
lf
.
_images
[
src
].
src
=
src
}
xhr
.
send
()
}
if
(
window
.
plus
&&
(
!
window
.
webkit
||
!
window
.
webkit
.
messageHandlers
))
{
se
fl
.
_images
[
src
].
src
=
src
se
lf
.
_images
[
src
].
src
=
src
}
else
{
// 解决 PLUS-APP(wkwebview)以及 H5 图像跨域问题(H5图像响应头需包含access-control-allow-origin)
if
(
window
.
plus
&&
src
.
indexOf
(
'
http://
'
)
!==
0
&&
src
.
indexOf
(
'
https://
'
)
!==
0
)
{
loadFile
(
src
)
}
else
if
(
/^data:.*,.*/
.
test
(
src
))
{
se
fl
.
_images
[
src
].
src
=
src
se
lf
.
_images
[
src
].
src
=
src
}
else
{
loadUrl
(
src
)
}
...
...
src/core/view/components/editor/formats/image.js
浏览文件 @
1b7bd565
export
default
function
(
Quill
)
{
const
Image
=
Quill
.
import
(
'
formats/image
'
)
const
ATTRIBUTES
=
[
'
alt
'
,
'
height
'
,
'
width
'
,
'
data-custom
'
,
'
class
'
,
'
data-local
'
]
Image
.
sanitize
=
url
=>
url
Image
.
formats
=
function
formats
(
domNode
)
{
return
ATTRIBUTES
.
reduce
(
function
(
formats
,
attribute
)
{
if
(
domNode
.
hasAttribute
(
attribute
))
{
formats
[
attribute
]
=
domNode
.
getAttribute
(
attribute
)
}
return
formats
},
{})
}
const
format
=
Image
.
prototype
.
format
Image
.
prototype
.
format
=
function
(
name
,
value
)
{
if
(
ATTRIBUTES
.
indexOf
(
name
)
>
-
1
)
{
if
(
value
)
{
this
.
domNode
.
setAttribute
(
name
,
value
)
}
else
{
this
.
domNode
.
removeAttribute
(
name
)
}
}
else
{
format
.
call
(
this
,
name
,
value
)
}
}
}
src/core/view/components/editor/index.vue
浏览文件 @
1b7bd565
...
...
@@ -142,9 +142,15 @@ export default {
case
'
insertImage
'
:
{
range
=
quill
.
getSelection
(
true
)
const
{
src
=
''
,
alt
=
''
,
data
=
{}
}
=
options
quill
.
insertEmbed
(
range
.
index
,
'
image
'
,
this
.
$getRealPath
(
src
),
Quill
.
sources
.
USER
)
const
{
src
=
''
,
alt
=
''
,
width
=
''
,
height
=
''
,
extClass
=
''
,
data
=
{}
}
=
options
const
path
=
this
.
$getRealPath
(
src
)
quill
.
insertEmbed
(
range
.
index
,
'
image
'
,
path
,
Quill
.
sources
.
USER
)
const
local
=
/^
(
file|blob
)
:/
.
test
(
path
)
?
path
:
false
quill
.
formatText
(
range
.
index
,
1
,
'
data-local
'
,
local
)
quill
.
formatText
(
range
.
index
,
1
,
'
alt
'
,
alt
)
quill
.
formatText
(
range
.
index
,
1
,
'
width
'
,
width
)
quill
.
formatText
(
range
.
index
,
1
,
'
height
'
,
height
)
quill
.
formatText
(
range
.
index
,
1
,
'
class
'
,
extClass
)
quill
.
formatText
(
range
.
index
,
1
,
'
data-custom
'
,
Object
.
keys
(
data
).
map
(
key
=>
`
${
key
}
=
${
data
[
key
]}
`
).
join
(
'
&
'
))
quill
.
setSelection
(
range
.
index
+
1
,
Quill
.
sources
.
SILENT
)
}
...
...
src/core/view/components/image/index.vue
浏览文件 @
1b7bd565
...
...
@@ -34,8 +34,7 @@ export default {
return
{
originalWidth
:
0
,
originalHeight
:
0
,
availHeight
:
''
,
sizeFixed
:
false
availHeight
:
''
}
},
computed
:
{
...
...
@@ -43,7 +42,7 @@ export default {
return
this
.
originalWidth
&&
this
.
originalHeight
?
this
.
originalWidth
/
this
.
originalHeight
:
0
},
realImagePath
()
{
return
this
.
src
&&
this
.
$getRealPath
(
this
.
src
)
return
this
.
$getRealPath
(
this
.
src
)
},
modeStyle
()
{
let
size
=
'
auto
'
...
...
@@ -106,7 +105,6 @@ export default {
mode
(
newValue
,
oldValue
)
{
if
(
oldValue
===
'
widthFix
'
)
{
this
.
$el
.
style
.
height
=
this
.
availHeight
this
.
sizeFixed
=
false
}
if
(
newValue
===
'
widthFix
'
&&
this
.
ratio
)
{
this
.
_fixSize
()
...
...
@@ -123,7 +121,7 @@ export default {
},
methods
:
{
_resize
()
{
if
(
this
.
mode
===
'
widthFix
'
&&
!
this
.
sizeFixed
)
{
if
(
this
.
mode
===
'
widthFix
'
)
{
this
.
_fixSize
()
}
},
...
...
@@ -136,7 +134,6 @@ export default {
height
=
Math
.
round
(
height
/
2
)
*
2
}
this
.
$el
.
style
.
height
=
height
+
'
px
'
this
.
sizeFixed
=
true
}
},
_setContentImage
()
{
...
...
src/core/view/components/input/index.vue
浏览文件 @
1b7bd565
...
...
@@ -97,7 +97,7 @@ export default {
},
data
()
{
return
{
inputValue
:
this
.
value
+
''
,
inputValue
:
this
.
_getValueString
(
this
.
value
)
,
composing
:
false
,
wrapperHeight
:
0
,
cachedValue
:
''
...
...
@@ -133,7 +133,7 @@ export default {
value
&&
this
.
_focusInput
()
},
value
(
value
)
{
this
.
inputValue
=
value
+
''
this
.
inputValue
=
this
.
_getValueString
(
value
)
},
inputValue
(
value
)
{
this
.
$emit
(
'
update:value
'
,
value
)
...
...
@@ -255,6 +255,9 @@ export default {
value
:
this
.
inputValue
,
key
:
this
.
name
}
:
{}
},
_getValueString
(
value
)
{
return
value
===
null
?
''
:
String
(
value
)
}
}
}
...
...
@@ -295,7 +298,7 @@ uni-input[hidden] {
}
.uni-input-placeholder
,
.uni-input-input
{
.uni-input-input
{
width
:
100%
;
}
...
...
src/core/view/components/movable-area/index.vue
浏览文件 @
1b7bd565
<
script
>
import
{
disableScrollBounce
disableScrollBounce
,
deepClone
}
from
'
uni-shared
'
function
calc
(
e
)
{
...
...
@@ -142,8 +143,9 @@ export default {
},
render
(
createElement
)
{
var
items
=
[]
if
(
this
.
$slots
.
default
)
{
this
.
$slots
.
default
.
forEach
(
vnode
=>
{
const
$slots
=
this
.
$slots
.
default
&&
deepClone
(
this
.
$slots
.
default
,
createElement
)
if
(
$slots
)
{
$slots
.
forEach
(
vnode
=>
{
if
(
vnode
.
componentOptions
&&
vnode
.
componentOptions
.
tag
===
'
v-uni-movable-view
'
)
{
items
.
push
(
vnode
)
}
...
...
@@ -163,7 +165,7 @@ export default {
on
:
{
resize
:
this
.
_resize
}
}),
this
.
$slots
.
default
])
}),
$slots
])
}
}
</
script
>
...
...
src/core/view/components/picker-view/index.vue
浏览文件 @
1b7bd565
<
script
>
import
{
deepClone
}
from
'
uni-shared
'
export
default
{
name
:
'
PickerView
'
,
props
:
{
...
...
@@ -93,7 +95,7 @@ export default {
render
(
createElement
)
{
var
items
=
[]
if
(
this
.
$slots
.
default
)
{
this
.
$slots
.
default
.
forEach
(
vnode
=>
{
deepClone
(
this
.
$slots
.
default
,
createElement
)
.
forEach
(
vnode
=>
{
if
(
vnode
.
componentOptions
&&
vnode
.
componentOptions
.
tag
===
'
v-uni-picker-view-column
'
)
{
items
.
push
(
vnode
)
}
...
...
src/core/view/components/swiper/index.vue
浏览文件 @
1b7bd565
<
script
>
import
touchtrack
from
'
uni-mixins/touchtrack
'
function
deepClone
(
vnodes
,
createElement
)
{
function
cloneVNode
(
vnode
)
{
var
clonedChildren
=
vnode
.
children
&&
vnode
.
children
.
map
(
cloneVNode
)
var
cloned
=
createElement
(
vnode
.
tag
,
vnode
.
data
,
clonedChildren
)
cloned
.
text
=
vnode
.
text
cloned
.
isComment
=
vnode
.
isComment
cloned
.
componentOptions
=
vnode
.
componentOptions
cloned
.
elm
=
vnode
.
elm
cloned
.
context
=
vnode
.
context
cloned
.
ns
=
vnode
.
ns
cloned
.
isStatic
=
vnode
.
isStatic
cloned
.
key
=
vnode
.
key
return
cloned
}
return
vnodes
.
map
(
cloneVNode
)
}
import
{
deepClone
}
from
'
uni-shared
'
export
default
{
name
:
'
Swiper
'
,
...
...
src/core/view/components/textarea/index.vue
浏览文件 @
1b7bd565
...
...
@@ -119,7 +119,7 @@ export default {
},
data
()
{
return
{
valueSync
:
String
(
this
.
value
),
valueSync
:
this
.
_getValue
String
(
this
.
value
),
valueComposition
:
''
,
composition
:
false
,
focusSync
:
this
.
focus
,
...
...
@@ -152,7 +152,7 @@ export default {
},
watch
:
{
value
(
val
)
{
this
.
valueSync
=
String
(
val
)
this
.
valueSync
=
this
.
_getValue
String
(
val
)
},
valueSync
(
val
)
{
if
(
val
!==
this
.
_oldValue
)
{
...
...
@@ -296,6 +296,9 @@ export default {
},
_resetFormData
()
{
this
.
valueSync
=
''
},
_getValueString
(
value
)
{
return
value
===
null
?
''
:
String
(
value
)
}
}
}
...
...
src/core/view/mixins/base.js
浏览文件 @
1b7bd565
...
...
@@ -6,7 +6,7 @@ import {
export
default
{
methods
:
{
$getRealPath
(
src
)
{
return
getRealPath
(
src
)
return
src
?
getRealPath
(
src
)
:
src
},
$trigger
(
name
,
$event
,
detail
)
{
this
.
$emit
(
name
,
processEvent
.
call
(
this
,
name
,
$event
,
detail
,
this
.
$el
,
this
.
$el
))
...
...
src/core/view/mixins/keyboard.js
浏览文件 @
1b7bd565
...
...
@@ -107,6 +107,10 @@ export default {
UniViewJSBridge
.
unsubscribe
(
'
hideKeyboard
'
,
this
.
hideKeyboardTemp
)
document
.
removeEventListener
(
'
click
'
,
iosHideKeyboard
,
false
)
this
.
resetSoftinputNavBar
()
// 修复ios端显示与点击位置错位的Bug by:wyq
if
(
document
.
body
.
scrollIntoView
)
{
document
.
body
.
scrollIntoView
()
}
}
}
}
src/platforms/app-plus/service/api/media/choose-image.js
浏览文件 @
1b7bd565
...
...
@@ -97,7 +97,8 @@ const openCamera = function (callbackId, sizeType) {
const
camera
=
plus
.
camera
.
getCamera
()
camera
.
captureImage
(
e
=>
invokeChooseImage
(
callbackId
,
'
ok
'
,
sizeType
,
[
e
]),
e
=>
invokeChooseImage
(
callbackId
,
'
fail
'
,
1
),
{
filename
:
TEMP_PATH
+
'
/camera/
'
filename
:
TEMP_PATH
+
'
/camera/
'
,
resolution
:
'
high
'
})
}
const
openAlbum
=
function
(
callbackId
,
sizeType
,
count
)
{
...
...
src/platforms/app-plus/service/api/ui/popup.js
浏览文件 @
1b7bd565
...
...
@@ -168,7 +168,7 @@ export function showActionSheet ({
}
if
(
plus
.
os
.
name
===
'
iOS
'
)
{
options
.
cancel
=
'
取消
'
options
.
cancel
=
''
}
plus
.
nativeUI
.
actionSheet
(
Object
.
assign
(
options
,
{
popover
}),
(
e
)
=>
{
...
...
src/platforms/app-plus/service/framework/plugins/vdom-sync.js
浏览文件 @
1b7bd565
...
...
@@ -3,6 +3,10 @@ import {
noop
}
from
'
uni-shared
'
import
{
wrapperMPEvent
}
from
'
uni-helpers/patch
'
import
{
VD_SYNC
,
UI_EVENT
,
...
...
@@ -55,10 +59,7 @@ function wrapperEvent (event) {
parseTargets
(
event
)
event
.
preventDefault
=
noop
event
.
stopPropagation
=
noop
event
.
mp
=
event
return
Object
.
assign
({
mp
:
event
// mpvue
},
event
)
return
wrapperMPEvent
(
event
)
}
const
handleVdData
=
{
...
...
src/platforms/app-plus/view/components/map/index.vue
浏览文件 @
1b7bd565
...
...
@@ -166,7 +166,7 @@ export default {
this
.
map
&&
this
.
map
[
val
?
'
hide
'
:
'
show
'
]()
},
scale
(
val
)
{
this
.
map
&&
this
.
map
.
setZoom
(
val
)
this
.
map
&&
this
.
map
.
setZoom
(
parseInt
(
val
)
)
},
latitude
(
val
)
{
this
.
map
&&
this
.
map
.
setStyles
({
...
...
@@ -197,7 +197,7 @@ export default {
map
.
__markers__
=
{}
map
.
__lines__
=
[]
map
.
__circles__
=
[]
map
.
setZoom
(
this
.
scale
)
map
.
setZoom
(
parseInt
(
this
.
scale
)
)
plus
.
webview
.
currentWebview
().
append
(
map
)
if
(
this
.
hidden
)
{
map
.
hide
()
...
...
@@ -238,12 +238,13 @@ export default {
})
},
getCenterLocation
({
callbackId
})
{
const
center
=
this
.
map
.
getCenter
()
this
.
map
.
getCurrentCenter
((
state
,
point
)
=>
{
this
.
_publishHandler
(
callbackId
,
{
longitude
:
center
.
longitude
,
latitude
:
center
.
latitude
,
longitude
:
point
.
longitude
,
latitude
:
point
.
latitude
,
errMsg
:
'
getCenterLocation:ok
'
})
})
},
getRegion
({
callbackId
})
{
const
rect
=
this
.
map
.
getBounds
()
...
...
@@ -319,11 +320,18 @@ export default {
nativeMap
.
__markers__
[
id
+
''
]
=
nativeMarker
})
},
_clearMarkers
()
{
const
map
=
this
.
map
const
data
=
map
.
__markers__
for
(
const
key
in
data
)
{
map
.
removeOverlay
(
data
[
key
])
}
map
.
__markers__
=
{}
},
_addMarkers
(
markers
,
clear
)
{
if
(
this
.
map
)
{
if
(
clear
)
{
this
.
map
.
clearOverlays
()
this
.
map
.
__markers__
=
{}
this
.
_clearMarkers
()
}
markers
.
forEach
(
marker
=>
{
this
.
_addMarker
(
this
.
map
,
marker
)
...
...
src/platforms/app-plus/view/framework/plugins/data.js
浏览文件 @
1b7bd565
...
...
@@ -127,7 +127,7 @@ function getData (id, name) {
try
{
return
this
.
$r
[
id
][
name
]
}
catch
(
e
)
{
console
.
error
(
this
.
$options
.
__file
+
`:[
${
this
.
_$id
}
]$r[
${
id
}
][
${
name
}
] is undefined`
)
//
console.error(this.$options.__file + `:[${this._$id}]$r[${id}][${name}] is undefined`)
}
}
/**
...
...
@@ -143,7 +143,7 @@ function getChangeData (id, name) {
this
.
$set
(
this
.
wxsProps
,
wxsPropName
,
value
)
return
value
}
catch
(
e
)
{
console
.
error
(
this
.
$options
.
__file
+
`:[
${
this
.
_$id
}
]$r[
${
id
}
][
${
name
}
] is undefined`
)
//
console.error(this.$options.__file + `:[${this._$id}]$r[${id}][${name}] is undefined`)
}
}
...
...
src/platforms/h5/service/api/media/choose-image.js
浏览文件 @
1b7bd565
...
...
@@ -55,7 +55,7 @@ export function chooseImage ({
for
(
let
i
=
0
;
i
<
fileCount
;
i
++
)
{
const
file
=
event
.
target
.
files
[
i
]
let
filePath
Object
.
defineProperty
(
file
,
'
fileP
ath
'
,
{
Object
.
defineProperty
(
file
,
'
p
ath
'
,
{
get
()
{
filePath
=
filePath
||
fileToUrl
(
file
)
return
filePath
...
...
src/shared/util.js
浏览文件 @
1b7bd565
...
...
@@ -135,3 +135,21 @@ export function looseEqual (a, b) {
return
false
}
}
export
function
deepClone
(
vnodes
,
createElement
)
{
function
cloneVNode
(
vnode
)
{
var
clonedChildren
=
vnode
.
children
&&
vnode
.
children
.
map
(
cloneVNode
)
var
cloned
=
createElement
(
vnode
.
tag
,
vnode
.
data
,
clonedChildren
)
cloned
.
text
=
vnode
.
text
cloned
.
isComment
=
vnode
.
isComment
cloned
.
componentOptions
=
vnode
.
componentOptions
cloned
.
elm
=
vnode
.
elm
cloned
.
context
=
vnode
.
context
cloned
.
ns
=
vnode
.
ns
cloned
.
isStatic
=
vnode
.
isStatic
cloned
.
key
=
vnode
.
key
return
cloned
}
return
vnodes
.
map
(
cloneVNode
)
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录