Browse Source

no message

xiaoxin 1 year ago
parent
commit
2d38e50630
21 changed files with 7096 additions and 6548 deletions
  1. 46 0
      pages/index/index.vue
  2. 1 0
      unpackage/dist/dev/mp-weixin/app.js
  3. 6975 6528
      unpackage/dist/dev/mp-weixin/common/vendor.js
  4. 1 0
      unpackage/dist/dev/mp-weixin/pages/authorization/authorization.js
  5. 30 10
      unpackage/dist/dev/mp-weixin/pages/index/index.js
  6. 1 1
      unpackage/dist/dev/mp-weixin/pages/index/index.wxml
  7. 19 0
      unpackage/dist/dev/mp-weixin/pages/index/index.wxss
  8. 2 1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.js
  9. 2 1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js
  10. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js
  11. 2 1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js
  12. 7 6
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.js
  13. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.js
  14. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.js
  15. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/utils.js
  16. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/icons.js
  17. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js
  18. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/i18n/index.js
  19. 1 0
      unpackage/dist/dev/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js
  20. 1 0
      unpackage/dist/dev/mp-weixin/util/api.js
  21. 1 0
      unpackage/dist/dev/mp-weixin/util/imageCompress.js

+ 46 - 0
pages/index/index.vue

@@ -105,6 +105,15 @@
 		</view>
 	</uni-popup>
 
+	<!-- 公告弹窗区域 -->
+	<uni-popup ref="popup_notice" type="center" :is-mask-click="false">
+		<view class="popup_body2">
+			此小程序即将关闭,如有项目报备请移步至【新华三商城】服务号,微信直接搜索,如有疑问可联系新华三渠道经理黄琳
+			<text style="color: #1e7dfb" @click="handlePhone('18979116761')">18979116761</text>
+			<view class="btn" @click="handleClose">我知道了</view>
+		</view>
+	</uni-popup>
+
 	<!-- 用于图片压缩的canvas画布 -->
 	<canvas
 		:style="{
@@ -137,6 +146,8 @@ onMounted(() => {
 			}
 		})
 	}
+
+	popup_notice.value.open()
 })
 //画板边长默认是屏幕宽度,正方形画布
 const cw = uni.getWindowInfo().windowWidth
@@ -266,6 +277,8 @@ const filePicker = ref(null)
 // 提交成功弹窗元素
 const popup = ref(null)
 
+const popup_notice = ref(null)
+
 // 模版id
 const templateOrder = ref('I3o8CRAiaaNbug3Ukkmv1o3S7l1FZlAKMUAJzIJ4zhs')
 
@@ -625,6 +638,18 @@ const handleDelete = (e) => {
 	subImgList.value.splice(num, 1)
 	projectImgList.value.splice(num, 1)
 }
+
+// 关闭公告弹窗回调
+const handleClose = () => {
+	popup_notice.value.close()
+}
+
+// 拨打电话回调
+const handlePhone = (phoneNumber) => {
+	uni.makePhoneCall({
+		phoneNumber
+	})
+}
 </script>
 
 <style lang="scss" scoped>
@@ -727,4 +752,25 @@ const handleDelete = (e) => {
 		background: linear-gradient(90deg, #1e7dfb 0%, #1b75eb 100%);
 	}
 }
+
+.popup_body2 {
+	padding: 40rpx 20rpx 10rpx;
+	width: 480rpx;
+	line-height: 50rpx;
+	border-radius: 22rpx;
+	background-color: #fff;
+
+	.btn {
+		margin: 30rpx auto;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		width: 150rpx;
+		height: 60rpx;
+		font-size: 24rpx;
+		color: #fff;
+		border-radius: 10rpx;
+		background-color: #1e7dfb;
+	}
+}
 </style>

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

@@ -21,3 +21,4 @@ function createApp() {
 }
 createApp().app.mount("#app");
 exports.createApp = createApp;
+//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map

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


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

@@ -40,3 +40,4 @@ const _sfc_main = {
 };
 const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2e3c7ef5"]]);
 wx.createPage(MiniProgramPage);
+//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/authorization/authorization.js.map

+ 30 - 10
unpackage/dist/dev/mp-weixin/pages/index/index.js

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

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


+ 19 - 0
unpackage/dist/dev/mp-weixin/pages/index/index.wxss

