You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
392 B
23 lines
392 B
12 months ago
|
<template>
|
||
|
<uni-indexed-list :options="list" :show-select="true" @click="bindClick" />
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import airport from '@/common/airport.js'
|
||
|
export default {
|
||
|
components: {},
|
||
|
data() {
|
||
|
return {
|
||
|
list: airport.list
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
bindClick(e) {
|
||
|
console.log('点击item,返回数据' + JSON.stringify(e))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss"></style>
|