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.

71 lines
1.1 KiB

<template>
<view class="wrap">
<view class="scan" @click="toscan">
</view>
<view>
<view>今日访客</view>
<view class="list">
<view class='listitem'>
<text>张三</text>
<text>9:00</text>
<text>未核销</text>
</view>
<view class='listitem'>
<text>张三</text>
<text>9:00</text>
<text>已核销</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
onLoad() {
},
methods: {
toscan(){
uni.navigateTo({
url:'/pages/index/scancode'
})
}
}
}
</script>
<style scoped>
.wrap{
height:90vh;
min-height: 90vh;
padding:30rpx;
}
.scan {
width: 200rpx;
height: 200rpx;
border-radius: 200rpx;
background-color: deepskyblue;
line-height: 200rpx;
color: #fff;
font-size: 36rpx;
box-shadow: 0 0 0px 4px lightskyblue;
margin: 30rpx auto;
text-align: center;
}
.list{
height:65vh;
margin-top:20rpx
}
.listitem{
display: flex;
justify-content: space-between;
padding:20rpx;
border-bottom:1px solid #ccc
}
</style>