Commit 765bd14d11b3e1d69f52c1952907efc1317415d1

Authored by wangfan
1 parent afba000b

c端预定

... ... @@ -185,4 +185,16 @@ Page({
});
})
},
lookLocation:function(){
//console.log(this.data.seller.lat,this.data.seller.long,this.data.detail.map_address)
wx.openLocation({
latitude:Number(this.data.seller.lat),
longitude:Number(this.data.seller.long),
scale:17,
address:this.data.seller.map_address,
success:function (res) {
console.log(res)
}
})
},
})
\ No newline at end of file
... ...
... ... @@ -30,7 +30,7 @@
<view class="icon car" wx:if="{{seller.is_parking==1}}">停车场</view>
</view>
</view>
<view class="addr">
<view class="addr" bindtap="lookLocation">
<view class="addr-text flex-ll">
<image src="http://qn.colorcun.com/custom/lite-online/image/%E5%AE%9A%E4%BD%8D.png"></image>
<view>{{seller.map_address}}</view>
... ...
... ... @@ -70,10 +70,10 @@
background-image: url("http://qn.colorcun.com/custom/lite-online/image/%E5%8C%85%E9%97%B4.png");
}
.peitao .icon.ka{
background-image: url("http://qn.colorcun.com/custom/lite-online/image/%E5%8D%A1%E5%BA%A7.png");
background-image: url("http://qn.colorcun.com/custom/lite-online/image/%E5%8D%A1%E5%BA%A72.png");
}
.peitao .icon.car{
background-image: url("http://qn.colorcun.com/custom/lite-online/image/%E5%81%9C%E8%BD%A6.png");
background-image: url("http://qn.colorcun.com/custom/lite-online/image/%E5%81%9C%E8%BD%A6%E5%9C%BA2.png");
}
... ... @@ -219,6 +219,7 @@
}
.cais-text{
margin-top: 60rpx;
font-size: 28rpx;
}
.cais-text view{
height: 50rpx;
... ...