新增充值的修改

This commit is contained in:
2024-04-07 14:47:30 +08:00
parent f5ddb92449
commit 417ba1454c
32 changed files with 302 additions and 97 deletions

View File

@@ -0,0 +1,24 @@
// pages/invoiceList/components/already/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--pages/invoiceList/components/already/index.wxml-->
<text>pages/invoiceList/components/already/index.wxml</text>

View File

@@ -0,0 +1 @@
/* pages/invoiceList/components/already/index.wxss */

View File

@@ -0,0 +1,24 @@
// pages/invoiceList/components/info/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--pages/invoiceList/components/info/index.wxml-->
<text>pages/invoiceList/components/info/index.wxml</text>

View File

@@ -0,0 +1 @@
/* pages/invoiceList/components/info/index.wxss */

View File

@@ -0,0 +1,24 @@
// pages/invoiceList/components/notyet/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--pages/invoiceList/components/notyet/index.wxml-->
<text>pages/invoiceList/components/notyet/index.wxml</text>

View File

@@ -0,0 +1 @@
/* pages/invoiceList/components/notyet/index.wxss */

View File

@@ -0,0 +1,24 @@
// pages/invoiceList/components/notyetCard/index.js
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--pages/invoiceList/components/notyetCard/index.wxml-->
<text>pages/invoiceList/components/notyetCard/index.wxml</text>

View File

@@ -0,0 +1 @@
/* pages/invoiceList/components/notyetCard/index.wxss */

View File

@@ -1,7 +1,12 @@
{
"usingComponents": {
"van-action-sheet": "@vant/weapp/action-sheet/index",
"van-button": "@vant/weapp/button/index"
"van-tab": "@vant/weapp/tab/index",
"van-tabs": "@vant/weapp/tabs/index",
"navigator": "/components/navigator/index",
"notyet": "./components/notyet/index",
"already": "./components/already/index",
"info": "./components/info/index",
"notyetCard": "./components/notyetCard/index"
},
"navigationBarTitleText": "开票信息"
"navigationStyle": "custom"
}

View File

@@ -1,27 +1,13 @@
<!--pages/invoiceList/index.wxml-->
<view class="wrapper">
<view
wx:for="{{list}}"
wx:key="index"
class="item"
>
<view style="flex: 1"> {{ item.tenement.name }} </view>
<view class="operate">
<view class="primaryTextBtn" data-data="{{item}}" bind:tap="operate"> 操作 </view>
<!-- <view class="primaryTextBtn" style="margin-left: 24rpx;"> 编辑 </view>
<view class="dangerTextBtn" style="margin-left: 24rpx;"> 删除 </view> -->
</view>
</view>
<navigator canBack="{{true}}" title="发票管理" />
<view style="margin-top: 10vh;">
<van-button type="info" block bind:click="handleCreate">创建一个</van-button>
</view>
</view>
<van-action-sheet
show="{{ show }}"
actions="{{ actions }}"
bind:close="onClose"
bind:select="onSelect"
cancel-text="取消"
/>
<van-tabs active="{{ active }}" bind:change="onChange">
<van-tab title="申请开票">
<notyet />
</van-tab>
<van-tab title="已开发票">
<already />
</van-tab>
<van-tab title="开票信息">
<info />
</van-tab>
</van-tabs>