diff --git a/app.json b/app.json index 89042b9..07dd0c7 100644 --- a/app.json +++ b/app.json @@ -22,7 +22,11 @@ "pages/drawee/drawee", "pages/drawee/add/add", "pages/Bookkeeping/update/update", - "pages/bank/bank" + "pages/bank/bank", + "pages/bank/add/add", + "pages/bankDraft/bankDraft", + "pages/bankDraft/add/add", + "pages/project/project" ], "window": { "backgroundTextStyle": "light", diff --git a/image/icon/icon_date.png b/image/icon/icon_date.png new file mode 100644 index 0000000..2fea148 Binary files /dev/null and b/image/icon/icon_date.png differ diff --git a/image/icon/icon_zfz.png b/image/icon/icon_zfz.png new file mode 100644 index 0000000..33c8fe5 Binary files /dev/null and b/image/icon/icon_zfz.png differ diff --git a/pages/bank/add/add.js b/pages/bank/add/add.js new file mode 100644 index 0000000..2d2bea9 --- /dev/null +++ b/pages/bank/add/add.js @@ -0,0 +1,69 @@ +// pages/bank/add/add.js +import * as UTIL from '../../../utils/util.js'; +import * as API from '../../../utils/API.js'; +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/bank/add/add.json b/pages/bank/add/add.json new file mode 100644 index 0000000..88dadef --- /dev/null +++ b/pages/bank/add/add.json @@ -0,0 +1,19 @@ +{ + "navigationStyle": "custom", + "usingComponents": { + "van-row": "@vant/weapp/row/index", + "van-col": "@vant/weapp/col/index", + "van-cell": "@vant/weapp/cell/index", + "van-cell-group": "@vant/weapp/cell-group/index", + "van-tag": "@vant/weapp/tag/index", + "van-icon": "@vant/weapp/icon/index", + "van-steps": "@vant/weapp/steps/index", + "van-button": "@vant/weapp/button/index", + "van-radio": "@vant/weapp/radio/index", + "van-radio-group": "@vant/weapp/radio-group/index", + "van-field": "@vant/weapp/field/index", + "van-popup": "@vant/weapp/popup/index", + "van-picker": "@vant/weapp/picker/index", + "van-calendar": "@vant/weapp/calendar/index" + } +} \ No newline at end of file diff --git a/pages/bank/add/add.wxml b/pages/bank/add/add.wxml new file mode 100644 index 0000000..db9e864 --- /dev/null +++ b/pages/bank/add/add.wxml @@ -0,0 +1,28 @@ + + + + 新增开户行 + + + + + + + + + + + + + + + 确认 + \ No newline at end of file diff --git a/pages/bank/add/add.wxss b/pages/bank/add/add.wxss new file mode 100644 index 0000000..af85688 --- /dev/null +++ b/pages/bank/add/add.wxss @@ -0,0 +1,59 @@ +/* pages/payee/add/add.wxss */ +.main-box{ + background: #ffffff; + padding: 20px; + width: 94%; + margin: 0 auto; + border-radius: 10px; + box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.16); +} +.table-box van-field van-cell .van-cell{ + margin-bottom: 15px; +} +.table-box van-field:last-child van-cell .van-cell{ + margin-bottom: 0px; +} +.van-cell{ + padding: 0!important; + margin-bottom: 15px; +} +.van-cell__value { + display: flex; + justify-content: flex-end; +} +.van-radio--horizontal { + margin-right: 0!important; + margin-left: var(--padding-sm,12px) +} +.van-cell--required:before { + left: 0!important; +} + +.van-field__label { + padding-left: 10px; +} + +.bottom{ + width: 100%; + margin: 0 auto; + text-align: center; + margin-top: 30px; + margin-bottom: 30px; + display: flex; + position: absolute; + bottom: 10%; +} + +.bottom view { + width: 47%; + margin: 0 auto; + border-radius: 30px; + display: inline-block; +} + +.bottom .btn2{ + border: 1px solid transparent; + padding: 8px 0px; + background-image: linear-gradient(to right, #2C8E68, #5CAE77); + color: #fff; +} \ No newline at end of file diff --git a/pages/bank/bank.js b/pages/bank/bank.js index cf2c588..e893c62 100644 --- a/pages/bank/bank.js +++ b/pages/bank/bank.js @@ -10,7 +10,16 @@ Page({ data: { isIPX: app.globalData.isIPX, }, - + goAdd(){ + wx.navigateTo({ + url: 'add/add', + }) + }, + back:function(){ + wx.navigateBack({ + delta: 1 + }) + }, /** * 生命周期函数--监听页面加载 */ diff --git a/pages/bankDraft/add/add.js b/pages/bankDraft/add/add.js new file mode 100644 index 0000000..41688c3 --- /dev/null +++ b/pages/bankDraft/add/add.js @@ -0,0 +1,69 @@ +// pages/bankDraft/add/add.js +import * as UTIL from '../../../utils/util.js'; +import * as API from '../../../utils/API.js'; +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/bankDraft/add/add.json b/pages/bankDraft/add/add.json new file mode 100644 index 0000000..88dadef --- /dev/null +++ b/pages/bankDraft/add/add.json @@ -0,0 +1,19 @@ +{ + "navigationStyle": "custom", + "usingComponents": { + "van-row": "@vant/weapp/row/index", + "van-col": "@vant/weapp/col/index", + "van-cell": "@vant/weapp/cell/index", + "van-cell-group": "@vant/weapp/cell-group/index", + "van-tag": "@vant/weapp/tag/index", + "van-icon": "@vant/weapp/icon/index", + "van-steps": "@vant/weapp/steps/index", + "van-button": "@vant/weapp/button/index", + "van-radio": "@vant/weapp/radio/index", + "van-radio-group": "@vant/weapp/radio-group/index", + "van-field": "@vant/weapp/field/index", + "van-popup": "@vant/weapp/popup/index", + "van-picker": "@vant/weapp/picker/index", + "van-calendar": "@vant/weapp/calendar/index" + } +} \ No newline at end of file diff --git a/pages/bankDraft/add/add.wxml b/pages/bankDraft/add/add.wxml new file mode 100644 index 0000000..2213b16 --- /dev/null +++ b/pages/bankDraft/add/add.wxml @@ -0,0 +1,32 @@ + + + + 新增银行汇票 + + + + + + + + + + + + + + + + + + + 确认 + \ No newline at end of file diff --git a/pages/bankDraft/add/add.wxss b/pages/bankDraft/add/add.wxss new file mode 100644 index 0000000..af85688 --- /dev/null +++ b/pages/bankDraft/add/add.wxss @@ -0,0 +1,59 @@ +/* pages/payee/add/add.wxss */ +.main-box{ + background: #ffffff; + padding: 20px; + width: 94%; + margin: 0 auto; + border-radius: 10px; + box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.16); +} +.table-box van-field van-cell .van-cell{ + margin-bottom: 15px; +} +.table-box van-field:last-child van-cell .van-cell{ + margin-bottom: 0px; +} +.van-cell{ + padding: 0!important; + margin-bottom: 15px; +} +.van-cell__value { + display: flex; + justify-content: flex-end; +} +.van-radio--horizontal { + margin-right: 0!important; + margin-left: var(--padding-sm,12px) +} +.van-cell--required:before { + left: 0!important; +} + +.van-field__label { + padding-left: 10px; +} + +.bottom{ + width: 100%; + margin: 0 auto; + text-align: center; + margin-top: 30px; + margin-bottom: 30px; + display: flex; + position: absolute; + bottom: 10%; +} + +.bottom view { + width: 47%; + margin: 0 auto; + border-radius: 30px; + display: inline-block; +} + +.bottom .btn2{ + border: 1px solid transparent; + padding: 8px 0px; + background-image: linear-gradient(to right, #2C8E68, #5CAE77); + color: #fff; +} \ No newline at end of file diff --git a/pages/bankDraft/bankDraft.js b/pages/bankDraft/bankDraft.js new file mode 100644 index 0000000..056a24a --- /dev/null +++ b/pages/bankDraft/bankDraft.js @@ -0,0 +1,90 @@ +// pages/bankDraft/bankDraft.js +import * as UTIL from '../../utils/util.js'; +import * as API from '../../utils/API.js'; +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + option1: [ + { text: '汇票类型', value: 0 }, + { text: '银行承兑', value: 1 }, + { text: '商业承兑', value: 2 }, + ], + option2: [ + { text: '汇票状态', value: 'a' }, + { text: '好评排序', value: 'b' }, + { text: '销量排序', value: 'c' }, + ], + value1: 0, + value2: 'a', + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + goAdd(){ + wx.navigateTo({ + url: 'add/add', + }) + }, + back:function(){ + wx.navigateBack({ + delta: 1 + }) + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/bankDraft/bankDraft.json b/pages/bankDraft/bankDraft.json new file mode 100644 index 0000000..502d534 --- /dev/null +++ b/pages/bankDraft/bankDraft.json @@ -0,0 +1,15 @@ +{ + "usingComponents": { + "van-checkbox": "@vant/weapp/checkbox/index", + "van-checkbox-group": "@vant/weapp/checkbox-group/index", + "van-cell": "@vant/weapp/cell/index", + "van-cell-group": "@vant/weapp/cell-group/index", + "van-search": "@vant/weapp/search/index", + "van-radio": "@vant/weapp/radio/index", + "van-radio-group": "@vant/weapp/radio-group/index", + "van-swipe-cell": "@vant/weapp/swipe-cell/index", + "van-dropdown-menu": "@vant/weapp/dropdown-menu/index", + "van-dropdown-item": "@vant/weapp/dropdown-item/index", + "van-tag": "@vant/weapp/tag/index" + } +} \ No newline at end of file diff --git a/pages/bankDraft/bankDraft.wxml b/pages/bankDraft/bankDraft.wxml new file mode 100644 index 0000000..3376b33 --- /dev/null +++ b/pages/bankDraft/bankDraft.wxml @@ -0,0 +1,61 @@ + + + + 银行汇票 + + + + + 新增 + + + + + + + + + + + + 汇票号 + 3564353245345 + + + 商业承兑 + + + + + + 家家悦\n集团体育基地店 + 付票单位 + + + ¥5000.00 + + + + 张村\n经济合作社 + 收票单位 + + + + + + 2021.09.01-2022.08.31 + + + + + + + + \ No newline at end of file diff --git a/pages/bankDraft/bankDraft.wxss b/pages/bankDraft/bankDraft.wxss new file mode 100644 index 0000000..fa3c5dc --- /dev/null +++ b/pages/bankDraft/bankDraft.wxss @@ -0,0 +1,320 @@ +/* pages/bank/bank.wxss */ +.van-search__content { + border: 1px solid #5CAE77!important; + background: #fff!important; +} +van-search { + flex: 0.8; +} +.search_box{ + display: flex; +} +.add_btn{ + flex: 0.2; + padding: var(--search-padding,10px 12px); + padding-left: 0; +} +.add_btn text{ + background-color: #62AD66; + display: block; + height: 100%; + text-align: center; + line-height: 36px; + color: #fff; + border-radius: 36px; + box-shadow: 0px 5px 5px #ddd; +} +text{display: block;} +.work_plan{ + padding: 40rpx 32.5rpx 30rpx; + display: flex; +} + +.work_plan .menu_item{ + background-color: #fff; + box-shadow: 2px 5px 5px #ddd; + border-radius: 60rpx; + text-align: center; + position: relative; + margin-right: 20px; + padding: 8px 10px; +} +.work_plan .menu_item.active{ + background-color: #2C8E68; + color: #fff; +} +.work_plan .menu_item .remind{ + height: 30rpx; + background: #e90101; + color: #fff; + font-size: 26rpx; + position: absolute; + line-height: 30rpx; + padding:0 10rpx; + border-radius: 25px; + top: -10rpx; + right: -10rpx; +} + +.work_plan .more{ + flex: 1; + text-align: center; + line-height: 60rpx; + font-size: 36rpx; + color: #31936c; +} +.deleteBox{ + width: 65px; + text-align: center; + height: 100%; + background: #F6F6F6; + align-items: center; + display: flex; +} +.workflow .workflow_list{ + height: 150rpx; + background-color: #fff; + border-radius: 24rpx; + box-shadow:0rpx 0rpx 10rpx rgba(0,0,0,.1); + margin-bottom: 20rpx; + padding:15rpx 25rpx 10rpx 35rpx; +} +.workflow .workflow_list .process_intro{ + display: flex; + height: 62rpx; + align-items: center; +} + +.workflow .process_intro .name{ + width: 390rpx; + font-size: 34rpx; + margin-right: 30rpx; + display: flex; + justify-content: space-between; + align-items: center; +} +.workflow .process_intro .name .name_tit{ + width: 290rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.van-swipe-cell { + width: 94%; + background: #fff; + border-radius: 10px; + box-shadow: 2px 5px 5px #ddd; + margin: 0 auto; + margin-bottom: 15px; +} +.li{ + width: 100%; + padding: 14px; +} +.tit_box{ + display: flex; + justify-content: space-between; +} +.tit_box_left{ + display: flex; + align-items: center; +} +.detail_box{ + display: flex; + justify-content: space-around; + margin-top: 15px; +} +.li view text{ + /* margin-top: 15px; */ +} +.fkmc { + line-height: 20px; + font-size: 16px; +} +.detail_box_money{ + font-size: 16px; + color: #E90000; + margin-bottom: 5px; +} +.detail_time{ + display: flex; + align-items: center; + margin-top: 10px; +} +.detail_time text{ + font-size: 14px; + margin-left: 5px; + color: #878787; +} +.li .detail_box_left text{ + text-align: center; +} +.li .detail_box_left .fkdw{ + color: #B5B5B5; + font-size: 14px; + margin-top: 5px; +} +.li .detail_box_center{ + color: #666666; + font-size: 12px; + text-align: center; +} +.li .detail_box_right{ + +} +.li .detail_box_right text{ + text-align: center; +} +.li .detail_box_right .skdw{ + color: #B5B5B5; + font-size: 14px; + margin-top: 5px; +} + +.li .fksr{ + display: flex; + align-items: center; + margin-top: 15px; + color: #2C8E68; + font-size: 16px; +} +.li .wtj{ + display: flex; + align-items: center; + justify-content: center; + padding: 3px 8px; + border-radius: 5px; + font-size: 14px; +} +.no{ + background-color:#fbe3e3; + color: #e90000; +} +.white{ + background-color:#feeadc; + color: #fc9a55; +} +.yes{ + background-color:#ddeee3; + color: #5cae77; +} +.other{ + background-color:#f0f1f6; + color: #878787; +} +.li .tit{ + font-size: 14px; + color: #878787; + line-height: 25px; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + word-break: break-all; + overflow: hidden; +} +.li .fj_name{ + font-size: 14px; + color: #B3DB62; + line-height: 25px; +} +.li .time{ + font-size: 14px; + color: #9B9CAA; +} +.li .money{ + font-size: 18px; + color: #5CAE77; +} +.tit_type{ + display: flex; + align-items: center; +} +.tit_type text{ + background: rgba(92, 174, 119, 0.2); + color: #5CAE77; + padding: 2px 10px; + border-radius: 20px; +} +.van-checkbox__label { + display: flex; + justify-content: space-between; + width: 100%; +} + +.van-checkbox__icon-wrap { + border-radius: 5px; +} +.van-checkbox__icon { + border-radius: 5px; + border: 2px solid #2C8E68!important; + background-color: rgba(44, 142, 104, 0.2); +} +.bottom{ + width: 100%; + margin: 0 auto; + text-align: center; + padding: 15px 0; + display: flex; + position: fixed; + bottom: 0%; + background: #fff; + box-shadow: 0 0 5px #ddd; +} + +.bottom view { + width: 47%; + margin: 0 auto; + border-radius: 30px; + display: inline-block; +} + +.bottom .btn2{ + border: 1px solid transparent; + padding: 10px 0px; + background-image: linear-gradient(to right, #2C8E68, #5CAE77); + color: #fff; +} + +.downView{ + display: flex; + justify-content: center; + align-items: center; + padding: 0 20px; + border: 1px solid #5CAE77; + border-radius: 50px; + background: #fff; + margin-left: auto; +} +.downView image{ + width: 10px; + height: 8px; + margin-left: 10px; +} +.hp_type{ + padding: 4vw 3%; + display: flex; + border-bottom: 1px solid #eee; +} +.hp_type view{ + padding: 2vw 6%; + background: #EEEEEE; + border-radius: 60px; + margin-right: 3%; + width: 30vw; + text-align: center; +} +.hp_button{ + display: flex; + justify-content: space-around; + padding:4vw 0 6vw; +} +.hp_button view{ + padding: 3vw 6%; + background: #EEEEEE; + border-radius: 60px; + width: 30vw; + text-align: center; +} +.van-dropdown-menu { + margin-bottom: 15px; +} \ No newline at end of file diff --git a/pages/index/index.wxml b/pages/index/index.wxml index f20a7fe..22f3e40 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -84,12 +84,12 @@ 开户行 - + 银行汇票 - + 工程项目 diff --git a/pages/project/project.js b/pages/project/project.js new file mode 100644 index 0000000..9e44f9b --- /dev/null +++ b/pages/project/project.js @@ -0,0 +1,78 @@ +// pages/project/project.js +import * as UTIL from '../../utils/util.js'; +import * as API from '../../utils/API.js'; +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + goAdd(){ + wx.navigateTo({ + url: 'add/add', + }) + }, + back:function(){ + wx.navigateBack({ + delta: 1 + }) + }, + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/project/project.json b/pages/project/project.json new file mode 100644 index 0000000..502d534 --- /dev/null +++ b/pages/project/project.json @@ -0,0 +1,15 @@ +{ + "usingComponents": { + "van-checkbox": "@vant/weapp/checkbox/index", + "van-checkbox-group": "@vant/weapp/checkbox-group/index", + "van-cell": "@vant/weapp/cell/index", + "van-cell-group": "@vant/weapp/cell-group/index", + "van-search": "@vant/weapp/search/index", + "van-radio": "@vant/weapp/radio/index", + "van-radio-group": "@vant/weapp/radio-group/index", + "van-swipe-cell": "@vant/weapp/swipe-cell/index", + "van-dropdown-menu": "@vant/weapp/dropdown-menu/index", + "van-dropdown-item": "@vant/weapp/dropdown-item/index", + "van-tag": "@vant/weapp/tag/index" + } +} \ No newline at end of file diff --git a/pages/project/project.wxml b/pages/project/project.wxml new file mode 100644 index 0000000..3d9dcd6 --- /dev/null +++ b/pages/project/project.wxml @@ -0,0 +1,56 @@ + + + + 银行汇票 + + + + + 新增 + + + + + + + 汇票号 + 3564353245345 + + + 商业承兑 + + + + + + 家家悦\n集团体育基地店 + 付票单位 + + + ¥5000.00 + + + + 张村\n经济合作社 + 收票单位 + + + + + + 2021.09.01-2022.08.31 + + + + + + + + diff --git a/pages/project/project.wxss b/pages/project/project.wxss new file mode 100644 index 0000000..62514f7 --- /dev/null +++ b/pages/project/project.wxss @@ -0,0 +1,27 @@ +/* pages/project/project.wxss */ +.van-search__content { + border: 1px solid #5CAE77!important; + background: #fff!important; +} +van-search { + flex: 0.8; +} +.search_box{ + display: flex; +} +.add_btn{ + flex: 0.2; + padding: var(--search-padding,10px 12px); + padding-left: 0; +} +.add_btn text{ + background-color: #62AD66; + display: block; + height: 100%; + text-align: center; + line-height: 36px; + color: #fff; + border-radius: 36px; + box-shadow: 0px 5px 5px #ddd; +} +text{display: block;} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 91bd171..51ed755 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -115,6 +115,27 @@ "query": "", "launchMode": "default", "scene": null + }, + { + "name": "新增开户行", + "pathName": "pages/bank/add/add", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "银行汇票", + "pathName": "pages/bankDraft/bankDraft", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "工程项目", + "pathName": "pages/project/project", + "query": "", + "launchMode": "default", + "scene": null } ] }