微信小程序时间问题

dev_xd
lj7788@126.com 2025-09-08 19:32:12 +08:00
parent f5adf9fa12
commit 1d9d08f092
3 changed files with 12 additions and 9 deletions

View File

@ -47,8 +47,8 @@ public class ProMobileAttendanceData extends BaseEntity
private BigDecimal latitude;
/** 考勤时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "考勤时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "考勤时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date attDate;
private String basePath;

View File

@ -67,8 +67,8 @@
</view>
<view class="content_box_content att-img">
<image src="{{faceImage}}" mode="aspectFit" bindtap="openCamera" wx:if="{{faceImage}}" />
<view wx:else class="placeholder-text" bindtap="openCamera">拍照后显示图片</view>
<button bindtap="openCamera">点击打开摄像头刷脸</button>
<view wx:else class="placeholder-text" bindtap="openCamera">拍照后显示图片,点击打开摄像头刷脸</view>
<!-- <button bindtap="openCamera">点击打开摄像头刷脸</button> -->
</view>
</view>

View File

@ -33,8 +33,8 @@
}
.arrow_box view{
height: 160rpx;
line-height: 160rpx;
height: 100rpx;
line-height: 100rpx;
width:100% ;
text-align: center;
}
@ -42,7 +42,7 @@
/* 地图样式 */
#attendanceMap {
width: 100%;
height: 300rpx;
height: 200rpx;
border-radius: 10rpx;
}
.box_row{
@ -68,7 +68,7 @@
.att-img image {
width: 400rpx;
height: 400rpx;
height: 200rpx;
margin-bottom: 20rpx;
border-radius: 10rpx;
background-color: #1E2737;
@ -76,7 +76,7 @@
.att-img .placeholder-text {
width: 400rpx;
height: 400rpx;
height: 200rpx;
margin-bottom: 20rpx;
border-radius: 10rpx;
background-color: #1E2737;
@ -94,4 +94,7 @@
padding: 20rpx 20rpx;
border-radius: 10rpx;
font-size: 28rpx;
}
.problem_submit_to{
padding:0px 40rpx 40rpx;
}