|
@@ -87,7 +87,7 @@ export default class Raise extends Component {
|
87
|
87
|
<Block>
|
88
|
88
|
<View className="cancelReason flexSpace">
|
89
|
89
|
<View className="flexSpace-fixed">
|
90
|
|
- <NamedIcon name="void" size={120} />
|
|
90
|
+ <Image src={require('../../assets/void.png')} style="width:120rpx;height:120rpx"></Image>
|
91
|
91
|
</View>
|
92
|
92
|
<View className="flexSpace-item" style="margin-left: 20px">
|
93
|
93
|
<View>认筹单作废原因:</View>
|
|
@@ -100,10 +100,26 @@ export default class Raise extends Component {
|
100
|
100
|
}
|
101
|
101
|
// 跳转去交费
|
102
|
102
|
toPay = () => {
|
103
|
|
- const { raiseDeatil: { raiseRecordId } } = this.state
|
104
|
|
- Taro.navigateTo({
|
105
|
|
- url: `/onlineSelling/pages/raiseMoney/index?type=pay&raiseRecordId=${raiseRecordId}`
|
|
103
|
+ console.log(this.props, "this.propsthis.propsthis.props")
|
|
104
|
+ const { user: { userInfo: { miniApp: { tpls } } } } = this.props
|
|
105
|
+ const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_NOTICE && x.isSubscribe == true)[0] || {}).tplId
|
|
106
|
+
|
|
107
|
+ wx.requestSubscribeMessage({
|
|
108
|
+ tmplIds: [tplId],
|
|
109
|
+ success(res) {
|
|
110
|
+ },
|
|
111
|
+ fail(res) {
|
|
112
|
+
|
|
113
|
+ },
|
|
114
|
+ complete() {
|
|
115
|
+ const { raiseDeatil: { raiseRecordId } } = this.state
|
|
116
|
+
|
|
117
|
+ Taro.navigateTo({
|
|
118
|
+ url: `/onlineSelling/pages/raiseMoney/index?type=pay&raiseRecordId=${raiseRecordId}`
|
|
119
|
+ })
|
|
120
|
+ }
|
106
|
121
|
})
|
|
122
|
+
|
107
|
123
|
}
|
108
|
124
|
// 未交费提示
|
109
|
125
|
renderUnpayNotice() {
|
|
@@ -112,7 +128,7 @@ export default class Raise extends Component {
|
112
|
128
|
<Block>
|
113
|
129
|
<View className="unpayNotice flexSpace" onClick={this.toPay}>
|
114
|
130
|
<View className="flexSpace-fixed">
|
115
|
|
- <NamedIcon name="pay" size={64} />
|
|
131
|
+ <Image src={require('../../assets/pay.png')} style="width:64rpx;height:64rpx"></Image>
|
116
|
132
|
<View className="a-line txt">未缴费?点我缴费</View>
|
117
|
133
|
</View>
|
118
|
134
|
<View className="flexSpace-fixed">
|