Browse Source

Merge branch 'master' of http://175.178.51.79:3000/Augcl/pet-front

# Conflicts:
#	otherPages/binding/partner/index.vue
#	otherPages/binding/withdrawal/index.vue
#	otherPages/myOrdersManage/withdrawal/index.vue
master
前端-胡立永 1 month ago
parent
commit
67489d70d7
15 changed files with 394 additions and 230 deletions
  1. +14
    -3
      otherPages/authentication/connectAddress/index.vue
  2. +1
    -1
      otherPages/authentication/serve/index.vue
  3. +46
    -92
      otherPages/binding/partner/index.vue
  4. +40
    -27
      otherPages/binding/withdrawal/index.vue
  5. +59
    -76
      otherPages/myOrdersManage/bond/detail.vue
  6. +3
    -2
      otherPages/myOrdersManage/transaction/index.vue
  7. +168
    -0
      otherPages/myOrdersManage/withdrawal/index.vue
  8. +2
    -2
      otherPages/userManage/pet/index.vue
  9. +3
    -0
      otherPages/userManage/pet/petInfo.vue
  10. +10
    -4
      otherPages/workbenchManage/bindUser/index.vue
  11. +11
    -1
      otherPages/workbenchManage/myLevel/index.vue
  12. +4
    -4
      otherPages/workbenchManage/myUser/components/haveOrder.vue
  13. +2
    -2
      otherPages/workbenchManage/myUser/components/noOrder.vue
  14. +20
    -14
      otherPages/workbenchManage/myUser/index.vue
  15. +11
    -2
      otherPages/workbenchManage/myWallet/index.vue

+ 14
- 3
otherPages/authentication/connectAddress/index.vue View File

