achievemen-share.js.map
42.0 KB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?73c7","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?a343","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?f12d","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?6e59","uni-app:///pages/student/internship/achievemen-share/achievemen-share.vue","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?4741","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?5e9a","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?9bd5","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/internship/achievemen-share/achievemen-share.vue?0214"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,gJ;AACAA,UAAU,CAACC,wBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACa;AACyB;;;AAGrG;AACyN;AACzN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oQAEN;AACP,KAAK;AACL;AACA,aAAa,wMAEN;AACP,KAAK;AACL;AACA,aAAa,sOAEN;AACP,KAAK;AACL;AACA,aAAa,8MAEN;AACP,KAAK;AACL;AACA,aAAa,wPAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjEA;AAAA;AAAA;AAAA;AAA23B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4F/4B;AACA,MADA,kBACA;AACA;AACA,YADA;AAEA,aAFA;AAGA,cAHA;AAIA,eAJA;AAKA,YALA;AAMA;AACA,kBADA;AAEA;AACA,uBADA,EAFA;AAIA;AACA,uBADA,EAJA,CANA;;AAaA,iBAbA;AAcA,kBAdA;AAeA,qBAfA;AAgBA,yBAhBA;AAiBA,iBAjBA;AAkBA,iBAlBA;AAmBA,qBAnBA;AAoBA,iBApBA;AAqBA,kBArBA;AAsBA,sBAtBA;AAuBA,iBAvBA;;AAyBA,GA3BA;;AA6BA,QA7BA,kBA6BA,CA7BA,EA6BA;AACA;AACA;AACA;AACA,GAjCA;;AAmCA;;AAEA,WAFA,qBAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,WAHA,MAGA;AACA;AACA,4CADA;AAEA,sCAFA;AAGA,gBAHA,CAGA;AACA;AACA;AACA;AACA,eAFA,MAEA;AACA;AACA;;AAEA,aAXA;AAYA;AACA;AACA,OArBA;;AAuBA,KA3BA;;AA6BA,aA7BA,uBA6BA;AACA;AACA,KA/BA;;AAiCA,aAjCA,qBAiCA,KAjCA,EAiCA;AACA;AACA;AACA;AACA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA;AACA;AACA,oDADA;AAEA,8CAFA,EAEA;AACA,gCAHA,EAGA;AACA;AACA;AACA;AACA,WAPA;;AASA,OAjBA,MAiBA;AACA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA;AACA;AACA,oDADA;AAEA,8CAFA,EAEA;AACA,+BAHA,EAGA;AACA;AACA;AACA;AACA;AACA;AACA,aAFA,MAEA;AACA;AACA;AACA,WAZA;;AAcA,OAtBA,MAsBA;AACA;AACA;AACA,8BADA;AAEA,wBAFA;;AAIA;AACA;AACA;AACA,yDADA;AAEA,mCAFA;AAGA,sBAHA;AAIA,iBAJA,mBAIA,GAJA,EAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCADA;AAEA,8BAFA;;AAIA;AACA;AACA;AACA;AACA,WAlBA;;AAoBA;AACA,KAxGA;;AA0GA,UA1GA,oBA0GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBADA;AAEA,kBAFA;;AAIA;AACA,YADA,EACA;AACA;AACA,OAHA,MAGA;AACA;AACA,cADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAJA;AAKA,SATA,MASA;AACA;AACA;AACA;AACA;AACA,WAHA;AAIA,SANA,MAMA;AACA;AACA;AACA;AACA;AACA,WAHA;AAIA;AACA;AACA,KA3JA;;AA6JA,eA7JA,yBA6JA;AACA;AACA;AACA;AACA;AACA,oBADA;AAEA,sCAFA;AAGA,wCAHA;AAIA,gCAJA;AAKA,4DALA;AAMA,oEANA;AAOA,UAPA,CAOA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OA3BA;AA4BA,KA7LA;;AA+LA;AACA,YAhMA,oBAgMA,CAhMA,EAgMA;AACA;AACA,uBADA;AAEA,kBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,qBADA;AAEA,iBAFA,mBAEA,GAFA,EAEA;AACA;AACA;AACA,WALA;;AAOA,OATA,MASA;AACA;AACA,wBADA;AAEA,wBAFA;AAGA;AACA;AACA;AACA,WANA;;AAQA;AACA,KA3NA;;AA6NA,aA7NA,qBA6NA,CA7NA,EA6NA;AACA;AACA;AACA;AACA,KAjOA;;AAmOA,eAnOA,uBAmOA,CAnOA,EAmOA;AACA;AACA;AACA,6BADA;AAEA;AACA;AACA;AACA;AACA;AACA,WAJA,MAIA;AACA;AACA;AACA,SAVA;;AAYA,KAjPA;;AAmPA,gBAnPA,0BAmPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wCADA;AAEA,kCAFA;AAGA,oGAHA;AAIA,4CAJA;AAKA,wCALA;;AAOA,OARA,MAQA;AACA;AACA,+FADA;AAEA,iDAFA;AAGA,kDAHA;AAIA,wCAJA;AAKA,8CALA;AAMA,4CANA;;AAQA;AACA;AACA;AACA;AACA;AACA,mCADA;AAEA,yEAFA;AAGA,wBAHA;AAIA,8BAJA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAbA;;AAeA;;AAEA;AACA,aAlBA;;AAoBA;AACA,OAxBA;;AA0BA,KAvSA;;AAySA,eAzSA,yBAySA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wCADA;AAEA,kCAFA;AAGA,oGAHA;AAIA,4CAJA;AAKA,wCALA;;AAOA,OARA,MAQA;AACA;AACA,+FADA;AAEA,iDAFA;AAGA,kDAHA;AAIA,wCAJA;AAKA,8CALA;AAMA,4CANA;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA;AACA;AACA,mCADA;AAEA,gFAFA;AAGA;AACA,wBAJA;AAKA,8BALA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAbA;AAcA;;AAEA;AACA,aAjBA;;AAmBA;AACA,OA7BA;;AA+BA,KAnWA;;AAqWA,YArWA,oBAqWA,CArWA,EAqWA;AACA;;AAEA;AACA,uBADA;AAEA,kBAFA;;;AAKA;AACA,wBADA;AAEA,0BAFA;AAGA,UAHA,CAGA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA,yBADA;AAEA;AACA;AACA;AACA,kCADA;AAEA,8BAFA;AAGA;AACA;AACA,iBALA;AAMA;AACA;AACA,iBARA;;AAUA,aAdA;;AAgBA;AACA,OAzBA;AA0BA,KAvYA;AAwYA,aAxYA,qBAwYA,OAxYA,EAwYA;AACA;AACA;AACA,mBADA;AAEA,eAFA,mBAEA,GAFA,EAEA;AACA;AACA;AACA,SALA;AAMA,YANA,gBAMA,GANA,EAMA;AACA;AACA;AACA,SATA;;AAWA,KArZA;;AAuZA,aAvZA,qBAuZA,GAvZA,EAuZA;AACA;AACA,kBADA;AAEA,oBAFA;;AAIA,KA5ZA;;AA8ZA,mBA9ZA,6BA8ZA;;AAEA,KAhaA,EAnCA,E;;;;;;;;;;;;;AC5FA;AAAA;AAAA;AAAA;AAA0vC,CAAgB,2mCAAG,EAAC,C;;;;;;;;;;;ACA9wC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAgnD,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;;ACApoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/student/internship/achievemen-share/achievemen-share.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/student/internship/achievemen-share/achievemen-share.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./achievemen-share.vue?vue&type=template&id=7140284a&scoped=true&\"\nvar renderjs\nimport script from \"./achievemen-share.vue?vue&type=script&lang=js&\"\nexport * from \"./achievemen-share.vue?vue&type=script&lang=js&\"\nimport style0 from \"./achievemen-share.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./achievemen-share.vue?vue&type=style&index=1&id=7140284a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7140284a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/student/internship/achievemen-share/achievemen-share.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=template&id=7140284a&scoped=true&\"","var components\ntry {\n components = {\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uGrid: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-grid/u-grid\" */ \"@/uview-ui/components/u-grid/u-grid.vue\"\n )\n },\n uGridItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-grid-item/u-grid-item\" */ \"@/uview-ui/components/u-grid-item/u-grid-item.vue\"\n )\n },\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/uview-ui/components/u-image/u-image.vue\"\n )\n },\n uActionSheet: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-action-sheet/u-action-sheet\" */ \"@/uview-ui/components/u-action-sheet/u-action-sheet.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event, item, index) {\n var _temp = arguments[arguments.length - 1].currentTarget.dataset,\n _temp2 = _temp.eventParams || _temp[\"event-params\"],\n item = _temp2.item,\n index = _temp2.index\n\n var _temp, _temp2\n\n !item.filename ? _vm.openFile(index) : _vm.openLink(item)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\" :style=\"vuex_theme\">\r\n\t\t<view v-if=\"!isSuccess && !ispj\">\r\n\t\t\t<view v-if=\"isTime\" class=\"bczl\">\r\n\t\t\t\t<view style=\"background-color: #fff; padding: 20px 16px 0;\">\r\n\t\t\t\t\t<view class=\"t\">\r\n\t\t\t\t\t\t企业联系人\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"box\">\r\n\t\t\t\t\t\t<u-input v-model=\"name\" :maxlength=\"'50'\" input-align=\"left\" :placeholder=\"'请输入姓名'\"\r\n\t\t\t\t\t\t\t:clearable=\"false\"\r\n\t\t\t\t\t\t\t:custom-style=\"{height:'50px',fontSize:'32rpx', color:'#6666666', backgroundColor: '#FFF', paddingLeft: '0px'}\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"background-color: #fff; padding: 20px 16px 0;\">\r\n\t\t\t\t\t<view class=\"t\">\r\n\t\t\t\t\t\t联系方式\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"box\">\r\n\t\t\t\t\t\t<u-input v-model=\"phone\" :maxlength=\"'11'\" type=\"number\" input-align=\"left\" :placeholder=\"'请输入联系方式'\"\r\n\t\t\t\t\t\t\t:clearable=\"false\"\r\n\t\t\t\t\t\t\t:custom-style=\"{height:'50px',fontSize:'32rpx', color:'#6666666', backgroundColor: '#FFF', paddingLeft: '0px'}\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"background-color: #fff; padding: 20px 16px; margin-top: 15px;\">\r\n\t\t\t\t\t<view class=\"t\">\r\n\t\t\t\t\t\t评语\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"margin-top: 15px;\">\r\n\t\t\t\t\t\t<u-input v-model=\"py\" :maxlength=\"'100'\" input-align=\"left\" :placeholder=\"'请输入评语…'\"\r\n\t\t\t\t\t\t\t:type=\"'textarea'\" :height=\"240\"\r\n\t\t\t\t\t\t\t:custom-style=\"{fontSize:'28rpx', color:'#6666666', backgroundColor: 'rgba(0,0,0,0.03)', padding: '15px 18px'}\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"picList.length>0\" style=\"background-color: #fff; padding: 20px 16px; margin-top: 15px;\">\r\n\t\t\t\t\t<view class=\"text_gray_28\" style=\"margin-bottom: 20rpx;\">照片附件(最多可上传9张)</view>\r\n\t\t\t\t\t<u-grid :col=\"3\" :border=\"false\">\r\n\t\t\t\t\t\t<u-grid-item v-for=\"(item, index) in picList\" :key=\"index\">\r\n\t\t\t\t\t\t\t<image v-if=\"type != 3\" class=\"delete\" src=\"/static/img/common/delete.png\"\r\n\t\t\t\t\t\t\t\t@click=\"deleteImg(index)\"></image>\r\n\t\t\t\t\t\t\t<u-image :height=\"216\" :width=\"216\" :src=\"item\"></u-image>\r\n\t\t\t\t\t\t</u-grid-item>\r\n\t\t\t\t\t</u-grid>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"fileList.length>0\" style=\"background-color: #fff; padding: 20px 16px; margin-top: 15px;\">\r\n\t\t\t\t\t<view class=\"text_gray_28\" style=\"margin-bottom: 20rpx;\">PDF附件(最多可上传3个)</view>\r\n\t\t\t\t\t<view class=\"pdffj\" v-for=\"(item,index) in fileList \"\r\n\t\t\t\t\t\t@click=\"!item.filename?openFile(index):openLink(item)\" :key=\"index\">\r\n\t\t\t\t\t\t<image class=\"img\" src=\"/static/img/common/link.png\"></image>\r\n\t\t\t\t\t\t<text class=\"look\">{{item.name?item.name:item.filename}}</text>\r\n\t\t\t\t\t\t<image v-if=\"type != 3\" style=\"margin-left: 7px; width: 14px;height: 14px;\"\r\n\t\t\t\t\t\t\t@click.stop=\"deleteModal(index)\"\r\n\t\t\t\t\t\t\tsrc=\"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/excellet-working/treadTree.png\">\r\n\t\t\t\t\t\t\t<!-- <text class=\"look\">{{item.filename}}</text> -->\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"add_info\" @click=\"addPhotos\">+ 添加附件</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"!isTime\">\r\n\t\t\t\t<view style=\"margin: 150px auto 0; width: 131px;height: 100px;\">\r\n\t\t\t\t\t<image style=\"width: 131px;height: 100px;\" lazy-load=true :src=\"vuex_baseImgUrl && `${vuex_baseImgUrl}noData.png`\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"width: 100%; margin-top: 20px; text-align: center; font-size: 15px; color: #121212;\">\r\n\t\t\t\t\t分享链接已失效,请重新分享\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"height: 144rpx;\"></view>\r\n\t\t\t<view v-if=\"isTime\" class=\"botBtnV_centralize\">\r\n\t\t\t\t<view class=\"botBtn\" @click=\"submit()\">确认提交</view>\r\n\t\t\t</view>\r\n\t\t\t<u-action-sheet :list=\"list\" @click=\"chooseImg\" v-model=\"show\"></u-action-sheet>\r\n\t\t</view>\r\n\t\t<view v-else-if=\"isSuccess\" class=\"success\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<img class=\"img\" :src=\"vuex_baseImgUrl&&`${vuex_baseImgUrl}no_order.png`\" alt=\"\">\r\n\t\t\t\t<view class=\"t1\">\r\n\t\t\t\t\t评价成功,感谢参与!\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-else-if=\"ispj\" class=\"success\">\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<img class=\"img\" :src=\"vuex_baseImgUrl&&`${vuex_baseImgUrl}no_order.png`\" alt=\"\">\r\n\t\t\t\t<view class=\"t1\">\r\n\t\t\t\t\t已评价,感谢参与!\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tid: '',\r\n\t\t\t\tkey: '',\r\n\t\t\t\tname: '',\r\n\t\t\t\tphone: '',\r\n\t\t\t\tpy: '',\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\ttext: '拍照'\r\n\t\t\t\t}, {\r\n\t\t\t\t\ttext: '从手机相册选择'\r\n\t\t\t\t}, {\r\n\t\t\t\t\ttext: '从微信文件选择'\r\n\t\t\t\t}],\r\n\t\t\t\tpicList: [],\r\n\t\t\t\tfileList: [],\r\n\t\t\t\tattachments: [],\r\n\t\t\t\tattachmentsFile: [],\r\n\t\t\t\tossInit: {},\r\n\t\t\t\tmaxCount: 9,\r\n\t\t\t\tfilemaxCount: 3,\r\n\t\t\t\tshow: false,\r\n\t\t\t\tisTime: true,\r\n\t\t\t\tisSuccess: false,\r\n\t\t\t\tispj: false\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad(e) {\r\n\t\t\tthis.id = e.id\r\n\t\t\tthis.key = e.key\r\n\t\t\tthis.initOss()\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tinitOss() {\r\n\t\t\t\t\r\n\t\t\t\tthis.$u.api.getCompanyStatusUrlapi(this.id).then(res => {\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\tif (res.flag) {\r\n\t\t\t\t\t\t\tthis.ispj = true\r\n\t\t\t\t\t\t\tconsole.log(this.ispj)\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tthis.$u.api.getOssInit({\r\n\t\t\t\t\t\t\t\t\"uploadFileType\": \"attachment\",\r\n\t\t\t\t\t\t\t\t\"studentKey\": this.key\r\n\t\t\t\t\t\t\t}).then(res => {\r\n\t\t\t\t\t\t\t\tconsole.log(\"ossinit...\", res)\r\n\t\t\t\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\t\t\t\tthis.ossInit = res\r\n\t\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\t\tthis.isTime = false\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t},\r\n\r\n\t\t\taddPhotos() {\r\n\t\t\t\tthis.show = true\r\n\t\t\t},\r\n\r\n\t\t\tchooseImg(index) {\r\n\t\t\t\tvar _this = this\r\n\t\t\t\tconsole.log(index)\r\n\t\t\t\tif (index == 0) { //拍照\r\n\t\t\t\t\tif (this.picList.length >= this.maxCount) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: \"已达到上传文件上限\",\r\n\t\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tuni.chooseImage({\r\n\t\t\t\t\t\tcount: this.maxCount - this.picList.length,\r\n\t\t\t\t\t\tsizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有\r\n\t\t\t\t\t\tsourceType: ['camera'], //从相机选择\r\n\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\tconsole.log(\"chooseImage...\", JSON.stringify(res.tempFilePaths));\r\n\t\t\t\t\t\t\t_this.picList = _this.picList.concat(res.tempFilePaths)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t} else if (index == 1) { //相册\r\n\t\t\t\t\tif (this.picList.length >= this.maxCount) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: \"已达到上传文件上限\",\r\n\t\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tuni.chooseImage({\r\n\t\t\t\t\t\tcount: this.maxCount - this.picList.length,\r\n\t\t\t\t\t\tsizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有\r\n\t\t\t\t\t\tsourceType: ['album'], //从相册选择\r\n\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t\t\tconsole.log(\"chooseImage...\", JSON.stringify(res.tempFilePaths));\r\n\t\t\t\t\t\t\tif (!_this.picList || _this.picList.length == 0) {\r\n\t\t\t\t\t\t\t\t_this.picList = res.tempFilePaths\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t_this.picList = _this.picList.concat(res.tempFilePaths)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t} else if (index == 2) {\r\n\t\t\t\t\tif (this.fileList.length >= this.filemaxCount) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: \"已达到上传文件上限\",\r\n\t\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\twx.chooseMessageFile({\r\n\t\t\t\t\t\tcount: this.filemaxCount - this.fileList.length,\r\n\t\t\t\t\t\textension: ['pdf', 'PDF'],\r\n\t\t\t\t\t\ttype: 'file',\r\n\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\tconsole.log(res.tempFiles)\r\n\t\t\t\t\t\t\t// tempFilePath可以作为img标签的src属性显示图片\r\n\t\t\t\t\t\t\tfor (let i = 0; i < res.tempFiles.length; i++) {\r\n\t\t\t\t\t\t\t\tlet item = res.tempFiles[i]\r\n\t\t\t\t\t\t\t\tif (item.size > 10485760) {\r\n\t\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\t\ttitle: \"单个文件不允许超过10M\",\r\n\t\t\t\t\t\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\treturn\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t_this.fileList.push(...res.tempFiles)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tsubmit() {\r\n\t\t\t\tvar _this = this\r\n\t\t\t\tif (!this.name) {\r\n\t\t\t\t\tthis.showToast(\"请输入姓名\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif (!this.phone) {\r\n\t\t\t\t\tthis.showToast(\"请输入手机号\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif (!this.py) {\r\n\t\t\t\t\tthis.showToast(\"请输入评语\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// if (this.picList.length == 0 && this.fileList.length == 0) {\r\n\t\t\t\t// \tthis.showToast(\"请添加至少一个附件\")\r\n\t\t\t\t// \treturn;\r\n\t\t\t\t// }\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '文件上传中~',\r\n\t\t\t\t\tmask: true\r\n\t\t\t\t})\r\n\t\t\t\tif ((this.picList.length == this.attachments.length) && (this.fileList.length == this.attachmentsFile\r\n\t\t\t\t\t\t.length)) {\r\n\t\t\t\t\t_this.uploadInfos();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif ((this.picList.length != this.attachments.length) && (this.fileList.length != this.attachmentsFile\r\n\t\t\t\t\t\t\t.length)) {\r\n\t\t\t\t\t\tlet p1 = this.uploadImages();\r\n\t\t\t\t\t\tlet p2 = this.uploadFiles();\r\n\t\t\t\t\t\tPromise.all([p1, p2]).then((res) => {\r\n\t\t\t\t\t\t\tconsole.log('end11', p1)\r\n\t\t\t\t\t\t\tconsole.log('end22', p2)\r\n\t\t\t\t\t\t\t_this.uploadInfos();\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else if (this.picList.length != this.attachments.length) {\r\n\t\t\t\t\t\tlet p1 = this.uploadImages();\r\n\t\t\t\t\t\tPromise.all([p1]).then((res) => {\r\n\t\t\t\t\t\t\tconsole.log('end11', p1)\r\n\t\t\t\t\t\t\t_this.uploadInfos();\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else if (this.fileList.length != this.attachmentsFile.length) {\r\n\t\t\t\t\t\tlet p2 = this.uploadFiles();\r\n\t\t\t\t\t\tPromise.all([p2]).then((res) => {\r\n\t\t\t\t\t\t\tconsole.log('end22', p2)\r\n\t\t\t\t\t\t\t_this.uploadInfos();\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tuploadInfos() {\r\n\t\t\t\tconsole.log(\"uploadInfos111...\", JSON.stringify(this.attachments))\r\n\t\t\t\tconsole.log(\"uploadInfos222...\", JSON.stringify(this.attachmentsFile))\r\n\t\t\t\tlet _this = this\r\n\t\t\t\tthis.$u.api.putscoreappraisalAPI({\r\n\t\t\t\t\tid: _this.id,\r\n\t\t\t\t\tcompanyContactName: _this.name,\r\n\t\t\t\t\tcompanyContactPhone: _this.phone,\r\n\t\t\t\t\tcompanyComment: _this.py,\r\n\t\t\t\t\tcompanyAttachment: JSON.stringify(_this.attachments),\r\n\t\t\t\t\tcompanyAttachmentFile: JSON.stringify(_this.attachmentsFile),\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.isSuccess = true\r\n\t\t\t\t\t// uni.showModal({\r\n\t\t\t\t\t// \ttitle: '提示',\r\n\t\t\t\t\t// \tcontent: '考评成功,感谢参与!',\r\n\t\t\t\t\t// \tshowCancel: false,\r\n\t\t\t\t\t// \tsuccess: function (res) {\r\n\t\t\t\t\t// \t\tif (res.confirm) {\r\n\t\t\t\t\t// \t\t} else if (res.cancel) {\r\n\t\t\t\t\t// \t\t}\r\n\t\t\t\t\t// \t}\r\n\t\t\t\t\t// });\r\n\t\t\t\t\t\r\n\t\t\t\t\t// let pages = getCurrentPages();\r\n\t\t\t\t\t// let prevPage = pages[pages.length - 2];\r\n\t\t\t\t\t// uni.navigateBack({\r\n\t\t\t\t\t// \tdelta: 1\r\n\t\t\t\t\t// });\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\t//pdf\r\n\t\t\topenFile(e) { //打开文件\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '努力加载中~',\r\n\t\t\t\t\tmask: true\r\n\t\t\t\t})\r\n\t\t\t\tvar type = this.fileList[e].type\r\n\t\t\t\tvar path = this.fileList[e].path\r\n\t\t\t\tconsole.log(\"openFile\", type, path)\r\n\t\t\t\tif (type == 'image') {\r\n\t\t\t\t\tlet array = new Array(1).fill(path);\r\n\t\t\t\t\tuni.previewImage({\r\n\t\t\t\t\t\turls: array,\r\n\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\tconsole.log('openImage success');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.openDocument({\r\n\t\t\t\t\t\tfilePath: path,\r\n\t\t\t\t\t\tshowMenu: true,\r\n\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\tconsole.log('openDoc succ');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tdeleteImg(e) { //e==index\r\n\t\t\t\tconsole.log(e, this.picList)\r\n\t\t\t\tthis.picList.splice(e, 1)\r\n\t\t\t\tthis.attachments.splice(e, 1)\r\n\t\t\t},\r\n\r\n\t\t\tdeleteModal(e) {\r\n\t\t\t\tvar _this = this\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\tcontent: '确定要删除该文件吗?',\r\n\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\tconsole.log('confirm', _this.fileList);\r\n\t\t\t\t\t\t\t_this.fileList.splice(e, 1)\r\n\t\t\t\t\t\t\t_this.attachmentsFile.splice(e, 1)\r\n\t\t\t\t\t\t} else if (res.cancel) {\r\n\t\t\t\t\t\t\tconsole.log('cancel');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tuploadImages() { //上传图片\r\n\t\t\t\t// console.log(\"uploadImages...\", this.picList, this.attachments)\r\n\t\t\t\tvar _this = this\r\n\t\t\t\t// if (this.picList.length == this.attachments.length) { //是否有新增图片\r\n\t\t\t\t// \t_this.uploadInfos();\r\n\t\t\t\t// } else {}\r\n\t\t\t\t// console.log('_this.ossInit...', _this.ossInit)\r\n\t\t\t\tlet formdata = {}\r\n\t\t\t\tif (this.ossInit.uploadType == 'minio') {\r\n\t\t\t\t\tformdata = {\r\n\t\t\t\t\t\t'bucket': _this.ossInit.bucket,\r\n\t\t\t\t\t\t'dir': _this.ossInit.dir,\r\n\t\t\t\t\t\t'fileName': `${_this.ossInit.dir}${new Date().getTime()}/` + '${filename}',\r\n\t\t\t\t\t\t'accessId': _this.ossInit.accessId,\r\n\t\t\t\t\t\t'policy': _this.ossInit.policy\r\n\t\t\t\t\t}\r\n\t\t\t\t}else {\r\n\t\t\t\t\tformdata = {\r\n\t\t\t\t\t\t'key': `${_this.ossInit.dir}${new Date().getTime()}/` + '${filename}',\r\n\t\t\t\t\t\t'action': `${_this.ossInit.host}`,\r\n\t\t\t\t\t\t'OSSAccessKeyId': _this.ossInit.accessId,\r\n\t\t\t\t\t\t'policy': _this.ossInit.policy,\r\n\t\t\t\t\t\t'signature': _this.ossInit.signature,\r\n\t\t\t\t\t\t'callback': _this.ossInit.callback,\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn new Promise((resolve, reject) => {\r\n\t\t\t\t\tvar gapLength = this.picList.length - this.attachments.length\r\n\t\t\t\t\tfor (var i = 0; i < gapLength; i++) {\r\n\t\t\t\t\t\tuni.uploadFile({\r\n\t\t\t\t\t\t\turl: _this.ossInit.host,\r\n\t\t\t\t\t\t\tfilePath: _this.picList[_this.picList.length - gapLength + i],\r\n\t\t\t\t\t\t\tname: 'file',\r\n\t\t\t\t\t\t\tformData: formdata,\r\n\t\t\t\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\t\t\t\t// console.log(\"--\", _this.attachments, uploadFileRes)\r\n\t\t\t\t\t\t\t\t// console.log(\"...\",JSON.parse(uploadFileRes.data))\r\n\t\t\t\t\t\t\t\t_this.attachments.push(JSON.parse(uploadFileRes.data))\r\n\t\t\t\t\t\t\t\tif (_this.attachments.length == _this.picList.length) {\r\n\t\t\t\t\t\t\t\t\t// _this.uploadInfos();\r\n\t\t\t\t\t\t\t\t\tresolve()\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t\tcomplete: (res) => {\r\n\r\n\t\t\t\t\t\t\t\t// console.log('res...', res)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t},\r\n\r\n\t\t\tuploadFiles() { //上传文件\r\n\t\t\t\tvar _this = this\r\n\t\t\t\t// if (this.fileList.length == this.attachmentsFile.length) { //是否有新增图片\r\n\t\t\t\t// \t_this.uploadInfos();\r\n\t\t\t\t// } else {\r\n\r\n\t\t\t\t// }\r\n\t\t\t\t// console.log(\"uploadFiles...\", this.fileList, this.attachmentsFile)\r\n\t\t\t\tlet formdata = {}\r\n\t\t\t\tif (this.ossInit.uploadType == 'minio') {\r\n\t\t\t\t\tformdata = {\r\n\t\t\t\t\t\t'bucket': _this.ossInit.bucket,\r\n\t\t\t\t\t\t'dir': _this.ossInit.dir,\r\n\t\t\t\t\t\t'fileName': `${_this.ossInit.dir}${new Date().getTime()}/` + '${filename}',\r\n\t\t\t\t\t\t'accessId': _this.ossInit.accessId,\r\n\t\t\t\t\t\t'policy': _this.ossInit.policy\r\n\t\t\t\t\t}\r\n\t\t\t\t}else {\r\n\t\t\t\t\tformdata = {\r\n\t\t\t\t\t\t'key': `${_this.ossInit.dir}${new Date().getTime()}/` + '${filename}',\r\n\t\t\t\t\t\t'action': `${_this.ossInit.host}`,\r\n\t\t\t\t\t\t'OSSAccessKeyId': _this.ossInit.accessId,\r\n\t\t\t\t\t\t'policy': _this.ossInit.policy,\r\n\t\t\t\t\t\t'signature': _this.ossInit.signature,\r\n\t\t\t\t\t\t'callback': _this.ossInit.callback,\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn new Promise((resolve, reject) => {\r\n\t\t\t\t\tvar gapLength = this.fileList.length - this.attachmentsFile.length\r\n\t\t\t\t\tfor (var i = 0; i < gapLength; i++) {\r\n\t\t\t\t\t\tlet item = _this.fileList[_this.fileList.length - gapLength + i]\r\n\t\t\t\t\t\tif (this.ossInit.uploadType == 'minio') {\r\n\t\t\t\t\t\t\tformdata.fileName = `${_this.ossInit.dir}${new Date().getTime()}/` + item.name\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tformdata.key = `${_this.ossInit.dir}${new Date().getTime()}/` + item.name\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tuni.uploadFile({\r\n\t\t\t\t\t\t\turl: _this.ossInit.host,\r\n\t\t\t\t\t\t\tfilePath: _this.fileList[_this.fileList.length - gapLength + i].path,\r\n\t\t\t\t\t\t\t// name: _this.fileList[_this.fileList.length - gapLength + i].name,\r\n\t\t\t\t\t\t\tname: \"file\",\r\n\t\t\t\t\t\t\tformData: formdata,\r\n\t\t\t\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\t\t\t\t// console.log(\"--\", _this.attachmentsFile, uploadFileRes)\r\n\t\t\t\t\t\t\t\t_this.attachmentsFile.push(JSON.parse(uploadFileRes.data))\r\n\t\t\t\t\t\t\t\tif (_this.attachmentsFile.length == _this.fileList.length) {\r\n\t\t\t\t\t\t\t\t\t// _this.uploadInfos();\r\n\t\t\t\t\t\t\t\t\tresolve()\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tcomplete: (res) => {\r\n\r\n\t\t\t\t\t\t\t\t// console.log('res...123', res)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t},\r\n\r\n\t\t\topenLink(e) {\r\n\t\t\t\tvar _this = this\r\n\t\t\t\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '努力加载中~',\r\n\t\t\t\t\tmask: true\r\n\t\t\t\t})\r\n\t\t\t\r\n\t\t\t\tthis.$u.api.getImgUrl({\r\n\t\t\t\t\tbucket: e.bucket,\r\n\t\t\t\t\tfilePath: e.object\r\n\t\t\t\t}).then(data => {\r\n\t\t\t\t\tconsole.log(\"data...\", data)\r\n\t\t\t\t\tif (e.mime_type.indexOf(\"image\") != -1) {\r\n\t\t\t\t\t\t_this.openImage(data.url)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.downloadFile({\r\n\t\t\t\t\t\t\turl: data.url,\r\n\t\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\t\tvar filePath = res.tempFilePath;\r\n\t\t\t\t\t\t\t\tuni.openDocument({\r\n\t\t\t\t\t\t\t\t\tfilePath: filePath,\r\n\t\t\t\t\t\t\t\t\tshowMenu: true,\r\n\t\t\t\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\t\t\t\tconsole.log('打开文档成功');\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\tcomplete: function() {\r\n\t\t\t\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topenImage(imgPath) {\r\n\t\t\t\tlet array = new Array(1).fill(imgPath);\r\n\t\t\t\tuni.previewImage({\r\n\t\t\t\t\turls: array,\r\n\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\tconsole.log('openImage success');\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail(res) {\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\tconsole.log('openImage fail:', res);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tshowToast(res) {\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: res,\r\n\t\t\t\t\ticon: \"none\"\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tclickCentralize() {\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\tpage {\r\n\t\tbackground-color: #FAFAFB;\r\n\t}\r\n</style>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.page {\r\n\r\n\t\t.bczl {\r\n\r\n\t\t\t.t {\r\n\t\t\t\tfont-size: 16px;\r\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #121212;\r\n\t\t\t}\r\n\r\n\t\t\t.t1 {\r\n\t\t\t\tfont-size: 12px;\r\n\t\t\t\tfont-family: PingFangSC-Light, PingFang SC;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\t\t\t}\r\n\r\n\t\t\t.box {\r\n\t\t\t\tborder-bottom: 1rpx solid #E5E5E6;\r\n\t\t\t}\r\n\r\n\t\t\t.add_info {\r\n\t\t\t\tmargin-top: 15px;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 88px;\r\n\t\t\t\tbackground-color: #fff;\r\n\t\t\t\tfont-size: 34rpx;\r\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.9);\r\n\t\t\t\tline-height: 88px;\r\n\t\t\t\ttext-align: -webkit-center;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t\r\n\t\t.delete {\r\n\t\t\twidth: 40rpx;\r\n\t\t\theight: 40rpx;\r\n\t\t\tpadding: 16rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: -10rpx;\r\n\t\t\tright: -16rpx;\r\n\t\t\tz-index: 99;\r\n\t\t}\r\n\t\t\r\n\t\t.pdffj {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\r\n\t\t\t.img {\r\n\t\t\t\twidth: 24rpx;\r\n\t\t\t\theight: 24rpx;\r\n\t\t\t\tmargin-right: 10rpx;\r\n\t\t\t}\r\n\t\t\r\n\t\t\t.look {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\twhite-space: normal;\r\n\t\t\t\tword-break: break-all;\r\n\t\t\t\tword-wrap: break-word;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: var(--primary-color);\r\n\t\t\t\tmargin-left: 8rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.botBtnV_centralize {\r\n\t\t\tposition: fixed;\r\n\t\t\tbottom: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tright: 0;\r\n\t\t\tpadding: 24rpx 32rpx;\r\n\t\t\theight: 144rpx;\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t\tz-index: 999;\r\n\r\n\t\t\t.botBtn {\r\n\t\t\t\theight: 48px;\r\n\t\t\t\tbackground: linear-gradient(180deg, var(--primary-color000) 0%, var(--primary-color) 100%);\r\n\t\t\t\tborder-radius: 24px;\r\n\t\t\t\tfont-size: 17px;\r\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tline-height: 48px;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin-left: 0px;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t.success {\r\n\t\t\t.content {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\t\r\n\t\t\t\t.img {\r\n\t\t\t\t\tmargin-top: 174rpx;\r\n\t\t\t\t\twidth: 228px;\r\n\t\t\t\t\theight: 131px;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t.t1 {\r\n\t\t\t\t\tmargin-top: 60rpx;\r\n\t\t\t\t\tfont-size: 20px;\r\n\t\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #000000;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t.t2 {\r\n\t\t\t\t\tmargin-top: 20rpx;\r\n\t\t\t\t\tfont-size: 13px;\r\n\t\t\t\t\tfont-family: PingFangSC-Light, PingFang SC;\r\n\t\t\t\t\tfont-weight: 300;\r\n\t\t\t\t\tcolor: rgba(0,0,0,0.65);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1700461796531\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n ","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=style&index=1&id=7140284a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./achievemen-share.vue?vue&type=style&index=1&id=7140284a&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1700461803273\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}