Browse Source

no message

xiaoxin 1 year ago
parent
commit
5e55b3f69d

+ 3 - 3
pages/index/index.vue

@@ -139,7 +139,7 @@ onMounted(() => {
 	}
 })
 //画板边长默认是屏幕宽度,正方形画布
-const cw = uni.getSystemInfoSync().windowWidth
+const cw = uni.getWindowInfo().windowWidth
 // 用户姓名绑定数据
 const name = ref(uni.getStorageSync('form_name') || '')
 // 用户手机号绑定数据
@@ -580,7 +580,7 @@ const getCurrentDate = () => {
 
 // 选择图片回调
 const select = (e) => {
-	// console.log(e);
+	console.log(e)
 	e.tempFiles.forEach((item) => {
 		//这里的id和页面中写的html代码的canvas的id要一致
 		let canvasId = 'zipCanvas'
@@ -589,7 +589,7 @@ const select = (e) => {
 		//大小限制1024kb
 		let limitSize = 1024
 		//初始绘画区域是画布自身的宽度也就是屏幕宽度
-		let drawWidth = uni.getSystemInfoSync().windowWidth
+		let drawWidth = uni.getWindowInfo().windowWidth
 
 		getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, (resPath) => {
 			uni.showLoading({

+ 1 - 2
unpackage/dist/dev/mp-weixin/app.js

@@ -13,9 +13,8 @@ const _sfc_main = {
   onHide: function() {
   }
 };
-const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "E:/workSpace/agent-registration/App.vue"]]);
 function createApp() {
-  const app = common_vendor.createSSRApp(App);
+  const app = common_vendor.createSSRApp(_sfc_main);
   return {
     app
   };

File diff suppressed because it is too large
+ 417 - 382
unpackage/dist/dev/mp-weixin/common/vendor.js


+ 5 - 2
unpackage/dist/dev/mp-weixin/pages/authorization/authorization.js

@@ -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 _sfc_main = {
   __name: "authorization",
@@ -30,10 +31,12 @@ const _sfc_main = {
     };
     return (_ctx, _cache) => {
       return {
-        a: common_vendor.o(getPhoneNumber)
+        a: common_assets._imports_0$1,
+        b: common_assets._imports_1,
+        c: common_vendor.o(getPhoneNumber)
       };
     };
   }
 };
-const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2e3c7ef5"], ["__file", "E:/workSpace/agent-registration/pages/authorization/authorization.vue"]]);
+const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2e3c7ef5"]]);
 wx.createPage(MiniProgramPage);

+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/authorization/authorization.wxml

@@ -1 +1 @@
-<view class="content data-v-2e3c7ef5"><view class="logo data-v-2e3c7ef5"><image class="img data-v-2e3c7ef5" src="/static/logo.png"/></view><button class="button data-v-2e3c7ef5" open-type="getPhoneNumber" bindgetphonenumber="{{a}}"><image class="img data-v-2e3c7ef5" src="/static/weixin.svg"/><label class="data-v-2e3c7ef5">微信一键授权</label></button></view>
+<view class="content data-v-2e3c7ef5"><view class="logo data-v-2e3c7ef5"><image class="img data-v-2e3c7ef5" src="{{a}}"/></view><button class="button data-v-2e3c7ef5" open-type="getPhoneNumber" bindgetphonenumber="{{c}}"><image class="img data-v-2e3c7ef5" src="{{b}}"/><label class="data-v-2e3c7ef5">微信一键授权</label></button></view>

+ 11 - 8
unpackage/dist/dev/mp-weixin/pages/index/index.js

@@ -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);

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml


+ 1 - 1
unpackage/dist/dev/mp-weixin/project.config.json

@@ -18,7 +18,7 @@
     }
   },
   "compileType": "miniprogram",
-  "libVersion": "2.32.0",
+  "libVersion": "3.5.8",
   "appid": "wxc0c7fcf01e0a3442",
   "projectname": "agent-registration",
   "condition": {

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.js

@@ -2,7 +2,7 @@
 const common_vendor = require("../../../../common/vendor.js");
 const _sfc_main = {
   name: "uniDataChecklist",
-  mixins: [common_vendor.Ws.mixinDatacom || {}],
+  mixins: [common_vendor.Vs.mixinDatacom || {}],
   emits: ["input", "update:modelValue", "change"],
   props: {
     mode: {
@@ -427,5 +427,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     v: $data.isTop + "px"
   });
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 2 - 2
unpackage/dist/dev/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js

@@ -2,7 +2,7 @@
 const common_vendor = require("../../../../common/vendor.js");
 const _sfc_main = {
   name: "uni-stat-select",
-  mixins: [common_vendor.Ws.mixinDatacom || {}],
+  mixins: [common_vendor.Vs.mixinDatacom || {}],
   data() {
     return {
       showSelector: false,
@@ -227,5 +227,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     r: $data.current ? 1 : ""
   });
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 1 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js

@@ -429,5 +429,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     X: common_vendor.s($options.boxStyle)
   });
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 1 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js

@@ -139,7 +139,7 @@ function uploadCloudFiles(files, max = 5, onUploadProgress) {
       const index = self.files.findIndex((v) => v.uuid === fileItem.uuid);
       fileItem.url = "";
       delete fileItem.errMsg;
-      common_vendor.Ws.uploadFile({
+      common_vendor.Vs.uploadFile({
         filePath: fileItem.path,
         cloudPath: fileItem.cloudPath,
         fileType: fileItem.fileType,

+ 5 - 5
unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.js

@@ -143,9 +143,9 @@ const _sfc_main = {
     }
   },
   created() {
-    if (!(common_vendor.Ws.config && common_vendor.Ws.config.provider)) {
+    if (!(common_vendor.Vs.config && common_vendor.Vs.config.provider)) {
       this.noSpace = true;
-      common_vendor.Ws.chooseAndUploadFile = uni_modules_uniFilePicker_components_uniFilePicker_chooseAndUploadFile.chooseAndUploadFile;
+      common_vendor.Vs.chooseAndUploadFile = uni_modules_uniFilePicker_components_uniFilePicker_chooseAndUploadFile.chooseAndUploadFile;
     }
     this.form = this.getForm("uniForms");
     this.formItem = this.getForm("uniFormsItem");
@@ -245,7 +245,7 @@ const _sfc_main = {
      */
     chooseFiles() {
       const _extname = uni_modules_uniFilePicker_components_uniFilePicker_utils.get_extname(this.fileExtname);
-      common_vendor.Ws.chooseAndUploadFile({
+      common_vendor.Vs.chooseAndUploadFile({
         type: this.fileMediatype,
         compressed: false,
         sizeType: this.sizeType,
@@ -456,7 +456,7 @@ const _sfc_main = {
       fileList = {
         fileList: [].concat(fileList)
       };
-      const urls = await common_vendor.Ws.getTempFileURL(fileList);
+      const urls = await common_vendor.Vs.getTempFileURL(fileList);
       return urls.fileList[0].tempFileURL || "";
     },
     /**
@@ -516,5 +516,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     })
   } : {});
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 1 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.js

@@ -168,5 +168,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     f: common_vendor.s($options.borderStyle)
   } : {});
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 1 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.js

@@ -178,5 +178,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     h: common_vendor.s($options.boxStyle)
   } : {});
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 1 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js

@@ -59,5 +59,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     f: common_vendor.o((...args) => $options._onClick && $options._onClick(...args))
   };
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-icons/components/uni-icons/uni-icons.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);

+ 1 - 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js

@@ -107,5 +107,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
     q: common_vendor.o((...args) => $options.onClick && $options.onClick(...args))
   });
 }
-const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/workSpace/agent-registration/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue"]]);
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);