fix(fsgx): 我的页面分销等级/资产标题/佣金记录三处UI修复

- 我的页面:用户ID旁徽标改为显示分销等级(agent_level_name),无等级时不显示
- 我的资产页面:去除顶部"我的资产"标题
- 推荐佣金页面:佣金记录改用 spreadOrder API,修复因数据源错误导致列表为空的问题

Made-with: Cursor
This commit is contained in:
apple
2026-03-25 10:12:15 +08:00
parent 6e5bbee71d
commit c84aeda062
4 changed files with 27 additions and 11 deletions

21
docs/issues-0325-1.md Normal file
View File

@@ -0,0 +1,21 @@
# 管理后台
# uniapp移动端
## 我的页面tabbar页
1. 用户ID右边显示的会员等级改成显示分销等级
## 我的资产页面(/pages/assets/index
1. 页面顶部“我的资产”的标题去除
## 推荐佣金页面(/pages/queue/status
1. 佣金记录不显示
---
# 测试
# 相关文件
1. **相关文件**`docs/PRD_fsgx_V1.0.md` `docs/page-dev-specs-fsgx.md`

View File

@@ -3,10 +3,6 @@
<view class="assets-wrapper"> <view class="assets-wrapper">
<view class="assets-header"> <view class="assets-header">
<view class="assets-header__top">
<view class="assets-header__title">我的资产</view>
</view>
<view v-if="loading" class="skeleton-card"></view> <view v-if="loading" class="skeleton-card"></view>
<view v-else class="hero-card"> <view v-else class="hero-card">

View File

@@ -87,7 +87,7 @@ import HjfQueueProgress from '@/components/HjfQueueProgress.vue';
import HjfRefundNotice from '@/components/HjfRefundNotice.vue'; import HjfRefundNotice from '@/components/HjfRefundNotice.vue';
import emptyPage from '@/components/emptyPage.vue'; import emptyPage from '@/components/emptyPage.vue';
import colors from '@/mixins/color.js'; import colors from '@/mixins/color.js';
import { getCommissionInfo } from '@/api/user.js'; import { spreadOrder } from '@/api/user.js';
export default { export default {
name: 'BrokerageStatus', name: 'BrokerageStatus',
@@ -131,8 +131,7 @@ export default {
const isFirst = this.page === 1; const isFirst = this.page === 1;
if (isFirst) this.loading = true; else this.loadingMore = true; if (isFirst) this.loading = true; else this.loadingMore = true;
// type=3 获取返佣记录 spreadOrder({ page: this.page, limit: this.limit, category: 'now_money', type: 'brokerage' })
getCommissionInfo({ page: this.page, limit: this.limit }, 3)
.then(res => { .then(res => {
const list = (res && res.data && res.data.list) ? res.data.list : []; const list = (res && res.data && res.data.list) ? res.data.list : [];
if (list.length < this.limit) this.finished = true; if (list.length < this.limit) this.finished = true;

View File

@@ -58,10 +58,10 @@ export default {
<view class="bind-phone" v-if="!userInfo.phone && userInfo.uid" @tap="bindPhone">绑定手机号</view> <view class="bind-phone" v-if="!userInfo.phone && userInfo.uid" @tap="bindPhone">绑定手机号</view>
<view class="acea-row row-middle" v-else> <view class="acea-row row-middle" v-else>
<view class="phone">{{ perShowType ? 'ID' + userInfo.uid : userInfo.phone }}</view> <view class="phone">{{ perShowType ? 'ID' + userInfo.uid : userInfo.phone }}</view>
<view class="vip flex-center" v-if="userInfo.level"> <view class="vip flex-center" v-if="userInfo.agent_level_name">
<text class="iconfont icon-huiyuandengji"></text> <text class="iconfont icon-huiyuandengji"></text>
{{ userInfo.vip_name || ('V' + userInfo.level) }} {{ userInfo.agent_level_name }}
</view> </view>
</view> </view>
</template> </template>