处理patienmsg保错

This commit is contained in:
zoujiandong 2025-08-25 14:46:40 +08:00
parent d53228c901
commit b6120d9a40

View File

@ -145,24 +145,22 @@
}; };
</script> </script>
<style scoped> <style lang="scss" scoped>
.content { .content {
background-color: #f5f5f5; background-color: #f5f5f5;
min-height: 100vh; min-height: 100vh;
} }
/* 导航栏右侧按钮样式 */ //
.nav-right { .nav-right {
display: flex; display: flex;
align-items: center; align-items: center;
} }
/* 消息列表样式 */ //
.message-list { .message-list {
background-color: #ffffff; background-color: #ffffff;
margin-top: 20rpx; margin-top: 20rpx;
}
.message-item { .message-item {
display: flex; display: flex;
@ -170,15 +168,13 @@
padding: 30rpx; padding: 30rpx;
border-bottom: 1rpx solid #f0f0f0; border-bottom: 1rpx solid #f0f0f0;
background-color: #ffffff; background-color: #ffffff;
}
.message-item:last-child { &:last-child {
border-bottom: none; border-bottom: none;
} }
.message-avatar { .message-avatar {
margin-right: 20rpx; margin-right: 20rpx;
}
.avatar-placeholder { .avatar-placeholder {
width: 80rpx; width: 80rpx;
@ -189,10 +185,10 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
}
.message-content { .message-content {
flex: 1; flex: 1;
}
.message-header { .message-header {
display: flex; display: flex;
@ -214,29 +210,32 @@
.message-preview { .message-preview {
margin-top: 5rpx; margin-top: 5rpx;
}
.preview-text { .preview-text {
font-size: 28rpx; font-size: 28rpx;
color: #666666; color: #666666;
} }
}
}
}
/* 空状态样式 */ //
.empty-state { .empty-state {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 100rpx 0; padding: 100rpx 0;
}
.empty-text { .empty-text {
margin-top: 20rpx; margin-top: 20rpx;
font-size: 28rpx; font-size: 28rpx;
color: #999999; color: #999999;
} }
}
}
/* 底部标签栏样式 */ //
.tab-bar { .tab-bar {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
@ -248,7 +247,6 @@
align-items: center; align-items: center;
border-top: 1rpx solid #e0e0e0; border-top: 1rpx solid #e0e0e0;
z-index: 999; z-index: 999;
}
.tab-item { .tab-item {
flex: 1; flex: 1;
@ -258,19 +256,21 @@
justify-content: center; justify-content: center;
position: relative; position: relative;
height: 100%; height: 100%;
}
.tab-bar .tab-item:nth-child(2){ &:nth-child(2) {
border: 2rpx solid red; border: 2rpx solid #ccc;
border-top: none; border-top: none;
border-bottom: :none; border-bottom: none;
} }
.tab-text { .tab-text {
font-size: 28rpx; font-size: 28rpx;
color: #999999; color: #999999;
transition: color 0.3s; transition: color 0.3s;
} }
.tab-item.active .tab-text { &.active {
.tab-text {
color: #8B2316; color: #8B2316;
font-weight: 500; font-weight: 500;
} }
@ -283,4 +283,7 @@
background-color: #8B2316; background-color: #8B2316;
border-radius: 2rpx; border-radius: 2rpx;
} }
}
}
}
</style> </style>