完成订单相关UI

This commit is contained in:
kron
2025-05-28 15:00:31 +08:00
parent 6b4eff428c
commit 2586bab023
9 changed files with 188 additions and 21 deletions

View File

@@ -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>