@aigc-ui/wechat-pop
v0.0.28
Published
> TODO: description
Downloads
46
Readme
@aigc-ui/wechat-pop
安装及使用说明
Install
npm i @aigc-ui/wechat-pop
or
cnpm i @aigc-ui/wechat-pop
Usage
在入口main.js
文件中引入
import QmiWechatPop from '@aigc-ui/wechat-pop';
Vue.use(QmiWechatPop);
在需要的地方引入example
<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>