fix and add
This commit is contained in:
BIN
public/logo.png
Normal file
BIN
public/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
@@ -2,7 +2,7 @@
|
||||
<div class="home-layout min-h-screen flex flex-col">
|
||||
<!-- Header -->
|
||||
<div class="header">
|
||||
<img class="logo rounded-full overflow-hidden" src="/logo.jpg" alt="Logo" />
|
||||
<img class="logo rounded-full overflow-hidden" src="/logo.png" alt="Logo" />
|
||||
<div class="title">天远数据</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div v-for="(item, index) in data.list" :key="index" class="mx-4 my-2 bg-white rounded-lg p-4 shadow-sm">
|
||||
<div class="flex justify-between items-center mb-2">
|
||||
<!-- 修改点 1: 使用 desen 函数处理 mobile -->
|
||||
<span class="text-gray-500 text-sm">{{ desen(item.query_params.mobile, 'mobile') || '-' }}</span>
|
||||
<span class="text-gray-500 text-sm">{{ desen(item.query_params?.mobile, 'mobile') || '-' }}</span>
|
||||
<span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium"
|
||||
:class="getReportTypeStyle(item.product_name)">
|
||||
<span class="w-2 h-2 rounded-full mr-1" :class="getDotColor(item.product_name)"></span>
|
||||
@@ -13,12 +13,15 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<h4>直接收益</h4>
|
||||
<span class="text-green-500 font-bold">+{{ item.amount.toFixed(2) }}</span>
|
||||
<h4>直接收益</h4>
|
||||
<span :class="item.status === 2 ? 'text-red-500' : 'text-green-500'" class="font-bold">
|
||||
{{ item.status === 2 ? '-' : '+' }}{{ item.amount.toFixed(2) }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<!-- 修改点 2: 使用 desen 函数处理 name -->
|
||||
<span class="text-gray-500 text-sm">{{ desen(item.query_params.name) || '-' }}</span>
|
||||
<span class="text-gray-500 text-sm">{{ desen(item.query_params?.name) || '-' }}</span>
|
||||
<span v-if="item.status === 2" class="text-red-500 text-sm ml-2">已退款</span>
|
||||
</div>
|
||||
<div class="flex justify-between items-center mb-2">
|
||||
<span class="text-gray-500 text-sm">{{ item.create_time || '-' }}</span>
|
||||
|
||||
@@ -151,7 +151,7 @@ const onClickLeft = () => {
|
||||
<div class="login px-4 relative z-10">
|
||||
<div class="mb-8 pt-20 text-left">
|
||||
<div class="flex flex-col items-center">
|
||||
<img class="h-16 w-16 rounded-full shadow" src="/logo.jpg" alt="Logo" />
|
||||
<img class="h-16 w-16 rounded-full shadow" src="/logo.png" alt="Logo" />
|
||||
<div class="text-3xl mt-4 text-slate-700 font-bold">天远数据</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user