添加页面

This commit is contained in:
wangxiaowei
2025-12-15 18:30:41 +08:00
parent 4559c450fa
commit 029ae94139
3 changed files with 70 additions and 23 deletions

View File

@ -1,5 +1,4 @@
<route lang="jsonc" type="page">{
"needLogin": true,
"layout": "default",
"style": {
"navigationStyle": "custom"
@ -39,7 +38,7 @@
<price-format color="#000" :first-size="48" :second-size="48" :subscript-size="28" :price="23.02"></price-format>
</view>
<view class="w-200rpx h-80rpx bg-[#4C9F44] rounded-8rpx font-bold text-28rpx leading-80rpx text-center text-[#fff]" @click="wallet.handleToRecharge">
充值
提现
</view>
</view>
</view>
@ -64,14 +63,38 @@
<view>
<!-- 最后一个元素不显示border -->
<mescroll-body @init="mescrollInit" @down="downCallback" @up="wallet.upCallback" :up="upOption">
<view class="h-144rpx leading-144rpx mt-18rpx border-b border-b-solid border-b-[#E5E5E5] flex flex-col justify-center" @click="wallet.handleToBillDetail(item)" v-for="(item, index) in 5" :key="index">
<view class="text-28rpx leading-40rpx text-[#303133] flex justify-between items-center">
<view>茶艺师预定</view>
<view>-402.33</view>
<!-- TODO 这里除了提现其余的要跳转到账单明细(/bundle/wallet/wallet提现/bundle/parten/pages/withdraw/withdraw-->
<view class="h-144rpx leading-144rpx mt-18rpx border-b border-b-solid border-b-[#E5E5E5] flex items-center justify-between pb-14rpx" @click="wallet.handleToBillDetail(item)" v-for="(item, index) in 5" :key="index">
<view>
<view class="font-bold text-30rpx leading-42rpx text-[#303133]">
<view>包间预定</view>
<!-- <view>包间续费</view>
<view>团购核销</view>
<view class="flex items-center">
<view>提现</view>
<view class="w-86rpx h-32rpx leading-32rpx text-center ml-30rpx text-[#40AE36] text-22rpx rounded-4rpx border-2rpx border-solid border-[#40AE36]">申请中</view>
</view> -->
</view>
<view class="text-24rpx text-[#606266] leading-34rpx mt-16rpx">
<!-- TODO 包间预定 || 包间续费下显示 -->
<text>预定账号13917942276</text>
</view>
<view class="mt-12rpx text-24rpx text-[#606266] leading-34rpx">
2025-03-02 11:20
</view>
</view>
<view class="text-24rpx leading-34rpx text-[#909399] flex justify-between items-center mt-10rpx">
<view>2025-03-18 11:20</view>
<view>余额24.55</view>
<view>
<view class="flex items-center h-50rpx">
<view class="mr-16rpx">
+<price-format color="#000" :first-size="36" :second-size="36" :showSubscript="false"></price-format>
</view>
<view>
<wd-icon name="arrow-right" size="32rpx" color="#9496A5"></wd-icon>
</view>
</view>
<view class="text-24rpx text-[#909399] leading-34rpx">
余额5,224.55
</view>
</view>
</view>
</mescroll-body>
@ -152,10 +175,10 @@
console.log(`${year}${month}`);
},
// 去充值
// 去提现
handleToRecharge: () => {
uni.navigateTo({
url: '/bundle/wallet/recharge'
url: '/bundle/parten/pages/withdraw/withdraw'
})
},