提交 264be1d9 编写于 作者: zhangzhiwei's avatar zhangzhiwei

导航

上级 33bca0ee
此差异已折叠。
...@@ -20,4 +20,14 @@ Page({ ...@@ -20,4 +20,14 @@ Page({
// }, // },
}] }]
}, },
toIndex(){
wx.openLocation({
latitude: 30.339744,
longitude: 120.113514,
name: "佐萌科技旗舰店",
address: "杭州市拱墅区祥茂路166号 华滋科欣设计创意园2号楼701室",
scale: 14,
infoUrl: "",
});
},
}) })
\ No newline at end of file
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
<map id="myMap" scale="18" longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" show-location="{{true}}" <map id="myMap" scale="18" longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" show-location="{{true}}"
> >
</map> </map>
<!--<image bindtap='toIndex' class='wxLogo' style="width: 50rpx;height: 50rpx;border-radius: 10rpx" src='/asstes/img/daohang.jpg'></image>--> <image bindtap='toIndex' class='wxLogo' style="width: 50rpx;height: 50rpx;border-radius: 10rpx" src='/asstes/img/daohang.jpg'></image>
</view> </view>
...@@ -127,5 +127,5 @@ ...@@ -127,5 +127,5 @@
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"appid": "wxdb3d8f9a94eca8d9" "appid": "wx175347bd3977d6a9"
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册