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.
 
 
 
 
 
huazhiyu/unpackage/dist/dev/.sourcemap/mp-weixin/components/DialogBox/DialogBox.js.map

1 lines
14 KiB

{"version":3,"sources":["webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/DialogBox/DialogBox.vue?bb9d","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/DialogBox/DialogBox.vue?6049","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/DialogBox/DialogBox.vue?38d7","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/DialogBox/DialogBox.vue?d0b9","uni-app:///components/DialogBox/DialogBox.vue","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/DialogBox/DialogBox.vue?4400","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/DialogBox/DialogBox.vue?d998"],"names":["data","AClass","AnIndex","AnIdx","isShow","SetTime","value","resolve","reject","promise","options","title","content","placeholder","DialogType","animation","props","type","default","methods","confirm","show","hide","onClear","onCancel","isConfirm","onConfirm"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;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;AAAu0B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC2B31B;EACAA;IACA;MACAC,SACA,2BACA,8BACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACA;MACAC;MACAC;MACAC;MACA;MACAC;QACA;QACAC;QACA;QACAC;QACA;QACAC;QACA;QACAC;QACA;QACAC;MACA;IACA;EACA;EACAC;IACA;IACAL;MACAM;MACAC;IACA;IACA;IACAN;MACAK;MACAC;IACA;IACA;IACAL;MACAI;MACAC;IACA;IACA;IACAJ;MACAG;MACAC;IACA;IACA;IACAH;MACAE;MACAC;IACA;EACA;EACAC;IACA;IACAC;MAAA;MACA;MACA;MACA;QACA;QACAT;QACA;QACAC;QACA;QACAC;QACA;QACAC;QACA;QACAC;QACA;QACAT;MACA;MACA;MACA;QACA;QACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAe;MACA;IACA;IACA;AACA;AACA;IACAC;MAAA;MACA;MACA;QACA;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;MACA;QACAlB;QACAmB;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;MACA;QACApB;QACAmB;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;ACzJA;AAAA;AAAA;AAAA;AAA8jD,CAAgB,87CAAG,EAAC,C;;;;;;;;;;;ACAllD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/DialogBox/DialogBox.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./DialogBox.vue?vue&type=template&id=b59c45e8&scoped=true&\"\nvar renderjs\nimport script from \"./DialogBox.vue?vue&type=script&lang=js&\"\nexport * from \"./DialogBox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DialogBox.vue?vue&type=style&index=0&id=b59c45e8&scoped=true&lang=scss&\"\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 \"b59c45e8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/DialogBox/DialogBox.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--17-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!./DialogBox.vue?vue&type=template&id=b59c45e8&scoped=true&\"","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 \"-!../../../../../../../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--13-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!./DialogBox.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--13-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!./DialogBox.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page-total\" v-if=\"isShow\">\n\t\t<view class=\"box\" :class=\"AClass[AnIndex][AnIdx]\">\n\t\t\t<view class=\"dialog-box\">\n\t\t\t\t<view class=\"title\">{{options.title}}</view>\n\t\t\t\t<view class=\"content\" v-if=\"options.DialogType == 'input'\">\n\t\t\t\t\t<input type=\"text\" v-model=\"options.value\" :placeholder=\"options.placeholder\">\n\t\t\t\t\t<text class=\"iconfont icon-clear\" @click.stop=\"onClear\"></text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"inquiry\" v-else-if=\"options.DialogType == 'inquiry'\">\n\t\t\t\t\t<text>{{options.content}}</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"operation-btn\">\n\t\t\t\t\t<view class=\"btn\" @click=\"onCancel\">\n\t\t\t\t\t\t<text>取消</text>\n\t\t\t\t\t\t<text class=\"tag\"></text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"btn\" @click=\"onConfirm\">\n\t\t\t\t\t\t<text class=\"activity\">确定</text>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tAClass:[\n\t\t\t\t\t['a-fadein', 'a-fadeout'],\n\t\t\t\t\t['a-bouncein', 'a-bounceout'],\n\t\t\t\t],\n\t\t\t\tAnIndex: 0,\n\t\t\t\tAnIdx: 0,\n\t\t\t\tisShow: false,\n\t\t\t\tSetTime: null,\n\t\t\t\tvalue: '',\n\t\t\t\t// parmoise\n\t\t\t\tresolve: '',\n\t\t\t\treject: '',\n\t\t\t\tpromise: '',\n\t\t\t\t// 配置\n\t\t\t\toptions:{\n\t\t\t\t\t// 提示标题\n\t\t\t\t\ttitle: '提示',\n\t\t\t\t\t// 内容\n\t\t\t\t\tcontent: '',\n\t\t\t\t\t// 提示内容\n\t\t\t\t\tplaceholder: '请输入内容',\n\t\t\t\t\t// 提示框类型\n\t\t\t\t\tDialogType: 'input',\n\t\t\t\t\t// 动画类型\n\t\t\t\t\tanimation: 0,\n\t\t\t\t},\n\t\t\t};\n\t\t},\n\t\tprops:{\n\t\t\t// 提示标题\n\t\t\ttitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '提示',\n\t\t\t},\n\t\t\t// 内容\n\t\t\tcontent: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '',\n\t\t\t},\n\t\t\t// 提示内容\n\t\t\tplaceholder: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '请输入内容',\n\t\t\t},\n\t\t\t// 提示框类型\n\t\t\tDialogType: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'input'\n\t\t\t},\n\t\t\t// 动画类型\n\t\t\tanimation: {\n\t\t\t\ttype: Number,\n\t\t\t\tdefault: 0\n\t\t\t}\n\t\t},\n\t\tmethods:{\n\t\t\t// 询问框\n\t\t\tconfirm(options) {\n\t\t\t\tthis.AnIndex = options.animation||0;\n\t\t\t\tthis.AnIdx = options.animation||0;\n\t\t\t\tthis.options = {\n\t\t\t\t\t// 提示标题\n\t\t\t\t\ttitle: options.title||'提示',\n\t\t\t\t\t// 内容\n\t\t\t\t\tcontent: options.content||'',\n\t\t\t\t\t// 提示内容\n\t\t\t\t\tplaceholder: options.placeholder||'请输入内容',\n\t\t\t\t\t// 提示框类型\n\t\t\t\t\tDialogType: options.DialogType||'input',\n\t\t\t\t\t// 动画类型\n\t\t\t\t\tanimation: options.animation||0,\n\t\t\t\t\t// input输入的值\n\t\t\t\t\tvalue: options.value||'',\n\t\t\t\t};\n\t\t\t\tthis.show();\n\t\t\t\tthis.promise = new Promise((resolve, reject) => {\n\t\t\t\t\t\tthis.resolve = resolve;\n\t\t\t\t\t\tthis.reject = reject;\n\t\t\t\t});\n\t\t\t\treturn this.promise; //返回promise对象,给父级组件调用\n\t\t\t},\n\t\t\t/**\n\t\t\t * 显示\n\t\t\t */\n\t\t\tshow(callback){\n\t\t\t\tthis.isShow = true;\n\t\t\t},\n\t\t\t/**\n\t\t\t * 隐藏\n\t\t\t */\n\t\t\thide(){\n\t\t\t\tthis.AnIdx = 1;\n\t\t\t\tthis.SetTime = setTimeout(() => {\n\t\t\t\t\tthis.isShow = false;\n\t\t\t\t}, 300);\n\t\t\t},\n\t\t\t/**\n\t\t\t * 清除输入值\n\t\t\t */\n\t\t\tonClear(){\n\t\t\t\tthis.options.value = '';\n\t\t\t},\n\t\t\t/**\n\t\t\t * 取消点击\n\t\t\t */\n\t\t\tonCancel(){\n\t\t\t\tthis.hide();\n\t\t\t\tthis.reject({\n\t\t\t\t\tvalue: this.options.value,\n\t\t\t\t\tisConfirm: true,\n\t\t\t\t});\n\t\t\t},\n\t\t\t/**\n\t\t\t * 确定点击\n\t\t\t */\n\t\t\tonConfirm(){\n\t\t\t\tthis.hide();\n\t\t\t\tthis.resolve({\n\t\t\t\t\tvalue: this.options.value,\n\t\t\t\t\tisConfirm: true,\n\t\t\t\t});\n\t\t\t},\n\t\t},\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import 'DialogBox.scss'\n</style>\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/@dcloudio/vue-cli-plugin-uni/packages/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!./DialogBox.vue?vue&type=style&index=0&id=b59c45e8&scoped=true&lang=scss&\"; 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/@dcloudio/vue-cli-plugin-uni/packages/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!./DialogBox.vue?vue&type=style&index=0&id=b59c45e8&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1697873051166\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":""}