12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- // pages/accounts/accounts.js
- Page({
- data:{
- },
- onLoad:function(options){
- this.setData({
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- markers: [{
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- name: 'T.I.T 创意园'
- }],
- covers: [{
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- iconPath: '/image/location.png'
- }, {
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- iconPath: '/image/location.png'
- }],
- polygons: [{
- points: [
- {
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- },
- {
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- },
- {
- latitude: 30.1860300000,
- longitude: 120.1943600000,
- }
- ],
- strokeWidth: 3,
- strokeColor: '#FFFFFFAA',
- }],
- subKey: 'B5QBZ-7JTLU-DSSVA-2BRJ3-TNXLF-2TBR7',
- enable3d: false,
- showCompass: false,
- enableOverlooking: false,
- enableZoom: true,
- enableScroll: true,
- enableRotate: false,
- drawPolygon: false,
- productBottom : { //联系我们
- // images : "https://rlzcgl.oss-cn-beijing.aliyuncs.com/wxminiprogram/images/bottom.png"
- title : "杭州任联科技有限公司",
- address : "地址: 杭州市滨江区长河路475号和瑞科技园S2幢11楼",
- url : "网址: http://www.renlianiot.com",
- phone : "服务热线: 0571-85458286",
- email : "咨询邮箱: vip@renlianiot.com"
- }
- });
- console.log(this.data);
- // 页面初始化 options为页面跳转所带来的参数
- },
- onReady:function(){
- // 页面渲染完成
- wx.setNavigationBarTitle({
- title: '联系我们'
- })
- },
- onShow:function(){
- // 页面显示
- },
- onHide:function(){
- // 页面隐藏
- },
- onUnload:function(){
- // 页面关闭
- }
- })
|