feat: add user balance
This commit is contained in:
@@ -44,11 +44,12 @@ const menuGroups = [
|
||||
<div>
|
||||
<h3 class="text-xl font-medium">{{ userInfo.username }}</h3>
|
||||
<span class="text-gray-500">用户编号: {{ userInfo.id }}</span>
|
||||
<span class="text-gray-500">账户余额: {{ (userInfo.balance / 100).toFixed(2) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="menus space-y-4 mt-4 px-4">
|
||||
<div class="menus space-y-4 mt-4 px-4 hidden">
|
||||
<div v-for="(group, groupIndex) in menuGroups" :key="groupIndex" class="bg-white rounded-lg overflow-hidden">
|
||||
<div class="px-4 py-2 text-sm text-gray-500">{{ group.title }}</div>
|
||||
<div class="divide-y divide-gray-100">
|
||||
|
||||
Reference in New Issue
Block a user