暂存code
This commit is contained in:
+25
-4
@@ -91,7 +91,7 @@ const _sfc_main = {
|
||||
const params = {
|
||||
mobile: form.mobile,
|
||||
smsCode: form.smsCode,
|
||||
password: form.loginPassword,
|
||||
password: common_vendor.CryptoJS.MD5(form.loginPassword).toString(),
|
||||
inviteCode: form.referralCode
|
||||
};
|
||||
const resp = await api_auth.register(params);
|
||||
@@ -147,6 +147,24 @@ const _sfc_main = {
|
||||
} else {
|
||||
this.countdown = false;
|
||||
}
|
||||
},
|
||||
// 用户协议
|
||||
jumpUserAgreement() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine_user_agreement/mine_user_agreement?backPath=register"
|
||||
});
|
||||
},
|
||||
// 隐私协议
|
||||
jumpPrivacyAgreement() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine_privacy_agreement/mine_privacy_agreement?backPath=register"
|
||||
});
|
||||
},
|
||||
// 售后保障协议
|
||||
jumpProductAgreement() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine_product_agreement/mine_product_agreement?backPath=login"
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -261,8 +279,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
z: common_vendor.o((...args) => $options.registerFun && $options.registerFun(...args)),
|
||||
A: $data.butLoading,
|
||||
B: common_vendor.o(($event) => $data.isPolicy = $event),
|
||||
C: common_vendor.p({
|
||||
B: common_vendor.o((...args) => $options.jumpUserAgreement && $options.jumpUserAgreement(...args)),
|
||||
C: common_vendor.o((...args) => $options.jumpPrivacyAgreement && $options.jumpPrivacyAgreement(...args)),
|
||||
D: common_vendor.o((...args) => $options.jumpProductAgreement && $options.jumpProductAgreement(...args)),
|
||||
E: common_vendor.o(($event) => $data.isPolicy = $event),
|
||||
F: common_vendor.p({
|
||||
name: "isCheck",
|
||||
usedAlone: true,
|
||||
shape: "circle",
|
||||
@@ -271,7 +292,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
iconSize: "18",
|
||||
checked: $data.isPolicy
|
||||
}),
|
||||
D: common_vendor.sr("uToastRef", "6cfc9b6b-11")
|
||||
G: common_vendor.sr("uToastRef", "6cfc9b6b-11")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
Reference in New Issue
Block a user