正在显示
49 个修改的文件
包含
837 行增加
和
28 行删除
@@ -2,10 +2,18 @@ | @@ -2,10 +2,18 @@ | ||
2 | "pages": [ | 2 | "pages": [ |
3 | "pages/main/guide/guide", | 3 | "pages/main/guide/guide", |
4 | "pages/getPhone/getPhone", | 4 | "pages/getPhone/getPhone", |
5 | - "pages/main/home/home", | ||
6 | - "pages/main/editinfo/editinfo", | ||
7 | - "pages/main/addinfo/addinfo", | ||
8 | - "pages/main/idinfo/idinfo", | 5 | + "pages/main/taxperson/home", |
6 | + "pages/main/taxperson/editinfo/editinfo", | ||
7 | + "pages/main/taxperson/addinfo/addinfo", | ||
8 | + "pages/main/taxperson/idinfo/idinfo", | ||
9 | + | ||
10 | + "pages/main/addtionalreduce/home", | ||
11 | + "pages/main/addtionalreduce/godeclare/godeclare", | ||
12 | + "pages/main/addtionalreduce/godetail/godetail", | ||
13 | + | ||
14 | + "pages/main/advancepayment/home", | ||
15 | + | ||
16 | + "pages/main/finalpayment/home", | ||
9 | "pages/login/login" | 17 | "pages/login/login" |
10 | ], | 18 | ], |
11 | "window": { | 19 | "window": { |
@@ -19,6 +19,12 @@ | @@ -19,6 +19,12 @@ | ||
19 | height: 2rpx; | 19 | height: 2rpx; |
20 | } | 20 | } |
21 | 21 | ||
22 | +.divide_line_f5f5f5{ | ||
23 | + background: #f5f5f5; | ||
24 | + width: 100%; | ||
25 | + height: 2rpx; | ||
26 | +} | ||
27 | + | ||
22 | .item_body { | 28 | .item_body { |
23 | width: 100%; | 29 | width: 100%; |
24 | height: 80rpx; | 30 | height: 80rpx; |
@@ -47,6 +53,18 @@ | @@ -47,6 +53,18 @@ | ||
47 | line-height: 80rpx; | 53 | line-height: 80rpx; |
48 | } | 54 | } |
49 | 55 | ||
56 | +.text_666_30 { | ||
57 | + font-family: PingFangSC-Regular; | ||
58 | + font-size: 30rpx; | ||
59 | + color: #666; | ||
60 | +} | ||
61 | + | ||
62 | +.text_333_30_bold { | ||
63 | + font-family: PingFangSC-Semibold; | ||
64 | + font-size: 30rpx; | ||
65 | + color: #333; | ||
66 | +} | ||
67 | + | ||
50 | .text_999_28 { | 68 | .text_999_28 { |
51 | font-family: PingFangSC-Regular; | 69 | font-family: PingFangSC-Regular; |
52 | font-size: 26rpx; | 70 | font-size: 26rpx; |
@@ -55,6 +73,12 @@ | @@ -55,6 +73,12 @@ | ||
55 | line-height: 80rpx; | 73 | line-height: 80rpx; |
56 | } | 74 | } |
57 | 75 | ||
76 | +.text_black_32 { | ||
77 | + font-size: 32rpx; | ||
78 | + color: #000; | ||
79 | + line-height: 40rpx; | ||
80 | +} | ||
81 | + | ||
58 | .arrow_wrap { | 82 | .arrow_wrap { |
59 | width: 40rpx; | 83 | width: 40rpx; |
60 | height: 40rpx; | 84 | height: 40rpx; |
@@ -82,3 +106,27 @@ | @@ -82,3 +106,27 @@ | ||
82 | bottom: 0; | 106 | bottom: 0; |
83 | line-height: 84rpx; | 107 | line-height: 84rpx; |
84 | } | 108 | } |
109 | + | ||
110 | +.card_rectangle_bg_row { | ||
111 | + position: relative; | ||
112 | + margin: 0 auto; | ||
113 | + display: flex; | ||
114 | + flex-direction: row; | ||
115 | + margin-left: 30rpx; | ||
116 | + margin-right: 30rpx; | ||
117 | + background: #fff; | ||
118 | + box-shadow: 0 4px 14px 0 rgba(208, 208, 208, 0.50); | ||
119 | + border-radius: 8px; | ||
120 | +} | ||
121 | + | ||
122 | +.card_rectangle_bg_column { | ||
123 | + position: relative; | ||
124 | + margin: 0 auto; | ||
125 | + display: flex; | ||
126 | + flex-direction: column; | ||
127 | + margin-left: 30rpx; | ||
128 | + margin-right: 30rpx; | ||
129 | + background: #fff; | ||
130 | + box-shadow: 0 4px 14px 0 rgba(208, 208, 208, 0.50); | ||
131 | + border-radius: 8px; | ||
132 | +} |
images/already_declare.png
0 → 100644
3.1 KB
images/not_declare.png
0 → 100644
3.2 KB
images/payment_bg.png
0 → 100644
184.3 KB
images/rectangle_icon.png
0 → 100644
348 Bytes
images/selected.png
0 → 100644
1.7 KB
images/selected02.png
0 → 100644
1.4 KB
images/unselected.png
0 → 100644
1.5 KB
images/unselected02.png
0 → 100644
1.1 KB
1 | +// pages/main/addtionalreduce/godeclare/godeclare.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + flag_housing01: false, | ||
9 | + flag_housing02: false, | ||
10 | + repContent: [{ | ||
11 | + message: '子女教育' | ||
12 | + }, { | ||
13 | + message: '继续教育' | ||
14 | + }, { | ||
15 | + message: '赡养老人' | ||
16 | + }, { | ||
17 | + message: '大病医疗' | ||
18 | + }, { | ||
19 | + message: '住房' | ||
20 | + }], | ||
21 | + selectIndex: [{ | ||
22 | + sureid: false | ||
23 | + }, { | ||
24 | + sureid: false | ||
25 | + }, { | ||
26 | + sureid: false | ||
27 | + }, { | ||
28 | + sureid: false | ||
29 | + }, { | ||
30 | + sureid: false | ||
31 | + }, ], | ||
32 | + | ||
33 | + }, | ||
34 | + | ||
35 | + /** | ||
36 | + * Lifecycle function--Called when page load | ||
37 | + */ | ||
38 | + onLoad: function(options) { | ||
39 | + | ||
40 | + }, | ||
41 | + | ||
42 | + /** | ||
43 | + * Lifecycle function--Called when page is initially rendered | ||
44 | + */ | ||
45 | + onReady: function() { | ||
46 | + | ||
47 | + }, | ||
48 | + | ||
49 | + /** | ||
50 | + * Lifecycle function--Called when page show | ||
51 | + */ | ||
52 | + onShow: function() { | ||
53 | + | ||
54 | + }, | ||
55 | + | ||
56 | + selectRep: function(e) { | ||
57 | + let index = e.currentTarget.dataset.selectindex; //当前点击元素的自定义数据,这个很关键 | ||
58 | + let selectIndex = this.data.selectIndex; //取到data里的selectIndex | ||
59 | + selectIndex[index].sureid = !selectIndex[index].sureid; //点击就赋相反的值 | ||
60 | + this.setData({ | ||
61 | + selectIndex: selectIndex //将已改变属性的json数组更新 | ||
62 | + }) | ||
63 | + }, | ||
64 | + | ||
65 | + housing01: function(e) { | ||
66 | + this.setData ({ | ||
67 | + flag_housing01:!this.data.flag_housing01 | ||
68 | + }) | ||
69 | + if (this.data.flag_housing02) { | ||
70 | + this.setData({ | ||
71 | + flag_housing02: !this.data.flag_housing02 | ||
72 | + }) | ||
73 | + } | ||
74 | + }, | ||
75 | + | ||
76 | + housing02: function(e) { | ||
77 | + this.setData({ | ||
78 | + flag_housing02:!this.data.flag_housing02 | ||
79 | + }) | ||
80 | + if (this.data.flag_housing01) { | ||
81 | + this.setData({ | ||
82 | + flag_housing01: !this.data.flag_housing01 | ||
83 | + }) | ||
84 | + } | ||
85 | + }, | ||
86 | + | ||
87 | + /** | ||
88 | + * Lifecycle function--Called when page hide | ||
89 | + */ | ||
90 | + onHide: function() { | ||
91 | + | ||
92 | + }, | ||
93 | + | ||
94 | + /** | ||
95 | + * Lifecycle function--Called when page unload | ||
96 | + */ | ||
97 | + onUnload: function() { | ||
98 | + | ||
99 | + }, | ||
100 | + | ||
101 | + /** | ||
102 | + * Page event handler function--Called when user drop down | ||
103 | + */ | ||
104 | + onPullDownRefresh: function() { | ||
105 | + | ||
106 | + }, | ||
107 | + | ||
108 | + /** | ||
109 | + * Called when page reach bottom | ||
110 | + */ | ||
111 | + onReachBottom: function() { | ||
112 | + | ||
113 | + }, | ||
114 | + | ||
115 | + /** | ||
116 | + * Called when user click on the top right corner to share | ||
117 | + */ | ||
118 | + onShareAppMessage: function() { | ||
119 | + | ||
120 | + } | ||
121 | +}) |
1 | +<!--pages/main/addtionalreduce/godeclare/godeclare.wxml--> | ||
2 | +<view class='page'> | ||
3 | + <view> | ||
4 | + <view class='text_gray_30' style='padding:30rpx'>您新加入了一家单位,请选择在该单位申报的专项附加扣除项</view> | ||
5 | + <view style='padding:0 30rpx'> | ||
6 | + <view class='divide_line_f5f5f5'></view> | ||
7 | + <text class='text_black_30'>选择申报单位</text> | ||
8 | + <view class='float_right'> | ||
9 | + <text class='text_black_30'>请选择申报单位</text> | ||
10 | + <image class='arrow_img_wrap' src='/images/arrow_right.png'></image> | ||
11 | + </view> | ||
12 | + <view class='divide_line_f5f5f5'></view> | ||
13 | + </view> | ||
14 | + <text class='text_black_30' style='padding-left:30rpx'>选择专项附加扣除项</text> | ||
15 | + | ||
16 | + <view wx:for="{{repContent}}" class="multi-selection" style='padding:0 30rpx'> | ||
17 | + <view class='float_left'> | ||
18 | + <image src="{{selectIndex[index].sureid? '/images/selected.png' : '/images/unselected.png'}}" class="multi-img" data-selectIndex="{{index}}" bindtap="selectRep" style='margin-top:20rpx' /> | ||
19 | + </view> | ||
20 | + <text class="{{selectIndex[index].sureid?'select_blue_28':'select_666_28'}}" style='line-height:80rpx;margin-left: 34rpx;'>{{item.message}}</text> | ||
21 | + </view> | ||
22 | + <view wx:if='{{selectIndex[4].sureid}}' style='background: #F1FAFD;height:62rpx;position: relative;display: flex;justify-content:center'> | ||
23 | + <view bindtap='housing01'> | ||
24 | + <view class='float_left'> | ||
25 | + <image class='single-img' src="{{flag_housing01? '/images/selected02.png' : '/images/unselected02.png'}}" style='margin-top:16rpx'></image> | ||
26 | + </view> | ||
27 | + <text class="{{flag_housing01?'select_blue_28':'select_666_28'}}" style='line-height:62rpx;margin-left: 26rpx;'>住房贷款利息</text> | ||
28 | + </view> | ||
29 | + <text style='margin:0rpx 20rpx;color:#999;font-size: 28rpx;line-height:62rpx'>/</text> | ||
30 | + <view bindtap='housing02'> | ||
31 | + <view class='float_left'> | ||
32 | + <image class='single-img' src="{{flag_housing02? '/images/selected02.png' : '/images/unselected02.png'}}" style='margin-top:16rpx'></image> | ||
33 | + </view> | ||
34 | + <text class="{{flag_housing02?'select_blue_28':'select_666_28'}}" style='line-height:62rpx;margin-left: 26rpx;'>住房租金</text> | ||
35 | + </view> | ||
36 | + </view> | ||
37 | + </view> | ||
38 | + | ||
39 | + <view> | ||
40 | + <button class="btn_bottom"> 提交</button> | ||
41 | + </view> | ||
42 | +</view> |
1 | +.text_gray_30 { | ||
2 | + font-size: 30rpx; | ||
3 | + color: #6C7596 ; | ||
4 | + font-weight: bold; | ||
5 | +} | ||
6 | + | ||
7 | +.text_black_30 { | ||
8 | + font-size: 30rpx; | ||
9 | + color: #000; | ||
10 | + line-height: 90rpx; | ||
11 | +} | ||
12 | + | ||
13 | +.arrow_img_wrap { | ||
14 | + width: 40rpx; | ||
15 | + height: 40rpx; | ||
16 | + align-items: center; | ||
17 | + float: right; | ||
18 | + margin-top:24rpx; | ||
19 | +} | ||
20 | + | ||
21 | +.multi-selection{ | ||
22 | + position: relative; | ||
23 | + height: 80rpx; | ||
24 | + align-items: center | ||
25 | +} | ||
26 | + | ||
27 | +.multi-img{ | ||
28 | + width: 40rpx; | ||
29 | + height: 40rpx; | ||
30 | +} | ||
31 | + | ||
32 | +.single-img{ | ||
33 | + width: 30rpx; | ||
34 | + height: 30rpx; | ||
35 | +} | ||
36 | + | ||
37 | +.select_blue_28{ | ||
38 | + font-size: 28rpx; | ||
39 | +color: #1890FF; | ||
40 | +} | ||
41 | + | ||
42 | +.select_666_28{ | ||
43 | + font-size: 28rpx; | ||
44 | +color: #666666; | ||
45 | +} |
1 | +// pages/main/addtionalreduce/godetail/godetail.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + datas: ["子女教育", "继续教育", "赡养老人", "大病医疗"] | ||
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 | +{} |
1 | +<!--pages/main/addtionalreduce/godetail/godetail.wxml--> | ||
2 | +<view class='page' style='margin-bottom:30rpx'> | ||
3 | + <view class='text_gray_30' style='padding:30rpx'>您在“北京小爱科技”申报的专项附加扣除项已添加完成,请完善各项的具体申报内容。</view> | ||
4 | + <view style='padding-left:30rpx;padding-right:30rpx'> | ||
5 | + <image class='icon_wrap' src="/images/rectangle_icon.png"></image> | ||
6 | + <text style='padding-left:20rpx' class='text_gray_32'>北京小爱科技公司</text> | ||
7 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx' ></view> | ||
8 | + </view> | ||
9 | + <view wx:if="true"> | ||
10 | + <view wx:for="{{datas}}"> | ||
11 | + <view class='card_rectangle_bg_column' style='padding:30rpx;margin-top:30rpx'> | ||
12 | + <text class='text_black_32'>{{datas[index]}}</text> | ||
13 | + <view style='margin:20rpx 0'> | ||
14 | + <text class='text_gray_22 float_left'>已抵扣额度:4890.00</text> | ||
15 | + <text class='text_gray_22 float_right'>剩余可抵扣额度:12810.00</text> | ||
16 | + </view> | ||
17 | + <view class='divide_line_f5f5f5'></view> | ||
18 | + <view style='padding:20rpx 0'> | ||
19 | + <text class='text_blue_28'>查看并调整</text> | ||
20 | + <image class='arrow_img_wrap' src='/images/arrow_right.png'></image> | ||
21 | + </view> | ||
22 | + </view> | ||
23 | + </view> | ||
24 | + </view> | ||
25 | +</view> |
1 | +/* pages/main/addtionalreduce/godetail/godetail.wxss */ | ||
2 | +.text_gray_30 { | ||
3 | + font-size: 30rpx; | ||
4 | + color: #6C7596 ; | ||
5 | + font-weight: bold; | ||
6 | +} | ||
7 | + | ||
8 | +.text_gray_32 { | ||
9 | + font-size: 32rpx; | ||
10 | + color: #6C7596 ; | ||
11 | + font-family: PingFangSC-Semibold; | ||
12 | +} | ||
13 | + | ||
14 | +.text_gray_22 { | ||
15 | + font-size: 22rpx; | ||
16 | + color: #9DA7B3; | ||
17 | +} | ||
18 | + | ||
19 | +.icon_wrap{ | ||
20 | + width: 8rpx; | ||
21 | + height: 28rpx; | ||
22 | +} | ||
23 | + | ||
24 | +.text_blue_28 { | ||
25 | + font-family: PingFangSC-Regular; | ||
26 | + font-size: 28rpx; | ||
27 | + color: #357aeb; | ||
28 | +} | ||
29 | + | ||
30 | +.arrow_img_wrap { | ||
31 | + width: 40rpx; | ||
32 | + height: 40rpx; | ||
33 | + align-items: center; | ||
34 | + float: right; | ||
35 | + margin-top:10rpx; | ||
36 | + | ||
37 | +} |
pages/main/addtionalreduce/home.js
0 → 100644
1 | +// pages/main/addtionalreduce/home.js | ||
2 | +Page({ | ||
3 | + | ||
4 | + /** | ||
5 | + * Page initial data | ||
6 | + */ | ||
7 | + data: { | ||
8 | + datas:["子女教育","继续教育","赡养老人","大病医疗"] | ||
9 | + }, | ||
10 | + | ||
11 | + /** | ||
12 | + * Lifecycle function--Called when page load | ||
13 | + */ | ||
14 | + onLoad: function (options) { | ||
15 | + | ||
16 | + }, | ||
17 | + | ||
18 | + godeclare:function(){ | ||
19 | + wx.navigateTo({ | ||
20 | + url: 'godeclare/godeclare', | ||
21 | + }) | ||
22 | + }, | ||
23 | + | ||
24 | + godetail: function () { | ||
25 | + wx.navigateTo({ | ||
26 | + url: 'godetail/godetail', | ||
27 | + }) | ||
28 | + }, | ||
29 | + | ||
30 | + /** | ||
31 | + * Lifecycle function--Called when page is initially rendered | ||
32 | + */ | ||
33 | + onReady: function () { | ||
34 | + | ||
35 | + }, | ||
36 | + | ||
37 | + /** | ||
38 | + * Lifecycle function--Called when page show | ||
39 | + */ | ||
40 | + onShow: function () { | ||
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 | +}) |
pages/main/addtionalreduce/home.json
0 → 100644
pages/main/addtionalreduce/home.wxml
0 → 100644
1 | +<!--pages/main/addtionalreduce/home.wxml--> | ||
2 | +<view class='page'> | ||
3 | + | ||
4 | + <view style='margin-bottom:30rpx'> | ||
5 | + <block wx:for="{{datas}}" wx:key=""> | ||
6 | + <view class='card_rectangle_bg_column' style="margin-top:30rpx"> | ||
7 | + <view style='position:absolute' style='padding:44rpx 30rpx;'> | ||
8 | + <view hidden='{{index!=0}}' style='float:left;margin-top:4rpx'> | ||
9 | + <text class='text_999_32'>北京小爱科技北京小爱科小爱</text> | ||
10 | + </view> | ||
11 | + <view hidden='{{index==0}}' style='float:left;margin-top:4rpx'> | ||
12 | + <text class='text_black_32'>北京小爱科技北京小爱</text> | ||
13 | + </view> | ||
14 | + | ||
15 | + <image hidden='{{index!=0}}' class='declare_image_wrap' style='margin-top:12rpx;' src='/images/already_declare.png'></image> | ||
16 | + | ||
17 | + <image hidden='{{index==0}}' class='declare_image_wrap' style='margin-top:12rpx;' src='/images/not_declare.png'></image> | ||
18 | + <view style='float:right' hidden='{{index!=0}}' bindtap='godeclare'> | ||
19 | + <text class='text_blue_28'>去申报</text> | ||
20 | + <image class='arrow_img_wrap' src='/images/arrow_right.png'></image> | ||
21 | + </view> | ||
22 | + <view style='float:right' hidden='{{index==0}}' bindtap='godetail'> | ||
23 | + <text class='text_blue_28'>调整使用项</text> | ||
24 | + <image class='arrow_img_wrap' src='/images/arrow_right.png'></image> | ||
25 | + </view> | ||
26 | + | ||
27 | + </view> | ||
28 | + | ||
29 | + <view wx:if="{{index!=0}}" style=''> | ||
30 | + <block wx:for="{{datas}}" wx:key=""> | ||
31 | + <view class='divide_line'></view> | ||
32 | + <view style='padding:44rpx 30rpx;display:flex;flex-direction:column'> | ||
33 | + <view> | ||
34 | + <text class='text_666_30 float_left'>{{datas[index]}}</text> | ||
35 | + <text class='text_blue_28 float_right'>查看并调整</text> | ||
36 | + </view> | ||
37 | + <view style='margin-top:20rpx'> | ||
38 | + <text class='text_gray_22 float_left'>已抵扣额度:4890.00</text> | ||
39 | + <text class='text_gray_22 float_right'>剩余可抵扣额度:12810.00</text> | ||
40 | + </view> | ||
41 | + </view> | ||
42 | + </block> | ||
43 | + </view> | ||
44 | + </view> | ||
45 | + </block> | ||
46 | + </view> | ||
47 | + | ||
48 | + | ||
49 | +</view> |
pages/main/addtionalreduce/home.wxss
0 → 100644
1 | +/* pages/main/addtionalreduce/home.wxss */ | ||
2 | + | ||
3 | +.page{ | ||
4 | + background-color: #fcfcfc; | ||
5 | +} | ||
6 | + | ||
7 | +.text_black_32 { | ||
8 | + font-size: 32rpx; | ||
9 | + color: #000; | ||
10 | + line-height: 40rpx; | ||
11 | + font-weight: bold; | ||
12 | +} | ||
13 | + | ||
14 | +.text_999_32 { | ||
15 | + font-size: 32rpx; | ||
16 | + color: #999; | ||
17 | + line-height: 40rpx; | ||
18 | +} | ||
19 | + | ||
20 | +.text_666_30 { | ||
21 | + font-size: 30rpx; | ||
22 | + color: #999; | ||
23 | + line-height: 40rpx; | ||
24 | +} | ||
25 | + | ||
26 | +.text_blue_28 { | ||
27 | + font-family: PingFangSC-Regular; | ||
28 | + font-size: 28rpx; | ||
29 | + color: #357aeb; | ||
30 | + text-align: right; | ||
31 | +} | ||
32 | + | ||
33 | +.text_gray_22 { | ||
34 | + font-size: 22rpx; | ||
35 | + color: #9DA7B3; | ||
36 | +} | ||
37 | + | ||
38 | +.rectangle_lightorange_bg { | ||
39 | + margin: 10rpx 0rpx; | ||
40 | + height: 40rpx; | ||
41 | + background-color: #fff5dc; | ||
42 | + border-radius: 0 0 4px 4px; | ||
43 | + border: 1px solid ; | ||
44 | +} | ||
45 | + | ||
46 | +.declare_image_wrap{ | ||
47 | + width: 90rpx; | ||
48 | + height: 40rpx; | ||
49 | + margin-left: 10rpx; | ||
50 | +} | ||
51 | + | ||
52 | +.arrow_img_wrap { | ||
53 | + width: 40rpx; | ||
54 | + height: 40rpx; | ||
55 | + align-items: center; | ||
56 | + float: right; | ||
57 | + margin-top:10rpx; | ||
58 | + | ||
59 | +} |
pages/main/advancepayment/home.js
0 → 100644
1 | +// pages/main/advancepayment/home.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 | +}) |
pages/main/advancepayment/home.json
0 → 100644
pages/main/advancepayment/home.wxml
0 → 100644
1 | +<!--pages/main/advancepayment/home.wxml--> | ||
2 | +<view class='page'> | ||
3 | + <scroll-view> | ||
4 | + <view style='padding:30rpx;background:#ffffff'> | ||
5 | + <view> | ||
6 | + <text class='text_gray_32'>当前选择月份</text> | ||
7 | + <view class='float_right'> | ||
8 | + <text class='text_gray_32'>2018年11月</text> | ||
9 | + <image class='arrow_wrap' src='/images/arrow_right.png'></image> | ||
10 | + </view> | ||
11 | + </view> | ||
12 | + <view class='divide_line_f5f5f5'></view> | ||
13 | + <view style='padding:30rpx 0'> | ||
14 | + <text class='text_666_30 float_left'>累计工资税收</text> | ||
15 | + <text class='text_333_30_bold float_right'>400000.00</text> | ||
16 | + </view> | ||
17 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx'></view> | ||
18 | + <view style='padding:30rpx 0'> | ||
19 | + <text class='text_666_30 float_left'>累计免税收入</text> | ||
20 | + <text class='text_333_30_bold float_right'>40.00</text> | ||
21 | + </view> | ||
22 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx'></view> | ||
23 | + <view style='padding:30rpx 0'> | ||
24 | + <text class='text_666_30 float_left'>累计基本减除费用</text> | ||
25 | + <text class='text_333_30_bold float_right'>8000.00</text> | ||
26 | + </view> | ||
27 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx'></view> | ||
28 | + <view style='padding:30rpx 0'> | ||
29 | + <text class='text_666_30 float_left'>累计专项扣除额</text> | ||
30 | + <text class='text_333_30_bold float_right'>84783.00</text> | ||
31 | + </view> | ||
32 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx'></view> | ||
33 | + <view style='padding:30rpx 0'> | ||
34 | + <text class='text_666_30 float_left'>累计专项附加扣除额</text> | ||
35 | + <text class='text_333_30_bold float_right'>32200.00</text> | ||
36 | + </view> | ||
37 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx'></view> | ||
38 | + <view style='padding:30rpx 0'> | ||
39 | + <text class='text_666_30 float_left'>累计其他扣除额</text> | ||
40 | + <text class='text_333_30_bold float_right'>0.00</text> | ||
41 | + </view> | ||
42 | + <view class='divide_line_f5f5f5' style='margin-top:30rpx'></view> | ||
43 | + <view style='padding:30rpx 0'> | ||
44 | + <text class='text_666_30 float_left'>累计预缴应纳税所得额</text> | ||
45 | + <text class='text_333_30_bold float_right'>32983000.00</text> | ||
46 | + </view> | ||
47 | + </view> | ||
48 | + <view style='padding:30rpx;positive:relative;width:92%;height:312rpx'> | ||
49 | + <image class=' payment_img_bg ' src='/images/payment_bg.png ' style='position:absolute;z-index: 1;'></image> | ||
50 | + <view> | ||
51 | + <view style='position:absolute;z-index: 2'> | ||
52 | + <text >38382738</text> | ||
53 | + <text >38382739</text> | ||
54 | + <text >38382730</text> | ||
55 | + </view> | ||
56 | + | ||
57 | + </view> | ||
58 | + </view> | ||
59 | + </scroll-view> | ||
60 | +</view> |
pages/main/advancepayment/home.wxss
0 → 100644
1 | +/* pages/main/advancepayment/home.wxss */ | ||
2 | +.page{ | ||
3 | + background-color: #fcfcfc; | ||
4 | +} | ||
5 | + | ||
6 | +.text_gray_32 { | ||
7 | + font-size: 32rpx; | ||
8 | + color: #6C7596 ; | ||
9 | + font-family: PingFangSC-Semibold; | ||
10 | + line-height: 100rpx; | ||
11 | +} | ||
12 | + | ||
13 | +.arrow_wrap { | ||
14 | + position: relative; | ||
15 | + width: 40rpx; | ||
16 | + height: 40rpx; | ||
17 | + margin-top: 30rpx; | ||
18 | + align-self: center | ||
19 | +} | ||
20 | + | ||
21 | +.payment_img_bg{ | ||
22 | + width: 92%; | ||
23 | + height: 312rpx; | ||
24 | +} |
pages/main/finalpayment/home.js
0 → 100644
1 | +// pages/main/finalpayment/home.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 | +}) |
pages/main/finalpayment/home.json
0 → 100644
pages/main/finalpayment/home.wxml
0 → 100644
pages/main/finalpayment/home.wxss
0 → 100644
1 | +/* pages/main/finalpayment/home.wxss */ |
@@ -34,7 +34,7 @@ Page({ | @@ -34,7 +34,7 @@ Page({ | ||
34 | */ | 34 | */ |
35 | gotaxPerson:function(){ | 35 | gotaxPerson:function(){ |
36 | wx.navigateTo({ | 36 | wx.navigateTo({ |
37 | - url: '../home/home', | 37 | + url: '../taxperson/home', |
38 | }) | 38 | }) |
39 | }, | 39 | }, |
40 | 40 | ||
@@ -43,7 +43,7 @@ Page({ | @@ -43,7 +43,7 @@ Page({ | ||
43 | */ | 43 | */ |
44 | goAdditionalDiduction: function () { | 44 | goAdditionalDiduction: function () { |
45 | wx.navigateTo({ | 45 | wx.navigateTo({ |
46 | - url: '../home/home', | 46 | + url: '../addtionalreduce/home', |
47 | }) | 47 | }) |
48 | }, | 48 | }, |
49 | 49 | ||
@@ -52,7 +52,7 @@ Page({ | @@ -52,7 +52,7 @@ Page({ | ||
52 | */ | 52 | */ |
53 | goAdvancePayment: function () { | 53 | goAdvancePayment: function () { |
54 | wx.navigateTo({ | 54 | wx.navigateTo({ |
55 | - url: '../home/home', | 55 | + url: '../advancepayment/home', |
56 | }) | 56 | }) |
57 | }, | 57 | }, |
58 | 58 | ||
@@ -61,7 +61,7 @@ Page({ | @@ -61,7 +61,7 @@ Page({ | ||
61 | */ | 61 | */ |
62 | goFinalPayment: function () { | 62 | goFinalPayment: function () { |
63 | wx.navigateTo({ | 63 | wx.navigateTo({ |
64 | - url: '../home/home', | 64 | + url: '../finalpayment/home', |
65 | }) | 65 | }) |
66 | }, | 66 | }, |
67 | 67 |
1 | <!--pages/main/guide/guide.wxml--> | 1 | <!--pages/main/guide/guide.wxml--> |
2 | 2 | ||
3 | -<view class='page'> | 3 | +<scroll-view class='page'> |
4 | <view class="bg_wrap"> | 4 | <view class="bg_wrap"> |
5 | <image class='bgimg' src='/images/guide_bg.jpg'></image> | 5 | <image class='bgimg' src='/images/guide_bg.jpg'></image> |
6 | 6 | ||
7 | - <view class='card_rectangle_bg' style='margin-top:280rpx;padding:30rpx' bindtap='gotaxPerson'> | 7 | + <view class='card_rectangle_bg_row' style='margin-top:280rpx;padding:30rpx' bindtap='gotaxPerson'> |
8 | <image class="icon_wrap" src="/images/tax_person.png"></image> | 8 | <image class="icon_wrap" src="/images/tax_person.png"></image> |
9 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 9 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
10 | - <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> | 10 | + <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> |
11 | <text style='font-size: 36rpx;color: #000;font-weight:bold;text-align: left;'>自然人信息采集</text> | 11 | <text style='font-size: 36rpx;color: #000;font-weight:bold;text-align: left;'>自然人信息采集</text> |
12 | <text style='font-size:28rpx;color: #999;text-align: left;margin-top:6rpx'>采集本人和家庭成员的基本信息</text> | 12 | <text style='font-size:28rpx;color: #999;text-align: left;margin-top:6rpx'>采集本人和家庭成员的基本信息</text> |
13 | </view> | 13 | </view> |
14 | <image class='arrow_wrap' src='/images/arrow_right.png'></image> | 14 | <image class='arrow_wrap' src='/images/arrow_right.png'></image> |
15 | </view> | 15 | </view> |
16 | 16 | ||
17 | - <view class='card_rectangle_bg' style='margin-top:30rpx;padding:30rpx' bindtap='goAdditionalDiduction'> | 17 | + <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='goAdditionalDiduction'> |
18 | <image class="icon_wrap" src="/images/additional_deduction.png"></image> | 18 | <image class="icon_wrap" src="/images/additional_deduction.png"></image> |
19 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 19 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
20 | - <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> | 20 | + <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> |
21 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>专项附加扣除</text> | 21 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>专项附加扣除</text> |
22 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>上传可抵扣的专项附加扣除费用票据</text> | 22 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>上传可抵扣的专项附加扣除费用票据</text> |
23 | </view> | 23 | </view> |
24 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 24 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
25 | </view> | 25 | </view> |
26 | 26 | ||
27 | - <view class='card_rectangle_bg' style='margin-top:30rpx;padding:30rpx' bindtap='goAdvancePayment'> | 27 | + <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='goAdvancePayment'> |
28 | <image class="icon_wrap" src="/images/advance_payment.png"></image> | 28 | <image class="icon_wrap" src="/images/advance_payment.png"></image> |
29 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 29 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
30 | - <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> | 30 | + <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> |
31 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>预扣预缴</text> | 31 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>预扣预缴</text> |
32 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>查看本人的个税扣缴明细</text> | 32 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>查看本人的个税扣缴明细</text> |
33 | </view> | 33 | </view> |
34 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 34 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
35 | </view> | 35 | </view> |
36 | 36 | ||
37 | - <view class='card_rectangle_bg' style='margin-top:30rpx;padding:30rpx' bindtap='goFinalPayment'> | 37 | + <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='goFinalPayment'> |
38 | <image class="icon_wrap" src="/images/final_payment.png"></image> | 38 | <image class="icon_wrap" src="/images/final_payment.png"></image> |
39 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 39 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
40 | - <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> | 40 | + <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> |
41 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>汇算清缴</text> | 41 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>汇算清缴</text> |
42 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>查看个人年度税收信息,年度汇算清缴</text> | 42 | <text style='font-size:28rpx;color: #999;margin-top:6rpx'>查看个人年度税收信息,年度汇算清缴</text> |
43 | </view> | 43 | </view> |
44 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 44 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
45 | </view> | 45 | </view> |
46 | 46 | ||
47 | - <!-- <view class='card_rectangle_bg' style='margin-top:30rpx;padding:30rpx' bindtap='gotaxCalculate'> | 47 | + <!-- <view class='card_rectangle_bg_row' style='margin-top:30rpx;padding:30rpx' bindtap='gotaxCalculate'> |
48 | <image class="icon_wrap" src="/images/tax_calculate.png"></image> | 48 | <image class="icon_wrap" src="/images/tax_calculate.png"></image> |
49 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 49 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
50 | <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> | 50 | <view style='display:flex;flex-direction: column;width:432rpx;margin-left:30rpx;align-self:center;'> |
@@ -55,4 +55,4 @@ | @@ -55,4 +55,4 @@ | ||
55 | </view> --> | 55 | </view> --> |
56 | </view> | 56 | </view> |
57 | 57 | ||
58 | -</view> | ||
58 | +</scroll-view> |
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | align-self: center; | 12 | align-self: center; |
13 | } | 13 | } |
14 | 14 | ||
15 | -.card_rectangle_bg { | 15 | +/* .card_rectangle_bg { |
16 | position: relative; | 16 | position: relative; |
17 | margin: 0 auto; | 17 | margin: 0 auto; |
18 | display: flex; | 18 | display: flex; |
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | background: #fff; | 22 | background: #fff; |
23 | box-shadow: 0 4px 14px 0 rgba(208, 208, 208, 0.50); | 23 | box-shadow: 0 4px 14px 0 rgba(208, 208, 208, 0.50); |
24 | border-radius: 8px; | 24 | border-radius: 8px; |
25 | -} | 25 | +} */ |
26 | 26 | ||
27 | .bg_wrap { | 27 | .bg_wrap { |
28 | display: flex; | 28 | display: flex; |
1 | // pages/main/addinfo/addinfo.js | 1 | // pages/main/addinfo/addinfo.js |
2 | var app = getApp(); | 2 | var app = getApp(); |
3 | -var format = require('../../../utils/util.js'); | 3 | +var format = require('../../../../utils/util.js'); |
4 | var baseUrl = app.globalData.baseUrl; | 4 | var baseUrl = app.globalData.baseUrl; |
5 | Page({ | 5 | Page({ |
6 | 6 |
@@ -149,14 +149,14 @@ Page({ | @@ -149,14 +149,14 @@ Page({ | ||
149 | goadd: function(e) { | 149 | goadd: function(e) { |
150 | console.log(e) | 150 | console.log(e) |
151 | wx.navigateTo({ | 151 | wx.navigateTo({ |
152 | - url: '../addinfo/addinfo', | 152 | + url: 'addinfo/addinfo', |
153 | }) | 153 | }) |
154 | }, | 154 | }, |
155 | 155 | ||
156 | goedit: function(e) { | 156 | goedit: function(e) { |
157 | console.log(e) | 157 | console.log(e) |
158 | wx.navigateTo({ | 158 | wx.navigateTo({ |
159 | - url: '../editinfo/editinfo?id=' + e.currentTarget.id, | 159 | + url: 'editinfo/editinfo?id=' + e.currentTarget.id, |
160 | }) | 160 | }) |
161 | }, | 161 | }, |
162 | 162 |
请
注册
或
登录
后发表评论