Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
<template>
|
||||
<div class="AppSignIn">
|
||||
<div class="title">打卡记录</div>
|
||||
|
||||
<div class="sign_list" style="overflow-y: scroll;">
|
||||
<div class="sign_card" v-for="item in signlist" :key="item.id">
|
||||
<div class="sign_left">{{ item.createTime.substring(0,5) }}</div>
|
||||
<div class="sign_right">
|
||||
<div class="time">{{ item.createDate }}</div>
|
||||
<div class="tips">打卡成功</div>
|
||||
<div class="sign_list">
|
||||
<scroll-view scroll-y style="height: 100%;">
|
||||
<div class="sign_card" v-for="item in signlist" :key="item.id">
|
||||
<div class="sign_left">{{ item.createTime.substring(0,5) }}</div>
|
||||
<div class="sign_right">
|
||||
<div class="time">{{ item.createDate }}</div>
|
||||
<div class="tips">打卡成功</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</scroll-view>
|
||||
</div>
|
||||
|
||||
<div class="sign_btn">
|
||||
@@ -32,6 +33,7 @@ export default {
|
||||
status: 0, // 打卡状态:0、未打卡;1、已打卡
|
||||
signlist: [],
|
||||
current: 1,
|
||||
screenHeight: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -74,7 +76,7 @@ export default {
|
||||
setInterval(() => {
|
||||
this.time = dayjs(new Date()).format('HH:mm:ss')
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -82,22 +84,24 @@ export default {
|
||||
.AppSignIn {
|
||||
padding: 0px 32px;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
|
||||
.title {
|
||||
font-weight: 600;
|
||||
font-size: 28px;
|
||||
color: #333333;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
height: 6vh;
|
||||
line-height: 6vh;
|
||||
padding-left: 32px;
|
||||
box-sizing: border-box;
|
||||
background: #F5F5F5;
|
||||
overflow-y: none;
|
||||
}
|
||||
|
||||
.sign_list {
|
||||
width: 100%;
|
||||
height: calc(100% - 500px);
|
||||
height: 69vh;
|
||||
.sign_card {
|
||||
display: flex;
|
||||
background: #FFFFFF;
|
||||
@@ -131,7 +135,7 @@ export default {
|
||||
.sign_btn {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
height: 25vh;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
||||
Reference in New Issue
Block a user