|
|
@ -5,17 +5,26 @@ |
|
|
|
<up-image width="120rpx" height="120rpx" :src="state.baseInfo.info.userImage" shape="circle"></up-image> |
|
|
|
<view class="header-name"> |
|
|
|
<view class="font32 mb20 color-040">{{ state.baseInfo.info.userName }}</view> |
|
|
|
<view class="label1"> |
|
|
|
<!-- <view class="label1"> |
|
|
|
{{ state.baseInfo.partner_level }} |
|
|
|
</view> --> |
|
|
|
<view class="label1" v-if="state.baseInfo.info.userHhRole == 1"> |
|
|
|
初级伴宠师 |
|
|
|
</view> |
|
|
|
<view class="label1" v-if="state.baseInfo.info.userHhRole == 2"> |
|
|
|
中级伴宠师 |
|
|
|
</view> |
|
|
|
<view class="label1"v-if="state.baseInfo.info.userHhRole == 3"> |
|
|
|
高级伴宠师 |
|
|
|
</view> |
|
|
|
<!-- <view class="flex font24"> |
|
|
|
<view style="color: #B97132;">当前分成比例: |
|
|
|
<text style="color: #CD4732;">25%</text> |
|
|
|
<view class="flex font24"> |
|
|
|
<view :style="{color:'#A55822'}">当前分成比例: |
|
|
|
<text :style="{color:'#C12525'}">{{state.baseInfo.partner_new_num}}</text> |
|
|
|
</view> |
|
|
|
<view class="ml28" style="color: #B97132;">晋级后分成比例: |
|
|
|
<text style="color: #CD4732;">30%</text> |
|
|
|
<view :style="{color:'#A55822'}">晋级后分成比例: |
|
|
|
<text :style="{color:'#C12525'}">{{state.baseInfo.partner_upgrade_num}}</text> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<view class="color-a55 size-24 mt16" v-html="state.baseInfo.level_details"> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -134,17 +143,14 @@ const getBaseInfo = () => { |
|
|
|
}) |
|
|
|
} |
|
|
|
const getList = async () => { |
|
|
|
const { |
|
|
|
code, |
|
|
|
data |
|
|
|
} = await hhrMyUserList({ |
|
|
|
const {content} = await hhrMyUserList({ |
|
|
|
...state.page, |
|
|
|
state: state.state, |
|
|
|
appUserId: state.info.userId |
|
|
|
}) |
|
|
|
if (code === 200) { |
|
|
|
state.list = [...data] |
|
|
|
} |
|
|
|
// if (code === 200) { |
|
|
|
state.list = [...content] |
|
|
|
// } |
|
|
|
} |
|
|
|
const tabClick = (item) => { |
|
|
|
state.state = item.index |
|
|
|