no message

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:00:29 +08:00
commit 4d06351f6a
2830 changed files with 166480 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const common_js_user = require("../../common/js/user.js");
if (!Array) {
const _easycom_up_checkbox2 = common_vendor.resolveComponent("up-checkbox");
_easycom_up_checkbox2();
}
const _easycom_up_checkbox = () => "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";
if (!Math) {
_easycom_up_checkbox();
}
const _sfc_main = {
__name: "login",
setup(__props) {
let aloneChecked = common_vendor.ref(false);
let getPhoneNumber = async (e) => {
if (!aloneChecked.value) {
return common_vendor.index.showToast({
title: "请先阅读并同意用户协议和隐私政策",
icon: "none"
});
}
try {
common_js_user.login(e, 2);
} catch (err) {
common_vendor.index.showToast({
title: err,
icon: "none"
});
}
};
const toNav = (e) => {
common_vendor.index.navigateTo({
url: e
});
};
const change = (e) => {
aloneChecked.value = e;
};
return (_ctx, _cache) => {
return {
a: common_assets._imports_0$5,
b: !common_vendor.unref(aloneChecked),
c: common_vendor.o((...args) => common_vendor.unref(getPhoneNumber) && common_vendor.unref(getPhoneNumber)(...args)),
d: common_vendor.o(change),
e: common_vendor.p({
shape: "circle",
name: "agree",
usedAlone: true
}),
f: common_vendor.o(($event) => toNav("/pages/agreement/agreement?id=9")),
g: common_vendor.o(($event) => toNav("/pages/agreement/agreement?id=10"))
};
};
}
};
wx.createPage(_sfc_main);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/login.js.map