diff --git a/api/order.js b/api/order.js index cd9933d..842568e 100644 --- a/api/order.js +++ b/api/order.js @@ -139,3 +139,21 @@ export function returnGoodsFeedback(data) { data, }); } + + +// 查询快递公司 +export function getExpressCompany() { + return request({ + url: "/common/getExpress", + method: "get", + }); +} + +// 取消订单 +export function cancelOrder(data) { + return request({ + url: "/order/cancelOrder", + method: "post", + data, + }); +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index eedfbbc..dc889ac 100644 --- a/manifest.json +++ b/manifest.json @@ -64,7 +64,12 @@ "sdkConfigs" : { "payment" : { "alipay" : { - "__platform__" : [ "ios", "android" ] + "__platform__" : [ "ios" ] + }, + "weixin" : { + "__platform__" : [ "ios", "android" ], + "appid" : "wxb1deb175472de036", + "UniversalLinks" : "" } } }, diff --git a/pages/home/home.vue b/pages/home/home.vue index a78e635..732f28c 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -447,6 +447,7 @@ export default { const params = { type, page: 1, + isRecomm:true, pageSize: type === SEARCH_TYPE.SOMETHING ? 4 : 3, } const resp = await searchList(params); diff --git a/pages/mine_package/mine_order/after-sales/refund-popu.vue b/pages/mine_package/mine_order/after-sales/refund-popu.vue index 280f066..ee82555 100644 --- a/pages/mine_package/mine_order/after-sales/refund-popu.vue +++ b/pages/mine_package/mine_order/after-sales/refund-popu.vue @@ -42,6 +42,10 @@ 邮寄地址 {{ address || "--" }} + + 选择快递名称 + {{ product.expressName || "--" }} + 填快递单号 - - - 填快递名称 - @@ -69,18 +63,29 @@ 'bottom_box', { bottom_box_disabled: - status == 2 && (!cancelForm.expressNo || !cancelForm.expressName), + status == 2 && (!product.expressNo || !product.expressName), }, - { bottom_box_quash: status == 1 }, + { bottom_box_quash: status == 1 || status == 3 }, ]" > - {{ buttonLabel }} + {{ buttonLabel }} + + + -