|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="invite-page">
|
|
|
|
|
|
|
+ <view class="invite-page app-content">
|
|
|
<view class="tabs">
|
|
<view class="tabs">
|
|
|
<Tabs
|
|
<Tabs
|
|
|
:tabs="pageTabs"
|
|
:tabs="pageTabs"
|
|
@@ -13,8 +13,8 @@
|
|
|
<view class="info-main">
|
|
<view class="info-main">
|
|
|
<app-avatar-module :width="100" />
|
|
<app-avatar-module :width="100" />
|
|
|
<view class="content">
|
|
<view class="content">
|
|
|
- <view class="mark"> {{ userInfo.merchantName || "" }}</view>
|
|
|
|
|
- <view class="name"> 三级代理 </view>
|
|
|
|
|
|
|
+ <view class="name"> {{ userInfo.merchantName || "" }}</view>
|
|
|
|
|
+ <view class="mark"> 三级代理 </view>
|
|
|
</view>
|
|
</view>
|
|
|
<button
|
|
<button
|
|
|
id="sharekh"
|
|
id="sharekh"
|
|
@@ -43,20 +43,20 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-list">
|
|
<view class="info-list">
|
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
|
- <view class="item-name">{{ balance || 0 }}</view>
|
|
|
|
|
- <view class="item-value">帐户余额(¥)</view>
|
|
|
|
|
|
|
+ <view class="item-value">{{ balance || 0 }}</view>
|
|
|
|
|
+ <view class="item-name">帐户余额(¥)</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
|
- <view class="item-name">{{ invitedNum || 0 }}</view>
|
|
|
|
|
- <view class="item-value">已邀请</view>
|
|
|
|
|
|
|
+ <view class="item-value">{{ invitedNum || 0 }}</view>
|
|
|
|
|
+ <view class="item-name">已邀请</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
|
- <view class="item-name">{{ payNum || 0 }}</view>
|
|
|
|
|
- <view class="item-value">已付费</view>
|
|
|
|
|
|
|
+ <view class="item-value">{{ payNum || 0 }}</view>
|
|
|
|
|
+ <view class="item-name">已付费</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
|
- <view class="item-name">{{ income || 0 }}</view>
|
|
|
|
|
- <view class="item-value">累计收益(¥)</view>
|
|
|
|
|
|
|
+ <view class="item-value">{{ income || 0 }}</view>
|
|
|
|
|
+ <view class="item-name">累计收益(¥)</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -110,13 +110,13 @@ export default {
|
|
|
pageIndex: 0,
|
|
pageIndex: 0,
|
|
|
constant: this.$constant,
|
|
constant: this.$constant,
|
|
|
pageTabs: [
|
|
pageTabs: [
|
|
|
- {
|
|
|
|
|
- name: "供应商",
|
|
|
|
|
- key: "1"
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
name: "零售商",
|
|
name: "零售商",
|
|
|
key: "2"
|
|
key: "2"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "供货商",
|
|
|
|
|
+ key: "1"
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
tabIndex: 0,
|
|
tabIndex: 0,
|
|
@@ -183,7 +183,7 @@ export default {
|
|
|
title: "更懂您的花卉宝",
|
|
title: "更懂您的花卉宝",
|
|
|
desc: "",
|
|
desc: "",
|
|
|
imgUrl: this.constant.imgUrl + "/retail/official/banner-1.png",
|
|
imgUrl: this.constant.imgUrl + "/retail/official/banner-1.png",
|
|
|
- pagePath: `/pagesClient/official/index?introMerchantId=${this.userInfo.id}&form=2&style=2`
|
|
|
|
|
|
|
+ pagePath: `/pagesClient/official/index?introMerchantId=${this.userInfo.id}&form=2&style=1`
|
|
|
};
|
|
};
|
|
|
} else {
|
|
} else {
|
|
|
return {};
|
|
return {};
|
|
@@ -243,8 +243,8 @@ export default {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- background-color: #f9fbfc;
|
|
|
|
|
.info-view {
|
|
.info-view {
|
|
|
|
|
+ margin-top: 20upx;
|
|
|
padding: 40upx 30upx;
|
|
padding: 40upx 30upx;
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
|
.info-main {
|
|
.info-main {
|
|
@@ -287,8 +287,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.info-list {
|
|
.info-list {
|
|
|
- margin-top: 30upx;
|
|
|
|
|
-
|
|
|
|
|
|
|
+ margin-top: 50upx;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
.info-item {
|
|
.info-item {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
@@ -297,7 +296,6 @@ export default {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
.item-name {
|
|
.item-name {
|
|
|
margin-top: 15upx;
|
|
margin-top: 15upx;
|
|
|
-
|
|
|
|
|
font-size: 24upx;
|
|
font-size: 24upx;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
@@ -312,13 +310,13 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.list-title {
|
|
.list-title {
|
|
|
- padding: 30upx;
|
|
|
|
|
|
|
+ padding: 30upx 30upx 15upx;
|
|
|
font-size: 24upx;
|
|
font-size: 24upx;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
|
}
|
|
}
|
|
|
.invite-list {
|
|
.invite-list {
|
|
|
- margin-top: 20upx;
|
|
|
|
|
|
|
+ // margin-top: 20upx;
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
padding-bottom: 150upx;
|
|
padding-bottom: 150upx;
|
|
|
}
|
|
}
|