diff --git a/src/views/chargeFee.vue b/src/views/chargeFee.vue index cf14612..5ba76a4 100644 --- a/src/views/chargeFee.vue +++ b/src/views/chargeFee.vue @@ -1,13 +1,59 @@ @@ -20,10 +66,11 @@ export default { return { waterFee: 5000, electricityFee: 10000, + isPaid: false }; }, created() { - // this.getPrice(); + // this.getPrice(); }, methods: { getPrice() { @@ -38,31 +85,150 @@ export default { }); } }); + }, + handlePayment() { + this.isPaid = true; + ElMessage({ + message: "缴费成功!", + type: "success" + }); } }, }; + \ No newline at end of file