43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
if (!Math) {
|
|
tabcontrolVue();
|
|
}
|
|
const tabcontrolVue = () => "./components/tabcontrol.js";
|
|
const _sfc_main = {
|
|
__name: "login",
|
|
setup(__props) {
|
|
const { statusBarHeight } = common_vendor.inject("deviceInfo");
|
|
const tabCurrent = common_vendor.ref(1);
|
|
common_vendor.reactive({
|
|
sex: 1
|
|
});
|
|
setTimeout(() => {
|
|
console.log("gg");
|
|
}, 4e3);
|
|
const getuserinfo = (e) => {
|
|
console.log(e);
|
|
};
|
|
function nextStep() {
|
|
tabCurrent.value += 1;
|
|
}
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.unref(statusBarHeight) + "px",
|
|
b: common_assets._imports_0,
|
|
c: common_vendor.o(getuserinfo),
|
|
d: common_assets._imports_1,
|
|
e: common_assets._imports_2,
|
|
f: common_vendor.o(nextStep),
|
|
g: common_vendor.o(nextStep),
|
|
h: common_vendor.o(nextStep),
|
|
i: common_vendor.p({
|
|
current: tabCurrent.value
|
|
})
|
|
};
|
|
};
|
|
}
|
|
};
|
|
wx.createPage(_sfc_main);
|