|
|
@@ -33,6 +33,7 @@ const _sfc_main = {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ popup_notice.value.open();
|
|
|
});
|
|
|
const cw = common_vendor.index.getWindowInfo().windowWidth;
|
|
|
const name = common_vendor.ref(common_vendor.index.getStorageSync("form_name") || "");
|
|
|
@@ -132,22 +133,23 @@ const _sfc_main = {
|
|
|
};
|
|
|
const filePicker = common_vendor.ref(null);
|
|
|
const popup = common_vendor.ref(null);
|
|
|
+ const popup_notice = common_vendor.ref(null);
|
|
|
const templateOrder = common_vendor.ref("I3o8CRAiaaNbug3Ukkmv1o3S7l1FZlAKMUAJzIJ4zhs");
|
|
|
const handleSubscribe = () => {
|
|
|
popup.value.close();
|
|
|
common_vendor.index.getSetting({
|
|
|
withSubscriptions: true,
|
|
|
success: (res) => {
|
|
|
- console.log(res);
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:292", res);
|
|
|
if (res.subscriptionsSetting.mainSwitch) {
|
|
|
common_vendor.index.requestSubscribeMessage({
|
|
|
tmplIds: [templateOrder.value],
|
|
|
success: (res2) => {
|
|
|
- console.log(res2);
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:297", res2);
|
|
|
if (res2[templateOrder.value] !== "reject") {
|
|
|
- console.log("成功");
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:299", "成功");
|
|
|
} else {
|
|
|
- console.log("拒绝2");
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:305", "拒绝2");
|
|
|
common_vendor.index.showModal({
|
|
|
content: "当前没有订阅,是否去设置打开?",
|
|
|
confirmText: "确认",
|
|
|
@@ -164,8 +166,8 @@ const _sfc_main = {
|
|
|
}
|
|
|
},
|
|
|
fail(err) {
|
|
|
- console.log(err);
|
|
|
- console.log("调用失败");
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:326", err);
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:327", "调用失败");
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
@@ -413,7 +415,7 @@ const _sfc_main = {
|
|
|
return `${year}-${month}-${day}`;
|
|
|
};
|
|
|
const select = (e) => {
|
|
|
- console.log(e);
|
|
|
+ common_vendor.index.__f__("log", "at pages/index/index.vue:596", e);
|
|
|
e.tempFiles.forEach((item) => {
|
|
|
let canvasId = "zipCanvas";
|
|
|
let imagePath = item.path;
|
|
|
@@ -450,6 +452,14 @@ const _sfc_main = {
|
|
|
subImgList.value.splice(num, 1);
|
|
|
projectImgList.value.splice(num, 1);
|
|
|
};
|
|
|
+ const handleClose = () => {
|
|
|
+ popup_notice.value.close();
|
|
|
+ };
|
|
|
+ const handlePhone = (phoneNumber) => {
|
|
|
+ common_vendor.index.makePhoneCall({
|
|
|
+ phoneNumber
|
|
|
+ });
|
|
|
+ };
|
|
|
return (_ctx, _cache) => {
|
|
|
return {
|
|
|
a: common_vendor.o(($event) => name.value = $event),
|
|
|
@@ -550,12 +560,22 @@ const _sfc_main = {
|
|
|
type: "center",
|
|
|
["is-mask-click"]: false
|
|
|
}),
|
|
|
- L: common_vendor.unref(cw) + "px",
|
|
|
- M: common_vendor.unref(cw) + "px",
|
|
|
- N: -1
|
|
|
+ L: common_vendor.o(($event) => handlePhone("18979116761")),
|
|
|
+ M: common_vendor.o(handleClose),
|
|
|
+ N: common_vendor.sr(popup_notice, "1cf27b2a-14", {
|
|
|
+ "k": "popup_notice"
|
|
|
+ }),
|
|
|
+ O: common_vendor.p({
|
|
|
+ type: "center",
|
|
|
+ ["is-mask-click"]: false
|
|
|
+ }),
|
|
|
+ P: common_vendor.unref(cw) + "px",
|
|
|
+ Q: common_vendor.unref(cw) + "px",
|
|
|
+ R: -1
|
|
|
};
|
|
|
};
|
|
|
}
|
|
|
};
|
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
|
|
wx.createPage(MiniProgramPage);
|
|
|
+//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|