页面下拉刷新以及底部回弹
This commit is contained in:
+6
-2
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<view class="page edge">
|
||||
<fy-header title="我的" />
|
||||
<fy-scroll class="edge-scroll" dock @refresh="reload">
|
||||
<view class="body">
|
||||
<view class="card profile">
|
||||
<view class="row">
|
||||
@@ -46,18 +47,20 @@
|
||||
</wd-cell-group>
|
||||
</view>
|
||||
</view>
|
||||
</fy-scroll>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import FyHeader from '../../components/fy-header.vue'
|
||||
import FyScroll from '../../components/fy-scroll.vue'
|
||||
import { store } from '../../utils/store.js'
|
||||
import { maskPhone } from '../../utils/format.js'
|
||||
|
||||
const ME_IDS = ['archive', 'salary', 'perf', 'expense', 'report', 'apply']
|
||||
|
||||
export default {
|
||||
components: { FyHeader },
|
||||
components: { FyHeader, FyScroll },
|
||||
data() {
|
||||
return { off: null }
|
||||
},
|
||||
@@ -86,6 +89,7 @@ export default {
|
||||
goTodo() {
|
||||
if (store.can('personal', 'approve')) uni.navigateTo({ url: '/pages/todo/list' })
|
||||
},
|
||||
reload() { store.refreshPerms() },
|
||||
goPwd() { uni.navigateTo({ url: '/pages/password/password' }) },
|
||||
logout() {
|
||||
uni.showModal({
|
||||
|
||||
Reference in New Issue
Block a user