ts_aimz/pages/mine/mineIndex/mine.wxml

57 lines
3.1 KiB
Plaintext
Raw Normal View History

2025-03-24 18:05:54 +08:00
<view class="bg-container">
2025-03-31 18:23:29 +08:00
<image class="bg-image" src="/static/images/bg_mine.png"></image>
2025-03-24 18:05:54 +08:00
<view class="content-container">
2025-04-14 15:59:06 +08:00
<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:#532A00;">AI喵著</view>
</view>
2025-03-24 18:05:54 +08:00
<view class="container-box">
<view class="box-up">
2025-04-09 11:31:24 +08:00
<view class="balance" bind:tap="doRefresh">
2025-03-31 18:23:29 +08:00
<view>{{accountInfo.accountMoney/100}}</view>
2025-04-09 11:31:24 +08:00
<view class="icon-refresh" animation="{{animationData}}"></view>
2025-03-24 18:05:54 +08:00
</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>套餐包余额</view>
<view class="package-bag">
2025-04-14 15:59:06 +08:00
<view class="package-bag-item" bind:tap="openCreate" data-type="ALL">
2025-03-24 18:05:54 +08:00
<text class="title">全托管</text>
2025-03-31 18:23:29 +08:00
<text class="num">{{allCount}}</text>
2025-03-24 18:05:54 +08:00
</view>
2025-04-14 15:59:06 +08:00
<view class="package-bag-item" bind:tap="openCreate" data-type="MATERIAL">
2025-03-24 18:05:54 +08:00
<text class="title">写材料</text>
2025-03-31 18:23:29 +08:00
<text class="num">{{materialCount}}</text>
2025-03-24 18:05:54 +08:00
</view>
2025-04-09 11:31:24 +08:00
<view class="package-bag-item" style="align-items:center;" bind:tap="doCoupons">
2025-03-26 18:15:07 +08:00
<view class="icon icon-coupon-ind"></view>
2025-04-09 11:31:24 +08:00
<view class="title" style="margin-left: 3px;">优惠卷</view>
2025-03-24 18:05:54 +08:00
</view>
</view>
2025-03-21 18:05:54 +08:00
</view>
</view>
2025-04-14 15:59:06 +08:00
</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-path="{{item.path}}">
<view class="{{item.icon}}"></view>
<view class="menu-title">{{item.title}}</view>
</view>
<view class="divider-padding"></view>
</block>
</view>
</scroll-view>
2025-03-21 18:05:54 +08:00
</view>
</view>
2025-04-07 11:04:08 +08:00
</view>
2025-04-14 15:59:06 +08:00
<custom-tabbar tabList="{{tabList}}" color="{{color}}" selectedColor="{{selectedColor}}"></custom-tabbar>
2025-04-07 11:04:08 +08:00
<mp-dialog title="提示" show="{{showHint}}" buttons="{{buttons}}" bindbuttontap="closeHint">
<view style="color: black;">{{hintTxt}}</view>
2025-04-09 11:31:24 +08:00
</mp-dialog>
<mp-toptips ext-class="custom-tips" msg="{{errorHint}}" delay="2000" type="error" show="{{showError}}"></mp-toptips>