@aigc-ui/wechat-pop

0.0.28 • Public • Published

@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>

Readme

Keywords

none

Package Sidebar

Install

npm i @aigc-ui/wechat-pop

Weekly Downloads

3

Version

0.0.28

License

ISC

Unpacked Size

6.84 kB

Total Files

4

Last publish

Collaborators

  • pleasureswx123