| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <template>
- <!-- 钱包卡片 -->
- <view class="sh-wallet-box u-flex u-m-b-10 u-p-r-10" style="border-radius: 16rpx;">
- <view class="u-flex wallet-left">
- <view @click="$jump('/pagesA/pages/my-points/my-points?point='+data.channelPoint)" class="wallet-item u-flex-col u-col-center">
- <text class="wallet-item__detail item-balance u-ellipsis-1">{{data.channelPoint || 0.00}}</text>
- <text class="wallet-item__title">通兑积分</text>
- </view>
- <view @click="$jump('/pagesA/pages/my-balance/my-balance?pointValue='+data.balance)" class="wallet-item u-flex-col u-col-center" >
- <text class="wallet-item__detail item-score u-ellipsis-1">{{data.balance || 0.00}}</text>
- <text class="wallet-item__title">积分余额</text>
- </view>
- </view>
- <view @click="$jump('/pagesA/pages/bill/my-bills')" class="wallet-item u-flex-col wallet-right u-col-center">
- <image class="cut-off--line" src="../static/icon/line.png" mode=""></image>
- <image class="wallet-img" src="../static/icon/mybills1.png" mode="aspectFill"></image>
- <text class="wallet-item__title">我的账单</text>
- </view>
- </view>
- </template>
- <script>
- export default {
- props:{
- data:Object
- },
- data() {
- return {};
- },
- methods: {
-
- }
- };
- </script>
- <style lang="scss">
- // 钱包卡片
- .sh-wallet-box {
- background: #fff;
- height: 180rpx;
- position: relative;
- .wallet-left {
- flex: 4;
- }
- .wallet-right {
- position: relative;
- .cut-off--line {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- right: (750rpx/5) - 15rpx;
- width: 30rpx;
- height: 136rpx;
- }
- }
- .wallet-item {
- flex: 1;
- .wallet-img {
- width: 50rpx;
- height: 50rpx;
- }
- .wallet-item__detail {
- font-size: 40rpx;
- width: 180rpx;
- text-align: center;
- color: $base-color;
- }
- .wallet-item__title {
- font-size: 26rpx;
- color: #242424;
- margin-top: 20rpx;
- }
- .item-balance::after {
- content: '元';
- font-size: 20rpx;
- margin-left: 4rpx;
- }
- .item-score::after {
- content: '元';
- font-size: 20rpx;
- margin-left: 4rpx;
- }
- .item-coupon::after {
- content: '笔';
- font-size: 20rpx;
- margin-left: 4rpx;
- }
- }
- }
- </style>
|