|
|
@@ -1,5 +1,6 @@
|
|
|
"use strict";
|
|
|
const common_vendor = require("../../common/vendor.js");
|
|
|
+const common_assets = require("../../common/assets.js");
|
|
|
const util_api = require("../../util/api.js");
|
|
|
const util_imageCompress = require("../../util/imageCompress.js");
|
|
|
if (!Array) {
|
|
|
@@ -33,7 +34,7 @@ const _sfc_main = {
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- const cw = common_vendor.index.getSystemInfoSync().windowWidth;
|
|
|
+ const cw = common_vendor.index.getWindowInfo().windowWidth;
|
|
|
const name = common_vendor.ref(common_vendor.index.getStorageSync("form_name") || "");
|
|
|
const phone = common_vendor.ref(common_vendor.index.getStorageSync("form_phone") || "");
|
|
|
const company = common_vendor.ref(common_vendor.index.getStorageSync("form_company") || "");
|
|
|
@@ -412,11 +413,12 @@ const _sfc_main = {
|
|
|
return `${year}-${month}-${day}`;
|
|
|
};
|
|
|
const select = (e) => {
|
|
|
+ console.log(e);
|
|
|
e.tempFiles.forEach((item) => {
|
|
|
let canvasId = "zipCanvas";
|
|
|
let imagePath = item.path;
|
|
|
let limitSize = 1024;
|
|
|
- let drawWidth = common_vendor.index.getSystemInfoSync().windowWidth;
|
|
|
+ let drawWidth = common_vendor.index.getWindowInfo().windowWidth;
|
|
|
util_imageCompress.getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, (resPath) => {
|
|
|
common_vendor.index.showLoading({
|
|
|
title: "上传中"
|
|
|
@@ -539,20 +541,21 @@ const _sfc_main = {
|
|
|
mode: "grid"
|
|
|
}),
|
|
|
G: common_vendor.o(handleSubmit),
|
|
|
- H: common_vendor.o(handleSubscribe),
|
|
|
- I: common_vendor.sr(popup, "1cf27b2a-13", {
|
|
|
+ H: common_assets._imports_0,
|
|
|
+ I: common_vendor.o(handleSubscribe),
|
|
|
+ J: common_vendor.sr(popup, "1cf27b2a-13", {
|
|
|
"k": "popup"
|
|
|
}),
|
|
|
- J: common_vendor.p({
|
|
|
+ K: common_vendor.p({
|
|
|
type: "center",
|
|
|
["is-mask-click"]: false
|
|
|
}),
|
|
|
- K: common_vendor.unref(cw) + "px",
|
|
|
L: common_vendor.unref(cw) + "px",
|
|
|
- M: -1
|
|
|
+ M: common_vendor.unref(cw) + "px",
|
|
|
+ N: -1
|
|
|
};
|
|
|
};
|
|
|
}
|
|
|
};
|
|
|
-const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"], ["__file", "E:/workSpace/agent-registration/pages/index/index.vue"]]);
|
|
|
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
|
|
wx.createPage(MiniProgramPage);
|