collectshop.js.map
12.1 KB
{"version":3,"sources":["webpack:///G:/项目/program/zhongmianprogram/main.js","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue?610f","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue?670e","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue?2838","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue?fb3b","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue?a03c","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/collectshop.vue?d0b7"],"names":["createPage","Page","components","uniSection","uniSwipeAction","uniSwipeActionItem","data","swipeList","id","options","text","style","backgroundColor","content","onReady","$nextTick","isOpened","methods","bindClick","e","uni","showToast","title","icon","setOpened","change","console","log","swipeChange","swipeClick","index"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,2G;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0F;AAC3B;AACL;AACa;;;AAGvE;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACvCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAusB,CAAgB,wtBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0D5sB;AACdC,YAAU,EAAE;AACXC,cAAU,EAAVA,UADW;AAEXC,kBAAc,EAAdA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ACA;AACA;AACA;AACA;AACA;AACA;AACCa,aAAO,CAACC,GAAR,CAAY,WAAZ;AACAP,SAAG,CAACC,SAAJ,CAAc;AACbC,aAAK,8BAAQH,CAAC,CAACN,OAAF,CAAUH,IAAlB,iBADQ;AAEba,YAAI,EAAE,MAFO,EAAd;;;;AAMD,KAzEO,EA3BK,E;;;;;;;;;;;;;AC1Df;AAAA;AAAA;AAAA;AAA46B,CAAgB,y6BAAG,EAAC,C;;;;;;;;;;;ACAh8B,uC","file":"pages/homepage/collectshop.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/homepage/collectshop.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./collectshop.vue?vue&type=template&id=796050f1&\"\nimport script from \"./collectshop.vue?vue&type=script&lang=js&\"\nexport * from \"./collectshop.vue?vue&type=script&lang=js&\"\nimport style0 from \"./collectshop.vue?vue&type=style&index=0&lang=css&\"\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('796050f1', component.options)\n } else {\n api.reload('796050f1', component.options)\n }\n module.hot.accept(\"./collectshop.vue?vue&type=template&id=796050f1&\", function () {\n api.rerender('796050f1', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/zhongmianprogram/pages/homepage/collectshop.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!./collectshop.vue?vue&type=template&id=796050f1&\"","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!./collectshop.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!./collectshop.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport uniSection from '@/components/uni-section/uni-section.vue'\nimport uniSwipeAction from '@/components/uni-swipe-action/uni-swipe-action.vue'\nimport uniSwipeActionItem from '@/components/uni-swipe-action-item/uni-swipe-action-item.vue'\nexport default {\n\tcomponents: {\n\t\tuniSection,\n\t\tuniSwipeAction,\n\t\tuniSwipeActionItem\n\t},\n\tdata() {\n\t\treturn {\n\n\t\t\tswipeList: [{\n\t\t\t\tid: 1,\n\t\t\t\toptions: [{\n\t\t\t\t\ttext: '取消收藏',\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tbackgroundColor: '#DAD7DB'\n\t\t\t\t\t}\n\t\t\t\t}],\n\t\t\t\tcontent: 'item2'\n\t\t\t}, ]\n\n\t\t}\n\t},\n\tonReady() {\n\t\tthis.$nextTick(() => {\n\t\t\tthis.isOpened = true\n\t\t})\n\t},\n\tmethods: {\n\t\tbindClick(e) {\n\t\t\tuni.showToast({\n\t\t\t\ttitle: `点击了${e.content.text}按钮`,\n\t\t\t\ticon: 'none'\n\t\t\t})\n\t\t},\n\t\tsetOpened() {\n\t\t\tthis.isOpened = !this.isOpened\n\t\t},\n\t\tchange(e) {\n\t\t\tthis.isOpened = e\n\t\t\tconsole.log('返回:', e);\n\t\t},\n\t\tswipeChange(e) {\n\t\t\tconsole.log('返回:', e);\n\t\t},\n\t\tswipeClick(e, index) {\n\t\t\tconsole.log(e)\n\t\t\t\n\t\t\tlet {\n\t\t\t\tcontent\n\t\t\t} = e\n\t\t\t// if (content.text === '删除') {\n\t\t\t// \tuni.showModal({\n\t\t\t// \t\ttitle: '提示',\n\t\t\t// \t\tcontent: '是否删除',\n\t\t\t// \t\tsuccess: (res) => {\n\t\t\t// \t\t\tif (res.confirm) {\n\t\t\t// \t\t\t\t// console.log('88888')\n\t\t\t// \t\t\t\tthis.swipeList.splice(index, 1)\n\t\t\t// \t\t\t} else if (res.cancel) {\n\t\t\t// \t\t\t\tconsole.log('用户点击取消');\n\t\t\t// \t\t\t}\n\t\t\t// \t\t}\n\t\t\t// \t});\n\t\t\t// } else if (content.text === '添加') {\n\t\t\t// \tif (this.swipeList.length < 10) {\n\t\t\t// \t\tthis.swipeList.push({\n\t\t\t// \t\t\tid: new Date().getTime(),\n\t\t\t// \t\t\toptions: [{\n\t\t\t// \t\t\t\ttext: '置顶'\n\t\t\t// \t\t\t}, {\n\t\t\t// \t\t\t\ttext: '标记为已读',\n\t\t\t// \t\t\t\tstyle: {\n\t\t\t// \t\t\t\t\tbackgroundColor: 'rgb(254,156,1)'\n\t\t\t// \t\t\t\t}\n\t\t\t// \t\t\t}, {\n\t\t\t// \t\t\t\ttext: '删除',\n\t\t\t// \t\t\t\tstyle: {\n\t\t\t// \t\t\t\t\tbackgroundColor: 'rgb(255,58,49)'\n\t\t\t// \t\t\t\t}\n\t\t\t// \t\t\t}],\n\t\t\t// \t\t\tcontent: '新增'\n\t\t\t// \t\t})\n\t\t\t// \t\tuni.showToast({\n\t\t\t// \t\t\ttitle: `添加了一条数据`,\n\t\t\t// \t\t\ticon: 'none'\n\t\t\t// \t\t})\n\t\t\t// \t} else {\n\t\t\t// \t\tuni.showToast({\n\t\t\t// \t\t\ttitle: `最多添加十条数据`,\n\t\t\t// \t\t\ticon: 'none'\n\t\t\t// \t\t})\n\t\t\t// \t}\n\t\t\t// } \n\t\t\t\tconsole.log('777889789')\n\t\t\t\tuni.showToast({ \n\t\t\t\t\ttitle: `点击了${e.content.text}按钮`,\n\t\t\t\t\ticon: 'none'\n\t\t\t\t})\n\t\t\t\n\n\t\t}\n\t}\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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!./collectshop.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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!./collectshop.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}