分销中心

version/0412
zhangtianning 9 months ago
parent 4bdf9596e6
commit 1e0ad375f8
  1. 72
      pages/news3/JoinDistribution.vue

@ -1,8 +1,8 @@
<template>
<view>
<view style="width:100%;position: fixed;top:0;z-index:99">
<view style="width:100%;position: fixed;top:var(--status-bar-height);z-index:99">
<view class="navBarContent">
<u-icon name="arrow-left" style="position: absolute;top:50%;left:40upx;transform: translateY(-50%);" color="#000" size="24"></u-icon>
<u-icon name="arrow-left" style="position: absolute;top:50%;left:40rpx;transform: translateY(-50%);" color="#000" size="24"></u-icon>
<text>加入分销</text>
</view>
@ -11,13 +11,10 @@
<view class="userInfo">
<image :src="$picUrl+'/static/news3/join.png'" mode="widthFix"></image>
<view class="userContent">
<<<<<<< HEAD
<view v-if="user">
<image :src="user.avatar_url" mode="aspectFill" class="avatar"></image>
</view>
=======
<image src="/static/news/avater.png" mode="aspectFill" class="avatar"></image>
>>>>>>> 06ab086b9bfdee5d9498d86db2619b5857b42a76
<!-- <image src="/static/news/avater.png" mode="aspectFill" class="avatar"></image> -->
<view class="user">
<view class="userTop">
<text class="name">Deioio</text>
@ -27,7 +24,7 @@
</view>
<view class="userBottom">
<text>加入时间2024.01.21</text>
<view class="tixian">
<view class="tixian" @click="$navTo('pages/dealer/withdraw/apply')">
提现
</view>
</view>
@ -38,13 +35,13 @@
<view class="yongjinContent">
<view class="item">
<text class="num">
0.00
{{ dealer.money }}
</text>
<text class="text">已提现佣金</text>
</view>
<view class="item">
<text class="num">
0
{{ dealer.freeze_money }}
</text>
<text class="text">未结算佣金</text>
</view>
@ -54,19 +51,19 @@
<image :src="$picUrl+'/static/news3/fx1.png'" mode="widthFix"></image>
<text>分销佣金</text>
</view>
<view class="gridItem">
<view class="gridItem" @click="$navTo('pages/dealer/order')">
<image :src="$picUrl+'/static/news3/fx2.png'" mode="widthFix"></image>
<text>分销订单</text>
</view>
<view class="gridItem">
<view class="gridItem" @click="$navTo('pages/dealer/withdraw/list')">
<image :src="$picUrl+'/static/news3/fx3.png'" mode="widthFix"></image>
<text>提现明细</text>
</view>
<view class="gridItem">
<view class="gridItem" @click="$navTo('pages/dealer/team')">
<image :src="$picUrl+'/static/news3/fx4.png'" mode="widthFix"></image>
<text>我的团队</text>
</view>
<view class="gridItem">
<view class="gridItem" @click="$navTo('pages/dealer/poster')">
<image :src="$picUrl+'/static/news3/fx5.png'" mode="widthFix"></image>
<text>推广二维码</text>
</view>
@ -79,17 +76,48 @@
export default {
data() {
return {
//
isLoading: true,
//
user: {},
//
isDealer: false,
//
dealer: {},
//
refereeName: undefined,
//
setting: {
background: undefined,
words: undefined
}
};
},
methods:{
/**
* 售后点击
*/
onApplyAftersales(){
uni.navigateTo({
url: '/pages/AfterSaleType/AfterSaleType',
})
//
getCenter() {
const app = this
app.isLoading = true
Api.center()
.then(result => {
// api
const data = result.data
app.isDealer = data.isDealer
app.user = data.user
app.dealer = data.dealer
app.refereeName = data.refereeName
app.setting = data.setting
//
app.setPageTitle()
app.isLoading = false
})
},
//
setPageTitle() {
uni.setNavigationBarTitle({
title: this.setting.words.index.title.value
})
}
}
}
@ -127,7 +155,7 @@ page{
.userInfo{
position: relative;
z-index:3;
margin:0 30upx;
margin:180rpx 30upx 0;
image{
width:100%;
height:auto;

Loading…
Cancel
Save