Commit 2025f457272de8d7a86f603b06127f229800ac99

Authored by wangfan
1 parent 32a30e50

v2 customer view

@@ -84,11 +84,12 @@ Component({ @@ -84,11 +84,12 @@ Component({
84 } 84 }
85 }, 85 },
86 lookLocation:function(){ 86 lookLocation:function(){
  87 + //console.log(this.data.seller.lat,this.data.seller.long,this.data.detail.map_address)
87 wx.openLocation({ 88 wx.openLocation({
88 latitude:Number(this.data.seller.lat), 89 latitude:Number(this.data.seller.lat),
89 longitude:Number(this.data.seller.long), 90 longitude:Number(this.data.seller.long),
90 scale:17, 91 scale:17,
91 - address:this.data.detail.map_address, 92 + address:this.data.seller.map_address,
92 success:function (res) { 93 success:function (res) {
93 console.log(res) 94 console.log(res)
94 } 95 }
@@ -27,6 +27,7 @@ image{ @@ -27,6 +27,7 @@ image{
27 position: relative; 27 position: relative;
28 top:-7rpx; 28 top:-7rpx;
29 height: 20rpx; 29 height: 20rpx;
  30 + left:-2rpx;
30 width: 110%; 31 width: 110%;
31 background-color: #ffffff; 32 background-color: #ffffff;
32 } 33 }