ts_aimz/pages/mine/mineIndex/mine.wxml
2025-05-06 17:55:29 +08:00

58 lines
3.3 KiB
Plaintext

<view class="bg-container">
<image class="bg-image" src="{{imgAssets}}/bg_mine.png"></image>
<view class="content-container">
<view id="func-box" style="padding: 0rpx 30rpx;">
<view class="custom-navbar" style="height: {{totalHeight}}px; padding-top: {{statusBarHeight}}px;justify-content: center;">
<view class="navbar-title" style="color:var(--text-brown-color);">{{appTitle}}</view>
</view>
<view class="container-box">
<view class="box-up">
<view class="balance" bind:tap="doRefresh">
<view>{{accountInfo.accountMoney/100}}</view>
<view class="icon-refresh" animation="{{animationData}}"></view>
</view>
<view class="balance-box">
<view class="balance-desc">账户余额</view>
<view class="balance-btn" bind:tap="doPay">充值</view>
</view>
</view>
<view class="box-down">
<view class="down-title">套餐包余额</view>
<view class="package-bag">
<view class="package-bag-item" bind:tap="openCreate" data-type="ALL">
<text class="title">全托管</text>
<text class="num">{{allCount}}</text>
</view>
<view class="package-bag-item" bind:tap="openCreate" data-type="MATERIAL">
<text class="title">写材料</text>
<text class="num">{{materialCount}}</text>
</view>
<view class="package-bag-item" style="align-items: center;margin-top: 10rpx;" bind:tap="doCoupons">
<view class="icon icon-coupon-ind"></view>
<view class="title" style="margin-left: 16rpx;">优惠卷</view>
</view>
</view>
</view>
</view>
</view>
<view class="menu-box" style="height: {{contentHeight}}rpx;">
<scroll-view scroll-y style="height: {{contentHeight}}rpx;">
<view class="menu-container">
<block wx:for="{{menuList}}" wx:key="index">
<view class="menu-item" bind:tap="itemClick" hover-class="menu-item-active" data-title="{{item.title}}" data-path="{{item.path}}">
<view class="{{item.icon}}"></view>
<view class="menu-title">{{item.title}}</view>
<view class="msg-notice-point" wx:if="{{item.hasMsg}}"></view>
</view>
<view wx:if="{{(menuList.length-1) > index}}" class="divider-padding"></view>
</block>
</view>
</scroll-view>
</view>
</view>
</view>
<custom-tabbar tabList="{{tabList}}" color="var(--tabbar-normal-color)" selectedColor="var(--tabbar-select-color)"></custom-tabbar>
<mp-dialog title="提示" show="{{showHint}}" buttons="{{buttons}}" bindbuttontap="closeHint">
<view style="color: black;">{{hintTxt}}</view>
</mp-dialog>
<mp-toptips ext-class="custom-tips" msg="{{errorHint}}" delay="2000" type="error" show="{{showError}}"></mp-toptips>