123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- <template>
- <view class="box">
- <view class="contBox">
- <view class="top">
- <view class="topLeft">
- <view class="topLeftTitle">未提现返利</view>
- <view class="topLeftNum">{{detail.noMoney}}</view>
- </view>
- <view class="topRight" @click="goRouter('extract')">提现</view>
- </view>
- <view class="xffl">
- <view class="xfflTitle">消费返利</view>
- <view class="xfflLine">
- <view class="xfflLineLeft">
- <view class="xfflyq"></view>
- <view class="xfflLineLeftTxt">一级人脉/返利</view>
- </view>
- <view class="xfflLineM" @click="goRouter('myConnections')">{{detail.oneNum}} 人</view>
- <view class="xfflLineR" @click="goRouter('rebateList')">¥ {{detail.oneMoney}}</view>
- </view>
- <view class="xfflLine">
- <view class="xfflLineLeft">
- <view class="xfflyq2"></view>
- <view class="xfflLineLeftTxt">二级人脉/返利</view>
- </view>
- <view class="xfflLineM" @click="goRouter('myConnections')">{{detail.twoNum}} 人</view>
- <view class="xfflLineR" @click="goRouter('rebateList')">¥ {{detail.twoMoney}}</view>
- </view>
- <view class="xfflLine">
- <view class="xfflLineLeft">
- <view class="xfflyq3"></view>
- <view class="xfflLineLeftTxt">三级人脉/返利</view>
- </view>
- <view class="xfflLineM" @click="goRouter('myConnections')">{{detail.threeNum}} 人</view>
- <view class="xfflLineR" @click="goRouter('rebateList')">¥ {{detail.threeMoney}}</view>
- </view>
- <view class="xfflLine">
- <view class="xfflLineLeft">
- <view class="xfflyq4"></view>
- <view class="xfflLineLeftTxt">累计人脉/返利</view>
- </view>
- <view class="xfflLineM" @click="goRouter('myConnections')">{{detail.totalNum}} 人</view>
- <view class="xfflLineR" @click="goRouter('rebateList')">¥ {{detail.totalMoney}}</view>
- </view>
- </view>
-
- <view class="xffl" >
- <view class="xfflTitle">扫码注册返利</view>
- <view class="xfflLine">
- <view class="xfflLineLeft">
- <view class="xfflyq"></view>
- <view class="xfflLineLeftTxt">人数/返利</view>
- </view>
- <view class="xfflLineM">{{detail.scanNum}} 人</view>
- <view class="xfflLineR">¥{{detail.scanMoney}}</view>
- </view>
-
- </view>
- <view class="lineBox">
- <view class="line" @click="goRouter('../partner/myQr?type=2')">
- <view class="lineLeft">
- <image src="../../static/timg/icon_erweima.png" mode="" class="lineLeftImg"></image>
- <view class="lineLeftTxt">生成二维码</view>
- </view>
- <view class="lineRight">
- <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
- </view>
- </view>
-
- </view>
-
- <view class="smBox" @click="goRouter('referralExplain')">
- <image src="../../static/timg/icon_shuom.png" mode="" class="smImg"></image>
- <view class="smTxt">说明</view>
- </view>
-
- </view>
- </view>
- </template>
- <script>
- export default {
- components: {
-
- },
-
- data() {
- return {
- detail:'',
- themeColor:'',
- userInfo:'',
- }
- },
- onLoad(opt) {
- this.themeColor = uni.getStorageSync("themeColor");
- this.userInfo = uni.getStorageSync("userInfo");
- this.getData();
- //this.getExplain();
- },
- onShow() {
-
- },
- 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){
- uni.navigateTo({
- url:url
- })
- }
-
- }
- }
- </script>
- <style scoped lang="less">
- .box {
- width: 100vw;
- min-height: 100vh;
- background: #F4F5F7;
- }
- .contBox{
- padding: 20rpx 24rpx;
- }
- .top{
- background: #FFFFFF;
- border-radius: 10rpx;
- padding: 24rpx 20rpx;
- display: flex;
- justify-content: space-between;
- }
- .topLeftTitle{
- font-size: 30rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .topLeftNum{
- font-size: 40rpx;
- font-family: PingFangSC-Semibold, PingFang SC;
- font-weight: 600;
- color: #FF0000;
- padding-top: 24rpx;
- }
- .topRight{
- width: 138rpx;
- height: 64rpx;
- background: #FF0000;
- border-radius: 10rpx;
- line-height: 64rpx;
- text-align: center;
- color: #FFFFFF;
- font-size: 28rpx;
- margin-top: 34rpx;
- }
- .xffl{
- background: #FFFFFF;
- margin-top: 20rpx;
- padding: 20rpx;
- border-radius: 10rpx;
- }
- .xfflTitle{
- font-size: 30rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .xfflLine{
- display: flex;
- justify-content: space-between;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 33rpx;
- padding: 15rpx 0;
- }
- .xfflyq{
- width: 10rpx;
- height: 10rpx;
- background: #D53533;
- border-radius: 50%;
- margin-top: 12rpx;
- margin-right: 14rpx;
- }
- .xfflyq2{
- width: 10rpx;
- height: 10rpx;
- background: #3F90F7;
- border-radius: 50%;
- margin-top: 12rpx;
- margin-right: 14rpx;
- }
- .xfflyq3{
- width: 10rpx;
- height: 10rpx;
- background: #FF4F00;
- border-radius: 50%;
- margin-top: 12rpx;
- margin-right: 14rpx;
- }
- .xfflyq4{
- width: 10rpx;
- height: 10rpx;
- background: #6F2BE8;
- border-radius: 50%;
- margin-top: 12rpx;
- margin-right: 14rpx;
- }
- .xfflLineLeft{
- display: flex;
- width: 200rpx;
- }
- .xfflLineM{
- width: 200rpx;
- text-align: right;
- }
- .xfflLineR{
- width: 200rpx;
- text-align: right;
- }
- .lineLeftImg{
- width: 34rpx;
- height: 34rpx;
- }
- .lineLeftTxt{
- color: #333333;font-size: 28rpx;line-height: 34rpx;padding-left: 24rpx;
- }
- .lineRIghtNUm{
- color: #666666;font-size: 28rpx;line-height: 34rpx;padding-right: 16rpx;
- }
- .lineRightImg{
- width: 12rpx;
- height: 20rpx;
- margin-top: 7rpx;
- }
- .lineBox{
- background: #FFFFFF;width: 702rpx;margin-top: 20rpx;
- }
- .line{
- display: flex;
- justify-content: space-between;
- padding: 38rpx 32rpx;
- }
- .lineLeft{
- display: flex;
- }
- .lineRight{
- display: flex;
- }
- .smImg{
- width: 30rpx;height: 30rpx;
- }
- .smTxt{
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- line-height: 30rpx;
- padding-left: 5rpx;
- }
- .smBox{
- display: flex;
- justify-content: center;
- padding-top: 30rpx;
- }
- </style>
|