@@ -84,4 +84,23 @@
   font-size: 25rpx;
   border-radius: 43rpx;
   background: linear-gradient(90deg, #1e7dfb 0%, #1b75eb 100%);
+}
+.popup_body2.data-v-1cf27b2a {
+  padding: 40rpx 20rpx 10rpx;
+  width: 480rpx;
+  line-height: 50rpx;
+  border-radius: 22rpx;
+  background-color: #fff;
+}
+.popup_body2 .btn.data-v-1cf27b2a {
+  margin: 30rpx auto;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  width: 150rpx;
+  height: 60rpx;
+  font-size: 24rpx;
+  color: #fff;
+  border-radius: 10rpx;
+  background-color: #1e7dfb;
 }

+ 2 - 1
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.Vs.mixinDatacom || {}],
+  mixins: [common_vendor.nr.mixinDatacom || {}],
   emits: ["input", "update:modelValue", "change"],
   props: {
     mode: {
@@ -429,3 +429,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.js.map

+ 2 - 1
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.Vs.mixinDatacom || {}],
+  mixins: [common_vendor.nr.mixinDatacom || {}],
   data() {
     return {
       showSelector: false,
@@ -229,3 +229,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js.map

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

@@ -431,3 +431,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js.map

+ 2 - 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.Vs.uploadFile({
+      common_vendor.nr.uploadFile({
         filePath: fileItem.path,
         cloudPath: fileItem.cloudPath,
         fileType: fileItem.fileType,
@@ -198,3 +198,4 @@ function chooseAndUploadFile(opts = {
 }
 exports.chooseAndUploadFile = chooseAndUploadFile;
 exports.uploadCloudFiles = uploadCloudFiles;
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js.map

+ 7 - 6
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.Vs.config && common_vendor.Vs.config.provider)) {
+    if (!(common_vendor.nr.config && common_vendor.nr.config.provider)) {
       this.noSpace = true;
-      common_vendor.Vs.chooseAndUploadFile = uni_modules_uniFilePicker_components_uniFilePicker_chooseAndUploadFile.chooseAndUploadFile;
+      common_vendor.nr.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.Vs.chooseAndUploadFile({
+      common_vendor.nr.chooseAndUploadFile({
         type: this.fileMediatype,
         compressed: false,
         sizeType: this.sizeType,
@@ -260,7 +260,7 @@ const _sfc_main = {
       }).then((result) => {
         this.setSuccessAndError(result.tempFiles);
       }).catch((err) => {
-        console.log("选择失败", err);
+        common_vendor.index.__f__("log", "at uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue:364", "选择失败", err);
       });
     },
     /**
@@ -316,7 +316,7 @@ const _sfc_main = {
         this.setSuccessAndError(result);
         return result;
       }).catch((err) => {
-        console.log(err);
+        common_vendor.index.__f__("log", "at uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue:430", err);
       });
     },
     /**
@@ -456,7 +456,7 @@ const _sfc_main = {
       fileList = {
         fileList: [].concat(fileList)
       };
-      const urls = await common_vendor.Vs.getTempFileURL(fileList);
+      const urls = await common_vendor.nr.getTempFileURL(fileList);
       return urls.fileList[0].tempFileURL || "";
     },
     /**
@@ -518,3 +518,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.js.map

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

@@ -170,3 +170,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.js.map

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

@@ -180,3 +180,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.js.map

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

@@ -88,3 +88,4 @@ const get_file_data = async (files, type = "image") => {
 exports.get_extname = get_extname;
 exports.get_file_data = get_file_data;
 exports.get_files_and_is_max = get_files_and_is_max;
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/utils.js.map

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

@@ -1171,3 +1171,4 @@ const icons = {
   ]
 };
 exports.icons = icons;
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/icons.js.map

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

@@ -61,3 +61,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map

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

@@ -20,3 +20,4 @@ const messages = {
   "zh-Hant": zhHant
 };
 exports.messages = messages;
+//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/i18n/index.js.map

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

@@ -109,3 +109,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
 }
 const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
 wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js.map

+ 1 - 0
unpackage/dist/dev/mp-weixin/util/api.js

@@ -28,3 +28,4 @@ const myRequest = (options) => {
   });
 };
 exports.myRequest = myRequest;
+//# sourceMappingURL=../../.sourcemap/mp-weixin/util/api.js.map

+ 1 - 0
unpackage/dist/dev/mp-weixin/util/imageCompress.js

@@ -64,3 +64,4 @@ function getLessLimitSizeImage(canvasId, imagePath, limitSize = 1024, drawWidth,
   );
 }
 exports.getLessLimitSizeImage = getLessLimitSizeImage;
+//# sourceMappingURL=../../.sourcemap/mp-weixin/util/imageCompress.js.map