123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <template>
- <view class="myWallet">
- <view class="wallet-bg">
- <u--image src="/static/pageMine/wallet-bj.png" width="100%" height="550rpx"></u--image>
- </view>
- <page-navbar :hasBack="true" bgColor="transparent" title="我的钱包"></page-navbar>
- <view class="wallet-main">
- <view class="wallet-card">
- <view class="fl-flex-item wallet-secure">
- <view class="fl-text-title">*烊的钱包</view>
- <view class="fl-flex">
- <u--image src="/static/pageMine/secure.png" width="32rpx" height="32rpx"></u--image>
- <view class="f-s-24 text-33 u-m-l-4">安全保障中</view>
- </view>
- </view>
- <view class="u-m-b-40">
- <view class="f-s-28 text-66 u-m-b-16"> 我的资产(元)</view>
- <view class="f-s-56 color-primary text-bold"> 3453.2</view>
- </view>
- <view class="fl-flex immediately">
- <view>立即提现</view>
- <u-icon name="arrow-right" color="#fff" size="16" top="2" />
- </view>
- <view class="fl-flex-item">
- <view class="fl-flex" v-for="(item, index) in 4" :key="index">
- <view class="direction">
- <view class="f-s-24 text-666 u-m-b-4">总收益</view>
- <view class="f-s-28 text-333">7794.0</view>
- </view>
- <view v-if="index !== 3" class="wallet-card-line"></view>
- </view>
- </view>
- </view>
- <view class="fl-flex-item u-m-t-26 u-m-b-26">
- <view class="f-s-32 text-primary text-bold">余额明细</view>
- <view class="fl-flex" @tap="$Router.push('/PageMine/myWallet/walletDetail')">
- <view class="f-s-24 text-999 u-m-r-8">查看全部</view>
- <u-icon name="arrow-right" color="#999" size="12" />
- </view>
- </view>
- <wallet-item></wallet-item>
- </view>
- </view>
- </template>
- <script>
- import WalletItem from './walletItem.vue';
- export default {
- name: 'myWallet',
- components: { WalletItem },
- };
- </script>
- <style lang="scss" scoped>
- .myWallet {
- height: 100%;
- position: relative;
- .wallet-bg {
- position: absolute;
- left: 0;
- bottom: 0;
- right: 0;
- top: 0;
- z-index: -99;
- }
- .wallet-main {
- padding: 20rpx 32rpx;
- .wallet-card {
- height: 400rpx;
- padding: 32rpx;
- background-color: #fff;
- box-sizing: border-box;
- border-radius: 16rpx;
- position: relative;
- .wallet-secure {
- padding-bottom: 32rpx;
- border-bottom: 1px solid #eaebeb;
- margin-bottom: 32rpx;
- }
- .immediately {
- width: 194rpx;
- height: 66rpx;
- color: #fff;
- background: #215ebe;
- border-radius: 524rpx 0rpx 0rpx 524rpx;
- align-items: center;
- justify-content: center;
- font-size: 28rpx;
- position: absolute;
- right: 0;
- top: 160rpx;
- box-sizing: border-box;
- padding-left: 30rpx;
- }
- .wallet-card-line {
- height: 60rpx;
- width: 2rpx;
- background-color: #ebebeb;
- margin-left: 50rpx;
- }
- }
- }
- }
- </style>
|