luban-mall/unpackage/dist/dev/.sourcemap/mp-weixin/components/enter-cart/enter-cart.js.map

1 line
9.9 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/鲁班家具小程序/luban-mall/components/enter-cart/enter-cart.vue?7f3a","webpack:///D:/鲁班家具小程序/luban-mall/components/enter-cart/enter-cart.vue?cbb2","webpack:///D:/鲁班家具小程序/luban-mall/components/enter-cart/enter-cart.vue?4d65","webpack:///D:/鲁班家具小程序/luban-mall/components/enter-cart/enter-cart.vue?5d13","uni-app:///components/enter-cart/enter-cart.vue","webpack:///D:/鲁班家具小程序/luban-mall/components/enter-cart/enter-cart.vue?ce58","webpack:///D:/鲁班家具小程序/luban-mall/components/enter-cart/enter-cart.vue?e309"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACqC;;;AAG9F;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;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;AAA4rB,CAAgB,0rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACehtB;AACA,gD,4hCAAA;eACA;AACA,oBADA;AAEA;AACA;AACA,kBADA;AAEA,iBAFA,EADA;;AAKA;AACA,kBADA;AAEA,kBAFA,EALA;;AASA;AACA,kBADA;AAEA,mBAFA,EATA,EAFA;;;AAgBA,MAhBA,kBAgBA;AACA;AACA,eADA;AAEA,eAFA;;AAIA,GArBA;AAsBA;AACA;AACA,oEADA,GADA,CAtBA;;;AA2BA;AACA,UADA,oBACA;AACA;AACA;AACA;AACA,kCADA;;AAGA;AACA,KARA,EA3BA,E;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAygC,CAAgB,m+BAAG,EAAC,C;;;;;;;;;;;ACA7hC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/enter-cart/enter-cart.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./enter-cart.vue?vue&type=template&id=0dd248a4&scoped=true&\"\nvar renderjs\nimport script from \"./enter-cart.vue?vue&type=script&lang=js&\"\nexport * from \"./enter-cart.vue?vue&type=script&lang=js&\"\nimport style0 from \"./enter-cart.vue?vue&type=style&index=0&id=0dd248a4&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX-app开发版/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 \"0dd248a4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/enter-cart/enter-cart.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enter-cart.vue?vue&type=template&id=0dd248a4&scoped=true&\"","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 \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enter-cart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enter-cart.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<movable-area class=\"movable-area\">\r\n\t\t\t<movable-view class=\"cart-btn-bg\" :style=\"{right:right+'rpx',bottom:bottom+'rpx',left:x,top:y}\" direction=\"all\">\r\n\t\t\t\t<view class=\"cart-btn flex\" @tap=\"toCart\">\r\n\t\t\t\t\t<image src=\"/static/public/icon-cart.png\" mode=\"widthFix\" lazy-load></image>\r\n\t\t\t\t\t<view class=\"cart-total flex\" v-if=\"cartNum*1 !== 0 && cartNum*1 < 99\">{{cartNum}}</view>\r\n\t\t\t\t\t<view class=\"cart-total flex\" v-if=\"cartNum*1 >= 99\">99</view>\r\n\t\t\t\t</view>\r\n\t\t\t</movable-view>\r\n\t\t</movable-area>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {getCartNum} from '@/jsFile/public-api.js';\r\n\timport {mapState} from 'vuex'//引入mapState\r\n\texport default {\r\n\t\tname:\"enter-cart\",\r\n\t\tprops:{\r\n\t\t\tright:{//距离右边多宽\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:28\r\n\t\t\t},\r\n\t\t\tbottom:{//距离底部多高\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:185\r\n\t\t\t},\r\n\t\t\ttotal:{//购物车数量\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:1250\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tx: 'auto',\r\n\t\t\t\ty: 'auto'\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t...mapState({\r\n\t\t\t\tcartNum: state=> state.moduleA.cartNum\r\n\t\t\t}),\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\ttoCart(){\r\n\t\t\t\tif(this.$toolAll.tools.judgeAuth()) {\r\n\t\t\t\t\t// 已授权\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl:`/pagesA/cart/cart`\r\n\t\t\t\t\t})\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 scoped>\r\n.movable-area{\r\n\twidth: 0;\r\n\theight: 0;\r\n}\r\n.cart-btn-bg{\r\n\twidth: 120rpx;\r\n\theight: 120rpx;\r\n\tborder-radius: 30rpx;\r\n\tbackground-color: #0073bc;\r\n\tposition: fixed;\r\n}\r\n.cart-btn{\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tposition: relative;\r\n}\r\n.cart-btn image{\r\n\twidth: 62rpx;\r\n\theight: 62rpx;\r\n}\r\n.cart-total{\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\twidth: 36rpx;\r\n\theight: 36rpx;\r\n\tborder-radius: 100%;\r\n\tbackground-color: #FFFFFF;\r\n\tfont-size: 24rpx;\r\n\tcolor: #068add;\r\n\tposition: absolute;\r\n\ttop: 20rpx;\r\n\tright: 12rpx;\r\n}\r\n@keyframes scale_name{\r\n\tfrom{transform: scale(.9);}\r\n\tto{transform: scale(1);}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enter-cart.vue?vue&type=style&index=0&id=0dd248a4&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enter-cart.vue?vue&type=style&index=0&id=0dd248a4&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1658125845437\n var cssReload = require(\"D:/HBuilderX-app开发版/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":""}