|
@@ -73,10 +73,9 @@ export default class Raise extends Component {
|
73
|
73
|
<Text>查看全部({houseList.length})</Text>
|
74
|
74
|
<Text className='at-icon at-icon-chevron-right'></Text>
|
75
|
75
|
</View>}
|
76
|
|
-
|
77
|
76
|
</View>
|
78
|
77
|
</View>
|
79
|
|
- <RaiseCard summary={houseList[0]} type="raiseProfile" style="height:280rpx" />
|
|
78
|
+ <RaiseCard summary={houseList[0]} type="raiseProfile" style="height:auto" />
|
80
|
79
|
</Block>
|
81
|
80
|
)
|
82
|
81
|
}
|
|
@@ -168,9 +167,15 @@ export default class Raise extends Component {
|
168
|
167
|
num = num.replace(reg, '$1');
|
169
|
168
|
num = this.toDecimal2(num)
|
170
|
169
|
return num
|
171
|
|
- };
|
|
170
|
+ }
|
|
171
|
+ toAgreement(agreement, buildingId) {
|
|
172
|
+ Taro.navigateTo({
|
|
173
|
+ url: `/onlineSelling/pages/protocol/index?agreement=${agreement}&buildingId=${buildingId}`
|
|
174
|
+ })
|
|
175
|
+ }
|
|
176
|
+
|
172
|
177
|
render() {
|
173
|
|
- const { buildingId, raiseDeatil, orderDetail, refundOrder } = this.state;
|
|
178
|
+ const { buildingId, raiseDeatil, orderDetail, refundOrder, raiseOrder } = this.state;
|
174
|
179
|
|
175
|
180
|
|
176
|
181
|
// 认筹信息
|
|
@@ -183,7 +188,7 @@ export default class Raise extends Component {
|
183
|
188
|
// 缴费信息
|
184
|
189
|
const payInfo = [
|
185
|
190
|
{ head: '缴费方式', body: `${raiseDeatil.payType == 'onLine' ? '线上缴费' : '线下缴费'}` },
|
186
|
|
- { head: '实际支付费用', body: this.regFenToYuan(orderDetail.totalFee)+'元' },
|
|
191
|
+ { head: '实际支付费用', body: this.regFenToYuan(orderDetail.totalFee) + '元' },
|
187
|
192
|
{ head: '缴费成功时间', body: dayjs(orderDetail.payTime).format('YYYY/MM/DD HH:mm:ss') },
|
188
|
193
|
]
|
189
|
194
|
|
|
@@ -192,7 +197,7 @@ export default class Raise extends Component {
|
192
|
197
|
{ head: '退费状态', body: refundOrder.payStatus == 'refunded' ? '退费完成' : '退费中' },
|
193
|
198
|
{ head: '退费结果', body: refundOrder.payStatus == 'refunded' ? '成功' : '失败' },
|
194
|
199
|
{ head: '退费发起时间', body: dayjs(refundOrder.createDate).format('YYYY/MM/DD HH:mm:ss') },
|
195
|
|
- { head: '实退费用', body: this.regFenToYuan(refundOrder.totalFee)+'元' },
|
|
200
|
+ { head: '实退费用', body: this.regFenToYuan(refundOrder.totalFee) + '元' },
|
196
|
201
|
{ head: '退费到账时间', body: dayjs(refundOrder.payTime).format('YYYY/MM/DD HH:mm:ss') },
|
197
|
202
|
{ head: '退费原因', desc: raiseDeatil.refundReason },
|
198
|
203
|
]
|
|
@@ -213,6 +218,10 @@ export default class Raise extends Component {
|
213
|
218
|
<View className="tip">{raiseDeatil.payDescription || ''}</View>
|
214
|
219
|
{raiseDeatil.status == '0' && this.renderCancelReason()}
|
215
|
220
|
{raiseDeatil.payStatus == 'unpaid' && this.renderUnpayNotice()}
|
|
221
|
+ <View className="raise-flex">
|
|
222
|
+ <View className="date">认筹提交时间 </View>
|
|
223
|
+ <View className="agreement" onClick={() => this.toAgreement(raiseOrder.payProtocol, raiseOrder.buildingId)}>线上选房协议<Text className="right-icon"></Text></View>
|
|
224
|
+ </View>
|
216
|
225
|
<View>
|
217
|
226
|
<CellBlock dataset={raiseInfo} />
|
218
|
227
|
{raiseDeatil.consultantInfo && <ConsultantItem
|