Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ripplebb
uni-app
提交
c6a1a001
U
uni-app
项目概览
ripplebb
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c6a1a001
编写于
11月 07, 2019
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev' into v3
上级
8a45a591
aa95a0ca
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
4 deletion
+4
-4
packages/uni-cli-shared/template/common/__uniappchooselocation.js
.../uni-cli-shared/template/common/__uniappchooselocation.js
+1
-1
packages/uni-cli-shared/template/common/__uniappopenlocation.js
...es/uni-cli-shared/template/common/__uniappopenlocation.js
+1
-1
packages/uni-cli-shared/template/common/__uniapppicker.js
packages/uni-cli-shared/template/common/__uniapppicker.js
+1
-1
packages/uni-cli-shared/template/common/__uniappscan.js
packages/uni-cli-shared/template/common/__uniappscan.js
+1
-1
未找到文件。
packages/uni-cli-shared/template/common/__uniappchooselocation.js
浏览文件 @
c6a1a001
!
function
(
e
){
var
t
=
{};
function
a
(
n
){
if
(
t
[
n
])
return
t
[
n
].
exports
;
var
i
=
t
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
i
.
exports
,
i
,
i
.
exports
,
a
),
i
.
l
=!
0
,
i
.
exports
}
a
.
m
=
e
,
a
.
c
=
t
,
a
.
d
=
function
(
e
,
t
,
n
){
a
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
a
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
a
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
a
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
a
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
i
in
e
)
a
.
d
(
n
,
i
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
i
));
return
n
},
a
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
t
,
"
a
"
,
t
),
t
},
a
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
a
.
p
=
""
,
a
(
a
.
s
=
38
)}([
function
(
e
,
t
,
a
){
"
use strict
"
;
function
n
(
e
,
t
,
a
,
n
,
i
,
o
,
r
,
s
){
var
c
,
u
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
t
&&
(
u
.
render
=
t
,
u
.
staticRenderFns
=
a
,
u
.
_compiled
=!
0
),
n
&&
(
u
.
functional
=!
0
),
o
&&
(
u
.
_scopeId
=
"
data-v-
"
+
o
),
r
?(
c
=
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__
),
i
&&
i
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
r
)},
u
.
_ssrRegister
=
c
):
i
&&
(
c
=
s
?
function
(){
i
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
i
),
c
)
if
(
u
.
functional
){
u
.
_injectStyles
=
c
;
var
l
=
u
.
render
;
u
.
render
=
function
(
e
,
t
){
return
c
.
call
(
t
),
l
(
e
,
t
)}}
else
{
var
d
=
u
.
beforeCreate
;
u
.
beforeCreate
=
d
?[].
concat
(
d
,
c
):[
c
]}
return
{
exports
:
e
,
options
:
u
}}
a
.
d
(
t
,
"
a
"
,
function
(){
return
n
})},
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
3
),
i
=
a
.
n
(
n
);
for
(
var
o
in
n
)
"
default
"
!==
o
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
n
[
e
]})}(
o
);
t
.
default
=
i
.
a
},
function
(
e
,
t
,
a
){
"
use strict
"
;(
function
(
e
,
a
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
weex
.
requireModule
(
"
globalEvent
"
),
i
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
i
=
this
,
o
=
t
.
from
,
r
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
o
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
i
.
onClose
?
i
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
c
=
this
,
u
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
c
.
__onMessageCallback
&&
c
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
r
?
a
.
$on
(
this
.
__page
,
u
):
n
.
addEventListener
(
"
plusMessage
"
,
u
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
i
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
o
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
i
}};
if
(
i
||
(
"
v8-native
"
===
this
.
__runtime
?
a
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
n
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
o
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
a
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
o
))});
else
{
var
r
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
r
&&
r
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
o
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
i
}).
call
(
this
,
a
(
4
).
weexPlus
,
a
(
4
).
default
)},
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
n
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
a
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
n
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
a
.
indexOf
(
e
))},
o
=
function
(
t
){
return
function
(){
for
(
var
a
=
arguments
.
length
,
n
=
Array
(
a
>
1
?
a
-
1
:
0
),
i
=
1
;
i
<
a
;
i
++
)
n
[
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
)?
t
.
apply
(
void
0
,[
o
].
concat
(
n
)):
new
Promise
(
function
(
e
,
a
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
o
,{
success
:
e
,
fail
:
a
})].
concat
(
n
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
(
function
(
a
){
return
t
.
resolve
(
e
()).
then
(
function
(){
return
a
})},
function
(
a
){
return
t
.
resolve
(
e
()).
then
(
function
(){
throw
a
})})}}).
then
(
function
(
e
){
return
[
null
,
e
]}).
catch
(
function
(
e
){
return
[
e
]})}},
r
=
[],
s
=
void
0
;
function
c
(
e
){
r
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
u
=
i
.
webview
.
currentWebview
().
id
,
l
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
d
(
e
){
e
.
$processed
=!
0
;
var
t
=
i
.
webview
.
currentWebview
().
id
===
e
.
id
,
a
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
n
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
a
?
l
.
postMessage
({
data
:
e
,
to
:
t
?
a
:
n
}):
S
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
r
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
o
=
e
.
__uniapp_mask
,
c
=
i
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
c
=
c
.
parent
()
||
c
;
var
u
=
e
.
show
,
d
=
e
.
hide
,
f
=
e
.
close
,
p
=
function
(){
c
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
c
.
setStyle
({
mask
:
o
});
for
(
var
t
=
arguments
.
length
,
a
=
Array
(
t
),
n
=
0
;
n
<
t
;
n
++
)
a
[
n
]
=
arguments
[
n
];
return
u
.
apply
(
e
,
a
)},
e
.
hide
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
a
=
Array
(
t
),
n
=
0
;
n
<
t
;
n
++
)
a
[
n
]
=
arguments
[
n
];
return
d
.
apply
(
e
,
a
)},
e
.
close
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
a
=
Array
(
t
),
n
=
0
;
n
<
t
;
n
++
)
a
[
n
]
=
arguments
[
n
];
return
f
.
apply
(
e
,
a
)}}}
function
f
(
e
){
var
t
=
i
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
d
(
t
),
t
}
l
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
u
&&
c
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
h
=
weex
.
requireModule
(
"
globalEvent
"
),
g
=
0
,
v
=
{},
y
=
"
__uniapp__service
"
;
h
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
m
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
c
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
C
&&
C
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
x
&&
x
(
e
.
data
.
data
)});
var
m
=
function
(
e
,
t
){
var
a
=
v
[
e
];
a
?(
a
(
t
),
a
.
keepAlive
||
delete
v
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
_
=
function
(
t
){
var
a
,
n
,
i
=
t
.
id
,
o
=
t
.
type
,
r
=
t
.
params
;
v
[
i
]
=
(
n
=
function
(
t
){
e
(
a
)?
a
(
t
):
a
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
a
.
success
)
&&
a
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
a
.
fail
)
&&
a
.
fail
(
t
),
e
(
a
.
complete
)
&&
a
.
complete
(
t
))},(
e
(
a
=
r
)
||
a
&&
e
(
a
.
callback
))
&&
(
n
.
keepAlive
=!
0
),
n
),
p
.
postMessage
({
id
:
i
,
type
:
o
,
params
:
r
},
y
)};
function
S
(
e
){
p
.
postMessage
(
e
,
y
)}
var
b
=
function
(
e
){
return
function
(
t
){
_
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
A
=
void
0
,
w
=
void
0
,
C
=
void
0
,
x
=
void
0
;
function
P
(
e
){
A
=
e
}
function
T
(
e
){
w
=
e
}
function
k
(
e
){
C
=
e
}
function
L
(
e
){
x
=
e
}
function
M
(
e
){
return
weex
.
requireModule
(
e
)}
var
j
=
weex
.
requireModule
(
"
dom
"
),
O
=
weex
.
requireModule
(
"
globalEvent
"
),
I
=
[];
function
N
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
I
.
push
(
e
))}
O
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
N
.
isUniAppReady
=!
0
,
I
.
length
&&
(
I
.
forEach
(
function
(
e
){
return
e
()}),
I
=
[]))});
var
B
=
"
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
},
V
=
weex
.
requireModule
(
"
stream
"
),
E
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
E
,
a
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
B
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
a
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
(
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])}).
join
(
"
&
"
):
e
},
D
=
weex
.
requireModule
(
"
plusstorage
"
),
U
=
"
__TYPE
"
,
q
=
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
J
(
e
,
t
,
a
){
return
e
[
t
].
apply
(
e
,
a
)}
var
X
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
a
=
t
.
family
,
n
=
t
.
source
,
i
=
(
t
.
desc
,
t
.
success
),
o
=
(
t
.
fail
,
t
.
complete
);
j
.
addRule
(
"
fontFace
"
,{
fontFamily
:
a
,
src
:
n
.
replace
(
/"/g
,
"
'
"
)});
var
r
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
i
)
&&
i
(
r
),
e
(
o
)
&&
o
(
r
)},
ready
:
N
,
request
:
function
(
t
){
var
a
=
t
.
url
,
n
=
t
.
data
,
i
=
t
.
header
,
o
=
t
.
method
,
r
=
void
0
===
o
?
"
GET
"
:
o
,
s
=
t
.
dataType
,
c
=
void
0
===
s
?
"
json
"
:
s
,
u
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
d
=
t
.
complete
,
f
=!
1
,
p
=!
1
,
h
=
{};
if
(
i
)
for
(
var
g
in
i
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
h
[
g
]
=
i
[
g
]:(
p
=!
0
,
h
[
"
Content-Type
"
]
=
i
[
g
]);
return
r
===
E
&&
n
&&
(
a
=
a
+
(
~
a
.
indexOf
(
"
?
"
)?
"
&
"
===
a
.
substr
(
-
1
)
||
"
?
"
===
a
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
n
)),
V
.
fetch
({
url
:
a
,
method
:
r
,
headers
:
h
,
type
:
"
json
"
===
c
?
"
json
"
:
"
text
"
,
body
:
r
!==
E
?
R
(
n
,
r
,
h
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
a
=
t
.
status
,
n
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
i
=
t
.
headers
,
o
=
{};
!
a
||-
1
===
a
||
f
?(
o
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
o
)):(
o
.
data
=
n
,
o
.
statusCode
=
a
,
o
.
header
=
i
,
e
(
u
)
&&
u
(
o
)),
e
(
d
)
&&
d
(
o
)}),{
abort
:
function
(){
f
=!
0
}}},
getStorage
:
function
(
t
){
var
a
=
t
.
key
,
n
=
(
t
.
data
,
t
.
success
),
i
=
t
.
fail
,
o
=
t
.
complete
;
D
.
getItem
(
a
+
U
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
r
=
t
.
data
;
D
.
getItem
(
a
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
a
=
t
.
data
;
r
&&
a
?(
"
String
"
!==
r
&&
(
a
=
JSON
.
parse
(
a
)),
e
(
n
)
&&
n
({
errMsg
:
"
getStorage:ok
"
,
data
:
a
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
);
e
(
o
)
&&
o
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
),
e
(
o
)
&&
o
(
t
)})},
setStorage
:
function
(
t
){
var
a
=
t
.
key
,
n
=
t
.
data
,
i
=
t
.
success
,
o
=
t
.
fail
,
r
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
n
?
"
undefined
"
:
B
(
n
))
&&
(
s
=
"
Object
"
,
n
=
JSON
.
stringify
(
n
)),
D
.
setItem
(
a
,
n
,
function
(
t
){
"
success
"
===
t
.
result
?
D
.
setItem
(
a
+
U
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
i
)
&&
i
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
))}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
r
)
&&
r
(
t
)})},
removeStorage
:
function
(
t
){
var
a
=
t
.
key
,
n
=
(
t
.
data
,
t
.
success
),
i
=
t
.
fail
,
o
=
t
.
complete
;
D
.
removeItem
(
a
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
n
)
&&
n
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
o
)
&&
o
(
t
)}),
D
.
removeItem
(
a
+
U
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
a
=
t
.
success
,
n
=
(
t
.
fail
,
t
.
complete
);
q
.
getString
(
function
(
t
){
var
i
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
a
)
&&
a
(
i
),
e
(
n
)
&&
n
(
i
)})},
setClipboardData
:
function
(
t
){
var
a
=
t
.
data
,
n
=
t
.
success
,
i
=
(
t
.
fail
,
t
.
complete
),
o
=
{
errMsg
:
"
setClipboardData:ok
"
};
q
.
setString
(
a
),
e
(
n
)
&&
n
(
o
),
e
(
i
)
&&
i
(
o
)},
onSubNVueMessage
:
c
,
getSubNVueById
:
f
,
getCurrentSubNVue
:
function
(){
return
f
(
i
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
J
(
F
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
J
(
F
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
J
(
F
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
J
(
F
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
z
=
{
os
:{
nvue
:
!
0
}},
W
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
W
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
S
;
if
(
"
requireNativePlugin
"
===
t
)
return
M
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
P
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
T
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
k
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
L
;
var
a
=
X
[
t
];
return
a
||
(
a
=
b
(
t
)),
n
(
t
)?
o
(
a
):
a
}}):(
Object
.
keys
(
z
).
forEach
(
function
(
e
){
W
[
e
]
=
z
[
e
]}),
W
.
postMessage
=
S
,
W
.
requireNativePlugin
=
M
,
W
.
onNavigationBarButtonTap
=
P
,
W
.
onNavigationBarSearchInputChanged
=
T
,
W
.
onNavigationBarSearchInputConfirmed
=
k
,
W
.
onNavigationBarSearchInputClicked
=
L
,
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
=
b
(
e
)),
n
(
e
)?
W
[
e
]
=
o
(
t
):
W
[
e
]
=
t
})),
W
};
var
i
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
i
;
var
o
=
n
(
weex
,
i
,
BroadcastChannel
);
t
.
default
=
o
},
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
i
=
[];
a
.
d
(
t
,
"
a
"
,
function
(){
return
n
}),
a
.
d
(
t
,
"
b
"
,
function
(){
return
i
})},
function
(
e
,
t
,
a
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
a
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
1
),
i
=
a
.
n
(
n
);
for
(
var
o
in
n
)
"
default
"
!==
o
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
n
[
e
]})}(
o
);
t
.
default
=
i
.
a
},
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
5
),
i
=
a
(
2
);
for
(
var
o
in
i
)
"
default
"
!==
o
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
i
[
e
]})}(
o
);
var
r
=
a
(
0
);
var
s
=
Object
(
r
.
a
)(
i
.
default
,
n
.
a
,
n
.
b
,
!
1
,
null
,
null
,
"
690d182e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
30
),
i
=
a
(
13
),
o
=
a
(
0
);
var
r
=
Object
(
o
.
a
)(
i
.
default
,
n
.
a
,
n
.
b
,
!
1
,
null
,
null
,
"
15bd6345
"
);(
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
(
a
(
33
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
a
(
33
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
14
),
i
=
a
.
n
(
n
);
t
.
default
=
i
.
a
},
function
(
e
,
t
,
a
){
"
use strict
"
;(
function
(
e
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
i
,
o
=
(
i
=
a
(
8
))
&&
i
.
__esModule
?
i
:{
default
:
i
};
var
r
=
weex
.
requireModule
(
"
mapSearch
"
),
s
=
{
mixins
:[
o
.
default
],
data
:
function
(){
return
{
searchKeyword
:
""
,
latitude
:
39.908692
,
longitude
:
116.397477
,
nearList
:[],
nearSelectedIndex
:
-
1
,
noNearData
:
!
1
,
selectedIcon
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAaVBMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef84EEEWAAAAInRSTlMA+QQY6izG8NO6TphC3JReWSMoDLOfgXajf29lZEs7Hcep1l5DEAAAAPxJREFUOMuFU9cSgyAQBDSUgCVgSS/8/0cGc8E5FQdeOGaXud0rBB9mzdFYRtKnGDkVkktB+VgkYE27poCw6aheUxpxPqHn6SyaRe66NKsfpqyRll6+Njlfsp/jS1WkRFeXf/QUh6Stg3iCAHndMX6VPxltlaiMNdPXqp1iftviR+qHcN34ZJm6FO4/4XY0FOeuknhpp0jdCamHJA7GhjqQ2n2ctCpofPw8K+22OHm8I+HjvXIYj4SYYvSBwTAeU0SROjA6hnEQCTYjg2McbEKhZgbGoVC41HqJQ6lxs1iP8blZuN3WrdudG5jcyGWHNj/2+cXJr15+ebPr/wWbNBG/n/A0GgAAAABJRU5ErkJggg==
"
,
markers
:[{
id
:
"
location
"
,
latitude
:
39.908692
,
longitude
:
116.397477
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,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
"
,
width
:
26
,
height
:
36
}],
searchList
:[],
showSearch
:
!
1
,
noSearchData
:
!
1
}},
onLoad
:
function
(
e
){
var
t
=
this
,
a
=
JSON
.
parse
(
e
.
data
);
this
.
searchKeyword
=
a
.
keyword
||
""
,
this
.
_searchInputTimer
=
null
,
this
.
_centerPoint
=
{
latitude
:
39.908692
,
longitude
:
116.397477
},
this
.
_searchNearTimer
=
null
,
this
.
onMessage
(
function
(
e
){
var
a
=
t
.
nearList
[
t
.
nearSelectedIndex
],
n
=
{
name
:
a
.
name
,
address
:
a
.
address
,
latitude
:
a
.
location
.
latitude
,
longitude
:
a
.
location
.
longitude
};
t
.
postMessage
({
event
:
"
selected
"
,
detail
:
n
})})},
onReady
:
function
(){
this
.
mapContext
=
e
.
createMapContext
(
"
map1
"
,
this
),
this
.
getUserLocation
()},
onUnload
:
function
(){
this
.
clearSearchTimer
()},
methods
:{
getUserLocation
:
function
(){
var
t
=
this
;
e
.
getLocation
({
type
:
"
gcj02
"
,
success
:
function
(
e
){
t
.
moveToCenter
({
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
})}})},
searchclick
:
function
(
e
){
this
.
showSearch
=
e
,
!
1
===
e
&&
n
.
key
.
hideSoftKeybord
()},
showSearchView
:
function
(){
this
.
searchList
=
[],
this
.
showSearch
=!
0
},
hideSearchView
:
function
(){
this
.
showSearch
=!
1
,
n
.
key
.
hideSoftKeybord
(),
this
.
noSearchData
=!
1
},
onsearchinput
:
function
(
e
){
var
t
=
this
,
a
=
e
.
detail
.
value
.
replace
(
/^
\s
+|
\s
+$/g
,
""
);
this
.
clearSearchTimer
(),
this
.
_searchInputTimer
=
setTimeout
(
function
(){
clearTimeout
(
t
.
_searchInputTimer
),
t
.
search
(
a
)},
300
)},
clearSearchTimer
:
function
(){
this
.
_searchInputTimer
&&
clearTimeout
(
this
.
_searchInputTimer
)},
onregionchange
:
function
(
e
){
var
t
=
this
,
a
=
e
.
detail
,
n
=
a
.
type
||
e
.
type
;
"
drag
"
===
(
a
.
causedBy
||
e
.
causedBy
)
&&
"
end
"
===
n
&&
this
.
mapContext
.
getCenterLocation
({
success
:
function
(
e
){
t
.
moveToCenter
({
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
})}})},
onItemClick
:
function
(
e
,
t
){
t
.
stopPropagation
(),
this
.
nearSelectedIndex
!==
e
&&
(
this
.
nearSelectedIndex
=
e
),
this
.
updateMarker
(
this
.
nearList
[
e
].
location
)},
moveToCenter
:
function
(
e
){
this
.
latitude
=
e
.
latitude
,
this
.
longitude
=
e
.
longitude
,
this
.
updateCenter
(
e
)},
updateCenter
:
function
(
e
){
var
t
=
this
;
this
.
nearSelectedIndex
=-
1
,
this
.
nearList
=
[],
this
.
updateMarker
(
e
),
this
.
reverseGeocode
(
e
),
this
.
_centerPoint
=
e
,
this
.
_searchNearTimer
&&
clearTimeout
(
this
.
_searchNearTimer
),
this
.
_searchNearTimer
=
setTimeout
(
function
(){
clearTimeout
(
t
.
_searchNearTimer
),
t
.
searchNearByPoint
(
e
)},
300
)},
searchNearByPoint
:
function
(
e
){
var
t
=
this
;
this
.
noNearData
=!
1
,
r
.
poiSearchNearBy
({
point
:{
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
},
key
:
this
.
searchKeyword
,
radius
:
1
e3
},
function
(
e
){
e
.
poiList
&&
e
.
poiList
.
length
?
t
.
nearList
=
t
.
nearList
.
concat
(
e
.
poiList
):(
t
.
nearList
=
[],
t
.
noNearData
=!
0
)})},
updateMarker
:
function
(
e
){
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
},
duration
:
0
},
function
(
e
){})},
reverseGeocode
:
function
(
e
){
var
t
=
this
;
r
.
reverseGeocode
({
point
:
e
},
function
(
a
){
"
success
"
===
a
.
type
&&
t
.
nearList
.
splice
(
0
,
0
,{
code
:
a
.
code
,
location
:
e
,
name
:
"
地图位置
"
,
address
:
a
.
address
||
""
})})},
search
:
function
(
e
){
var
t
=
this
;
this
.
noSearchData
=!
1
,
r
.
poiSearchNearBy
({
point
:
this
.
_centerPoint
,
key
:
e
,
radius
:
5
e3
},
function
(
e
){
e
.
poiList
&&
e
.
poiList
.
length
?
t
.
searchList
=
e
.
poiList
:(
t
.
searchList
=
[],
t
.
noSearchData
=!
0
)})},
onSearchItemClick
:
function
(
e
){
this
.
nearSelectedIndex
=-
1
,
this
.
hideSearchView
(),
this
.
moveToCenter
(
e
.
location
)}}};
t
.
default
=
s
}).
call
(
this
,
a
(
4
).
default
,
a
(
4
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
,
position
:
"
relative
"
},
"
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
"
},
"
search-bar
"
:{
paddingTop
:
"
10
"
,
paddingRight
:
"
15
"
,
paddingBottom
:
"
10
"
,
paddingLeft
:
"
15
"
,
backgroundColor
:
"
#ffffff
"
,
borderBottomStyle
:
"
solid
"
,
borderBottomWidth
:
"
1
"
,
borderBottomColor
:
"
#D3D3D3
"
},
"
search-area
"
:{
backgroundColor
:
"
#ebebeb
"
,
borderRadius
:
"
5
"
,
height
:
"
28
"
},
"
search-text
"
:{
fontSize
:
"
14
"
,
color
:
"
#b4b4b4
"
,
paddingTop
:
"
4
"
,
paddingRight
:
"
4
"
,
paddingBottom
:
"
4
"
,
paddingLeft
:
"
4
"
},
"
no-data
"
:{
color
:
"
#808080
"
},
"
no-data-search
"
:{
marginTop
:
"
50
"
},
map
:{
width
:
"
750rpx
"
,
height
:
"
220
"
},
"
list-view
"
:{
borderTopStyle
:
"
solid
"
,
borderTopWidth
:
"
1
"
,
borderTopColor
:
"
#D3D3D3
"
},
"
list-item
"
:{
position
:
"
relative
"
,
paddingTop
:
"
12
"
,
paddingRight
:
"
15
"
,
paddingBottom
:
"
12
"
,
paddingLeft
:
"
15
"
},
"
list-line
"
:{
position
:
"
absolute
"
,
left
:
"
15
"
,
right
:
0
,
bottom
:
0
,
height
:
"
1
"
,
backgroundColor
:
"
#d3d3d3
"
},
"
list-name
"
:{
fontSize
:
"
14
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
},
"
list-address
"
:{
fontSize
:
"
12
"
,
color
:
"
#808080
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
,
marginTop
:
"
5
"
},
"
list-icon-area
"
:{
paddingLeft
:
"
10
"
,
paddingRight
:
"
10
"
},
"
list-selected-icon
"
:{
width
:
"
20
"
,
height
:
"
20
"
},
"
search-view
"
:{
position
:
"
absolute
"
,
left
:
0
,
top
:
0
,
right
:
0
,
bottom
:
0
,
backgroundColor
:
"
#f6f6f6
"
},
"
search-input
"
:{
fontSize
:
"
14
"
,
height
:
"
28
"
,
paddingLeft
:
"
6
"
},
"
search-cancel
"
:{
color
:
"
#0079FF
"
,
marginLeft
:
"
10
"
}}},,,,,,,,,,,,,,,
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
a
(
"
view
"
,{
staticClass
:[
"
page
"
,
"
flex-c
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-bar
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-area
"
,
"
flex-r
"
,
"
a-i-c
"
,
"
j-c-c
"
],
on
:{
click
:
e
.
showSearchView
}},[
a
(
"
u-text
"
,{
staticClass
:[
"
search-text
"
]},[
e
.
_v
(
"
搜索地点
"
)])])]),
a
(
"
map
"
,{
staticClass
:[
"
map
"
],
attrs
:{
id
:
"
map1
"
,
showLocation
:
!
0
,
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
,
markers
:
e
.
markers
},
on
:{
regionchange
:
e
.
onregionchange
}}),
e
.
noNearData
?
e
.
_e
():
a
(
"
list
"
,{
staticClass
:[
"
flex-fill
"
,
"
list-view
"
]},
e
.
_l
(
e
.
nearList
,
function
(
t
,
n
){
return
a
(
"
cell
"
,{
key
:
t
.
uid
,
appendAsTree
:
!
0
,
attrs
:{
append
:
"
tree
"
}},[
a
(
"
view
"
,{
staticClass
:[
"
list-item
"
],
on
:{
click
:
function
(
t
){
e
.
onItemClick
(
n
,
t
)}}},[
a
(
"
view
"
,{
staticClass
:[
"
flex-r
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
list-text-area
"
,
"
flex-fill
"
,
"
flex-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
list-name
"
]},[
e
.
_v
(
e
.
_s
(
t
.
name
.
replace
(
/
\\
/g
,
""
)))]),
a
(
"
u-text
"
,{
staticClass
:[
"
list-address
"
]},[
e
.
_v
(
e
.
_s
(
t
.
address
.
replace
(
/
\\
/g
,
""
)))])]),
n
===
e
.
nearSelectedIndex
?
a
(
"
view
"
,{
staticClass
:[
"
list-icon-area
"
,
"
flex-r
"
,
"
a-i-c
"
,
"
j-c-c
"
]},[
a
(
"
u-image
"
,{
staticClass
:[
"
list-selected-icon
"
],
attrs
:{
src
:
e
.
selectedIcon
}})],
1
):
e
.
_e
()]),
a
(
"
view
"
,{
staticClass
:[
"
list-line
"
]})])])}),
0
),
e
.
noNearData
?
a
(
"
view
"
,{
staticClass
:[
"
flex-fill
"
,
"
flex-r
"
,
"
a-i-c
"
,
"
j-c-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
no-data
"
]},[
e
.
_v
(
"
对不起,没有搜索到相关数据!
"
)])]):
e
.
_e
(),
e
.
showSearch
?
a
(
"
view
"
,{
staticClass
:[
"
search-view
"
,
"
flex-c
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-bar
"
,
"
flex-r
"
,
"
a-i-c
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-area
"
,
"
flex-fill
"
,
"
flex-r
"
]},[
a
(
"
u-input
"
,{
staticClass
:[
"
search-input
"
,
"
flex-fill
"
],
attrs
:{
focus
:
!
0
,
placeholder
:
"
搜索地点
"
},
on
:{
input
:
e
.
onsearchinput
}})],
1
),
a
(
"
u-text
"
,{
staticClass
:[
"
search-cancel
"
],
on
:{
click
:
e
.
hideSearchView
}},[
e
.
_v
(
"
取消
"
)])]),
e
.
noSearchData
?
e
.
_e
():
a
(
"
list
"
,{
staticClass
:[
"
flex-fill
"
,
"
list-view
"
]},
e
.
_l
(
e
.
searchList
,
function
(
t
,
n
){
return
a
(
"
cell
"
,{
key
:
t
.
uid
,
appendAsTree
:
!
0
,
attrs
:{
append
:
"
tree
"
}},[
a
(
"
view
"
,{
staticClass
:[
"
list-item
"
],
on
:{
click
:
function
(
a
){
e
.
onSearchItemClick
(
t
)}}},[
a
(
"
view
"
,{
staticClass
:[
"
flex-r
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
list-text-area
"
,
"
flex-fill
"
,
"
flex-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
list-name
"
]},[
e
.
_v
(
e
.
_s
(
t
.
name
.
replace
(
/
\\
/g
,
""
)))]),
a
(
"
u-text
"
,{
staticClass
:[
"
list-address
"
]},[
e
.
_v
(
e
.
_s
(
t
.
address
.
replace
(
/
\\
/g
,
""
)))])])]),
a
(
"
view
"
,{
staticClass
:[
"
list-line
"
]})])])}),
0
),
e
.
noSearchData
?
a
(
"
view
"
,{
staticClass
:[
"
flex-fill
"
,
"
flex-r
"
,
"
j-c-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
no-data
"
,
"
no-data-search
"
]},[
e
.
_v
(
"
对不起,没有搜索到相关数据!
"
)])]):
e
.
_e
()]):
e
.
_e
()],
1
)])},
i
=
[];
a
.
d
(
t
,
"
a
"
,
function
(){
return
n
}),
a
.
d
(
t
,
"
b
"
,
function
(){
return
i
})},,,
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
15
),
i
=
a
.
n
(
n
);
for
(
var
o
in
n
)
"
default
"
!==
o
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
n
[
e
]})}(
o
);
t
.
default
=
i
.
a
},,,,,
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
a
(
6
);
var
n
=
a
(
9
);
n
.
default
.
mpType
=
"
page
"
,
n
.
default
.
route
=
"
__uniappchooselocation
"
,
n
.
default
.
el
=
"
#root
"
,
new
Vue
(
n
.
default
)}]);
\ No newline at end of file
!
function
(
e
){
var
t
=
{};
function
a
(
n
){
if
(
t
[
n
])
return
t
[
n
].
exports
;
var
o
=
t
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
o
.
exports
,
o
,
o
.
exports
,
a
),
o
.
l
=!
0
,
o
.
exports
}
a
.
m
=
e
,
a
.
c
=
t
,
a
.
d
=
function
(
e
,
t
,
n
){
a
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
a
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
a
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
a
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
a
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
a
.
d
(
n
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
n
},
a
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
t
,
"
a
"
,
t
),
t
},
a
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
a
.
p
=
""
,
a
(
a
.
s
=
38
)}([
function
(
e
,
t
,
a
){
"
use strict
"
;
function
n
(
e
,
t
,
a
,
n
,
o
,
i
,
r
,
s
){
var
c
,
l
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
t
&&
(
l
.
render
=
t
,
l
.
staticRenderFns
=
a
,
l
.
_compiled
=!
0
),
n
&&
(
l
.
functional
=!
0
),
i
&&
(
l
.
_scopeId
=
"
data-v-
"
+
i
),
r
?(
c
=
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
)},
l
.
_ssrRegister
=
c
):
o
&&
(
c
=
s
?
function
(){
o
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
o
),
c
)
if
(
l
.
functional
){
l
.
_injectStyles
=
c
;
var
u
=
l
.
render
;
l
.
render
=
function
(
e
,
t
){
return
c
.
call
(
t
),
u
(
e
,
t
)}}
else
{
var
d
=
l
.
beforeCreate
;
l
.
beforeCreate
=
d
?[].
concat
(
d
,
c
):[
c
]}
return
{
exports
:
e
,
options
:
l
}}
a
.
d
(
t
,
"
a
"
,
function
(){
return
n
})},
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
3
),
o
=
a
.
n
(
n
);
for
(
var
i
in
n
)
"
default
"
!==
i
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
n
[
e
]})}(
i
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
a
){
"
use strict
"
;(
function
(
e
,
a
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
weex
.
requireModule
(
"
globalEvent
"
),
o
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
o
=
this
,
i
=
t
.
from
,
r
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
i
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
o
.
onClose
?
o
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
c
=
this
,
l
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
c
.
__onMessageCallback
&&
c
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
r
?
a
.
$on
(
this
.
__page
,
l
):
n
.
addEventListener
(
"
plusMessage
"
,
l
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
o
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
i
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
o
}};
if
(
o
||
(
"
v8-native
"
===
this
.
__runtime
?
a
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
n
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
i
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
a
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
i
))});
else
{
var
r
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
r
&&
r
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
i
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
o
}).
call
(
this
,
a
(
5
).
weexPlus
,
a
(
5
).
default
)},
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
o
=
[];
a
.
d
(
t
,
"
a
"
,
function
(){
return
n
}),
a
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
n
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
a
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
n
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
a
.
indexOf
(
e
))},
i
=
function
(
t
){
return
function
(){
for
(
var
a
=
arguments
.
length
,
n
=
Array
(
a
>
1
?
a
-
1
:
0
),
o
=
1
;
o
<
a
;
o
++
)
n
[
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
(
n
)):
new
Promise
(
function
(
e
,
a
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
i
,{
success
:
e
,
fail
:
a
})].
concat
(
n
)),
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
(
function
(
a
){
return
t
.
resolve
(
e
()).
then
(
function
(){
return
a
})},
function
(
a
){
return
t
.
resolve
(
e
()).
then
(
function
(){
throw
a
})})}}).
then
(
function
(
e
){
return
[
null
,
e
]}).
catch
(
function
(
e
){
return
[
e
]})}},
r
=
[],
s
=
void
0
;
function
c
(
e
){
r
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
l
=
o
.
webview
.
currentWebview
().
id
,
u
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
d
(
e
){
e
.
$processed
=!
0
;
var
t
=
o
.
webview
.
currentWebview
().
id
===
e
.
id
,
a
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
n
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
a
?
u
.
postMessage
({
data
:
e
,
to
:
t
?
a
:
n
}):
S
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
r
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
c
=
o
.
webview
.
getWebviewById
(
e
.
__uniapp_mask_id
);
c
=
c
.
parent
()
||
c
;
var
l
=
e
.
show
,
d
=
e
.
hide
,
f
=
e
.
close
,
p
=
function
(){
c
.
setStyle
({
mask
:
"
none
"
})};
e
.
show
=
function
(){
c
.
setStyle
({
mask
:
i
});
for
(
var
t
=
arguments
.
length
,
a
=
Array
(
t
),
n
=
0
;
n
<
t
;
n
++
)
a
[
n
]
=
arguments
[
n
];
return
l
.
apply
(
e
,
a
)},
e
.
hide
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
a
=
Array
(
t
),
n
=
0
;
n
<
t
;
n
++
)
a
[
n
]
=
arguments
[
n
];
return
d
.
apply
(
e
,
a
)},
e
.
close
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
a
=
Array
(
t
),
n
=
0
;
n
<
t
;
n
++
)
a
[
n
]
=
arguments
[
n
];
return
f
.
apply
(
e
,
a
)}}}
function
f
(
e
){
var
t
=
o
.
webview
.
getWebviewById
(
e
);
return
t
&&!
t
.
$processed
&&
d
(
t
),
t
}
u
.
onmessage
=
function
(
e
){
e
.
data
.
to
===
l
&&
c
(
e
.
data
.
data
)};
var
p
=
weex
.
requireModule
(
"
plus
"
),
h
=
weex
.
requireModule
(
"
globalEvent
"
),
g
=
0
,
v
=
{},
y
=
"
__uniapp__service
"
;
h
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
m
(
e
.
data
.
id
,
e
.
data
.
data
):
"
UniAppSubNVue
"
===
e
.
data
.
type
?
c
(
e
.
data
.
data
,
e
.
data
.
options
):
"
onNavigationBarButtonTap
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputChanged
"
===
e
.
data
.
type
?
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
C
&&
C
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
x
&&
x
(
e
.
data
.
data
)});
var
m
=
function
(
e
,
t
){
var
a
=
v
[
e
];
a
?(
a
(
t
),
a
.
keepAlive
||
delete
v
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
_
=
function
(
t
){
var
a
,
n
,
o
=
t
.
id
,
i
=
t
.
type
,
r
=
t
.
params
;
v
[
o
]
=
(
n
=
function
(
t
){
e
(
a
)?
a
(
t
):
a
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
a
.
success
)
&&
a
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
a
.
fail
)
&&
a
.
fail
(
t
),
e
(
a
.
complete
)
&&
a
.
complete
(
t
))},(
e
(
a
=
r
)
||
a
&&
e
(
a
.
callback
))
&&
(
n
.
keepAlive
=!
0
),
n
),
p
.
postMessage
({
id
:
o
,
type
:
i
,
params
:
r
},
y
)};
function
S
(
e
){
p
.
postMessage
(
e
,
y
)}
var
b
=
function
(
e
){
return
function
(
t
){
_
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
w
=
void
0
,
A
=
void
0
,
C
=
void
0
,
x
=
void
0
;
function
L
(
e
){
w
=
e
}
function
P
(
e
){
A
=
e
}
function
M
(
e
){
C
=
e
}
function
k
(
e
){
x
=
e
}
function
j
(
e
){
return
weex
.
requireModule
(
e
)}
var
T
=
weex
.
requireModule
(
"
dom
"
),
O
=
weex
.
requireModule
(
"
globalEvent
"
),
N
=
[];
function
I
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
N
.
push
(
e
))}
O
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
I
.
isUniAppReady
=!
0
,
N
.
length
&&
(
N
.
forEach
(
function
(
e
){
return
e
()}),
N
=
[]))});
var
E
=
"
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
},
B
=
weex
.
requireModule
(
"
stream
"
),
V
=
"
GET
"
,
U
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
V
,
a
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
E
(
e
))?
"
POST
"
===
t
.
toUpperCase
()
&&
"
application/json
"
===
a
.
toLowerCase
()?
JSON
.
stringify
(
e
):
Object
.
keys
(
e
).
map
(
function
(
t
){
return
encodeURIComponent
(
t
)
+
"
=
"
+
encodeURIComponent
(
e
[
t
])}).
join
(
"
&
"
):
e
},
R
=
weex
.
requireModule
(
"
plusstorage
"
),
D
=
"
__TYPE
"
,
q
=
weex
.
requireModule
(
"
clipboard
"
),
J
=
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
F
(
e
,
t
,
a
){
return
e
[
t
].
apply
(
e
,
a
)}
var
X
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
a
=
t
.
family
,
n
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
T
.
addRule
(
"
fontFace
"
,{
fontFamily
:
a
,
src
:
n
.
replace
(
/"/g
,
"
'
"
)});
var
r
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
r
),
e
(
i
)
&&
i
(
r
)},
ready
:
I
,
request
:
function
(
t
){
var
a
=
t
.
url
,
n
=
t
.
data
,
o
=
t
.
header
,
i
=
t
.
method
,
r
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
c
=
void
0
===
s
?
"
json
"
:
s
,
l
=
(
t
.
responseType
,
t
.
success
),
u
=
t
.
fail
,
d
=
t
.
complete
,
f
=!
1
,
p
=!
1
,
h
=
{};
if
(
o
)
for
(
var
g
in
o
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
h
[
g
]
=
o
[
g
]:(
p
=!
0
,
h
[
"
Content-Type
"
]
=
o
[
g
]);
return
r
===
V
&&
n
&&
(
a
=
a
+
(
~
a
.
indexOf
(
"
?
"
)?
"
&
"
===
a
.
substr
(
-
1
)
||
"
?
"
===
a
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
U
(
n
)),
B
.
fetch
({
url
:
a
,
method
:
r
,
headers
:
h
,
type
:
"
json
"
===
c
?
"
json
"
:
"
text
"
,
body
:
r
!==
V
?
U
(
n
,
r
,
h
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
a
=
t
.
status
,
n
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
i
=
{};
!
a
||-
1
===
a
||
f
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
u
)
&&
u
(
i
)):(
i
.
data
=
n
,
i
.
statusCode
=
a
,
i
.
header
=
o
,
e
(
l
)
&&
l
(
i
)),
e
(
d
)
&&
d
(
i
)}),{
abort
:
function
(){
f
=!
0
}}},
getStorage
:
function
(
t
){
var
a
=
t
.
key
,
n
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
R
.
getItem
(
a
+
D
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
r
=
t
.
data
;
R
.
getItem
(
a
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
a
=
t
.
data
;
r
&&
a
?(
"
String
"
!==
r
&&
(
a
=
JSON
.
parse
(
a
)),
e
(
n
)
&&
n
({
errMsg
:
"
getStorage:ok
"
,
data
:
a
})):(
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
a
=
t
.
key
,
n
=
t
.
data
,
o
=
t
.
success
,
i
=
t
.
fail
,
r
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
n
?
"
undefined
"
:
E
(
n
))
&&
(
s
=
"
Object
"
,
n
=
JSON
.
stringify
(
n
)),
R
.
setItem
(
a
,
n
,
function
(
t
){
"
success
"
===
t
.
result
?
R
.
setItem
(
a
+
D
,
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
a
=
t
.
key
,
n
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
i
=
t
.
complete
;
R
.
removeItem
(
a
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
n
)
&&
n
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
i
)
&&
i
(
t
)}),
R
.
removeItem
(
a
+
D
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
a
=
t
.
success
,
n
=
(
t
.
fail
,
t
.
complete
);
q
.
getString
(
function
(
t
){
var
o
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
a
)
&&
a
(
o
),
e
(
n
)
&&
n
(
o
)})},
setClipboardData
:
function
(
t
){
var
a
=
t
.
data
,
n
=
t
.
success
,
o
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
q
.
setString
(
a
),
e
(
n
)
&&
n
(
i
),
e
(
o
)
&&
o
(
i
)},
onSubNVueMessage
:
c
,
getSubNVueById
:
f
,
getCurrentSubNVue
:
function
(){
return
f
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
F
(
J
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
F
(
J
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
F
(
J
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
F
(
J
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
z
=
{
os
:{
nvue
:
!
0
}},
W
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
W
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
S
;
if
(
"
requireNativePlugin
"
===
t
)
return
j
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
L
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
P
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
k
;
var
a
=
X
[
t
];
return
a
||
(
a
=
b
(
t
)),
n
(
t
)?
i
(
a
):
a
}}):(
Object
.
keys
(
z
).
forEach
(
function
(
e
){
W
[
e
]
=
z
[
e
]}),
W
.
postMessage
=
S
,
W
.
requireNativePlugin
=
j
,
W
.
onNavigationBarButtonTap
=
L
,
W
.
onNavigationBarSearchInputChanged
=
P
,
W
.
onNavigationBarSearchInputConfirmed
=
M
,
W
.
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
=
b
(
e
)),
n
(
e
)?
W
[
e
]
=
i
(
t
):
W
[
e
]
=
t
})),
W
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
i
=
n
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
a
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
a
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
1
),
o
=
a
.
n
(
n
);
for
(
var
i
in
n
)
"
default
"
!==
i
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
n
[
e
]})}(
i
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
4
),
o
=
a
(
2
);
for
(
var
i
in
o
)
"
default
"
!==
i
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
o
[
e
]})}(
i
);
var
r
=
a
(
0
);
var
s
=
Object
(
r
.
a
)(
o
.
default
,
n
.
a
,
n
.
b
,
!
1
,
null
,
null
,
"
66394a0e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
30
),
o
=
a
(
13
),
i
=
a
(
0
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
n
.
a
,
n
.
b
,
!
1
,
null
,
null
,
"
058da7cc
"
);(
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
(
a
(
33
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
a
(
33
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
a
(
14
),
o
=
a
.
n
(
n
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
a
){
"
use strict
"
;(
function
(
e
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
,
i
=
(
o
=
a
(
8
))
&&
o
.
__esModule
?
o
:{
default
:
o
};
var
r
=
weex
.
requireModule
(
"
mapSearch
"
),
s
=
{
mixins
:[
i
.
default
],
data
:
function
(){
return
{
searchKeyword
:
""
,
showLocation
:
!
0
,
latitude
:
39.908692
,
longitude
:
116.397477
,
nearList
:[],
nearSelectedIndex
:
-
1
,
noNearData
:
!
1
,
selectedIcon
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAaVBMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef84EEEWAAAAInRSTlMA+QQY6izG8NO6TphC3JReWSMoDLOfgXajf29lZEs7Hcep1l5DEAAAAPxJREFUOMuFU9cSgyAQBDSUgCVgSS/8/0cGc8E5FQdeOGaXud0rBB9mzdFYRtKnGDkVkktB+VgkYE27poCw6aheUxpxPqHn6SyaRe66NKsfpqyRll6+Njlfsp/jS1WkRFeXf/QUh6Stg3iCAHndMX6VPxltlaiMNdPXqp1iftviR+qHcN34ZJm6FO4/4XY0FOeuknhpp0jdCamHJA7GhjqQ2n2ctCpofPw8K+22OHm8I+HjvXIYj4SYYvSBwTAeU0SROjA6hnEQCTYjg2McbEKhZgbGoVC41HqJQ6lxs1iP8blZuN3WrdudG5jcyGWHNj/2+cXJr15+ebPr/wWbNBG/n/A0GgAAAABJRU5ErkJggg==
"
,
markers
:[{
id
:
"
location
"
,
latitude
:
39.908692
,
longitude
:
116.397477
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,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
"
,
width
:
26
,
height
:
36
}],
searchList
:[],
showSearch
:
!
1
,
noSearchData
:
!
1
}},
onLoad
:
function
(
t
){
var
a
=
this
,
n
=
"
string
"
==
typeof
t
.
data
?
JSON
.
parse
(
t
.
data
):
t
.
data
;
this
.
searchKeyword
=
n
.
keyword
||
""
,
this
.
_searchInputTimer
=
null
,
this
.
onMessage
(
function
(
t
){
if
(
a
.
nearSelectedIndex
<
0
)
e
.
nativeUI
.
alert
(
"
您尚未选择位置!
"
);
else
{
var
n
=
a
.
nearList
[
a
.
nearSelectedIndex
],
o
=
{
name
:
n
.
name
,
address
:
n
.
address
,
latitude
:
n
.
location
.
latitude
,
longitude
:
n
.
location
.
longitude
};
a
.
postMessage
({
event
:
"
selected
"
,
detail
:
o
})}}),
this
.
_hasUserLocation
=!
1
},
onReady
:
function
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
getUserLocation
()},
onUnload
:
function
(){
this
.
clearSearchTimer
()},
methods
:{
getUserLocation
:
function
(){
var
t
=
this
;
e
.
geolocation
.
getCurrentPosition
(
function
(
e
){
var
a
=
e
.
coordsType
,
n
=
e
.
coords
;
"
wgs84
"
===
a
.
toLowerCase
()?
t
.
wgs84togcjo2
(
n
,
function
(
e
){
t
.
getUserLocationSuccess
(
e
)}):
t
.
getUserLocationSuccess
(
n
)},
function
(
e
){
t
.
_hasUserLocation
=!
0
,
console
.
log
(
n
(
"
Gelocation Error: code -
"
+
e
.
code
+
"
; message -
"
+
e
.
message
,
"
at __uniappchooselocation.nvue:140
"
))},{
geocode
:
!
1
})},
getUserLocationSuccess
:
function
(
e
){
this
.
_hasUserLocation
=!
0
,
this
.
moveToCenter
({
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
})},
searchclick
:
function
(
t
){
this
.
showSearch
=
t
,
!
1
===
t
&&
e
.
key
.
hideSoftKeybord
()},
showSearchView
:
function
(){
this
.
searchList
=
[],
this
.
showSearch
=!
0
},
hideSearchView
:
function
(){
this
.
showSearch
=!
1
,
e
.
key
.
hideSoftKeybord
(),
this
.
noSearchData
=!
1
},
onregionchange
:
function
(
e
){
var
t
=
this
,
a
=
e
.
detail
,
n
=
a
.
type
||
e
.
type
;
"
drag
"
===
(
a
.
causedBy
||
e
.
causedBy
)
&&
"
end
"
===
n
&&
this
.
mapContext
.
getCenterLocation
(
function
(
e
){
t
.
moveToCenter
({
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
})})},
onItemClick
:
function
(
e
,
t
){
t
.
stopPropagation
(),
this
.
nearSelectedIndex
!==
e
&&
(
this
.
nearSelectedIndex
=
e
),
this
.
updateMarker
(
this
.
nearList
[
e
].
location
)},
moveToCenter
:
function
(
e
){
this
.
latitude
===
e
.
latitude
&&
this
.
longitude
===
e
.
longitude
||
(
this
.
latitude
=
e
.
latitude
,
this
.
longitude
=
e
.
longitude
,
this
.
updateCenter
(
e
))},
updateCenter
:
function
(
e
){
this
.
nearSelectedIndex
=-
1
,
this
.
nearList
=
[],
this
.
updateMarker
(
e
),
this
.
_hasUserLocation
&&
(
this
.
reverseGeocode
(
e
),
this
.
searchNearByPoint
(
e
))},
searchNearByPoint
:
function
(
e
){
var
t
=
this
;
this
.
noNearData
=!
1
,
r
.
poiSearchNearBy
({
point
:{
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
},
key
:
this
.
searchKeyword
,
radius
:
1
e3
},
function
(
e
){
e
.
poiList
&&
e
.
poiList
.
length
?(
t
.
replaceEscape
(
e
.
poiList
),
t
.
nearList
=
t
.
nearList
.
concat
(
e
.
poiList
)):(
t
.
nearList
=
[],
t
.
noNearData
=!
0
)})},
updateMarker
:
function
(
e
){
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
e
.
latitude
,
longitude
:
e
.
longitude
},
duration
:
0
},
function
(
e
){})},
reverseGeocode
:
function
(
e
){
var
t
=
this
;
r
.
reverseGeocode
({
point
:
e
},
function
(
a
){
"
success
"
===
a
.
type
&&
t
.
nearList
.
splice
(
0
,
0
,{
code
:
a
.
code
,
location
:
e
,
name
:
"
地图位置
"
,
address
:
a
.
address
||
""
})})},
onsearchinput
:
function
(
e
){
var
t
=
this
,
a
=
e
.
detail
.
value
.
replace
(
/^
\s
+|
\s
+$/g
,
""
);
this
.
clearSearchTimer
(),
this
.
_searchInputTimer
=
setTimeout
(
function
(){
clearTimeout
(
t
.
_searchInputTimer
),
t
.
search
(
a
)},
300
)},
clearSearchTimer
:
function
(){
this
.
_searchInputTimer
&&
clearTimeout
(
this
.
_searchInputTimer
)},
search
:
function
(
e
){
var
t
=
this
;
this
.
noSearchData
=!
1
,
r
.
poiSearchNearBy
({
point
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
key
:
e
,
radius
:
5
e3
},
function
(
e
){
e
.
poiList
&&
e
.
poiList
.
length
?(
t
.
replaceEscape
(
e
.
poiList
),
t
.
searchList
=
e
.
poiList
):(
t
.
searchList
=
[],
t
.
noSearchData
=!
0
)})},
onSearchItemClick
:
function
(
e
){
this
.
nearSelectedIndex
=-
1
,
this
.
hideSearchView
(),
this
.
moveToCenter
(
e
.
location
)},
replaceEscape
:
function
(
e
){
for
(
var
t
=
0
;
t
<
e
.
length
;
t
++
){
var
a
=
e
[
t
];
a
.
name
=
a
.
name
.
replace
(
/
\\
/g
,
""
),
a
.
address
=
a
.
address
.
replace
(
/
\\
/g
,
""
)}},
wgs84togcjo2
:
function
(
e
,
t
){
var
a
=
weex
.
requireModule
(
"
stream
"
),
o
=
"
https://apis.map.qq.com/jsapi?qt=translate&type=1&points=
"
.
concat
(
e
.
longitude
,
"
,
"
).
concat
(
e
.
latitude
,
"
&key=MAP_KEY&output=json&pf=jsapi&ref=jsapi
"
);
a
.
fetch
({
method
:
"
GET
"
,
url
:
o
,
type
:
"
json
"
},
function
(
e
){
if
(
console
.
log
(
n
(
e
,
"
at __uniappchooselocation.nvue:303
"
)),
e
.
ok
){
var
a
=
e
.
data
.
detail
.
points
[
0
];
t
({
latitude
:
a
.
lat
,
longitude
:
a
.
lng
})}})}}};
t
.
default
=
s
}).
call
(
this
,
a
(
5
).
weexPlus
,
a
(
39
).
default
)},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
,
position
:
"
relative
"
},
"
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
"
},
"
search-bar
"
:{
paddingTop
:
"
10
"
,
paddingRight
:
"
15
"
,
paddingBottom
:
"
10
"
,
paddingLeft
:
"
15
"
,
backgroundColor
:
"
#ffffff
"
,
borderBottomStyle
:
"
solid
"
,
borderBottomWidth
:
"
1
"
,
borderBottomColor
:
"
#D3D3D3
"
},
"
search-area
"
:{
backgroundColor
:
"
#ebebeb
"
,
borderRadius
:
"
5
"
,
height
:
"
28
"
},
"
search-text
"
:{
fontSize
:
"
14
"
,
color
:
"
#b4b4b4
"
,
paddingTop
:
"
4
"
,
paddingRight
:
"
4
"
,
paddingBottom
:
"
4
"
,
paddingLeft
:
"
4
"
},
"
no-data
"
:{
color
:
"
#808080
"
},
"
no-data-search
"
:{
marginTop
:
"
50
"
},
map
:{
width
:
"
750rpx
"
,
height
:
"
220
"
},
"
list-view
"
:{
borderTopStyle
:
"
solid
"
,
borderTopWidth
:
"
1
"
,
borderTopColor
:
"
#D3D3D3
"
},
"
list-item
"
:{
position
:
"
relative
"
,
paddingTop
:
"
12
"
,
paddingRight
:
"
15
"
,
paddingBottom
:
"
12
"
,
paddingLeft
:
"
15
"
},
"
list-line
"
:{
position
:
"
absolute
"
,
left
:
"
15
"
,
right
:
0
,
bottom
:
0
,
height
:
"
1
"
,
backgroundColor
:
"
#d3d3d3
"
},
"
list-name
"
:{
fontSize
:
"
14
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
},
"
list-address
"
:{
fontSize
:
"
12
"
,
color
:
"
#808080
"
,
lines
:
1
,
textOverflow
:
"
ellipsis
"
,
marginTop
:
"
5
"
},
"
list-icon-area
"
:{
paddingLeft
:
"
10
"
,
paddingRight
:
"
10
"
},
"
list-selected-icon
"
:{
width
:
"
20
"
,
height
:
"
20
"
},
"
search-view
"
:{
position
:
"
absolute
"
,
left
:
0
,
top
:
0
,
right
:
0
,
bottom
:
0
,
backgroundColor
:
"
#f6f6f6
"
},
"
search-input
"
:{
fontSize
:
"
14
"
,
height
:
"
28
"
,
paddingLeft
:
"
6
"
},
"
search-cancel
"
:{
color
:
"
#0079FF
"
,
marginLeft
:
"
10
"
}}},,,,,,,,,,,,,,,
function
(
e
,
t
,
a
){
"
use strict
"
;
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
a
(
"
view
"
,{
staticClass
:[
"
page
"
,
"
flex-c
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-bar
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-area
"
,
"
flex-r
"
,
"
a-i-c
"
,
"
j-c-c
"
],
on
:{
click
:
e
.
showSearchView
}},[
a
(
"
u-text
"
,{
staticClass
:[
"
search-text
"
]},[
e
.
_v
(
"
搜索地点
"
)])])]),
a
(
"
map
"
,{
ref
:
"
map1
"
,
staticClass
:[
"
map
"
],
attrs
:{
showLocation
:
e
.
showLocation
,
longitude
:
e
.
longitude
,
latitude
:
e
.
latitude
,
markers
:
e
.
markers
},
on
:{
regionchange
:
e
.
onregionchange
}}),
e
.
noNearData
?
e
.
_e
():
a
(
"
list
"
,{
staticClass
:[
"
flex-fill
"
,
"
list-view
"
]},
e
.
_l
(
e
.
nearList
,
function
(
t
,
n
){
return
a
(
"
cell
"
,{
key
:
t
.
uid
,
appendAsTree
:
!
0
,
attrs
:{
append
:
"
tree
"
}},[
a
(
"
view
"
,{
staticClass
:[
"
list-item
"
],
on
:{
click
:
function
(
t
){
e
.
onItemClick
(
n
,
t
)}}},[
a
(
"
view
"
,{
staticClass
:[
"
flex-r
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
list-text-area
"
,
"
flex-fill
"
,
"
flex-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
list-name
"
]},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
u-text
"
,{
staticClass
:[
"
list-address
"
]},[
e
.
_v
(
e
.
_s
(
t
.
address
))])]),
n
===
e
.
nearSelectedIndex
?
a
(
"
view
"
,{
staticClass
:[
"
list-icon-area
"
,
"
flex-r
"
,
"
a-i-c
"
,
"
j-c-c
"
]},[
a
(
"
u-image
"
,{
staticClass
:[
"
list-selected-icon
"
],
attrs
:{
src
:
e
.
selectedIcon
}})],
1
):
e
.
_e
()]),
a
(
"
view
"
,{
staticClass
:[
"
list-line
"
]})])])}),
0
),
e
.
noNearData
?
a
(
"
view
"
,{
staticClass
:[
"
flex-fill
"
,
"
flex-r
"
,
"
a-i-c
"
,
"
j-c-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
no-data
"
]},[
e
.
_v
(
"
对不起,没有搜索到相关数据!
"
)])]):
e
.
_e
(),
e
.
showSearch
?
a
(
"
view
"
,{
staticClass
:[
"
search-view
"
,
"
flex-c
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-bar
"
,
"
flex-r
"
,
"
a-i-c
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
search-area
"
,
"
flex-fill
"
,
"
flex-r
"
]},[
a
(
"
u-input
"
,{
staticClass
:[
"
search-input
"
,
"
flex-fill
"
],
attrs
:{
focus
:
!
0
,
placeholder
:
"
搜索地点
"
},
on
:{
input
:
e
.
onsearchinput
}})],
1
),
a
(
"
u-text
"
,{
staticClass
:[
"
search-cancel
"
],
on
:{
click
:
e
.
hideSearchView
}},[
e
.
_v
(
"
取消
"
)])]),
e
.
noSearchData
?
e
.
_e
():
a
(
"
list
"
,{
staticClass
:[
"
flex-fill
"
,
"
list-view
"
]},
e
.
_l
(
e
.
searchList
,
function
(
t
,
n
){
return
a
(
"
cell
"
,{
key
:
t
.
uid
,
appendAsTree
:
!
0
,
attrs
:{
append
:
"
tree
"
}},[
a
(
"
view
"
,{
staticClass
:[
"
list-item
"
],
on
:{
click
:
function
(
a
){
e
.
onSearchItemClick
(
t
)}}},[
a
(
"
view
"
,{
staticClass
:[
"
flex-r
"
]},[
a
(
"
view
"
,{
staticClass
:[
"
list-text-area
"
,
"
flex-fill
"
,
"
flex-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
list-name
"
]},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
a
(
"
u-text
"
,{
staticClass
:[
"
list-address
"
]},[
e
.
_v
(
e
.
_s
(
t
.
address
))])])]),
a
(
"
view
"
,{
staticClass
:[
"
list-line
"
]})])])}),
0
),
e
.
noSearchData
?
a
(
"
view
"
,{
staticClass
:[
"
flex-fill
"
,
"
flex-r
"
,
"
j-c-c
"
]},[
a
(
"
u-text
"
,{
staticClass
:[
"
no-data
"
,
"
no-data-search
"
]},[
e
.
_v
(
"
对不起,没有搜索到相关数据!
"
)])]):
e
.
_e
()]):
e
.
_e
()],
1
)])},
o
=
[];
a
.
d
(
t
,
"
a
"
,
function
(){
return
n
}),
a
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},,,
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
var
n
=
a
(
15
),
o
=
a
.
n
(
n
);
for
(
var
i
in
n
)
"
default
"
!==
i
&&
function
(
e
){
a
.
d
(
t
,
e
,
function
(){
return
n
[
e
]})}(
i
);
t
.
default
=
o
.
a
},,,,,
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
a
(
6
);
var
n
=
a
(
9
);
n
.
default
.
mpType
=
"
page
"
,
n
.
default
.
route
=
"
__uniappchooselocation
"
,
n
.
default
.
el
=
"
#root
"
,
new
Vue
(
n
.
default
)},
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
function
(){
for
(
var
e
=
arguments
.
length
,
t
=
new
Array
(
e
),
a
=
0
;
a
<
e
;
a
++
)
t
[
a
]
=
arguments
[
a
];
var
n
=
t
.
map
(
function
(
e
){
var
t
=
Object
.
prototype
.
toString
.
call
(
e
);
if
(
"
[object object]
"
===
t
.
toLowerCase
())
try
{
e
=
"
---BEGIN:JSON---
"
+
JSON
.
stringify
(
e
)
+
"
---END:JSON---
"
}
catch
(
t
){
e
=
"
[object object]
"
}
else
if
(
null
===
e
)
e
=
"
---NULL---
"
;
else
if
(
void
0
===
e
)
e
=
"
---UNDEFINED---
"
;
else
{
var
a
=
function
(
e
){
var
t
=
Object
.
prototype
.
toString
.
call
(
e
);
return
t
.
substring
(
8
,
t
.
length
-
1
)}(
e
).
toUpperCase
();
e
=
"
NUMBER
"
===
a
||
"
BOOLEAN
"
===
a
?
"
---BEGIN:
"
+
a
+
"
---
"
+
e
+
"
---END:
"
+
a
+
"
---
"
:
String
(
e
)}
return
e
}),
o
=
""
;
if
(
n
.
length
>
1
){
var
i
=
n
.
pop
();
o
=
n
.
join
(
"
---COMMA---
"
),
0
===
i
.
indexOf
(
"
at
"
)?
o
+=
i
:
o
+=
"
---COMMA---
"
+
i
}
else
o
=
n
[
0
];
return
o
}}]);
\ No newline at end of file
packages/uni-cli-shared/template/common/__uniappopenlocation.js
浏览文件 @
c6a1a001
!
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
=
39
)}([
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
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
3
),
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
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
weex
.
requireModule
(
"
globalEvent
"
),
o
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
o
=
this
,
i
=
t
.
from
,
r
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
i
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
o
.
onClose
?
o
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
r
?
n
.
$on
(
this
.
__page
,
c
):
a
.
addEventListener
(
"
plusMessage
"
,
c
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
o
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
i
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
o
}};
if
(
o
||
(
"
v8-native
"
===
this
.
__runtime
?
n
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
a
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
i
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
n
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
i
))});
else
{
var
r
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
r
&&
r
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
i
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
o
}).
call
(
this
,
n
(
4
).
weexPlus
,
n
(
4
).
default
)},
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
_
&&
_
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
x
&&
x
(
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
,
_
=
void
0
,
w
=
void
0
,
x
=
void
0
;
function
C
(
e
){
S
=
e
}
function
M
(
e
){
_
=
e
}
function
I
(
e
){
w
=
e
}
function
k
(
e
){
x
=
e
}
function
B
(
e
){
return
weex
.
requireModule
(
e
)}
var
O
=
weex
.
requireModule
(
"
dom
"
),
j
=
weex
.
requireModule
(
"
globalEvent
"
),
T
=
[];
function
E
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
T
.
push
(
e
))}
j
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
E
.
isUniAppReady
=!
0
,
T
.
length
&&
(
T
.
forEach
(
function
(
e
){
return
e
()}),
T
=
[]))});
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
},
N
=
weex
.
requireModule
(
"
stream
"
),
U
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
U
,
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
:
E
,
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
===
U
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
a
)),
N
.
fetch
({
url
:
n
,
method
:
r
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
r
!==
U
?
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
C
;
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
=
C
,
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
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
o
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
1
),
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
);
var
a
=
n
(
5
),
o
=
n
(
2
);
for
(
var
i
in
o
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
o
[
e
]})}(
i
);
var
r
=
n
(
0
);
var
s
=
Object
(
r
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
690d182e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
29
),
o
=
n
(
16
),
i
=
n
(
0
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
41f93532
"
);(
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
(
34
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
34
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
17
),
o
=
n
.
n
(
a
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
,
a
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
,
i
=
(
o
=
n
(
8
))
&&
o
.
__esModule
?
o
:{
default
:
o
};
weex
.
requireModule
(
"
mapSearch
"
);
var
r
=
{
mixins
:[
i
.
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
(
e
){
var
t
=
JSON
.
parse
(
e
.
data
);
this
.
latitude
=
t
.
latitude
||
39.908692
,
this
.
longitude
=
t
.
longitude
||
116.397477
,
this
.
name
=
t
.
name
||
""
,
this
.
address
=
t
.
address
||
""
},
onReady
:
function
(){
this
.
mapContext
=
a
.
createMapContext
(
"
map1
"
,
this
),
this
.
updateMarker
()},
methods
:{
goto
:
function
(){
var
t
=
"
ios
"
===
a
.
getSystemInfoSync
().
platform
.
toLocaleLowerCase
();
!
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
=
r
}).
call
(
this
,
n
(
4
).
weexPlus
,
n
(
4
).
default
)},
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
"
,{
staticClass
:[
"
flex-fill
"
,
"
map
"
],
attrs
:{
id
:
"
map1
"
,
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
(
18
),
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
(
6
);
var
a
=
n
(
10
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
__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
=
40
)}([
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
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
3
),
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
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
weex
.
requireModule
(
"
globalEvent
"
),
o
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
o
=
this
,
i
=
t
.
from
,
r
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
i
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
o
.
onClose
?
o
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
r
?
n
.
$on
(
this
.
__page
,
c
):
a
.
addEventListener
(
"
plusMessage
"
,
c
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
o
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
i
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
o
}};
if
(
o
||
(
"
v8-native
"
===
this
.
__runtime
?
n
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
a
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
i
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
n
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
i
))});
else
{
var
r
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
r
&&
r
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
i
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
o
}).
call
(
this
,
n
(
5
).
weexPlus
,
n
(
5
).
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
o
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},
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
_
&&
_
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
x
&&
x
(
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
,
_
=
void
0
,
w
=
void
0
,
x
=
void
0
;
function
C
(
e
){
S
=
e
}
function
M
(
e
){
_
=
e
}
function
I
(
e
){
w
=
e
}
function
k
(
e
){
x
=
e
}
function
O
(
e
){
return
weex
.
requireModule
(
e
)}
var
B
=
weex
.
requireModule
(
"
dom
"
),
j
=
weex
.
requireModule
(
"
globalEvent
"
),
T
=
[];
function
E
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
T
.
push
(
e
))}
j
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
E
.
isUniAppReady
=!
0
,
T
.
length
&&
(
T
.
forEach
(
function
(
e
){
return
e
()}),
T
=
[]))});
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
},
N
=
weex
.
requireModule
(
"
stream
"
),
U
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
U
,
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
);
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
:
E
,
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
===
U
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
a
)),
N
.
fetch
({
url
:
n
,
method
:
r
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
r
!==
U
?
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
O
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
C
;
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
=
O
,
Y
.
onNavigationBarButtonTap
=
C
,
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
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
1
),
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
);
var
a
=
n
(
4
),
o
=
n
(
2
);
for
(
var
i
in
o
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
o
[
e
]})}(
i
);
var
r
=
n
(
0
);
var
s
=
Object
(
r
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
66394a0e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
29
),
o
=
n
(
16
),
i
=
n
(
0
);
var
r
=
Object
(
i
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
33e9a172
"
);(
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
(
34
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
34
).
default
)}).
call
(
r
),
t
.
default
=
r
.
exports
},,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
17
),
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
(
8
))
&&
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
(
e
){
var
t
=
"
string
"
==
typeof
e
.
data
?
JSON
.
parse
(
e
.
data
):
e
.
data
;
this
.
latitude
=
t
.
latitude
||
39.908692
,
this
.
longitude
=
t
.
longitude
||
116.397477
,
this
.
name
=
t
.
name
||
""
,
this
.
address
=
t
.
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
(
5
).
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
(
18
),
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
(
6
);
var
a
=
n
(
10
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
__uniappopenlocation
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)}]);
\ No newline at end of file
packages/uni-cli-shared/template/common/__uniapppicker.js
浏览文件 @
c6a1a001
!
function
(
e
){
var
t
=
{};
function
n
(
r
){
if
(
t
[
r
])
return
t
[
r
].
exports
;
var
a
=
t
[
r
]
=
{
i
:
r
,
l
:
!
1
,
exports
:{}};
return
e
[
r
].
call
(
a
.
exports
,
a
,
a
.
exports
,
n
),
a
.
l
=!
0
,
a
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
r
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
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
r
=
Object
.
create
(
null
);
if
(
n
.
r
(
r
),
Object
.
defineProperty
(
r
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
a
in
e
)
n
.
d
(
r
,
a
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
a
));
return
r
},
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
,
n
){
"
use strict
"
;
function
r
(
e
,
t
,
n
,
r
,
a
,
i
,
o
,
s
){
var
u
,
c
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
t
&&
(
c
.
render
=
t
,
c
.
staticRenderFns
=
n
,
c
.
_compiled
=!
0
),
r
&&
(
c
.
functional
=!
0
),
i
&&
(
c
.
_scopeId
=
"
data-v-
"
+
i
),
o
?(
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__
),
a
&&
a
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
o
)},
c
.
_ssrRegister
=
u
):
a
&&
(
u
=
s
?
function
(){
a
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
a
),
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
r
})},
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
3
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
r
=
weex
.
requireModule
(
"
globalEvent
"
),
a
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
a
=
this
,
i
=
t
.
from
,
o
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
i
,
this
.
__runtime
=
o
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
a
.
onClose
?
a
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
o
?
n
.
$on
(
this
.
__page
,
c
):
r
.
addEventListener
(
"
plusMessage
"
,
c
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
a
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
i
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
a
}};
if
(
a
||
(
"
v8-native
"
===
this
.
__runtime
?
n
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
r
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
i
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
n
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
i
))});
else
{
var
o
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
o
&&
o
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
i
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
a
}).
call
(
this
,
n
(
4
).
weexPlus
,
n
(
4
).
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
r
=
"
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
"
],
r
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
n
.
indexOf
(
e
))},
i
=
function
(
t
){
return
function
(){
for
(
var
n
=
arguments
.
length
,
r
=
Array
(
n
>
1
?
n
-
1
:
0
),
a
=
1
;
a
<
n
;
a
++
)
r
[
a
-
1
]
=
arguments
[
a
];
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
(
r
)):
new
Promise
(
function
(
e
,
n
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
i
,{
success
:
e
,
fail
:
n
})].
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
})})}}).
then
(
function
(
e
){
return
[
null
,
e
]}).
catch
(
function
(
e
){
return
[
e
]})}},
o
=
[],
s
=
void
0
;
function
u
(
e
){
o
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
c
=
a
.
webview
.
currentWebview
().
id
,
l
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
f
(
e
){
e
.
$processed
=!
0
;
var
t
=
a
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
r
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
l
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
r
}):
b
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
o
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
u
=
a
.
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
),
r
=
0
;
r
<
t
;
r
++
)
n
[
r
]
=
arguments
[
r
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
r
=
0
;
r
<
t
;
r
++
)
n
[
r
]
=
arguments
[
r
];
return
f
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
r
=
0
;
r
<
t
;
r
++
)
n
[
r
]
=
arguments
[
r
];
return
d
.
apply
(
e
,
n
)}}}
function
d
(
e
){
var
t
=
a
.
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
"
),
h
=
0
,
g
=
{},
y
=
"
__uniapp__service
"
;
v
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
m
(
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
k
&&
k
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
M
&&
M
(
e
.
data
.
data
)});
var
m
=
function
(
e
,
t
){
var
n
=
g
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
g
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
_
=
function
(
t
){
var
n
,
r
,
a
=
t
.
id
,
i
=
t
.
type
,
o
=
t
.
params
;
g
[
a
]
=
(
r
=
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
))
&&
(
r
.
keepAlive
=!
0
),
r
),
p
.
postMessage
({
id
:
a
,
type
:
i
,
params
:
o
},
y
)};
function
b
(
e
){
p
.
postMessage
(
e
,
y
)}
var
w
=
function
(
e
){
return
function
(
t
){
_
({
id
:
h
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
k
=
void
0
,
A
=
void
0
,
M
=
void
0
;
function
x
(
e
){
S
=
e
}
function
C
(
e
){
k
=
e
}
function
$
(
e
){
A
=
e
}
function
V
(
e
){
M
=
e
}
function
T
(
e
){
return
weex
.
requireModule
(
e
)}
var
O
=
weex
.
requireModule
(
"
dom
"
),
N
=
weex
.
requireModule
(
"
globalEvent
"
),
P
=
[];
function
B
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
P
.
push
(
e
))}
N
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
B
.
isUniAppReady
=!
0
,
P
.
length
&&
(
P
.
forEach
(
function
(
e
){
return
e
()}),
P
=
[]))});
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
},
I
=
weex
.
requireModule
(
"
stream
"
),
E
=
"
GET
"
,
D
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
E
,
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
},
L
=
weex
.
requireModule
(
"
plusstorage
"
),
U
=
"
__TYPE
"
,
F
=
weex
.
requireModule
(
"
clipboard
"
),
R
=
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
W
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
r
=
t
.
source
,
a
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
O
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
r
.
replace
(
/"/g
,
"
'
"
)});
var
o
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
a
)
&&
a
(
o
),
e
(
i
)
&&
i
(
o
)},
ready
:
B
,
request
:
function
(
t
){
var
n
=
t
.
url
,
r
=
t
.
data
,
a
=
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
,
v
=
{};
if
(
a
)
for
(
var
h
in
a
)
p
||
"
content-type
"
!==
h
.
toLowerCase
()?
v
[
h
]
=
a
[
h
]:(
p
=!
0
,
v
[
"
Content-Type
"
]
=
a
[
h
]);
return
o
===
E
&&
r
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
D
(
r
)),
I
.
fetch
({
url
:
n
,
method
:
o
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
o
!==
E
?
D
(
r
,
o
,
v
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
r
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
a
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
r
,
i
.
statusCode
=
n
,
i
.
header
=
a
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
r
=
(
t
.
data
,
t
.
success
),
a
=
t
.
fail
,
i
=
t
.
complete
;
L
.
getItem
(
n
+
U
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
o
=
t
.
data
;
L
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
o
&&
n
?(
"
String
"
!==
o
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
r
)
&&
r
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
a
)
&&
a
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
a
)
&&
a
(
t
);
e
(
i
)
&&
i
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
a
)
&&
a
(
t
),
e
(
i
)
&&
i
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
r
=
t
.
data
,
a
=
t
.
success
,
i
=
t
.
fail
,
o
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
r
?
"
undefined
"
:
j
(
r
))
&&
(
s
=
"
Object
"
,
r
=
JSON
.
stringify
(
r
)),
L
.
setItem
(
n
,
r
,
function
(
t
){
"
success
"
===
t
.
result
?
L
.
setItem
(
n
+
U
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
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
,
r
=
(
t
.
data
,
t
.
success
),
a
=
t
.
fail
,
i
=
t
.
complete
;
L
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
r
)
&&
r
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
a
)
&&
a
(
t
)),
e
(
i
)
&&
i
(
t
)}),
L
.
removeItem
(
n
+
U
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
r
=
(
t
.
fail
,
t
.
complete
);
F
.
getString
(
function
(
t
){
var
a
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
a
),
e
(
r
)
&&
r
(
a
)})},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
r
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
F
.
setString
(
n
),
e
(
r
)
&&
r
(
i
),
e
(
a
)
&&
a
(
i
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
a
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
q
(
R
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
q
(
R
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
q
(
R
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
q
(
R
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
J
=
{
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
T
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
x
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
C
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
$
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
V
;
var
n
=
W
[
t
];
return
n
||
(
n
=
w
(
t
)),
r
(
t
)?
i
(
n
):
n
}}):(
Object
.
keys
(
J
).
forEach
(
function
(
e
){
Y
[
e
]
=
J
[
e
]}),
Y
.
postMessage
=
b
,
Y
.
requireNativePlugin
=
T
,
Y
.
onNavigationBarButtonTap
=
x
,
Y
.
onNavigationBarSearchInputChanged
=
C
,
Y
.
onNavigationBarSearchInputConfirmed
=
$
,
Y
.
onNavigationBarSearchInputClicked
=
V
,
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
=
W
[
e
];
t
||
(
t
=
w
(
e
)),
r
(
e
)?
Y
[
e
]
=
i
(
t
):
Y
[
e
]
=
t
})),
Y
};
var
a
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
a
;
var
i
=
r
(
weex
,
a
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
a
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
r
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
a
})},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
1
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
5
),
a
=
n
(
2
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
var
o
=
n
(
0
);
var
s
=
Object
(
o
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
690d182e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
28
),
a
=
n
(
22
),
i
=
n
(
0
);
var
o
=
Object
(
i
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
e92c5e7a
"
);(
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
(
37
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
37
).
default
)}).
call
(
o
),
t
.
default
=
o
.
exports
},,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
23
),
a
=
n
.
n
(
r
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
r
=
a
(
n
(
42
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
mixins
:[
a
(
n
(
8
)).
default
],
components
:{
picker
:
r
.
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
]:{}).
value
,
r
=
void
0
===
n
?
-
1
:
n
;
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
r
=
n
(
25
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
r
=
n
(
43
);
function
a
(
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
"
)}()}
var
i
,
o
=
weex
.
requireModule
(
"
animation
"
),
s
=
"
selector
"
,
u
=
"
multiSelector
"
,
c
=
"
time
"
,
l
=
"
date
"
,
f
=
"
year
"
,
d
=
"
month
"
,
p
=
"
day
"
,
v
=
{
name
:
"
Picker
"
,
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
:
s
},
fields
:{
type
:
String
,
default
:
p
},
start
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
c
)
return
"
00:00
"
;
if
(
this
.
mode
===
l
){
var
e
=
(
new
Date
).
getFullYear
()
-
61
;
switch
(
this
.
fields
){
case
f
:
return
e
;
case
d
:
return
e
+
"
-01
"
;
case
p
:
return
e
+
"
-01-01
"
}}
return
""
}},
end
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
c
)
return
"
23:59
"
;
if
(
this
.
mode
===
l
){
var
e
=
(
new
Date
).
getFullYear
()
+
61
;
switch
(
this
.
fields
){
case
f
:
return
e
;
case
d
:
return
e
+
"
-12
"
;
case
p
:
return
e
+
"
-12-31
"
}}
return
""
}},
disabled
:{
type
:[
Boolean
,
String
],
default
:
!
1
},
visible
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
timeArray
:[],
dateArray
:[],
valueArray
:[],
oldValueArray
:[]}},
computed
:{
rangeArray
:
function
(){
var
e
=
this
.
range
;
switch
(
this
.
mode
){
case
s
:
return
[
e
];
case
u
:
return
e
;
case
c
:
return
this
.
timeArray
;
case
l
:
var
t
=
this
.
dateArray
;
switch
(
this
.
fields
){
case
f
:
return
[
t
[
0
]];
case
d
:
return
[
t
[
0
],
t
[
1
]];
case
p
:
return
[
t
[
0
],
t
[
1
],
t
[
2
]]}}
return
[]},
startArray
:
function
(){
var
e
=
this
.
mode
===
l
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
l
?
this
.
dateArray
:
this
.
timeArray
,
n
=
this
.
start
.
split
(
e
).
map
(
function
(
e
,
n
){
return
t
[
n
].
indexOf
(
e
)});
return
n
.
indexOf
(
-
1
)
>=
0
&&
(
n
=
t
.
map
(
function
(){
return
0
})),
n
},
endArray
:
function
(){
var
e
=
this
.
mode
===
l
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
l
?
this
.
dateArray
:
this
.
timeArray
,
n
=
this
.
end
.
split
(
e
).
map
(
function
(
e
,
n
){
return
t
[
n
].
indexOf
(
e
)});
return
n
.
indexOf
(
-
1
)
>=
0
&&
(
n
=
t
.
map
(
function
(
e
){
return
e
.
length
-
1
})),
n
},
units
:
function
(){
switch
(
this
.
mode
){
case
l
:
return
[
"
年
"
,
"
月
"
,
"
日
"
];
case
c
:
return
[
"
时
"
,
"
分
"
];
default
:
return
[]}}},
watch
:{
valueArray
:
function
(
e
){
var
t
=
this
;
if
(
this
.
mode
===
c
||
this
.
mode
===
l
){
var
n
=
this
.
mode
===
c
?
this
.
_getTimeValue
:
this
.
_getDateValue
,
r
=
this
.
valueArray
,
a
=
this
.
startArray
,
i
=
this
.
endArray
;
if
(
this
.
mode
===
l
){
var
o
=
this
.
dateArray
,
s
=
o
[
2
].
length
,
f
=
o
[
2
][
r
[
2
]],
d
=
new
Date
(
""
.
concat
(
o
[
0
][
r
[
0
]],
"
/
"
).
concat
(
o
[
1
][
r
[
1
]],
"
/
"
).
concat
(
f
)).
getDate
();
d
<
(
f
=
Number
(
f
))
&&
(
r
[
2
]
-=
d
+
s
-
f
)}
n
(
r
)
<
n
(
a
)?
this
.
_cloneArray
(
r
,
a
):
n
(
r
)
>
n
(
i
)
&&
this
.
_cloneArray
(
r
,
i
)}
e
.
forEach
(
function
(
e
,
n
){
e
!==
t
.
oldValueArray
[
n
]
&&
(
t
.
oldValueArray
[
n
]
=
e
,
t
.
mode
===
u
&&
t
.
$emit
(
"
columnchange
"
,{
column
:
n
,
value
:
e
}))})},
visible
:
function
(
e
){
var
t
=
this
;
e
?
this
.
$nextTick
(
function
(){
o
.
transition
(
t
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(0)
"
},
duration
:
200
})}):
o
.
transition
(
this
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(283px)
"
},
duration
:
200
})}},
created
:
function
(){
i
=
weex
.
config
.
env
.
deviceWidth
/
weex
.
config
.
scale
/
16
/
this
.
rangeArray
.
length
,
this
.
_createTime
(),
this
.
_createDate
(),
this
.
_setValue
(),
this
.
$watch
(
"
value
"
,
this
.
_setValue
),
this
.
$watch
(
"
mode
"
,
this
.
_setValue
)},
methods
:{
getTexts
:
function
(
e
,
t
){
var
n
=
this
;
return
e
.
map
(
function
(
e
){
var
r
=
(
"
object
"
==
typeof
e
?
e
[
n
.
rangeKey
]
||
""
:
e
)
+
(
n
.
units
[
t
]
||
""
);
if
(
i
>
0
&&
r
.
length
>
i
)
for
(
var
a
=
0
,
o
=
0
;
o
<
r
.
length
;
o
++
){
var
s
=
r
.
charCodeAt
(
o
);
if
((
a
+=
s
>
127
||
94
===
s
?
1
:.
5
)
>=
i
)
return
r
.
slice
(
0
,
o
+
1
)
+
"
...
"
}
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
r
=
0
;
r
<
60
;
r
++
)
t
.
push
((
r
<
10
?
"
0
"
:
""
)
+
r
);
this
.
timeArray
.
push
(
e
,
t
)},
_createDate
:
function
(){
for
(
var
e
=
[],
t
=
(
new
Date
).
getFullYear
(),
n
=
t
-
61
,
r
=
t
+
61
;
n
<=
r
;
n
++
)
e
.
push
(
String
(
n
));
for
(
var
a
=
[],
i
=
1
;
i
<=
12
;
i
++
)
a
.
push
((
i
<
10
?
"
0
"
:
""
)
+
i
);
for
(
var
o
=
[],
s
=
1
;
s
<=
31
;
s
++
)
o
.
push
((
s
<
10
?
"
0
"
:
""
)
+
s
);
this
.
dateArray
.
push
(
e
,
a
,
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
]},
_setValue
:
function
(){
var
e
,
t
=
this
,
n
=
this
.
value
;
switch
(
this
.
mode
){
case
s
:
e
=
[
n
];
break
;
case
u
:
e
=
a
(
n
);
break
;
case
c
:
0
===
this
.
value
&&
(
n
=
(
0
,
r
.
formatDateTime
)({
mode
:
c
})),
e
=
n
.
split
(
"
:
"
).
map
(
function
(
e
,
n
){
return
t
.
timeArray
[
n
].
indexOf
(
e
)});
break
;
case
l
:
0
===
this
.
value
&&
(
n
=
(
0
,
r
.
formatDateTime
)({
mode
:
l
})),
e
=
n
.
split
(
"
-
"
).
map
(
function
(
e
,
n
){
return
t
.
dateArray
[
n
].
indexOf
(
e
)})}
this
.
oldValueArray
=
a
(
e
),
this
.
valueArray
=
a
(
e
)},
_getValue
:
function
(){
var
e
=
this
,
t
=
this
.
valueArray
;
switch
(
this
.
mode
){
case
s
:
return
t
[
0
];
case
u
:
return
t
.
map
(
function
(
e
){
return
e
});
case
c
:
return
this
.
valueArray
.
map
(
function
(
t
,
n
){
return
e
.
timeArray
[
n
][
t
]}).
join
(
"
:
"
);
case
l
:
return
this
.
valueArray
.
map
(
function
(
t
,
n
){
return
e
.
dateArray
[
n
][
t
]}).
join
(
"
-
"
)}},
_change
:
function
(){
this
.
$emit
(
"
change
"
,{
value
:
this
.
_getValue
()})},
_cancel
:
function
(){
this
.
$emit
(
"
cancel
"
)}}};
t
.
default
=
v
},
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.6)
"
},
"
uni-picker
"
:{
position
:
"
absolute
"
,
left
:
0
,
bottom
:
0
,
right
:
0
,
height
:
"
283
"
,
backgroundColor
:
"
#ffffff
"
,
color
:
"
#000000
"
,
flexDirection
:
"
column
"
,
transform
:
"
translateY(283px)
"
},
"
uni-picker-header
"
:{
height
:
"
45
"
,
borderBottomWidth
:
"
1
"
,
borderBottomColor
:
"
#e5e5e5
"
},
"
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
"
:{
fontSize
:
"
16
"
,
lineHeight
:
"
34
"
,
textAlign
:
"
center
"
,
color
:
"
#000000
"
}}},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
}}},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
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
)])},
a
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
r
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
a
})},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:[
"
content
"
]},[
n
(
"
div
"
,{
staticClass
:[
"
uni-mask
"
],
class
:{
"
uni-mask-visible
"
:
e
.
visible
},
on
:{
click
:
e
.
_cancel
}}),
n
(
"
div
"
,{
ref
:
"
picker
"
,
staticClass
:[
"
uni-picker
"
],
class
:{
"
uni-picker-visible
"
:
e
.
visible
}},[
n
(
"
div
"
,{
staticClass
:[
"
uni-picker-header
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-cancel
"
],
on
:{
click
:
e
.
_cancel
}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-confirm
"
],
on
:{
click
:
e
.
_change
}},[
e
.
_v
(
"
确定
"
)])]),
e
.
visible
?
n
(
"
picker-view
"
,{
staticClass
:[
"
uni-picker-content
"
],
attrs
:{
height
:
"
238
"
,
indicatorStyle
:
"
height: 34px
"
,
value
:
e
.
valueArray
},
on
:{
"
update:value
"
:
function
(
t
){
e
.
valueArray
=
t
}}},
e
.
_l
(
e
.
rangeArray
,
function
(
t
,
r
){
return
n
(
"
picker-view-column
"
,{
key
:
r
,
attrs
:{
length
:
t
.
length
}},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-item
"
]},[
e
.
_v
(
e
.
_s
(
e
.
getTexts
(
t
,
r
)))])])}),
1
):
e
.
_e
()],
1
)])},
a
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
r
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
a
})},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
26
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
27
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
6
);
var
r
=
n
(
12
);
r
.
default
.
mpType
=
"
page
"
,
r
.
default
.
route
=
"
__uniapppicker
"
,
r
.
default
.
el
=
"
#root
"
,
new
Vue
(
r
.
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
32
),
a
=
n
(
24
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
var
o
=
n
(
0
);
var
s
=
Object
(
o
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
48c44620
"
);(
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
(
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
,
a
=
e
.
mode
;
return
"
time
"
===
(
void
0
===
a
?
"
date
"
:
a
)?
r
(
n
.
getHours
())
+
"
:
"
+
r
(
n
.
getMinutes
()):
n
.
getFullYear
()
+
"
-
"
+
r
(
n
.
getMonth
()
+
1
)
+
"
-
"
+
r
(
n
.
getDate
())};
var
r
=
function
(
e
){
return
e
>
9
?
e
:
"
0
"
+
e
}}]);
\ No newline at end of file
!
function
(
e
){
var
t
=
{};
function
n
(
r
){
if
(
t
[
r
])
return
t
[
r
].
exports
;
var
a
=
t
[
r
]
=
{
i
:
r
,
l
:
!
1
,
exports
:{}};
return
e
[
r
].
call
(
a
.
exports
,
a
,
a
.
exports
,
n
),
a
.
l
=!
0
,
a
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
r
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
r
})},
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
r
=
Object
.
create
(
null
);
if
(
n
.
r
(
r
),
Object
.
defineProperty
(
r
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
a
in
e
)
n
.
d
(
r
,
a
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
a
));
return
r
},
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
,
n
){
"
use strict
"
;
function
r
(
e
,
t
,
n
,
r
,
a
,
i
,
o
,
s
){
var
u
,
c
=
"
function
"
==
typeof
e
?
e
.
options
:
e
;
if
(
t
&&
(
c
.
render
=
t
,
c
.
staticRenderFns
=
n
,
c
.
_compiled
=!
0
),
r
&&
(
c
.
functional
=!
0
),
i
&&
(
c
.
_scopeId
=
"
data-v-
"
+
i
),
o
?(
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__
),
a
&&
a
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
o
)},
c
.
_ssrRegister
=
u
):
a
&&
(
u
=
s
?
function
(){
a
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
a
),
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
r
})},
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
3
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
r
=
weex
.
requireModule
(
"
globalEvent
"
),
a
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
a
=
this
,
i
=
t
.
from
,
o
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
i
,
this
.
__runtime
=
o
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
a
.
onClose
?
a
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
o
?
n
.
$on
(
this
.
__page
,
c
):
r
.
addEventListener
(
"
plusMessage
"
,
c
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
a
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
i
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
a
}};
if
(
a
||
(
"
v8-native
"
===
this
.
__runtime
?
n
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
r
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
i
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
n
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
i
))});
else
{
var
o
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
o
&&
o
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
i
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
a
}).
call
(
this
,
n
(
5
).
weexPlus
,
n
(
5
).
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
a
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
r
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
a
})},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
r
=
"
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
"
],
r
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
n
.
indexOf
(
e
))},
i
=
function
(
t
){
return
function
(){
for
(
var
n
=
arguments
.
length
,
r
=
Array
(
n
>
1
?
n
-
1
:
0
),
a
=
1
;
a
<
n
;
a
++
)
r
[
a
-
1
]
=
arguments
[
a
];
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
(
r
)):
new
Promise
(
function
(
e
,
n
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
i
,{
success
:
e
,
fail
:
n
})].
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
})})}}).
then
(
function
(
e
){
return
[
null
,
e
]}).
catch
(
function
(
e
){
return
[
e
]})}},
o
=
[],
s
=
void
0
;
function
u
(
e
){
o
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
c
=
a
.
webview
.
currentWebview
().
id
,
l
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
f
(
e
){
e
.
$processed
=!
0
;
var
t
=
a
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
r
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
l
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
r
}):
b
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
o
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
i
=
e
.
__uniapp_mask
,
u
=
a
.
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
),
r
=
0
;
r
<
t
;
r
++
)
n
[
r
]
=
arguments
[
r
];
return
c
.
apply
(
e
,
n
)},
e
.
hide
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
r
=
0
;
r
<
t
;
r
++
)
n
[
r
]
=
arguments
[
r
];
return
f
.
apply
(
e
,
n
)},
e
.
close
=
function
(){
p
();
for
(
var
t
=
arguments
.
length
,
n
=
Array
(
t
),
r
=
0
;
r
<
t
;
r
++
)
n
[
r
]
=
arguments
[
r
];
return
d
.
apply
(
e
,
n
)}}}
function
d
(
e
){
var
t
=
a
.
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
"
),
h
=
0
,
g
=
{},
y
=
"
__uniapp__service
"
;
v
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
m
(
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
k
&&
k
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
M
&&
M
(
e
.
data
.
data
)});
var
m
=
function
(
e
,
t
){
var
n
=
g
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
g
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
_
=
function
(
t
){
var
n
,
r
,
a
=
t
.
id
,
i
=
t
.
type
,
o
=
t
.
params
;
g
[
a
]
=
(
r
=
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
))
&&
(
r
.
keepAlive
=!
0
),
r
),
p
.
postMessage
({
id
:
a
,
type
:
i
,
params
:
o
},
y
)};
function
b
(
e
){
p
.
postMessage
(
e
,
y
)}
var
w
=
function
(
e
){
return
function
(
t
){
_
({
id
:
h
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
k
=
void
0
,
A
=
void
0
,
M
=
void
0
;
function
x
(
e
){
S
=
e
}
function
C
(
e
){
k
=
e
}
function
$
(
e
){
A
=
e
}
function
V
(
e
){
M
=
e
}
function
T
(
e
){
return
weex
.
requireModule
(
e
)}
var
O
=
weex
.
requireModule
(
"
dom
"
),
N
=
weex
.
requireModule
(
"
globalEvent
"
),
P
=
[];
function
B
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
P
.
push
(
e
))}
N
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
B
.
isUniAppReady
=!
0
,
P
.
length
&&
(
P
.
forEach
(
function
(
e
){
return
e
()}),
P
=
[]))});
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
},
I
=
weex
.
requireModule
(
"
stream
"
),
E
=
"
GET
"
,
D
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
E
,
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
},
L
=
weex
.
requireModule
(
"
plusstorage
"
),
U
=
"
__TYPE
"
,
F
=
weex
.
requireModule
(
"
clipboard
"
),
R
=
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
W
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
r
=
t
.
source
,
a
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
O
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
r
.
replace
(
/"/g
,
"
'
"
)});
var
o
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
a
)
&&
a
(
o
),
e
(
i
)
&&
i
(
o
)},
ready
:
B
,
request
:
function
(
t
){
var
n
=
t
.
url
,
r
=
t
.
data
,
a
=
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
,
v
=
{};
if
(
a
)
for
(
var
h
in
a
)
p
||
"
content-type
"
!==
h
.
toLowerCase
()?
v
[
h
]
=
a
[
h
]:(
p
=!
0
,
v
[
"
Content-Type
"
]
=
a
[
h
]);
return
o
===
E
&&
r
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
D
(
r
)),
I
.
fetch
({
url
:
n
,
method
:
o
,
headers
:
v
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
o
!==
E
?
D
(
r
,
o
,
v
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
r
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
a
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
r
,
i
.
statusCode
=
n
,
i
.
header
=
a
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
r
=
(
t
.
data
,
t
.
success
),
a
=
t
.
fail
,
i
=
t
.
complete
;
L
.
getItem
(
n
+
U
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
o
=
t
.
data
;
L
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
o
&&
n
?(
"
String
"
!==
o
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
r
)
&&
r
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
a
)
&&
a
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
a
)
&&
a
(
t
);
e
(
i
)
&&
i
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
a
)
&&
a
(
t
),
e
(
i
)
&&
i
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
r
=
t
.
data
,
a
=
t
.
success
,
i
=
t
.
fail
,
o
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
r
?
"
undefined
"
:
j
(
r
))
&&
(
s
=
"
Object
"
,
r
=
JSON
.
stringify
(
r
)),
L
.
setItem
(
n
,
r
,
function
(
t
){
"
success
"
===
t
.
result
?
L
.
setItem
(
n
+
U
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
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
,
r
=
(
t
.
data
,
t
.
success
),
a
=
t
.
fail
,
i
=
t
.
complete
;
L
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
r
)
&&
r
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
a
)
&&
a
(
t
)),
e
(
i
)
&&
i
(
t
)}),
L
.
removeItem
(
n
+
U
)},
clearStorage
:
function
(
e
){
e
.
key
,
e
.
data
,
e
.
success
,
e
.
fail
,
e
.
complete
},
getClipboardData
:
function
(
t
){
var
n
=
t
.
success
,
r
=
(
t
.
fail
,
t
.
complete
);
F
.
getString
(
function
(
t
){
var
a
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
a
),
e
(
r
)
&&
r
(
a
)})},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
r
=
t
.
success
,
a
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
F
.
setString
(
n
),
e
(
r
)
&&
r
(
i
),
e
(
a
)
&&
a
(
i
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
a
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
q
(
R
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
q
(
R
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
q
(
R
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
q
(
R
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
J
=
{
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
T
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
x
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
C
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
$
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
V
;
var
n
=
W
[
t
];
return
n
||
(
n
=
w
(
t
)),
r
(
t
)?
i
(
n
):
n
}}):(
Object
.
keys
(
J
).
forEach
(
function
(
e
){
Y
[
e
]
=
J
[
e
]}),
Y
.
postMessage
=
b
,
Y
.
requireNativePlugin
=
T
,
Y
.
onNavigationBarButtonTap
=
x
,
Y
.
onNavigationBarSearchInputChanged
=
C
,
Y
.
onNavigationBarSearchInputConfirmed
=
$
,
Y
.
onNavigationBarSearchInputClicked
=
V
,
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
=
W
[
e
];
t
||
(
t
=
w
(
e
)),
r
(
e
)?
Y
[
e
]
=
i
(
t
):
Y
[
e
]
=
t
})),
Y
};
var
a
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
a
;
var
i
=
r
(
weex
,
a
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
1
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
4
),
a
=
n
(
2
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
var
o
=
n
(
0
);
var
s
=
Object
(
o
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
66394a0e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
28
),
a
=
n
(
22
),
i
=
n
(
0
);
var
o
=
Object
(
i
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
8a9b82d0
"
);(
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
(
37
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
37
).
default
)}).
call
(
o
),
t
.
default
=
o
.
exports
},,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
23
),
a
=
n
.
n
(
r
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
r
=
a
(
n
(
43
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
mixins
:[
a
(
n
(
8
)).
default
],
components
:{
picker
:
r
.
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
]:{}).
value
,
r
=
void
0
===
n
?
-
1
:
n
;
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
r
=
n
(
25
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
r
=
n
(
44
);
function
a
(
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
"
)}()}
var
i
,
o
=
weex
.
requireModule
(
"
animation
"
),
s
=
"
selector
"
,
u
=
"
multiSelector
"
,
c
=
"
time
"
,
l
=
"
date
"
,
f
=
"
year
"
,
d
=
"
month
"
,
p
=
"
day
"
,
v
=
{
name
:
"
Picker
"
,
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
:
s
},
fields
:{
type
:
String
,
default
:
p
},
start
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
c
)
return
"
00:00
"
;
if
(
this
.
mode
===
l
){
var
e
=
(
new
Date
).
getFullYear
()
-
61
;
switch
(
this
.
fields
){
case
f
:
return
e
;
case
d
:
return
e
+
"
-01
"
;
case
p
:
return
e
+
"
-01-01
"
}}
return
""
}},
end
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
c
)
return
"
23:59
"
;
if
(
this
.
mode
===
l
){
var
e
=
(
new
Date
).
getFullYear
()
+
61
;
switch
(
this
.
fields
){
case
f
:
return
e
;
case
d
:
return
e
+
"
-12
"
;
case
p
:
return
e
+
"
-12-31
"
}}
return
""
}},
disabled
:{
type
:[
Boolean
,
String
],
default
:
!
1
},
visible
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
timeArray
:[],
dateArray
:[],
valueArray
:[],
oldValueArray
:[]}},
computed
:{
rangeArray
:
function
(){
var
e
=
this
.
range
;
switch
(
this
.
mode
){
case
s
:
return
[
e
];
case
u
:
return
e
;
case
c
:
return
this
.
timeArray
;
case
l
:
var
t
=
this
.
dateArray
;
switch
(
this
.
fields
){
case
f
:
return
[
t
[
0
]];
case
d
:
return
[
t
[
0
],
t
[
1
]];
case
p
:
return
[
t
[
0
],
t
[
1
],
t
[
2
]]}}
return
[]},
startArray
:
function
(){
var
e
=
this
.
mode
===
l
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
l
?
this
.
dateArray
:
this
.
timeArray
,
n
=
this
.
start
.
split
(
e
).
map
(
function
(
e
,
n
){
return
t
[
n
].
indexOf
(
e
)});
return
n
.
indexOf
(
-
1
)
>=
0
&&
(
n
=
t
.
map
(
function
(){
return
0
})),
n
},
endArray
:
function
(){
var
e
=
this
.
mode
===
l
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
l
?
this
.
dateArray
:
this
.
timeArray
,
n
=
this
.
end
.
split
(
e
).
map
(
function
(
e
,
n
){
return
t
[
n
].
indexOf
(
e
)});
return
n
.
indexOf
(
-
1
)
>=
0
&&
(
n
=
t
.
map
(
function
(
e
){
return
e
.
length
-
1
})),
n
},
units
:
function
(){
switch
(
this
.
mode
){
case
l
:
return
[
"
年
"
,
"
月
"
,
"
日
"
];
case
c
:
return
[
"
时
"
,
"
分
"
];
default
:
return
[]}}},
watch
:{
valueArray
:
function
(
e
){
var
t
=
this
;
if
(
this
.
mode
===
c
||
this
.
mode
===
l
){
var
n
=
this
.
mode
===
c
?
this
.
_getTimeValue
:
this
.
_getDateValue
,
r
=
this
.
valueArray
,
a
=
this
.
startArray
,
i
=
this
.
endArray
;
if
(
this
.
mode
===
l
){
var
o
=
this
.
dateArray
,
s
=
o
[
2
].
length
,
f
=
o
[
2
][
r
[
2
]],
d
=
new
Date
(
""
.
concat
(
o
[
0
][
r
[
0
]],
"
/
"
).
concat
(
o
[
1
][
r
[
1
]],
"
/
"
).
concat
(
f
)).
getDate
();
d
<
(
f
=
Number
(
f
))
&&
(
r
[
2
]
-=
d
+
s
-
f
)}
n
(
r
)
<
n
(
a
)?
this
.
_cloneArray
(
r
,
a
):
n
(
r
)
>
n
(
i
)
&&
this
.
_cloneArray
(
r
,
i
)}
e
.
forEach
(
function
(
e
,
n
){
e
!==
t
.
oldValueArray
[
n
]
&&
(
t
.
oldValueArray
[
n
]
=
e
,
t
.
mode
===
u
&&
t
.
$emit
(
"
columnchange
"
,{
column
:
n
,
value
:
e
}))})},
visible
:
function
(
e
){
var
t
=
this
;
e
?
this
.
$nextTick
(
function
(){
o
.
transition
(
t
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(0)
"
},
duration
:
200
})}):
o
.
transition
(
this
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(283px)
"
},
duration
:
200
})}},
created
:
function
(){
i
=
weex
.
config
.
env
.
deviceWidth
/
weex
.
config
.
scale
/
16
/
this
.
rangeArray
.
length
,
this
.
_createTime
(),
this
.
_createDate
(),
this
.
_setValue
(),
this
.
$watch
(
"
value
"
,
this
.
_setValue
),
this
.
$watch
(
"
mode
"
,
this
.
_setValue
)},
methods
:{
getTexts
:
function
(
e
,
t
){
var
n
=
this
;
return
e
.
map
(
function
(
e
){
var
r
=
(
"
object
"
==
typeof
e
?
e
[
n
.
rangeKey
]
||
""
:
e
)
+
(
n
.
units
[
t
]
||
""
);
if
(
i
>
0
&&
r
.
length
>
i
)
for
(
var
a
=
0
,
o
=
0
;
o
<
r
.
length
;
o
++
){
var
s
=
r
.
charCodeAt
(
o
);
if
((
a
+=
s
>
127
||
94
===
s
?
1
:.
5
)
>=
i
)
return
r
.
slice
(
0
,
o
+
1
)
+
"
...
"
}
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
r
=
0
;
r
<
60
;
r
++
)
t
.
push
((
r
<
10
?
"
0
"
:
""
)
+
r
);
this
.
timeArray
.
push
(
e
,
t
)},
_createDate
:
function
(){
for
(
var
e
=
[],
t
=
(
new
Date
).
getFullYear
(),
n
=
t
-
61
,
r
=
t
+
61
;
n
<=
r
;
n
++
)
e
.
push
(
String
(
n
));
for
(
var
a
=
[],
i
=
1
;
i
<=
12
;
i
++
)
a
.
push
((
i
<
10
?
"
0
"
:
""
)
+
i
);
for
(
var
o
=
[],
s
=
1
;
s
<=
31
;
s
++
)
o
.
push
((
s
<
10
?
"
0
"
:
""
)
+
s
);
this
.
dateArray
.
push
(
e
,
a
,
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
]},
_setValue
:
function
(){
var
e
,
t
=
this
,
n
=
this
.
value
;
switch
(
this
.
mode
){
case
s
:
e
=
[
n
];
break
;
case
u
:
e
=
a
(
n
);
break
;
case
c
:
0
===
this
.
value
&&
(
n
=
(
0
,
r
.
formatDateTime
)({
mode
:
c
})),
e
=
n
.
split
(
"
:
"
).
map
(
function
(
e
,
n
){
return
t
.
timeArray
[
n
].
indexOf
(
e
)});
break
;
case
l
:
0
===
this
.
value
&&
(
n
=
(
0
,
r
.
formatDateTime
)({
mode
:
l
})),
e
=
n
.
split
(
"
-
"
).
map
(
function
(
e
,
n
){
return
t
.
dateArray
[
n
].
indexOf
(
e
)})}
this
.
oldValueArray
=
a
(
e
),
this
.
valueArray
=
a
(
e
)},
_getValue
:
function
(){
var
e
=
this
,
t
=
this
.
valueArray
;
switch
(
this
.
mode
){
case
s
:
return
t
[
0
];
case
u
:
return
t
.
map
(
function
(
e
){
return
e
});
case
c
:
return
this
.
valueArray
.
map
(
function
(
t
,
n
){
return
e
.
timeArray
[
n
][
t
]}).
join
(
"
:
"
);
case
l
:
return
this
.
valueArray
.
map
(
function
(
t
,
n
){
return
e
.
dateArray
[
n
][
t
]}).
join
(
"
-
"
)}},
_change
:
function
(){
this
.
$emit
(
"
change
"
,{
value
:
this
.
_getValue
()})},
_cancel
:
function
(){
this
.
$emit
(
"
cancel
"
)}}};
t
.
default
=
v
},
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.6)
"
},
"
uni-picker
"
:{
position
:
"
absolute
"
,
left
:
0
,
bottom
:
0
,
right
:
0
,
height
:
"
283
"
,
backgroundColor
:
"
#ffffff
"
,
color
:
"
#000000
"
,
flexDirection
:
"
column
"
,
transform
:
"
translateY(283px)
"
},
"
uni-picker-header
"
:{
height
:
"
45
"
,
borderBottomWidth
:
"
1
"
,
borderBottomColor
:
"
#e5e5e5
"
},
"
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
"
:{
fontSize
:
"
16
"
,
lineHeight
:
"
34
"
,
textAlign
:
"
center
"
,
color
:
"
#000000
"
}}},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
}}},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
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
)])},
a
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
r
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
a
})},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:[
"
content
"
]},[
n
(
"
div
"
,{
staticClass
:[
"
uni-mask
"
],
class
:{
"
uni-mask-visible
"
:
e
.
visible
},
on
:{
click
:
e
.
_cancel
}}),
n
(
"
div
"
,{
ref
:
"
picker
"
,
staticClass
:[
"
uni-picker
"
],
class
:{
"
uni-picker-visible
"
:
e
.
visible
}},[
n
(
"
div
"
,{
staticClass
:[
"
uni-picker-header
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-cancel
"
],
on
:{
click
:
e
.
_cancel
}},[
e
.
_v
(
"
取消
"
)]),
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-confirm
"
],
on
:{
click
:
e
.
_change
}},[
e
.
_v
(
"
确定
"
)])]),
e
.
visible
?
n
(
"
picker-view
"
,{
staticClass
:[
"
uni-picker-content
"
],
attrs
:{
height
:
"
238
"
,
indicatorStyle
:
"
height: 34px
"
,
value
:
e
.
valueArray
},
on
:{
"
update:value
"
:
function
(
t
){
e
.
valueArray
=
t
}}},
e
.
_l
(
e
.
rangeArray
,
function
(
t
,
r
){
return
n
(
"
picker-view-column
"
,{
key
:
r
,
attrs
:{
length
:
t
.
length
}},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-item
"
]},[
e
.
_v
(
e
.
_s
(
e
.
getTexts
(
t
,
r
)))])])}),
1
):
e
.
_e
()],
1
)])},
a
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
r
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
a
})},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
26
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
27
),
a
=
n
.
n
(
r
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
t
.
default
=
a
.
a
},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
6
);
var
r
=
n
(
12
);
r
.
default
.
mpType
=
"
page
"
,
r
.
default
.
route
=
"
__uniapppicker
"
,
r
.
default
.
el
=
"
#root
"
,
new
Vue
(
r
.
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
32
),
a
=
n
(
24
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
var
o
=
n
(
0
);
var
s
=
Object
(
o
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
1807473b
"
);(
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
(
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
,
a
=
e
.
mode
;
return
"
time
"
===
(
void
0
===
a
?
"
date
"
:
a
)?
r
(
n
.
getHours
())
+
"
:
"
+
r
(
n
.
getMinutes
()):
n
.
getFullYear
()
+
"
-
"
+
r
(
n
.
getMonth
()
+
1
)
+
"
-
"
+
r
(
n
.
getDate
())};
var
r
=
function
(
e
){
return
e
>
9
?
e
:
"
0
"
+
e
}}]);
\ No newline at end of file
packages/uni-cli-shared/template/common/__uniappscan.js
浏览文件 @
c6a1a001
!
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
=
40
)}([
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
o
,
r
,
i
,
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
),
r
&&
(
c
.
_scopeId
=
"
data-v-
"
+
r
),
i
?(
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
(
i
)},
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
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
3
),
o
=
n
.
n
(
a
);
for
(
var
r
in
a
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
weex
.
requireModule
(
"
globalEvent
"
),
o
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
o
=
this
,
r
=
t
.
from
,
i
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
r
,
this
.
__runtime
=
i
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
o
.
onClose
?
o
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
i
?
n
.
$on
(
this
.
__page
,
c
):
a
.
addEventListener
(
"
plusMessage
"
,
c
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
o
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
r
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
o
}};
if
(
o
||
(
"
v8-native
"
===
this
.
__runtime
?
n
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
a
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
r
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
n
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
r
))});
else
{
var
i
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
i
&&
i
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
r
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
o
}).
call
(
this
,
n
(
4
).
weexPlus
,
n
(
4
).
default
)},
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
))},
r
=
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
r
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
r
.
success
)
||
e
(
r
.
fail
)
||
e
(
r
.
complete
)?
t
.
apply
(
void
0
,[
r
].
concat
(
a
)):
new
Promise
(
function
(
e
,
n
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
r
,{
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
]})}},
i
=
[],
s
=
void
0
;
function
u
(
e
){
i
.
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
}):
m
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
i
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
r
=
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
:
r
});
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
"
),
g
=
weex
.
requireModule
(
"
globalEvent
"
),
v
=
0
,
y
=
{},
h
=
"
__uniapp__service
"
;
g
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
_
(
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
C
&&
C
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
M
&&
M
(
e
.
data
.
data
)});
var
_
=
function
(
e
,
t
){
var
n
=
y
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
y
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
A
=
function
(
t
){
var
n
,
a
,
o
=
t
.
id
,
r
=
t
.
type
,
i
=
t
.
params
;
y
[
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
=
i
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
o
,
type
:
r
,
params
:
i
},
h
)};
function
m
(
e
){
p
.
postMessage
(
e
,
h
)}
var
b
=
function
(
e
){
return
function
(
t
){
A
({
id
:
v
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
C
=
void
0
,
w
=
void
0
,
M
=
void
0
;
function
E
(
e
){
S
=
e
}
function
k
(
e
){
C
=
e
}
function
O
(
e
){
w
=
e
}
function
B
(
e
){
M
=
e
}
function
I
(
e
){
return
weex
.
requireModule
(
e
)}
var
P
=
weex
.
requireModule
(
"
dom
"
),
N
=
weex
.
requireModule
(
"
globalEvent
"
),
T
=
[];
function
D
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
T
.
push
(
e
))}
N
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
D
.
isUniAppReady
=!
0
,
T
.
length
&&
(
T
.
forEach
(
function
(
e
){
return
e
()}),
T
=
[]))});
var
x
=
"
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
"
),
V
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
V
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
x
(
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
},
F
=
weex
.
requireModule
(
"
plusstorage
"
),
$
=
"
__TYPE
"
,
j
=
weex
.
requireModule
(
"
clipboard
"
),
L
=
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
J
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
Q
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
r
=
(
t
.
fail
,
t
.
complete
);
P
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
i
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
i
),
e
(
r
)
&&
r
(
i
)},
ready
:
D
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
o
=
t
.
header
,
r
=
t
.
method
,
i
=
void
0
===
r
?
"
GET
"
:
r
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
g
=
{};
if
(
o
)
for
(
var
v
in
o
)
p
||
"
content-type
"
!==
v
.
toLowerCase
()?
g
[
v
]
=
o
[
v
]:(
p
=!
0
,
g
[
"
Content-Type
"
]
=
o
[
v
]);
return
i
===
V
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
a
)),
U
.
fetch
({
url
:
n
,
method
:
i
,
headers
:
g
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
i
!==
V
?
R
(
a
,
i
,
g
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
r
=
{};
!
n
||-
1
===
n
||
d
?(
r
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
r
)):(
r
.
data
=
a
,
r
.
statusCode
=
n
,
r
.
header
=
o
,
e
(
c
)
&&
c
(
r
)),
e
(
f
)
&&
f
(
r
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
r
=
t
.
complete
;
F
.
getItem
(
n
+
$
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
i
=
t
.
data
;
F
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
i
&&
n
?(
"
String
"
!==
i
&&
(
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
(
r
)
&&
r
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
),
e
(
r
)
&&
r
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
o
=
t
.
success
,
r
=
t
.
fail
,
i
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
x
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
F
.
setItem
(
n
,
a
,
function
(
t
){
"
success
"
===
t
.
result
?
F
.
setItem
(
n
+
$
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
o
)
&&
o
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
))}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
)),
e
(
i
)
&&
i
(
t
)})},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
r
=
t
.
complete
;
F
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
r
)
&&
r
(
t
)}),
F
.
removeItem
(
n
+
$
)},
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
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
),
r
=
{
errMsg
:
"
setClipboardData:ok
"
};
j
.
setString
(
n
),
e
(
a
)
&&
a
(
r
),
e
(
o
)
&&
o
(
r
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
J
(
L
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
J
(
L
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
J
(
L
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
J
(
L
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
q
=
{
os
:{
nvue
:
!
0
}},
K
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
K
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
m
;
if
(
"
requireNativePlugin
"
===
t
)
return
I
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
E
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
k
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
O
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
B
;
var
n
=
Q
[
t
];
return
n
||
(
n
=
b
(
t
)),
a
(
t
)?
r
(
n
):
n
}}):(
Object
.
keys
(
q
).
forEach
(
function
(
e
){
K
[
e
]
=
q
[
e
]}),
K
.
postMessage
=
m
,
K
.
requireNativePlugin
=
I
,
K
.
onNavigationBarButtonTap
=
E
,
K
.
onNavigationBarSearchInputChanged
=
k
,
K
.
onNavigationBarSearchInputConfirmed
=
O
,
K
.
onNavigationBarSearchInputClicked
=
B
,
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
=
Q
[
e
];
t
||
(
t
=
b
(
e
)),
a
(
e
)?
K
[
e
]
=
r
(
t
):
K
[
e
]
=
t
})),
K
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
r
=
a
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
r
},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
o
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
1
),
o
=
n
.
n
(
a
);
for
(
var
r
in
a
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
5
),
o
=
n
(
2
);
for
(
var
r
in
o
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
o
[
e
]})}(
r
);
var
i
=
n
(
0
);
var
s
=
Object
(
i
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
690d182e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
31
),
o
=
n
(
19
),
r
=
n
(
0
);
var
i
=
Object
(
r
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
5c4c8174
"
);(
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
(
35
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
35
).
default
)}).
call
(
i
),
t
.
default
=
i
.
exports
},,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
20
),
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
,
r
=
(
a
=
n
(
8
))
&&
a
.
__esModule
?
a
:{
default
:
a
};
function
i
(
e
,
t
,
n
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
n
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
n
,
e
}
var
s
=
e
.
barcode
,
u
=
{
qrCode
:[
s
.
QR
,
s
.
AZTEC
,
s
.
MAXICODE
],
barCode
:[
s
.
EAN13
,
s
.
EAN8
,
s
.
UPCA
,
s
.
UPCE
,
s
.
CODABAR
,
s
.
CODE128
,
s
.
CODE39
,
s
.
CODE93
,
s
.
ITF
,
s
.
RSS14
,
s
.
RSSEXPANDED
],
datamatrix
:[
s
.
DATAMATRIX
],
pdf417
:[
s
.
PDF417
]},
c
=
(
i
(
o
=
{},
s
.
QR
,
"
QR_CODE
"
),
i
(
o
,
s
.
EAN13
,
"
EAN_13
"
),
i
(
o
,
s
.
EAN8
,
"
EAN_8
"
),
i
(
o
,
s
.
DATAMATRIX
,
"
DATA_MATRIX
"
),
i
(
o
,
s
.
UPCA
,
"
UPC_A
"
),
i
(
o
,
s
.
UPCE
,
"
UPC_E
"
),
i
(
o
,
s
.
CODABAR
,
"
CODABAR
"
),
i
(
o
,
s
.
CODE39
,
"
CODE_39
"
),
i
(
o
,
s
.
CODE93
,
"
CODE_93
"
),
i
(
o
,
s
.
CODE128
,
"
CODE_128
"
),
i
(
o
,
s
.
ITF
,
"
CODE_25
"
),
i
(
o
,
s
.
PDF417
,
"
PDF_417
"
),
i
(
o
,
s
.
AZTEC
,
"
AZTEC
"
),
i
(
o
,
s
.
RSS14
,
"
RSS_14
"
),
i
(
o
,
s
.
RSSEXPANDED
,
"
RSSEXPANDED
"
),
o
),
l
=
{
mixins
:[
r
.
default
],
data
:{
filters
:[
0
,
2
,
1
],
backgroud
:
"
#000000
"
,
frameColor
:
"
#118ce9
"
,
scanbarColor
:
"
#118ce9
"
,
enabledFlash
:
!
1
,
flashImage0
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABjklEQVRoQ+1ZbVHEQAx9TwE4ABTcOQAknANQAKcAUAAOAAXgAHAACsDCKQiTmbYDzJZtNt2bFrJ/m6+Xl2yyU2LmhzOPH/8PgIjcADirxNyapNoffMwMiMgzgMPBHmyCLySPLCoBwJKtAbJbYaBmD1yRvBwAtBMxl5DF+DZkiwCIyBLAzsgBbki+Wm2WAlCaL6zOMvKnJO+sNksB7ALQbO1ZHfbIv5FUVs2nCIB6EZETALdmj2mFY5I6X8ynGEADQllYmL1+VzBfnV/VvQB0aj45ARyQ/Ci14QLQsOBZLe5JaikWnzEA7AN4L4hgA2Dpyb76dANwsOCq/TZhASAYKGie0a7R1lDPI0ebtF0NUi+4yfdAtxr3PEMnD6BbD0QkNfACQO05EAwMuaBqDrIVycdmTpwDuP4R0OR7QFftVRP0g+49cwOQq4DJMxAAchmofY3m/EcJBQOZbTRKKJeBKKEoIePvpFRJ1VzmciUccyCa+C81cerBkuuB7sGTE/zt+yhN7AnAqxsAvBn06n8CkyPwMZKwm+UAAAAASUVORK5CYII=
"
,
flashImage1
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAA3kvI3lfY2k/VAl+43k/U3k/Q4k/M3kvI3k/M4k/Q4lPU2lPU2k/Vdq843k/WWSpNKAAAAD3RSTlMAwD+QINCAcPBgUDDgoBAE044kAAAAdklEQVQ4y2OgOrD/DwffUSTkERIfyZXAtOMbca7iVoKDDSgSbAijJqBI8J2HiX9FM2s+TOITmgQrTEIATYIJJuEA5mJ68S+Gg/0hEi0YEoxQK2gs0WyPQyKBGYeEAhPtJRaw45AIccXpwVEJekuwQyQWMFAfAACeDBJY9aXa3QAAAABJRU5ErkJggg==
"
},
onLoad
:
function
(
e
){
var
t
=
this
,
n
=
JSON
.
parse
(
e
.
data
).
scanType
,
a
=
[];
Array
.
isArray
(
n
)
&&
n
.
length
&&
n
.
forEach
(
function
(
e
){
var
t
=
u
[
e
];
t
&&
(
a
=
a
.
concat
(
t
))}),
a
.
length
||
(
a
=
a
.
concat
(
u
.
qrCode
).
concat
(
u
.
barCode
).
concat
(
u
.
datamatrix
).
concat
(
u
.
pdf417
)),
this
.
filters
=
a
,
this
.
onMessage
(
function
(
e
){
t
.
gallery
()})},
onUnload
:
function
(){
this
.
cancel
()},
methods
:{
start
:
function
(){
this
.
$refs
.
barcode
.
start
({
conserve
:
!
0
,
filename
:
"
_doc/barcode/
"
})},
scan
:
function
(
t
){
var
n
=
this
;
s
.
scan
(
t
,
function
(
e
,
t
,
a
){
n
.
scanSuccess
(
e
,
t
,
a
)},
function
(){
e
.
nativeUI
.
toast
(
"
识别失败
"
)},
this
.
filters
)},
cancel
:
function
(){
this
.
$refs
.
barcode
.
cancel
()},
gallery
:
function
(){
var
t
=
this
;
e
.
gallery
.
pick
(
function
(
e
){
t
.
scan
(
e
)},
function
(
t
){
12
!==
t
.
code
&&
e
.
nativeUI
.
toast
(
"
选择失败
"
)},{
multiple
:
!
1
,
system
:
!
1
})},
onmarked
:
function
(
e
){
var
t
=
e
.
detail
;
this
.
scanSuccess
(
t
.
code
,
t
.
message
,
t
.
file
)},
scanSuccess
:
function
(
e
,
t
,
n
){
this
.
postMessage
({
event
:
"
marked
"
,
detail
:{
scanType
:
c
[
e
],
result
:
t
,
charSet
:
"
utf8
"
,
path
:
n
||
""
}})},
onerror
:
function
(
e
){
this
.
postMessage
({
event
:
"
fail
"
,
message
:
JSON
.
stringify
(
e
)})},
setFlash
:
function
(){
this
.
enabledFlash
=!
this
.
enabledFlash
,
this
.
$refs
.
barcode
.
setFlash
(
this
.
enabledFlash
)}}};
t
.
default
=
l
}).
call
(
this
,
n
(
4
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
content
:{
flex
:
1
,
alignItems
:
"
center
"
,
justifyContent
:
"
center
"
},
barcode
:{
position
:
"
absolute
"
,
left
:
0
,
top
:
0
,
right
:
0
,
bottom
:
0
,
zIndex
:
1
},
"
set-flash
"
:{
alignItems
:
"
center
"
,
justifyContent
:
"
center
"
,
transform
:
"
translateY(80px)
"
,
zIndex
:
2
},
"
image-flash
"
:{
width
:
"
28
"
,
height
:
"
28
"
,
marginBottom
:
"
2
"
},
"
image-flash-text
"
:{
fontSize
:
"
12
"
,
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
:[
"
content
"
]},[
n
(
"
barcode
"
,{
ref
:
"
barcode
"
,
staticClass
:[
"
barcode
"
],
attrs
:{
autostart
:
"
true
"
,
backgroud
:
e
.
backgroud
,
frameColor
:
e
.
frameColor
,
scanbarColor
:
e
.
scanbarColor
,
filters
:
e
.
filters
},
on
:{
marked
:
e
.
onmarked
,
error
:
e
.
onerror
}}),
n
(
"
view
"
,{
staticClass
:[
"
set-flash
"
],
on
:{
click
:
e
.
setFlash
}},[
n
(
"
u-image
"
,{
staticClass
:[
"
image-flash
"
],
attrs
:{
src
:
e
.
enabledFlash
?
e
.
flashImage1
:
e
.
flashImage0
,
resize
:
"
stretch
"
}}),
n
(
"
u-text
"
,{
staticClass
:[
"
image-flash-text
"
]},[
e
.
_v
(
e
.
_s
(
e
.
enabledFlash
?
"
轻触关闭
"
:
"
轻触照亮
"
))])],
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
(
21
),
o
=
n
.
n
(
a
);
for
(
var
r
in
a
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
t
.
default
=
o
.
a
},,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
6
);
var
a
=
n
(
11
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
__uniappscan
"
,
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
=
41
)}([
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
o
,
r
,
i
,
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
),
r
&&
(
c
.
_scopeId
=
"
data-v-
"
+
r
),
i
?(
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
(
i
)},
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
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
3
),
o
=
n
.
n
(
a
);
for
(
var
r
in
a
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
,
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
weex
.
requireModule
(
"
globalEvent
"
),
o
=
{
data
:
function
(){
return
{}},
onLoad
:
function
(
t
){
var
o
=
this
,
r
=
t
.
from
,
i
=
(
t
.
callback
,
t
.
runtime
),
s
=
t
.
data
;
this
.
__from
=
r
,
this
.
__runtime
=
i
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
;
try
{
this
.
data
=
s
?
JSON
.
parse
(
decodeURIComponent
(
s
)):{}}
catch
(
e
){
this
.
data
=
null
}
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
o
.
onClose
?
o
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
this
.
_onPlusMessage
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
"
v8-native
"
===
i
?
n
.
$on
(
this
.
__page
,
c
):
a
.
addEventListener
(
"
plusMessage
"
,
c
)},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
o
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
r
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
o
}};
if
(
o
||
(
"
v8-native
"
===
this
.
__runtime
?
n
.
$off
(
this
.
__page
,
this
.
_onPlusMessage
):
a
.
removeEventListener
(
"
plusMessage
"
,
this
.
_onPlusMessage
)),
"
v8
"
===
this
.
__runtime
)
e
.
webview
.
postMessageToUniNView
(
r
,
this
.
__from
);
else
if
(
"
v8-native
"
===
this
.
__runtime
)
n
.
$emit
(
this
.
__from
,{
data
:
JSON
.
parse
(
JSON
.
stringify
(
r
))});
else
{
var
i
=
e
.
webview
.
getWebviewById
(
this
.
__from
);
i
&&
i
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
r
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
o
}).
call
(
this
,
n
(
5
).
weexPlus
,
n
(
5
).
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"
view
"
)},
o
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
o
})},
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
))},
r
=
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
r
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{};
return
e
(
r
.
success
)
||
e
(
r
.
fail
)
||
e
(
r
.
complete
)?
t
.
apply
(
void
0
,[
r
].
concat
(
a
)):
new
Promise
(
function
(
e
,
n
){
t
.
apply
(
void
0
,[
Object
.
assign
({},
r
,{
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
]})}},
i
=
[],
s
=
void
0
;
function
u
(
e
){
i
.
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
}):
m
({
type
:
"
UniAppSubNVue
"
,
data
:
e
})},
e
.
onMessage
=
function
(
e
){
i
.
push
(
e
)},
e
.
__uniapp_mask_id
){
s
=
e
.
__uniapp_host
;
var
r
=
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
:
r
});
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
"
),
g
=
weex
.
requireModule
(
"
globalEvent
"
),
v
=
0
,
y
=
{},
h
=
"
__uniapp__service
"
;
g
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppJsApi
"
===
e
.
data
.
type
?
_
(
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
C
&&
C
(
e
.
data
.
data
):
"
onNavigationBarSearchInputConfirmed
"
===
e
.
data
.
type
?
"
function
"
==
typeof
w
&&
w
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
M
&&
M
(
e
.
data
.
data
)});
var
_
=
function
(
e
,
t
){
var
n
=
y
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
y
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
A
=
function
(
t
){
var
n
,
a
,
o
=
t
.
id
,
r
=
t
.
type
,
i
=
t
.
params
;
y
[
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
=
i
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
o
,
type
:
r
,
params
:
i
},
h
)};
function
m
(
e
){
p
.
postMessage
(
e
,
h
)}
var
b
=
function
(
e
){
return
function
(
t
){
A
({
id
:
v
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
C
=
void
0
,
w
=
void
0
,
M
=
void
0
;
function
E
(
e
){
S
=
e
}
function
k
(
e
){
C
=
e
}
function
O
(
e
){
w
=
e
}
function
B
(
e
){
M
=
e
}
function
I
(
e
){
return
weex
.
requireModule
(
e
)}
var
P
=
weex
.
requireModule
(
"
dom
"
),
N
=
weex
.
requireModule
(
"
globalEvent
"
),
T
=
[];
function
D
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
T
.
push
(
e
))}
N
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
D
.
isUniAppReady
=!
0
,
T
.
length
&&
(
T
.
forEach
(
function
(
e
){
return
e
()}),
T
=
[]))});
var
x
=
"
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
"
),
V
=
"
GET
"
,
R
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
V
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
"
application/x-www-form-urlencoded
"
;
return
"
object
"
===
(
void
0
===
e
?
"
undefined
"
:
x
(
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
},
F
=
weex
.
requireModule
(
"
plusstorage
"
),
$
=
"
__TYPE
"
,
j
=
weex
.
requireModule
(
"
clipboard
"
),
L
=
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
J
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
Q
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
o
=
(
t
.
desc
,
t
.
success
),
r
=
(
t
.
fail
,
t
.
complete
);
P
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
i
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
o
)
&&
o
(
i
),
e
(
r
)
&&
r
(
i
)},
ready
:
D
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
o
=
t
.
header
,
r
=
t
.
method
,
i
=
void
0
===
r
?
"
GET
"
:
r
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
g
=
{};
if
(
o
)
for
(
var
v
in
o
)
p
||
"
content-type
"
!==
v
.
toLowerCase
()?
g
[
v
]
=
o
[
v
]:(
p
=!
0
,
g
[
"
Content-Type
"
]
=
o
[
v
]);
return
i
===
V
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
R
(
a
)),
U
.
fetch
({
url
:
n
,
method
:
i
,
headers
:
g
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
i
!==
V
?
R
(
a
,
i
,
g
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
o
=
t
.
headers
,
r
=
{};
!
n
||-
1
===
n
||
d
?(
r
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
r
)):(
r
.
data
=
a
,
r
.
statusCode
=
n
,
r
.
header
=
o
,
e
(
c
)
&&
c
(
r
)),
e
(
f
)
&&
f
(
r
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
r
=
t
.
complete
;
F
.
getItem
(
n
+
$
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
i
=
t
.
data
;
F
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
i
&&
n
?(
"
String
"
!==
i
&&
(
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
(
r
)
&&
r
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
o
)
&&
o
(
t
),
e
(
r
)
&&
r
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
o
=
t
.
success
,
r
=
t
.
fail
,
i
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
x
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
F
.
setItem
(
n
,
a
,
function
(
t
){
"
success
"
===
t
.
result
?
F
.
setItem
(
n
+
$
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
o
)
&&
o
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
))}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
)),
e
(
i
)
&&
i
(
t
)})},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
o
=
t
.
fail
,
r
=
t
.
complete
;
F
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
o
)
&&
o
(
t
)),
e
(
r
)
&&
r
(
t
)}),
F
.
removeItem
(
n
+
$
)},
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
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
),
r
=
{
errMsg
:
"
setClipboardData:ok
"
};
j
.
setString
(
n
),
e
(
a
)
&&
a
(
r
),
e
(
o
)
&&
o
(
r
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
o
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
J
(
L
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
J
(
L
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
J
(
L
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
J
(
L
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
q
=
{
os
:{
nvue
:
!
0
}},
K
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
K
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
m
;
if
(
"
requireNativePlugin
"
===
t
)
return
I
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
E
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
k
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
O
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
B
;
var
n
=
Q
[
t
];
return
n
||
(
n
=
b
(
t
)),
a
(
t
)?
r
(
n
):
n
}}):(
Object
.
keys
(
q
).
forEach
(
function
(
e
){
K
[
e
]
=
q
[
e
]}),
K
.
postMessage
=
m
,
K
.
requireNativePlugin
=
I
,
K
.
onNavigationBarButtonTap
=
E
,
K
.
onNavigationBarSearchInputChanged
=
k
,
K
.
onNavigationBarSearchInputConfirmed
=
O
,
K
.
onNavigationBarSearchInputClicked
=
B
,
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
=
Q
[
e
];
t
||
(
t
=
b
(
e
)),
a
(
e
)?
K
[
e
]
=
r
(
t
):
K
[
e
]
=
t
})),
K
};
var
o
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
o
;
var
r
=
a
(
weex
,
o
,
BroadcastChannel
);
t
.
default
=
r
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
7
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
1
),
o
=
n
.
n
(
a
);
for
(
var
r
in
a
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
t
.
default
=
o
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
4
),
o
=
n
(
2
);
for
(
var
r
in
o
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
o
[
e
]})}(
r
);
var
i
=
n
(
0
);
var
s
=
Object
(
i
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
66394a0e
"
);(
function
(){
this
.
options
.
style
||
(
this
.
options
.
style
=
{}),
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__$appStyle__
&&
Vue
.
prototype
.
__merge_style
(
Vue
.
prototype
.
__$appStyle__
,
this
.
options
.
style
)}).
call
(
s
),
t
.
default
=
s
.
exports
},,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
31
),
o
=
n
(
19
),
r
=
n
(
0
);
var
i
=
Object
(
r
.
a
)(
o
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
a5df3eee
"
);(
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
(
35
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
35
).
default
)}).
call
(
i
),
t
.
default
=
i
.
exports
},,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
20
),
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
,
r
=
(
a
=
n
(
8
))
&&
a
.
__esModule
?
a
:{
default
:
a
};
function
i
(
e
,
t
,
n
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
n
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
n
,
e
}
var
s
=
e
.
barcode
,
u
=
{
qrCode
:[
s
.
QR
,
s
.
AZTEC
,
s
.
MAXICODE
],
barCode
:[
s
.
EAN13
,
s
.
EAN8
,
s
.
UPCA
,
s
.
UPCE
,
s
.
CODABAR
,
s
.
CODE128
,
s
.
CODE39
,
s
.
CODE93
,
s
.
ITF
,
s
.
RSS14
,
s
.
RSSEXPANDED
],
datamatrix
:[
s
.
DATAMATRIX
],
pdf417
:[
s
.
PDF417
]},
c
=
(
i
(
o
=
{},
s
.
QR
,
"
QR_CODE
"
),
i
(
o
,
s
.
EAN13
,
"
EAN_13
"
),
i
(
o
,
s
.
EAN8
,
"
EAN_8
"
),
i
(
o
,
s
.
DATAMATRIX
,
"
DATA_MATRIX
"
),
i
(
o
,
s
.
UPCA
,
"
UPC_A
"
),
i
(
o
,
s
.
UPCE
,
"
UPC_E
"
),
i
(
o
,
s
.
CODABAR
,
"
CODABAR
"
),
i
(
o
,
s
.
CODE39
,
"
CODE_39
"
),
i
(
o
,
s
.
CODE93
,
"
CODE_93
"
),
i
(
o
,
s
.
CODE128
,
"
CODE_128
"
),
i
(
o
,
s
.
ITF
,
"
CODE_25
"
),
i
(
o
,
s
.
PDF417
,
"
PDF_417
"
),
i
(
o
,
s
.
AZTEC
,
"
AZTEC
"
),
i
(
o
,
s
.
RSS14
,
"
RSS_14
"
),
i
(
o
,
s
.
RSSEXPANDED
,
"
RSSEXPANDED
"
),
o
),
l
=
{
mixins
:[
r
.
default
],
data
:{
filters
:[
0
,
2
,
1
],
backgroud
:
"
#000000
"
,
frameColor
:
"
#118ce9
"
,
scanbarColor
:
"
#118ce9
"
,
enabledFlash
:
!
1
,
flashImage0
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABjklEQVRoQ+1ZbVHEQAx9TwE4ABTcOQAknANQAKcAUAAOAAXgAHAACsDCKQiTmbYDzJZtNt2bFrJ/m6+Xl2yyU2LmhzOPH/8PgIjcADirxNyapNoffMwMiMgzgMPBHmyCLySPLCoBwJKtAbJbYaBmD1yRvBwAtBMxl5DF+DZkiwCIyBLAzsgBbki+Wm2WAlCaL6zOMvKnJO+sNksB7ALQbO1ZHfbIv5FUVs2nCIB6EZETALdmj2mFY5I6X8ynGEADQllYmL1+VzBfnV/VvQB0aj45ARyQ/Ci14QLQsOBZLe5JaikWnzEA7AN4L4hgA2Dpyb76dANwsOCq/TZhASAYKGie0a7R1lDPI0ebtF0NUi+4yfdAtxr3PEMnD6BbD0QkNfACQO05EAwMuaBqDrIVycdmTpwDuP4R0OR7QFftVRP0g+49cwOQq4DJMxAAchmofY3m/EcJBQOZbTRKKJeBKKEoIePvpFRJ1VzmciUccyCa+C81cerBkuuB7sGTE/zt+yhN7AnAqxsAvBn06n8CkyPwMZKwm+UAAAAASUVORK5CYII=
"
,
flashImage1
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAA3kvI3lfY2k/VAl+43k/U3k/Q4k/M3kvI3k/M4k/Q4lPU2lPU2k/Vdq843k/WWSpNKAAAAD3RSTlMAwD+QINCAcPBgUDDgoBAE044kAAAAdklEQVQ4y2OgOrD/DwffUSTkERIfyZXAtOMbca7iVoKDDSgSbAijJqBI8J2HiX9FM2s+TOITmgQrTEIATYIJJuEA5mJ68S+Gg/0hEi0YEoxQK2gs0WyPQyKBGYeEAhPtJRaw45AIccXpwVEJekuwQyQWMFAfAACeDBJY9aXa3QAAAABJRU5ErkJggg==
"
},
onLoad
:
function
(
e
){
var
t
=
this
,
n
=
(
"
string
"
!=
typeof
e
.
data
?
JSON
.
parse
(
e
.
data
):
e
.
data
).
scanType
,
a
=
[];
Array
.
isArray
(
n
)
&&
n
.
length
&&
n
.
forEach
(
function
(
e
){
var
t
=
u
[
e
];
t
&&
(
a
=
a
.
concat
(
t
))}),
a
.
length
||
(
a
=
a
.
concat
(
u
.
qrCode
).
concat
(
u
.
barCode
).
concat
(
u
.
datamatrix
).
concat
(
u
.
pdf417
)),
this
.
filters
=
a
,
this
.
onMessage
(
function
(
e
){
t
.
gallery
()})},
onUnload
:
function
(){
this
.
cancel
()},
methods
:{
start
:
function
(){
this
.
$refs
.
barcode
.
start
({
conserve
:
!
0
,
filename
:
"
_doc/barcode/
"
})},
scan
:
function
(
t
){
var
n
=
this
;
s
.
scan
(
t
,
function
(
e
,
t
,
a
){
n
.
scanSuccess
(
e
,
t
,
a
)},
function
(){
e
.
nativeUI
.
toast
(
"
识别失败
"
)},
this
.
filters
)},
cancel
:
function
(){
this
.
$refs
.
barcode
.
cancel
()},
gallery
:
function
(){
var
t
=
this
;
e
.
gallery
.
pick
(
function
(
e
){
t
.
scan
(
e
)},
function
(
t
){
12
!==
t
.
code
&&
e
.
nativeUI
.
toast
(
"
选择失败
"
)},{
multiple
:
!
1
,
system
:
!
1
})},
onmarked
:
function
(
e
){
var
t
=
e
.
detail
;
this
.
scanSuccess
(
t
.
code
,
t
.
message
,
t
.
file
)},
scanSuccess
:
function
(
e
,
t
,
n
){
this
.
postMessage
({
event
:
"
marked
"
,
detail
:{
scanType
:
c
[
e
],
result
:
t
,
charSet
:
"
utf8
"
,
path
:
n
||
""
}})},
onerror
:
function
(
e
){
this
.
postMessage
({
event
:
"
fail
"
,
message
:
JSON
.
stringify
(
e
)})},
setFlash
:
function
(){
this
.
enabledFlash
=!
this
.
enabledFlash
,
this
.
$refs
.
barcode
.
setFlash
(
this
.
enabledFlash
)}}};
t
.
default
=
l
}).
call
(
this
,
n
(
5
).
weexPlus
)},
function
(
e
,
t
){
e
.
exports
=
{
content
:{
flex
:
1
,
alignItems
:
"
center
"
,
justifyContent
:
"
center
"
},
barcode
:{
position
:
"
absolute
"
,
left
:
0
,
top
:
0
,
right
:
0
,
bottom
:
0
,
zIndex
:
1
},
"
set-flash
"
:{
alignItems
:
"
center
"
,
justifyContent
:
"
center
"
,
transform
:
"
translateY(80px)
"
,
zIndex
:
2
},
"
image-flash
"
:{
width
:
"
28
"
,
height
:
"
28
"
,
marginBottom
:
"
2
"
},
"
image-flash-text
"
:{
fontSize
:
"
12
"
,
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
:[
"
content
"
]},[
n
(
"
barcode
"
,{
ref
:
"
barcode
"
,
staticClass
:[
"
barcode
"
],
attrs
:{
autostart
:
"
true
"
,
backgroud
:
e
.
backgroud
,
frameColor
:
e
.
frameColor
,
scanbarColor
:
e
.
scanbarColor
,
filters
:
e
.
filters
},
on
:{
marked
:
e
.
onmarked
,
error
:
e
.
onerror
}}),
n
(
"
view
"
,{
staticClass
:[
"
set-flash
"
],
on
:{
click
:
e
.
setFlash
}},[
n
(
"
u-image
"
,{
staticClass
:[
"
image-flash
"
],
attrs
:{
src
:
e
.
enabledFlash
?
e
.
flashImage1
:
e
.
flashImage0
,
resize
:
"
stretch
"
}}),
n
(
"
u-text
"
,{
staticClass
:[
"
image-flash-text
"
]},[
e
.
_v
(
e
.
_s
(
e
.
enabledFlash
?
"
轻触关闭
"
:
"
轻触照亮
"
))])],
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
(
21
),
o
=
n
.
n
(
a
);
for
(
var
r
in
a
)
"
default
"
!==
r
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
r
);
t
.
default
=
o
.
a
},,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
6
);
var
a
=
n
(
11
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
__uniappscan
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)}]);
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录