处理订单列表
This commit is contained in:
@@ -10,8 +10,7 @@ if (!Array) {
|
||||
const _easycom_nut_cell_group2 = common_vendor.resolveComponent("nut-cell-group");
|
||||
const _easycom_nut_tag2 = common_vendor.resolveComponent("nut-tag");
|
||||
const _easycom_nut_price2 = common_vendor.resolveComponent("nut-price");
|
||||
const _easycom_nut_button2 = common_vendor.resolveComponent("nut-button");
|
||||
(_easycom_nut_step2 + _easycom_nut_steps2 + _easycom_nut_cell2 + _easycom_nut_cell_group2 + _easycom_nut_tag2 + _easycom_nut_price2 + _easycom_nut_button2)();
|
||||
(_easycom_nut_step2 + _easycom_nut_steps2 + _easycom_nut_cell2 + _easycom_nut_cell_group2 + _easycom_nut_tag2 + _easycom_nut_price2)();
|
||||
}
|
||||
const _easycom_nut_step = () => "../../uni_modules/nutui-uni/components/step/step.js";
|
||||
const _easycom_nut_steps = () => "../../uni_modules/nutui-uni/components/steps/steps.js";
|
||||
@@ -19,9 +18,8 @@ const _easycom_nut_cell = () => "../../uni_modules/nutui-uni/components/cell/cel
|
||||
const _easycom_nut_cell_group = () => "../../uni_modules/nutui-uni/components/cellgroup/cellgroup.js";
|
||||
const _easycom_nut_tag = () => "../../uni_modules/nutui-uni/components/tag/tag.js";
|
||||
const _easycom_nut_price = () => "../../uni_modules/nutui-uni/components/price/price.js";
|
||||
const _easycom_nut_button = () => "../../uni_modules/nutui-uni/components/button/button.js";
|
||||
if (!Math) {
|
||||
(_easycom_nut_step + _easycom_nut_steps + _easycom_nut_cell + _easycom_nut_cell_group + _easycom_nut_tag + _easycom_nut_price + _easycom_nut_button)();
|
||||
(_easycom_nut_step + _easycom_nut_steps + _easycom_nut_cell + _easycom_nut_cell_group + _easycom_nut_tag + _easycom_nut_price)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "detail",
|
||||
@@ -41,9 +39,9 @@ const _sfc_main = {
|
||||
});
|
||||
const getConfig = () => {
|
||||
api_config.fetchGetConfig().then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/order/detail.vue:149", "getConfig=====>", res);
|
||||
common_vendor.index.__f__("log", "at pages/order/detail.vue:126", "getConfig=====>", res);
|
||||
audit.value = res.appConfig.is_audit == 1;
|
||||
common_vendor.index.__f__("log", "at pages/order/detail.vue:151", res.appConfig.pay_imgs);
|
||||
common_vendor.index.__f__("log", "at pages/order/detail.vue:128", res.appConfig.pay_imgs);
|
||||
let pay_imgs = JSON.parse(res.appConfig.pay_imgs) || [];
|
||||
let wechat_imgs = JSON.parse(res.appConfig.wechat_imgs) || [];
|
||||
let pay_imgs_arr = pay_imgs.map((item) => item.file_path) || [];
|
||||
@@ -52,19 +50,6 @@ const _sfc_main = {
|
||||
images.value = merged_imgs_arr;
|
||||
});
|
||||
};
|
||||
const showPayImgs = () => {
|
||||
if (images.value.length === 0) {
|
||||
common_vendor.index.showToast({
|
||||
title: "暂无图片",
|
||||
icon: "none"
|
||||
});
|
||||
return;
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/order/detail.vue:170", "preview images:", images);
|
||||
common_vendor.index.previewImage({
|
||||
urls: images.value
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
@@ -134,14 +119,6 @@ const _sfc_main = {
|
||||
title: "物流单号",
|
||||
desc: detail.express_no
|
||||
})
|
||||
} : {}, {
|
||||
s: detail.progress === 1 && !audit.value
|
||||
}, detail.progress === 1 && !audit.value ? {
|
||||
t: common_vendor.o(($event) => showPayImgs()),
|
||||
v: common_vendor.p({
|
||||
type: "primary",
|
||||
block: true
|
||||
})
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user