提交 33bca0ee 编写于 作者: zhangzhiwei's avatar zhangzhiwei

地图

上级 348efc02
此差异已折叠。
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
"pages/index", "pages/index",
"pages/pay/pay", "pages/pay/pay",
"pages/logs/logs", "pages/logs/logs",
"pages/login/login" "pages/login/login",
"pages/map/index"
], ],
"__usePrivacyCheck__":true, "__usePrivacyCheck__":true,
"window": { "window": {
......
Page({
data: {
longitude: 120.113514,
latitude: 30.339744,
markers: [{
id: 1,
longitude: 120.113514,
latitude: 30.339744,
// label:{
// padding:'3px',
// borderRadius:3,
// borderWidth:1,
// bgColor:'#fff',
// content:'佐萌科技',
// color:'#333333',
// fontSize:16,
// title:'佐萌科技',
// textAlign:'right',
// anchorY:6
// },
}]
},
})
\ No newline at end of file
{
"navigationBarTitleText": "店铺信息"
}
\ No newline at end of file
<view class="homepage">
<map id="myMap" scale="18" longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" show-location="{{true}}"
>
</map>
<!--<image bindtap='toIndex' class='wxLogo' style="width: 50rpx;height: 50rpx;border-radius: 10rpx" src='/asstes/img/daohang.jpg'></image>-->
</view>
map{width: 100vw; height: 350px;top: 0}
.wxLogo{
position: absolute;
top: 20rpx;
right: 40rpx;
z-index: 9999;
}
.vip_crad_wrap{
position: fixed;
left: 3vw;
bottom: 40rpx;
background: #fff;
width: 94vw;
height: auto;
}
\ No newline at end of file
...@@ -127,5 +127,5 @@ ...@@ -127,5 +127,5 @@
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"appid": "wx175347bd3977d6a9" "appid": "wxdb3d8f9a94eca8d9"
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册