refactor(组件): 移除冗余代码并优化样式和功能

移除`imageWatch.vue`中的冗余变量`index`,优化`apartmentDetail.css`和`apartmentDetail.less`中的样式,增加`cursor: pointer`和`align-items: flex-start`等属性。在`user.vue`中移除调试日志并优化数据处理逻辑。在`apartment-item.vue`中恢复并优化点评展示功能。在`apartmentDetail.vue`中重构点评展示逻辑,增加点评类型切换功能,并优化数据加载和展示逻辑。
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-05-19 19:00:09 +08:00
parent fbb5a6599d
commit 173e05c13a
6 changed files with 156 additions and 53 deletions

View File

@@ -709,6 +709,7 @@
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.117647058823529);
padding: 24px 30px 28px;
margin-bottom: 20px;
cursor: pointer;
.head {
justify-content: space-between;
@@ -773,6 +774,7 @@
background-color: rgba(246, 246, 246, 1);
border-radius: 8px;
padding-left: 20px;
align-items: flex-start;
.left {
padding: 18px 0;
@@ -801,6 +803,7 @@
color: #50e3c2;
font-size: 13px;
height: 20px;
line-height: 20px;
background-color: rgba(246, 246, 246, 0);
border: 1px solid rgba(80, 227, 194, 1);
border-radius: 30px;