Commit 91cb3e9a9389c572451d17b0866dd7b8e45e30e0

Authored by wangfan
1 parent c5ff9955

C端调整

@@ -238,8 +238,9 @@ image{ @@ -238,8 +238,9 @@ image{
238 width: 12rpx; 238 width: 12rpx;
239 height: 22rpx; 239 height: 22rpx;
240 background-image: url("http://qn.colorcun.com/custom/lite-yd/image/click.png"); 240 background-image: url("http://qn.colorcun.com/custom/lite-yd/image/click.png");
241 - background-size: 100%; 241 + background-size: 100% 100%;
242 min-width: 12rpx; 242 min-width: 12rpx;
  243 + background-repeat: no-repeat;
243 } 244 }
244 .mask{ 245 .mask{
245 background-color: rgba(20,20,20,0.5); 246 background-color: rgba(20,20,20,0.5);
@@ -61,6 +61,8 @@ @@ -61,6 +61,8 @@
61 height: 40rpx; 61 height: 40rpx;
62 line-height: 40rpx; 62 line-height: 40rpx;
63 margin-top: 10rpx; 63 margin-top: 10rpx;
  64 + overflow: hidden;
  65 + white-space:nowrap;
64 } 66 }
65 .seller .text .text-item{ 67 .seller .text .text-item{
66 text-indent: 10rpx; 68 text-indent: 10rpx;
@@ -68,11 +70,16 @@ @@ -68,11 +70,16 @@
68 padding-right: 10rpx; 70 padding-right: 10rpx;
69 height: 30rpx; 71 height: 30rpx;
70 line-height: 30rpx; 72 line-height: 30rpx;
  73 + overflow: hidden;
  74 + white-space:nowrap;
71 } 75 }
72 .seller .text .text-item:first-child{ 76 .seller .text .text-item:first-child{
73 border-left-width: 0; 77 border-left-width: 0;
74 text-indent: 0; 78 text-indent: 0;
75 } 79 }
  80 +.seller .text .text-item:last-child{
  81 + padding-right: 0;
  82 +}
76 .seller .price{ 83 .seller .price{
77 font-size: 30rpx; 84 font-size: 30rpx;
78 color: #F05522; 85 color: #F05522;
@@ -484,10 +484,12 @@ Page({ @@ -484,10 +484,12 @@ Page({
484 wx.showTabBar(); 484 wx.showTabBar();
485 }, 485 },
486 moveToLocation(){ 486 moveToLocation(){
487 - let map=this.data.map 487 + let map=this.data.map;
  488 + console.log(this.user.latitude,this.mapData.latitude);
  489 + if(this.user.latitude==this.mapData.latitude && this.user.longitude==this.mapData.longitude) return;
488 map.latitude=this.user.latitude 490 map.latitude=this.user.latitude
489 map.longitude=this.user.longitude 491 map.longitude=this.user.longitude
490 - map.scale=mapScale 492 + map.scale=mapScale;
491 this.sellersIds=[] 493 this.sellersIds=[]
492 this.sellers=[] 494 this.sellers=[]
493 this.setData({ 495 this.setData({