初始化(包含登录模块)
This commit is contained in:
19
pages/extUI/data-indexed-list/data-indexed-list.vue
Normal file
19
pages/extUI/data-indexed-list/data-indexed-list.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<uni-data-indexed-list collection="opendb-china-cities" field="code as value, name as text, letter as group" :page-size="500" where="type==1" orderby="group asc" :show-select="true" @click="bindClick" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
bindClick(e) {
|
||||
console.log('点击item,返回数据' + JSON.stringify(e))
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user