新增收银台组件

This commit is contained in:
唐明明
2022-01-04 11:34:26 +08:00
parent 219bc6027a
commit 304c4c9b98
14 changed files with 5131 additions and 3885 deletions

31
pages/pay/pay.vue Normal file
View File

@@ -0,0 +1,31 @@
<template>
<view>
<oct-pay
price="100.00"
payNo="2021321649127837218918231"
color="#34CE98"
price-color="#e6576b"
:payPlatform="['alipay', 'wxpay']"
@onPay="pay"
/>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
pay(e){
console.log("支付平台" + e.platform)
}
}
}
</script>
<style>
</style>