You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
980 B
54 lines
980 B
<template> |
|
<view class="wrap"> |
|
{{title}} |
|
<u-count-to :start-val="30" :end-val="500" :duration="2000" :useEasing="false"></u-count-to> |
|
</view> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
data() { |
|
return { |
|
title: '首页' |
|
}; |
|
}, |
|
onLoad() { |
|
|
|
// let aa = this.vuex_version |
|
// console.log(aa); |
|
|
|
// const roles = res.data.roles |
|
// if (!roles.includes('enterprise')) { |
|
// // uni.$u.route('/pages/index/off_reg'); |
|
// console.log('不是局内角色'); |
|
// } |
|
|
|
// uni.request({ |
|
// url: 'https://hb.jzce.com', |
|
// method: 'GET', |
|
// success: (res) => { |
|
// this.title = res.data |
|
// } |
|
// }) |
|
}, |
|
onShow() { |
|
// if (this.vuex_user) { |
|
// let user = this.vuex_user |
|
// // 跳转到局内注册 |
|
// if (user.userType !== "00") { |
|
// uni.$u.route('/pages/index/off_reg'); |
|
// } |
|
// } |
|
}, |
|
methods: { |
|
|
|
} |
|
} |
|
</script> |
|
|
|
<style lang="scss"> |
|
.wrap { |
|
background-color: #F9F9F9; |
|
min-height: 100vh; |
|
} |
|
</style> |