正在显示
4 个修改的文件
包含
15 行增加
和
6 行删除
@@ -5,8 +5,10 @@ | @@ -5,8 +5,10 @@ | ||
5 | <view wx:for="{{additionlist}}" wx:key="" style='display:flex;flex-direction:column' wx:for-index="idx01"> | 5 | <view wx:for="{{additionlist}}" wx:key="" style='display:flex;flex-direction:column' wx:for-index="idx01"> |
6 | <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'> | 6 | <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'> |
7 | <text class=' text_333_40 float_left'>{{item.legal_entity}}</text> | 7 | <text class=' text_333_40 float_left'>{{item.legal_entity}}</text> |
8 | - <view wx:if="{{item.status=='to_declare'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}' > | ||
9 | - <text class='text_godeclare_wrap '>立即申报</text> | 8 | + <view wx:if="{{item.status=='to_declare'&&item.addition_items.length<1}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}' > |
9 | + <!-- <text class='text_godeclare_wrap '> --> | ||
10 | + 立即申报 | ||
11 | + <!-- </text> --> | ||
10 | </view> | 12 | </view> |
11 | </view> | 13 | </view> |
12 | <view wx:if="{{item.addition_items&&item.addition_items.length>0}}"> | 14 | <view wx:if="{{item.addition_items&&item.addition_items.length>0}}"> |
@@ -95,11 +95,18 @@ line-height: 17px; | @@ -95,11 +95,18 @@ line-height: 17px; | ||
95 | 95 | ||
96 | .view_godeclare_wrap { | 96 | .view_godeclare_wrap { |
97 | float: left; | 97 | float: left; |
98 | - width: 160rpx; | ||
99 | background: #fff; | 98 | background: #fff; |
100 | border: 1px solid #357aeb; | 99 | border: 1px solid #357aeb; |
101 | border-radius: 15px; | 100 | border-radius: 15px; |
102 | margin-top: 20rpx; | 101 | margin-top: 20rpx; |
102 | + width: 168rpx; | ||
103 | + | ||
104 | + font-family: PingFangSC-Regular; | ||
105 | + font-size: 13px; | ||
106 | + color: #357aeb; | ||
107 | + text-align: center; | ||
108 | + line-height: 13px; | ||
109 | + padding: 10rpx 0rpx; | ||
103 | } | 110 | } |
104 | 111 | ||
105 | .text_godeclare_wrap { | 112 | .text_godeclare_wrap { |
@@ -12,7 +12,7 @@ Page({ | @@ -12,7 +12,7 @@ Page({ | ||
12 | legal_entity_id: "", | 12 | legal_entity_id: "", |
13 | legal_entity: "", | 13 | legal_entity: "", |
14 | declareStatus: { | 14 | declareStatus: { |
15 | - "to_declare ": "待申报", | 15 | + "to_declare": "待申报", |
16 | "declaring": "申报中", | 16 | "declaring": "申报中", |
17 | "success": "审核成功", | 17 | "success": "审核成功", |
18 | "failed": "审核失败" | 18 | "failed": "审核失败" |
@@ -146,8 +146,8 @@ Page({ | @@ -146,8 +146,8 @@ Page({ | ||
146 | // }, | 146 | // }, |
147 | 147 | ||
148 | showdetail: function(e) { | 148 | showdetail: function(e) { |
149 | - console.log("showdetail", JSON.stringify(this.data.additionInfo[e.currentTarget.id])) | ||
150 | if (this.data.additionInfo && this.data.additionInfo.length > 0) { | 149 | if (this.data.additionInfo && this.data.additionInfo.length > 0) { |
150 | + console.log("showdetail", JSON.stringify(this.data.additionInfo[e.currentTarget.id])) | ||
151 | wx.navigateTo({ | 151 | wx.navigateTo({ |
152 | url: '../additiondetail/additiondetail?datas=' + | 152 | url: '../additiondetail/additiondetail?datas=' + |
153 | JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status, | 153 | JSON.stringify(this.data.additionInfo[e.currentTarget.id]) + "&status=" + this.data.cur_status, |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | </view> | 20 | </view> |
21 | </scroll-view> | 21 | </scroll-view> |
22 | <view class='bottom_wrap'> | 22 | <view class='bottom_wrap'> |
23 | - <input class='input_wrap' confirm-type="send" bindinput="bindKeyInput"></input> | 23 | + <input class='input_wrap' confirm-type="send" bindinput="bindKeyInput" placeholder='请输入您要咨询的问题'></input> |
24 | <view class='btn_send_wrap' bindtap='sendMsg'>发送</view> | 24 | <view class='btn_send_wrap' bindtap='sendMsg'>发送</view> |
25 | </view> | 25 | </view> |
26 | </view> | 26 | </view> |
请
注册
或
登录
后发表评论