Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into xh-youfangApp1.1
This commit is contained in:
@@ -3,6 +3,10 @@ var searchDistVue = new Vue({
|
||||
el: '#searchList',
|
||||
data: {
|
||||
searchDistricts: []
|
||||
},methods: {
|
||||
openDistrictDetail:function(index) {
|
||||
alert(this.searchDistricts[index].name)
|
||||
}
|
||||
}
|
||||
})
|
||||
$("#districtName").bind("input propertychange keyup" , function () {
|
||||
|
||||
@@ -1146,8 +1146,8 @@
|
||||
<div class="list-block media-list searchList dn">
|
||||
<div id="searchList">
|
||||
<ul>
|
||||
<li v-for="searchDist in searchDistricts">
|
||||
<a class="item-link item-content close-popup" v-bind:data-name="searchDist.name" v-bind:data-region="searchDist.region" v-bind:data-city="searchDist.city">
|
||||
<li v-for="(searchDist,index) in searchDistricts" @click="openDistrictDetail(index)">
|
||||
<a class="item-link item-content close-popup" v-bind:data-name="searchDist.name" v-bind:data-region="searchDist.region" v-bind:data-city="searchDist.city">
|
||||
<div class="item-inner">
|
||||
<div class="item-title-row">
|
||||
<div class="item-title">{{searchDist.name}}<br><small>{{searchDist.city}}{{searchDist.region}}{{searchDist.address}}</small></div>
|
||||
|
||||
Reference in New Issue
Block a user