uni-swipe-action.js.map
5.9 KB
{"version":3,"sources":["webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?aeed","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?b93e","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?c968","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?1119","uni-app:///components/uni-swipe-action/uni-swipe-action.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;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;AAA0mB,CAAgB,ooBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACO9nB;;;;;AAKA;AACA,MADA,kBACA;AACA;AACA,GAHA;AAIA,SAJA,qBAIA;AACA;AACA,uBADA;;AAGA,GARA;AASA,SATA,qBASA;AACA;AACA,GAXA;AAYA;AACA,cADA,sBACA,EADA,EACA;AACA;AACA;AACA;AACA;;;;;;;AAOA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;;;;AAIA,OAtBA;AAuBA,KA1BA,EAZA,E","file":"components/uni-swipe-action/uni-swipe-action.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-swipe-action.vue?vue&type=template&id=919f0c78&\"\nvar renderjs\nimport script from \"./uni-swipe-action.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-swipe-action.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\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 = \"components/uni-swipe-action/uni-swipe-action.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-swipe-action.vue?vue&type=template&id=919f0c78&\"","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 \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-swipe-action.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-swipe-action.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<slot></slot>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * SwipeAction 滑动操作\r\n\t * @description 通过滑动触发选项的容器\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=181\r\n\t */\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {};\r\n\t\t},\r\n\t\tprovide() {\r\n\t\t\treturn {\r\n\t\t\t\tswipeaction: this\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.children = []\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tcloseOther(vm) {\r\n\t\t\t\tlet children = this.children\r\n\t\t\t\tchildren.forEach((item, index) => {\r\n\t\t\t\t\tif (vm === item) return\r\n\t\t\t\t\t// 支付宝执行以下操作\r\n\t\t\t\t\t// #ifdef MP-ALIPAY\r\n\t\t\t\t\tif (item.isopen) {\r\n\t\t\t\t\t\titem.close()\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// #endif\r\n\r\n\t\t\t\t\t// app vue 端、h5 、微信、支付宝 执行以下操作\r\n\t\t\t\t\t// #ifdef APP-VUE || H5 || MP-WEIXIN\r\n\t\t\t\t\tlet position = item.position[0]\r\n\t\t\t\t\tlet show = position.show\r\n\t\t\t\t\tif (show) {\r\n\t\t\t\t\t\tposition.show = false\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// #endif\r\n\r\n\t\t\t\t\t// nvue 执行以下操作\r\n\t\t\t\t\t// #ifdef APP-NVUE || MP-BAIDU || MP-QQ || MP-TOUTIAO\r\n\t\t\t\t\titem.close()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n"],"sourceRoot":""}