xytSk-App/pages/index/index.vue

45 lines
792 B
Vue
Raw Normal View History

2024-05-28 14:14:34 +08:00
<template>
2024-05-31 09:32:01 +08:00
<view class="container"> page/index </view>
2024-05-28 14:14:34 +08:00
</template>
<script>
2024-05-30 17:41:44 +08:00
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()
}
}
2024-05-28 14:14:34 +08:00
</script>
2024-05-31 09:32:01 +08:00
<style lang="scss" scoped></style>