You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_navigationStyle2 = common_vendor.resolveComponent("navigationStyle");
_easycom_navigationStyle2();
}
const _easycom_navigationStyle = () => "../../components/navigationStyle/navigationStyle.js";
if (!Math) {
_easycom_navigationStyle();
}
const _sfc_main = {
__name: "secondaryCard",
setup(__props) {
const headerindex = common_vendor.ref(1);
const titles = common_vendor.ref("洗车次卡");
const bgcolor = common_vendor.ref("#fff");
const color = common_vendor.ref("#000");
const remo = () => {
headerindex.value = 1;
};
const add = () => {
headerindex.value = 2;
};
const demo = common_vendor.ref([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
return (_ctx, _cache) => {
return {
a: common_vendor.p({
titles: titles.value,
bgcolor: bgcolor.value,
color: color.value
}),
b: headerindex.value == 1 ? 1 : "",
c: common_vendor.o(remo),
d: headerindex.value == 2 ? 1 : "",
e: common_vendor.o(add),
f: common_vendor.f(demo.value, (item, index, i0) => {
return common_vendor.e(headerindex.value === 1 ? {} : {}, headerindex.value === 2 ? {} : {}, {
a: index
});
}),
g: headerindex.value === 1,
h: headerindex.value === 2
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/carwashingThree/pages/secondaryCard/secondaryCard.vue"]]);
wx.createPage(MiniProgramPage);