正在显示
21 个修改的文件
包含
742 行增加
和
6 行删除
| @@ -144,8 +144,8 @@ App({ | @@ -144,8 +144,8 @@ App({ | ||
| 144 | // baseUrl: "http://192.144.144.220:20000/", | 144 | // baseUrl: "http://192.144.144.220:20000/", |
| 145 | // baseUrl: "http://154.8.229.55:20000/", | 145 | // baseUrl: "http://154.8.229.55:20000/", |
| 146 | // baseUrl: "http://47.110.250.177:20000/", | 146 | // baseUrl: "http://47.110.250.177:20000/", |
| 147 | - // baseUrl: "http://47.110.158.110:20000/", | ||
| 148 | - baseUrl: "https://api.workai.com.cn/", | 147 | + baseUrl: "http://47.110.158.110:20000/", |
| 148 | + // baseUrl: "https://api.workai.com.cn/", | ||
| 149 | OSSUrl: "", //"https://oss.workai.com.cn/", | 149 | OSSUrl: "", //"https://oss.workai.com.cn/", |
| 150 | userInfo: null, | 150 | userInfo: null, |
| 151 | hostInfo: null, | 151 | hostInfo: null, |
| @@ -15,15 +15,22 @@ | @@ -15,15 +15,22 @@ | ||
| 15 | "pages/main/addtionalreduce/adddupporters/adddupporters", | 15 | "pages/main/addtionalreduce/adddupporters/adddupporters", |
| 16 | "pages/main/addtionalreduce/additiondetail/additiondetail", | 16 | "pages/main/addtionalreduce/additiondetail/additiondetail", |
| 17 | "pages/main/advancepayment/adPayHome", | 17 | "pages/main/advancepayment/adPayHome", |
| 18 | + | ||
| 18 | "pages/main/finalpayment/home", | 19 | "pages/main/finalpayment/home", |
| 19 | "pages/main/finalpayment/inputinfo/inputinfo", | 20 | "pages/main/finalpayment/inputinfo/inputinfo", |
| 20 | "pages/main/finalpayment/historylist/historylist", | 21 | "pages/main/finalpayment/historylist/historylist", |
| 21 | "pages/main/finalpayment/historydetail/historydetail", | 22 | "pages/main/finalpayment/historydetail/historydetail", |
| 23 | + | ||
| 24 | + "pages/main/finalpay/home", | ||
| 25 | + "pages/main/finalpay/incomeDetail/incomeDetail", | ||
| 26 | + "pages/main/finalpay/incomeAddition/incomeAddition", | ||
| 27 | + | ||
| 22 | "pages/login/login", | 28 | "pages/login/login", |
| 23 | "pages/main/advancepayment/adPayDetails/adPayDetails", | 29 | "pages/main/advancepayment/adPayDetails/adPayDetails", |
| 24 | "pages/main/verify/verify_info", | 30 | "pages/main/verify/verify_info", |
| 25 | "pages/main/verify/verify_result/verify_result", | 31 | "pages/main/verify/verify_result/verify_result", |
| 26 | - "pages/main/verify/verify_idcard/verify_idcard" | 32 | + "pages/main/verify/verify_idcard/verify_idcard", |
| 33 | + "pages/common/webview" | ||
| 27 | ], | 34 | ], |
| 28 | "window": { | 35 | "window": { |
| 29 | "backgroundTextStyle": "light", | 36 | "backgroundTextStyle": "light", |
pages/common/webview.js
0 → 100644
| 1 | +// pages/common/webview.js | ||
| 2 | +Page({ | ||
| 3 | + | ||
| 4 | + /** | ||
| 5 | + * Page initial data | ||
| 6 | + */ | ||
| 7 | + data: { | ||
| 8 | + h5_url:"", | ||
| 9 | + url01: "http://emp.workai.com.cn//html/financialFinalSettlement_01.html", | ||
| 10 | + url02: "http://dev.workai.com.cn//html/financialFinalSettlement_02.html", | ||
| 11 | + }, | ||
| 12 | + | ||
| 13 | + /** | ||
| 14 | + * Lifecycle function--Called when page load | ||
| 15 | + */ | ||
| 16 | + onLoad: function (options) { | ||
| 17 | + if(options.type == 1){ | ||
| 18 | + this.setData({ | ||
| 19 | + h5_url:this.data.url01 | ||
| 20 | + }) | ||
| 21 | + }else{ | ||
| 22 | + this.setData({ | ||
| 23 | + h5_url: this.data.url02 | ||
| 24 | + }) | ||
| 25 | + } | ||
| 26 | + }, | ||
| 27 | + | ||
| 28 | + /** | ||
| 29 | + * Lifecycle function--Called when page is initially rendered | ||
| 30 | + */ | ||
| 31 | + onReady: function () { | ||
| 32 | + | ||
| 33 | + }, | ||
| 34 | + | ||
| 35 | + /** | ||
| 36 | + * Lifecycle function--Called when page show | ||
| 37 | + */ | ||
| 38 | + onShow: function () { | ||
| 39 | + | ||
| 40 | + }, | ||
| 41 | + | ||
| 42 | + /** | ||
| 43 | + * Lifecycle function--Called when page hide | ||
| 44 | + */ | ||
| 45 | + onHide: function () { | ||
| 46 | + | ||
| 47 | + }, | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Lifecycle function--Called when page unload | ||
| 51 | + */ | ||
| 52 | + onUnload: function () { | ||
| 53 | + | ||
| 54 | + }, | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * Page event handler function--Called when user drop down | ||
| 58 | + */ | ||
| 59 | + onPullDownRefresh: function () { | ||
| 60 | + | ||
| 61 | + }, | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Called when page reach bottom | ||
| 65 | + */ | ||
| 66 | + onReachBottom: function () { | ||
| 67 | + | ||
| 68 | + }, | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * Called when user click on the top right corner to share | ||
| 72 | + */ | ||
| 73 | + onShareAppMessage: function () { | ||
| 74 | + | ||
| 75 | + } | ||
| 76 | +}) |
pages/common/webview.json
0 → 100644
pages/common/webview.wxml
0 → 100644
pages/common/webview.wxss
0 → 100644
| 1 | +/* pages/common/webview.wxss */ |
pages/main/finalpay/home.js
0 → 100644
| 1 | +// pages/main/finalpay/home.js | ||
| 2 | +var app = getApp(); | ||
| 3 | +var baseUrl = app.globalData.baseUrl; | ||
| 4 | +Page({ | ||
| 5 | + | ||
| 6 | + | ||
| 7 | + data: { | ||
| 8 | + declare_status: "",//申报状态 | ||
| 9 | + refund_status: "",//退税状态 | ||
| 10 | + pay_status: "",//补税状态 | ||
| 11 | + payinfo:{}, | ||
| 12 | + unitInfo: [{ | ||
| 13 | + "declaring_unit": "申报单位", | ||
| 14 | + "declaring_unit_id": "申报单位id", | ||
| 15 | + }, | ||
| 16 | + { | ||
| 17 | + "declaring_unit": "申报单位", | ||
| 18 | + "declaring_unit_id": "申报单位id", | ||
| 19 | + }], | ||
| 20 | + showUnit:false, | ||
| 21 | + }, | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + onLoad: function(options) { | ||
| 25 | + this.getPayInfo(); | ||
| 26 | + }, | ||
| 27 | + | ||
| 28 | + | ||
| 29 | + onReady: function() { | ||
| 30 | + | ||
| 31 | + }, | ||
| 32 | + | ||
| 33 | + | ||
| 34 | + onShow: function() { | ||
| 35 | + | ||
| 36 | + }, | ||
| 37 | + | ||
| 38 | + yearPick: function() { | ||
| 39 | + | ||
| 40 | + }, | ||
| 41 | + | ||
| 42 | + getPayInfo:function(){ | ||
| 43 | + var that = this | ||
| 44 | + this.Authorization = getApp().globalData.Authorization; | ||
| 45 | + wx.request({ | ||
| 46 | + url: baseUrl + "payroll/v1/settlement-tax/declare-detail", | ||
| 47 | + header: { | ||
| 48 | + 'Authorization': this.Authorization | ||
| 49 | + }, | ||
| 50 | + data: { 'years': '2019' }, | ||
| 51 | + success: function (result) { | ||
| 52 | + console.log("payinfo",result) | ||
| 53 | + if (result.statusCode==200) { | ||
| 54 | + that.setData({ | ||
| 55 | + payinfo: result.data | ||
| 56 | + }) | ||
| 57 | + } | ||
| 58 | + }, | ||
| 59 | + }) | ||
| 60 | + }, | ||
| 61 | + | ||
| 62 | + getUnitInfo:function(){//获取申报单位 | ||
| 63 | + var that = this | ||
| 64 | + this.Authorization = getApp().globalData.Authorization; | ||
| 65 | + that.setData({ | ||
| 66 | + showUnit: true | ||
| 67 | + }) | ||
| 68 | + wx.request({ | ||
| 69 | + url: baseUrl + "payroll/v1/settlement-tax/declaring-unit", | ||
| 70 | + header: { | ||
| 71 | + 'Authorization': this.Authorization | ||
| 72 | + }, | ||
| 73 | + data: { }, | ||
| 74 | + success: function (result) { | ||
| 75 | + console.log("unitInfo", result) | ||
| 76 | + if (result.statusCode == 200) { | ||
| 77 | + that.setData({ | ||
| 78 | + unitInfo: result.data | ||
| 79 | + }) | ||
| 80 | + } | ||
| 81 | + }, | ||
| 82 | + complete:function(e){ | ||
| 83 | + that.setData({ | ||
| 84 | + showUnit:true | ||
| 85 | + }) | ||
| 86 | + } | ||
| 87 | + }) | ||
| 88 | + }, | ||
| 89 | + | ||
| 90 | + // 跳转到H5页面测试 | ||
| 91 | + skipH5_01: function() { | ||
| 92 | + wx.navigateTo({ | ||
| 93 | + url: '../../common/webview?type=1', | ||
| 94 | + }) | ||
| 95 | + }, | ||
| 96 | + | ||
| 97 | + skipH5_02: function() { | ||
| 98 | + wx.navigateTo({ | ||
| 99 | + url: '../../common/webview?type=2', | ||
| 100 | + }) | ||
| 101 | + }, | ||
| 102 | + | ||
| 103 | + finalpay_detail: function() { | ||
| 104 | + wx.navigateTo({ | ||
| 105 | + url: 'incomeDetail/incomeDetail', | ||
| 106 | + }) | ||
| 107 | + }, | ||
| 108 | + | ||
| 109 | + declareHere: function() { | ||
| 110 | + this.getUnitInfo() | ||
| 111 | + }, | ||
| 112 | + | ||
| 113 | + declareNotHere: function() { | ||
| 114 | + wx.showModal({ | ||
| 115 | + title: '', | ||
| 116 | + content: '确认不在本单位进行汇算清缴申报吗?', | ||
| 117 | + confirmColor: '#357aeb', | ||
| 118 | + success(res) { | ||
| 119 | + if (res.confirm) { | ||
| 120 | + console.log('用户点击确定') | ||
| 121 | + | ||
| 122 | + } else if (res.cancel) { | ||
| 123 | + console.log('用户点击取消') | ||
| 124 | + } | ||
| 125 | + } | ||
| 126 | + }) | ||
| 127 | + }, | ||
| 128 | + | ||
| 129 | + onHide: function() { | ||
| 130 | + | ||
| 131 | + }, | ||
| 132 | + | ||
| 133 | + | ||
| 134 | + onUnload: function() { | ||
| 135 | + | ||
| 136 | + }, | ||
| 137 | + | ||
| 138 | + | ||
| 139 | + onPullDownRefresh: function() { | ||
| 140 | + | ||
| 141 | + }, | ||
| 142 | + | ||
| 143 | + | ||
| 144 | + onReachBottom: function() { | ||
| 145 | + | ||
| 146 | + }, | ||
| 147 | + | ||
| 148 | + | ||
| 149 | + onShareAppMessage: function() { | ||
| 150 | + | ||
| 151 | + } | ||
| 152 | +}) |
pages/main/finalpay/home.json
0 → 100644
pages/main/finalpay/home.wxml
0 → 100644
| 1 | +<!--pages/main/finalpay/home.wxml--> | ||
| 2 | + | ||
| 3 | +<view class="page"> | ||
| 4 | + <view wx:if="{{!showUnit}}"> | ||
| 5 | + <view style="background:#fff;padding:28rpx" bindtap="yearPick"> | ||
| 6 | + <text class="text_black_bold">2019年度个人综合所得汇算清缴</text> | ||
| 7 | + <view class="float_right"> | ||
| 8 | + <image class="arrow_wrap" src="/images/arrow_down.png"></image> | ||
| 9 | + </view> | ||
| 10 | + </view> | ||
| 11 | + | ||
| 12 | + <view style="background:#fff;padding:30rpx 30rpx 60rpx 30rpx;margin-top:20rpx"> | ||
| 13 | + <text class="text_gray3_26">了解汇算清缴具体内容,请阅读 </text> | ||
| 14 | + <text class="text_blue_26" bindtap="skipH5_01"> 《2019年度汇算清缴事项公告》 </text> | ||
| 15 | + <text class="text_blue_26" bindtap="skipH5_02"> 《国家税务总局办理2019年度个人所得税综合所得汇算清缴事项的公告 》</text> | ||
| 16 | + <text class="text_blue_26"> 的解读 </text> | ||
| 17 | + </view> | ||
| 18 | + | ||
| 19 | + <view style="background:#fff9f0;padding:24rpx;display: flex;"> | ||
| 20 | + <view style="margin-right:12rpx"> | ||
| 21 | + <image style="width:28rpx;height:28rpx;" src="/images/warn_yellow.png"></image> | ||
| 22 | + </view> | ||
| 23 | + <view> | ||
| 24 | + <text class="text_gray6_28">请于 </text> | ||
| 25 | + <text class="text_yellow_28"> 2020年10月1日前 </text> | ||
| 26 | + <text class="text_gray6_28">确认是否在本单位进行汇算清缴,否则默认为您在其他单位申报或自行申报。 </text> | ||
| 27 | + </view> | ||
| 28 | + <view hidden="true"> | ||
| 29 | + <text class="text_gray6_28">您将在 北京小爱智能科技有限公司 完成2019年度的个人综合所得汇算清缴。 </text> | ||
| 30 | + </view> | ||
| 31 | + </view> | ||
| 32 | + | ||
| 33 | + <view hidden="true" style="background:#fff;"> | ||
| 34 | + <view style="padding:30rpx;"> | ||
| 35 | + <text class="text_black_bold">汇算清缴</text> | ||
| 36 | + <text class="text_blue_28 float_right" style="line-height:50rpx" bindtap="finalpay_detail">查看详情</text> | ||
| 37 | + </view> | ||
| 38 | + </view> | ||
| 39 | + | ||
| 40 | + <view style="width:100%;height:300rpx;position: fixed;bottom: 0;"> | ||
| 41 | + <view style="display: flex;justify-content: center;"> | ||
| 42 | + <text class="text_gray6_28">距离确认是否在本单位进行汇算清缴时间还有 </text> | ||
| 43 | + <text class="text_yellow_28"> 28 </text> | ||
| 44 | + <text class="text_gray6_28">天</text> | ||
| 45 | + </view> | ||
| 46 | + <view bindtap="declareNotHere" class="btn_blue_radius" style="margin:20rpx 30rpx "> | ||
| 47 | + <view class="text_white_34">不在本单位申报</view> | ||
| 48 | + </view> | ||
| 49 | + <view bindtap="declareHere" class="btn_white_radius" style="margin:0rpx 30rpx "> | ||
| 50 | + <view class="text_blue_34">在本单位申报</view> | ||
| 51 | + </view> | ||
| 52 | + </view> | ||
| 53 | + </view> | ||
| 54 | + <view wx:elif="{{unitInfo.length>0}}" style=""> | ||
| 55 | + <view wx:for="{{unitInfo}}"> | ||
| 56 | + <text>{{item.declaring_unit}}</text> | ||
| 57 | + </view> | ||
| 58 | + </view> | ||
| 59 | +</view> |
pages/main/finalpay/home.wxss
0 → 100644
| 1 | +/* pages/main/finalpay/home.wxss */ | ||
| 2 | + | ||
| 3 | +.page { | ||
| 4 | + background-color: #f5f5f5; | ||
| 5 | +} | ||
| 6 | + | ||
| 7 | +.text_black_bold { | ||
| 8 | + font-size: 36rpx; | ||
| 9 | + color: #000; | ||
| 10 | + font-family: PingFangSC-Medium, PingFang SC; | ||
| 11 | + font-weight: 500; | ||
| 12 | + line-height: 50rpx | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.arrow_wrap { | ||
| 16 | + position: relative; | ||
| 17 | + width: 28rpx; | ||
| 18 | + height: 16rpx; | ||
| 19 | + margin-top: 16rpx; | ||
| 20 | + align-self: center; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +.text_gray3_26 { | ||
| 24 | + font-size: 26rpx; | ||
| 25 | + color: #333333; | ||
| 26 | + font-family:PingFangSC-Regular,PingFang SC; | ||
| 27 | + line-height: 36rpx | ||
| 28 | +} | ||
| 29 | + | ||
| 30 | +.text_gray6_28 { | ||
| 31 | + font-size: 28rpx; | ||
| 32 | + color: #666666; | ||
| 33 | + font-family:PingFangSC-Regular,PingFang SC; | ||
| 34 | + line-height: 40rpx | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | +.text_yellow_28 { | ||
| 38 | + font-size: 28rpx; | ||
| 39 | + color: #ffaa00; | ||
| 40 | + font-family:PingFangSC-Regular,PingFang SC; | ||
| 41 | + line-height: 40rpx | ||
| 42 | +} | ||
| 43 | + | ||
| 44 | +.text_blue_26 { | ||
| 45 | + font-size: 26rpx; | ||
| 46 | + color: #3795ff; | ||
| 47 | + font-family:PingFangSC-Regular,PingFang SC; | ||
| 48 | + line-height: 36rpx | ||
| 49 | +} | ||
| 50 | + | ||
| 51 | +.text_blue_28 { | ||
| 52 | + font-size: 28rpx; | ||
| 53 | + color: #3795ff; | ||
| 54 | + font-family:PingFangSC-Regular,PingFang SC; | ||
| 55 | + line-height: 36rpx | ||
| 56 | +} | ||
| 57 | + | ||
| 58 | +.btn_blue_radius{ | ||
| 59 | + margin: 26rpx 30rx; | ||
| 60 | + background: #357AEB; | ||
| 61 | + border-radius: 5px; | ||
| 62 | + height: 84rpx; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +.btn_white_radius{ | ||
| 66 | + margin: 26rpx 30rx; | ||
| 67 | + background: #fff; | ||
| 68 | + border-radius: 5px; | ||
| 69 | + border:1px solid rgba(228,231,240,1); | ||
| 70 | + height: 84rpx; | ||
| 71 | +} | ||
| 72 | + | ||
| 73 | +.text_white_34 { | ||
| 74 | + font-family: PingFangSC-Regular; | ||
| 75 | + font-size: 17px; | ||
| 76 | + color: #FFFFFF; | ||
| 77 | + text-align: center; | ||
| 78 | + line-height: 42px; | ||
| 79 | +} | ||
| 80 | + | ||
| 81 | +.text_blue_34 { | ||
| 82 | + font-family: PingFangSC-Regular; | ||
| 83 | + font-size: 17px; | ||
| 84 | + color: #357aeb; | ||
| 85 | + text-align: center; | ||
| 86 | + line-height: 42px; | ||
| 87 | +} |
| 1 | +// pages/main/finalpay/incomeAddition/incomeAddition.js | ||
| 2 | +Page({ | ||
| 3 | + | ||
| 4 | + /** | ||
| 5 | + * Page initial data | ||
| 6 | + */ | ||
| 7 | + data: { | ||
| 8 | + | ||
| 9 | + }, | ||
| 10 | + | ||
| 11 | + /** | ||
| 12 | + * Lifecycle function--Called when page load | ||
| 13 | + */ | ||
| 14 | + onLoad: function (options) { | ||
| 15 | + | ||
| 16 | + }, | ||
| 17 | + | ||
| 18 | + /** | ||
| 19 | + * Lifecycle function--Called when page is initially rendered | ||
| 20 | + */ | ||
| 21 | + onReady: function () { | ||
| 22 | + | ||
| 23 | + }, | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * Lifecycle function--Called when page show | ||
| 27 | + */ | ||
| 28 | + onShow: function () { | ||
| 29 | + | ||
| 30 | + }, | ||
| 31 | + | ||
| 32 | + /** | ||
| 33 | + * Lifecycle function--Called when page hide | ||
| 34 | + */ | ||
| 35 | + onHide: function () { | ||
| 36 | + | ||
| 37 | + }, | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Lifecycle function--Called when page unload | ||
| 41 | + */ | ||
| 42 | + onUnload: function () { | ||
| 43 | + | ||
| 44 | + }, | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * Page event handler function--Called when user drop down | ||
| 48 | + */ | ||
| 49 | + onPullDownRefresh: function () { | ||
| 50 | + | ||
| 51 | + }, | ||
| 52 | + | ||
| 53 | + /** | ||
| 54 | + * Called when page reach bottom | ||
| 55 | + */ | ||
| 56 | + onReachBottom: function () { | ||
| 57 | + | ||
| 58 | + }, | ||
| 59 | + | ||
| 60 | + /** | ||
| 61 | + * Called when user click on the top right corner to share | ||
| 62 | + */ | ||
| 63 | + onShareAppMessage: function () { | ||
| 64 | + | ||
| 65 | + } | ||
| 66 | +}) |
| 1 | +/* pages/main/finalpay/incomeAddition/incomeAddition.wxss */ |
| 1 | +// pages/main/finalpay/incomeDetail/incomeDetail.js | ||
| 2 | +Page({ | ||
| 3 | + | ||
| 4 | + /** | ||
| 5 | + * Page initial data | ||
| 6 | + */ | ||
| 7 | + data: { | ||
| 8 | + currentTab:0, | ||
| 9 | + }, | ||
| 10 | + | ||
| 11 | + /** | ||
| 12 | + * Lifecycle function--Called when page load | ||
| 13 | + */ | ||
| 14 | + onLoad: function (options) { | ||
| 15 | + | ||
| 16 | + }, | ||
| 17 | + | ||
| 18 | + /** | ||
| 19 | + * Lifecycle function--Called when page is initially rendered | ||
| 20 | + */ | ||
| 21 | + onReady: function () { | ||
| 22 | + | ||
| 23 | + }, | ||
| 24 | + | ||
| 25 | + onShow: function () { | ||
| 26 | + | ||
| 27 | + }, | ||
| 28 | + | ||
| 29 | + /** | ||
| 30 | + * 点击tab切换 | ||
| 31 | + */ | ||
| 32 | + swichNav: function (e) { | ||
| 33 | + var that = this; | ||
| 34 | + | ||
| 35 | + if (this.data.currentTab === e.target.dataset.current) { | ||
| 36 | + return false; | ||
| 37 | + } else { | ||
| 38 | + that.setData({ | ||
| 39 | + currentTab: e.target.dataset.current | ||
| 40 | + }) | ||
| 41 | + } | ||
| 42 | + }, | ||
| 43 | + | ||
| 44 | + /** | ||
| 45 | + * Lifecycle function--Called when page hide | ||
| 46 | + */ | ||
| 47 | + onHide: function () { | ||
| 48 | + | ||
| 49 | + }, | ||
| 50 | + | ||
| 51 | + /** | ||
| 52 | + * Lifecycle function--Called when page unload | ||
| 53 | + */ | ||
| 54 | + onUnload: function () { | ||
| 55 | + | ||
| 56 | + }, | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * Page event handler function--Called when user drop down | ||
| 60 | + */ | ||
| 61 | + onPullDownRefresh: function () { | ||
| 62 | + | ||
| 63 | + }, | ||
| 64 | + | ||
| 65 | + /** | ||
| 66 | + * Called when page reach bottom | ||
| 67 | + */ | ||
| 68 | + onReachBottom: function () { | ||
| 69 | + | ||
| 70 | + }, | ||
| 71 | + | ||
| 72 | + /** | ||
| 73 | + * Called when user click on the top right corner to share | ||
| 74 | + */ | ||
| 75 | + onShareAppMessage: function () { | ||
| 76 | + | ||
| 77 | + } | ||
| 78 | +}) |
| 1 | +<!--pages/main/finalpay/incomeDetail/incomeDetail.wxml--> | ||
| 2 | +<view class="page"> | ||
| 3 | + | ||
| 4 | + <view class="swiper-tab" style='display:flex'> | ||
| 5 | + <view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" style="margin:0 10rpx" data-current="0" bindtap="swichNav">本单位收入</view> | ||
| 6 | + <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" style="margin:0 10rpx" data-current="1" bindtap="swichNav">本单位其他收入</view> | ||
| 7 | + <view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" style="margin:0 10rpx" data-current="2" bindtap="swichNav">其他单位收入</view> | ||
| 8 | + </view> | ||
| 9 | + | ||
| 10 | + <scroll-view class="swiper-box page" style="height:100%;" bindchange="bindChange"> | ||
| 11 | + <!-- 境内收入 --> | ||
| 12 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 13 | + <view style="margin-bottom:20rpx"> | ||
| 14 | + <text class="text_black3_34">境内收入</text> | ||
| 15 | + </view> | ||
| 16 | + <view> | ||
| 17 | + <text class="text_black6_32">工资薪金收入</text> | ||
| 18 | + <text class="text_black6_32 float_right">100000</text> | ||
| 19 | + </view> | ||
| 20 | + <view> | ||
| 21 | + <text class="text_black6_32">劳务报酬收入</text> | ||
| 22 | + <text class="text_black6_32 float_right">100000</text> | ||
| 23 | + </view> | ||
| 24 | + <view> | ||
| 25 | + <text class="text_black6_32">稿酬收入</text> | ||
| 26 | + <text class="text_black6_32 float_right">100000</text> | ||
| 27 | + </view> | ||
| 28 | + <view> | ||
| 29 | + <text class="text_black6_32">特许经营权</text> | ||
| 30 | + <text class="text_black6_32 float_right">100000</text> | ||
| 31 | + </view> | ||
| 32 | + <view> | ||
| 33 | + <text class="text_black6_32">其他免税收入</text> | ||
| 34 | + <text class="text_black6_32 float_right">100000</text> | ||
| 35 | + </view> | ||
| 36 | + </view> | ||
| 37 | + <!-- 免税收入 --> | ||
| 38 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 39 | + <view style="margin-bottom:20rpx"> | ||
| 40 | + <text class="text_black3_34">免税收入</text> | ||
| 41 | + </view> | ||
| 42 | + <view> | ||
| 43 | + <text class="text_black6_32">其他免税收入</text> | ||
| 44 | + <text class="text_black6_32 float_right">2000</text> | ||
| 45 | + </view> | ||
| 46 | + </view> | ||
| 47 | +<!-- 专项扣除 --> | ||
| 48 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 49 | + <view style="margin-bottom:20rpx"> | ||
| 50 | + <text class="text_black3_34">专项扣除</text> | ||
| 51 | + </view> | ||
| 52 | + <view> | ||
| 53 | + <text class="text_black6_32">养老保险</text> | ||
| 54 | + <text class="text_black6_32 float_right">100000</text> | ||
| 55 | + </view> | ||
| 56 | + <view> | ||
| 57 | + <text class="text_black6_32">医疗保险</text> | ||
| 58 | + <text class="text_black6_32 float_right">100000</text> | ||
| 59 | + </view> | ||
| 60 | + <view> | ||
| 61 | + <text class="text_black6_32">失业保险</text> | ||
| 62 | + <text class="text_black6_32 float_right">100000</text> | ||
| 63 | + </view> | ||
| 64 | + <view> | ||
| 65 | + <text class="text_black6_32">住房公积金</text> | ||
| 66 | + <text class="text_black6_32 float_right">100000</text> | ||
| 67 | + </view> | ||
| 68 | + </view> | ||
| 69 | + <!-- 专项附加扣除 --> | ||
| 70 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 71 | + <view style="margin-bottom:20rpx"> | ||
| 72 | + <text class="text_black3_34">专项附加扣除</text> | ||
| 73 | + </view> | ||
| 74 | + <view> | ||
| 75 | + <text class="text_black6_32">子女教育</text> | ||
| 76 | + <text class="text_black6_32 float_right">100000</text> | ||
| 77 | + </view> | ||
| 78 | + <view> | ||
| 79 | + <text class="text_black6_32">继续教育</text> | ||
| 80 | + <text class="text_black6_32 float_right">100000</text> | ||
| 81 | + </view> | ||
| 82 | + <view> | ||
| 83 | + <text class="text_black6_32">住房贷款利息</text> | ||
| 84 | + <text class="text_black6_32 float_right">100000</text> | ||
| 85 | + </view> | ||
| 86 | + <view> | ||
| 87 | + <text class="text_black6_32">住房租金</text> | ||
| 88 | + <text class="text_black6_32 float_right">100000</text> | ||
| 89 | + </view> | ||
| 90 | + <view> | ||
| 91 | + <text class="text_black6_32">赡养老人</text> | ||
| 92 | + <text class="text_black6_32 float_right">100000</text> | ||
| 93 | + </view> | ||
| 94 | + <view> | ||
| 95 | + <text class="text_black6_32">大病医疗</text> | ||
| 96 | + <text class="text_black6_32 float_right">100000</text> | ||
| 97 | + </view> | ||
| 98 | + </view> | ||
| 99 | + <!-- 其他扣除 --> | ||
| 100 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 101 | + <view style="margin-bottom:20rpx"> | ||
| 102 | + <text class="text_black3_34">其他扣除</text> | ||
| 103 | + </view> | ||
| 104 | + <view> | ||
| 105 | + <text class="text_black6_32">年金</text> | ||
| 106 | + <text class="text_black6_32 float_right">100000</text> | ||
| 107 | + </view> | ||
| 108 | + <view> | ||
| 109 | + <text class="text_black6_32">商业健康保险</text> | ||
| 110 | + <text class="text_black6_32 float_right">100000</text> | ||
| 111 | + </view> | ||
| 112 | + <view> | ||
| 113 | + <text class="text_black6_32">税延养老保险</text> | ||
| 114 | + <text class="text_black6_32 float_right">100000</text> | ||
| 115 | + </view> | ||
| 116 | + <view> | ||
| 117 | + <text class="text_black6_32">其他</text> | ||
| 118 | + <text class="text_black6_32 float_right">100000</text> | ||
| 119 | + </view> | ||
| 120 | + </view> | ||
| 121 | + <!-- 捐赠扣除 --> | ||
| 122 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 123 | + <view style="margin-bottom:20rpx"> | ||
| 124 | + <text class="text_black3_34">捐赠扣除</text> | ||
| 125 | + </view> | ||
| 126 | + <view> | ||
| 127 | + <text class="text_black6_32">准予扣除的捐赠额</text> | ||
| 128 | + <text class="text_black6_32 float_right">100000</text> | ||
| 129 | + </view> | ||
| 130 | + <view> | ||
| 131 | + <text class="text_black6_32">全年一次性奖金</text> | ||
| 132 | + <text class="text_black6_32 float_right">100000</text> | ||
| 133 | + </view> | ||
| 134 | + </view> | ||
| 135 | + <!-- 减免/已缴纳税额 --> | ||
| 136 | + <view style="background:#fff;padding:30rpx;margin-top:20rpx"> | ||
| 137 | + <view style="margin-bottom:20rpx"> | ||
| 138 | + <text class="text_black3_34">减免/已缴纳税额</text> | ||
| 139 | + </view> | ||
| 140 | + <view> | ||
| 141 | + <text class="text_black6_32">减免税额</text> | ||
| 142 | + <text class="text_black6_32 float_right">100000</text> | ||
| 143 | + </view> | ||
| 144 | + <view> | ||
| 145 | + <text class="text_black6_32">已缴税额</text> | ||
| 146 | + <text class="text_black6_32 float_right">100000</text> | ||
| 147 | + </view> | ||
| 148 | + </view> | ||
| 149 | + </scroll-view> | ||
| 150 | +</view> |
| 1 | +/* pages/main/finalpay/incomeDetail/incomeDetail.wxss */ | ||
| 2 | +.page { | ||
| 3 | + background-color: #f5f5f5; | ||
| 4 | +} | ||
| 5 | + | ||
| 6 | +.swiper-tab { | ||
| 7 | + width: 100%; | ||
| 8 | + text-align: center; | ||
| 9 | + line-height: 88rpx; | ||
| 10 | + background: #fff; | ||
| 11 | + box-sizing: border-box; | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +.swiper-tab-list { | ||
| 15 | + font-size: 30rpx; | ||
| 16 | + display: inline-block; | ||
| 17 | + color: #333; | ||
| 18 | + flex: 1 | ||
| 19 | +} | ||
| 20 | + | ||
| 21 | +.on { | ||
| 22 | + color: #4e8fe7; | ||
| 23 | + border-bottom: 6rpx solid #4e8fe7; | ||
| 24 | +} | ||
| 25 | + | ||
| 26 | +.text_black3_34 { | ||
| 27 | + font-family:PingFangSC-Medium,PingFang SC; | ||
| 28 | + font-size: 34rpx; | ||
| 29 | + color: #333333; | ||
| 30 | + text-align: center; | ||
| 31 | + line-height: 24px; | ||
| 32 | +} | ||
| 33 | + | ||
| 34 | +.text_black6_32 { | ||
| 35 | + font-family:PingFangSC-Regular,PingFang SC; | ||
| 36 | + font-size: 32rpx; | ||
| 37 | + color: #666666; | ||
| 38 | + text-align: center; | ||
| 39 | + line-height: 32px; | ||
| 40 | +} |
| @@ -94,7 +94,9 @@ Page({ | @@ -94,7 +94,9 @@ Page({ | ||
| 94 | }) | 94 | }) |
| 95 | } else if (skip_type == "4") { | 95 | } else if (skip_type == "4") { |
| 96 | wx.navigateTo({ | 96 | wx.navigateTo({ |
| 97 | - url: '../finalpayment/home', | 97 | + //第一版本的跳转路径 |
| 98 | + // url: '../finalpayment/home', | ||
| 99 | + url:'../finalpay/home', | ||
| 98 | }) | 100 | }) |
| 99 | } | 101 | } |
| 100 | } | 102 | } |
| @@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
| 36 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 36 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
| 37 | </view> | 37 | </view> |
| 38 | 38 | ||
| 39 | - <!-- <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='goFinalPayment'> | 39 | + <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='goFinalPayment'> |
| 40 | <image class="icon_wrap" src="/images/final_payment.png"></image> | 40 | <image class="icon_wrap" src="/images/final_payment.png"></image> |
| 41 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 41 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
| 42 | <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> | 42 | <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> |
| @@ -44,7 +44,7 @@ | @@ -44,7 +44,7 @@ | ||
| 44 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>查看个人年度税收信息,年度汇算清缴</text> | 44 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>查看个人年度税收信息,年度汇算清缴</text> |
| 45 | </view> | 45 | </view> |
| 46 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 46 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
| 47 | - </view> --> | 47 | + </view> |
| 48 | 48 | ||
| 49 | <!-- <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='gotaxCalculate'> | 49 | <!-- <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='gotaxCalculate'> |
| 50 | <image class="icon_wrap" src="/images/tax_calculate.png"></image> | 50 | <image class="icon_wrap" src="/images/tax_calculate.png"></image> |
请
注册
或
登录
后发表评论