初始化(包含登录模块)
This commit is contained in:
22
pages/extUI/indexed-list/indexed-list.nvue
Normal file
22
pages/extUI/indexed-list/indexed-list.nvue
Normal file
@@ -0,0 +1,22 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user