aI问答支持流式输出,效果非常好
This commit is contained in:
@@ -33,7 +33,7 @@ const _sfc_main = {
|
||||
src: {
|
||||
handler(src) {
|
||||
if (src && src.substring(0, 8) == "cloud://") {
|
||||
common_vendor.tr.getTempFileURL({
|
||||
common_vendor._r.getTempFileURL({
|
||||
fileList: [src]
|
||||
}).then((res) => {
|
||||
this.cSrc = res.fileList[0].tempFileURL;
|
||||
@@ -65,7 +65,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: $data.cSrc,
|
||||
e: $props.mode
|
||||
} : {}, {
|
||||
f: common_vendor.o((...args) => $options.onClick && $options.onClick(...args)),
|
||||
f: common_vendor.o((...args) => $options.onClick && $options.onClick(...args), "93"),
|
||||
g: $props.width,
|
||||
h: $props.height
|
||||
});
|
||||
|
||||
@@ -95,7 +95,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
b: $data.needAgreements
|
||||
}, $data.needAgreements ? {
|
||||
c: $data.isAgree,
|
||||
d: common_vendor.o((...args) => $options.setAgree && $options.setAgree(...args)),
|
||||
d: common_vendor.o((...args) => $options.setAgree && $options.setAgree(...args), "2d"),
|
||||
e: common_vendor.f($options.agreements, (agreement, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(agreement.title),
|
||||
@@ -117,7 +117,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: index
|
||||
});
|
||||
}),
|
||||
h: common_vendor.o($options.popupConfirm),
|
||||
h: common_vendor.o($options.popupConfirm, "bd"),
|
||||
i: common_vendor.p({
|
||||
confirmText: "同意"
|
||||
}),
|
||||
|
||||
@@ -62,7 +62,7 @@ const _sfc_main = {
|
||||
});
|
||||
let {
|
||||
fileID
|
||||
} = await common_vendor.tr.uploadFile({
|
||||
} = await common_vendor._r.uploadFile({
|
||||
filePath: avatarUrl,
|
||||
cloudPath,
|
||||
fileType: "image"
|
||||
@@ -109,8 +109,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
color: "#dddddd"
|
||||
})
|
||||
}, {
|
||||
g: common_vendor.o((...args) => $options.bindchooseavatar && $options.bindchooseavatar(...args)),
|
||||
h: common_vendor.o((...args) => $options.uploadAvatarImg && $options.uploadAvatarImg(...args)),
|
||||
g: common_vendor.o((...args) => $options.bindchooseavatar && $options.bindchooseavatar(...args), "26"),
|
||||
h: common_vendor.o((...args) => $options.uploadAvatarImg && $options.uploadAvatarImg(...args), "f3"),
|
||||
i: $props.border ? 1 : "",
|
||||
j: $props.width,
|
||||
k: $props.height,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const db = common_vendor.tr.database();
|
||||
const db = common_vendor._r.database();
|
||||
db.collection("uni-id-users");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co");
|
||||
const _sfc_main = {
|
||||
emits: ["success"],
|
||||
computed: {},
|
||||
@@ -23,7 +23,7 @@ const _sfc_main = {
|
||||
success({
|
||||
code
|
||||
}) {
|
||||
common_vendor.tr.importObject("uni-id-co", {
|
||||
common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
}).loginByWeixin({ code }).then((e) => {
|
||||
resolve();
|
||||
@@ -73,8 +73,8 @@ if (!Math) {
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o((...args) => $options.closeMe && $options.closeMe(...args)),
|
||||
b: common_vendor.o((...args) => $options.bindMobileByMpWeixin && $options.bindMobileByMpWeixin(...args)),
|
||||
a: common_vendor.o((...args) => $options.closeMe && $options.closeMe(...args), "c3"),
|
||||
b: common_vendor.o((...args) => $options.bindMobileByMpWeixin && $options.bindMobileByMpWeixin(...args), "1d"),
|
||||
c: common_vendor.sr("popup", "e0127e04-0"),
|
||||
d: common_vendor.p({
|
||||
type: "bottom"
|
||||
|
||||
@@ -120,7 +120,7 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/components/uni-id-pages-email-form/uni-id-pages-email-form.vue:144", "sendEmailCode", {
|
||||
@@ -186,14 +186,14 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.sr("captcha", "bcd6b47b-0"),
|
||||
b: common_vendor.o(($event) => $data.captcha = $event),
|
||||
b: common_vendor.o(($event) => $data.captcha = $event, "5c"),
|
||||
c: common_vendor.p({
|
||||
focus: $props.focusCaptchaInput,
|
||||
scene: "send-email-code",
|
||||
modelValue: $data.captcha
|
||||
}),
|
||||
d: common_vendor.o(($event) => $data.focusEmailCodeInput = false),
|
||||
e: common_vendor.o(($event) => $data.modelValue = $event),
|
||||
d: common_vendor.o(($event) => $data.focusEmailCodeInput = false, "13"),
|
||||
e: common_vendor.o(($event) => $data.modelValue = $event, "eb"),
|
||||
f: common_vendor.p({
|
||||
focus: $data.focusEmailCodeInput,
|
||||
type: "number",
|
||||
@@ -204,7 +204,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
g: common_vendor.t($options.innerText),
|
||||
h: common_vendor.n($data.reverseNumber == 0 ? "inner-text-active" : ""),
|
||||
i: common_vendor.o((...args) => _ctx.start && _ctx.start(...args))
|
||||
i: common_vendor.o((...args) => _ctx.start && _ctx.start(...args), "2a")
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bcd6b47b"]]);
|
||||
|
||||
@@ -300,7 +300,7 @@ const _sfc_main = {
|
||||
login(params, type) {
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue:480", { params, type });
|
||||
let action = "loginBy" + type.trim().replace(type[0], type[0].toUpperCase());
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
uniIdCo[action](params).then((result) => {
|
||||
@@ -311,7 +311,7 @@ const _sfc_main = {
|
||||
});
|
||||
if (type === "weixin") {
|
||||
try {
|
||||
const db = common_vendor.tr.database();
|
||||
const db = common_vendor._r.database();
|
||||
const userCollection = db.collection("uni-id-users");
|
||||
userCollection.doc(result.uid).field("username,nickname,avatar_file,mobile,email").get().then((userRes) => {
|
||||
const userData = userRes.result.data[0] || {};
|
||||
|
||||
@@ -114,7 +114,7 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at uni_modules/uni-id-pages/components/uni-id-pages-sms-form/uni-id-pages-sms-form.vue:139", "sendSmsCode", {
|
||||
@@ -180,14 +180,14 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.sr("captcha", "4b649130-0"),
|
||||
b: common_vendor.o(($event) => $data.captcha = $event),
|
||||
b: common_vendor.o(($event) => $data.captcha = $event, "bb"),
|
||||
c: common_vendor.p({
|
||||
focus: $props.focusCaptchaInput,
|
||||
scene: "send-sms-code",
|
||||
modelValue: $data.captcha
|
||||
}),
|
||||
d: common_vendor.o(($event) => $data.focusSmsCodeInput = false),
|
||||
e: common_vendor.o(($event) => $data.modelValue = $event),
|
||||
d: common_vendor.o(($event) => $data.focusSmsCodeInput = false, "db"),
|
||||
e: common_vendor.o(($event) => $data.modelValue = $event, "ca"),
|
||||
f: common_vendor.p({
|
||||
focus: $data.focusSmsCodeInput,
|
||||
type: "number",
|
||||
@@ -200,7 +200,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
g: common_vendor.t($options.innerText),
|
||||
h: common_vendor.n($data.reverseNumber == 0 ? "inner-text-active" : ""),
|
||||
i: common_vendor.o((...args) => _ctx.start && _ctx.start(...args))
|
||||
i: common_vendor.o((...args) => _ctx.start && _ctx.start(...args), "75")
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4b649130"]]);
|
||||
|
||||
@@ -25,7 +25,7 @@ const _sfc_main = {
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
errorOptions: {
|
||||
type: "toast"
|
||||
}
|
||||
@@ -72,17 +72,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.sr("smsCode", "661d78f6-1,661d78f6-0"),
|
||||
c: common_vendor.o(($event) => $data.code = $event),
|
||||
c: common_vendor.o(($event) => $data.code = $event, "4c"),
|
||||
d: common_vendor.p({
|
||||
focusCaptchaInput: true,
|
||||
type: "login-by-sms",
|
||||
phone: $data.phone,
|
||||
modelValue: $data.code
|
||||
}),
|
||||
e: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
e: common_vendor.o((...args) => $options.submit && $options.submit(...args), "0e"),
|
||||
f: common_vendor.sr("popup", "661d78f6-2"),
|
||||
g: common_vendor.o($options.submit),
|
||||
h: common_vendor.o(($event) => $data.captcha = $event),
|
||||
g: common_vendor.o($options.submit, "92"),
|
||||
h: common_vendor.o(($event) => $data.captcha = $event, "88"),
|
||||
i: common_vendor.p({
|
||||
scene: "login-by-sms",
|
||||
modelValue: $data.captcha
|
||||
|
||||
@@ -124,30 +124,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, ["apple", "weixin", "weixinMobile", "huawei", "huaweiMobile"].includes($data.type) ? common_vendor.e({
|
||||
c: $data.type !== "weixinMobile" && $data.type !== "huaweiMobile"
|
||||
}, $data.type !== "weixinMobile" && $data.type !== "huaweiMobile" ? {
|
||||
d: common_vendor.o((...args) => $options.quickLogin && $options.quickLogin(...args)),
|
||||
d: common_vendor.o((...args) => $options.quickLogin && $options.quickLogin(...args), "61"),
|
||||
e: $options.imgSrc
|
||||
} : common_vendor.e({
|
||||
f: $data.type === "weixinMobile"
|
||||
}, $data.type === "weixinMobile" ? {
|
||||
g: common_vendor.o((...args) => $options.quickLogin && $options.quickLogin(...args))
|
||||
g: common_vendor.o((...args) => $options.quickLogin && $options.quickLogin(...args), "86")
|
||||
} : {}, {
|
||||
h: $data.type === "huaweiMobile"
|
||||
}, $data.type === "huaweiMobile" ? {
|
||||
i: $options.imgSrc,
|
||||
j: common_vendor.o((...args) => $options.quickLogin && $options.quickLogin(...args))
|
||||
j: common_vendor.o((...args) => $options.quickLogin && $options.quickLogin(...args), "0c")
|
||||
} : {}, {
|
||||
k: this.needAgreements && !this.agree
|
||||
}, this.needAgreements && !this.agree ? {
|
||||
l: common_vendor.o((...args) => $options.showAgreementModal && $options.showAgreementModal(...args))
|
||||
l: common_vendor.o((...args) => $options.showAgreementModal && $options.showAgreementModal(...args), "cb")
|
||||
} : {}), {
|
||||
m: common_vendor.sr("agreements", "f1f87fcd-0"),
|
||||
n: common_vendor.p({
|
||||
scope: "register"
|
||||
})
|
||||
}) : {
|
||||
o: common_vendor.o((...args) => $options.chooseArea && $options.chooseArea(...args)),
|
||||
p: common_vendor.o(($event) => $data.focusPhone = false),
|
||||
q: common_vendor.o(($event) => $data.phone = $event),
|
||||
o: common_vendor.o((...args) => $options.chooseArea && $options.chooseArea(...args), "95"),
|
||||
p: common_vendor.o(($event) => $data.focusPhone = false, "4c"),
|
||||
q: common_vendor.o(($event) => $data.phone = $event, "dc"),
|
||||
r: common_vendor.p({
|
||||
trim: "both",
|
||||
focus: $data.focusPhone,
|
||||
@@ -161,7 +161,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
t: common_vendor.p({
|
||||
scope: "register"
|
||||
}),
|
||||
v: common_vendor.o((...args) => $options.toSmsPage && $options.toSmsPage(...args))
|
||||
v: common_vendor.o((...args) => $options.toSmsPage && $options.toSmsPage(...args), "17")
|
||||
}, {
|
||||
w: common_vendor.sr("uniFabLogin", "f1f87fcd-3")
|
||||
});
|
||||
|
||||
@@ -216,8 +216,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusUsername = false),
|
||||
c: common_vendor.o(($event) => $data.username = $event),
|
||||
b: common_vendor.o(($event) => $data.focusUsername = false, "9c"),
|
||||
c: common_vendor.o(($event) => $data.username = $event, "39"),
|
||||
d: common_vendor.p({
|
||||
focus: $data.focusUsername,
|
||||
inputBorder: false,
|
||||
@@ -228,8 +228,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: common_vendor.p({
|
||||
name: "username"
|
||||
}),
|
||||
f: common_vendor.o(($event) => $data.focusPassword = false),
|
||||
g: common_vendor.o(($event) => $data.password = $event),
|
||||
f: common_vendor.o(($event) => $data.focusPassword = false, "46"),
|
||||
g: common_vendor.o(($event) => $data.password = $event, "ee"),
|
||||
h: common_vendor.p({
|
||||
focus: $data.focusPassword,
|
||||
clearable: true,
|
||||
@@ -245,7 +245,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
j: $data.needCaptcha
|
||||
}, $data.needCaptcha ? {
|
||||
k: common_vendor.sr("captcha", "58ed63b0-5"),
|
||||
l: common_vendor.o(($event) => $data.captcha = $event),
|
||||
l: common_vendor.o(($event) => $data.captcha = $event, "da"),
|
||||
m: common_vendor.p({
|
||||
focus: true,
|
||||
scene: "login-by-pwd",
|
||||
@@ -256,13 +256,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
o: common_vendor.p({
|
||||
scope: "login"
|
||||
}),
|
||||
p: common_vendor.o((...args) => $options.pwdLogin && $options.pwdLogin(...args)),
|
||||
p: common_vendor.o((...args) => $options.pwdLogin && $options.pwdLogin(...args), "3f"),
|
||||
q: !_ctx.config.isAdmin
|
||||
}, !_ctx.config.isAdmin ? {
|
||||
r: common_vendor.o((...args) => $options.toRetrievePwd && $options.toRetrievePwd(...args))
|
||||
r: common_vendor.o((...args) => $options.toRetrievePwd && $options.toRetrievePwd(...args), "27")
|
||||
} : {}, {
|
||||
s: common_vendor.t(_ctx.config.isAdmin ? "注册管理员账号" : "注册账号"),
|
||||
t: common_vendor.o((...args) => $options.toRegister && $options.toRegister(...args)),
|
||||
t: common_vendor.o((...args) => $options.toRegister && $options.toRegister(...args), "67"),
|
||||
v: common_vendor.sr("uniFabLogin", "58ed63b0-7")
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ const common_vendor = require("../../../../common/vendor.js");
|
||||
require("./validator.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../common/login-page.mixin.js");
|
||||
const uni_modules_uniIdPages_common_password = require("../../common/password.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co");
|
||||
const _sfc_main = {
|
||||
mixins: [uni_modules_uniIdPages_common_loginPage_mixin.mixin],
|
||||
data() {
|
||||
@@ -141,8 +141,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusEmail = false),
|
||||
c: common_vendor.o(($event) => $data.formData.email = $event),
|
||||
b: common_vendor.o(($event) => $data.focusEmail = false, "6d"),
|
||||
c: common_vendor.o(($event) => $data.formData.email = $event, "93"),
|
||||
d: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusEmail,
|
||||
@@ -154,8 +154,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
name: "email",
|
||||
required: true
|
||||
}),
|
||||
f: common_vendor.o(($event) => $data.focusNickname = false),
|
||||
g: common_vendor.o(($event) => $data.formData.nickname = $event),
|
||||
f: common_vendor.o(($event) => $data.focusNickname = false, "38"),
|
||||
g: common_vendor.o(($event) => $data.formData.nickname = $event, "82"),
|
||||
h: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusNickname,
|
||||
@@ -166,8 +166,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.p({
|
||||
name: "nickname"
|
||||
}),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false, "e1"),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event, "b0"),
|
||||
l: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusPassword,
|
||||
@@ -177,14 +177,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
trim: "both",
|
||||
modelValue: $data.formData.password
|
||||
}),
|
||||
m: common_vendor.o(($event) => $data.formData.password = $event),
|
||||
m: common_vendor.o(($event) => $data.formData.password = $event, "00"),
|
||||
n: common_vendor.p({
|
||||
name: "password",
|
||||
required: true,
|
||||
modelValue: $data.formData.password
|
||||
}),
|
||||
o: common_vendor.o(($event) => $data.focusPassword2 = false),
|
||||
p: common_vendor.o(($event) => $data.formData.password2 = $event),
|
||||
o: common_vendor.o(($event) => $data.focusPassword2 = false, "21"),
|
||||
p: common_vendor.o(($event) => $data.formData.password2 = $event, "68"),
|
||||
q: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusPassword2,
|
||||
@@ -194,14 +194,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
trim: "both",
|
||||
modelValue: $data.formData.password2
|
||||
}),
|
||||
r: common_vendor.o(($event) => $data.formData.password2 = $event),
|
||||
r: common_vendor.o(($event) => $data.formData.password2 = $event, "43"),
|
||||
s: common_vendor.p({
|
||||
name: "password2",
|
||||
required: true,
|
||||
modelValue: $data.formData.password2
|
||||
}),
|
||||
t: common_vendor.sr("shortCode", "b3abb5f8-10,b3abb5f8-9"),
|
||||
v: common_vendor.o(($event) => $data.formData.code = $event),
|
||||
v: common_vendor.o(($event) => $data.formData.code = $event, "b8"),
|
||||
w: common_vendor.p({
|
||||
email: $data.formData.email,
|
||||
type: "register",
|
||||
@@ -214,10 +214,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
z: common_vendor.p({
|
||||
scope: "register"
|
||||
}),
|
||||
A: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
B: common_vendor.o((...args) => $options.navigateBack && $options.navigateBack(...args)),
|
||||
C: common_vendor.o((...args) => $options.registerByUserName && $options.registerByUserName(...args)),
|
||||
D: common_vendor.o((...args) => $options.toLogin && $options.toLogin(...args)),
|
||||
A: common_vendor.o((...args) => $options.submit && $options.submit(...args), "08"),
|
||||
B: common_vendor.o((...args) => $options.navigateBack && $options.navigateBack(...args), "3b"),
|
||||
C: common_vendor.o((...args) => $options.registerByUserName && $options.registerByUserName(...args), "00"),
|
||||
D: common_vendor.o((...args) => $options.toLogin && $options.toLogin(...args), "03"),
|
||||
E: common_vendor.sr("form", "b3abb5f8-0"),
|
||||
F: common_vendor.p({
|
||||
value: $data.formData,
|
||||
|
||||
@@ -3,7 +3,7 @@ const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_pages_register_validator = require("./validator.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../common/login-page.mixin.js");
|
||||
require("../../../../common/store.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co");
|
||||
const _sfc_main = {
|
||||
mixins: [uni_modules_uniIdPages_common_loginPage_mixin.mixin],
|
||||
data() {
|
||||
@@ -96,8 +96,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusUsername = false),
|
||||
c: common_vendor.o(($event) => $data.formData.username = $event),
|
||||
b: common_vendor.o(($event) => $data.focusUsername = false, "97"),
|
||||
c: common_vendor.o(($event) => $data.formData.username = $event, "10"),
|
||||
d: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusUsername,
|
||||
@@ -109,8 +109,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
name: "username",
|
||||
required: true
|
||||
}),
|
||||
f: common_vendor.o(($event) => $data.focusNickname = false),
|
||||
g: common_vendor.o(($event) => $data.formData.nickname = $event),
|
||||
f: common_vendor.o(($event) => $data.focusNickname = false, "08"),
|
||||
g: common_vendor.o(($event) => $data.formData.nickname = $event, "88"),
|
||||
h: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusNickname,
|
||||
@@ -121,8 +121,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.p({
|
||||
name: "nickname"
|
||||
}),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false, "42"),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event, "5c"),
|
||||
l: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusPassword,
|
||||
@@ -132,14 +132,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
trim: "both",
|
||||
modelValue: $data.formData.password
|
||||
}),
|
||||
m: common_vendor.o(($event) => $data.formData.password = $event),
|
||||
m: common_vendor.o(($event) => $data.formData.password = $event, "5d"),
|
||||
n: common_vendor.p({
|
||||
name: "password",
|
||||
required: true,
|
||||
modelValue: $data.formData.password
|
||||
}),
|
||||
o: common_vendor.o(($event) => $data.focusPassword2 = false),
|
||||
p: common_vendor.o(($event) => $data.formData.password2 = $event),
|
||||
o: common_vendor.o(($event) => $data.focusPassword2 = false, "13"),
|
||||
p: common_vendor.o(($event) => $data.formData.password2 = $event, "34"),
|
||||
q: common_vendor.p({
|
||||
inputBorder: false,
|
||||
focus: $data.focusPassword2,
|
||||
@@ -149,14 +149,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
trim: "both",
|
||||
modelValue: $data.formData.password2
|
||||
}),
|
||||
r: common_vendor.o(($event) => $data.formData.password2 = $event),
|
||||
r: common_vendor.o(($event) => $data.formData.password2 = $event, "08"),
|
||||
s: common_vendor.p({
|
||||
name: "password2",
|
||||
required: true,
|
||||
modelValue: $data.formData.password2
|
||||
}),
|
||||
t: common_vendor.sr("captcha", "511ec05f-10,511ec05f-9"),
|
||||
v: common_vendor.o(($event) => $data.formData.captcha = $event),
|
||||
v: common_vendor.o(($event) => $data.formData.captcha = $event, "96"),
|
||||
w: common_vendor.p({
|
||||
scene: "register",
|
||||
modelValue: $data.formData.captcha
|
||||
@@ -165,10 +165,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
y: common_vendor.p({
|
||||
scope: "register"
|
||||
}),
|
||||
z: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
A: common_vendor.o((...args) => $options.navigateBack && $options.navigateBack(...args)),
|
||||
B: common_vendor.o((...args) => $options.registerByEmail && $options.registerByEmail(...args)),
|
||||
C: common_vendor.o((...args) => $options.toLogin && $options.toLogin(...args)),
|
||||
z: common_vendor.o((...args) => $options.submit && $options.submit(...args), "46"),
|
||||
A: common_vendor.o((...args) => $options.navigateBack && $options.navigateBack(...args), "ea"),
|
||||
B: common_vendor.o((...args) => $options.registerByEmail && $options.registerByEmail(...args), "8a"),
|
||||
C: common_vendor.o((...args) => $options.toLogin && $options.toLogin(...args), "2b"),
|
||||
D: common_vendor.sr("form", "511ec05f-0"),
|
||||
E: common_vendor.p({
|
||||
value: $data.formData,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../common/login-page.mixin.js");
|
||||
const uni_modules_uniIdPages_common_password = require("../../common/password.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
errorOptions: {
|
||||
type: "toast"
|
||||
}
|
||||
@@ -156,8 +156,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusEmail = false),
|
||||
c: common_vendor.o(($event) => $data.formData.email = $event),
|
||||
b: common_vendor.o(($event) => $data.focusEmail = false, "83"),
|
||||
c: common_vendor.o(($event) => $data.formData.email = $event, "49"),
|
||||
d: common_vendor.p({
|
||||
focus: $data.focusEmail,
|
||||
disabled: $data.lock,
|
||||
@@ -170,7 +170,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
name: "email"
|
||||
}),
|
||||
f: common_vendor.sr("shortCode", "f265c638-4,f265c638-3"),
|
||||
g: common_vendor.o(($event) => $data.formData.code = $event),
|
||||
g: common_vendor.o(($event) => $data.formData.code = $event, "c2"),
|
||||
h: common_vendor.p({
|
||||
email: $data.formData.email,
|
||||
type: "reset-pwd-by-email",
|
||||
@@ -179,8 +179,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.p({
|
||||
name: "code"
|
||||
}),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false, "2f"),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event, "95"),
|
||||
l: common_vendor.p({
|
||||
focus: $data.focusPassword,
|
||||
type: "password",
|
||||
@@ -192,8 +192,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
m: common_vendor.p({
|
||||
name: "password"
|
||||
}),
|
||||
n: common_vendor.o(($event) => $data.focusPassword2 = false),
|
||||
o: common_vendor.o(($event) => $data.formData.password2 = $event),
|
||||
n: common_vendor.o(($event) => $data.focusPassword2 = false, "c2"),
|
||||
o: common_vendor.o(($event) => $data.formData.password2 = $event, "8d"),
|
||||
p: common_vendor.p({
|
||||
focus: $data.focusPassword2,
|
||||
type: "password",
|
||||
@@ -205,17 +205,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
q: common_vendor.p({
|
||||
name: "password2"
|
||||
}),
|
||||
r: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
s: common_vendor.o((...args) => $options.retrieveByPhone && $options.retrieveByPhone(...args)),
|
||||
t: common_vendor.o((...args) => $options.backLogin && $options.backLogin(...args)),
|
||||
r: common_vendor.o((...args) => $options.submit && $options.submit(...args), "55"),
|
||||
s: common_vendor.o((...args) => $options.retrieveByPhone && $options.retrieveByPhone(...args), "80"),
|
||||
t: common_vendor.o((...args) => $options.backLogin && $options.backLogin(...args), "ed"),
|
||||
v: common_vendor.sr("form", "f265c638-0"),
|
||||
w: common_vendor.p({
|
||||
value: $data.formData,
|
||||
["err-show-type"]: "toast"
|
||||
}),
|
||||
x: common_vendor.sr("popup", "f265c638-9"),
|
||||
y: common_vendor.o($options.submit),
|
||||
z: common_vendor.o(($event) => $data.formData.captcha = $event),
|
||||
y: common_vendor.o($options.submit, "41"),
|
||||
z: common_vendor.o(($event) => $data.formData.captcha = $event, "c0"),
|
||||
A: common_vendor.p({
|
||||
scene: "reset-pwd-by-sms",
|
||||
modelValue: $data.formData.captcha
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../common/login-page.mixin.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
errorOptions: {
|
||||
type: "toast"
|
||||
}
|
||||
@@ -182,8 +182,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusPhone = false),
|
||||
c: common_vendor.o(($event) => $data.formData.phone = $event),
|
||||
b: common_vendor.o(($event) => $data.focusPhone = false, "df"),
|
||||
c: common_vendor.o(($event) => $data.formData.phone = $event, "9f"),
|
||||
d: common_vendor.p({
|
||||
focus: $data.focusPhone,
|
||||
disabled: $data.lock,
|
||||
@@ -198,7 +198,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
name: "phone"
|
||||
}),
|
||||
f: common_vendor.sr("shortCode", "5f2b6c7f-4,5f2b6c7f-3"),
|
||||
g: common_vendor.o(($event) => $data.formData.code = $event),
|
||||
g: common_vendor.o(($event) => $data.formData.code = $event, "af"),
|
||||
h: common_vendor.p({
|
||||
phone: $data.formData.phone,
|
||||
type: "reset-pwd-by-sms",
|
||||
@@ -207,8 +207,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.p({
|
||||
name: "code"
|
||||
}),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event),
|
||||
j: common_vendor.o(($event) => $data.focusPassword = false, "61"),
|
||||
k: common_vendor.o(($event) => $data.formData.password = $event, "a4"),
|
||||
l: common_vendor.p({
|
||||
focus: $data.focusPassword,
|
||||
type: "password",
|
||||
@@ -220,8 +220,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
m: common_vendor.p({
|
||||
name: "password"
|
||||
}),
|
||||
n: common_vendor.o(($event) => $data.focusPassword2 = false),
|
||||
o: common_vendor.o(($event) => $data.formData.password2 = $event),
|
||||
n: common_vendor.o(($event) => $data.focusPassword2 = false, "b6"),
|
||||
o: common_vendor.o(($event) => $data.formData.password2 = $event, "4e"),
|
||||
p: common_vendor.p({
|
||||
focus: $data.focusPassword2,
|
||||
type: "password",
|
||||
@@ -233,17 +233,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
q: common_vendor.p({
|
||||
name: "password2"
|
||||
}),
|
||||
r: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
s: common_vendor.o((...args) => $options.retrieveByEmail && $options.retrieveByEmail(...args)),
|
||||
t: common_vendor.o((...args) => $options.backLogin && $options.backLogin(...args)),
|
||||
r: common_vendor.o((...args) => $options.submit && $options.submit(...args), "41"),
|
||||
s: common_vendor.o((...args) => $options.retrieveByEmail && $options.retrieveByEmail(...args), "cb"),
|
||||
t: common_vendor.o((...args) => $options.backLogin && $options.backLogin(...args), "e7"),
|
||||
v: common_vendor.sr("form", "5f2b6c7f-0"),
|
||||
w: common_vendor.p({
|
||||
value: $data.formData,
|
||||
["err-show-type"]: "toast"
|
||||
}),
|
||||
x: common_vendor.sr("popup", "5f2b6c7f-9"),
|
||||
y: common_vendor.o($options.submit),
|
||||
z: common_vendor.o(($event) => $data.formData.captcha = $event),
|
||||
y: common_vendor.o($options.submit, "3b"),
|
||||
z: common_vendor.o(($event) => $data.formData.captcha = $event, "61"),
|
||||
A: common_vendor.p({
|
||||
scene: "reset-pwd-by-sms",
|
||||
modelValue: $data.formData.captcha
|
||||
|
||||
@@ -43,7 +43,7 @@ const _sfc_main = {
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co");
|
||||
uniIdCo.bindMobileBySms(this.formData).then((e) => {
|
||||
common_vendor.index.showToast({
|
||||
title: e.errMsg,
|
||||
@@ -79,8 +79,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusMobile = false),
|
||||
c: common_vendor.o(($event) => $data.formData.mobile = $event),
|
||||
b: common_vendor.o(($event) => $data.focusMobile = false, "eb"),
|
||||
c: common_vendor.o(($event) => $data.formData.mobile = $event, "5f"),
|
||||
d: common_vendor.p({
|
||||
clearable: true,
|
||||
focus: $data.focusMobile,
|
||||
@@ -91,16 +91,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
modelValue: $data.formData.mobile
|
||||
}),
|
||||
e: common_vendor.sr("smsForm", "646097c2-1"),
|
||||
f: common_vendor.o(($event) => $data.formData.code = $event),
|
||||
f: common_vendor.o(($event) => $data.formData.code = $event, "b8"),
|
||||
g: common_vendor.p({
|
||||
type: "bind-mobile-by-sms",
|
||||
phone: $data.formData.mobile,
|
||||
modelValue: $data.formData.code
|
||||
}),
|
||||
h: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
h: common_vendor.o((...args) => $options.submit && $options.submit(...args), "95"),
|
||||
i: common_vendor.sr("popup", "646097c2-2"),
|
||||
j: common_vendor.o($options.submit),
|
||||
k: common_vendor.o(($event) => $data.formData.captcha = $event),
|
||||
j: common_vendor.o($options.submit, "5f"),
|
||||
k: common_vendor.o(($event) => $data.formData.captcha = $event, "f4"),
|
||||
l: common_vendor.p({
|
||||
scene: "bind-mobile-by-sms",
|
||||
modelValue: $data.formData.captcha
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../../common/login-page.mixin.js");
|
||||
const uni_modules_uniIdPages_common_password = require("../../../common/password.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
const _sfc_main = {
|
||||
@@ -88,8 +88,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusOldPassword = false),
|
||||
c: common_vendor.o(($event) => $data.formData.oldPassword = $event),
|
||||
b: common_vendor.o(($event) => $data.focusOldPassword = false, "ce"),
|
||||
c: common_vendor.o(($event) => $data.formData.oldPassword = $event, "58"),
|
||||
d: common_vendor.p({
|
||||
focus: $data.focusOldPassword,
|
||||
type: "password",
|
||||
@@ -100,8 +100,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: common_vendor.p({
|
||||
name: "oldPassword"
|
||||
}),
|
||||
f: common_vendor.o(($event) => $data.focusNewPassword = false),
|
||||
g: common_vendor.o(($event) => $data.formData.newPassword = $event),
|
||||
f: common_vendor.o(($event) => $data.focusNewPassword = false, "dc"),
|
||||
g: common_vendor.o(($event) => $data.formData.newPassword = $event, "c6"),
|
||||
h: common_vendor.p({
|
||||
focus: $data.focusNewPassword,
|
||||
type: "password",
|
||||
@@ -112,8 +112,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.p({
|
||||
name: "newPassword"
|
||||
}),
|
||||
j: common_vendor.o(($event) => $data.focusNewPassword2 = false),
|
||||
k: common_vendor.o(($event) => $data.formData.newPassword2 = $event),
|
||||
j: common_vendor.o(($event) => $data.focusNewPassword2 = false, "c5"),
|
||||
k: common_vendor.o(($event) => $data.formData.newPassword2 = $event, "f8"),
|
||||
l: common_vendor.p({
|
||||
focus: $data.focusNewPassword2,
|
||||
type: "password",
|
||||
@@ -124,7 +124,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
m: common_vendor.p({
|
||||
name: "newPassword2"
|
||||
}),
|
||||
n: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
n: common_vendor.o((...args) => $options.submit && $options.submit(...args), "90"),
|
||||
o: common_vendor.sr("form", "19fcb279-0"),
|
||||
p: common_vendor.p({
|
||||
value: $data.formData,
|
||||
|
||||
@@ -15,7 +15,7 @@ const _sfc_main = {
|
||||
content: "已经仔细阅读注销提示,知晓可能带来的后果,并确认要注销",
|
||||
complete: (e) => {
|
||||
if (e.confirm) {
|
||||
const uniIdco = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdco = common_vendor._r.importObject("uni-id-co");
|
||||
uniIdco.closeAccount().then((e2) => {
|
||||
common_vendor.index.showToast({
|
||||
title: "注销成功",
|
||||
@@ -37,8 +37,8 @@ const _sfc_main = {
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o((...args) => $options.nextStep && $options.nextStep(...args)),
|
||||
b: common_vendor.o((...args) => $options.cancel && $options.cancel(...args))
|
||||
a: common_vendor.o((...args) => $options.nextStep && $options.nextStep(...args), "09"),
|
||||
b: common_vendor.o((...args) => $options.cancel && $options.cancel(...args), "a5")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
@@ -3,7 +3,7 @@ const common_vendor = require("../../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_loginPage_mixin = require("../../../common/login-page.mixin.js");
|
||||
const common_store = require("../../../../../common/store.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
common_vendor.tr.importObject("uni-id-co");
|
||||
common_vendor._r.importObject("uni-id-co");
|
||||
const tempFrvInfoKey = "uni-id-pages-temp-frv";
|
||||
const _sfc_main = {
|
||||
mixins: [uni_modules_uniIdPages_common_loginPage_mixin.mixin],
|
||||
@@ -51,7 +51,7 @@ const _sfc_main = {
|
||||
startFacialRecognitionVerify() {
|
||||
},
|
||||
async getFrvAuthResult() {
|
||||
const uniIdCo2 = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo2 = common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
try {
|
||||
@@ -137,13 +137,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.t($data.verifyFailContent),
|
||||
h: $data.verifyFailCode !== 10013
|
||||
}, $data.verifyFailCode !== 10013 ? {
|
||||
i: common_vendor.o((...args) => $options.retry && $options.retry(...args))
|
||||
i: common_vendor.o((...args) => $options.retry && $options.retry(...args), "55")
|
||||
} : {
|
||||
j: common_vendor.o((...args) => $options.retry && $options.retry(...args))
|
||||
j: common_vendor.o((...args) => $options.retry && $options.retry(...args), "10")
|
||||
}, {
|
||||
k: $options.isDev
|
||||
}, $options.isDev ? {} : {}) : {
|
||||
l: common_vendor.o(($event) => $data.realName = $event),
|
||||
l: common_vendor.o(($event) => $data.realName = $event, "5d"),
|
||||
m: common_vendor.p({
|
||||
placeholder: "姓名",
|
||||
clearable: false,
|
||||
@@ -152,7 +152,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
n: common_vendor.p({
|
||||
name: "realName"
|
||||
}),
|
||||
o: common_vendor.o(($event) => $data.idCard = $event),
|
||||
o: common_vendor.o(($event) => $data.idCard = $event, "c6"),
|
||||
p: common_vendor.p({
|
||||
placeholder: "身份证号码",
|
||||
clearable: false,
|
||||
@@ -166,7 +166,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
scope: "realNameVerify"
|
||||
}),
|
||||
t: !$options.certifyIdNext,
|
||||
v: common_vendor.o((...args) => $options.getCertifyId && $options.getCertifyId(...args))
|
||||
v: common_vendor.o((...args) => $options.getCertifyId && $options.getCertifyId(...args), "e5")
|
||||
}));
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
@@ -3,7 +3,7 @@ const common_vendor = require("../../../../../common/vendor.js");
|
||||
const uni_modules_uniIdPages_common_password = require("../../../common/password.js");
|
||||
const common_store = require("../../../../../common/store.js");
|
||||
const uni_modules_uniIdPages_config = require("../../../config.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co", {
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
const _sfc_main = {
|
||||
@@ -108,8 +108,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.logo,
|
||||
b: common_vendor.o(($event) => $data.focusNewPassword = false),
|
||||
c: common_vendor.o(($event) => $data.formData.newPassword = $event),
|
||||
b: common_vendor.o(($event) => $data.focusNewPassword = false, "8a"),
|
||||
c: common_vendor.o(($event) => $data.formData.newPassword = $event, "b0"),
|
||||
d: common_vendor.p({
|
||||
focus: $data.focusNewPassword,
|
||||
type: "password",
|
||||
@@ -120,8 +120,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: common_vendor.p({
|
||||
name: "newPassword"
|
||||
}),
|
||||
f: common_vendor.o(($event) => $data.focusNewPassword2 = false),
|
||||
g: common_vendor.o(($event) => $data.formData.newPassword2 = $event),
|
||||
f: common_vendor.o(($event) => $data.focusNewPassword2 = false, "94"),
|
||||
g: common_vendor.o(($event) => $data.formData.newPassword2 = $event, "ae"),
|
||||
h: common_vendor.p({
|
||||
focus: $data.focusNewPassword2,
|
||||
type: "password",
|
||||
@@ -133,16 +133,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
name: "newPassword2"
|
||||
}),
|
||||
j: common_vendor.sr("smsCode", "e5e1f63f-5,e5e1f63f-0"),
|
||||
k: common_vendor.o(($event) => $data.formData.code = $event),
|
||||
k: common_vendor.o(($event) => $data.formData.code = $event, "a8"),
|
||||
l: common_vendor.p({
|
||||
type: "set-pwd-by-sms",
|
||||
phone: $options.userInfo.mobile,
|
||||
modelValue: $data.formData.code
|
||||
}),
|
||||
m: common_vendor.o((...args) => $options.submit && $options.submit(...args)),
|
||||
m: common_vendor.o((...args) => $options.submit && $options.submit(...args), "3c"),
|
||||
n: $data.allowSkip
|
||||
}, $data.allowSkip ? {
|
||||
o: common_vendor.o((...args) => $options.skip && $options.skip(...args))
|
||||
o: common_vendor.o((...args) => $options.skip && $options.skip(...args), "19")
|
||||
} : {}, {
|
||||
p: common_vendor.sr("form", "e5e1f63f-0"),
|
||||
q: common_vendor.p({
|
||||
@@ -150,8 +150,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
["err-show-type"]: "toast"
|
||||
}),
|
||||
r: common_vendor.sr("popup", "e5e1f63f-6"),
|
||||
s: common_vendor.o($options.submit),
|
||||
t: common_vendor.o(($event) => $data.formData.captcha = $event),
|
||||
s: common_vendor.o($options.submit, "a6"),
|
||||
t: common_vendor.o(($event) => $data.formData.captcha = $event, "4d"),
|
||||
v: common_vendor.p({
|
||||
scene: "set-pwd-by-sms",
|
||||
modelValue: $data.formData.captcha
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const common_store = require("../../../../common/store.js");
|
||||
const uniIdCo = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdCo = common_vendor._r.importObject("uni-id-co");
|
||||
const _sfc_main = {
|
||||
computed: {
|
||||
userInfo() {
|
||||
@@ -113,7 +113,7 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
async bindThirdAccount(provider) {
|
||||
const uniIdCo2 = common_vendor.tr.importObject("uni-id-co");
|
||||
const uniIdCo2 = common_vendor._r.importObject("uni-id-co");
|
||||
const bindField = {
|
||||
weixin: "wx_openid",
|
||||
alipay: "ali_openid",
|
||||
@@ -177,13 +177,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
width: "260rpx",
|
||||
height: "260rpx"
|
||||
}),
|
||||
b: common_vendor.o(($event) => $options.setNickname("")),
|
||||
b: common_vendor.o(($event) => $options.setNickname(""), "8b"),
|
||||
c: common_vendor.p({
|
||||
title: "昵称",
|
||||
rightText: $options.userInfo.nickname || "未设置",
|
||||
link: true
|
||||
}),
|
||||
d: common_vendor.o($options.bindMobile),
|
||||
d: common_vendor.o($options.bindMobile, "cd"),
|
||||
e: common_vendor.p({
|
||||
title: "手机号",
|
||||
rightText: $options.userInfo.mobile || "未绑定",
|
||||
@@ -198,13 +198,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {}, {
|
||||
h: $data.hasPwd
|
||||
}, $data.hasPwd ? {
|
||||
i: common_vendor.o($options.changePassword),
|
||||
i: common_vendor.o($options.changePassword, "4c"),
|
||||
j: common_vendor.p({
|
||||
title: "修改密码",
|
||||
link: true
|
||||
})
|
||||
} : {}, {
|
||||
k: common_vendor.o($options.setNickname),
|
||||
k: common_vendor.o($options.setNickname, "fe"),
|
||||
l: common_vendor.p({
|
||||
mode: "input",
|
||||
value: $options.userInfo.nickname,
|
||||
@@ -217,14 +217,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
type: "dialog"
|
||||
}),
|
||||
o: common_vendor.sr("bind-mobile-by-sms", "0be2f605-8"),
|
||||
p: common_vendor.o($options.bindMobileSuccess),
|
||||
p: common_vendor.o($options.bindMobileSuccess, "70"),
|
||||
q: $data.showLoginManage
|
||||
}, $data.showLoginManage ? common_vendor.e({
|
||||
r: $options.userInfo._id
|
||||
}, $options.userInfo._id ? {
|
||||
s: common_vendor.o((...args) => $options.logout && $options.logout(...args))
|
||||
s: common_vendor.o((...args) => $options.logout && $options.logout(...args), "27")
|
||||
} : {
|
||||
t: common_vendor.o((...args) => $options.login && $options.login(...args))
|
||||
t: common_vendor.o((...args) => $options.login && $options.login(...args), "3a")
|
||||
}) : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0be2f605"]]);
|
||||
|
||||
Reference in New Issue
Block a user