Blame view
unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-drawer/uni-drawer.js.map
11.4 KB
c41ff77d3 首页页面搭建 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
{"version":3,"sources":["webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue?175e","webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue?ab7b","webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue?625a","webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue?32a4","webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue","webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue?53a5","webpack:///C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue?e538"],"names":["name","props","mode","type","String","default","mask","Boolean","maskClick","width","Number","data","visibleSync","showDrawer","rightMode","watchTimer","drawerWidth","created","methods","clear","close","_change","open","param1","param2","status","clearTimeout","setTimeout","$emit"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,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AmB,CAAC,KAAKK,SAA1B,IAAwC,CAAC,KAAKI,WAAjD,EAA8D;AAC9D,WAAKS,OAAL,CAAa,YAAb,EAA2B,aAA3B,EAA0C,KAA1C;AACA,KANO;AAORC,QAPQ,kBAOD;AACN;AACA,UAAG,KAAKV,WAAR,EAAqB;AACrB,WAAKS,OAAL,CAAa,aAAb,EAA4B,YAA5B,EAA0C,IAA1C;AACA,KAXO;AAYRA,WAZQ,mBAYAE,MAZA,EAYQC,MAZR,EAYgBC,MAZhB,EAYwB;AAC/B,WAAKF,MAAL,IAAeE,MAAf;AACA,UAAI,KAAKV,UAAT,EAAqB;AACpBW,oBAAY,CAAC,KAAKX,UAAN,CAAZ;AACA;AACD,WAAKA,UAAL,GAAkBY,UAAU,CAAC,YAAM;AAClC,aAAI,CAACH,MAAD,CAAJ,GAAeC,MAAf;AACA,aAAI,CAACG,KAAL,CAAW,QAAX,EAAoBH,MAApB;AACA,OAH2B,EAGzBA,MAAM,GAAG,EAAH,GAAQ,GAHW,CAA5B;AAIA,KArBO,EA/CK,E;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAA8nC,CAAgB,wmCAAG,EAAC,C;;;;;;;;;;;ACAlpC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/uni-drawer/uni-drawer.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-drawer.vue?vue&type=template&id=66ce0222&scoped=true&\" var renderjs import script from \"./uni-drawer.vue?vue&type=script&lang=js&\" export * from \"./uni-drawer.vue?vue&type=script&lang=js&\" import style0 from \"./uni-drawer.vue?vue&type=style&index=0&id=66ce0222&lang=scss&scoped=true&\" /* normalize component */ import normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\" var component = normalizer( script, render, staticRenderFns, false, null, \"66ce0222\", null, false, components, renderjs ) component.options.__file = \"C:/Users/Administrator/Desktop/gulu-vue/components/uni-drawer/uni-drawer.vue\" export default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-drawer.vue?vue&type=template&id=66ce0222&scoped=true&\"","var components var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h } var recyclableRender = false var staticRenderFns = [] render._withStripped = true export { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-drawer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-drawer.vue?vue&type=script&lang=js&\"","// // // // // // // // // /** * Drawer 抽屉 * @description 抽屉侧滑菜单 * @tutorial https://ext.dcloud.net.cn/plugin?id=26 * @property {Boolean} mask = [true | false] 是否显示遮罩 * @property {Boolean} maskClick = [true | false] 点击遮罩是否关闭 * @property {Boolean} mode = [left | right] Drawer 滑出位置 * \t@value left 从左侧滑出 * \t@value right 从右侧侧滑出 * @property {Number} width 抽屉的宽度 ,仅 vue 页面生效 * @event {Function} close 组件关闭时触发事件 */ export default { \tname: 'UniDrawer', \tprops: { \t\t/** \t\t * 显示模式(左、右),只在初始化生效 \t\t */ \t\tmode: { \t\t\ttype: String, \t\t\tdefault: '' \t\t}, \t\t/** \t\t * 蒙层显示状态 \t\t */ \t\tmask: { \t\t\ttype: Boolean, \t\t\tdefault: true \t\t}, \t\t/** \t\t * 遮罩是否可点击关闭 \t\t */ \t\tmaskClick:{ \t\t\ttype: Boolean, \t\t\tdefault: true \t\t}, \t\t/** \t\t * 抽屉宽度 \t\t */ \t\twidth: { \t\t\ttype: Number, \t\t\tdefault: 220 \t\t} \t}, \tdata() { \t\treturn { \t\t\tvisibleSync: false, \t\t\tshowDrawer: false, \t\t\trightMode: false, \t\t\twatchTimer: null, \t\t\tdrawerWidth: 220 \t\t} \t}, \tcreated() { \t\tthis.drawerWidth = this.width \t\tthis.rightMode = this.mode === 'right' \t}, \tmethods: { \t\tclear(){}, \t\tclose(type) { \t\t\t// fixed by mehaotian 抽屉尚未完全关闭或遮罩禁止点击时不触发以下逻辑 \t\t\tif((type === 'mask' && !this.maskClick) || !this.visibleSync) return \t\t\tthis._change('showDrawer', 'visibleSync', false) \t\t}, \t\topen() { \t\t\t// fixed by mehaotian 处理重复点击打开的事件 \t\t\tif(this.visibleSync) return \t\t\tthis._change('visibleSync', 'showDrawer', true) \t\t}, \t\t_change(param1, param2, status) { \t\t\tthis[param1] = status \t\t\tif (this.watchTimer) { \t\t\t\tclearTimeout(this.watchTimer) \t\t\t} \t\t\tthis.watchTimer = setTimeout(() => { \t\t\t\tthis[param2] = status \t\t\t\tthis.$emit('change',status) \t\t\t}, status ? 50 : 300) \t\t} \t} } ","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-drawer.vue?vue&type=style&index=0&id=66ce0222&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\ ode_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-drawer.vue?vue&type=style&index=0&id=66ce0222&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin if(module.hot) { // 1588056462478 var cssReload = require(\"D:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false}); module.hot.dispose(cssReload); module.hot.accept(undefined, cssReload); } "],"sourceRoot":""} |