Files
supplier-dispatch-h5/node_modules/.cache/babel-loader/731db56774c9b6cb06d693519b63d67c94c2a6e3b3fdbcf89155a9d0c5f01217.json
2023-08-11 10:45:20 +08:00

1 line
2.3 KiB
JSON

{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\nexport const myMixins = {\n data() {\n return {\n touchStart: [],\n touchEnd: []\n };\n },\n methods: {\n goPage(page, query) {\n this.$router.push({\n name: page,\n query: query\n });\n },\n touchstartHandle(e) {\n let sx = e.touches[0].pageX;\n let sy = e.touches[0].pageY;\n this.touchStart = [sx, sy];\n console.log('e', e);\n },\n touchendHandle(e) {\n console.log('end', e);\n },\n touchmoveHandle(e) {\n console.log('move', e);\n }\n }\n};","map":{"version":3,"names":["myMixins","data","touchStart","touchEnd","methods","goPage","page","query","$router","push","name","touchstartHandle","e","sx","touches","pageX","sy","pageY","console","log","touchendHandle","touchmoveHandle"],"sources":["E:/work/sino/sino-h5/src/utils/myMixins.js"],"sourcesContent":["export const myMixins = {\r\n data() {\r\n return {\r\n touchStart: [],\r\n touchEnd: [],\r\n }\r\n },\r\n methods: {\r\n goPage(page, query) {\r\n this.$router.push({\r\n name: page,\r\n query: query\r\n })\r\n },\r\n touchstartHandle(e) {\r\n let sx = e.touches[0].pageX\r\n let sy = e.touches[0].pageY\r\n this.touchStart = [sx, sy]\r\n console.log('e', e)\r\n },\r\n touchendHandle(e) {\r\n console.log('end', e)\r\n },\r\n touchmoveHandle(e) {\r\n console.log('move', e)\r\n }\r\n }\r\n}\r\n"],"mappings":";AAAA,OAAO,MAAMA,QAAQ,GAAG;EACtBC,IAAIA,CAAA,EAAG;IACL,OAAO;MACLC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAE;IACZ,CAAC;EACH,CAAC;EACDC,OAAO,EAAE;IACPC,MAAMA,CAACC,IAAI,EAAEC,KAAK,EAAE;MAClB,IAAI,CAACC,OAAO,CAACC,IAAI,CAAC;QAChBC,IAAI,EAAEJ,IAAI;QACVC,KAAK,EAAEA;MACT,CAAC,CAAC;IACJ,CAAC;IACDI,gBAAgBA,CAACC,CAAC,EAAE;MAClB,IAAIC,EAAE,GAAGD,CAAC,CAACE,OAAO,CAAC,CAAC,CAAC,CAACC,KAAK;MAC3B,IAAIC,EAAE,GAAGJ,CAAC,CAACE,OAAO,CAAC,CAAC,CAAC,CAACG,KAAK;MAC3B,IAAI,CAACf,UAAU,GAAG,CAACW,EAAE,EAAEG,EAAE,CAAC;MAC1BE,OAAO,CAACC,GAAG,CAAC,GAAG,EAAEP,CAAC,CAAC;IACrB,CAAC;IACDQ,cAAcA,CAACR,CAAC,EAAE;MAChBM,OAAO,CAACC,GAAG,CAAC,KAAK,EAAEP,CAAC,CAAC;IACvB,CAAC;IACDS,eAAeA,CAACT,CAAC,EAAE;MACjBM,OAAO,CAACC,GAAG,CAAC,MAAM,EAAEP,CAAC,CAAC;IACxB;EACF;AACF,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}