正在显示
9 个修改的文件
包含
119 行增加
和
5 行删除
| 1 | { | 1 | { |
| 2 | "pages": [ | 2 | "pages": [ |
| 3 | + "pages/main/addtionalreduce/adddupporters/adddupporters", | ||
| 3 | "pages/main/guide/guide", | 4 | "pages/main/guide/guide", |
| 4 | "pages/getPhone/getPhone", | 5 | "pages/getPhone/getPhone", |
| 5 | "pages/main/smartchat/chat", | 6 | "pages/main/smartchat/chat", |
| @@ -12,6 +13,9 @@ | @@ -12,6 +13,9 @@ | ||
| 12 | "pages/main/addtionalreduce/godetail/godetail", | 13 | "pages/main/addtionalreduce/godetail/godetail", |
| 13 | "pages/main/addtionalreduce/lookandupdate/lookandupdate", | 14 | "pages/main/addtionalreduce/lookandupdate/lookandupdate", |
| 14 | "pages/main/addtionalreduce/addextrainfo/addextrainfo", | 15 | "pages/main/addtionalreduce/addextrainfo/addextrainfo", |
| 16 | + | ||
| 17 | + | ||
| 18 | + | ||
| 15 | "pages/main/addtionalreduce/additiondetail/additiondetail", | 19 | "pages/main/addtionalreduce/additiondetail/additiondetail", |
| 16 | "pages/main/advancepayment/adPayHome", | 20 | "pages/main/advancepayment/adPayHome", |
| 17 | "pages/main/finalpayment/home", | 21 | "pages/main/finalpayment/home", |
| 1 | +// pages/main/addtionalreduce/adddupporters/adddupporters.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/addtionalreduce/adddupporters/adddupporters.wxml--> | ||
| 2 | +<view class='page'> | ||
| 3 | + <form bindsubmit='formSubmit'> | ||
| 4 | + <view style='height:90rpx;padding:0 30rpx'> | ||
| 5 | + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> | ||
| 6 | + <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>证照类型</text> | ||
| 7 | + <input class='text_333_30 float_right' placeholder='请输入姓名' name='name' value='{{name}}' placeholder-class='text_999_30' maxlength='15'></input> | ||
| 8 | + </view> | ||
| 9 | + <view class="divide_line"></view> | ||
| 10 | + <view style='height:90rpx;padding:0 30rpx'> | ||
| 11 | + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> | ||
| 12 | + <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>证照类型</text> | ||
| 13 | + <text style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>居民身份证</text> | ||
| 14 | + </view> | ||
| 15 | + <view class="divide_line"></view> | ||
| 16 | + <view class="btn_bottom"> | ||
| 17 | + <button class="btn_bottom" formType="submit"> 保存</button> | ||
| 18 | + </view> | ||
| 19 | + </form> | ||
| 20 | +</view> |
| 1 | +/* pages/main/addtionalreduce/adddupporters/adddupporters.wxss */ | ||
| 2 | +.text_999_30{ | ||
| 3 | + font-family: PingFangSC-Regular; | ||
| 4 | +font-size: 15px; | ||
| 5 | +color: #999999; | ||
| 6 | +text-align: right; | ||
| 7 | +line-height: 45px; | ||
| 8 | +} | ||
| 9 | + | ||
| 10 | +.text_333_30{ | ||
| 11 | + font-family: PingFangSC-Regular; | ||
| 12 | +font-size: 15px; | ||
| 13 | +color: #333333; | ||
| 14 | +text-align: right; | ||
| 15 | +line-height: 45px; | ||
| 16 | +} |
| @@ -46,7 +46,7 @@ Page({ | @@ -46,7 +46,7 @@ Page({ | ||
| 46 | }, | 46 | }, |
| 47 | 47 | ||
| 48 | lookandadd:function(e){ | 48 | lookandadd:function(e){ |
| 49 | - console.log("e", e); | 49 | + console.log("lookandadd", e); |
| 50 | if (this.data.additiondata.options && this.data.additiondata.options.length>0){ | 50 | if (this.data.additiondata.options && this.data.additiondata.options.length>0){ |
| 51 | wx.navigateTo({ | 51 | wx.navigateTo({ |
| 52 | url: '../lookandupdate/lookandupdate?status=' + this.data.additiondata.options[e.currentTarget.id] + "&legal_entity_id=" + this.data.additiondata.legal_entity_id, | 52 | url: '../lookandupdate/lookandupdate?status=' + this.data.additiondata.options[e.currentTarget.id] + "&legal_entity_id=" + this.data.additiondata.legal_entity_id, |
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <view class='text_gray_30' style='padding:30rpx'>您在“{{additiondata.legal_entity}}”申报的专项附加扣除项已添加完成,请完善各项的具体申报内容。</view> | 3 | <view class='text_gray_30' style='padding:30rpx'>您在“{{additiondata.legal_entity}}”申报的专项附加扣除项已添加完成,请完善各项的具体申报内容。</view> |
| 4 | 4 | ||
| 5 | <view wx:if="{{additiondata.options&&additiondata.options.length>0}}"> | 5 | <view wx:if="{{additiondata.options&&additiondata.options.length>0}}"> |
| 6 | - <block wx:for="{{additiondata.options}}" wx:key="" wx:for-item="item"> | 6 | + <block wx:for="{{additiondata.options}}" wx:key="" wx:for-item="item" wx:for-index="idx" > |
| 7 | <view wx:if="{{item=='children_education'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column '> | 7 | <view wx:if="{{item=='children_education'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column '> |
| 8 | <view style='height:40rpx'> | 8 | <view style='height:40rpx'> |
| 9 | <text class='text_333_32 float_left'>子女教育</text> | 9 | <text class='text_333_32 float_left'>子女教育</text> |
| @@ -10,7 +10,6 @@ Page({ | @@ -10,7 +10,6 @@ Page({ | ||
| 10 | data: { | 10 | data: { |
| 11 | cur_status: "", | 11 | cur_status: "", |
| 12 | legal_entity_id: "", | 12 | legal_entity_id: "", |
| 13 | - title:'', | ||
| 14 | declareStatus: { | 13 | declareStatus: { |
| 15 | "to_declare ": "待申报", | 14 | "to_declare ": "待申报", |
| 16 | "declaring": "申报中", | 15 | "declaring": "申报中", |
| @@ -84,7 +83,7 @@ Page({ | @@ -84,7 +83,7 @@ Page({ | ||
| 84 | legal_entity_id: options.legal_entity_id | 83 | legal_entity_id: options.legal_entity_id |
| 85 | }) | 84 | }) |
| 86 | wx.setNavigationBarTitle({ | 85 | wx.setNavigationBarTitle({ |
| 87 | - title: that.data.additiontitle[options.status], | 86 | + "title": that.data.additiontitle[options.status], |
| 88 | }) | 87 | }) |
| 89 | }, | 88 | }, |
| 90 | 89 | ||
| @@ -125,6 +124,12 @@ Page({ | @@ -125,6 +124,12 @@ Page({ | ||
| 125 | }) | 124 | }) |
| 126 | }, | 125 | }, |
| 127 | 126 | ||
| 127 | + goaddSupporter:function(){ | ||
| 128 | + wx.navigateTo({ | ||
| 129 | + url: '../adddupporters/adddupporters', | ||
| 130 | + }) | ||
| 131 | + }, | ||
| 132 | + | ||
| 128 | // lookimg: function() { //查看材料 | 133 | // lookimg: function() { //查看材料 |
| 129 | 134 | ||
| 130 | // if (this.data.imgpath && this.data.imgpath.length > 0) { | 135 | // if (this.data.imgpath && this.data.imgpath.length > 0) { |
| @@ -550,7 +550,7 @@ | @@ -550,7 +550,7 @@ | ||
| 550 | 550 | ||
| 551 | <view style='margin-left:30rpx' wx:if="{{cur_status=='support_duty'}}"> | 551 | <view style='margin-left:30rpx' wx:if="{{cur_status=='support_duty'}}"> |
| 552 | <text class='text_999_28'>您还没有添加继续共同赡养人,</text> | 552 | <text class='text_999_28'>您还没有添加继续共同赡养人,</text> |
| 553 | - <text class='text_blue_28' bindtap='goadd'>请添加</text> | 553 | + <text class='text_blue_28' bindtap='goaddSupporter'>请添加</text> |
| 554 | </view> | 554 | </view> |
| 555 | </view> | 555 | </view> |
| 556 | </view> | 556 | </view> |
请
注册
或
登录
后发表评论