purchase-let/unpackage/dist/dev/mp-weixin/pagesOrder/order/component/good.js

78 lines
2.1 KiB
JavaScript

"use strict";
const common_vendor = require("../../../common/vendor.js");
if (!Array) {
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
(_easycom_up_button2 + _easycom_up_icon2)();
}
const _easycom_up_button = () => "../../../uni_modules/uview-plus/components/u-button/u-button.js";
const _easycom_up_icon = () => "../../../uni_modules/uview-plus/components/u-icon/u-icon.js";
if (!Math) {
(_easycom_up_button + _easycom_up_icon)();
}
const _sfc_main = {
__name: "good",
props: {
type: {
type: Number,
default: 0
}
},
setup(__props) {
const navTo = () => {
common_vendor.index.navigateTo({
url: "/pagesOrder/detail/detail?type=1"
});
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(navTo),
b: common_vendor.o(navTo),
c: __props.type == 1
}, __props.type == 1 ? {
d: common_vendor.p({
size: "small",
plain: true,
color: "#989898",
shape: "circle"
}),
e: common_vendor.p({
size: "small",
plain: true,
color: "#20B128",
shape: "circle"
})
} : {}, {
f: __props.type == 2 || __props.type == 0
}, __props.type == 2 || __props.type == 0 ? {
g: common_vendor.p({
size: "small",
plain: true,
color: "#989898",
shape: "circle"
}),
h: common_vendor.p({
size: "small",
plain: true,
color: "#20B128",
shape: "circle"
}),
i: common_vendor.p({
size: "small",
plain: true,
color: "#20B128",
shape: "circle"
})
} : {}, {
j: __props.type == 3
}, __props.type == 3 ? {
k: common_vendor.p({
name: "arrow-right"
})
} : {});
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/里海数字乡村/purchase-let/pagesOrder/order/component/good.vue"]]);
wx.createComponent(Component);