|
@@ -9,7 +9,7 @@
|
|
|
</cube-input>
|
|
|
</div>
|
|
|
<div class="position-wrapper border-top-1px">
|
|
|
- <cube-scroll ref="scroll">
|
|
|
+ <cube-scroll ref="scroll" :options="options">
|
|
|
<div class="position border-bottom-1px" v-for="item in result" @click="callback(item)">
|
|
|
<p>{{item.city}} {{item.district}}</p>
|
|
|
<div>{{item.name}}</div>
|
|
@@ -29,7 +29,10 @@
|
|
|
return {
|
|
|
location: '',
|
|
|
result: [],
|
|
|
- userLocation: '上海市'
|
|
|
+ userLocation: '上海市',
|
|
|
+ options: {
|
|
|
+ click: true
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
created() {
|