diff --git a/api/fee/feeApi.js b/api/fee/feeApi.js index c29b338..11f9826 100644 --- a/api/fee/feeApi.js +++ b/api/fee/feeApi.js @@ -104,4 +104,30 @@ export function getRoomOweFees(_objData) { } }); }) +} + +/** + * 查询优惠信息 + * @param {Object} _objData 费用 + */ +export function getFeeDiscounts(_objData) { + return new Promise((resolve, reject) => { + request({ + url: url.computeFeeDiscount, + method: "GET", + data: _objData, //动态数据 + success: function(res) { + if (res.statusCode == 200) { + //成功情况下跳转 + let _feeDiscounts = res.data.data; + resolve(_feeDiscounts); + return; + } + reject(); + }, + fail: function(e) { + reject(); + } + }); + }) } \ No newline at end of file diff --git a/api/index/indexApi.js b/api/index/indexApi.js index 09f79b8..4dbf8d5 100644 --- a/api/index/indexApi.js +++ b/api/index/indexApi.js @@ -48,7 +48,7 @@ export function getCategoryList() { pageone: [{ name: "物业费", src: "/static/images/index_property.png", - href: "/pages/roomFeeList/roomFeeList" + href: "/pages/roomFeeListNew/roomFeeListNew" }, { name: "停车费", src: "/static/images/index_park.png", diff --git a/components/vc-discount/vc-discount.vue b/components/vc-discount/vc-discount.vue new file mode 100644 index 0000000..a5e85eb --- /dev/null +++ b/components/vc-discount/vc-discount.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/components/vc-price/vc-price.vue b/components/vc-price/vc-price.vue index 7cb8be6..5f285f8 100644 --- a/components/vc-price/vc-price.vue +++ b/components/vc-price/vc-price.vue @@ -80,7 +80,7 @@ +