diff --git a/pages/login/index.vue b/pages/login/index.vue
index dae9952..282ca87 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -220,8 +220,8 @@ export default {
uni.switchTab({
url: "/pages/conversation/conversationList/index",
});
- await getSMSCodeFromOa(this.loginInfo.phoneNumber);
- await loginOaByPhone(this.loginInfo.phoneNumber)
+ await getSMSCodeFromOa(this.loginInfo.phoneNumber);
+ await loginOaByPhone(this.loginInfo.phoneNumber)
this.loginInfo.password = "";
this.loading = false;
diff --git a/pages/workbench/construction/construction.vue b/pages/workbench/construction/construction.vue
index 7342f3a..b9ac424 100644
--- a/pages/workbench/construction/construction.vue
+++ b/pages/workbench/construction/construction.vue
@@ -3,38 +3,53 @@
- 点击对应的行可以查看详情
+ 点击对应的卡片可以查看详情
+
+
+
+
+
+
+ 新增汇报
+
-
-
-
-
+
@@ -44,13 +59,75 @@
@loadmore="loadMore"
>
+
+
+
+
@@ -180,62 +359,48 @@ export default {
}
}
-
-.table-wrapper {
- background-color: #fff;
- border-radius: 10rpx;
- overflow: hidden;
+.add-button-container {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 30rpx;
}
-.table-scroll {
- width: 100%;
+.masonry-list {
+ column-count: 2;
+ column-gap: 24rpx;
+ padding: 10rpx 0;
}
-.table-container {
- min-width: 1200rpx; // 设置最小宽度,确保表格内容不会被压缩
- .table-header {
- display: flex;
- background-color: #f8f9fa;
- border-bottom: 1rpx solid #e9ecef;
- .header-cell {
- width: 200rpx; // 固定列宽
- padding: 20rpx 10rpx;
- text-align: center;
- font-weight: bold;
- font-size: 28rpx;
- flex-shrink: 0; // 防止列被压缩
- &.checkbox {
- width: 100rpx; // 复选框列宽度
- }
- }
+.masonry-card {
+ width: calc(100%% - 18rpx);
+ margin-bottom: 24rpx;
+ background: #fff;
+ border-radius: 16rpx;
+ box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.06);
+ display: inline-block;
+ break-inside: avoid;
+ padding: 32rpx 24rpx;
+ cursor: pointer;
+ transition: box-shadow 0.2s;
+ &:active {
+ box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.10);
+ background: #f8f9fa;
}
- .table-body {
- .table-row {
+ .card-title {
+ font-size: 32rpx;
+ font-weight: bold;
+ margin-bottom: 16rpx;
+ color: #007bff;
+ }
+ .card-info {
+ display: flex;
+ flex-direction: column;
+ gap: 8rpx;
+ .info-row {
display: flex;
- border-bottom: 1rpx solid #e9ecef;
- cursor: pointer;
- transition: background-color 0.2s;
-
- &:hover {
- background-color: #f8f9fa;
- }
-
- &:active {
- background-color: #e9ecef;
- }
- .table-cell {
- width: 200rpx; // 固定列宽
- padding: 20rpx 10rpx;
- text-align: center;
- font-size: 26rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-shrink: 0; // 防止列被压缩
- word-break: break-all; // 长文本换行
- &.checkbox {
- width: 100rpx; // 复选框列宽度
- }
+ .label {
+ color: #888;
+ min-width: 120rpx;
}
}
}
diff --git a/pages/workbench/construction/detail.vue b/pages/workbench/construction/detail.vue
index ab5e1b2..f35a4ab 100644
--- a/pages/workbench/construction/detail.vue
+++ b/pages/workbench/construction/detail.vue
@@ -22,69 +22,49 @@
-
-
- 新增
- 删除
-
+
-
-
-
-
+
+ 备注:
+ {{ item.remark || '-' }}
+
+
+
+
@@ -94,6 +74,13 @@
@loadmore="loadMore"
>
+
+
+
+
+
+
+