hldy_xcx/unpackage/dist/dev/mp-weixin/pages/login/xuanchuan.js

42 lines
1.3 KiB
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "xuanchuan",
setup(__props) {
const jumpto = () => {
common_vendor.index.redirectTo({
url: `/pages/login/index`
});
};
const which = common_vendor.ref(0);
const swiperchange = (res) => {
which.value = res.detail.current;
};
return (_ctx, _cache) => {
return common_vendor.e({
a: `https://www.focusnu.com/media/directive/login/bgc0.jpg`,
b: `https://www.focusnu.com/media/directive/login/bgc1.jpg`,
c: `https://www.focusnu.com/media/directive/login/bgc2.jpg`,
d: `92vh`,
e: which.value,
f: common_vendor.o(swiperchange),
g: which.value != 2
}, which.value != 2 ? {
h: common_vendor.f([1, 2, 3], (item, index, i0) => {
return {
a: index,
b: common_vendor.n(which.value === index ? `dian-target` : `dian`)
};
})
} : {}, {
i: which.value == 2
}, which.value == 2 ? {
j: common_vendor.o(jumpto)
} : {});
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5699789f"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/xuanchuan.js.map