命令行提交
This commit is contained in:
+1
-1
@@ -7319,7 +7319,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.100.165,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_ZlyeyL";
|
||||
const id = "mp-weixin_nxyKT8";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
+93
-90
@@ -75,7 +75,6 @@ const _sfc_main = {
|
||||
const commentTextarea = common_vendor.ref(null);
|
||||
const isLock = common_vendor.ref(false);
|
||||
const confirmGive = () => {
|
||||
showGive.value = false;
|
||||
givePoint();
|
||||
};
|
||||
const oldScrollTop = common_vendor.ref(0);
|
||||
@@ -100,7 +99,7 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD HH:mm");
|
||||
};
|
||||
const scrolltolower = (rootId) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:694", isLock.value);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:693", isLock.value);
|
||||
if (!isLock.value) {
|
||||
let page = mainCommentObj.sub_page + 1;
|
||||
mainCommentObj.sub_page = page;
|
||||
@@ -117,27 +116,6 @@ const _sfc_main = {
|
||||
}
|
||||
}
|
||||
};
|
||||
const inputPoint = (val) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:715", val);
|
||||
if (givePointValue.value <= 1) {
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须大于0"
|
||||
});
|
||||
setTimeout(() => {
|
||||
givePointValue.value = 1;
|
||||
});
|
||||
}
|
||||
if (!/^[1-9]\d*$/.test(val)) {
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须是大于0的整数"
|
||||
});
|
||||
setTimeout(() => {
|
||||
givePointValue.value = 5;
|
||||
});
|
||||
}
|
||||
};
|
||||
const changePoint = (type2) => {
|
||||
if (type2 == "minus") {
|
||||
if (givePointValue.value > 5) {
|
||||
@@ -198,6 +176,29 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const givePoint = () => {
|
||||
if (givePointValue.value == null) {
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须大于0"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (givePointValue.value <= 1) {
|
||||
givePointValue.value = 1;
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须大于0"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (!/^[1-9]\d*$/.test(givePointValue.value)) {
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须是大于0的整数"
|
||||
});
|
||||
givePointValue.value = null;
|
||||
return false;
|
||||
}
|
||||
if (point.value < givePointValue.value) {
|
||||
common_vendor.index.showToast({
|
||||
icon: "none",
|
||||
@@ -222,6 +223,7 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "打赏成功!"
|
||||
});
|
||||
givePointValue.value = 5;
|
||||
showGive.value = false;
|
||||
});
|
||||
};
|
||||
@@ -539,7 +541,7 @@ const _sfc_main = {
|
||||
resolve(res2.tempFilePath);
|
||||
},
|
||||
fail: function(res2) {
|
||||
common_vendor.index.__f__("error", "at pages/detail/detail.vue:1228", res2);
|
||||
common_vendor.index.__f__("error", "at pages/detail/detail.vue:1230", res2);
|
||||
}
|
||||
});
|
||||
};
|
||||
@@ -1028,8 +1030,8 @@ const _sfc_main = {
|
||||
} : {}, {
|
||||
P: info.exchange_vote && info.exchange_vote.vote_title
|
||||
}, info.exchange_vote && info.exchange_vote.vote_title ? common_vendor.e({
|
||||
Q: info.exchange_vote.is_have_voted != 1
|
||||
}, info.exchange_vote.is_have_voted != 1 ? {
|
||||
Q: info.exchange_vote.is_have_voted == 0
|
||||
}, info.exchange_vote.is_have_voted == 0 ? {
|
||||
R: common_vendor.t(info.exchange_vote.vote_title),
|
||||
S: common_vendor.f(info.exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
return {
|
||||
@@ -1047,27 +1049,29 @@ const _sfc_main = {
|
||||
placement: "column",
|
||||
modelValue: option_id.value
|
||||
}),
|
||||
V: common_vendor.o(addVote)
|
||||
} : {
|
||||
W: common_vendor.t(info.exchange_vote.vote_title),
|
||||
X: common_vendor.f(info.exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
V: common_vendor.o(($event) => addVote())
|
||||
} : {}, {
|
||||
W: info.exchange_vote.is_enabled == 0 || info.exchange_vote.is_have_voted == 1
|
||||
}, info.exchange_vote.is_enabled == 0 || info.exchange_vote.is_have_voted == 1 ? {
|
||||
X: common_vendor.t(info.exchange_vote.vote_title),
|
||||
Y: common_vendor.f(info.exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.option_value),
|
||||
b: common_vendor.t(item.proportion),
|
||||
c: item.option_id
|
||||
};
|
||||
}),
|
||||
Y: _ctx.proportion / 100
|
||||
}) : {}), {
|
||||
Z: _ctx.proportion / 100
|
||||
} : {}) : {}), {
|
||||
J: type.value == "article",
|
||||
Z: common_vendor.p({
|
||||
aa: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.commentImg),
|
||||
mode: "widthFix",
|
||||
width: "50rpx",
|
||||
height: "50rpx"
|
||||
}),
|
||||
aa: common_vendor.t(total.value),
|
||||
ab: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
ab: common_vendor.t(total.value),
|
||||
ac: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "eca06f3c-18-" + i0 + ",eca06f3c-0",
|
||||
b: common_vendor.p({
|
||||
@@ -1152,12 +1156,12 @@ const _sfc_main = {
|
||||
t: item.comment_id
|
||||
});
|
||||
}),
|
||||
ac: common_vendor.sr(paging, "eca06f3c-0", {
|
||||
ad: common_vendor.sr(paging, "eca06f3c-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
ad: common_vendor.o(queryList),
|
||||
ae: common_vendor.o(($event) => dataList.value = $event),
|
||||
af: common_vendor.p({
|
||||
ae: common_vendor.o(queryList),
|
||||
af: common_vendor.o(($event) => dataList.value = $event),
|
||||
ag: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: false,
|
||||
@@ -1175,11 +1179,11 @@ const _sfc_main = {
|
||||
},
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
ag: common_vendor.sr(commentTextarea, "eca06f3c-26,eca06f3c-25", {
|
||||
ah: common_vendor.sr(commentTextarea, "eca06f3c-26,eca06f3c-25", {
|
||||
"k": "commentTextarea"
|
||||
}),
|
||||
ah: common_vendor.o(($event) => content.value = $event),
|
||||
ai: common_vendor.p({
|
||||
ai: common_vendor.o(($event) => content.value = $event),
|
||||
aj: common_vendor.p({
|
||||
focus: false,
|
||||
height: "200",
|
||||
cursorSpacing: 240,
|
||||
@@ -1188,30 +1192,30 @@ const _sfc_main = {
|
||||
placeholder: placeholder.value,
|
||||
modelValue: content.value
|
||||
}),
|
||||
aj: imgList.value.length > 0
|
||||
ak: imgList.value.length > 0
|
||||
}, imgList.value.length > 0 ? {
|
||||
ak: common_vendor.o(($event) => previewImg(imgList.value[0])),
|
||||
al: common_vendor.p({
|
||||
al: common_vendor.o(($event) => previewImg(imgList.value[0])),
|
||||
am: common_vendor.p({
|
||||
src: imgList.value[0],
|
||||
radius: "6",
|
||||
width: "150rpx",
|
||||
height: "150rpx"
|
||||
}),
|
||||
am: common_vendor.p({
|
||||
an: common_vendor.p({
|
||||
name: "close-circle",
|
||||
color: "#666",
|
||||
size: "16"
|
||||
}),
|
||||
an: common_vendor.o(delImg)
|
||||
ao: common_vendor.o(delImg)
|
||||
} : {}, {
|
||||
ao: common_vendor.p({
|
||||
ap: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.uploadImg),
|
||||
mode: "widthFix",
|
||||
width: "40rpx",
|
||||
height: "77rpx"
|
||||
}),
|
||||
ap: common_vendor.o(afterRead),
|
||||
aq: common_vendor.p({
|
||||
aq: common_vendor.o(afterRead),
|
||||
ar: common_vendor.p({
|
||||
disabled: imgList.value.length >= 1,
|
||||
["show-upload-list"]: false,
|
||||
name: "imgupload",
|
||||
@@ -1220,11 +1224,11 @@ const _sfc_main = {
|
||||
width: "40rpx",
|
||||
height: "77rpx"
|
||||
}),
|
||||
ar: imgList.value.length >= 1 ? 1 : "",
|
||||
as: common_vendor.o((...args) => common_vendor.unref(sendComment) && common_vendor.unref(sendComment)(...args)),
|
||||
at: common_vendor.o(close),
|
||||
av: common_vendor.o(open),
|
||||
aw: common_vendor.p({
|
||||
as: imgList.value.length >= 1 ? 1 : "",
|
||||
at: common_vendor.o((...args) => common_vendor.unref(sendComment) && common_vendor.unref(sendComment)(...args)),
|
||||
av: common_vendor.o(close),
|
||||
aw: common_vendor.o(open),
|
||||
ax: common_vendor.p({
|
||||
zIndex: 99,
|
||||
overlayStyle: {
|
||||
zIndex: 98
|
||||
@@ -1235,20 +1239,20 @@ const _sfc_main = {
|
||||
closeable: true,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ax: level.value == 2 && isArticleAuthor.value
|
||||
ay: level.value == 2 && isArticleAuthor.value
|
||||
}, level.value == 2 && isArticleAuthor.value ? {
|
||||
ay: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
|
||||
az: common_vendor.o(toggleTop)
|
||||
az: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
|
||||
aA: common_vendor.o(toggleTop)
|
||||
} : {}, {
|
||||
aA: common_vendor.o(openCommentDialog),
|
||||
aB: isArticleAuthor.value || doctor_id.value == comment_doctorId.value
|
||||
aB: common_vendor.o(openCommentDialog),
|
||||
aC: isArticleAuthor.value || doctor_id.value == comment_doctorId.value
|
||||
}, isArticleAuthor.value || doctor_id.value == comment_doctorId.value ? {
|
||||
aC: common_vendor.o(delComment)
|
||||
aD: common_vendor.o(delComment)
|
||||
} : {}, {
|
||||
aD: common_vendor.o(closeDealPop),
|
||||
aE: common_vendor.o(closeDeal),
|
||||
aF: common_vendor.o(openDeal),
|
||||
aG: common_vendor.p({
|
||||
aE: common_vendor.o(closeDealPop),
|
||||
aF: common_vendor.o(closeDeal),
|
||||
aG: common_vendor.o(openDeal),
|
||||
aH: common_vendor.p({
|
||||
zIndex: 60,
|
||||
overlayStyle: {
|
||||
zIndex: 59
|
||||
@@ -1258,41 +1262,41 @@ const _sfc_main = {
|
||||
round: 10,
|
||||
mode: "bottom"
|
||||
}),
|
||||
aH: common_vendor.p({
|
||||
aI: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#666",
|
||||
size: "20"
|
||||
}),
|
||||
aI: common_vendor.o(closeMore),
|
||||
aJ: common_vendor.p({
|
||||
aJ: common_vendor.o(closeMore),
|
||||
aK: common_vendor.p({
|
||||
src: mainCommentObj.avatar ? mainCommentObj.avatar : common_vendor.unref(common_assets.headImg),
|
||||
width: "86rpx",
|
||||
height: "86rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
aK: common_vendor.t(mainCommentObj.user_name),
|
||||
aL: doctor_id.value == mainCommentObj.doctor_id
|
||||
aL: common_vendor.t(mainCommentObj.user_name),
|
||||
aM: doctor_id.value == mainCommentObj.doctor_id
|
||||
}, doctor_id.value == mainCommentObj.doctor_id ? {
|
||||
aM: common_vendor.p({
|
||||
aN: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.selfImg),
|
||||
width: "69rpx",
|
||||
height: "31rpx"
|
||||
})
|
||||
} : {}, {
|
||||
aN: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.doctor_id)),
|
||||
aO: common_vendor.t(mainCommentObj.content),
|
||||
aP: mainCommentObj.comment_image
|
||||
aO: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.doctor_id)),
|
||||
aP: common_vendor.t(mainCommentObj.content),
|
||||
aQ: mainCommentObj.comment_image
|
||||
}, mainCommentObj.comment_image ? {
|
||||
aQ: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
|
||||
aR: common_vendor.p({
|
||||
aR: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
|
||||
aS: common_vendor.p({
|
||||
src: mainCommentObj.comment_image,
|
||||
radius: "16rpx",
|
||||
width: "150rpx",
|
||||
height: "150rpx"
|
||||
})
|
||||
} : {}, {
|
||||
aS: common_vendor.t(formatDate(mainCommentObj.created_at)),
|
||||
aT: common_vendor.f(childList.value, (cell, index, i0) => {
|
||||
aT: common_vendor.t(formatDate(mainCommentObj.created_at)),
|
||||
aU: common_vendor.f(childList.value, (cell, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "eca06f3c-37-" + i0 + ",eca06f3c-32",
|
||||
b: common_vendor.p({
|
||||
@@ -1328,20 +1332,20 @@ const _sfc_main = {
|
||||
n: cell.comment_id
|
||||
});
|
||||
}),
|
||||
aU: scrollTop.value,
|
||||
aV: common_vendor.o(scroll),
|
||||
aW: common_vendor.o(($event) => scrolltolower(mainCommentObj.comment_id)),
|
||||
aX: common_vendor.o(($event) => value.value = $event),
|
||||
aY: common_vendor.p({
|
||||
aV: scrollTop.value,
|
||||
aW: common_vendor.o(scroll),
|
||||
aX: common_vendor.o(($event) => scrolltolower(mainCommentObj.comment_id)),
|
||||
aY: common_vendor.o(($event) => value.value = $event),
|
||||
aZ: common_vendor.p({
|
||||
readonly: true,
|
||||
placeholder: "@" + mainCommentObj.user_name + ":",
|
||||
border: "surround",
|
||||
modelValue: value.value
|
||||
}),
|
||||
aZ: common_vendor.o(showReplyPop),
|
||||
ba: common_vendor.o(closeMore),
|
||||
bb: common_vendor.o(openMore),
|
||||
bc: common_vendor.p({
|
||||
ba: common_vendor.o(showReplyPop),
|
||||
bb: common_vendor.o(closeMore),
|
||||
bc: common_vendor.o(openMore),
|
||||
bd: common_vendor.p({
|
||||
zIndex: 10,
|
||||
overlayStyle: {
|
||||
zIndex: 9
|
||||
@@ -1351,9 +1355,8 @@ const _sfc_main = {
|
||||
round: 10,
|
||||
mode: "bottom"
|
||||
}),
|
||||
bd: common_vendor.t(point.value),
|
||||
be: common_vendor.o(($event) => changePoint("minus")),
|
||||
bf: common_vendor.o(inputPoint),
|
||||
be: common_vendor.t(point.value),
|
||||
bf: common_vendor.o(($event) => changePoint("minus")),
|
||||
bg: common_vendor.o(($event) => givePointValue.value = $event),
|
||||
bh: common_vendor.p({
|
||||
placeholder: "请输入打赏积分",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+43
-12
@@ -9,7 +9,8 @@ if (!Array) {
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
|
||||
const _easycom_up_form2 = common_vendor.resolveComponent("up-form");
|
||||
(_easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_toast2 + _easycom_up_code2 + _easycom_up_button2 + _easycom_up_form2)();
|
||||
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
|
||||
(_easycom_up_input2 + _easycom_up_form_item2 + _easycom_up_toast2 + _easycom_up_code2 + _easycom_up_button2 + _easycom_up_form2 + _easycom_up_overlay2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../node-modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_form_item = () => "../../node-modules/uview-plus/components/u-form-item/u-form-item.js";
|
||||
@@ -17,16 +18,19 @@ const _easycom_up_toast = () => "../../node-modules/uview-plus/components/u-toas
|
||||
const _easycom_up_code = () => "../../node-modules/uview-plus/components/u-code/u-code.js";
|
||||
const _easycom_up_button = () => "../../node-modules/uview-plus/components/u-button/u-button.js";
|
||||
const _easycom_up_form = () => "../../node-modules/uview-plus/components/u-form/u-form.js";
|
||||
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_up_form_item + _easycom_up_toast + _easycom_up_code + _easycom_up_button + _easycom_up_form)();
|
||||
(_easycom_up_input + _easycom_up_form_item + _easycom_up_toast + _easycom_up_code + _easycom_up_button + _easycom_up_form + _easycom_up_overlay)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "login",
|
||||
setup(__props) {
|
||||
const code = common_vendor.ref("");
|
||||
const phone = common_vendor.ref(null);
|
||||
const showModal = common_vendor.ref(false);
|
||||
common_vendor.ref(false);
|
||||
const isPhoneLogin = common_vendor.ref(true);
|
||||
const reason = common_vendor.ref("");
|
||||
const customStyle = common_vendor.reactive({
|
||||
height: "90rpx",
|
||||
fontSize: "36rpx"
|
||||
@@ -59,7 +63,7 @@ const _sfc_main = {
|
||||
});
|
||||
const goPage = () => {
|
||||
if (hasRedirectUrl.value) {
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:201", "true");
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:216", "true");
|
||||
let url = "";
|
||||
let redirectUrl = common_vendor.index.getStorageSync("redirectUrl");
|
||||
if (redirectUrl && redirectUrl.indexOf("/login/login") == -1) {
|
||||
@@ -67,7 +71,7 @@ const _sfc_main = {
|
||||
} else {
|
||||
url = "pages/index/index";
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:210", "url:" + url);
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:225", "url:" + url);
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/" + url,
|
||||
success() {
|
||||
@@ -75,7 +79,7 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:219", "false");
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:234", "false");
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
@@ -83,9 +87,9 @@ const _sfc_main = {
|
||||
};
|
||||
const getPhoneNumber = (e) => {
|
||||
if (e.detail.errMsg === "getPhoneNumber:ok") {
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:228", e.target.code);
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:243", e.target.code);
|
||||
utils_auth.auth().then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:230", res);
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:245", res);
|
||||
api_api.api.wxLogin({
|
||||
phone_code: e.target.code,
|
||||
wx_code: res,
|
||||
@@ -110,14 +114,28 @@ const _sfc_main = {
|
||||
});
|
||||
goPage();
|
||||
}).catch((err) => {
|
||||
common_vendor.index.showToast({
|
||||
title: err,
|
||||
icon: "none"
|
||||
});
|
||||
let err_result = err.data;
|
||||
if (err_result.code == 10007) {
|
||||
showModal.value = true;
|
||||
reason.value = err_result.message;
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
const goPrefect = () => {
|
||||
showModal.value = false;
|
||||
const { envVersion } = common_vendor.index.getAccountInfoSync().miniProgram;
|
||||
let src = "";
|
||||
if (envVersion == "release") {
|
||||
src = "https://wx.igandan.com/hcp/perfect?mobile=" + phone.value + "&fromType=weChat";
|
||||
} else {
|
||||
src = "https://dev-wx.igandan.com/hcp/perfect?mobile=" + phone.value + "&fromType=weChat";
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/register/register?src=" + encodeURIComponent(src)
|
||||
});
|
||||
};
|
||||
const phoneLogin = () => {
|
||||
if (!isPhoneNum(phone.value))
|
||||
return;
|
||||
@@ -157,6 +175,12 @@ const _sfc_main = {
|
||||
doctor_id: result.doctor_id
|
||||
});
|
||||
goPage();
|
||||
}).catch((err) => {
|
||||
let err_result = err.data;
|
||||
if (err_result.code == 10007) {
|
||||
showModal.value = true;
|
||||
reason.value = err_result.message;
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
@@ -296,7 +320,14 @@ const _sfc_main = {
|
||||
D: common_vendor.o(switchType),
|
||||
E: common_vendor.o(goRegister),
|
||||
F: checked.value,
|
||||
G: common_vendor.o(radioChange)
|
||||
G: common_vendor.o(radioChange),
|
||||
H: common_vendor.t(reason.value),
|
||||
I: common_vendor.o(($event) => showModal.value = false),
|
||||
J: common_vendor.o(goPrefect),
|
||||
K: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: false
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
+2
-1
@@ -6,6 +6,7 @@
|
||||
"up-toast": "../../node-modules/uview-plus/components/u-toast/u-toast",
|
||||
"up-code": "../../node-modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../node-modules/uview-plus/components/u-button/u-button",
|
||||
"up-form": "../../node-modules/uview-plus/components/u-form/u-form"
|
||||
"up-form": "../../node-modules/uview-plus/components/u-form/u-form",
|
||||
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="logincontent data-v-e4e4508d"><view class="title data-v-e4e4508d">欢迎登录</view><up-form wx:if="{{s}}" class="r data-v-e4e4508d" u-s="{{['d']}}" u-r="form" u-i="e4e4508d-0" bind:__l="__l" u-p="{{s}}"><up-form-item wx:if="{{a}}" class="data-v-e4e4508d" u-s="{{['d']}}" u-i="e4e4508d-1,e4e4508d-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-e4e4508d" u-i="e4e4508d-2,e4e4508d-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-input></up-form-item><view wx:if="{{e}}" class="smsbox data-v-e4e4508d"><up-form-item wx:if="{{q}}" class="data-v-e4e4508d" u-s="{{['right','d']}}" u-i="e4e4508d-3,e4e4508d-0" bind:__l="__l" u-p="{{q}}"><up-input wx:if="{{g}}" class="data-v-e4e4508d" u-i="e4e4508d-4,e4e4508d-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-input><view class="wrap data-v-e4e4508d" slot="right"><up-toast class="r data-v-e4e4508d" u-r="uToastRef" u-i="e4e4508d-5,e4e4508d-3" bind:__l="__l"></up-toast><up-code wx:if="{{m}}" class="r data-v-e4e4508d" bindend="{{j}}" bindstart="{{k}}" u-r="uCodeRef" bindchange="{{l}}" u-i="e4e4508d-6,e4e4508d-3" bind:__l="__l" u-p="{{m}}"></up-code><up-button wx:if="{{p}}" u-s="{{['d']}}" bindtap="{{o}}" class="custom-code data-v-e4e4508d" u-i="e4e4508d-7,e4e4508d-3" bind:__l="__l" u-p="{{p}}"><text class="codetext data-v-e4e4508d">{{n}}</text></up-button></view></up-form-item></view></up-form><view wx:if="{{t}}" class="row data-v-e4e4508d"><up-button wx:if="{{w}}" bindclick="{{v}}" class="custom-style data-v-e4e4508d" u-i="e4e4508d-8" bind:__l="__l" u-p="{{w}}"></up-button></view><view wx:else class="row data-v-e4e4508d" style="margin-top:120rpx"><up-button wx:if="{{x}}" class="custom-style data-v-e4e4508d" bindgetphonenumber="{{y}}" u-i="e4e4508d-9" bind:__l="__l" u-p="{{z}}"></up-button><up-button wx:else class="custom-style data-v-e4e4508d" bindclick="{{A}}" u-i="e4e4508d-10" bind:__l="__l" u-p="{{B||''}}"></up-button></view><view class="row data-v-e4e4508d"><view class="left data-v-e4e4508d" bindtap="{{D}}">{{C}}</view><view class="right data-v-e4e4508d" bindtap="{{E}}"> 注册 </view></view><view class="row data-v-e4e4508d" style="margin-top:10rpx"><radio-group class="data-v-e4e4508d" bindtap="{{G}}" labelDisabled="{{true}}"><label class="radio data-v-e4e4508d"><radio class="data-v-e4e4508d" labelDisabled="{{true}}" value="1" checked="{{F}}" color="rgb(41, 121, 255)"/> 我已阅读并同意<navigator class="agree data-v-e4e4508d">《用户协议》</navigator></label></radio-group></view><view class="row data-v-e4e4508d"><view class="tip data-v-e4e4508d">操作说明</view></view><view class="line data-v-e4e4508d"> 若您还未注册肝胆相照专家版App, 请直接点击“注册”进行注册操作 </view><view class="desc data-v-e4e4508d"> 若您有任何疑问或需要我们协助,请与您的小助手联系或直接微信联系<text class="red data-v-e4e4508d">igandan1000</text></view></view>
|
||||
<view class="logincontent data-v-e4e4508d"><view class="title data-v-e4e4508d">欢迎登录</view><up-form wx:if="{{s}}" class="r data-v-e4e4508d" u-s="{{['d']}}" u-r="form" u-i="e4e4508d-0" bind:__l="__l" u-p="{{s}}"><up-form-item wx:if="{{a}}" class="data-v-e4e4508d" u-s="{{['d']}}" u-i="e4e4508d-1,e4e4508d-0" bind:__l="__l" u-p="{{d}}"><up-input wx:if="{{c}}" class="data-v-e4e4508d" u-i="e4e4508d-2,e4e4508d-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-input></up-form-item><view wx:if="{{e}}" class="smsbox data-v-e4e4508d"><up-form-item wx:if="{{q}}" class="data-v-e4e4508d" u-s="{{['right','d']}}" u-i="e4e4508d-3,e4e4508d-0" bind:__l="__l" u-p="{{q}}"><up-input wx:if="{{g}}" class="data-v-e4e4508d" u-i="e4e4508d-4,e4e4508d-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-input><view class="wrap data-v-e4e4508d" slot="right"><up-toast class="r data-v-e4e4508d" u-r="uToastRef" u-i="e4e4508d-5,e4e4508d-3" bind:__l="__l"></up-toast><up-code wx:if="{{m}}" class="r data-v-e4e4508d" bindend="{{j}}" bindstart="{{k}}" u-r="uCodeRef" bindchange="{{l}}" u-i="e4e4508d-6,e4e4508d-3" bind:__l="__l" u-p="{{m}}"></up-code><up-button wx:if="{{p}}" u-s="{{['d']}}" bindtap="{{o}}" class="custom-code data-v-e4e4508d" u-i="e4e4508d-7,e4e4508d-3" bind:__l="__l" u-p="{{p}}"><text class="codetext data-v-e4e4508d">{{n}}</text></up-button></view></up-form-item></view></up-form><view wx:if="{{t}}" class="row data-v-e4e4508d"><up-button wx:if="{{w}}" bindclick="{{v}}" class="custom-style data-v-e4e4508d" u-i="e4e4508d-8" bind:__l="__l" u-p="{{w}}"></up-button></view><view wx:else class="row data-v-e4e4508d" style="margin-top:120rpx"><up-button wx:if="{{x}}" class="custom-style data-v-e4e4508d" bindgetphonenumber="{{y}}" u-i="e4e4508d-9" bind:__l="__l" u-p="{{z}}"></up-button><up-button wx:else class="custom-style data-v-e4e4508d" bindclick="{{A}}" u-i="e4e4508d-10" bind:__l="__l" u-p="{{B||''}}"></up-button></view><view class="row data-v-e4e4508d"><view class="left data-v-e4e4508d" bindtap="{{D}}">{{C}}</view><view class="right data-v-e4e4508d" bindtap="{{E}}"> 注册 </view></view><view class="row data-v-e4e4508d" style="margin-top:10rpx"><radio-group class="data-v-e4e4508d" bindtap="{{G}}" labelDisabled="{{true}}"><label class="radio data-v-e4e4508d"><radio class="data-v-e4e4508d" labelDisabled="{{true}}" value="1" checked="{{F}}" color="rgb(41, 121, 255)"/> 我已阅读并同意<navigator class="agree data-v-e4e4508d">《用户协议》</navigator></label></radio-group></view><view class="row data-v-e4e4508d"><view class="tip data-v-e4e4508d">操作说明</view></view><view class="line data-v-e4e4508d"> 若您还未注册肝胆相照专家版App, 请直接点击“注册”进行注册操作 </view><view class="desc data-v-e4e4508d"> 若您有任何疑问或需要我们协助,请与您的小助手联系或直接微信联系<text class="red data-v-e4e4508d">igandan1000</text></view></view><up-overlay wx:if="{{K}}" class="data-v-e4e4508d" u-s="{{['d']}}" u-i="e4e4508d-11" bind:__l="__l" u-p="{{K}}"><view class="zanboxpop data-v-e4e4508d"><view class="zanwraper data-v-e4e4508d"><view class="title data-v-e4e4508d">提示</view><view class="content data-v-e4e4508d">{{H}}</view><view class="btnbox data-v-e4e4508d" style="justify-content:center"><view class="cancle data-v-e4e4508d" bindtap="{{I}}">取消</view><view class="ok data-v-e4e4508d" bindtap="{{J}}">去完善</view></view></view></view></up-overlay>
|
||||
+132
@@ -105,4 +105,136 @@
|
||||
}
|
||||
.logincontent .desc .red.data-v-e4e4508d {
|
||||
color: red;
|
||||
}
|
||||
.zanboxpop.data-v-e4e4508d {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
.zanboxpop .zanwraper.data-v-e4e4508d {
|
||||
width: 630rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 50rpx;
|
||||
background: #f5f6f9;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
.zanboxpop .zanwraper .title.data-v-e4e4508d {
|
||||
margin-top: 48rpx;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
font-size: 36rpx;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
.zanboxpop .zanwraper .content.data-v-e4e4508d {
|
||||
padding: 30rpx 0;
|
||||
background: #f5f6f9;
|
||||
text-align: center;
|
||||
}
|
||||
.zanboxpop .zanwraper .content.data-v-e4e4508d .imgstyle {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.zanboxpop .zanwraper .content.data-v-e4e4508d ._block {
|
||||
text-align: left !important;
|
||||
}
|
||||
.zanboxpop .zanwraper .count.data-v-e4e4508d {
|
||||
margin-top: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
.zanboxpop .zanwraper .count .num.data-v-e4e4508d {
|
||||
color: #ff0000;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.zanboxpop .zanwraper .count .earn.data-v-e4e4508d {
|
||||
font-size: 32rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-e4e4508d {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
margin: 30rpx 0px 40rpx;
|
||||
padding: 0 40rpx;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox .minus.data-v-e4e4508d {
|
||||
flex-shrink: 0;
|
||||
margin-left: 10rp;
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
font-size: 60rpx;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #ffffff;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid #e9e9e9;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox .add.data-v-e4e4508d {
|
||||
flex-shrink: 0;
|
||||
width: 90rpx;
|
||||
margin-left: 10rpx;
|
||||
height: 90rpx;
|
||||
font-size: 60rpx;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
background: #3cc7c0;
|
||||
border-radius: 12rpx;
|
||||
border: 2rpx solid #3cc7c0;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-e4e4508d .u-input__content__field-wrapper__field {
|
||||
height: 60rpx;
|
||||
font-size: 34rpx !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-e4e4508d .u-input {
|
||||
background: #f2f2f2;
|
||||
width: 200rpx !important;
|
||||
flex: none;
|
||||
}
|
||||
.zanboxpop .zanwraper .countbox.data-v-e4e4508d .u-input--radius {
|
||||
border-radius: 24rrpx;
|
||||
}
|
||||
.zanboxpop .zanwraper .btnbox.data-v-e4e4508d {
|
||||
margin: 0px 40rpx 0px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.zanboxpop .zanwraper .btnbox .cancle.data-v-e4e4508d {
|
||||
color: rgba(0, 0, 0, 0.3);
|
||||
width: 256rpx;
|
||||
height: 88rpx;
|
||||
background: #f5f6f9;
|
||||
border-radius: 25px;
|
||||
border: 2rpx solid rgba(0, 0, 0, 0.15);
|
||||
font-weight: 500;
|
||||
margin-right: 18rpx;
|
||||
font-size: 32rpx;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.zanboxpop .zanwraper .btnbox .ok.data-v-e4e4508d {
|
||||
color: #fff;
|
||||
width: 256rpx;
|
||||
height: 88rpx;
|
||||
background: #3cc7c0;
|
||||
border-radius: 25px;
|
||||
border: 2rpx solid #3cc7c0;
|
||||
font-weight: 500;
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
+3
-2
@@ -23,10 +23,11 @@ const _sfc_main = {
|
||||
common_vendor.ref("");
|
||||
common_vendor.ref(10);
|
||||
common_vendor.ref(null);
|
||||
common_vendor.onLoad(() => {
|
||||
common_vendor.onLoad((options) => {
|
||||
const { envVersion } = common_vendor.index.getAccountInfoSync().miniProgram;
|
||||
if (options.src) {
|
||||
src.value = options.src;
|
||||
common_vendor.index.__f__("log", "at pages/register/register.vue:144", decodeURIComponent(options.src));
|
||||
src.value = decodeURIComponent(options.src);
|
||||
} else {
|
||||
if (envVersion == "release") {
|
||||
src.value = "https://wx.igandan.com/hcp/toRegister?fromType=weChat";
|
||||
|
||||
+1
-13
@@ -56,22 +56,10 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
|
||||
});
|
||||
n(res);
|
||||
} else if (res.data.code == 10007) {
|
||||
common_vendor.index.showToast({
|
||||
title: "待补充资料",
|
||||
icon: "none"
|
||||
});
|
||||
let H5url = "https://dev-wx.igandan.com";
|
||||
if (window.location.href.indexOf("//dev-casedata.igandan.com") == -1) {
|
||||
H5url = "https://wx.igandan.com";
|
||||
}
|
||||
let link = H5url + "/hcp/perfect?mobile=" + $("#phonenumber").val().trim();
|
||||
navTo({
|
||||
url: "/pages/register/register?src=" + link
|
||||
});
|
||||
n(res);
|
||||
} else if (res.data.code == 10005) {
|
||||
common_vendor.index.showToast({
|
||||
title: "待审核",
|
||||
title: res.data.message,
|
||||
icon: "none"
|
||||
});
|
||||
n(res);
|
||||
|
||||
Reference in New Issue
Block a user