@ -153,10 +153,21 @@
} }
const toAdd = (item) => { const toAdd = (item) => {
console.log("item")
console.log(item)
if (item) { if (item) {
uni.navigateTo({
url: `/otherPages/authentication/connectAddress/detail?addressId=${item.id}`
})
console.log("item")
console.log(item)
if(item !== undefined){
uni.navigateTo({
url: `/otherPages/authentication/connectAddress/detail?addressId=${item.id}`
})
}else{
uni.navigateTo({
url: '/otherPages/authentication/connectAddress/detail'
})
}
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/otherPages/authentication/connectAddress/detail' url: '/otherPages/authentication/connectAddress/detail'


+ 1
- 1
otherPages/authentication/serve/index.vue View File

@ -325,7 +325,7 @@
id : form.id, id : form.id,
phone: baseFormData.userTelephone, phone: baseFormData.userTelephone,
sex: baseFormData.sex == '男' ? 0 : 1, sex: baseFormData.sex == '男' ? 0 : 1,
userBrief: formData.userBrief,
brief: formData.userBrief,
experience: formData.experience, experience: formData.experience,
petType: form.type.length > 0 ? form.type.join(',') : null, petType: form.type.length > 0 ? form.type.join(',') : null,
license: serveFormData.serve.join(';'), license: serveFormData.serve.join(';'),


+ 46
- 92
otherPages/binding/partner/index.vue View File

@ -1,121 +1,77 @@
<template> <template>
<!-- <div>合伙人钱包明细</div> -->
<!-- <div>交易明细</div> -->
<view class="box"> <view class="box">
<view class="top flex" :style="{ borderRadius: '31.5rpx' }"> <view class="top flex" :style="{ borderRadius: '31.5rpx' }">
<view class="income flex element" :style="{ borderRadius: '31.5rpx',backgroundColor: currentTab === 1 ? '#FFBF60' : '#F3F3F3',
color: currentTab === 1 ? 'white' : 'black' }" @click="tabClick(1)">
<view @click="changeTab(0)" :class="{ active : type == 0 }" class="income flex element"
:style="{ borderRadius: '31.5rpx' }">
收入明细 收入明细
</view> </view>
<view class="income flex element" :style="{ borderRadius: '31.5rpx',backgroundColor: currentTab === 2 ? '#FFBF60' : '#F3F3F3',
color: currentTab === 2 ? 'white' : 'black'}" @click="tabClick(2)">
<view @click="changeTab(1)" :class="{ active : type == 1 }" class="income flex element"
:style="{ borderRadius: '31.5rpx' }">
支出明细 支出明细
</view> </view>
</view> </view>
<view class="mt20" v-for="(item,index) in detaliList" :key="index">
<view class="Recharge flex mb28">
<view class="flex">
<!-- <image src="https://img1.baidu.com/it/u=3034232350,1041791648&fm=253&fmt=auto&app=138&f=PNG?w=500&h=500"
mode=""></image> -->
<image :src="icon" mode=""></image>
<view class="text1">
<view class="text2">
{{item.title}}
</view>
<view>
{{item.time}}
</view>
<view v-for="(item,index) in list" :key="index" class="Recharge flex">
<view class="flex">
<image style="width: 80rpx;height: 80rpx" src="https://img1.baidu.com/it/u=3034232350,1041791648&fm=253&fmt=auto&app=138&f=PNG?w=500&h=500"
mode="aspectFill"></image>
<view class="text1">
<view class="text2">
{{ item.title }}
</view>
<view>
{{ item.createTime }}
</view> </view>
</view>
<view class="text3">
¥ {{item.amont}}
</view> </view>
</view> </view>
<up-line color="#C7C7C7"></up-line>
<view class="text3">
{{ item.amount }}
</view>
</view> </view>
</view> </view>
</template> </template>
<script setup> <script setup>
import { import {
ref,
reactive,
} from 'vue';
import {
onShow
} from "@dcloudio/uni-app"
ref
} from "vue"
import {
amountLogList
} from "@/api/amount/index.js"
import { import {
getTransactionDetailsList
} from "@/api/home.js"
const icon = ref('/static/images/levelImage/money.png')
const detaliList = reactive([
// {
// title: "广",
// time: "2020-12-29 12:54:54",
// amont: "168.00"
// },
// {
// title: "广",
// time: "2020-12-29 12:54:54",
// amont: "168.00"
// },
])
const state = reactive({
transactionType: 0
})
onShow
} from "@dcloudio/uni-app"
onShow(() => { onShow(() => {
getList()
getRunningWater()
}) })
const getList = async () => {
let response = await getTransactionDetailsList({
transactionType: state.transactionType
})
console.log(response)
const list = ref([]);
const type = ref(0);
//
const getRunningWater = async () => {
let response = await amountLogList({
type: type.value,
moneyType:0
});
if (response.code == 200) {
list.value = response.data
}
} }
const currentTab = ref(1);
const tabClick = (val) => {
detaliList.splice(0, detaliList.length)
switch (val) {
case 1:
detaliList.push({
title: "合伙人推广佣金",
time: "2020-12-29 12:54:54",
amont: "168.00"
}, {
title: "合伙人推广佣金",
time: "2020-12-29 12:54:54",
amont: "168.00"
}, )
currentTab.value = val;
break;
case 2:
detaliList.push({
title: "提现",
time: "2020-12-29 12:54:54",
amont: "168.00"
}, )
currentTab.value = val;
break;
}
const changeTab = (index) => {
type.value = index;
getRunningWater();
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.box { .box {
width: 750rpx; width: 750rpx;
height: 100vh;
height: 1452rpx;
background-color: #FFFFFF; background-color: #FFFFFF;
padding: 2% 2% 0 2%; padding: 2% 2% 0 2%;
box-sizing: border-box; box-sizing: border-box;
@ -127,10 +83,10 @@
background-color: #F3F3F3; background-color: #F3F3F3;
} }
// .element:hover {
// background-color: #FFBF60;
// color: white;
// }
.active {
background-color: #FFBF60;
color: white;
}
.income { .income {
width: 361rpx; width: 361rpx;
@ -146,8 +102,6 @@
padding: 3% 3% 0 2%; padding: 3% 3% 0 2%;
box-sizing: border-box; box-sizing: border-box;
justify-content: space-between; justify-content: space-between;
// background-color: red;
} }
.flex { .flex {


+ 40
- 27
otherPages/binding/withdrawal/index.vue View File

@ -9,8 +9,7 @@
<view class="money level"> <view class="money level">
<text>¥</text> <text>¥</text>
<up-input class="amount" placeholderClass="placeInput" placeholder="请输入提现金额" clearable fontSize="34rpx" <up-input class="amount" placeholderClass="placeInput" placeholder="请输入提现金额" clearable fontSize="34rpx"
border="bottom" type="number" color="#FF2742"
v-model="form.amount"></up-input>
border="bottom" type="number" color="#FF2742" v-model="num"></up-input>
</view> </view>
<!-- <DForm :list="state. " @submit="handleSubmit" /> --> <!-- <DForm :list="state. " @submit="handleSubmit" /> -->
</view> </view>
@ -32,7 +31,7 @@
</view> </view>
<uni-popup ref="inputDialogRef" type="dialog"> <uni-popup ref="inputDialogRef" type="dialog">
<uni-popup-dialog ref="inputClose" mode="input" title="提现" v-model="form.name" placeholder="请输入姓名"
<uni-popup-dialog ref="inputClose" mode="input" title="提现" v-model="fullName" placeholder="请输入姓名"
@confirm="dialogInputConfirm" @close="close" :before-close="true"></uni-popup-dialog> @confirm="dialogInputConfirm" @close="close" :before-close="true"></uni-popup-dialog>
</uni-popup> </uni-popup>
</template> </template>
@ -52,21 +51,21 @@
const configList = computed(() => { const configList = computed(() => {
return store.getters.configList return store.getters.configList
}) })
const userInfo = computed(() => {
return store.getters.userInfo
})
const form = ref({
amount: '',
name : '',
})
const num = ref('');;
const fullName = ref('')
const inputDialogRef = ref(null) const inputDialogRef = ref(null)
const inputClose = ref(null) const inputClose = ref(null)
const cashClick = () => { const cashClick = () => {
if (form.value.amount) {
form.value.name = ''
if (num.value) {
fullName.value = ''
inputDialogRef.value.open() inputDialogRef.value.open()
} else { } else {
uni.showToast({ uni.showToast({
icon: 'error', icon: 'error',
@ -76,23 +75,37 @@
} }
} }
const dialogInputConfirm = async (val) => {
const dialogInputConfirm = (val) => {
if (val) { if (val) {
let response = await cashOut({
...form.value,
type: 0,
userId: userInfo.value.userId
})
if (response.code == 200) {
uni.showToast({
title: response.msg,
icon: "none"
})
}
form.value.name = val
//
cashOut({
userId: store.state.user.userInfo.userId,
amount:num.value,
nameValue:val,
moneyType:0,
}).then(res => {
if (res.code == 200) {
store.dispatch("getUserInfo")
uni.showToast({
icon: 'success',
title: '提现成功',
duration: 2000
})
uni.navigateTo({
url: "/otherPages/workbenchManage/myWallet/index"
})
}
})
fullName.value = val
inputClose.value.close() inputClose.value.close()
form.value.name = ''
fullName.value = ''
} else { } else {
uni.showToast({ uni.showToast({
icon: 'error', icon: 'error',
@ -104,7 +117,7 @@
const close = () => { const close = () => {
inputDialogRef.value.close() inputDialogRef.value.close()
form.value.name = ''
fullName.value = ''
} }
</script> </script>


+ 59
- 76
otherPages/myOrdersManage/bond/detail.vue View File

@ -1,86 +1,74 @@
<template> <template>
<!-- <div>保证金明细</div> -->
<!-- <div>交易明细</div> -->
<view class="box"> <view class="box">
<view class="top flex" :style="{ borderRadius: '31.5rpx' }"> <view class="top flex" :style="{ borderRadius: '31.5rpx' }">
<view
class="income flex element"
v-for="(tab, tIdx) in tabs"
:key="`tab-${tIdx}`"
:class="[queryParams.status === tab.value ? 'is-active' : '']"
>
{{ tab.title }}
<view @click="changeTab(0)" :class="{ active : type == 0 }" class="income flex element"
:style="{ borderRadius: '31.5rpx' }">
收入明细
</view>
<view @click="changeTab(1)" :class="{ active : type == 1 }" class="income flex element"
:style="{ borderRadius: '31.5rpx' }">
支出明细
</view> </view>
</view> </view>
<view>
<view class="Recharge flex"
v-for="(item, index) in list"
:key="`record-${index}`"
>
<view class="flex">
<image src="https://img1.baidu.com/it/u=3034232350,1041791648&fm=253&fmt=auto&app=138&f=PNG?w=500&h=500"
mode=""></image>
<view class="text1">
<view class="text2">
{{ item.title }}
</view>
<view>
{{ item.createTime }}
</view>
<view v-for="(item,index) in list" :key="index" class="Recharge flex">
<view class="flex">
<image style="width: 80rpx;height: 80rpx" src="https://img1.baidu.com/it/u=3034232350,1041791648&fm=253&fmt=auto&app=138&f=PNG?w=500&h=500"
mode="aspectFill"></image>
<view class="text1">
<view class="text2">
{{ item.title }}
</view>
<view>
{{ item.createTime }}
</view> </view>
</view> </view>
<view class="text3">
{{ `¥${item.price}` }}
</view>
</view>
<view class="text3">
{{ item.amount }}
</view> </view>
</view> </view>
</view> </view>
</template> </template>
<script setup> <script setup>
import { reactive } from 'vue'
import { onShow } from '@dcloudio/uni-app'
import { usePageList } from "@/utils/pageList";
const tabs = reactive([
{
title: '收入明细',
value: '0',
},
{
title: '支出明细',
value: '1',
},
])
// todo
const { queryParams, list, total, getData } = usePageList()
onShow(() => {
list.value = [
{
title: '提现',
price: 168,
status: '1',
createTime: '2020-12-29 12:54:54'
},
{
title: '提现',
price: 168,
status: '1',
createTime: '2020-12-29 12:54:54'
},
{
title: '提现',
price: 168,
status: '1',
createTime: '2020-12-29 12:54:54'
},
]
})
import {
ref
} from "vue"
import {
amountLogList
} from "@/api/amount/index.js"
import {
onShow
} from "@dcloudio/uni-app"
onShow(() => {
getRunningWater()
})
const list = ref([]);
const type = ref(0);
//
const getRunningWater = async () => {
let response = await amountLogList({
type: type.value,
moneyType:2
});
if (response.code == 200) {
list.value = response.data
}
}
const changeTab = (index) => {
type.value = index;
getRunningWater();
}
</script> </script>
<style lang="scss" scoped>
<style scoped lang="scss">
.box { .box {
width: 750rpx; width: 750rpx;
height: 1452rpx; height: 1452rpx;
@ -95,13 +83,9 @@ onShow(() => {
background-color: #F3F3F3; background-color: #F3F3F3;
} }
.element {
border-radius: 32rpx;
&.is-active {
background-color: #FFBF60;
color: white;
}
.active {
background-color: #FFBF60;
color: white;
} }
.income { .income {
@ -115,10 +99,9 @@ onShow(() => {
.Recharge { .Recharge {
padding: 20rpx 0;
padding: 3% 3% 0 2%;
box-sizing: border-box; box-sizing: border-box;
justify-content: space-between; justify-content: space-between;
border-bottom: 1rpx solid #E0E0E0;
} }
.flex { .flex {


+ 3
- 2
otherPages/myOrdersManage/transaction/index.vue View File

@ -21,7 +21,7 @@
{{ item.title }} {{ item.title }}
</view> </view>
<view> <view>
2020-12-29 12:54:54
{{ item.createTime }}
</view> </view>
</view> </view>
</view> </view>
@ -54,7 +54,8 @@
// //
const getRunningWater = async () => { const getRunningWater = async () => {
let response = await amountLogList({ let response = await amountLogList({
type: type.value
type: type.value,
moneyType:1
}); });
if (response.code == 200) { if (response.code == 200) {
list.value = response.data list.value = response.data


+ 168
- 0
otherPages/myOrdersManage/withdrawal/index.vue View File

@ -0,0 +1,168 @@
<template>
<!-- <div>提现</div> -->
<view class="box">
<view class="top" :style="{ borderRadius: '16rpx' }">
<view >
提现金额
</view>
<view class="level">
<view class="money level">
<text>¥</text>
<input v-model="form.amount" type="digit" />
</view>
<!-- <DForm :list="state. " @submit="handleSubmit" /> -->
</view>
</view>
</view>
<view class="center">
<view class="text">
提现说明
</view>
<view>
<up-parse :content="configList.withdrawal_statement.paramValueArea" containerStyle="{
color: '#707070',
fontSize: '30rpx',
lineHeight: '45rpx',
}"></up-parse>
</view>
<view @click="handleSubmit" class="buttom level" :style="{ borderRadius: '41rpx' }">
提现
</view>
</view>
<view >
<!-- <u-popup :show="show" mode="center" @close="close" @open="open"> -->
</view>
</template>
<script setup>
import {
reactive,
ref,
computed
} from "vue";
import DForm from "@/components/dForm/index.vue"
import {
cashOut
} from "@/api/amount/index.js"
import {
useStore
} from "vuex"
const state = reactive({
list: [{
type: "input",
key: "提现金额",
placeholder: "请输入提现金额",
}, ]
})
const store = useStore();
const configList = computed(() => {
return store.getters.configList
})
const userInfo = computed(() => {
return store.getters.userInfo
})
const form = ref({
amount: ''
})
const handleSubmit = async (val) => {
if (!form.value.amount) {
return uni.showToast({
title: '请填写提现金额',
icon: "none"
})
}
let response = await cashOut({
amount:form.value.amount,
type: 0,
userId: userInfo.value.userId,
moneyType:1
})
if (response.code == 200) {
uni.showToast({
title: response.msg,
icon: "none"
})
store.dispatch("getUserInfo")
uni.showToast({
icon: 'success',
title: '提现成功',
duration: 2000
})
uni.switchTab({
url: "/pages/userManage/index"
})
}
}
</script>
<style scoped lang="scss">
.box {
width: 750rpx;
height: 180rpx;
background-image: linear-gradient(to bottom, #FFBF60, #FFFFFF);
padding: 60rpx 24rpx 0 24rpx;
box-sizing: border-box;
}
.top {
width: 702rpx;
height: 227rpx;
background-color: #FFFFFF;
padding: 24rpx 34rpx 0 34rpx;
box-sizing: border-box;
}
.money {
width: 550rpx;
height: 71rpx;
/* background-color: #FFBF60; */
color: #FFBF60 !important;
font-size: 54rpx !important;
;
height: 71rpx;
/* background-color: #FFBF60; */
color: #FFBF60 !important;
font-size: 54rpx !important;
margin: 3% 0 0 5%;
}
.money input {
margin-left: 5%;
font-size: 61rpx;
height: 71rpx;
}
.center {
width: 100%;
height: 1265rpx;
background-color: #FFFFFF;
font-size: 30rpx;
color: #707070;
padding: 84rpx 0 0 54rpx;
box-sizing: border-box;
line-height: 45rpx;
}
.text {
color: #000000;
font-weight: 700;
margin-bottom: 30rpx;
}
.buttom {
width: 544rpx;
height: 89rpx;
background-color: #FFBF60;
color: #FFFFFF;
font-size: 28rpx;
line-height: 89rpx;
margin: 800rpx 0 0 50rpx;
justify-content: center;
}
.level {
display: flex;
}
</style>

+ 2
- 2
otherPages/userManage/pet/index.vue View File

@ -160,12 +160,12 @@
show.value = false; show.value = false;
if (petType.value === '猫咪') { if (petType.value === '猫咪') {
uni.navigateTo({ uni.navigateTo({
url: "/otherPages/userManage/pet/petInfo?petType=0&optionType=add"
url: "/otherPages/userManage/pet/petInfo?petType=0&optionType=add&userId="+userInfo.value.userId
}) })
} }
if (petType.value === '狗狗') { if (petType.value === '狗狗') {
uni.navigateTo({ uni.navigateTo({
url: "/otherPages/userManage/pet/petInfo?petType=1&optionType=add"
url: "/otherPages/userManage/pet/petInfo?petType=1&optionType=add&userId="+userInfo.value.userId
}) })
} }
}; };


+ 3
- 0
otherPages/userManage/pet/petInfo.vue View File

@ -68,6 +68,7 @@
const loading = ref(false); const loading = ref(false);
const fileList = ref([]); const fileList = ref([]);
const petId = ref(''); const petId = ref('');
const userId = ref('');
const petType = ref('dog'); const petType = ref('dog');
const optionType = ref('add'); const optionType = ref('add');
const isNewOrder = ref(false); const isNewOrder = ref(false);
@ -94,6 +95,7 @@
onLoad((option) => { onLoad((option) => {
petType.value = option.petType; petType.value = option.petType;
userId.value = option.userId
optionType.value = option.optionType; optionType.value = option.optionType;
if (optionType.value === 'edit') { if (optionType.value === 'edit') {
petId.value = option.petId; petId.value = option.petId;
@ -223,6 +225,7 @@
petType: petType.value, petType: petType.value,
headImage: headImage.value headImage: headImage.value
}, },
userId:userId.value,
...petBaseInfo.value, ...petBaseInfo.value,
...petHealthInfo.value ...petHealthInfo.value
}; };


+ 10
- 4
otherPages/workbenchManage/bindUser/index.vue View File

@ -5,15 +5,21 @@
<up-image width="139rpx" height="139rpx" :src="userInfo?.userImage" shape="circle"></up-image> <up-image width="139rpx" height="139rpx" :src="userInfo?.userImage" shape="circle"></up-image>
<view class="header-name"> <view class="header-name">
<view class="font32 mb20" :style="{color:'#000'}">{{ userInfo?.userName}}</view> <view class="font32 mb20" :style="{color:'#000'}">{{ userInfo?.userName}}</view>
<view class="label1">
{{ baseInfo.partner_level }}
<view class="label1" v-if="userInfo.userHhRole == 1">
初级伴宠师
</view>
<view class="label1" v-if="userInfo.userHhRole == 2">
中级伴宠师
</view>
<view class="label1"v-if="userInfo.userHhRole == 3">
高级伴宠师
</view> </view>
<view class="flex font24"> <view class="flex font24">
<view :style="{color:'#A55822'}">当前分成比例 <view :style="{color:'#A55822'}">当前分成比例
<text :style="{color:'#C12525'}">25%</text>
<text :style="{color:'#C12525'}">{{baseInfo.partner_new_num}}</text>
</view> </view>
<view :style="{color:'#A55822'}">晋级后分成比例 <view :style="{color:'#A55822'}">晋级后分成比例
<text :style="{color:'#C12525'}">30%</text>
<text :style="{color:'#C12525'}">{{baseInfo.partner_upgrade_num}}</text>
</view> </view>
</view> </view>
</view> </view>


+ 11
- 1
otherPages/workbenchManage/myLevel/index.vue View File

@ -10,8 +10,18 @@
{{state.baseInfo.info.userName}} {{state.baseInfo.info.userName}}
</view> </view>
<view class="flex-rowl"> <view class="flex-rowl">
<view class="label1 mr20">
<!-- <view class="label1 mr20">
{{ state.baseInfo.partner_level }} {{ 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>
<view class="size-22" style="color: #B97132;"> <view class="size-22" style="color: #B97132;">
已加入合伙人:{{state.baseInfo.partner_day}} 已加入合伙人:{{state.baseInfo.partner_day}}


+ 4
- 4
otherPages/workbenchManage/myUser/components/haveOrder.vue View File

@ -3,8 +3,8 @@
<view class="have-order-list mt20" v-for="(item,index) in listData" :key="item.id"> <view class="have-order-list mt20" v-for="(item,index) in listData" :key="item.id">
<view class="have-order-up"> <view class="have-order-up">
<view class="have-order-image flex-rowl"> <view class="have-order-image flex-rowl">
<up-image width="80rpx" height="80rpx" :src="item.userImage" shape="circle"></up-image>
<text class="ml20">{{ item.name }}</text>
<up-image width="80rpx" height="80rpx" src="https://image.hhlm1688.com/2025/03/287ecbed1d50a141759103f1d776ca063eGroup 213084@2x.png" shape="circle"></up-image>
<text class="ml20">{{ item.nickname }}</text>
</view> </view>
<view class="have-order-image flex-rowr" @click="()=>arrowClick(index)"> <view class="have-order-image flex-rowr" @click="()=>arrowClick(index)">
<text class="mr10 size-22 color-999">{{ item.isShow == true ? '收起' : '展开' }}</text> <text class="mr10 size-22 color-999">{{ item.isShow == true ? '收起' : '展开' }}</text>
@ -26,7 +26,7 @@
最近一次下单 最近一次下单
</view> </view>
<view > <view >
{{ item.recentlyPayTime }}
{{ item.createTime }}
</view> </view>
</view> </view>
<view class="have-order-time flex-b size-26 color-999" v-show="item.isShow"> <view class="have-order-time flex-b size-26 color-999" v-show="item.isShow">
@ -34,7 +34,7 @@
累计消费金额 累计消费金额
</view> </view>
<view > <view >
{{ item.reward_money }}
{{ item.orderAmount.toFixed(2) }}
</view> </view>
</view> </view>
<view class="have-order-time flex-b size-26 color-999" v-show="item.isShow"> <view class="have-order-time flex-b size-26 color-999" v-show="item.isShow">


+ 2
- 2
otherPages/workbenchManage/myUser/components/noOrder.vue View File

@ -2,8 +2,8 @@
<view class="no-order"> <view class="no-order">
<view class="no-order-list mt20" v-for="item in list" :key="item.id"> <view class="no-order-list mt20" v-for="item in list" :key="item.id">
<view class="no-order-image flex-rowl"> <view class="no-order-image flex-rowl">
<up-image width="80rpx" height="80rpx" :src="item.userImage" shape="circle"></up-image>
<text class="ml20">{{ item.userName }}</text>
<up-image width="80rpx" height="80rpx" src="https://image.hhlm1688.com/2025/03/287ecbed1d50a141759103f1d776ca063eGroup 213084@2x.png" shape="circle"></up-image>
<text class="ml20">{{ item.nickname }}</text>
</view> </view>
<up-line color="#C7C7C7"></up-line> <up-line color="#C7C7C7"></up-line>
<view class="no-order-time flex-b size-26 color-999"> <view class="no-order-time flex-b size-26 color-999">


+ 20
- 14
otherPages/workbenchManage/myUser/index.vue View File

@ -5,17 +5,26 @@
<up-image width="120rpx" height="120rpx" :src="state.baseInfo.info.userImage" shape="circle"></up-image> <up-image width="120rpx" height="120rpx" :src="state.baseInfo.info.userImage" shape="circle"></up-image>
<view class="header-name"> <view class="header-name">
<view class="font32 mb20 color-040">{{ state.baseInfo.info.userName }}</view> <view class="font32 mb20 color-040">{{ state.baseInfo.info.userName }}</view>
<view class="label1">
<!-- <view class="label1">
{{ state.baseInfo.partner_level }} {{ 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>
<!-- <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>
<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>
<view class="color-a55 size-24 mt16" v-html="state.baseInfo.level_details"> <view class="color-a55 size-24 mt16" v-html="state.baseInfo.level_details">
</view> </view>
</view> </view>
@ -137,17 +146,14 @@ const getBaseInfo = () => {
}) })
} }
const getList = async () => { const getList = async () => {
const {
code,
data
} = await hhrMyUserList({
const {content} = await hhrMyUserList({
...state.page, ...state.page,
state: state.state, state: state.state,
appUserId: state.info.userId appUserId: state.info.userId
}) })
if (code === 200) {
state.list = [...data]
}
// if (code === 200) {
state.list = [...content]
// }
} }
const tabClick = (item) => { const tabClick = (item) => {
state.state = item.index state.state = item.index


+ 11
- 2
otherPages/workbenchManage/myWallet/index.vue View File

@ -5,8 +5,17 @@
<up-image width="140rpx" height="140rpx" :src="state?.baseInfo?.info?.userImage" shape="circle"></up-image> <up-image width="140rpx" height="140rpx" :src="state?.baseInfo?.info?.userImage" shape="circle"></up-image>
<view class="header-name"> <view class="header-name">
<view class="font32 mb20 color-040">{{ state?.baseInfo?.info?.userName }}</view> <view class="font32 mb20 color-040">{{ state?.baseInfo?.info?.userName }}</view>
<view class="label1">
{{ state.baseInfo.partner_level }}
<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="size-22" style="color: #B97132;">
已加入合伙人:{{state.baseInfo.partner_day}}
</view> </view>
<view class="flex font24"> <view class="flex font24">
<view style="color: #B97132;">当前分成比例 <view style="color: #B97132;">当前分成比例


Loading…
Cancel
Save