完成订单相关UI
This commit is contained in:
@@ -10,6 +10,7 @@ const props = defineProps({
|
||||
type: Object,
|
||||
default: () => ({
|
||||
nickName: "",
|
||||
avatarUrl: "",
|
||||
lvl: 0,
|
||||
points: 0,
|
||||
rankLvl: 0,
|
||||
@@ -34,7 +35,7 @@ const toUserPage = () => {
|
||||
|
||||
<template>
|
||||
<view class="container" :style="{ width: containerWidth }">
|
||||
<Avatar frame="true" src="../static/avatar.png" :onClick="toUserPage" />
|
||||
<Avatar :frame="true" :src="user.avatarUrl" :onClick="toUserPage" />
|
||||
<view class="user-details">
|
||||
<view class="user-name">
|
||||
<text>{{ user.nickName }}</text>
|
||||
|
||||
Reference in New Issue
Block a user