
Мне нужен такой результат.

Вот мой код:
Код: Выделить всё
{{ userName }}
点评
关注用户
关注课程
Вот ProfileFollowUserList.vue
Код: Выделить всё
import UserItemList from '@/components/userItem/UserItemList.vue';
Код: Выделить всё
Код: Выделить всё
{{ userName }}
{{ numberOfNewReviews }}条新点评
已关注
关注
.userItem {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 5;
margin-bottom: 20px;
width: 100%;
}
.block1 {
display: flex;
flex-direction: row;
align-items: center;
}
.tip-wrapper {
background-color: #f6f8f9;
border-radius: 8px;
padding: 0px 10px;
margin-top: 5px;
}
.tip {
font-size: 12px;
color: #666;
}
Подробнее здесь: https://stackoverflow.com/questions/792 ... -parent-co
Мобильная версия