{"_id":"t-coupon-bag","name":"t-coupon-bag","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"t-coupon-bag","version":"1.0.0","description":"### import tCouponBag from '@/t-coupon-bag/components/t-coupon-bag/t-coupon-bag.vue'","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"t-coupon-bag@1.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-EoiBGKCOgps3nwQiOQCP8vIqxKRLt8eBEDY1q9YyJV/FaKy5TnGIW2BilAJMKKzemYTp9RE2gDkQd75gkLS/hA==","shasum":"ca7d627e5036b9af772d43c7591247dff5723196","tarball":"https://registry.npmjs.org/t-coupon-bag/-/t-coupon-bag-1.0.0.tgz","fileCount":20,"unpackedSize":134177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAptmZ+jx1phHxuXDwC89El9/HdJY9ARsQH+nsjhdw9AiA9Q3xFRFSXfJ+4voCT8lIe+HFzNUfXI7hqe6wLlyMJVw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjvQzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUSRAAhT73tVWpsaBaLFRBaGDAJxrgQLrDkQ9lEtKZZ+EC1UcoB8EW\r\n2aO9kQgHim/ZCeuGUAgsvHtyEAfMb+EqVT3KSZqICD/P+YX3kM8VdxgsdSAU\r\n1pCSZIwpqgkwcSKqcyrQA7pXQKh2DKqJWD/gWaOrtZUjx3MT+aUtC0JVGMMn\r\nI+cSbA56kTVkEbRzuvlVa6dHGlryeHJa3GHMmpIwESf28H4QJTAXv+b2kol4\r\nnOBW6F0gQB+LnOIEWPPEdV+S3Oc3KvgQ/iDKL9n+22Ha4lLl5KMQgNL2++RD\r\n/Nhu4EY+o/6BdLpjGUCik9Ahb8rGtHDAzY0aN10NDset8t79NRG+0spBiIM4\r\nM1XHGiphicudd40DlioMJGFhiAcpdqeCfrqwY2HZDZMu+C+jEcf+RN8mJv4Q\r\nlZDmvmOaywuH5hbZadjUEkUVcQ/0QM2/qA4rN2z+o9TrOxiFy6d/PsU5hRYK\r\n7a1pqaIfQ7+xxzRUbTzX4aks4PHDegGNj8q/sp8AvWBBKO8QMQZ5abIkVNHL\r\nB0T/4wi+luUFe18Fxw8J3Dux2NfB+ArWaPqEoGAokQVmLksCaC+gMZln2aS+\r\n06rBPqr2IYNc9dwJYkpxZoEyYOxS6L0RCMKxiA+km8ihDZHuBOFKFaCCFk2k\r\nRVzzzfm4PFklm07KU4ZcY/aj/nB2nxLihSo=\r\n=6Ma/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"monethan","email":"350394109@qq.com"},"directories":{},"maintainers":[{"name":"monethan","email":"350394109@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-coupon-bag_1.0.0_1670313011319_0.0734904089523567"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-06T07:50:11.319Z","1.0.0":"2022-12-06T07:50:11.472Z","modified":"2022-12-06T07:50:11.602Z"},"maintainers":[{"name":"monethan","email":"350394109@qq.com"}],"description":"### import tCouponBag from '@/t-coupon-bag/components/t-coupon-bag/t-coupon-bag.vue'","license":"ISC","readme":"## 使用 npm i t-coupon-bag 或者 cnpm i t-coupon-bag安装插件\n\n### import tCouponBag from '@/t-coupon-bag/components/t-coupon-bag/t-coupon-bag.vue'\n\n#### <t-coupon-bag :tabTemp=\"typeTemp\" @lower='lower' @choice-tic-type=\"choiceTicType\" :themeColor=\"'#ff6300'\" :couponData='dataList'></t-coupon-bag>\n####  tabTemp tab按钮数据\n####  @choice-tic-type=\"choiceTicType\"  tab按钮点击事件\n```\ntab切换\n\tconst typeTemp = [{label: '未使用',value: '未使用'},{label: '已使用',value: '已使用'},{label: '已过期',value: '已过期'}]\n```\n```\n点击事件\n\tconst choiceTicType = (index:number) =>{\n\t\tconsole.log('选中',index)\n\t}\n\tinterface List {\n\t\tstatus: String,\n\t\t\ttitle: String,\n\t\t\tdesc: String,\n\t\t\tlimitTime: String,\n\t\t\tid: Number\n\t}\n\tconst dataList = ref < List[] > ([]);\n\tconst lower = () => {\n\t\tconst list = []\n\t\tdataList.value = [...dataList.value]\n\t\t// dataList.value = dataList.value.concat(list)\n\t}\n\t\n```\n#### :themeColor=\"'#ff6300'\" 选中文字颜色\n\n","readmeFilename":"README.md"}