正在显示
13 个修改的文件
包含
383 行增加
和
4 行删除
@@ -30,6 +30,8 @@ | @@ -30,6 +30,8 @@ | ||
30 | "pages/main/finalpay/refundInfo/refundInfo", | 30 | "pages/main/finalpay/refundInfo/refundInfo", |
31 | "pages/main/finalpay/refundDetail/refundDetail", | 31 | "pages/main/finalpay/refundDetail/refundDetail", |
32 | "pages/main/finalpay/freeIncomeDetail/freeIncomeDetail", | 32 | "pages/main/finalpay/freeIncomeDetail/freeIncomeDetail", |
33 | + "pages/main/finalpay/otherDeductDetail/healthInsurDetail", | ||
34 | + "pages/main/finalpay/otherDeductDetail/endowmentInsurDetail", | ||
33 | "pages/main/finalpay/otherDeductDetail/otherDeductDetail", | 35 | "pages/main/finalpay/otherDeductDetail/otherDeductDetail", |
34 | "pages/main/finalpay/donationDetail/donationDetail", | 36 | "pages/main/finalpay/donationDetail/donationDetail", |
35 | "pages/main/finalpay/deductOrPayedDetail/deductOrPayedDetail", | 37 | "pages/main/finalpay/deductOrPayedDetail/deductOrPayedDetail", |
1 | +// pages/main/finalpay/otherDeductDetail/endowmentInsurDetail.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + infoList: [{}], | ||
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 | + addItem: function () {//继续添加 | ||
33 | + var info = this.data.infoList; | ||
34 | + console.log(info); | ||
35 | + info.push(this.data.infoList.length); | ||
36 | + this.setData({ | ||
37 | + infoList: info | ||
38 | + }); | ||
39 | + }, | ||
40 | + | ||
41 | + goSubmit: function (e) { | ||
42 | + console.log('form发生了submit事件,携带数据为:', e.detail.value) | ||
43 | + }, | ||
44 | + | ||
45 | + /** | ||
46 | + * Lifecycle function--Called when page hide | ||
47 | + */ | ||
48 | + onHide: function () { | ||
49 | + | ||
50 | + }, | ||
51 | + | ||
52 | + /** | ||
53 | + * Lifecycle function--Called when page unload | ||
54 | + */ | ||
55 | + onUnload: function () { | ||
56 | + | ||
57 | + }, | ||
58 | + | ||
59 | + /** | ||
60 | + * Page event handler function--Called when user drop down | ||
61 | + */ | ||
62 | + onPullDownRefresh: function () { | ||
63 | + | ||
64 | + }, | ||
65 | + | ||
66 | + /** | ||
67 | + * Called when page reach bottom | ||
68 | + */ | ||
69 | + onReachBottom: function () { | ||
70 | + | ||
71 | + }, | ||
72 | + | ||
73 | + /** | ||
74 | + * Called when user click on the top right corner to share | ||
75 | + */ | ||
76 | + onShareAppMessage: function () { | ||
77 | + | ||
78 | + } | ||
79 | +}) |
1 | +<!--pages/main/finalpay/otherDeductDetail/endowmentInsurDetail.wxml--> | ||
2 | +<view > | ||
3 | + <view style="background:#fff;padding:0 30rpx;"> | ||
4 | + <text class="text_gray7_34">税延养老保险合计</text> | ||
5 | + <text class="text_black3_34 float_right">{{3000}}</text> | ||
6 | + </view> | ||
7 | + | ||
8 | + <view wx:for="{{infoList}}" style="background:#fff;margin-top:20rpx"> | ||
9 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
10 | + <text class="text_gray7_34">税延养老账号编号</text> | ||
11 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' bindblur="bindIncome" value="{{}}"></input> | ||
12 | + </view> | ||
13 | + <view class="divide_line_30"></view> | ||
14 | + <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="date" bindchange="bindDeductContent" > | ||
15 | + <text class="text_gray7_34">申报扣除期起</text> | ||
16 | + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | ||
17 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请选择' name='' value="{{}}"></input> | ||
18 | + </picker> | ||
19 | + <view class="divide_line_30"></view> | ||
20 | + <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="date" bindchange="bindDeductContent" > | ||
21 | + <text class="text_gray7_34">申报扣除期止</text> | ||
22 | + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | ||
23 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请选择' name='' value="{{}}"></input> | ||
24 | + </picker> | ||
25 | + <view class="divide_line_30"></view> | ||
26 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
27 | + <text class="text_gray7_34">报税校验码</text> | ||
28 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' bindblur="bindIncome" value="{{}}"></input> | ||
29 | + </view> | ||
30 | + <view class="divide_line_30"></view> | ||
31 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
32 | + <text class="text_gray7_34">年度保费</text> | ||
33 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' type="digit" bindblur="bindIncome" value="{{}}"></input> | ||
34 | + </view> | ||
35 | + <view class="divide_line_30"></view> | ||
36 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
37 | + <text class="text_gray7_34">月度保费</text> | ||
38 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' type="digit" bindblur="bindIncome" value="{{}}"></input> | ||
39 | + </view> | ||
40 | + <view class="divide_line_30"></view> | ||
41 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
42 | + <text class="text_gray7_34">本年扣除金额</text> | ||
43 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' type="digit" bindblur="bindIncome" value="{{}}"></input> | ||
44 | + </view> | ||
45 | + </view> | ||
46 | + | ||
47 | + <view style="background:#fff;margin-top:20rpx;height:104rpx;display:flex;align-items:center;justify-content:center;margin-bottom:84rpx" bindtap="addItem"> | ||
48 | + <image style="width:28rpx;height:28rpx;margin-right:16rpx" src="/images/add_extra.png"></image> | ||
49 | + <text style="font-size:28rpx;color:#4986fe">继续添加</text> | ||
50 | + </view> | ||
51 | + <view class="btn_bottom" bindtap="goSubmit"> | ||
52 | + <button class="btn_bottom" >保存</button> | ||
53 | + </view> | ||
54 | +</view> |
1 | +/* pages/main/finalpay/otherDeductDetail/endowmentInsurDetail.wxss */ | ||
2 | +page { | ||
3 | + background-color: #f5f5f5; | ||
4 | +} | ||
5 | + | ||
6 | +.text_gray7_34 { | ||
7 | + font-family:PingFangSC-Regular,PingFang SC; | ||
8 | + font-size: 34rpx; | ||
9 | + color: #777777; | ||
10 | + text-align: center; | ||
11 | + line-height: 104rpx; | ||
12 | +} | ||
13 | + | ||
14 | +.text_black3_34 { | ||
15 | + font-family:PingFangSC-Regular,PingFang SC; | ||
16 | + font-size: 34rpx; | ||
17 | + color: #333333; | ||
18 | + text-align: center; | ||
19 | + line-height: 104rpx; | ||
20 | +} | ||
21 | + | ||
22 | +.input_wrap { | ||
23 | + max-width: 600rpx; | ||
24 | + height: 104rpx; | ||
25 | + font-size: 32rpx; | ||
26 | + color: #fff; | ||
27 | + text-align: right; | ||
28 | + overflow: hidden; | ||
29 | + float: right; | ||
30 | +} | ||
31 | + | ||
32 | +.arrow_wrap { | ||
33 | + width: 60rpx; | ||
34 | + height: 60rpx; | ||
35 | + margin-top: 20rpx | ||
36 | +} |
1 | +// pages/main/finalpay/otherDeductDetail/healthInsurDetail.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + infoList: [{}], | ||
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 | + addItem: function () {//继续添加 | ||
33 | + var info = this.data.infoList; | ||
34 | + console.log(info); | ||
35 | + info.push(this.data.infoList.length); | ||
36 | + this.setData({ | ||
37 | + infoList: info | ||
38 | + }); | ||
39 | + }, | ||
40 | + | ||
41 | + goSubmit: function (e) { | ||
42 | + console.log('form发生了submit事件,携带数据为:', e.detail.value) | ||
43 | + }, | ||
44 | + | ||
45 | + /** | ||
46 | + * Lifecycle function--Called when page hide | ||
47 | + */ | ||
48 | + onHide: function () { | ||
49 | + | ||
50 | + }, | ||
51 | + | ||
52 | + /** | ||
53 | + * Lifecycle function--Called when page unload | ||
54 | + */ | ||
55 | + onUnload: function () { | ||
56 | + | ||
57 | + }, | ||
58 | + | ||
59 | + /** | ||
60 | + * Page event handler function--Called when user drop down | ||
61 | + */ | ||
62 | + onPullDownRefresh: function () { | ||
63 | + | ||
64 | + }, | ||
65 | + | ||
66 | + /** | ||
67 | + * Called when page reach bottom | ||
68 | + */ | ||
69 | + onReachBottom: function () { | ||
70 | + | ||
71 | + }, | ||
72 | + | ||
73 | + /** | ||
74 | + * Called when user click on the top right corner to share | ||
75 | + */ | ||
76 | + onShareAppMessage: function () { | ||
77 | + | ||
78 | + } | ||
79 | +}) |
1 | +<view > | ||
2 | + <view style="background:#fff;padding:0 30rpx;"> | ||
3 | + <text class="text_gray7_34">商业健康保险合计</text> | ||
4 | + <text class="text_black3_34 float_right">{{3000}}</text> | ||
5 | + </view> | ||
6 | + | ||
7 | + <view wx:for="{{infoList}}" style="background:#fff;margin-top:20rpx"> | ||
8 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
9 | + <text class="text_gray7_34">税优识别码</text> | ||
10 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' bindblur="bindIncome" value="{{}}"></input> | ||
11 | + </view> | ||
12 | + <view class="divide_line_30"></view> | ||
13 | + <view class="divide_line_30"></view> | ||
14 | + <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="date" bindchange="bindDeductContent" > | ||
15 | + <text class="text_gray7_34">保单生效日期</text> | ||
16 | + <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | ||
17 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请选择' name='' value="{{}}"></input> | ||
18 | + </picker> | ||
19 | + <view class="divide_line_30"></view> | ||
20 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
21 | + <text class="text_gray7_34">年度保费</text> | ||
22 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' type="digit" bindblur="bindIncome" value="{{}}"></input> | ||
23 | + </view> | ||
24 | + <view class="divide_line_30"></view> | ||
25 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
26 | + <text class="text_gray7_34">月度保费</text> | ||
27 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' type="digit" bindblur="bindIncome" value="{{}}"></input> | ||
28 | + </view> | ||
29 | + <view class="divide_line_30"></view> | ||
30 | + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx"> | ||
31 | + <text class="text_gray7_34">本年扣除金额</text> | ||
32 | + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='name' type="digit" bindblur="bindIncome" value="{{}}"></input> | ||
33 | + </view> | ||
34 | + </view> | ||
35 | + | ||
36 | + <view style="background:#fff;margin-top:20rpx;height:104rpx;display:flex;align-items:center;justify-content:center;margin-bottom:84rpx" bindtap="addItem"> | ||
37 | + <image style="width:28rpx;height:28rpx;margin-right:16rpx" src="/images/add_extra.png"></image> | ||
38 | + <text style="font-size:28rpx;color:#4986fe">继续添加</text> | ||
39 | + </view> | ||
40 | + <view class="btn_bottom" bindtap="goSubmit"> | ||
41 | + <button class="btn_bottom" >保存</button> | ||
42 | + </view> | ||
43 | +</view> |
1 | +/* pages/main/finalpay/otherDeductDetail/healthInsurDetail.wxss */ | ||
2 | +page { | ||
3 | + background-color: #f5f5f5; | ||
4 | +} | ||
5 | + | ||
6 | +.text_gray7_34 { | ||
7 | + font-family:PingFangSC-Regular,PingFang SC; | ||
8 | + font-size: 34rpx; | ||
9 | + color: #777777; | ||
10 | + text-align: center; | ||
11 | + line-height: 104rpx; | ||
12 | +} | ||
13 | + | ||
14 | +.text_black3_34 { | ||
15 | + font-family:PingFangSC-Regular,PingFang SC; | ||
16 | + font-size: 34rpx; | ||
17 | + color: #333333; | ||
18 | + text-align: center; | ||
19 | + line-height: 104rpx; | ||
20 | +} | ||
21 | + | ||
22 | +.input_wrap { | ||
23 | + max-width: 600rpx; | ||
24 | + height: 104rpx; | ||
25 | + font-size: 32rpx; | ||
26 | + color: #fff; | ||
27 | + text-align: right; | ||
28 | + overflow: hidden; | ||
29 | + float: right; | ||
30 | +} | ||
31 | + | ||
32 | +.arrow_wrap { | ||
33 | + width: 60rpx; | ||
34 | + height: 60rpx; | ||
35 | + margin-top: 20rpx | ||
36 | +} |
@@ -29,6 +29,20 @@ Page({ | @@ -29,6 +29,20 @@ Page({ | ||
29 | 29 | ||
30 | }, | 30 | }, |
31 | 31 | ||
32 | +// 商业健康保险 | ||
33 | + healthInsurDetail:function(){ | ||
34 | + wx.navigateTo({ | ||
35 | + url: 'healthInsurDetail', | ||
36 | + }) | ||
37 | + }, | ||
38 | + | ||
39 | +// 税延养老保险 | ||
40 | + endowmentInsurDetail: function () { | ||
41 | + wx.navigateTo({ | ||
42 | + url: 'endowmentInsurDetail', | ||
43 | + }) | ||
44 | + }, | ||
45 | + | ||
32 | /** | 46 | /** |
33 | * Lifecycle function--Called when page hide | 47 | * Lifecycle function--Called when page hide |
34 | */ | 48 | */ |
1 | -<!--pages/main/finalpay/otherDeductDetail/otherDeductDetail.wxml--> | ||
2 | -<text>pages/main/finalpay/otherDeductDetail/otherDeductDetail.wxml</text> | 1 | +<view> |
2 | + <view style="background:#fff;padding:0 30rpx;" bindtap="healthInsurDetail"> | ||
3 | + <text class="text_gray7_34">商业健康保险合计</text> | ||
4 | + <image class='arrow_wrap' style='margin-top: 32rpx' src='/images/arrow_right.png'></image> | ||
5 | + <text class="text_black3_34 float_right">{{3000}}</text> | ||
6 | + </view> | ||
7 | + <view class="divide_line_30"></view> | ||
8 | + <view style="background:#fff;padding:0 30rpx;" bindtap="endowmentInsurDetail"> | ||
9 | + <text class="text_gray7_34">税延养老保险合计</text> | ||
10 | + <image class='arrow_wrap' style='margin-top: 32rpx' src='/images/arrow_right.png'></image> | ||
11 | + <text class="text_black3_34 float_right">{{5000}}</text> | ||
12 | + </view> | ||
13 | +</view> |
1 | -/* pages/main/finalpay/otherDeductDetail/otherDeductDetail.wxss */ | ||
1 | +/* pages/main/finalpay/otherDeductDetail/otherDeductDetail.wxss */ | ||
2 | +page { | ||
3 | + background-color: #f5f5f5; | ||
4 | +} | ||
5 | + | ||
6 | +.text_gray7_34 { | ||
7 | + font-family:PingFangSC-Regular,PingFang SC; | ||
8 | + font-size: 34rpx; | ||
9 | + color: #777777; | ||
10 | + text-align: center; | ||
11 | + line-height: 104rpx; | ||
12 | +} | ||
13 | + | ||
14 | +.text_black3_34 { | ||
15 | + font-family:PingFangSC-Regular,PingFang SC; | ||
16 | + font-size: 34rpx; | ||
17 | + color: #333333; | ||
18 | + text-align: center; | ||
19 | + line-height: 104rpx; | ||
20 | +} |
请
注册
或
登录
后发表评论