Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
anyefeiyu
uni-app
提交
9455be25
U
uni-app
项目概览
anyefeiyu
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9455be25
编写于
12月 12, 2019
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: update template
上级
fffccb85
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
1 addition
and
1 deletion
+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/__uniapppicker.js
浏览文件 @
9455be25
!
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
=
43
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
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
,
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
"
),
g
=
weex
.
requireModule
(
"
globalEvent
"
),
v
=
0
,
h
=
{},
y
=
"
__uniapp__service
"
;
g
.
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
x
&&
x
(
e
.
data
.
data
):
"
onNavigationBarSearchInputClicked
"
===
e
.
data
.
type
&&
"
function
"
==
typeof
A
&&
A
(
e
.
data
.
data
)});
var
m
=
function
(
e
,
t
){
var
n
=
h
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
h
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
_
=
function
(
t
){
var
n
,
r
,
a
=
t
.
id
,
i
=
t
.
type
,
o
=
t
.
params
;
h
[
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
:
v
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
k
=
void
0
,
x
=
void
0
,
A
=
void
0
;
function
M
(
e
){
S
=
e
}
function
C
(
e
){
k
=
e
}
function
T
(
e
){
x
=
e
}
function
$
(
e
){
A
=
e
}
function
V
(
e
){
return
weex
.
requireModule
(
e
)}
var
O
=
weex
.
requireModule
(
"
dom
"
),
N
=
weex
.
requireModule
(
"
globalEvent
"
),
B
=
[];
function
P
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
B
.
push
(
e
))}
N
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
P
.
isUniAppReady
=!
0
,
B
.
length
&&
(
B
.
forEach
(
function
(
e
){
return
e
()}),
B
=
[]))});
var
I
=
"
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
},
j
=
weex
.
requireModule
(
"
stream
"
),
E
=
"
GET
"
,
L
=
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
"
:
I
(
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
},
D
=
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
:
P
,
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
,
g
=
{};
if
(
a
)
for
(
var
v
in
a
)
p
||
"
content-type
"
!==
v
.
toLowerCase
()?
g
[
v
]
=
a
[
v
]:(
p
=!
0
,
g
[
"
Content-Type
"
]
=
a
[
v
]);
return
o
===
E
&&
r
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
L
(
r
)),
j
.
fetch
({
url
:
n
,
method
:
o
,
headers
:
g
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
o
!==
E
?
L
(
r
,
o
,
g
[
"
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
;
D
.
getItem
(
n
+
U
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
o
=
t
.
data
;
D
.
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
"
:
I
(
r
))
&&
(
s
=
"
Object
"
,
r
=
JSON
.
stringify
(
r
)),
D
.
setItem
(
n
,
r
,
function
(
t
){
"
success
"
===
t
.
result
?
D
.
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
;
D
.
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
)}),
D
.
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
)))}}),
Y
=
{
os
:{
nvue
:
!
0
}},
J
=
{};
return
"
undefined
"
!=
typeof
Proxy
?
J
=
new
Proxy
({},{
get
:
function
(
e
,
t
){
if
(
"
os
"
===
t
)
return
{
nvue
:
!
0
};
if
(
"
postMessage
"
===
t
)
return
b
;
if
(
"
requireNativePlugin
"
===
t
)
return
V
;
if
(
"
onNavigationBarButtonTap
"
===
t
)
return
M
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
C
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
T
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
$
;
var
n
=
W
[
t
];
return
n
||
(
n
=
w
(
t
)),
r
(
t
)?
i
(
n
):
n
}}):(
Object
.
keys
(
Y
).
forEach
(
function
(
e
){
J
[
e
]
=
Y
[
e
]}),
J
.
postMessage
=
b
,
J
.
requireNativePlugin
=
V
,
J
.
onNavigationBarButtonTap
=
M
,
J
.
onNavigationBarSearchInputChanged
=
C
,
J
.
onNavigationBarSearchInputConfirmed
=
T
,
J
.
onNavigationBarSearchInputClicked
=
$
,
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
)?
J
[
e
]
=
i
(
t
):
J
[
e
]
=
t
})),
J
};
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
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
0
),
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
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
r
=
n
.
from
,
a
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
o
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
r
,
this
.
__runtime
=
a
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
o
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
methods
:{
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
r
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
a
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
){
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
r
,
a
);
else
new
BroadcastChannel
(
a
).
postMessage
(
r
)}
else
{
var
i
=
e
.
webview
.
getWebviewById
(
a
);
i
&&
i
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
r
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
31
),
a
=
n
(
20
),
i
=
n
(
1
);
var
o
=
Object
(
i
.
a
)(
a
.
default
,
r
.
a
,
r
.
b
,
!
1
,
null
,
null
,
"
1a1844d6
"
);(
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
(
39
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
39
).
default
)}).
call
(
o
),
t
.
default
=
o
.
exports
},,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
21
),
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
(
44
));
function
a
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
mixins
:[
a
(
n
(
5
)).
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
(
23
),
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
(
45
);
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
=
weex
.
requireModule
(
"
animation
"
),
o
=
"
selector
"
,
s
=
"
multiSelector
"
,
u
=
"
time
"
,
c
=
"
date
"
,
l
=
"
year
"
,
f
=
"
month
"
,
d
=
"
day
"
,
p
=
{
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
:
o
},
fields
:{
type
:
String
,
default
:
d
},
start
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
u
)
return
"
00:00
"
;
if
(
this
.
mode
===
c
){
var
e
=
(
new
Date
).
getFullYear
()
-
61
;
switch
(
this
.
fields
){
case
l
:
return
e
;
case
f
:
return
e
+
"
-01
"
;
case
d
:
return
e
+
"
-01-01
"
}}
return
""
}},
end
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
u
)
return
"
23:59
"
;
if
(
this
.
mode
===
c
){
var
e
=
(
new
Date
).
getFullYear
()
+
61
;
switch
(
this
.
fields
){
case
l
:
return
e
;
case
f
:
return
e
+
"
-12
"
;
case
d
:
return
e
+
"
-12-31
"
}}
return
""
}},
disabled
:{
type
:[
Boolean
,
String
],
default
:
!
1
},
visible
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
timeArray
:[],
dateArray
:[],
valueArray
:[],
oldValueArray
:[],
fontSize
:
16
,
android
:
"
android
"
===
weex
.
config
.
env
.
platform
.
toLowerCase
()}},
computed
:{
rangeArray
:
function
(){
var
e
=
this
.
range
;
switch
(
this
.
mode
){
case
o
:
return
[
e
];
case
s
:
return
e
;
case
u
:
return
this
.
timeArray
;
case
c
:
var
t
=
this
.
dateArray
;
switch
(
this
.
fields
){
case
l
:
return
[
t
[
0
]];
case
f
:
return
[
t
[
0
],
t
[
1
]];
case
d
:
return
[
t
[
0
],
t
[
1
],
t
[
2
]]}}
return
[]},
startArray
:
function
(){
var
e
=
this
.
mode
===
c
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
c
?
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
===
c
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
c
?
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
c
:
return
[
"
年
"
,
"
月
"
,
"
日
"
];
case
u
:
return
[
"
时
"
,
"
分
"
];
default
:
return
[]}},
textMaxLength
:
function
(){
return
Math
.
floor
(
weex
.
config
.
env
.
deviceWidth
/
weex
.
config
.
env
.
scale
/
this
.
fontSize
/
this
.
rangeArray
.
length
)}},
watch
:{
valueArray
:
function
(
e
){
var
t
=
this
;
if
(
this
.
mode
===
u
||
this
.
mode
===
c
){
var
n
=
this
.
mode
===
u
?
this
.
_getTimeValue
:
this
.
_getDateValue
,
r
=
this
.
valueArray
,
a
=
this
.
startArray
,
i
=
this
.
endArray
;
if
(
this
.
mode
===
c
){
var
o
=
this
.
dateArray
,
l
=
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
+
l
-
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
===
s
&&
t
.
$emit
(
"
columnchange
"
,{
column
:
n
,
value
:
e
}))})},
visible
:
function
(
e
){
var
t
=
this
;
e
?
this
.
$nextTick
(
function
(){
i
.
transition
(
t
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(0)
"
},
duration
:
200
})}):
i
.
transition
(
this
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(283px)
"
},
duration
:
200
})}},
created
:
function
(){
this
.
_createTime
(),
this
.
_createDate
(),
this
.
_setValue
(),
this
.
$watch
(
"
value
"
,
this
.
_setValue
),
this
.
$watch
(
"
mode
"
,
this
.
_setValue
)},
methods
:{
getTexts
:
function
(
e
,
t
){
var
n
=
this
,
r
=
this
.
textMaxLength
;
return
e
.
map
(
function
(
e
){
var
a
=
(
"
object
"
==
typeof
e
?
e
[
n
.
rangeKey
]
||
""
:
e
)
+
(
n
.
units
[
t
]
||
""
);
if
(
r
>
0
&&
a
.
length
>
r
)
for
(
var
i
=
0
,
o
=
0
;
o
<
a
.
length
;
o
++
){
var
s
=
a
.
charCodeAt
(
o
);
if
((
i
+=
s
>
127
||
94
===
s
?
1
:.
5
)
>=
r
)
return
o
===
a
.
length
-
1
?
a
:
a
.
slice
(
0
,
o
)
+
"
...
"
}
return
a
}).
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
o
:
e
=
[
n
];
break
;
case
s
:
e
=
a
(
n
);
break
;
case
u
:
0
===
this
.
value
&&
(
n
=
(
0
,
r
.
formatDateTime
)({
mode
:
u
})),
e
=
n
.
split
(
"
:
"
).
map
(
function
(
e
,
n
){
return
t
.
timeArray
[
n
].
indexOf
(
e
)});
break
;
case
c
:
0
===
this
.
value
&&
(
n
=
(
0
,
r
.
formatDateTime
)({
mode
:
c
})),
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
o
:
return
t
[
0
];
case
s
:
return
t
.
map
(
function
(
e
){
return
e
});
case
u
:
return
this
.
valueArray
.
map
(
function
(
t
,
n
){
return
e
.
timeArray
[
n
][
t
]}).
join
(
"
:
"
);
case
c
:
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
=
p
},
function
(
e
,
t
){
e
.
exports
=
{
content
:{
position
:
"
absolute
"
,
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
0
},
"
uni-mask
"
:{
position
:
"
absolute
"
,
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
0
,
backgroundColor
:
"
rgba(0,0,0,0.4)
"
,
opacity
:
0
,
transitionProperty
:
"
opacity
"
,
transitionDuration
:
200
,
transitionTimingFunction
:
"
linear
"
},
"
@TRANSITION
"
:{
"
uni-mask
"
:{
property
:
"
opacity
"
,
duration
:
200
,
timingFunction
:
"
linear
"
}},
"
uni-mask-android
"
:{
backgroundColor
:
"
rgba(0,0,0,0.6)
"
},
"
uni-mask-visible
"
:{
opacity
:
1
},
"
uni-picker
"
:{
position
:
"
absolute
"
,
left
:
0
,
bottom
:
0
,
right
:
0
,
height
:
"
261
"
,
backgroundColor
:
"
#ffffff
"
,
color
:
"
#000000
"
,
flexDirection
:
"
column
"
,
transform
:
"
translateY(261px)
"
},
"
uni-picker-header
"
:{
height
:
"
45
"
,
borderBottomWidth
:
0
,
backgroundColor
:
"
#E6E6E6
"
,
fontSize
:
"
20
"
},
"
uni-picker-action
"
:{
position
:
"
absolute
"
,
textAlign
:
"
center
"
,
top
:
0
,
height
:
"
45
"
,
paddingTop
:
0
,
paddingRight
:
"
14
"
,
paddingBottom
:
0
,
paddingLeft
:
"
14
"
,
fontSize
:
"
17
"
,
lineHeight
:
"
45
"
},
"
uni-picker-action-cancel
"
:{
left
:
0
,
color
:
"
#888888
"
},
"
uni-picker-action-confirm
"
:{
right
:
0
,
color
:
"
#007aff
"
},
"
uni-picker-content
"
:{
flex
:
1
},
"
uni-picker-item
"
:{
lineHeight
:
"
34
"
,
textAlign
:
"
center
"
,
color
:
"
#000000
"
}}},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
}}},,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
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
"
,{
ref
:
"
mask
"
,
staticClass
:[
"
uni-mask
"
],
class
:{
"
uni-mask-visible
"
:
e
.
visible
,
"
uni-mask-android
"
:
e
.
android
},
on
:{
click
:
e
.
_cancel
}}),
n
(
"
div
"
,{
ref
:
"
picker
"
,
staticClass
:[
"
uni-picker
"
],
class
:{
"
uni-picker-visible
"
:
e
.
visible
}},[
n
(
"
div
"
,{
staticClass
:[
"
uni-picker-header
"
]},[
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
:
"
216
"
,
indicatorStyle
:
"
height: 34px;border-color:#C8C9C9;border-top-width:0.5px;border-bottom-width:0.5px;
"
,
value
:
e
.
valueArray
},
on
:{
"
update:value
"
:
function
(
t
){
e
.
valueArray
=
t
}}},
e
.
_l
(
e
.
rangeArray
,
function
(
t
,
r
){
return
n
(
"
picker-view-column
"
,{
key
:
r
,
attrs
:{
length
:
t
.
length
}},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-item
"
],
style
:{
fontSize
:
e
.
fontSize
+
"
px
"
}},[
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
(
24
),
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
(
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
"
;
n
.
r
(
t
);
n
(
3
);
var
r
=
n
(
9
);
r
.
default
.
mpType
=
"
page
"
,
r
.
default
.
route
=
"
template/__uniapppicker
"
,
r
.
default
.
el
=
"
#root
"
,
new
Vue
(
r
.
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
34
),
a
=
n
(
22
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
var
o
=
n
(
1
);
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
(
38
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
38
).
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
(
a
){
if
(
t
[
a
])
return
t
[
a
].
exports
;
var
r
=
t
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
r
.
exports
,
r
,
r
.
exports
,
n
),
r
.
l
=!
0
,
r
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
a
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
a
})},
n
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
a
=
Object
.
create
(
null
);
if
(
n
.
r
(
a
),
Object
.
defineProperty
(
a
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
r
in
e
)
n
.
d
(
a
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
a
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"
a
"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
44
)}([
function
(
e
,
t
){
e
.
exports
=
{}},
function
(
e
,
t
,
n
){
"
use strict
"
;
function
a
(
e
,
t
,
n
,
a
,
r
,
i
,
o
,
s
){
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
),
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__
),
r
&&
r
.
call
(
this
,
e
),
e
&&
e
.
_registeredComponents
&&
e
.
_registeredComponents
.
add
(
o
)},
c
.
_ssrRegister
=
u
):
r
&&
(
u
=
s
?
function
(){
r
.
call
(
this
,
this
.
$root
.
$options
.
shadowRoot
)}:
r
),
u
)
if
(
c
.
functional
){
c
.
_injectStyles
=
u
;
var
l
=
c
.
render
;
c
.
render
=
function
(
e
,
t
){
return
u
.
call
(
t
),
l
(
e
,
t
)}}
else
{
var
f
=
c
.
beforeCreate
;
c
.
beforeCreate
=
f
?[].
concat
(
f
,
u
):[
u
]}
return
{
exports
:
e
,
options
:
c
}}
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
})},
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
weexPlus
=
t
.
default
=
void
0
,
a
=
"
function
"
==
typeof
getUni
?
getUni
:
function
(){
var
e
=
function
(
e
){
return
"
function
"
==
typeof
e
},
t
=
/^
\$
|^on|^create|Sync$|Manager$|^pause/
,
n
=
[
"
os
"
,
"
getCurrentSubNVue
"
,
"
getSubNVueById
"
,
"
stopRecord
"
,
"
stopVoice
"
,
"
stopBackgroundAudio
"
,
"
stopPullDownRefresh
"
,
"
hideKeyboard
"
,
"
hideToast
"
,
"
hideLoading
"
,
"
showNavigationBarLoading
"
,
"
hideNavigationBarLoading
"
,
"
canIUse
"
,
"
navigateBack
"
,
"
closeSocket
"
,
"
pageScrollTo
"
,
"
drawCanvas
"
],
a
=
function
(
e
){
return
!
(
t
.
test
(
e
)
&&
"
createBLEConnection
"
!==
e
||~
n
.
indexOf
(
e
))},
i
=
function
(
t
){
return
function
(){
for
(
var
n
=
arguments
.
length
,
a
=
Array
(
n
>
1
?
n
-
1
:
0
),
r
=
1
;
r
<
n
;
r
++
)
a
[
r
-
1
]
=
arguments
[
r
];
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
]})}},
o
=
[],
s
=
void
0
;
function
u
(
e
){
o
.
forEach
(
function
(
t
){
return
t
({
origin
:
s
,
data
:
e
})})}
var
c
=
r
.
webview
.
currentWebview
().
id
,
l
=
new
BroadcastChannel
(
"
UNI-APP-SUBNVUE
"
);
function
f
(
e
){
e
.
$processed
=!
0
;
var
t
=
r
.
webview
.
currentWebview
().
id
===
e
.
id
,
n
=
"
uniNView
"
===
e
.
__uniapp_origin_type
&&
e
.
__uniapp_origin_id
,
a
=
e
.
id
;
if
(
e
.
postMessage
=
function
(
e
){
n
?
l
.
postMessage
({
data
:
e
,
to
:
t
?
n
:
a
}):
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
=
r
.
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
=
r
.
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
"
),
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
?
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
x
&&
x
(
e
.
data
.
data
)});
var
m
=
function
(
e
,
t
){
var
n
=
v
[
e
];
n
?(
n
(
t
),
n
.
keepAlive
||
delete
v
[
e
]):
console
.
error
(
"
callback[
"
+
e
+
"
] is undefined
"
)},
_
=
function
(
t
){
var
n
,
a
,
r
=
t
.
id
,
i
=
t
.
type
,
o
=
t
.
params
;
v
[
r
]
=
(
a
=
function
(
t
){
e
(
n
)?
n
(
t
):
n
&&
(
~
t
.
errMsg
.
indexOf
(
"
:ok
"
)?
e
(
n
.
success
)
&&
n
.
success
(
t
):
~
t
.
errMsg
.
indexOf
(
"
:fail
"
)
&&
e
(
n
.
fail
)
&&
n
.
fail
(
t
),
e
(
n
.
complete
)
&&
n
.
complete
(
t
))},(
e
(
n
=
o
)
||
n
&&
e
(
n
.
callback
))
&&
(
a
.
keepAlive
=!
0
),
a
),
p
.
postMessage
({
id
:
r
,
type
:
i
,
params
:
o
},
y
)};
function
b
(
e
){
p
.
postMessage
(
e
,
y
)}
var
w
=
function
(
e
){
return
function
(
t
){
_
({
id
:
g
++
,
type
:
e
,
params
:
t
})}},
S
=
void
0
,
k
=
void
0
,
A
=
void
0
,
x
=
void
0
;
function
M
(
e
){
S
=
e
}
function
C
(
e
){
k
=
e
}
function
I
(
e
){
A
=
e
}
function
T
(
e
){
x
=
e
}
function
O
(
e
){
return
weex
.
requireModule
(
e
)}
var
$
=
weex
.
requireModule
(
"
dom
"
),
V
=
weex
.
requireModule
(
"
globalEvent
"
),
P
=
[];
function
N
(
e
){
"
function
"
==
typeof
e
&&
(
this
.
isUniAppReady
?
e
():
P
.
push
(
e
))}
V
.
addEventListener
(
"
plusMessage
"
,
function
(
e
){
"
UniAppReady
"
===
e
.
data
.
type
&&
(
N
.
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
},
B
=
weex
.
requireModule
(
"
stream
"
),
E
=
"
GET
"
,
L
=
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
},
D
=
weex
.
requireModule
(
"
plusstorage
"
),
U
=
"
__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
R
(
e
,
t
,
n
){
return
e
[
t
].
apply
(
e
,
n
)}
var
q
=
Object
.
freeze
({
loadFontFace
:
function
(
t
){
var
n
=
t
.
family
,
a
=
t
.
source
,
r
=
(
t
.
desc
,
t
.
success
),
i
=
(
t
.
fail
,
t
.
complete
);
$
.
addRule
(
"
fontFace
"
,{
fontFamily
:
n
,
src
:
a
.
replace
(
/"/g
,
"
'
"
)});
var
o
=
{
errMsg
:
"
loadFontFace:ok
"
,
status
:
"
loaded
"
};
e
(
r
)
&&
r
(
o
),
e
(
i
)
&&
i
(
o
)},
ready
:
N
,
request
:
function
(
t
){
var
n
=
t
.
url
,
a
=
t
.
data
,
r
=
t
.
header
,
i
=
t
.
method
,
o
=
void
0
===
i
?
"
GET
"
:
i
,
s
=
t
.
dataType
,
u
=
void
0
===
s
?
"
json
"
:
s
,
c
=
(
t
.
responseType
,
t
.
success
),
l
=
t
.
fail
,
f
=
t
.
complete
,
d
=!
1
,
p
=!
1
,
h
=
{};
if
(
r
)
for
(
var
g
in
r
)
p
||
"
content-type
"
!==
g
.
toLowerCase
()?
h
[
g
]
=
r
[
g
]:(
p
=!
0
,
h
[
"
Content-Type
"
]
=
r
[
g
]);
return
o
===
E
&&
a
&&
(
n
=
n
+
(
~
n
.
indexOf
(
"
?
"
)?
"
&
"
===
n
.
substr
(
-
1
)
||
"
?
"
===
n
.
substr
(
-
1
)?
""
:
"
&
"
:
"
?
"
)
+
L
(
a
)),
B
.
fetch
({
url
:
n
,
method
:
o
,
headers
:
h
,
type
:
"
json
"
===
u
?
"
json
"
:
"
text
"
,
body
:
o
!==
E
?
L
(
a
,
o
,
h
[
"
Content-Type
"
]):
""
},
function
(
t
){
var
n
=
t
.
status
,
a
=
(
t
.
ok
,
t
.
statusText
,
t
.
data
),
r
=
t
.
headers
,
i
=
{};
!
n
||-
1
===
n
||
d
?(
i
.
errMsg
=
"
request:fail
"
,
e
(
l
)
&&
l
(
i
)):(
i
.
data
=
a
,
i
.
statusCode
=
n
,
i
.
header
=
r
,
e
(
c
)
&&
c
(
i
)),
e
(
f
)
&&
f
(
i
)}),{
abort
:
function
(){
d
=!
0
}}},
getStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
r
=
t
.
fail
,
i
=
t
.
complete
;
D
.
getItem
(
n
+
U
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
o
=
t
.
data
;
D
.
getItem
(
n
,
function
(
t
){
if
(
"
success
"
===
t
.
result
){
var
n
=
t
.
data
;
o
&&
n
?(
"
String
"
!==
o
&&
(
n
=
JSON
.
parse
(
n
)),
e
(
a
)
&&
a
({
errMsg
:
"
getStorage:ok
"
,
data
:
n
})):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
))}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
);
e
(
i
)
&&
i
(
t
)})}
else
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
r
)
&&
r
(
t
),
e
(
i
)
&&
i
(
t
)})},
setStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
t
.
data
,
r
=
t
.
success
,
i
=
t
.
fail
,
o
=
t
.
complete
,
s
=
"
String
"
;
"
object
"
===
(
void
0
===
a
?
"
undefined
"
:
j
(
a
))
&&
(
s
=
"
Object
"
,
a
=
JSON
.
stringify
(
a
)),
D
.
setItem
(
n
,
a
,
function
(
t
){
"
success
"
===
t
.
result
?
D
.
setItem
(
n
+
U
,
s
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
r
)
&&
r
({
errMsg
:
"
setStorage:ok
"
}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
))}):(
t
.
errMsg
=
"
setStorage:fail
"
,
e
(
i
)
&&
i
(
t
)),
e
(
o
)
&&
o
(
t
)})},
removeStorage
:
function
(
t
){
var
n
=
t
.
key
,
a
=
(
t
.
data
,
t
.
success
),
r
=
t
.
fail
,
i
=
t
.
complete
;
D
.
removeItem
(
n
,
function
(
t
){
"
success
"
===
t
.
result
?
e
(
a
)
&&
a
({
errMsg
:
"
removeStorage:ok
"
}):(
t
.
errMsg
=
"
removeStorage:fail
"
,
e
(
r
)
&&
r
(
t
)),
e
(
i
)
&&
i
(
t
)}),
D
.
removeItem
(
n
+
U
)},
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
r
=
{
errMsg
:
"
getClipboardData:ok
"
,
data
:
t
.
data
};
e
(
n
)
&&
n
(
r
),
e
(
a
)
&&
a
(
r
)})},
setClipboardData
:
function
(
t
){
var
n
=
t
.
data
,
a
=
t
.
success
,
r
=
(
t
.
fail
,
t
.
complete
),
i
=
{
errMsg
:
"
setClipboardData:ok
"
};
z
.
setString
(
n
),
e
(
a
)
&&
a
(
i
),
e
(
r
)
&&
r
(
i
)},
onSubNVueMessage
:
u
,
getSubNVueById
:
d
,
getCurrentSubNVue
:
function
(){
return
d
(
r
.
webview
.
currentWebview
().
id
)},
$on
:
function
(){
return
R
(
F
(),
"
$on
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$off
:
function
(){
return
R
(
F
(),
"
$off
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$once
:
function
(){
return
R
(
F
(),
"
$once
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))},
$emit
:
function
(){
return
R
(
F
(),
"
$emit
"
,[].
concat
(
Array
.
prototype
.
slice
.
call
(
arguments
)))}}),
W
=
{
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
M
;
if
(
"
onNavigationBarSearchInputChanged
"
===
t
)
return
C
;
if
(
"
onNavigationBarSearchInputConfirmed
"
===
t
)
return
I
;
if
(
"
onNavigationBarSearchInputClicked
"
===
t
)
return
T
;
var
n
=
q
[
t
];
return
n
||
(
n
=
w
(
t
)),
a
(
t
)?
i
(
n
):
n
}}):(
Object
.
keys
(
W
).
forEach
(
function
(
e
){
Y
[
e
]
=
W
[
e
]}),
Y
.
postMessage
=
b
,
Y
.
requireNativePlugin
=
O
,
Y
.
onNavigationBarButtonTap
=
M
,
Y
.
onNavigationBarSearchInputChanged
=
C
,
Y
.
onNavigationBarSearchInputConfirmed
=
I
,
Y
.
onNavigationBarSearchInputClicked
=
T
,
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
=
w
(
e
)),
a
(
e
)?
Y
[
e
]
=
i
(
t
):
Y
[
e
]
=
t
})),
Y
};
var
r
=
new
WeexPlus
(
weex
);
t
.
weexPlus
=
r
;
var
i
=
a
(
weex
,
r
,
BroadcastChannel
);
t
.
default
=
i
},
function
(
e
,
t
,
n
){
Vue
.
prototype
.
__$appStyle__
=
{},
Vue
.
prototype
.
__merge_style
&&
Vue
.
prototype
.
__merge_style
(
n
(
4
).
default
,
Vue
.
prototype
.
__$appStyle__
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
0
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
onLoad
:
function
(){
this
.
initMessage
()},
methods
:{
initMessage
:
function
(){
var
t
=
this
,
n
=
e
.
webview
.
currentWebview
().
extras
||
{},
a
=
n
.
from
,
r
=
(
n
.
callback
,
n
.
runtime
),
i
=
n
.
data
,
o
=
void
0
===
i
?{}:
i
,
s
=
n
.
useGlobalEvent
;
this
.
__from
=
a
,
this
.
__runtime
=
r
,
this
.
__page
=
e
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
s
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
o
)),
e
.
key
.
addEventListener
(
"
backbutton
"
,
function
(){
"
function
"
==
typeof
t
.
onClose
?
t
.
onClose
():
e
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
var
u
=
this
,
c
=
function
(
e
){
var
t
=
e
.
data
&&
e
.
data
.
__message
;
t
&&
u
.
__onMessageCallback
&&
u
.
__onMessageCallback
(
t
.
data
)};
this
.
__useGlobalEvent
?
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
c
):
new
BroadcastChannel
(
this
.
__page
).
onmessage
=
c
},
postMessage
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
n
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]
&&
arguments
[
1
],
a
=
{
__message
:{
__page
:
this
.
__page
,
data
:
t
,
keep
:
n
}},
r
=
this
.
__from
;
if
(
"
v8
"
===
this
.
__runtime
){
if
(
this
.
__useGlobalEvent
)
e
.
webview
.
postMessageToUniNView
(
a
,
r
);
else
new
BroadcastChannel
(
r
).
postMessage
(
a
)}
else
{
var
i
=
e
.
webview
.
getWebviewById
(
r
);
i
&&
i
.
evalJS
(
"
__plusMessage&&__plusMessage(
"
.
concat
(
JSON
.
stringify
({
data
:
a
}),
"
)
"
))}},
onMessage
:
function
(
e
){
this
.
__onMessageCallback
=
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
32
),
r
=
n
(
20
),
i
=
n
(
1
);
var
o
=
Object
(
i
.
a
)(
r
.
default
,
a
.
a
,
a
.
b
,
!
1
,
null
,
null
,
"
221596a1
"
);(
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
(
40
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
40
).
default
)}).
call
(
o
),
t
.
default
=
o
.
exports
},,,,,,,,,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
n
(
21
),
r
=
n
.
n
(
a
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
r
(
n
(
45
));
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
i
=
{
mixins
:[
r
(
n
(
5
)).
default
],
components
:{
picker
:
a
.
default
},
data
:
function
(){
return
{
range
:[],
rangeKey
:
""
,
value
:
0
,
mode
:
"
selector
"
,
fields
:
"
day
"
,
start
:
""
,
end
:
""
,
disabled
:
!
1
,
visible
:
!
1
}},
onLoad
:
function
(){
var
e
=
this
;
null
===
this
.
data
?
this
.
postMessage
({
event
:
"
created
"
},
!
0
):
this
.
showPicker
(
this
.
data
),
this
.
onMessage
(
function
(
t
){
e
.
showPicker
(
t
)})},
onReady
:
function
(){
var
e
=
this
;
this
.
$nextTick
(
function
(){
e
.
visible
=!
0
})},
methods
:{
showPicker
:
function
(){
var
e
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:{},
t
=
e
.
column
;
for
(
var
n
in
e
)
"
column
"
!==
n
&&
(
"
number
"
==
typeof
t
?
this
.
$set
(
this
.
$data
[
n
],
t
,
e
[
n
]):
this
.
$data
[
n
]
=
e
[
n
])},
close
:
function
(
e
){
var
t
=
this
,
n
=
(
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:{}).
value
,
a
=
void
0
===
n
?
-
1
:
n
;
this
.
visible
=!
1
,
setTimeout
(
function
(){
t
.
postMessage
({
event
:
e
,
value
:
a
})},
210
)},
onClose
:
function
(){
this
.
close
(
"
cancel
"
)},
columnchange
:
function
(
e
){
var
t
=
e
.
column
,
n
=
e
.
value
;
this
.
$set
(
this
.
value
,
t
,
n
),
this
.
postMessage
({
event
:
"
columnchange
"
,
column
:
t
,
value
:
n
},
!
0
)}}};
t
.
default
=
i
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
23
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
n
(
46
),
r
=
o
(
n
(
29
)),
i
=
o
(
n
(
47
));
function
o
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
function
s
(
e
){
return
function
(
e
){
if
(
Array
.
isArray
(
e
)){
for
(
var
t
=
0
,
n
=
new
Array
(
e
.
length
);
t
<
e
.
length
;
t
++
)
n
[
t
]
=
e
[
t
];
return
n
}}(
e
)
||
function
(
e
){
if
(
Symbol
.
iterator
in
Object
(
e
)
||
"
[object Arguments]
"
===
Object
.
prototype
.
toString
.
call
(
e
))
return
Array
.
from
(
e
)}(
e
)
||
function
(){
throw
new
TypeError
(
"
Invalid attempt to spread non-iterable instance
"
)}()}
var
u
=
weex
.
requireModule
(
"
animation
"
),
c
=
"
selector
"
,
l
=
"
multiSelector
"
,
f
=
"
time
"
,
d
=
"
date
"
,
p
=
"
year
"
,
h
=
"
month
"
,
g
=
"
day
"
,
v
=
{
name
:
"
Picker
"
,
mixins
:[
r
.
default
,
i
.
default
],
props
:{
pageId
:{
type
:
Number
,
default
:
0
},
range
:{
type
:
Array
,
default
:
function
(){
return
[]}},
rangeKey
:{
type
:
String
,
default
:
""
},
value
:{
type
:[
Number
,
String
,
Array
],
default
:
0
},
mode
:{
type
:
String
,
default
:
c
},
fields
:{
type
:
String
,
default
:
g
},
start
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
f
)
return
"
00:00
"
;
if
(
this
.
mode
===
d
){
var
e
=
(
new
Date
).
getFullYear
()
-
61
;
switch
(
this
.
fields
){
case
p
:
return
e
;
case
h
:
return
e
+
"
-01
"
;
case
g
:
return
e
+
"
-01-01
"
}}
return
""
}},
end
:{
type
:
String
,
default
:
function
(){
if
(
this
.
mode
===
f
)
return
"
23:59
"
;
if
(
this
.
mode
===
d
){
var
e
=
(
new
Date
).
getFullYear
()
+
61
;
switch
(
this
.
fields
){
case
p
:
return
e
;
case
h
:
return
e
+
"
-12
"
;
case
g
:
return
e
+
"
-12-31
"
}}
return
""
}},
disabled
:{
type
:[
Boolean
,
String
],
default
:
!
1
},
visible
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
timeArray
:[],
dateArray
:[],
valueArray
:[],
oldValueArray
:[],
fontSize
:
16
,
height
:
261
,
android
:
"
android
"
===
weex
.
config
.
env
.
platform
.
toLowerCase
(),
localization
:{
en
:{
year
:
"
"
,
month
:
"
"
,
day
:
"
"
,
hour
:
"
"
,
minute
:
"
"
},
zh
:{
year
:
"
年
"
,
month
:
"
月
"
,
day
:
"
日
"
,
hour
:
"
时
"
,
minute
:
"
分
"
}}}},
computed
:{
rangeArray
:
function
(){
var
e
=
this
.
range
;
switch
(
this
.
mode
){
case
c
:
return
[
e
];
case
l
:
return
e
;
case
f
:
return
this
.
timeArray
;
case
d
:
var
t
=
this
.
dateArray
;
switch
(
this
.
fields
){
case
p
:
return
[
t
[
0
]];
case
h
:
return
[
t
[
0
],
t
[
1
]];
case
g
:
return
[
t
[
0
],
t
[
1
],
t
[
2
]]}}
return
[]},
startArray
:
function
(){
var
e
=
this
.
mode
===
d
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
d
?
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
===
d
?
"
-
"
:
"
:
"
,
t
=
this
.
mode
===
d
?
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
(){
var
e
=
this
.
localize
;
switch
(
this
.
mode
){
case
d
:
return
[
e
(
"
year
"
),
e
(
"
month
"
),
e
(
"
day
"
)];
case
f
:
return
[
e
(
"
hour
"
),
e
(
"
minute
"
)];
default
:
return
[]}},
textMaxLength
:
function
(){
return
Math
.
floor
(
Math
.
min
(
weex
.
config
.
env
.
deviceWidth
,
weex
.
config
.
env
.
deviceHeight
)
/
weex
.
config
.
env
.
scale
/
this
.
fontSize
/
this
.
rangeArray
.
length
)}},
watch
:{
valueArray
:
function
(
e
){
var
t
=
this
;
if
(
this
.
mode
===
f
||
this
.
mode
===
d
){
var
n
=
this
.
mode
===
f
?
this
.
_getTimeValue
:
this
.
_getDateValue
,
a
=
this
.
valueArray
,
r
=
this
.
startArray
,
i
=
this
.
endArray
;
if
(
this
.
mode
===
d
){
var
o
=
this
.
dateArray
,
s
=
o
[
2
].
length
,
u
=
o
[
2
][
a
[
2
]],
c
=
new
Date
(
""
.
concat
(
o
[
0
][
a
[
0
]],
"
/
"
).
concat
(
o
[
1
][
a
[
1
]],
"
/
"
).
concat
(
u
)).
getDate
();
c
<
(
u
=
Number
(
u
))
&&
(
a
[
2
]
-=
c
+
s
-
u
)}
n
(
a
)
<
n
(
r
)?
this
.
_cloneArray
(
a
,
r
):
n
(
a
)
>
n
(
i
)
&&
this
.
_cloneArray
(
a
,
i
)}
e
.
forEach
(
function
(
e
,
n
){
e
!==
t
.
oldValueArray
[
n
]
&&
(
t
.
oldValueArray
[
n
]
=
e
,
t
.
mode
===
l
&&
t
.
$emit
(
"
columnchange
"
,{
column
:
n
,
value
:
e
}))})},
visible
:
function
(
e
){
var
t
=
this
;
e
?
this
.
$nextTick
(
function
(){
u
.
transition
(
t
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(0)
"
},
duration
:
200
})}):
u
.
transition
(
this
.
$refs
.
picker
,{
styles
:{
transform
:
"
translateY(
"
.
concat
(
283
+
this
.
safeAreaInsets
.
bottom
,
"
px)
"
)},
duration
:
200
})}},
created
:
function
(){
this
.
_createTime
(),
this
.
_createDate
(),
this
.
_setValue
(),
this
.
$watch
(
"
value
"
,
this
.
_setValue
),
this
.
$watch
(
"
mode
"
,
this
.
_setValue
)},
methods
:{
getTexts
:
function
(
e
,
t
){
var
n
=
this
,
a
=
this
.
textMaxLength
;
return
e
.
map
(
function
(
e
){
var
r
=
(
"
object
"
==
typeof
e
?
e
[
n
.
rangeKey
]
||
""
:
e
)
+
(
n
.
units
[
t
]
||
""
);
if
(
a
>
0
&&
r
.
length
>
a
)
for
(
var
i
=
0
,
o
=
0
;
o
<
r
.
length
;
o
++
){
var
s
=
r
.
charCodeAt
(
o
);
if
((
i
+=
s
>
127
||
94
===
s
?
1
:.
65
)
>=
a
)
return
o
===
r
.
length
-
1
?
r
:
r
.
slice
(
0
,
o
)
+
"
...
"
}
return
r
}).
join
(
"
\n
"
)},
_createTime
:
function
(){
var
e
=
[],
t
=
[];
e
.
splice
(
0
,
e
.
length
);
for
(
var
n
=
0
;
n
<
24
;
n
++
)
e
.
push
((
n
<
10
?
"
0
"
:
""
)
+
n
);
t
.
splice
(
0
,
t
.
length
);
for
(
var
a
=
0
;
a
<
60
;
a
++
)
t
.
push
((
a
<
10
?
"
0
"
:
""
)
+
a
);
this
.
timeArray
.
push
(
e
,
t
)},
_createDate
:
function
(){
for
(
var
e
=
[],
t
=
(
new
Date
).
getFullYear
(),
n
=
t
-
61
,
a
=
t
+
61
;
n
<=
a
;
n
++
)
e
.
push
(
String
(
n
));
for
(
var
r
=
[],
i
=
1
;
i
<=
12
;
i
++
)
r
.
push
((
i
<
10
?
"
0
"
:
""
)
+
i
);
for
(
var
o
=
[],
s
=
1
;
s
<=
31
;
s
++
)
o
.
push
((
s
<
10
?
"
0
"
:
""
)
+
s
);
this
.
dateArray
.
push
(
e
,
r
,
o
)},
_getTimeValue
:
function
(
e
){
return
60
*
e
[
0
]
+
e
[
1
]},
_getDateValue
:
function
(
e
){
return
366
*
e
[
0
]
+
31
*
(
e
[
1
]
||
0
)
+
(
e
[
2
]
||
0
)},
_cloneArray
:
function
(
e
,
t
){
for
(
var
n
=
0
;
n
<
e
.
length
&&
n
<
t
.
length
;
n
++
)
e
[
n
]
=
t
[
n
]},
_setValue
:
function
(){
var
e
,
t
=
this
,
n
=
this
.
value
;
switch
(
this
.
mode
){
case
c
:
e
=
[
n
];
break
;
case
l
:
e
=
s
(
n
);
break
;
case
f
:
0
===
this
.
value
&&
(
n
=
(
0
,
a
.
formatDateTime
)({
mode
:
f
})),
e
=
n
.
split
(
"
:
"
).
map
(
function
(
e
,
n
){
return
t
.
timeArray
[
n
].
indexOf
(
e
)});
break
;
case
d
:
0
===
this
.
value
&&
(
n
=
(
0
,
a
.
formatDateTime
)({
mode
:
d
})),
e
=
n
.
split
(
"
-
"
).
map
(
function
(
e
,
n
){
return
t
.
dateArray
[
n
].
indexOf
(
e
)})}
this
.
oldValueArray
=
s
(
e
),
this
.
valueArray
=
s
(
e
)},
_getValue
:
function
(){
var
e
=
this
,
t
=
this
.
valueArray
;
switch
(
this
.
mode
){
case
c
:
return
t
[
0
];
case
l
:
return
t
.
map
(
function
(
e
){
return
e
});
case
f
:
return
this
.
valueArray
.
map
(
function
(
t
,
n
){
return
e
.
timeArray
[
n
][
t
]}).
join
(
"
:
"
);
case
d
:
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.4)
"
,
opacity
:
0
,
transitionProperty
:
"
opacity
"
,
transitionDuration
:
200
,
transitionTimingFunction
:
"
linear
"
},
"
@TRANSITION
"
:{
"
uni-mask
"
:{
property
:
"
opacity
"
,
duration
:
200
,
timingFunction
:
"
linear
"
}},
"
uni-mask-android
"
:{
backgroundColor
:
"
rgba(0,0,0,0.6)
"
},
"
uni-mask-visible
"
:{
opacity
:
1
},
"
uni-picker
"
:{
position
:
"
absolute
"
,
left
:
0
,
bottom
:
0
,
right
:
0
,
backgroundColor
:
"
#ffffff
"
,
color
:
"
#000000
"
,
flexDirection
:
"
column
"
,
transform
:
"
translateY(295px)
"
},
"
uni-picker-header
"
:{
height
:
"
45
"
,
borderBottomWidth
:
0
,
backgroundColor
:
"
#E6E6E6
"
,
fontSize
:
"
20
"
},
"
uni-picker-action
"
:{
position
:
"
absolute
"
,
textAlign
:
"
center
"
,
top
:
0
,
height
:
"
45
"
,
paddingTop
:
0
,
paddingRight
:
"
14
"
,
paddingBottom
:
0
,
paddingLeft
:
"
14
"
,
fontSize
:
"
17
"
,
lineHeight
:
"
45
"
},
"
uni-picker-action-cancel
"
:{
left
:
0
,
color
:
"
#888888
"
},
"
uni-picker-action-confirm
"
:{
right
:
0
,
color
:
"
#007aff
"
},
"
uni-picker-content
"
:{
flex
:
1
},
"
uni-picker-item
"
:{
lineHeight
:
"
34
"
,
textAlign
:
"
center
"
,
color
:
"
#000000
"
}}},
function
(
e
,
t
){
e
.
exports
=
{
page
:{
flex
:
1
}}},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
data
:
function
(){
return
{
locale
:{
default
:
"
en
"
,
full
:
"
en
"
,
primary
:
"
en
"
},
localization
:{
en
:{
ok
:
"
OK
"
,
cancel
:
"
Cancel
"
},
zh
:{
ok
:
"
完成
"
,
cancel
:
"
取消
"
},
"
zh-hans
"
:{},
"
zh-hant
"
:{}}}},
onLoad
:
function
(){
this
.
initLocale
()},
created
:
function
(){
this
.
initLocale
()},
methods
:{
initLocale
:
function
(){
if
(
!
this
.
__initLocale
){
this
.
__initLocale
=!
0
;
var
t
=
e
.
os
.
language
.
toLowerCase
().
replace
(
"
_
"
,
"
-
"
).
split
(
"
-
"
),
n
=
t
[
1
];
n
&&
(
t
[
1
]
=
{
chs
:
"
hans
"
,
cn
:
"
hans
"
,
sg
:
"
hans
"
,
cht
:
"
hant
"
,
tw
:
"
hant
"
,
hk
:
"
hant
"
,
mo
:
"
hant
"
}[
n
]
||
n
),
t
.
length
=
t
.
length
>
2
?
2
:
t
.
length
,
this
.
locale
.
full
=
t
.
join
(
"
-
"
),
this
.
locale
.
primary
=
t
[
0
]}},
localize
:
function
(
e
){
var
t
=
this
.
locale
,
n
=
this
.
localization
;
function
a
(
e
){
return
n
[
e
]
||
{}}
return
a
(
t
.
full
)[
e
]
||
a
(
t
.
primary
)[
e
]
||
a
(
t
.
default
)[
e
]
||
e
}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)},,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
scroll-view
"
,{
staticStyle
:{
flexDirection
:
"
column
"
},
attrs
:{
scrollY
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
}},[
n
(
"
view
"
,{
staticClass
:[
"
page
"
]},[
n
(
"
picker
"
,{
attrs
:{
range
:
e
.
range
,
rangeKey
:
e
.
rangeKey
,
value
:
e
.
value
,
mode
:
e
.
mode
,
fields
:
e
.
fields
,
start
:
e
.
start
,
end
:
e
.
end
,
disabled
:
e
.
disabled
,
visible
:
e
.
visible
},
on
:{
change
:
function
(
t
){
e
.
close
(
"
change
"
,
t
)},
cancel
:
function
(
t
){
e
.
close
(
"
cancel
"
,
t
)},
columnchange
:
e
.
columnchange
}})],
1
)])},
r
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
r
})},,,
function
(
e
,
t
,
n
){
"
use strict
"
;
var
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
staticClass
:[
"
content
"
]},[
n
(
"
div
"
,{
ref
:
"
mask
"
,
staticClass
:[
"
uni-mask
"
],
class
:{
"
uni-mask-visible
"
:
e
.
visible
,
"
uni-mask-android
"
:
e
.
android
},
on
:{
click
:
e
.
_cancel
}}),
n
(
"
div
"
,{
ref
:
"
picker
"
,
staticClass
:[
"
uni-picker
"
],
class
:{
"
uni-picker-visible
"
:
e
.
visible
},
style
:
"
padding-bottom:
"
+
e
.
safeAreaInsets
.
bottom
+
"
px;height:
"
+
(
e
.
height
+
e
.
safeAreaInsets
.
bottom
)
+
"
px;
"
},[
n
(
"
div
"
,{
staticClass
:[
"
uni-picker-header
"
]},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-cancel
"
],
style
:
"
left:
"
+
e
.
safeAreaInsets
.
left
+
"
px
"
,
on
:{
click
:
e
.
_cancel
}},[
e
.
_v
(
e
.
_s
(
e
.
localize
(
"
cancel
"
)))]),
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-action
"
,
"
uni-picker-action-confirm
"
],
style
:
"
right:
"
+
e
.
safeAreaInsets
.
right
+
"
px
"
,
on
:{
click
:
e
.
_change
}},[
e
.
_v
(
e
.
_s
(
e
.
localize
(
"
ok
"
)))])]),
e
.
visible
?
n
(
"
picker-view
"
,{
staticClass
:[
"
uni-picker-content
"
],
style
:
"
margin-left:
"
+
e
.
safeAreaInsets
.
left
+
"
px
"
,
attrs
:{
height
:
"
216
"
,
indicatorStyle
:
"
height: 34px;border-color:#C8C9C9;border-top-width:0.5px;border-bottom-width:0.5px;
"
,
value
:
e
.
valueArray
},
on
:{
"
update:value
"
:
function
(
t
){
e
.
valueArray
=
t
}}},
e
.
_l
(
e
.
rangeArray
,
function
(
t
,
a
){
return
n
(
"
picker-view-column
"
,{
key
:
a
,
attrs
:{
length
:
t
.
length
}},[
n
(
"
u-text
"
,{
staticClass
:[
"
uni-picker-item
"
],
style
:{
fontSize
:
e
.
fontSize
+
"
px
"
}},[
e
.
_v
(
e
.
_s
(
e
.
getTexts
(
t
,
a
)))])])}),
1
):
e
.
_e
()],
1
)])},
r
=
[];
n
.
d
(
t
,
"
a
"
,
function
(){
return
a
}),
n
.
d
(
t
,
"
b
"
,
function
(){
return
r
})},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
24
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
r
.
a
},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
25
),
r
=
n
.
n
(
a
);
for
(
var
i
in
a
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
a
[
e
]})}(
i
);
t
.
default
=
r
.
a
},,,,
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
3
);
var
a
=
n
(
9
);
a
.
default
.
mpType
=
"
page
"
,
a
.
default
.
route
=
"
template/__uniapppicker
"
,
a
.
default
.
el
=
"
#root
"
,
new
Vue
(
a
.
default
)},
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
a
=
n
(
35
),
r
=
n
(
22
);
for
(
var
i
in
r
)
"
default
"
!==
i
&&
function
(
e
){
n
.
d
(
t
,
e
,
function
(){
return
r
[
e
]})}(
i
);
var
o
=
n
(
1
);
var
s
=
Object
(
o
.
a
)(
r
.
default
,
a
.
a
,
a
.
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
(
39
).
default
,
this
.
options
.
style
):
Object
.
assign
(
this
.
options
.
style
,
n
(
39
).
default
)}).
call
(
s
),
t
.
default
=
s
.
exports
},
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
formatDateTime
=
function
(
e
){
var
t
=
e
.
date
,
n
=
void
0
===
t
?
new
Date
:
t
,
r
=
e
.
mode
;
return
"
time
"
===
(
void
0
===
r
?
"
date
"
:
r
)?
a
(
n
.
getHours
())
+
"
:
"
+
a
(
n
.
getMinutes
()):
n
.
getFullYear
()
+
"
-
"
+
a
(
n
.
getMonth
()
+
1
)
+
"
-
"
+
a
(
n
.
getDate
())};
var
a
=
function
(
e
){
return
e
>
9
?
e
:
"
0
"
+
e
}},
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
{
data
:
function
(){
return
{
safeAreaInsets
:{
left
:
0
,
right
:
0
,
top
:
0
,
bottom
:
0
}}},
onLoad
:
function
(){
this
.
initSafeAreaInsets
()},
created
:
function
(){
this
.
initSafeAreaInsets
()},
methods
:{
initSafeAreaInsets
:
function
(){
var
t
=
this
;
if
(
!
this
.
__initSafeAreaInsets
){
this
.
__initSafeAreaInsets
=!
0
;
var
n
=
e
.
webview
.
currentWebview
();
n
.
addEventListener
(
"
resize
"
,
function
(){
setTimeout
(
function
(){
t
.
updateSafeAreaInsets
(
n
)},
20
)}),
this
.
updateSafeAreaInsets
(
n
)}},
updateSafeAreaInsets
:
function
(
e
){
var
t
=
e
.
getSafeAreaInsets
(),
n
=
this
.
safeAreaInsets
;
Object
.
keys
(
n
).
forEach
(
function
(
e
){
n
[
e
]
=
t
[
e
]})}}};
t
.
default
=
n
}).
call
(
this
,
n
(
2
).
weexPlus
)}]);
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录