museum-H5/pages/check/index.vue

33 lines
803 B
Vue
Raw Normal View History

2023-12-20 11:14:20 +00:00
<template>
<div class="main">
<image src="@/static/bg2.png" mode="aspectFill" class="img" />
2023-12-21 02:08:51 +00:00
<up-button type="primary" :text="'审核员 ' + name" shape="circle" color="#AB2F23"
2023-12-20 11:14:20 +00:00
style="width:700rpx ;margin-top: 50rpx;"></up-button>
<up-button type="primary" text="扫一扫" shape="circle" color="#000" style="width:700rpx ;margin-top: 50rpx"
@click="goScan"></up-button>
</div>
</template>
<script setup>
2023-12-21 02:08:51 +00:00
import { ref } from "vue"
const name = ref(uni.getStorageSync('nickName'))
2023-12-20 11:14:20 +00:00
const 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>