123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <template>
- <view class="box">
- <view class="top-box" :style="{background:'#'+themeColor}"> </view>
- <view class="topCont">
- <view class="topContLIne topContLIne1">
- <view class="topContLIneTitle">未提现金额</view>
- <view class="topContLIneNum">{{detail.surplus}}</view>
- </view>
- <view class="topContLIne topContLIne2">
- <view class="topContLIneTitle">剩余股本金额</view>
- <view class="topContLIneNum">{{detail.PRemaindMoney}}</view>
- </view>
- <view class="topContLIne topContLIne3">
- <view class="topContLIneTitle">累计提现金额</view>
- <view class="topContLIneNum">{{detail.PTotalCashMoney}}</view>
- </view>
- <view class="topContLIne topContLIne4">
- <view class="topContLIneTitle">累计分红金额</view>
- <view class="topContLIneNum">{{detail.BonusSum}}</view>
- </view>
- </view>
- <view class="lineBox">
- <view class="line" @click="goRouter('bonus')">
- <view class="lineLeft">
- <image src="../../static/timg/icon_fenhongjilu.png" mode="" class="lineLeftImg"></image>
- <view class="lineLeftTxt">分红记录</view>
- </view>
- <view class="lineRight">
- <view class="lineRIghtNUm">{{detail.BonusCount}}</view>
- <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
- </view>
- </view>
- <view class="line" @click="goRouter('people')">
- <view class="lineLeft">
- <image src="../../static/timg/icon_renmai.png" mode="" class="lineLeftImg"></image>
- <view class="lineLeftTxt">下线人脉</view>
- </view>
- <view class="lineRight">
- <view class="lineRIghtNUm">{{detail.PSCount}}</view>
- <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
- </view>
- </view>
- </view>
-
- <view class="lineBox">
- <view class="line" @click="goRouter('myQr?type=1')">
- <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>
- </template>
- <script>
- export default {
- components: {
-
- },
-
- data() {
- return {
- detail:'',
- themeColor:'',
- userInfo:'',
- }
- },
- onLoad(opt) {
- this.themeColor = uni.getStorageSync("themeColor");
- this.userInfo = uni.getStorageSync("userInfo");
- this.getData()
- },
- onShow() {
-
- },
- methods: {
- getData(){
- uni.showLoading({
- title: '加载中'
- })
- this.$http('opencarInfoOwner/queryPartnerDetail', {
-
- }, 'GET').then(res => {
- uni.hideLoading();
- this.detail = res.data
- //console.log('list+=', this.queryShopList);
-
- })
- },
- goRouter(url){
- uni.navigateTo({
- url:url
- })
- }
-
- },
- onPullDownRefresh(){
- this.getData();
- setTimeout(() => {
- uni.stopPullDownRefresh(); // 关闭下拉刷新
- }, 2000);
- }
- }
- </script>
- <style scoped lang="less">
- .box {
- width: 100vw;
- min-height: 100vh;
- background: #F4F5F7;
- }
- .top-box{
- width: 750rpx;
- height: 192rpx;
- background: #FF0000;
-
- }
- .topCont{
- width: 702rpx;
- height: 358rpx;
- background: #FFFFFF;
- border-radius: 10rpx;
- margin-left: 24rpx;
- margin-top: -148rpx;
- display: flex;
- flex-wrap: wrap;
- }
- .topContLIne{
- width: 348rpx;
- height: 178rpx;
- text-align: center;
- }
- .topContLIne1{
- border-right: 1px solid #EEEEEE;
- border-bottom: 1px solid #EEEEEE;
- }
- .topContLIne2{
- border-bottom: 1px solid #EEEEEE;
- }
- .topContLIne3{
- border-right: 1px solid #EEEEEE;
-
- }
- .topContLIneTitle{
- color: #666666; font-size: 28rpx;padding-top: 28rpx;
- }
- .topContLIneNum{
- color: #FF0000;
- font-size: 40rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- padding-top: 10rpx;
- }
- .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;margin-left: 24rpx;
- border-radius: 10rpx;
- }
- .line{
- display: flex;
- justify-content: space-between;
- padding: 38rpx 32rpx;
-
- }
- .lineLeft{
- display: flex;
- }
- .lineRight{
- display: flex;
- }
- </style>
|