安装及使用说明
npm i @aigc-ui/wechat-pop
or
cnpm i @aigc-ui/wechat-pop
import QmiWechatPop from '@aigc-ui/wechat-pop';
Vue.use(QmiWechatPop);
<template>
<QmiWechatPop :value.sync="show" :info="payPopInfo" :type="params.type"></QmiWechatPop>
</template>
<script>
export default {
data() {
return {
show: false,
}
},
computed: {
payPopInfo() {
return {
...(this.orderInfo || {}),
...this.payOrderInfo,
}
},
params() {
return {
type: 'goods', // goods || vip
goods_id: this.goodsId
}
}
}
}
</script>