uni-swipe-action.js.map 6.4 KB
{"version":3,"sources":["webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?b69d","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?2da3","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?736a","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue?49a2","webpack:///G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue"],"names":["data","provide","swipeaction","created","children","methods","closeOther","vm","forEach","item","index","position","show"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+F;AAC3B;AACL;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAA4sB,CAAgB,6tBAAG,EAAC,C;;;;;;;;;;;;wFCAhuB;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;AAKe;AACdA,MADc,kBACP;AACN,WAAO,EAAP;AACA,GAHa;AAIdC,SAJc,qBAIJ;AACT,WAAO;AACNC,iBAAW,EAAE,IADP,EAAP;;AAGA,GARa;AASdC,SATc,qBASJ;AACT,SAAKC,QAAL,GAAgB,EAAhB;AACA,GAXa;AAYdC,SAAO,EAAE;AACRC,cADQ,sBACGC,EADH,EACO;AACd,UAAIH,QAAQ,GAAG,KAAKA,QAApB;AACAA,cAAQ,CAACI,OAAT,CAAiB,UAACC,IAAD,EAAOC,KAAP,EAAiB;AACjC,YAAIH,EAAE,KAAKE,IAAX,EAAiB;AACjB;;;;;;;AAOA;;AAEA,YAAIE,QAAQ,GAAGF,IAAI,CAACE,QAAL,CAAc,CAAd,CAAf;AACA,YAAIC,IAAI,GAAGD,QAAQ,CAACC,IAApB;AACA,YAAIA,IAAJ,EAAU;AACTD,kBAAQ,CAACC,IAAT,GAAgB,KAAhB;AACA;;;AAGD;;;;AAIA,OAtBD;AAuBA,KA1BO,EAZK,E","file":"components/uni-swipe-action/uni-swipe-action.js","sourcesContent":["import { render, staticRenderFns } from \"./uni-swipe-action.vue?vue&type=template&id=154d837d&\"\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\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (module.hot) {\n  var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!module.hot.data) {\n      api.createRecord('154d837d', component.options)\n    } else {\n      api.reload('154d837d', component.options)\n    }\n    module.hot.accept(\"./uni-swipe-action.vue?vue&type=template&id=154d837d&\", function () {\n      api.rerender('154d837d', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"G:/项目/program/zhongmianprogram/components/uni-swipe-action/uni-swipe-action.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\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\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-swipe-action.vue?vue&type=template&id=154d837d&\"","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","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\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!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\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-swipe-action.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n\n/**\n * SwipeAction 滑动操作\n * @description 通过滑动触发选项的容器\n * @tutorial https://ext.dcloud.net.cn/plugin?id=181\n */\nexport default {\n\tdata() {\n\t\treturn {};\n\t},\n\tprovide() {\n\t\treturn {\n\t\t\tswipeaction: this\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.children = []\n\t},\n\tmethods: {\n\t\tcloseOther(vm) {\n\t\t\tlet children = this.children\n\t\t\tchildren.forEach((item, index) => {\n\t\t\t\tif (vm === item) return\n\t\t\t\t// 支付宝执行以下操作\n\n\n\n\n\n\n\t\t\t\t// app vue 端、h5 、微信、支付宝  执行以下操作\n\n\t\t\t\tlet position = item.position[0]\n\t\t\t\tlet show = position.show\n\t\t\t\tif (show) {\n\t\t\t\t\tposition.show = false\n\t\t\t\t}\n\n\n\t\t\t\t// nvue 执行以下操作\n\n\n\n\t\t\t})\n\t\t}\n\t}\n}\n"],"sourceRoot":""}