diff --git a/pages.json b/pages.json index b44e113..87e01e8 100644 --- a/pages.json +++ b/pages.json @@ -13,6 +13,14 @@ }, "pages": [ // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + + + { + "path": "pages/businessCard/cardPrint", + "style": { + "navigationBarTitleText": "卡券打印" + } + }, { "path": "pages/index/index", "style": { diff --git a/pages/businessCard/cardPrint.vue b/pages/businessCard/cardPrint.vue new file mode 100644 index 0000000..ae17d56 --- /dev/null +++ b/pages/businessCard/cardPrint.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/pages/businessCard/printCard.vue b/pages/businessCard/printCard.vue index fbc9be6..47e5ea0 100644 --- a/pages/businessCard/printCard.vue +++ b/pages/businessCard/printCard.vue @@ -17,10 +17,16 @@ + + 二维码有效期:(自打印时间算起) + + + + - - + + @@ -35,6 +41,7 @@ export default { format: true }) return { + numberValue: 0, title: 'picker', array: ['全部', '充值', '支付'], arrayWay: ['所有方式', '微信', '线下公对公'], @@ -100,6 +107,9 @@ export default { } }, methods: { + change(value) { + this.numberValue = value + }, actionsClick(text){ uni.showToast({ title:text,