Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MuGuiLin
uni-app
提交
aa44f17a
U
uni-app
项目概览
MuGuiLin
/
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,发现更多精彩内容 >>
提交
aa44f17a
编写于
8月 26, 2022
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(app): openLocation safeAreaInsets.bottom
上级
b3761cfa
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
packages/uni-app-vite/lib/template/__uniappopenlocation.js
packages/uni-app-vite/lib/template/__uniappopenlocation.js
+1
-1
未找到文件。
packages/uni-app-vite/lib/template/__uniappopenlocation.js
浏览文件 @
aa44f17a
...
...
@@ -29,4 +29,4 @@ if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
};
(()
=>
{
var
v
=
Object
.
create
;
var
m
=
Object
.
defineProperty
;
var
P
=
Object
.
getOwnPropertyDescriptor
;
var
Q
=
Object
.
getOwnPropertyNames
;
var
b
=
Object
.
getPrototypeOf
,
w
=
Object
.
prototype
.
hasOwnProperty
;
var
E
=
(
e
,
t
)
=>
()
=>
(
t
||
e
((
t
=
{
exports
:{}}).
exports
,
t
),
t
.
exports
);
var
I
=
(
e
,
t
,
a
,
o
)
=>
{
if
(
t
&&
typeof
t
==
"
object
"
||
typeof
t
==
"
function
"
)
for
(
let
n
of
Q
(
t
))
!
w
.
call
(
e
,
n
)
&&
n
!==
a
&&
m
(
e
,
n
,{
get
:()
=>
t
[
n
],
enumerable
:
!
(
o
=
P
(
t
,
n
))
||
o
.
enumerable
});
return
e
};
var
O
=
(
e
,
t
,
a
)
=>
(
a
=
e
!=
null
?
v
(
b
(
e
)):{},
I
(
t
||!
e
||!
e
.
__esModule
?
m
(
a
,
"
default
"
,{
value
:
e
,
enumerable
:
!
0
}):
a
,
e
));
var
B
=
E
((
L
,
C
)
=>
{
C
.
exports
=
Vue
});
var
d
=
{
data
(){
return
{
locale
:
"
en
"
,
fallbackLocale
:
"
en
"
,
localization
:{
en
:{
done
:
"
OK
"
,
cancel
:
"
Cancel
"
},
zh
:{
done
:
"
\
u5B8C
\
u6210
"
,
cancel
:
"
\
u53D6
\
u6D88
"
},
"
zh-hans
"
:{},
"
zh-hant
"
:{},
messages
:{}},
localizationTemplate
:{}}},
onLoad
(){
this
.
initLocale
()},
created
(){
this
.
initLocale
()},
methods
:{
initLocale
(){
if
(
this
.
__initLocale
)
return
;
this
.
__initLocale
=!
0
;
let
e
=
(
plus
.
webview
.
currentWebview
().
extras
||
{}).
data
||
{};
if
(
e
.
messages
&&
(
this
.
localization
.
messages
=
e
.
messages
),
e
.
locale
){
this
.
locale
=
e
.
locale
.
toLowerCase
();
return
}
let
t
=
{
chs
:
"
hans
"
,
cn
:
"
hans
"
,
sg
:
"
hans
"
,
cht
:
"
hant
"
,
tw
:
"
hant
"
,
hk
:
"
hant
"
,
mo
:
"
hant
"
},
a
=
plus
.
os
.
language
.
toLowerCase
().
split
(
"
/
"
)[
0
].
replace
(
"
_
"
,
"
-
"
).
split
(
"
-
"
),
o
=
a
[
1
];
o
&&
(
a
[
1
]
=
t
[
o
]
||
o
),
a
.
length
=
a
.
length
>
2
?
2
:
a
.
length
,
this
.
locale
=
a
.
join
(
"
-
"
)},
localize
(
e
){
let
t
=
this
.
locale
,
a
=
t
.
split
(
"
-
"
)[
0
],
o
=
this
.
fallbackLocale
,
n
=
s
=>
Object
.
assign
({},
this
.
localization
[
s
],(
this
.
localizationTemplate
||
{})[
s
]);
return
n
(
"
messages
"
)[
e
]
||
n
(
t
)[
e
]
||
n
(
a
)[
e
]
||
n
(
o
)[
e
]
||
e
}}},
h
=
{
onLoad
(){
this
.
initMessage
()},
methods
:{
initMessage
(){
let
{
from
:
e
,
callback
:
t
,
runtime
:
a
,
data
:
o
=
{},
useGlobalEvent
:
n
}
=
plus
.
webview
.
currentWebview
().
extras
||
{};
this
.
__from
=
e
,
this
.
__runtime
=
a
,
this
.
__page
=
plus
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
n
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
o
)),
plus
.
key
.
addEventListener
(
"
backbutton
"
,()
=>
{
typeof
this
.
onClose
==
"
function
"
?
this
.
onClose
():
plus
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
let
s
=
this
,
r
=
function
(
l
){
let
A
=
l
.
data
&&
l
.
data
.
__message
;
!
A
||
s
.
__onMessageCallback
&&
s
.
__onMessageCallback
(
A
.
data
)};
if
(
this
.
__useGlobalEvent
)
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
r
);
else
{
let
l
=
new
BroadcastChannel
(
this
.
__page
);
l
.
onmessage
=
r
}},
postMessage
(
e
=
{},
t
=!
1
){
let
a
=
JSON
.
parse
(
JSON
.
stringify
({
__message
:{
__page
:
this
.
__page
,
data
:
e
,
keep
:
t
}})),
o
=
this
.
__from
;
if
(
this
.
__runtime
===
"
v8
"
)
this
.
__useGlobalEvent
?
plus
.
webview
.
postMessageToUniNView
(
a
,
o
):
new
BroadcastChannel
(
o
).
postMessage
(
a
);
else
{
let
n
=
plus
.
webview
.
getWebviewById
(
o
);
n
&&
n
.
evalJS
(
`__plusMessage&&__plusMessage(
${
JSON
.
stringify
({
data
:
a
})}
)`
)}},
onMessage
(
e
){
this
.
__onMessageCallback
=
e
}}};
var
i
=
O
(
B
());
var
f
=
(
e
,
t
)
=>
{
let
a
=
e
.
__vccOpts
||
e
;
for
(
let
[
o
,
n
]
of
t
)
a
[
o
]
=
n
;
return
a
};
var
x
=
{
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
"
:{
""
:{
width
:
50
,
height
:
50
,
paddingTop
:
8
,
paddingRight
:
8
,
paddingBottom
:
8
,
paddingLeft
:
8
,
backgroundColor
:
"
#007aff
"
,
borderRadius
:
50
,
marginRight
:
10
}},
"
goto-icon
"
:{
""
:{
width
:
34
,
height
:
34
}},
"
goto-text
"
:{
""
:{
fontSize
:
14
,
color
:
"
#FFFFFF
"
}}},
z
=
{
mixins
:[
h
,
d
],
data
(){
return
{
longitude
:
""
,
latitude
:
""
,
markers
:[],
name
:
""
,
address
:
""
,
localizationTemplate
:{
en
:{
"
map.title.amap
"
:
"
AutoNavi Maps
"
,
"
map.title.baidu
"
:
"
Baidu Maps
"
,
"
map.title.tencent
"
:
"
Tencent Maps
"
,
"
map.title.apple
"
:
"
Apple Maps
"
,
"
map.title.google
"
:
"
Google Maps
"
,
"
location.title
"
:
"
My Location
"
,
"
select.cancel
"
:
"
Cancel
"
},
zh
:{
"
map.title.amap
"
:
"
\
u9AD8
\
u5FB7
\
u5730
\
u56FE
"
,
"
map.title.baidu
"
:
"
\
u767E
\
u5EA6
\
u5730
\
u56FE
"
,
"
map.title.tencent
"
:
"
\
u817E
\
u8BAF
\
u5730
\
u56FE
"
,
"
map.title.apple
"
:
"
\
u82F9
\
u679C
\
u5730
\
u56FE
"
,
"
map.title.google
"
:
"
\
u8C37
\
u6B4C
\
u5730
\
u56FE
"
,
"
location.title
"
:
"
\
u6211
\
u7684
\
u4F4D
\
u7F6E
"
,
"
select.cancel
"
:
"
\
u53D6
\
u6D88
"
}}}},
onLoad
(){
let
e
=
this
.
data
;
this
.
latitude
=
e
.
latitude
,
this
.
longitude
=
e
.
longitude
,
this
.
name
=
e
.
name
||
""
,
this
.
address
=
e
.
address
||
""
},
onReady
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
markers
=
[{
id
:
"
location
"
,
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
,
title
:
this
.
name
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAABICAMAAACORiZjAAAByFBMVEUAAAD/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PiL/PyL/PyL/PyP/PyL/PyL/PyL/PyL/PiL/PyL8PiP/PyL4OyP/PyL3OyX9Pyb0RUP0RkPzOiXsPj3YLi7TKSnQJiX0RkTgMCj0QjvkNC3vPDPwOy/9PyXsNSTyRUTgNDPdMjHrPTzuQD7iNTTxQ0HTJyTZKyf1RULlNjDZKyTfLSLeLSX0Qzz3Qzv8PSTMJCTmOjnPJSXLIiLzRkXWLCvgNDPZLyzVKijRJSTtPzvcMS7jNjPZLCnyREHpOzjiNDDtPzvzQz/VKSXkNTDsPDXyQjz2RT7pMyTxOinjMST5QjTmOjnPJSLdLyr0RD//YF7/////R0b/Tk3/XVv/WFb/VVP/S0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/sY4SrVBJhj323hHXG/ymScEu091PH0HaS5e0MEslGeLuBCt9fqYWKLNXNIpZGcuXfqlqqaHWLhrFrLpWvqpqpU1ixFs9Ll1WY5ZLo19ECUb3X+VXg/y5wEj4qtYVlXCtRdIvErtyZi0nDJc1aLZxCPtrZ3P9PxLIX2Vy8P8zQAxla1xVZlYba6NbYAAi7KIwSxnKKjDHtoAHfOb/qSD/Z1OKEA4XbXHUr8ozq/XOZKOFxgkx4Mv177Jaz4fhQFnWdr8c4283pVhBRSDg4+zLeOYyu9CcCsIBK5T2fF0mXK7JkYaAEaAoY9Mazqw1FdnBRcWFuA/ZGDOd/R7eH7my3m1MA208k60I3ibHozUps/bICe+PQllbUmjrBaxIqaynG5JwT5UrgmW9ubpjrt5kJMOKlMvavIM2o08cVqRcVvONyNw0Y088YVmvPIJeqVUEy9rkmU31imBZ1x7PNV6RelkeD16Relmfbm81VQTLevs2A74iDWXpXzznwwEj9YCszcbCcOqiSY4jYTh1Jx1B04o+/wH6/wOSPFj1xgAAAABJRU5ErkJggg==
"
,
width
:
26
,
height
:
36
}],
this
.
updateMarker
()},
methods
:{
goto
(){
var
e
=
weex
.
config
.
env
.
platform
===
"
iOS
"
;
this
.
openSysMap
(
this
.
latitude
,
this
.
longitude
,
this
.
name
,
e
)},
updateMarker
(){
this
.
mapContext
.
moveToLocation
(),
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
duration
:
0
},
e
=>
{})},
openSysMap
(
e
,
t
,
a
,
o
){
let
n
=
weex
.
requireModule
(
"
mapSearch
"
);
var
s
=
[{
title
:
this
.
localize
(
"
map.title.tencent
"
),
getUrl
:
function
(){
var
A
;
return
A
=
"
https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
)
+
"
&referer=APP
"
,
A
}},{
title
:
this
.
localize
(
"
map.title.google
"
),
getUrl
:
function
(){
var
A
;
return
A
=
"
https://www.google.com/maps/?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
),
A
}}],
r
=
[{
title
:
this
.
localize
(
"
map.title.amap
"
),
pname
:
"
com.autonavi.minimap
"
,
action
:
o
?
"
iosamap://
"
:
"
amapuri://
"
,
getUrl
:
function
(){
var
A
;
return
o
?
A
=
"
iosamap://path
"
:
A
=
"
amapuri://route/plan/
"
,
A
+=
"
?sourceApplication=APP&dname=
"
+
encodeURIComponent
(
a
)
+
"
&dlat=
"
+
e
+
"
&dlon=
"
+
t
+
"
&dev=0
"
,
A
}},{
title
:
this
.
localize
(
"
map.title.baidu
"
),
pname
:
"
com.baidu.BaiduMap
"
,
action
:
"
baidumap://
"
,
getUrl
:
function
(){
var
A
=
"
baidumap://map/direction?destination=
"
+
encodeURIComponent
(
"
latlng:
"
+
e
+
"
,
"
+
t
+
"
|name:
"
+
a
)
+
"
&mode=driving&src=APP&coord_type=gcj02
"
;
return
A
}},{
title
:
this
.
localize
(
"
map.title.tencent
"
),
pname
:
"
com.tencent.map
"
,
action
:
"
qqmap://
"
,
getUrl
:()
=>
{
var
A
;
return
A
=
"
qqmap://map/routeplan?type=drive
"
+
(
o
?
"
&from=
"
+
encodeURIComponent
(
this
.
localize
(
"
location.title
"
)):
""
)
+
"
&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
)
+
"
&referer=APP
"
,
A
}},{
title
:
this
.
localize
(
"
map.title.google
"
),
pname
:
"
com.google.android.apps.maps
"
,
action
:
"
comgooglemapsurl://
"
,
getUrl
:
function
(){
var
A
;
return
o
?
A
=
"
comgooglemapsurl://maps.google.com/
"
:
A
=
"
https://www.google.com/maps/
"
,
A
+=
"
?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
),
A
}}],
l
=
[];
r
.
forEach
(
function
(
A
){
var
g
=
plus
.
runtime
.
isApplicationExist
({
pname
:
A
.
pname
,
action
:
A
.
action
});
g
&&
l
.
push
(
A
)}),
o
&&
l
.
unshift
({
title
:
this
.
localize
(
"
map.title.apple
"
),
navigateTo
:
function
(){
n
.
openSystemMapNavigation
({
longitude
:
t
,
latitude
:
e
,
name
:
a
})}}),
l
.
length
===
0
&&
(
l
=
l
.
concat
(
s
)),
plus
.
nativeUI
.
actionSheet
({
cancel
:
this
.
localize
(
"
select.cancel
"
),
buttons
:
l
},
function
(
A
){
var
g
=
A
.
index
,
c
;
g
>
0
&&
(
c
=
l
[
g
-
1
],
c
.
navigateTo
?
c
.
navigateTo
():
plus
.
runtime
.
openURL
(
c
.
getUrl
(),
function
(){},
c
.
pname
))})}}};
function
R
(
e
,
t
,
a
,
o
,
n
,
s
){
return
(
0
,
i
.
openBlock
)(),(
0
,
i
.
createElementBlock
)(
"
scroll-view
"
,{
scrollY
:
!
0
,
showScrollbar
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
,
style
:{
flexDirection
:
"
column
"
}},[(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
page flex-c
"
},[(
0
,
i
.
createElementVNode
)(
"
map
"
,{
class
:
"
flex-fill map
"
,
ref
:
"
map1
"
,
longitude
:
n
.
longitude
,
latitude
:
n
.
latitude
,
markers
:
n
.
markers
},
null
,
8
,[
"
longitude
"
,
"
latitude
"
,
"
markers
"
]),(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
flex-r a-i-c target
"
},[(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
text-area
"
},[(
0
,
i
.
createElementVNode
)(
"
u-text
"
,{
class
:
"
name
"
},(
0
,
i
.
toDisplayString
)(
n
.
name
),
1
),(
0
,
i
.
createElementVNode
)(
"
u-text
"
,{
class
:
"
address
"
},(
0
,
i
.
toDisplayString
)(
n
.
address
),
1
)]),(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
goto-area
"
,
onClick
:
t
[
0
]
||
(
t
[
0
]
=
(...
r
)
=>
s
.
goto
&&
s
.
goto
(...
r
))},[(
0
,
i
.
createElementVNode
)(
"
u-image
"
,{
class
:
"
goto-icon
"
,
src
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAYAAAD9yHLdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAADzVJREFUeNrt3WmMFMUfxvGqRREjEhXxIAooUQTFGPGIeLAcshoxRhM1Eu+YjZGIJh4vTIzHC1GJiiCeiUckEkWDVzxQxHgRvNB4LYiigshyxFXYg4Bb/xfPv1YbFpjtnZmq7v5+3vxSs8vOr4vpfqZ6pmeMAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMKwoRtAtjnnnHN77KHR2LGqhx327y8YZ9zSpcYaa+z8+dZaa21LS+i+AQCBKDgmTVJdv96VZN06/+9C9w8AqBId+K1Vfeih0gJjZ/zfsayEASBvksExbVp5gmNrjz5KkABATlQnOAgSAMiNMMFBkABAZsURHAQJAGRGnMFBkABAtLIRHAQJAEQjm8FBkABAMPkIDoIEAKomn8FBkABAxRQjOAgSACibYgYHQQIAqREcnSFIAGC7/AFSleDoHEECAB38AVGV4CgNQQKgwPwBUJXgSIcgAVAg/oCnSnCUB0ECIMf8AU6V4KgMggRAjvgDmirBUR0ECYAM8wcw1ViCY/PmfN3Pzvh5J0gAZIA/YCUPYKE1NqpOmlSd+6uvV/3999BbLqxIAETMH6BUYwuOI49Ura2tzv36+xkyRJUgAYBt+AOSanzBkeyzegGSvF+CBAA6+AOQarzBkey3+gGSvH+CBECB+QOOavzBkew7XIAk+yBIABSIP8CoZic4kv2HD5BkPwQJgBzzBxTV7AV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wsLTVWr1a9/PLQ/QPoPhu6AWSbAqFXL43GjFEdMiT5Ww0NqgsW6Iui2tpC9w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyK7/ATO6t9N2I5PTAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTAzLTAxVDExOjQ1OjU1KzA4OjAw5vcxUwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wMy0wMVQxMTo0NTo1NSswODowMJeqie8AAABSdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX2lnaGV6d2JubWhiL25hdmlnYXRpb25fbGluZS5zdmc29Ka/AAAAAElFTkSuQmCC
"
})])])])])}
var
p
=
f
(
z
,[[
"
render
"
,
R
],[
"
styles
"
,[
x
]]]);
var
u
=
plus
.
webview
.
currentWebview
();
if
(
u
){
let
e
=
parseInt
(
u
.
id
),
t
=
"
template/__uniappopenlocation
"
,
a
=
{};
try
{
a
=
JSON
.
parse
(
u
.
__query__
)}
catch
(
n
){}
p
.
mpType
=
"
page
"
;
let
o
=
Vue
.
createPageApp
(
p
,{
$store
:
getApp
({
allowDefault
:
!
0
}).
$store
,
__pageId
:
e
,
__pagePath
:
t
,
__pageQuery
:
a
});
o
.
provide
(
"
__globalStyles
"
,
Vue
.
useCssStyles
([...
__uniConfig
.
styles
,...
p
.
styles
||
[]])),
o
.
mount
(
"
#root
"
)}})();
(()
=>
{
var
B
=
Object
.
create
;
var
m
=
Object
.
defineProperty
;
var
b
=
Object
.
getOwnPropertyDescriptor
;
var
w
=
Object
.
getOwnPropertyNames
;
var
P
=
Object
.
getPrototypeOf
,
Q
=
Object
.
prototype
.
hasOwnProperty
;
var
I
=
(
e
,
t
)
=>
()
=>
(
t
||
e
((
t
=
{
exports
:{}}).
exports
,
t
),
t
.
exports
);
var
E
=
(
e
,
t
,
a
,
n
)
=>
{
if
(
t
&&
typeof
t
==
"
object
"
||
typeof
t
==
"
function
"
)
for
(
let
o
of
w
(
t
))
!
Q
.
call
(
e
,
o
)
&&
o
!==
a
&&
m
(
e
,
o
,{
get
:()
=>
t
[
o
],
enumerable
:
!
(
n
=
b
(
t
,
o
))
||
n
.
enumerable
});
return
e
};
var
O
=
(
e
,
t
,
a
)
=>
(
a
=
e
!=
null
?
B
(
P
(
e
)):{},
E
(
t
||!
e
||!
e
.
__esModule
?
m
(
a
,
"
default
"
,{
value
:
e
,
enumerable
:
!
0
}):
a
,
e
));
var
f
=
I
((
L
,
C
)
=>
{
C
.
exports
=
Vue
});
var
d
=
{
data
(){
return
{
locale
:
"
en
"
,
fallbackLocale
:
"
en
"
,
localization
:{
en
:{
done
:
"
OK
"
,
cancel
:
"
Cancel
"
},
zh
:{
done
:
"
\
u5B8C
\
u6210
"
,
cancel
:
"
\
u53D6
\
u6D88
"
},
"
zh-hans
"
:{},
"
zh-hant
"
:{},
messages
:{}},
localizationTemplate
:{}}},
onLoad
(){
this
.
initLocale
()},
created
(){
this
.
initLocale
()},
methods
:{
initLocale
(){
if
(
this
.
__initLocale
)
return
;
this
.
__initLocale
=!
0
;
let
e
=
(
plus
.
webview
.
currentWebview
().
extras
||
{}).
data
||
{};
if
(
e
.
messages
&&
(
this
.
localization
.
messages
=
e
.
messages
),
e
.
locale
){
this
.
locale
=
e
.
locale
.
toLowerCase
();
return
}
let
t
=
{
chs
:
"
hans
"
,
cn
:
"
hans
"
,
sg
:
"
hans
"
,
cht
:
"
hant
"
,
tw
:
"
hant
"
,
hk
:
"
hant
"
,
mo
:
"
hant
"
},
a
=
plus
.
os
.
language
.
toLowerCase
().
split
(
"
/
"
)[
0
].
replace
(
"
_
"
,
"
-
"
).
split
(
"
-
"
),
n
=
a
[
1
];
n
&&
(
a
[
1
]
=
t
[
n
]
||
n
),
a
.
length
=
a
.
length
>
2
?
2
:
a
.
length
,
this
.
locale
=
a
.
join
(
"
-
"
)},
localize
(
e
){
let
t
=
this
.
locale
,
a
=
t
.
split
(
"
-
"
)[
0
],
n
=
this
.
fallbackLocale
,
o
=
s
=>
Object
.
assign
({},
this
.
localization
[
s
],(
this
.
localizationTemplate
||
{})[
s
]);
return
o
(
"
messages
"
)[
e
]
||
o
(
t
)[
e
]
||
o
(
a
)[
e
]
||
o
(
n
)[
e
]
||
e
}}},
h
=
{
onLoad
(){
this
.
initMessage
()},
methods
:{
initMessage
(){
let
{
from
:
e
,
callback
:
t
,
runtime
:
a
,
data
:
n
=
{},
useGlobalEvent
:
o
}
=
plus
.
webview
.
currentWebview
().
extras
||
{};
this
.
__from
=
e
,
this
.
__runtime
=
a
,
this
.
__page
=
plus
.
webview
.
currentWebview
().
id
,
this
.
__useGlobalEvent
=
o
,
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
n
)),
plus
.
key
.
addEventListener
(
"
backbutton
"
,()
=>
{
typeof
this
.
onClose
==
"
function
"
?
this
.
onClose
():
plus
.
webview
.
currentWebview
().
close
(
"
auto
"
)});
let
s
=
this
,
r
=
function
(
l
){
let
A
=
l
.
data
&&
l
.
data
.
__message
;
!
A
||
s
.
__onMessageCallback
&&
s
.
__onMessageCallback
(
A
.
data
)};
if
(
this
.
__useGlobalEvent
)
weex
.
requireModule
(
"
globalEvent
"
).
addEventListener
(
"
plusMessage
"
,
r
);
else
{
let
l
=
new
BroadcastChannel
(
this
.
__page
);
l
.
onmessage
=
r
}},
postMessage
(
e
=
{},
t
=!
1
){
let
a
=
JSON
.
parse
(
JSON
.
stringify
({
__message
:{
__page
:
this
.
__page
,
data
:
e
,
keep
:
t
}})),
n
=
this
.
__from
;
if
(
this
.
__runtime
===
"
v8
"
)
this
.
__useGlobalEvent
?
plus
.
webview
.
postMessageToUniNView
(
a
,
n
):
new
BroadcastChannel
(
n
).
postMessage
(
a
);
else
{
let
o
=
plus
.
webview
.
getWebviewById
(
n
);
o
&&
o
.
evalJS
(
`__plusMessage&&__plusMessage(
${
JSON
.
stringify
({
data
:
a
})}
)`
)}},
onMessage
(
e
){
this
.
__onMessageCallback
=
e
}}};
var
i
=
O
(
f
());
var
v
=
(
e
,
t
)
=>
{
let
a
=
e
.
__vccOpts
||
e
;
for
(
let
[
n
,
o
]
of
t
)
a
[
n
]
=
o
;
return
a
};
var
x
=
{
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
"
:{
""
:{
width
:
50
,
height
:
50
,
paddingTop
:
8
,
paddingRight
:
8
,
paddingBottom
:
8
,
paddingLeft
:
8
,
backgroundColor
:
"
#007aff
"
,
borderRadius
:
50
,
marginRight
:
10
}},
"
goto-icon
"
:{
""
:{
width
:
34
,
height
:
34
}},
"
goto-text
"
:{
""
:{
fontSize
:
14
,
color
:
"
#FFFFFF
"
}}},
z
=
{
mixins
:[
h
,
d
],
data
(){
return
{
bottom
:
"
0px
"
,
longitude
:
""
,
latitude
:
""
,
markers
:[],
name
:
""
,
address
:
""
,
localizationTemplate
:{
en
:{
"
map.title.amap
"
:
"
AutoNavi Maps
"
,
"
map.title.baidu
"
:
"
Baidu Maps
"
,
"
map.title.tencent
"
:
"
Tencent Maps
"
,
"
map.title.apple
"
:
"
Apple Maps
"
,
"
map.title.google
"
:
"
Google Maps
"
,
"
location.title
"
:
"
My Location
"
,
"
select.cancel
"
:
"
Cancel
"
},
zh
:{
"
map.title.amap
"
:
"
\
u9AD8
\
u5FB7
\
u5730
\
u56FE
"
,
"
map.title.baidu
"
:
"
\
u767E
\
u5EA6
\
u5730
\
u56FE
"
,
"
map.title.tencent
"
:
"
\
u817E
\
u8BAF
\
u5730
\
u56FE
"
,
"
map.title.apple
"
:
"
\
u82F9
\
u679C
\
u5730
\
u56FE
"
,
"
map.title.google
"
:
"
\
u8C37
\
u6B4C
\
u5730
\
u56FE
"
,
"
location.title
"
:
"
\
u6211
\
u7684
\
u4F4D
\
u7F6E
"
,
"
select.cancel
"
:
"
\
u53D6
\
u6D88
"
}},
android
:
weex
.
config
.
env
.
platform
.
toLowerCase
()
===
"
android
"
}},
onLoad
(){
let
e
=
this
.
data
;
if
(
this
.
latitude
=
e
.
latitude
,
this
.
longitude
=
e
.
longitude
,
this
.
name
=
e
.
name
||
""
,
this
.
address
=
e
.
address
||
""
,
!
this
.
android
){
let
t
=
plus
.
webview
.
currentWebview
().
getSafeAreaInsets
();
this
.
bottom
=
t
.
bottom
+
"
px
"
}},
onReady
(){
this
.
mapContext
=
this
.
$refs
.
map1
,
this
.
markers
=
[{
id
:
"
location
"
,
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
,
title
:
this
.
name
,
zIndex
:
"
1
"
,
iconPath
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAABICAMAAACORiZjAAAByFBMVEUAAAD/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PyL/PiL/PyL/PyL/PyP/PyL/PyL/PyL/PyL/PiL/PyL8PiP/PyL4OyP/PyL3OyX9Pyb0RUP0RkPzOiXsPj3YLi7TKSnQJiX0RkTgMCj0QjvkNC3vPDPwOy/9PyXsNSTyRUTgNDPdMjHrPTzuQD7iNTTxQ0HTJyTZKyf1RULlNjDZKyTfLSLeLSX0Qzz3Qzv8PSTMJCTmOjnPJSXLIiLzRkXWLCvgNDPZLyzVKijRJSTtPzvcMS7j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JTdBFRqCrsBtoHRnAW7hRXThYE3VA7koVjo2CfUK4O2WdHodx7c7FsZ25sNDtotxp4SF++OIrpcHf+6Ojk7BA/X2wwOfRIeLj5wVGNClYJF4K/sY4SrVBJhj323hHXG/ymScEu091PH0HaS5e0MEslGeLuBCt9fqYWKLNXNIpZGcuXfqlqqaHWLhrFrLpWvqpqpU1ixFs9Ll1WY5ZLo19ECUb3X+VXg/y5wEj4qtYVlXCtRdIvErtyZi0nDJc1aLZxCPtrZ3P9PxLIX2Vy8P8zQAxla1xVZlYba6NbYAAi7KIwSxnKKjDHtoAHfOb/qSD/Z1OKEA4XbXHUr8ozq/XOZKOFxgkx4Mv177Jaz4fhQFnWdr8c4283pVhBRSDg4+zLeOYyu9CcCsIBK5T2fF0mXK7JkYaAEaAoY9Mazqw1FdnBRcWFuA/ZGDOd/R7eH7my3m1MA208k60I3ibHozUps/bICe+PQllbUmjrBaxIqaynG5JwT5UrgmW9ubpjrt5kJMOKlMvavIM2o08cVqRcVvONyNw0Y088YVmvPIJeqVUEy9rkmU31imBZ1x7PNV6RelkeD16Relmfbm81VQTLevs2A74iDWXpXzznwwEj9YCszcbCcOqiSY4jYTh1Jx1B04o+/wH6/wOSPFj1xgAAAABJRU5ErkJggg==
"
,
width
:
26
,
height
:
36
}],
this
.
updateMarker
()},
methods
:{
goto
(){
var
e
=
weex
.
config
.
env
.
platform
===
"
iOS
"
;
this
.
openSysMap
(
this
.
latitude
,
this
.
longitude
,
this
.
name
,
e
)},
updateMarker
(){
this
.
mapContext
.
moveToLocation
(),
this
.
mapContext
.
translateMarker
({
markerId
:
"
location
"
,
destination
:{
latitude
:
this
.
latitude
,
longitude
:
this
.
longitude
},
duration
:
0
},
e
=>
{})},
openSysMap
(
e
,
t
,
a
,
n
){
let
o
=
weex
.
requireModule
(
"
mapSearch
"
);
var
s
=
[{
title
:
this
.
localize
(
"
map.title.tencent
"
),
getUrl
:
function
(){
var
A
;
return
A
=
"
https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
)
+
"
&referer=APP
"
,
A
}},{
title
:
this
.
localize
(
"
map.title.google
"
),
getUrl
:
function
(){
var
A
;
return
A
=
"
https://www.google.com/maps/?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
),
A
}}],
r
=
[{
title
:
this
.
localize
(
"
map.title.amap
"
),
pname
:
"
com.autonavi.minimap
"
,
action
:
n
?
"
iosamap://
"
:
"
amapuri://
"
,
getUrl
:
function
(){
var
A
;
return
n
?
A
=
"
iosamap://path
"
:
A
=
"
amapuri://route/plan/
"
,
A
+=
"
?sourceApplication=APP&dname=
"
+
encodeURIComponent
(
a
)
+
"
&dlat=
"
+
e
+
"
&dlon=
"
+
t
+
"
&dev=0
"
,
A
}},{
title
:
this
.
localize
(
"
map.title.baidu
"
),
pname
:
"
com.baidu.BaiduMap
"
,
action
:
"
baidumap://
"
,
getUrl
:
function
(){
var
A
=
"
baidumap://map/direction?destination=
"
+
encodeURIComponent
(
"
latlng:
"
+
e
+
"
,
"
+
t
+
"
|name:
"
+
a
)
+
"
&mode=driving&src=APP&coord_type=gcj02
"
;
return
A
}},{
title
:
this
.
localize
(
"
map.title.tencent
"
),
pname
:
"
com.tencent.map
"
,
action
:
"
qqmap://
"
,
getUrl
:()
=>
{
var
A
;
return
A
=
"
qqmap://map/routeplan?type=drive
"
+
(
n
?
"
&from=
"
+
encodeURIComponent
(
this
.
localize
(
"
location.title
"
)):
""
)
+
"
&to=
"
+
encodeURIComponent
(
a
)
+
"
&tocoord=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
)
+
"
&referer=APP
"
,
A
}},{
title
:
this
.
localize
(
"
map.title.google
"
),
pname
:
"
com.google.android.apps.maps
"
,
action
:
"
comgooglemapsurl://
"
,
getUrl
:
function
(){
var
A
;
return
n
?
A
=
"
comgooglemapsurl://maps.google.com/
"
:
A
=
"
https://www.google.com/maps/
"
,
A
+=
"
?daddr=
"
+
encodeURIComponent
(
a
)
+
"
&sll=
"
+
encodeURIComponent
(
e
+
"
,
"
+
t
),
A
}}],
l
=
[];
r
.
forEach
(
function
(
A
){
var
g
=
plus
.
runtime
.
isApplicationExist
({
pname
:
A
.
pname
,
action
:
A
.
action
});
g
&&
l
.
push
(
A
)}),
n
&&
l
.
unshift
({
title
:
this
.
localize
(
"
map.title.apple
"
),
navigateTo
:
function
(){
o
.
openSystemMapNavigation
({
longitude
:
t
,
latitude
:
e
,
name
:
a
})}}),
l
.
length
===
0
&&
(
l
=
l
.
concat
(
s
)),
plus
.
nativeUI
.
actionSheet
({
cancel
:
this
.
localize
(
"
select.cancel
"
),
buttons
:
l
},
function
(
A
){
var
g
=
A
.
index
,
c
;
g
>
0
&&
(
c
=
l
[
g
-
1
],
c
.
navigateTo
?
c
.
navigateTo
():
plus
.
runtime
.
openURL
(
c
.
getUrl
(),
function
(){},
c
.
pname
))})}}};
function
R
(
e
,
t
,
a
,
n
,
o
,
s
){
return
(
0
,
i
.
openBlock
)(),(
0
,
i
.
createElementBlock
)(
"
scroll-view
"
,{
scrollY
:
!
0
,
showScrollbar
:
!
0
,
enableBackToTop
:
!
0
,
bubble
:
"
true
"
,
style
:{
flexDirection
:
"
column
"
}},[(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
page flex-c
"
,
style
:(
0
,
i
.
normalizeStyle
)({
paddingBottom
:
o
.
bottom
})},[(
0
,
i
.
createElementVNode
)(
"
map
"
,{
class
:
"
flex-fill map
"
,
ref
:
"
map1
"
,
longitude
:
o
.
longitude
,
latitude
:
o
.
latitude
,
markers
:
o
.
markers
},
null
,
8
,[
"
longitude
"
,
"
latitude
"
,
"
markers
"
]),(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
flex-r a-i-c target
"
},[(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
text-area
"
},[(
0
,
i
.
createElementVNode
)(
"
u-text
"
,{
class
:
"
name
"
},(
0
,
i
.
toDisplayString
)(
o
.
name
),
1
),(
0
,
i
.
createElementVNode
)(
"
u-text
"
,{
class
:
"
address
"
},(
0
,
i
.
toDisplayString
)(
o
.
address
),
1
)]),(
0
,
i
.
createElementVNode
)(
"
view
"
,{
class
:
"
goto-area
"
,
onClick
:
t
[
0
]
||
(
t
[
0
]
=
(...
r
)
=>
s
.
goto
&&
s
.
goto
(...
r
))},[(
0
,
i
.
createElementVNode
)(
"
u-image
"
,{
class
:
"
goto-icon
"
,
src
:
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAYAAAD9yHLdAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAADzVJREFUeNrt3WmMFMUfxvGqRREjEhXxIAooUQTFGPGIeLAcshoxRhM1Eu+YjZGIJh4vTIzHC1GJiiCeiUckEkWDVzxQxHgRvNB4LYiigshyxFXYg4Bb/xfPv1YbFpjtnZmq7v5+3vxSs8vOr4vpfqZ6pmeMAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMKwoRtAtjnnnHN77KHR2LGqhx327y8YZ9zSpcYaa+z8+dZaa21LS+i+AQCBKDgmTVJdv96VZN06/+9C9w8AqBId+K1Vfeih0gJjZ/zfsayEASBvksExbVp5gmNrjz5KkABATlQnOAgSAMiNMMFBkABAZsURHAQJAGRGnMFBkABAtLIRHAQJAEQjm8FBkABAMPkIDoIEAKomn8FBkABAxRQjOAgSACibYgYHQQIAqREcnSFIAGC7/AFSleDoHEECAB38AVGV4CgNQQKgwPwBUJXgSIcgAVAg/oCnSnCUB0ECIMf8AU6V4KgMggRAjvgDmirBUR0ECYAM8wcw1ViCY/PmfN3Pzvh5J0gAZIA/YCUPYKE1N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AUDoCBHFwxhnX2hq6DQClI0BQgk2bKn4X1lhj//479JYCKB0BghL8+mtl/77/uPZffgm9pQCAMnPOOec+/9yVW7trd+2ffRZ6+wAAFaID/dlnlz1AnHPOnXVW6O0DAFSYDvhTppRn5XHXXaG3BwBQZUqBK65QbWwsLTVWr1a9/PLQ/QPoPhu6AWSbAqFXL43GjFEdMiT5Ww0NqgsW6Iui2tpC9w0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyK7/ATO6t9N2I5PTAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTAzLTAxVDExOjQ1OjU1KzA4OjAw5vcxUwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wMy0wMVQxMTo0NTo1NSswODowMJeqie8AAABSdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX2lnaGV6d2JubWhiL25hdmlnYXRpb25fbGluZS5zdmc29Ka/AAAAAElFTkSuQmCC
"
})])])],
4
)])}
var
p
=
v
(
z
,[[
"
render
"
,
R
],[
"
styles
"
,[
x
]]]);
var
u
=
plus
.
webview
.
currentWebview
();
if
(
u
){
let
e
=
parseInt
(
u
.
id
),
t
=
"
template/__uniappopenlocation
"
,
a
=
{};
try
{
a
=
JSON
.
parse
(
u
.
__query__
)}
catch
(
o
){}
p
.
mpType
=
"
page
"
;
let
n
=
Vue
.
createPageApp
(
p
,{
$store
:
getApp
({
allowDefault
:
!
0
}).
$store
,
__pageId
:
e
,
__pagePath
:
t
,
__pageQuery
:
a
});
n
.
provide
(
"
__globalStyles
"
,
Vue
.
useCssStyles
([...
__uniConfig
.
styles
,...
p
.
styles
||
[]])),
n
.
mount
(
"
#root
"
)}})();
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录