diff --git a/manifest.json b/manifest.json index 375b8d3..dbc7cfe 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "德讯", - "appid" : "__UNI__A77A477", + "appid" : "__UNI__D705A34", "description" : "", "versionName" : "fad-im 5.0.0", "versionCode" : 345, @@ -26,9 +26,9 @@ "distribute" : { "android" : { "permissions" : [ - "android.permission.ACCESS_FINE_LOCATION", - "android.permission.ACCESS_COARSE_LOCATION", "", + "", + "", "", "", "", diff --git a/pages/workbench/reportWork/reportWork.vue b/pages/workbench/reportWork/reportWork.vue index 751fd05..a07d6b1 100644 --- a/pages/workbench/reportWork/reportWork.vue +++ b/pages/workbench/reportWork/reportWork.vue @@ -2,41 +2,21 @@ - + 全部报工 - + 我的报工 - + - + 暂无报工数据 @@ -61,7 +41,7 @@ 工作地点 - + 已自动获取当前位置,无需手动填写 @@ -105,103 +85,602 @@ + .container { + background-color: #f5f5f5; + height: 100vh; + display: flex; + flex-direction: column; + } + + .tab-container { + display: flex; + background-color: #fff; + padding: 0 20rpx; + border-bottom: 1rpx solid #e9ecef; + + .tab-item { + flex: 1; + height: 80rpx; + display: flex; + align-items: center; + justify-content: center; + font-size: 28rpx; + color: #666; + position: relative; + + &.active { + color: #007bff; + font-weight: 500; + + &::after { + content: ''; + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 60rpx; + height: 4rpx; + background-color: #007bff; + border-radius: 2rpx; + } + } + } + } + + .card-list-container { + flex: 1; + padding: 20rpx; + overflow: hidden; + } + + .card-scroll { + width: 100%; + height: 100%; + } + + .empty-state { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 100rpx 0; + + .empty-image { + width: 200rpx; + height: 200rpx; + margin-bottom: 30rpx; + opacity: 0.6; + } + + .empty-text { + font-size: 28rpx; + color: #999; + } + } + + .form-popup-content { + background-color: #fff; + border-radius: 20rpx 20rpx 0 0; + overflow: hidden; + width: 100%; + max-height: 80vh; + display: flex; + flex-direction: column; + box-sizing: border-box; + + .popup-header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 30rpx; + border-bottom: 1rpx solid #e9ecef; + + .popup-title { + font-size: 32rpx; + font-weight: bold; + } + } + + .form-content { + padding: 30rpx; + flex: 1; + overflow-y: auto; + box-sizing: border-box; + } + + .form-container { + box-sizing: border-box; + + .form-item { + margin-bottom: 40rpx; + box-sizing: border-box; + + .form-label { + font-size: 28rpx; + color: #333; + margin-bottom: 20rpx; + font-weight: 500; + } + + .location-row { + display: flex; + gap: 16rpx; + align-items: center; + } + + .location-tip { + font-size: 24rpx; + color: #999; + margin-top: 12rpx; + line-height: 1.4; + } + } + } + + .popup-footer { + display: flex; + justify-content: center; + gap: 20rpx; + padding: 30rpx; + border-top: 1rpx solid #e9ecef; + } + } + + .fab-button { + position: fixed; + bottom: 20rpx; + right: 20rpx; + width: 100rpx; + height: 100rpx; + border-radius: 50%; + background-color: #007bff; + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1); + padding: 20rpx; + z-index: 999; + } + \ No newline at end of file diff --git a/version.md b/version.md index cd04fa1..7c4be25 100644 --- a/version.md +++ b/version.md @@ -84,4 +84,7 @@ + 修复仓储模块的显示bug ## 5.2.4 -+ 修复审批页面的显示bug \ No newline at end of file ++ 修复审批页面的显示bug + +## 5.2.5 ++ 报工增加自动定位功能 \ No newline at end of file