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.
52 lines
891 B
52 lines
891 B
<template> |
|
<u-navbar |
|
:title="title" |
|
:auto-back="true" |
|
left-icon-size="40rpx" |
|
:safe-area-inset-top="true" |
|
:placeholder="true" |
|
bgColor="#fff" |
|
></u-navbar> |
|
<view class="body-background"></view> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import {imghost} from "@/config/host"; |
|
import api from "@/utils/functions"; |
|
|
|
export default { |
|
computed: {}, |
|
components: { |
|
|
|
}, |
|
onLoad(option) { |
|
this.activityId = ''; |
|
this.signIn(); |
|
}, |
|
data() { |
|
return { |
|
title: '扫码签到', |
|
activityId:'', |
|
staticImage: { |
|
bg: imghost + '/BG.png', |
|
fxxDone: imghost + '/fxx-done.png', |
|
}, |
|
} |
|
}, |
|
methods: { |
|
signIn(){ |
|
uni.showLoading({title:'签到中'}); |
|
uni.$u.sleep(2000).then(() => { |
|
uni.hideLoading(); |
|
api.navTo('/pages/ScanCode/done') |
|
}) |
|
}, |
|
}, |
|
} |
|
</script> |
|
|
|
<style lang="scss"> |
|
|
|
</style> |