微信小程序时间问题

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; private BigDecimal latitude;
/** 考勤时间 */ /** 考勤时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "考勤时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "考勤时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date attDate; private Date attDate;
private String basePath; private String basePath;

View File

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

View File

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