diff --git a/src/pages/order/components/offlinePay/index.tsx b/src/pages/order/components/offlinePay/index.tsx
index 35bb7ff..87f1d25 100644
--- a/src/pages/order/components/offlinePay/index.tsx
+++ b/src/pages/order/components/offlinePay/index.tsx
@@ -11,13 +11,18 @@ import Taro from "@tarojs/taro";
type Param = {
show?: true|false,
- onClose?: () => void
+ onClose?: () => void,
+ offlineInfo?: {
+ account_name: string,
+ bank_of_deposit: string,
+ transfer_remittance_account: string
+ }
}
-export default memo(({show = true, onClose}:Param) => {
+export default memo(({show = true, onClose, offlineInfo}:Param) => {
//复制功能
const clipboardData = () => {
Taro.setClipboardData({
- data: '开户名称:佛山市浩川盛世科技有限公司;\n\r 开户银行:招商银行汾江支行;\n\r 转账汇款账号:62062342120001221231212;',
+ data: `开户名称:${offlineInfo?.account_name};\n\r 开户银行:${offlineInfo?.bank_of_deposit};\n\r 转账汇款账号:${offlineInfo?.transfer_remittance_account};`,
success: function (res) {
Taro.showToast({
icon: 'none',
@@ -34,13 +39,13 @@ export default memo(({show = true, onClose}:Param) => {
线下汇款
- 佛山市浩川盛世科技有限公司
+ {offlineInfo?.account_name}
- 招商银行汾江支行
+ {offlineInfo?.bank_of_deposit}
- 62062342120001221231212
+ {offlineInfo?.transfer_remittance_account}
复制信息
diff --git a/src/pages/order/components/payment/index.tsx b/src/pages/order/components/payment/index.tsx
index d8d2506..7476080 100644
--- a/src/pages/order/components/payment/index.tsx
+++ b/src/pages/order/components/payment/index.tsx
@@ -214,7 +214,7 @@ export default memo(({show = false, onClose, orderInfo, onSubmitSuccess}:Param)
确认交易
- setofflinePayShow(false)}/>
+ setofflinePayShow(false)} offlineInfo={payInfo?.offline_remittance_information}/>
setScanPayShow(false)}/>