43 lines
823 B
Vue
43 lines
823 B
Vue
|
<template>
|
||
|
<div class="main">
|
||
|
<image src="@/static/bg2.png" mode="aspectFill" class="img" />
|
||
|
<u-button type="primary" :text="'审核员 ' + name" shape="circle" color="#AB2F23"
|
||
|
style="width:700rpx ;margin-top: 50rpx;"></u-button>
|
||
|
<u-button type="primary" text="扫一扫" shape="circle" color="#000" style="width:700rpx ;margin-top: 50rpx"
|
||
|
@click="goScan"></u-button>
|
||
|
</div>
|
||
|
</template>
|
||
|
<script >
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
name: uni.getStorageSync('nickName')
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
goScan() {
|
||
|
uni.navigateTo({
|
||
|
url: '/pages/scan/index'
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
<style lang="scss" scoped>
|
||
|
.main {
|
||
|
width: 100%;
|
||
|
height: 100vh;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
background: url('@/static/bg.png');
|
||
|
background-size: cover;
|
||
|
|
||
|
.img {
|
||
|
width: 100%;
|
||
|
height: 1256rpx;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
|