diff --git a/components/UserEvaluation.vue b/components/UserEvaluation.vue index eb18a65..f431af3 100644 --- a/components/UserEvaluation.vue +++ b/components/UserEvaluation.vue @@ -21,7 +21,7 @@ - {{ item.comment }} + {{ item.comment || '此用户没有填写评价'}} @@ -231,4 +231,10 @@ export default { color: #666; line-height: 1.5; } +.attr-bg{ + background: rgba(197,39,51,0.1); + padding: 7rpx 5px; + width: fit-content; + border-radius: 12rpx; +}