Commit 414146ba73c7b3cbeca8af9aa736057b0ede7090

Authored by wangfan
1 parent ec0783cd

c端预定

@@ -29,7 +29,7 @@ Page({ @@ -29,7 +29,7 @@ Page({
29 sellers:[], 29 sellers:[],
30 multiArray: [['不确定'], ['全部菜系']], 30 multiArray: [['不确定'], ['全部菜系']],
31 multiIndex: [6, 0], 31 multiIndex: [6, 0],
32 - scrollIntoView:'', 32 + //scrollIntoView:'',
33 suggestion:{}, 33 suggestion:{},
34 hasSuggestion:false, 34 hasSuggestion:false,
35 current:0, 35 current:0,
@@ -297,7 +297,7 @@ Page({ @@ -297,7 +297,7 @@ Page({
297 markers:markers, 297 markers:markers,
298 }; 298 };
299 if(flag){ 299 if(flag){
300 - obj.scrollIntoView='seller-'+e.markerId; 300 + //obj.scrollIntoView='seller-'+e.markerId;
301 obj.current=current 301 obj.current=current
302 } 302 }
303 this.setData(obj) 303 this.setData(obj)
@@ -46,22 +46,6 @@ @@ -46,22 +46,6 @@
46 </picker> 46 </picker>
47 </view> 47 </view>
48 <view class="transverse-list"> 48 <view class="transverse-list">
49 - <!--  
50 - <scroll-view  
51 - scroll-x  
52 - class="scroll-view_H"  
53 - scroll-into-view="{{scrollIntoView}}"  
54 - bindscroll="bindscroll"  
55 - >  
56 - <view class="flex-ll">  
57 - <view class="seller" wx:for="{{sellers}}" wx:key="{{sellers.key}}" id="seller-{{item.id}}">  
58 - <sb-tr seller="{{item}}"></sb-tr>  
59 - </view>  
60 - <view wx:if="{{sellers.length>1}}" style="min-width: 2rpx;min-height: 40rpx;"> </view>  
61 - </view>  
62 -  
63 - </scroll-view>  
64 - -->  
65 <swiper 49 <swiper
66 indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}" 50 indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}"
67 interval="2000" duration="500" 51 interval="2000" duration="500"