allow user to upload attachment for mobile chat page

This commit is contained in:
RockYang
2025-09-08 08:43:32 +08:00
parent 18961d3c26
commit 8b2cf90aab
10 changed files with 357 additions and 114 deletions
@@ -49,6 +49,77 @@
}
}
}
// .file-preview-list {
// display: flex;
// flex-wrap: wrap;
// padding: 6px 10px 0 10px;
// gap: 8px;
// .file-preview-item {
// position: relative;
// display: inline-flex;
// align-items: center;
// border: 1px solid #e8e8e8;
// background: var(--van-cell-background);
// border-radius: 8px;
// padding: 6px 26px 6px 6px;
// overflow: hidden;
// .thumb {
// width: 56px;
// height: 56px;
// border-radius: 6px;
// overflow: hidden;
// .img {
// width: 56px;
// height: 56px;
// }
// .size {
// position: absolute;
// left: 6px;
// bottom: 6px;
// background: rgba(0, 0, 0, 0.5);
// color: #fff;
// font-size: 10px;
// padding: 1px 4px;
// border-radius: 3px;
// }
// }
// .doc {
// display: inline-flex;
// align-items: center;
// gap: 6px;
// max-width: 220px;
// .icon {
// width: 24px;
// height: 24px;
// }
// .name {
// white-space: nowrap;
// text-overflow: ellipsis;
// overflow: hidden;
// max-width: 180px;
// }
// .size {
// color: #8c8c8c;
// font-size: 12px;
// margin-left: 6px;
// }
// }
// .remove {
// position: absolute;
// right: 6px;
// top: 6px;
// font-size: 14px;
// color: #999;
// }
// }
// }
}
}