|
@@ -4,7 +4,7 @@
|
|
<view class="top">
|
|
<view class="top">
|
|
<view class="topLeft">
|
|
<view class="topLeft">
|
|
<view class="topLeftTitle">未提现返利</view>
|
|
<view class="topLeftTitle">未提现返利</view>
|
|
- <view class="topLeftNum">839204.00</view>
|
|
|
|
|
|
+ <view class="topLeftNum">{{detail.noMoney}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="topRight" @click="goRouter('extract')">提现</view>
|
|
<view class="topRight" @click="goRouter('extract')">提现</view>
|
|
</view>
|
|
</view>
|
|
@@ -15,33 +15,33 @@
|
|
<view class="xfflyq"></view>
|
|
<view class="xfflyq"></view>
|
|
<view class="xfflLineLeftTxt">一级人脉/返利</view>
|
|
<view class="xfflLineLeftTxt">一级人脉/返利</view>
|
|
</view>
|
|
</view>
|
|
- <view class="xfflLineM">1242 人</view>
|
|
|
|
- <view class="xfflLineR">¥ 2932.00</view>
|
|
|
|
|
|
+ <view class="xfflLineM">{{detail.oneNum}} 人</view>
|
|
|
|
+ <view class="xfflLineR">¥ {{detail.oneMoney}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="xfflLine">
|
|
<view class="xfflLine">
|
|
<view class="xfflLineLeft">
|
|
<view class="xfflLineLeft">
|
|
<view class="xfflyq2"></view>
|
|
<view class="xfflyq2"></view>
|
|
<view class="xfflLineLeftTxt">二级人脉/返利</view>
|
|
<view class="xfflLineLeftTxt">二级人脉/返利</view>
|
|
</view>
|
|
</view>
|
|
- <view class="xfflLineM">1242 人</view>
|
|
|
|
- <view class="xfflLineR">¥ 2932.00</view>
|
|
|
|
|
|
+ <view class="xfflLineM">{{detail.twoNum}} 人</view>
|
|
|
|
+ <view class="xfflLineR">¥ {{detail.twoMoney}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="xfflLine">
|
|
<view class="xfflLine">
|
|
<view class="xfflLineLeft">
|
|
<view class="xfflLineLeft">
|
|
<view class="xfflyq3"></view>
|
|
<view class="xfflyq3"></view>
|
|
<view class="xfflLineLeftTxt">三级人脉/返利</view>
|
|
<view class="xfflLineLeftTxt">三级人脉/返利</view>
|
|
</view>
|
|
</view>
|
|
- <view class="xfflLineM">1242 人</view>
|
|
|
|
- <view class="xfflLineR">¥ 2932.00</view>
|
|
|
|
|
|
+ <view class="xfflLineM">{{detail.threeNum}} 人</view>
|
|
|
|
+ <view class="xfflLineR">¥ {{detail.threeMoney}}</view>
|
|
</view>
|
|
</view>
|
|
- <view class="xfflLine">
|
|
|
|
|
|
+ <!-- <view class="xfflLine">
|
|
<view class="xfflLineLeft">
|
|
<view class="xfflLineLeft">
|
|
<view class="xfflyq4"></view>
|
|
<view class="xfflyq4"></view>
|
|
<view class="xfflLineLeftTxt">四级人脉/返利</view>
|
|
<view class="xfflLineLeftTxt">四级人脉/返利</view>
|
|
</view>
|
|
</view>
|
|
- <view class="xfflLineM">1242 人</view>
|
|
|
|
- <view class="xfflLineR">¥ 2932.00</view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="xfflLineM">{{detail.oneNum}}人</view>
|
|
|
|
+ <view class="xfflLineR">¥ {{detail.oneNum}}</view>
|
|
|
|
+ </view> -->
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="xffl" @click="goRouter('rebateList')">
|
|
<view class="xffl" @click="goRouter('rebateList')">
|
|
@@ -51,8 +51,8 @@
|
|
<view class="xfflyq"></view>
|
|
<view class="xfflyq"></view>
|
|
<view class="xfflLineLeftTxt">人数/返利</view>
|
|
<view class="xfflLineLeftTxt">人数/返利</view>
|
|
</view>
|
|
</view>
|
|
- <view class="xfflLineM">1242 人</view>
|
|
|
|
- <view class="xfflLineR">¥ 2932.00</view>
|
|
|
|
|
|
+ <view class="xfflLineM">{{detail.scanNum}}人</view>
|
|
|
|
+ <view class="xfflLineR">¥{{detail.scanMoney}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -69,7 +69,7 @@
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="smBox">
|
|
|
|
|
|
+ <view class="smBox" @click="goRouter('referralExplain')">
|
|
<image src="../../static/timg/icon_shuom.png" mode="" class="smImg"></image>
|
|
<image src="../../static/timg/icon_shuom.png" mode="" class="smImg"></image>
|
|
<view class="smTxt">说明</view>
|
|
<view class="smTxt">说明</view>
|
|
</view>
|
|
</view>
|
|
@@ -86,7 +86,7 @@
|
|
|
|
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
-
|
|
|
|
|
|
+ detail:'',
|
|
themeColor:'',
|
|
themeColor:'',
|
|
userInfo:'',
|
|
userInfo:'',
|
|
}
|
|
}
|
|
@@ -94,12 +94,36 @@
|
|
onLoad(opt) {
|
|
onLoad(opt) {
|
|
this.themeColor = uni.getStorageSync("themeColor");
|
|
this.themeColor = uni.getStorageSync("themeColor");
|
|
this.userInfo = uni.getStorageSync("userInfo");
|
|
this.userInfo = uni.getStorageSync("userInfo");
|
|
-
|
|
|
|
|
|
+ this.getData();
|
|
|
|
+ //this.getExplain();
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ getData(){
|
|
|
|
+ uni.showLoading({
|
|
|
|
+ title: '加载中'
|
|
|
|
+ })
|
|
|
|
+ this.$http('openMCustomer/getIndexData', {
|
|
|
|
+
|
|
|
|
+ }, 'GET').then(res => {
|
|
|
|
+ uni.hideLoading();
|
|
|
|
+ this.detail = res.data
|
|
|
|
+ //console.log('list+=', this.queryShopList);
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ getExplain(){
|
|
|
|
+ this.$http('openMCustomer/getExplain', {
|
|
|
|
+
|
|
|
|
+ }, 'GET').then(res => {
|
|
|
|
+ //uni.hideLoading();
|
|
|
|
+ //this.detail = res.data
|
|
|
|
+ //console.log('list+=', this.queryShopList);
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ },
|
|
goRouter(url){
|
|
goRouter(url){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url:url
|
|
url:url
|