Commit a68aae07b9d04e34ca872ddb8ff7c27db9ad053f

Authored by vking
1 parent d7f76c48

search fixbug

@@ -155,4 +155,9 @@ Page({ @@ -155,4 +155,9 @@ Page({
155 },path) 155 },path)
156 }) 156 })
157 }, 157 },
  158 + sellerCardEvent(e){
  159 + if(e.detail.type=='phone'){
  160 + this.selectComponent('#as').show(e.detail.seller);
  161 + }
  162 + },
158 }) 163 })
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 "search-how":"/components/2.0/filter/how/index", 6 "search-how":"/components/2.0/filter/how/index",
7 "location":"/components/2.0/filter/location", 7 "location":"/components/2.0/filter/location",
8 "filter":"/components/2.0/filter/filter", 8 "filter":"/components/2.0/filter/filter",
9 - "seller-card":"/components/2.0/seller/card" 9 + "seller-card":"/components/2.0/seller/card",
  10 + "as-phone":"/components/2.0/dialog/phone"
10 } 11 }
11 } 12 }
@@ -63,4 +63,5 @@ @@ -63,4 +63,5 @@
63 <view class="view filter"> 63 <view class="view filter">
64 <filter id="filter" bindevent="filterEvent" cla="bottom-search"></filter> 64 <filter id="filter" bindevent="filterEvent" cla="bottom-search"></filter>
65 </view> 65 </view>
66 -</view>  
  66 +</view>
  67 +<as-phone id="as"></as-phone>