提交 f2c90ea0a0656a9d1ebe06f18ed9e2d7be6781d6

作者 wangyu
1 个父辈 3cb838fa

汇算清缴模块新页面添加及部分逻辑添加

@@ -80,7 +80,7 @@ App({ @@ -80,7 +80,7 @@ App({
80 that.configOssUrl() 80 that.configOssUrl()
81 if (relaunch) { 81 if (relaunch) {
82 wx.reLaunch({ 82 wx.reLaunch({
83 - url: '../guide/guide' 83 + url:' ../guide/guide'
84 }) 84 })
85 } 85 }
86 } 86 }
@@ -3,10 +3,12 @@ @@ -3,10 +3,12 @@
3 "pages/main/guide/guide", 3 "pages/main/guide/guide",
4 "pages/getPhone/getPhone", 4 "pages/getPhone/getPhone",
5 "pages/main/smartchat/chat", 5 "pages/main/smartchat/chat",
  6 +
6 "pages/main/taxperson/home", 7 "pages/main/taxperson/home",
7 "pages/main/taxperson/editinfo/editinfo", 8 "pages/main/taxperson/editinfo/editinfo",
8 "pages/main/taxperson/addinfo/addinfo", 9 "pages/main/taxperson/addinfo/addinfo",
9 "pages/main/taxperson/idinfo/idinfo", 10 "pages/main/taxperson/idinfo/idinfo",
  11 +
10 "pages/main/addtionalreduce/home", 12 "pages/main/addtionalreduce/home",
11 "pages/main/addtionalreduce/godeclare/godeclare", 13 "pages/main/addtionalreduce/godeclare/godeclare",
12 "pages/main/addtionalreduce/godetail/godetail", 14 "pages/main/addtionalreduce/godetail/godetail",
@@ -14,8 +16,9 @@ @@ -14,8 +16,9 @@
14 "pages/main/addtionalreduce/addextrainfo/addextrainfo", 16 "pages/main/addtionalreduce/addextrainfo/addextrainfo",
15 "pages/main/addtionalreduce/adddupporters/adddupporters", 17 "pages/main/addtionalreduce/adddupporters/adddupporters",
16 "pages/main/addtionalreduce/additiondetail/additiondetail", 18 "pages/main/addtionalreduce/additiondetail/additiondetail",
  19 +
17 "pages/main/advancepayment/adPayHome", 20 "pages/main/advancepayment/adPayHome",
18 - 21 +
19 "pages/main/finalpayment/home", 22 "pages/main/finalpayment/home",
20 "pages/main/finalpayment/inputinfo/inputinfo", 23 "pages/main/finalpayment/inputinfo/inputinfo",
21 "pages/main/finalpayment/historylist/historylist", 24 "pages/main/finalpayment/historylist/historylist",
@@ -25,6 +28,8 @@ @@ -25,6 +28,8 @@
25 "pages/main/finalpay/incomeDetail/incomeDetail", 28 "pages/main/finalpay/incomeDetail/incomeDetail",
26 "pages/main/finalpay/incomeAddition/incomeAddition", 29 "pages/main/finalpay/incomeAddition/incomeAddition",
27 "pages/main/finalpay/addUnitInfo/addUnitInfo", 30 "pages/main/finalpay/addUnitInfo/addUnitInfo",
  31 + "pages/main/finalpay/refundInfo/refundInfo",
  32 + "pages/main/finalpay/refundDetail/refundDetail",
28 33
29 "pages/login/login", 34 "pages/login/login",
30 "pages/main/advancepayment/adPayDetails/adPayDetails", 35 "pages/main/advancepayment/adPayDetails/adPayDetails",

75.4 KB | 宽: | 高:

37.9 KB | 宽: | 高:

  • 两方对比
  • 交换覆盖
  • 透明覆盖
@@ -5,21 +5,18 @@ Page({ @@ -5,21 +5,18 @@ Page({
5 5
6 6
7 data: { 7 data: {
8 - declare_status: "",//申报状态 8 + declare_status: "",//申报状态"0" //待申报 "1" //申报成功
9 refund_status: "",//退税状态 9 refund_status: "",//退税状态
10 pay_status: "",//补税状态 10 pay_status: "",//补税状态
  11 + declaring_unit_status: "4",//1:本单位申报,2:本单位其他申报,3:其他单位申报,4:待确认申报
11 payinfo:{}, 12 payinfo:{},
12 - unitInfo: [{  
13 - "declaring_unit": "bjxa",  
14 - "declaring_unit_id": "申报单位id",  
15 - },  
16 - {  
17 - "declaring_unit": "albb",  
18 - "declaring_unit_id": "申报单位id",  
19 - }], 13 + unitInfo: [],
20 showUnit:false, 14 showUnit:false,
21 declaring_unit_id:"", 15 declaring_unit_id:"",
22 showModal_selfDeclare:false, 16 showModal_selfDeclare:false,
  17 + declare_status_arr:["待申报","申报成功"],
  18 + refund_status_arr: ["待退税", "退税中", "退税成功", "退税失败","放弃退税"],
  19 + pay_status_arr: ["无需补税", "待补税","补税成功"],
23 }, 20 },
24 21
25 22
@@ -68,16 +65,16 @@ Page({ @@ -68,16 +65,16 @@ Page({
68 showUnit: true 65 showUnit: true
69 }) 66 })
70 wx.request({ 67 wx.request({
71 - url: baseUrl + "payroll/v1/settlement-tax/declaring-unit", 68 + url: baseUrl + "payroll/v1/settlement-tax/declare-unit",
72 header: { 69 header: {
73 'Authorization': this.Authorization 70 'Authorization': this.Authorization
74 }, 71 },
75 data: { }, 72 data: { },
76 success: function (result) { 73 success: function (result) {
77 - console.log("unitInfo", result) 74 + console.log("unitInfo", result.data)
78 if (result.statusCode == 200) { 75 if (result.statusCode == 200) {
79 that.setData({ 76 that.setData({
80 - unitInfo: result.data 77 + unitInfo: result.data.items
81 }) 78 })
82 } 79 }
83 }, 80 },
@@ -89,6 +86,74 @@ Page({ @@ -89,6 +86,74 @@ Page({
89 }) 86 })
90 }, 87 },
91 88
  89 + updateDeclareState: function (id) {//是否在本单位申报
  90 + var that = this
  91 + this.Authorization = getApp().globalData.Authorization;
  92 + wx.request({
  93 + url: baseUrl + "payroll/v1/settlement-tax/record",
  94 + header: {
  95 + 'Authorization': this.Authorization
  96 + },
  97 + data: { 'declaring_unit_id': id },
  98 + success: function (result) {
  99 + console.log("declareinfo", result)
  100 + if (result.statusCode == 200) {
  101 + that.setData({
  102 +
  103 + })
  104 + }
  105 + },
  106 + })
  107 + },
  108 +
  109 + // 是否放弃退税,(是:"5",否:"")
  110 + forgiveRefund: function () {
  111 + var that = this
  112 + this.Authorization = getApp().globalData.Authorization;
  113 + wx.request({
  114 + url: baseUrl + "payroll/v1/settlement-tax/record",
  115 + header: {
  116 + 'Authorization': this.Authorization
  117 + },
  118 + data: { 'refund_status': '' },
  119 + success: function (result) {
  120 + console.log("refund", result)
  121 + if (result.statusCode == 200) {
  122 + that.setData({
  123 +
  124 + })
  125 + }
  126 + },
  127 + })
  128 + },
  129 +
  130 + // 确认提交申请退税
  131 + forgiveRefund: function () {
  132 + var that = this
  133 + this.Authorization = getApp().globalData.Authorization;
  134 + wx.request({
  135 + url: baseUrl + "payroll/v1/settlement-tax/record",
  136 + header: {
  137 + 'Authorization': this.Authorization
  138 + },
  139 + data: {
  140 + "name": "xxxx", //姓名,
  141 + "bank": "xxxx", //开户行,
  142 + "bank_card_no": "xxxx", //银行卡号,
  143 + "bank_province": "xxxx", //银行省份,
  144 + },
  145 + success: function (result) {
  146 + console.log("refund", result)
  147 + if (result.statusCode == 200) {
  148 + that.setData({
  149 +
  150 + })
  151 + }
  152 + },
  153 + })
  154 + },
  155 +
  156 +
92 // 跳转到H5页面测试 157 // 跳转到H5页面测试
93 skipH5_01: function() { 158 skipH5_01: function() {
94 wx.navigateTo({ 159 wx.navigateTo({
@@ -113,6 +178,7 @@ Page({ @@ -113,6 +178,7 @@ Page({
113 }, 178 },
114 179
115 declareNotHere: function() { 180 declareNotHere: function() {
  181 + var that = this
116 wx.showModal({ 182 wx.showModal({
117 title: '', 183 title: '',
118 content: '确认不在本单位进行汇算清缴申报吗?', 184 content: '确认不在本单位进行汇算清缴申报吗?',
@@ -120,7 +186,7 @@ Page({ @@ -120,7 +186,7 @@ Page({
120 success(res) { 186 success(res) {
121 if (res.confirm) { 187 if (res.confirm) {
122 console.log('用户点击确定') 188 console.log('用户点击确定')
123 - 189 + that.updateDeclareState("")
124 } else if (res.cancel) { 190 } else if (res.cancel) {
125 console.log('用户点击取消') 191 console.log('用户点击取消')
126 } 192 }
@@ -131,10 +197,10 @@ Page({ @@ -131,10 +197,10 @@ Page({
131 unitPick:function(e){//选择申报单位 197 unitPick:function(e){//选择申报单位
132 console.log("unitPick",e) 198 console.log("unitPick",e)
133 this.setData({ 199 this.setData({
134 - declaring_unit_id:"", 200 + declaring_unit_id: e.currentTarget.id,
135 showUnit: false 201 showUnit: false
136 }) 202 })
137 - 203 + this.updateDeclareState(e.currentTarget.id)
138 }, 204 },
139 205
140 selfdeclare_close(){//关闭自行申报弹窗 206 selfdeclare_close(){//关闭自行申报弹窗
@@ -16,25 +16,25 @@ @@ -16,25 +16,25 @@
16 <text class="text_blue_26"> 的解读 </text> 16 <text class="text_blue_26"> 的解读 </text>
17 </view> 17 </view>
18 18
19 - <view style="background:#fff9f0;padding:24rpx;display: flex;"> 19 + <view style="background:#fff9f0;padding:24rpx;display: flex;">
20 <view style="margin-right:12rpx"> 20 <view style="margin-right:12rpx">
21 <image style="width:28rpx;height:28rpx;" src="/images/warn_yellow.png"></image> 21 <image style="width:28rpx;height:28rpx;" src="/images/warn_yellow.png"></image>
22 </view> 22 </view>
23 - <view> 23 + <view wx:if="{{declaring_unit_status=='4'}}">
24 <text class="text_gray6_28">请于 </text> 24 <text class="text_gray6_28">请于 </text>
25 <text class="text_yellow_28"> 2020年10月1日前 </text> 25 <text class="text_yellow_28"> 2020年10月1日前 </text>
26 <text class="text_gray6_28">确认是否在本单位进行汇算清缴,否则默认为您在其他单位申报或自行申报。 </text> 26 <text class="text_gray6_28">确认是否在本单位进行汇算清缴,否则默认为您在其他单位申报或自行申报。 </text>
27 </view> 27 </view>
28 - <view hidden="true">  
29 - <text class="text_gray6_28">您将在 北京小爱智能科技有限公司 完成2019年度的个人综合所得汇算清缴。 </text>  
30 - </view>  
31 - <view hidden="true"> 28 + <view wx:elif="{{declaring_unit_status=='5'}}">
32 <text class="text_gray6_28">您已选择自行申报,可继续查看在本单位的个税申报记录 </text> 29 <text class="text_gray6_28">您已选择自行申报,可继续查看在本单位的个税申报记录 </text>
33 </view> 30 </view>
  31 + <view wx:else>
  32 + <text class="text_gray6_28">您将在 北京小爱智能科技有限公司 完成2019年度的个人综合所得汇算清缴。 </text>
  33 + </view>
34 </view> 34 </view>
35 35
36 - <view style="background:#fff;padding:0 30rpx">  
37 - <text class="text_black_bold" style="margin-top:30rpx">汇算清缴申报中…</text> 36 + <view wx:if="{{declaring_unit_status!='4'&&declaring_unit_status!='5'}}" style="background:#fff;padding:0 30rpx">
  37 + <text class="text_black_bold" style="margin-top:30rpx">汇算清缴申报中…</text>
38 <view style="display: flex;margin:20rpx 0"> 38 <view style="display: flex;margin:20rpx 0">
39 <image style="width:28rpx;height:28rpx;margin-right:12rpx;margin-top:4rpx" src="/images/warn_yellow.png"></image> 39 <image style="width:28rpx;height:28rpx;margin-right:12rpx;margin-top:4rpx" src="/images/warn_yellow.png"></image>
40 <text class="text_gray6_28">请等候申报结果 </text> 40 <text class="text_gray6_28">请等候申报结果 </text>
@@ -42,31 +42,31 @@ @@ -42,31 +42,31 @@
42 <view class="divide_line_f5f5f5"></view> 42 <view class="divide_line_f5f5f5"></view>
43 <view style="margin-top:20rpx"> 43 <view style="margin-top:20rpx">
44 <text class="text_gray6_28">收入总额:</text> 44 <text class="text_gray6_28">收入总额:</text>
45 - <text class="text_gray3_28 float_right" style="line-height:50rpx" >¥12939</text> 45 + <text class="text_gray3_28 float_right" style="line-height:50rpx">¥12939</text>
46 </view> 46 </view>
47 - <view class="view_gray_bg" style="padding:16rpx 20rpx;flex-direction: column">  
48 - <view class="text_gray9_26">其中本单位收入额:</view>  
49 - <text class="text_gray9_26">其中其他单位收入额:</text> 47 + <view class="view_gray_bg" style="padding:16rpx 20rpx;flex-direction: column">
  48 + <view class="text_gray9_26">其中本单位收入额:</view>
  49 + <text class="text_gray9_26">其中其他单位收入额:</text>
50 </view> 50 </view>
51 <view style="margin:20rpx 0"> 51 <view style="margin:20rpx 0">
52 <text class="text_gray6_28">累计应纳税额:</text> 52 <text class="text_gray6_28">累计应纳税额:</text>
53 - <text class="text_gray3_28 float_right" style="line-height:50rpx" >¥12939</text> 53 + <text class="text_gray3_28 float_right" style="line-height:50rpx">¥12939</text>
54 </view> 54 </view>
55 <view class="divide_line_f5f5f5"></view> 55 <view class="divide_line_f5f5f5"></view>
56 <view style="margin:20rpx 0"> 56 <view style="margin:20rpx 0">
57 <text class="text_gray6_28">已缴费税额:</text> 57 <text class="text_gray6_28">已缴费税额:</text>
58 - <text class="text_gray3_28 float_right" style="line-height:50rpx" >¥12939</text> 58 + <text class="text_gray3_28 float_right" style="line-height:50rpx">¥12939</text>
59 </view> 59 </view>
60 <view class="divide_line_f5f5f5"></view> 60 <view class="divide_line_f5f5f5"></view>
61 <view style="margin:20rpx 0"> 61 <view style="margin:20rpx 0">
62 <text class="text_black_bold">应补退税额:</text> 62 <text class="text_black_bold">应补退税额:</text>
63 - <text class="text_gray3_28 float_right" style="line-height:50rpx" >¥12939</text> 63 + <text class="text_gray3_28 float_right" style="line-height:50rpx">¥12939</text>
64 </view> 64 </view>
65 <view class="divide_line_f5f5f5"></view> 65 <view class="divide_line_f5f5f5"></view>
66 <text class="text_blue_28 float_right" style="line-height:50rpx" bindtap="finalpay_detail">查看详情</text> 66 <text class="text_blue_28 float_right" style="line-height:50rpx" bindtap="finalpay_detail">查看详情</text>
67 </view> 67 </view>
68 68
69 - <view wx:if="{{false}}" style="width:100%;height:300rpx;position: fixed;bottom: 0;"> 69 + <view wx:if="{{declaring_unit_status=='4'}}" style="width:100%;height:300rpx;position: fixed;bottom: 0;">
70 <view style="display: flex;justify-content: center;"> 70 <view style="display: flex;justify-content: center;">
71 <text class="text_gray6_28">距离确认是否在本单位进行汇算清缴时间还有 </text> 71 <text class="text_gray6_28">距离确认是否在本单位进行汇算清缴时间还有 </text>
72 <text class="text_yellow_28"> 28 </text> 72 <text class="text_yellow_28"> 28 </text>
@@ -80,7 +80,7 @@ @@ -80,7 +80,7 @@
80 </view> 80 </view>
81 </view> 81 </view>
82 82
83 - <view wx:if="{{false}}" style="width:100%;height:260rpx;position: fixed;bottom: 0;"> 83 + <view wx:if="{{declaring_unit_status=='5'}}" style="width:100%;height:260rpx;position: fixed;bottom: 0;">
84 <view bindtap="declareBySelf" class="btn_blue_radius" style="margin:20rpx 30rpx "> 84 <view bindtap="declareBySelf" class="btn_blue_radius" style="margin:20rpx 30rpx ">
85 <view class="text_white_34">查看自行申报方式</view> 85 <view class="text_white_34">查看自行申报方式</view>
86 </view> 86 </view>
@@ -89,7 +89,7 @@ @@ -89,7 +89,7 @@
89 </view> 89 </view>
90 </view> 90 </view>
91 91
92 - <view wx:if="{{false}}" style="width:100%;height:300rpx;position: fixed;bottom: 0;"> 92 + <view wx:if="{{declaring_unit_status=='1'||declaring_unit_status=='2'}}" style="width:100%;height:300rpx;position: fixed;bottom: 0;">
93 <view style="display: flex;justify-content: center;"> 93 <view style="display: flex;justify-content: center;">
94 <text class="text_gray6_28">距离确认是否在本单位进行汇算清缴时间还有 </text> 94 <text class="text_gray6_28">距离确认是否在本单位进行汇算清缴时间还有 </text>
95 <text class="text_yellow_28"> 28 </text> 95 <text class="text_yellow_28"> 28 </text>
@@ -122,10 +122,10 @@ @@ -122,10 +122,10 @@
122 <view wx:if="{{showUnit&&unitInfo.length>0}}" style="background-color:#fff"> 122 <view wx:if="{{showUnit&&unitInfo.length>0}}" style="background-color:#fff">
123 <view class="text_gray3_34" style="padding:30rpx">选择申报单位</view> 123 <view class="text_gray3_34" style="padding:30rpx">选择申报单位</view>
124 <view class="divide_line"></view> 124 <view class="divide_line"></view>
125 - <view wx:for="{{unitInfo}}" style="margin-left:20rpx;padding:30rpx" bindtap="unitPick">  
126 - <text class="text_gray3_32" id="{{item.declaring_unit_id}}">{{item.declaring_unit}}</text> 125 + <view wx:for="{{unitInfo}}" style="height:104rpx;margin-left:50rpx;margin-right:30rpx" bindtap="unitPick" id="{{item.declaring_unit_id}}">
  126 + <text class="text_gray3_32" style="line-height:104rpx" >{{item.declaring_unit}}</text>
127 <image class="icon_choosed" hidden="true" src="/images/icon_chat_choosed.png"></image> 127 <image class="icon_choosed" hidden="true" src="/images/icon_chat_choosed.png"></image>
128 - <view class="divide_line" style="margin-top:30rpx"></view> 128 + <view class="divide_line"></view>
129 </view> 129 </view>
130 </view> 130 </view>
131 </view> 131 </view>
  1 +// pages/main/finalpay/refundDetail/refundDetail.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 +{
  2 + "navigationBarTitleText": "退税详情"
  3 +}
  1 +<view>
  2 +
  3 + <view style="background:#fff;padding:30rpx;margin-top:20rpx">
  4 + <view style="margin-bottom:20rpx">
  5 + <text class="text_black3_34">退税详情</text>
  6 + <view class="light_blue_bg" style="display:flex">
  7 + <text style="font-size:14px;color:#54B4F5;margin: 0 auto">退款成功</text>
  8 + </view>
  9 + </view>
  10 + <view wx:if="{{false}}" style="margin-bottom:20rpx">
  11 + <text class="text_black3_34">退税详情</text>
  12 + <view class="light_yellow_bg" style="display:flex">
  13 + <text style="font-size:14px;color:#FF8F1F;margin: 0 auto">申请中</text>
  14 + </view>
  15 + </view>
  16 + <view class="divide_line" style="margin-bottom:20rpx"></view>
  17 + <view>
  18 + <text class="text_black6_32">开户人姓名</text>
  19 + <text class="text_black6_32 float_right">张三</text>
  20 + </view>
  21 + <view>
  22 + <text class="text_black6_32">申请退税金额</text>
  23 + <text class="text_black6_32 float_right">30000.00</text>
  24 + </view>
  25 + <view>
  26 + <text class="text_black6_32">银行卡号</text>
  27 + <text class="text_black6_32 float_right">62218828283939</text>
  28 + </view>
  29 + <view>
  30 + <text class="text_black6_32">开户银行名称</text>
  31 + <text class="text_black6_32 float_right">招商银行</text>
  32 + </view>
  33 + <view>
  34 + <text class="text_black6_32">开户银行省份</text>
  35 + <text class="text_black6_32 float_right">湖北</text>
  36 + </view>
  37 + </view>
  38 +</view>
  1 +/* pages/main/finalpay/refundDetail/refundDetail.wxss */
  2 +
  3 +.page {
  4 + width: 100%;
  5 + height: 100%;
  6 + background-color: #f5f5f5;
  7 +}
  8 +
  9 +.text_black3_34 {
  10 + font-family: PingFangSC-Medium, PingFang SC;
  11 + font-size: 34rpx;
  12 + color: #333;
  13 + text-align: center;
  14 + line-height: 24px;
  15 +}
  16 +
  17 +.text_black6_32 {
  18 + font-family: PingFangSC-Regular, PingFang SC;
  19 + font-size: 32rpx;
  20 + color: #666;
  21 + text-align: center;
  22 + line-height: 32px;
  23 +}
  24 +
  25 +.light_blue_bg {
  26 + float: right;
  27 + width: 64px;
  28 + height: 20px;
  29 + background: rgba(221, 240, 253, 1);
  30 + border-radius: 2px;
  31 +}
  32 +
  33 +.light_yellow_bg {
  34 + float: right;
  35 + width: 50px;
  36 + height: 20px;
  37 + background:rgba(255,233,211,1);
  38 + border-radius: 2px;
  39 +}
  1 +// pages/main/finalpay/refundInfo/refundInfo.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 +{
  2 + "navigationBarTitleText": "退税信息"
  3 +}
  1 +<!--pages/main/finalpay/refundInfo/refundInfo.wxml-->
  2 +<view class="page">
  3 + <form style="width:100%;">
  4 + <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
  5 + <text class="text_gray7_34">开户人姓名</text>
  6 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name='' value="汪闲僧"></input>
  7 + </view>
  8 + <view class='divide_line_30'></view>
  9 + <view style="height:104rpx;padding:0 30rpx;background-color:#fff">
  10 + <text class="text_gray7_34" style="line-height:104rpx">银行卡号</text>
  11 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name=''></input>
  12 + </view>
  13 + <view class='divide_line_30'></view>
  14 + <view style="height:104rpx;padding:0 30rpx;background-color:#fff">
  15 + <text class="text_gray7_34" style="line-height:104rpx">开户银行名称</text>
  16 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name=''></input>
  17 + </view>
  18 + <view class='divide_line_30'></view>
  19 + <view style="height:104rpx;padding:0 30rpx;background-color:#fff">
  20 + <text class="text_gray7_34" style="line-height:104rpx">开户银行省份</text>
  21 + <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' name=''></input>
  22 + </view>
  23 +
  24 +<view class="btn_bottom" >
  25 + <button class="btn_bottom" formType="submit">保存</button>
  26 + </view>
  27 + </form>
  28 +
  29 +</view>
  1 +/* pages/main/finalpay/refundInfo/refundInfo.wxss */
  2 +
  3 +.page {
  4 + width: 100%;
  5 + height: 100%;
  6 + background-color: #f5f5f5;
  7 +}
  8 +
  9 +.text_black3_34 {
  10 + font-family: PingFangSC-Regular, PingFang SC;
  11 + font-size: 34rpx;
  12 + color: #333;
  13 + line-height: 104rpx;
  14 +}
  15 +
  16 +.text_gray7_34 {
  17 + font-family: PingFangSC-Regular, PingFang SC;
  18 + font-size: 34rpx;
  19 + color: #777;
  20 + line-height: 104rpx;
  21 +}
  22 +
  23 +.input_wrap {
  24 + max-width: 600rpx;
  25 + height: 104rpx;
  26 + font-size: 34rpx;
  27 + color: #fff;
  28 + text-align: right;
  29 + overflow: hidden;
  30 + text-overflow: ellipsis;
  31 + white-space: nowrap;
  32 + float: right
  33 +}
注册登录 后发表评论