gouwuche.js.map
12.7 KB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/gouwuche.vue?4507","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/gouwuche.vue?1c0d","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/gouwuche.vue?6e5e","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/gouwuche.vue?0913","uni-app:///pages/denglu/gouwuche.vue","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/gouwuche.vue?2e22","webpack:///C:/Users/15121/Desktop/lianxi/pages/denglu/gouwuche.vue?6783"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,oG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AACuL;AACvL,gBAAgB,2LAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;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;AAAysB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6B7tB;AACA,MADA,kBACA;AACA;AACA,2BADA,EACA;AACA;AACA,qBADA;AAEA,mBAFA;AAGA,aAHA;AAIA,qBAJA;AAKA;AACA,qBADA;AAEA,mBAFA;AAGA,aAHA;AAIA,qBAJA,EALA,CAFA;;;AAcA,GAhBA;AAiBA;AACA,OADA,iBACA;AACA;AACA;AACA,KAJA,EAjBA;;AAuBA;AACA;AACA,gBADA;AAEA,qBAFA;AAGA;AACA;AACA;AACA,yBADA;AAEA,2BAFA;AAGA,qBAHA;;AAKA,SANA;AAOA;AACA,OAZA,EADA,EAvBA;;;;;AAyCA;AACA;AACA,YAFA,sBAEA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;;AAEA,KAZA;AAaA;AACA,QAdA,kBAcA;AACA;AACA,KAhBA;AAiBA;AACA,SAlBA,iBAkBA,IAlBA,EAkBA,KAlBA,EAkBA;AACA;AACA,KApBA,EAzCA,E;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAAo0C,CAAgB,+tCAAG,EAAC,C;;;;;;;;;;;ACAx1C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/denglu/gouwuche.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/denglu/gouwuche.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./gouwuche.vue?vue&type=template&id=4a6f2790&\"\nvar renderjs\nimport script from \"./gouwuche.vue?vue&type=script&lang=js&\"\nexport * from \"./gouwuche.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gouwuche.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Program Files/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 = \"pages/denglu/gouwuche.vue\"\nexport default component.exports","export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./gouwuche.vue?vue&type=template&id=4a6f2790&\"","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 \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./gouwuche.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./gouwuche.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"mianbox\">\r\n\t\t\t<view class=\"delete\" @click=\"omit()\">删除列表</view>\r\n\t\t\t<view class=\"goodslist\" v-for=\"(item,index) in list\" :key=\"item.id\">\r\n\t\t\t\t<view class=\"ll\" @click=\"check(item,index)\">\r\n\t\t\t\t\t<image src=\"../../static/2.png\" mode=\"\" v-if=\"item.status\"></image>\r\n\t\t\t\t\t<image src=\"../../static/3.png\" mode=\"\" v-else></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<image src=\"../../static/logo.png\" mode=\"\"></image>\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t<view class=\"top\">{{item.name}}</view>\r\n\t\t\t\t\t<view class=\"bot\">{{item.price}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 全选 -->\r\n\t\t\t<view class=\"allselect\">\r\n\t\t\t\t<view class=\"gg\" @click=\"allcheck()\">\r\n\t\t\t\t\t<image src=\"../../static/2.png\" mode=\"\" v-if=\"allcheckstatus\"></image>\r\n\t\t\t\t\t<image src=\"../../static/3.png\" mode=\"\" v-else></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"all\">全选</view>\r\n\t\t\t\t<view class=\"allprice\">价格:¥{{all}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tallcheckstatus: false, //全选\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\tname: '华为P40',\r\n\t\t\t\t\tprice:1999,\r\n\t\t\t\t\tid: 1,\r\n\t\t\t\t\tstatus: false\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '华为P40',\r\n\t\t\t\t\tprice:2000,\r\n\t\t\t\t\tid: 2,\r\n\t\t\t\t\tstatus: false\r\n\t\t\t\t}]\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tall() {\r\n\t\t\t\tlet arr = this.list.filter(it => it.status);\r\n\t\t\t\treturn arr.reduce((acc, it) => (acc += it.price), 0)\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tlist: {\r\n\t\t\t\tdeep: true,\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler: function(newVal, oldVal) {\r\n\t\t\t\t\tlet arr = this.list.map(it => {\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tname: it.name,\r\n\t\t\t\t\t\t\tprice: it.price,\r\n\t\t\t\t\t\t\tid: it.id,\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\tthis.array = arr\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//全选\r\n\t\t\tallcheck() {\r\n\t\t\t\tlet arr = this.list.filter(it => it.status);\r\n\t\t\t\tif (arr.length != this.list.length) {\r\n\t\t\t\t\tthis.allcheckstatus = false\r\n\t\t\t\t\tthis.list.forEach(it => it.status = true)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.allcheckstatus = false\r\n\t\t\t\t\tthis.list.forEach(it => it.status = false)\r\n\t\t\t\t}\r\n\r\n\t\t\t},\r\n\t\t\t//删除\r\n\t\t\tomit() {\r\n\t\t\t\tthis.list = ''\r\n\t\t\t},\r\n\t\t\t//单选选中\r\n\t\t\tcheck(item, index) {\r\n\t\t\t\tthis.list[index].status = !this.list[index].status\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground: #f6f6f6;\r\n\t}\r\n\r\n\t.mainbox {\r\n\t\tmargin: 0 32rpx;\r\n\r\n\t}\r\n\r\n\t.delete {\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: 400;\r\n\t\tmargin-top: 32rpx;\r\n\t\tmargin-left: 32rpx;\r\n\t}\r\n\r\n\t.goodslist {\r\n\t\tdisplay: flex;\r\n\t\t// justify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tbackground: white;\r\n\t\tborder-radius: 15rpx;\r\n\t\tmargin: 32rpx;\r\n\r\n\t\t.ll {\r\n\t\t\timage {\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t\twidth: 32rpx;\r\n\t\t\t\tmargin-right: 64rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\timage {\r\n\t\t\twidth: 260rpx;\r\n\t\t\theight: 300rpx;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tmargin: 16rpx;\r\n\t\t\tmargin-right: 32rpx;\r\n\t\t}\r\n\r\n\t\t.left {\r\n\t\t\t.top {\r\n\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t\tcolor: black;\r\n\t\t\t\tmargin-top: 16rpx;\r\n\t\t\t\tmargin-bottom: 220rpx;\r\n\r\n\t\t\t}\r\n\r\n\t\t\t.bot {\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: orange;\r\n\t\t\t\tfont-weight: 700;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t.allselect {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin: 32rpx;\r\n\t\theight: 88rpx;\r\n\t\twidth: 100%;\r\n\r\n\t\t.gg {\r\n\t\t\talign-items: center;\r\n\r\n\t\t\timage {\r\n\t\t\t\theight: 32rpx;\r\n\t\t\t\twidth: 32rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.all {\r\n\t\t\tmargin-left: 12rpx;\r\n\t\t\tmargin-right: 12rpx;\r\n\t\t}\r\n\r\n\t\t.allprice {\r\n\t\t\tmargin-left: 12rpx;\r\n\t\t\tmargin-right: 12rpx;\r\n\t\t\ttext-align: right;\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./gouwuche.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./gouwuche.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1667894258148\n var cssReload = require(\"C:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}