You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
14 KiB
1 lines
14 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/项目2/Jinan_app/Jinan_app/pages/demo/demo.vue?21d2","webpack:///F:/项目2/Jinan_app/Jinan_app/pages/demo/demo.vue?a474","webpack:///F:/项目2/Jinan_app/Jinan_app/pages/demo/demo.vue?413f","webpack:///F:/项目2/Jinan_app/Jinan_app/pages/demo/demo.vue?c183","uni-app:///pages/demo/demo.vue","webpack:///F:/项目2/Jinan_app/Jinan_app/pages/demo/demo.vue?05eb","webpack:///F:/项目2/Jinan_app/Jinan_app/pages/demo/demo.vue?e567"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,yF,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiH;AACjH;AACwD;AACL;AACc;;;AAGjE;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,+EAAM;AACR,EAAE,wFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAguB,CAAgB,qvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBpvB;AACA,MADA,kBACA;AACA;AACA,yDADA;AAEA,mBAFA;AAGA,iBAHA;AAIA;AACA,mBADA;AAEA,gBAFA,EAJA;;AAQA,YARA;AASA;AACA,iBADA;AAEA,kBAFA;AAGA;AACA,uBADA,EAHA,EATA;;;AAgBA;AACA;AACA,oBAFA;AAGA;AACA,uBAJA;AAKA;AACA;AACA,kBADA;AAEA,uBAFA;AAGA,yBAHA;AAIA,mBAJA,EANA,EAhBA;;;AA6BA;AACA,wGADA;AAEA,sBAFA;AAGA,4BAHA;AAIA;AACA,wGADA;AAEA,sBAFA;AAGA,+BAHA,EAJA;AAQA;AACA,wGADA;AAEA,sBAFA;AAGA,4BAHA,EARA,CA7BA;;;;AA4CA,GA9CA;AA+CA,QA/CA,oBA+CA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAtDA;;AAwDA;AACA,eADA,yBACA;AACA;AACA;AACA,gBADA,EACA;AACA,4CAFA,EAEA;AACA,uCAHA,EAGA;AACA;AACA;AACA,SANA;;AAQA;AACA,KAZA;AAaA,OAbA,iBAaA;AACA;;AAEA,KAhBA;AAiBA,OAjBA,iBAiBA;AACA;AACA;AACA;AACA,OAHA;AAIA,KAtBA;AAuBA,UAvBA,kBAuBA,CAvBA,EAuBA;AACA;AACA,KAzBA;AA0BA;AACA,YA3BA,oBA2BA,CA3BA,EA2BA;AACA;AACA,KA7BA;;AA+BA;AACA,WAhCA,mBAgCA,CAhCA,EAgCA;AACA;AACA,KAlCA;;AAoCA;AACA,QArCA,gBAqCA,CArCA,EAqCA;AACA;AACA,KAvCA,EAxDA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAm3C,CAAgB,g1CAAG,EAAC,C;;;;;;;;;;;ACAv4C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/demo/demo.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/demo/demo.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./demo.vue?vue&type=template&id=eae40a34&\"\nvar renderjs\nimport script from \"./demo.vue?vue&type=script&lang=js&\"\nexport * from \"./demo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./demo.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX.3.4.7.20220422\\\\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/demo/demo.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./demo.vue?vue&type=template&id=eae40a34&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./demo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./demo.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"\">\r\n\t\t<image @click=\"chooseImage\" :src=\"age.imgShow\" class=\"toux\" mode=\"\"></image>\r\n\t\t<input v-model=\"age.text\" type=\"text\">\r\n\t\t<button @tap=\"aaa()\">aaa</button>\r\n\t\t<button @tap=\"bbb()\">bbb</button>\r\n\t\t<uni-section title=\"只选择图片\" type=\"line\">\r\n\t\t\t<view class=\"example-body\">\r\n\t\t\t\t<uni-file-picker limit=\"9\" title=\"最多选择9张图片\"></uni-file-picker>\r\n\t\t\t</view>\r\n\t\t</uni-section>\r\n\t\t<!-- <uni-file-picker v-model=\"age.imgShow\" fileMediatype=\"image\" mode=\"grid\" @select=\"select\" @progress=\"progress\"\r\n\t\t\t@success=\"success\" @fail=\"fail\" /> -->\r\n\t\t<image @click=\"chooseImage\" :src=\"api+fi\" class=\"toux\" mode=\"\"></image>\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\tapi: this.$config.api+\"/api/Objects/integration/\",\r\n\t\t\t\tisAuth: false,\r\n\t\t\t\timgShow: '',\r\n\t\t\t\tage: {\r\n\t\t\t\t\timgShow: '',\r\n\t\t\t\t\ttext: '',\r\n\t\t\t\t},\r\n\t\t\t\tfi:\"\",\r\n\t\t\t\timageStyles: {\r\n\t\t\t\t\twidth: 64,\r\n\t\t\t\t\theight: 64,\r\n\t\t\t\t\tborder: {\r\n\t\t\t\t\t\tradius: '50%'\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tlistStyles: {\r\n\t\t\t\t\t// 是否显示边框\r\n\t\t\t\t\tborder: true,\r\n\t\t\t\t\t// 是否显示分隔线\r\n\t\t\t\t\tdividline: true,\r\n\t\t\t\t\t// 线条样式\r\n\t\t\t\t\tborderStyle: {\r\n\t\t\t\t\t\twidth: 1,\r\n\t\t\t\t\t\tcolor: 'blue',\r\n\t\t\t\t\t\tstyle: 'dashed',\r\n\t\t\t\t\t\tradius: 2\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tfileLists: [{\r\n\t\t\t\t\turl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',\r\n\t\t\t\t\textname: 'png',\r\n\t\t\t\t\tname: 'shuijiao.png'\r\n\t\t\t\t}, {\r\n\t\t\t\t\turl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',\r\n\t\t\t\t\textname: 'png',\r\n\t\t\t\t\tname: 'uniapp-logo.png'\r\n\t\t\t\t}, {\r\n\t\t\t\t\turl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/b7c7f970-517d-11eb-97b7-0dc4655d6e68.jpg',\r\n\t\t\t\t\textname: 'png',\r\n\t\t\t\t\tname: 'shuijiao.png'\r\n\t\t\t\t}]\r\n\t\t\t\r\n\t\t}\r\n\t},\r\n\tonLoad() {\r\n\t\t\tconsole.log(this.api);\r\n\r\n\t\t\tif (uni.getStorageSync('aabb')) {\r\n\t\t\t\tthis.age = uni.getStorageSync('aabb')\r\n\t\t\t\tconsole.log(this.age);\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\tchooseImage() {\r\n\t\t\t\tvar _this = this\r\n\t\t\t\tuni.chooseImage({\r\n\t\t\t\t\tcount: 1, //默认9\r\n\t\t\t\t\tsizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有\r\n\t\t\t\t\tsourceType: ['album', 'camera'], //从相册选择、摄像头\r\n\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t_this.age.imgShow = res.tempFilePaths[0]\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t// ass()\r\n\t\t\t},\r\n\t\t\taaa() {\r\n\t\t\t\tuni.setStorageSync('aabb', this.age)\r\n\r\n\t\t\t},\r\n\t\t\tbbb() {\r\n\t\t\t\tthis.$request.uploadFile(this.age.imgShow, (data, res) => {\r\n\t\t\t\t\tconsole.log(data, res);\r\n\t\t\t\t\tthis.fi=res.objectName\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tselect(e) {\r\n\t\t\t\tconsole.log('选择文件:', e)\r\n\t\t\t},\r\n\t\t\t// 获取上传进度\r\n\t\t\tprogress(e) {\r\n\t\t\t\tconsole.log('上传进度:', e)\r\n\t\t\t},\r\n\r\n\t\t\t// 上传成功\r\n\t\t\tsuccess(e) {\r\n\t\t\t\tconsole.log('上传成功')\r\n\t\t\t},\r\n\r\n\t\t\t// 上传失败\r\n\t\t\tfail(e) {\r\n\t\t\t\tconsole.log('上传失败:', e)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.camera {\r\n\t\twidth: 430rpx;\r\n\t\theight: 430rpx;\r\n\t\tborder-radius: 50%;\r\n\t\tmargin: 20px auto 0;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.camera image {\r\n\t\tposition: absolute;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tz-index: 10;\r\n\t}\r\n\r\n\t.camera camera {\r\n\t\twidth: 428rpx;\r\n\t\theight: 428rpx;\r\n\t}\r\n\r\n\tbutton.takePhoto:not([size='mini']) {\r\n\t\tposition: fixed;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100vw;\r\n\t\theight: 90rpx;\r\n\t\tborder-radius: 0;\r\n\t}\r\n</style>\n","import mod from \"-!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./demo.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX.3.4.7.20220422\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./demo.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1662517375749\n var cssReload = require(\"D:/HBuilderX.3.4.7.20220422/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":""} |