xytSk-App/pages/index/index.vue

45 lines
792 B
Vue

<template>
<view class="container"> page/index </view>
</template>
<script>
import moment from 'moment'
export default {
data () {
return {
monthDay: '',
dayOfWeek: '',
dataType,
navList,
userList: {},
changeBool: false,
tableData: [],
loading: false,
list: {},
date: '',
ydate: '',
showTextTypeTab: 1
}
},
methods: {
async getSwiperList () {
try {
const res = await uni.$http.get('/gunshiApp/xfflood/getLoginInfo')
console.log('--1-', res.data)
this.userList = res.data
console.log('--1-', this.userList)
} catch (e) {
uni.$showMsg()
}
}
},
onLoad () {
this.getSwiperList()
}
}
</script>
<style lang="scss" scoped></style>