@extends($activeTemplate.'layouts.users')

@push('style-lib')
	<link rel="stylesheet" href="{{ asset($activeTemplateTrue.'css/profile.css') }}{{$catch}}">
@endpush

@section('content')
    <uni-app class="uni-app--showtabbar uni-app--maxwidth">
        <uni-page data-page="pages/index/my">
            <uni-page-wrapper class="uWroDsh">
                <uni-page-body>
                    <uni-view data-v-0189cbc8="" class="content" style="overflow: visible;padding-top:0px">

						<uni-view data-v-0189cbc8="" style="padding: 30px 15px;">
							<uni-view data-v-61d8b290="" class="split2 transfer">
								<uni-view data-v-61d8b290="" data-href="{{ route('user.deposit') }}" class="custom-card card btn linkBTN" style="justify-content: space-between; display: flex;padding-right: 7px;margin-bottom:0px;">
									<div style="display: flex;">
										<img data-v-61d8b290="" mode="aspectFit" src="{{ asset($activeTemplateTrue.'img/transin.png') }}" style="width: 50px; flex-shrink: 0;">
										<uni-view data-v-61d8b290="" class="title2">Recharge Wallet<br><span class="lIksej">{{ showAmount($userBalance['main'], 2) }}</span></uni-view>
									</div>
									<div>
										<uni-button data-v-0189cbc8="" class="linkBTN" data-href="{{route('user.deposit')}}" type="primary" style="width:144px;margin-top:0px;border-radius:24px;background:linear-gradient(270deg, #1e7d52, #49da9e)">Recharge </uni-button>
									</div>
								</uni-view>
							</uni-view>
							
							<uni-view data-v-61d8b290="" class="split2 transfer">
								<uni-view data-v-61d8b290="" data-href="{{ route('user.withdraw') }}" class="custom-card card btn linkBTN" style="justify-content: space-between; display: flex;padding-right: 7px;margin-bottom:0px;">
									<div style="display: flex;">
										<img data-v-61d8b290="" mode="aspectFit" src="{{ asset($activeTemplateTrue.'img/transout.png') }}" style="width: 50px; flex-shrink: 0;">
										<uni-view data-v-61d8b290="" class="title2">Balance Wallet<br><span class="lIksej">{{ showAmount($userBalance['income'], 2) }}</span></uni-view>
									</div>
									<div>
										<uni-button data-v-0189cbc8="" class="linkBTN" data-href="{{route('user.withdraw')}}" type="primary" style="width:144px;margin-top:0px;border-radius:24px;background:linear-gradient(270deg, #f59503, #ffd38f)">Withdrawal </uni-button>
									</div>
								</uni-view>
							</uni-view>
							
						</uni-view>
						
                        <uni-view data-v-0189cbc8="" class="white-container">
                            <uni-view data-v-0189cbc8="" style="padding: 0px 15px;">
                                <uni-view data-v-61d8b290="" data-v-0189cbc8="">
                                    <uni-view data-v-61d8b290="" class="assets-info card ">
                                        <uni-view data-v-61d8b290="" class="money-detail">
                                            <uni-view data-v-61d8b290="" style="position:relative;" class="linkBTN" data-href="{{ route('user.investment') }}" >
                                                <p data-v-61d8b290="" class="color2">Total Recharge</p>
                                                <p data-v-61d8b290="" class="color-linear2">{{ config('settings')->cur_sym }}{{ showAmount($userBalance['main'], 0) }}</p>
												<span data-v-0a75b799="" class="loadIcon" style="top:auto;bottom: 10px;" ></span>
                                            </uni-view>
                                            <uni-view data-v-61d8b290="" style="position:relative;" class="linkBTN" data-href="{{ route('user.withdraw.referral') }}" >
                                                <p data-v-61d8b290="" class="color2">Total withdrawal</p>
                                                <p data-v-61d8b290="" class="color-linear2">{{ config('settings')->cur_sym }}{{ showAmount($user->referral_wallet,0) }}</p>
												<span data-v-0a75b799="" class="loadIcon" style="top:auto;bottom: 10px;" ></span>
                                            </uni-view>
                                        </uni-view>
                                    </uni-view>
									
                                </uni-view>
                            </uni-view>
							
							
                            <uni-view data-v-0189cbc8="" class="settings">
                                <uni-view data-v-0189cbc8="" class="fun-list">

                                    <uni-view data-v-0189cbc8="" class="linkBTN" data-href="{{ route('user.transaction.type', ['type' => 'income']) }}" >
                                        <uni-view data-v-0189cbc8="" style="display: flex;">
											<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/detail.png') }}" class="wallet_img">
                                            <uni-view data-v-0189cbc8="" class="wallet">Funding records</uni-view>
                                        </uni-view>
										<span data-v-0a75b799="" class="loadIcon" style="top:auto;right:70px" ></span>
										<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/join.png') }}">
									</uni-view>
									
                                    <uni-view data-v-0189cbc8="" class="linkBTN" data-href="{{ route('user.account-setup') }}" >
                                        <uni-view data-v-0189cbc8="" style="display: flex;">
										<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/bank.png') }}" class="wallet_img">
                                            <uni-view data-v-0189cbc8="" class="wallet">Bank Info</uni-view>
                                        </uni-view>
										<span data-v-0a75b799="" class="loadIcon" style="top:auto;right:70px" ></span>
										<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/join.png') }}">
									</uni-view>
                                    
                                    <uni-view data-v-0189cbc8="" class="linkBTN" data-href="{{ route('user.coupon.index') }}" >
                                        <uni-view data-v-0189cbc8="" style="display: flex;">
											<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/gift.png') }}" class="wallet_img">
                                            <uni-view data-v-0189cbc8="" class="wallet">Redemption Reward</uni-view>
                                        </uni-view>
										<span data-v-0a75b799="" class="loadIcon" style="top:auto;right:70px" ></span>
										<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/join.png') }}">
									</uni-view>
									
                                    <uni-view data-v-0189cbc8="" class="linkBTN" data-href="{{ route('user.withdraw.history') }}" >
                                        <uni-view data-v-0189cbc8="" style="display: flex;">
											<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/record.png') }}" class="wallet_img">
                                            <uni-view data-v-0189cbc8="" class="wallet">Manage Money</uni-view>
                                        </uni-view>
										<span data-v-0a75b799="" class="loadIcon" style="top:auto;right:70px" ></span>
										<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/join.png') }}">
									</uni-view>
									
                                    <uni-view data-v-0189cbc8="" class="linkBTN" data-href="{{route('user.online.support')}}" >
                                        <uni-view data-v-0189cbc8="" style="display: flex;">
											<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/message.png') }}" class="wallet_img">
                                            <uni-view data-v-0189cbc8="" class="wallet">Contact Us</uni-view>
                                        </uni-view>
										<span data-v-0a75b799="" class="loadIcon" style="top:auto;right:70px" ></span>
										<img data-v-0189cbc8="" src="{{ asset($activeTemplateTrue.'img/join.png') }}">
									</uni-view>
									

                                </uni-view>
								
                            </uni-view>
                        </uni-view>
						
					</uni-view>
                </uni-page-body>
            </uni-page-wrapper>
        </uni-page>
		@include($activeTemplate.'layouts.menu',['activeLink'=>'team'])
	</uni-app>
@endsection


@push('script')
<script type="text/javascript">
	$(document).ready(function() {
		$(".sClose").click(function () {
			$('.supportList').fadeOut();
		});

		$(".socialHandle ").click(function () {
			var androidurl = $(this).data('link');

			if (window.android) {
				window.android.callAndroid("open," + androidurl)
				return;
			}
			if (window.webkit && window.webkit.messageHandlers) {
				window.webkit.messageHandlers.nativeExt.postMessage({ msg: 'open,' + androidurl });
				return;
			}
			$("#jump").parent().attr("href", androidurl), $("#jump").trigger("click");
		});

	});

	function accountView(){
		$('.buy').fadeIn();
		$('body,html').css({
			overflow: 'hidden'
		})
		
		$('.buy').show();
	}
	
	function showSupport(){
		$('.supportList').slideDown(200);
	}
	
</script>
@endpush