You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
huazhiyu/unpackage/dist/dev/.sourcemap/mp-weixin/pages/cart/cart.js.map

1 lines
15 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/cart/cart.vue?1aaa","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/cart/cart.vue?2799","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/cart/cart.vue?6b78","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/cart/cart.vue?2610","uni-app:///pages/cart/cart.vue","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/cart/cart.vue?28ac","webpack:////Users/seep/Documents/liuqingProject/hezhiying/pages/cart/cart.vue?3f7e"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","mixins","components","TabBar","data","mescroll","downOption","upOption","use","toTop","src","isEdit","onReady","uni","methods","downCallback","upCallback","setTimeout","onSkip","url","animationType","animationDuration"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,aAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;AACsC;;;AAGzF;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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,aAAa,4KAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAk0B,CAAgB,kyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACgGt1B;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eACA;EACAC;EAAA;EACAC;IACAC;EACA;EACAC;IACA;MACAC;MAAA;MACA;MACAC;MACA;MACAC;QACAC;QACAC;UACAC;QACA;MACA;MACAC;IAEA;EACA;EACAC;IACAC;EACA;EACAC;IACA,qBACAC;MACA;IACA;IACA,WACAC;MAAA;MACAC;QACA;MACA;IACA;IACA;AACA;AACA;AACA;IACAC;MACA;QACA;UACAL;YACAM;UACA;UACA;QACA;UACAN;YACAM;YACAC;YACAC;UACA;UACA;QACA;UACAR;YACAM;UACA;UACA;QACA;UACAN;YACAM;UACA;UACA;MAAA;IAEA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACnKA;AAAA;AAAA;AAAA;AAAyjD,CAAgB,y7CAAG,EAAC,C;;;;;;;;;;;ACA7kD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/cart/cart.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/cart/cart.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./cart.vue?vue&type=template&id=0f00adf4&scoped=true&\"\nvar renderjs\nimport script from \"./cart.vue?vue&type=script&lang=js&\"\nexport * from \"./cart.vue?vue&type=script&lang=js&\"\nimport style0 from \"./cart.vue?vue&type=style&index=0&id=0f00adf4&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"0f00adf4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/cart/cart.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cart.vue?vue&type=template&id=0f00adf4&scoped=true&\"","var components\ntry {\n components = {\n TabBar: function () {\n return import(\n /* webpackChunkName: \"components/TabBar/TabBar\" */ \"@/components/TabBar/TabBar.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.isEdit = !_vm.isEdit\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cart.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"head\">\n\t\t\t<!-- #ifdef APP-PLUS -->\n\t\t\t<view class=\"title\">购物车</view>\n\t\t\t<!-- #endif -->\n\t\t\t<view class=\"edit\" @click=\"isEdit = !isEdit\">\n\t\t\t\t<text>{{isEdit?'完成':'编辑'}}</text>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 购物车列表 -->\n\t\t<!-- <mescroll-body ref=\"mescrollRef\"\n\t\t @down=\"downCallback\"\n\t\t @up=\"upCallback\"\n\t\t :down=\"downOption\"\n\t\t :up=\"upOption\"\n\t\t :top=\"0\"> -->\n\t\t\t<!-- <view class=\"cart-list\">\n\t\t\t\t<view class=\"list\">\n\t\t\t\t\t<view class=\"check\">\n\t\t\t\t\t\t<text class=\"iconfont icon-checked\"></text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"goods\">\n\t\t\t\t\t\t<view class=\"thumb\">\n\t\t\t\t\t\t\t<image src=\"/static//image/x.png\" mode=\"\"></image>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t\t\t<text class=\"two-omit\">玉石</text>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<view class=\"price-num\">\n\t\t\t\t\t\t\t\t<view class=\"price\">\n\t\t\t\t\t\t\t\t\t<text class=\"min\">¥</text>\n\t\t\t\t\t\t\t\t\t<text class=\"max\">99.00</text>\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">\n\t\t\t\t\t\t\t\t\t<view class=\"add\">\n\t\t\t\t\t\t\t\t\t\t<text class=\"iconfont icon-jian\"></text>\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t<view class=\"number\">\n\t\t\t\t\t\t\t\t\t\t<text>1</text>\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t<view class=\"add\">\n\t\t\t\t\t\t\t\t\t\t<text class=\"iconfont icon-jia\"></text>\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t\n\t\t\t</view> -->\n\t\t\t<view class=\"empty\">\n\t\t\t\t<image src=\"../../static/image/empty.png\" mode=\"widthFix\"></image>\n\t\t\t\t<view class=\"btnGroup\">\n\t\t\t\t\t<view class=\"btn\" @click=\"onSkip('home')\">\n\t\t\t\t\t\t去逛逛\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"btn\" @click=\"onSkip('collect')\">\n\t\t\t\t\t\t看看收藏\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n \n\t\t\t<!-- 结算 -->\n\t\t\t<view class=\"close-account\">\n\t\t\t\t<view class=\"check-total\">\n\t\t\t\t\t<view class=\"check\">\n\t\t\t\t\t\t<text class=\"iconfont icon-check\"></text>\n\t\t\t\t\t\t<text class=\"all\">全选</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"total\">\n\t\t\t\t\t\t<text>合计:</text>\n\t\t\t\t\t\t<text class=\"price\">¥0.00</text>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"account\">\n\t\t\t\t\t<view class=\"btn-calculate\" v-if=\"!isEdit\">\n\t\t\t\t\t\t<text>去结算(0)</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"btn-del\" v-else>\n\t\t\t\t\t\t<!-- <text class=\"attention\">移入关注</text> -->\n\t\t\t\t\t\t<text class=\"del\">删除</text>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t<!-- </mescroll-body> -->\n\t\t<!-- tabbar -->\n\t\t<TabBar :tabBarShow=\"2\"></TabBar>\n\t</view>\n</template>\n\n<script>\n\timport TabBar from '../../components/TabBar/TabBar.vue';\n // 引入mescroll-mixins.js\n import MescrollMixin from \"@/components/mescroll-uni/mescroll-mixins.js\";\n\texport default {\n mixins: [MescrollMixin], // 使用mixin\n\t\tcomponents:{\n\t\t\tTabBar,\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n mescroll: null, // mescroll实例对象 (此行可删,mixins已默认)\n // 下拉刷新的配置(可选, 绝大部分情况无需配置)\n downOption: {},\n // 上拉加载的配置(可选, 绝大部分情况无需配置)\n upOption: {\n use: false,\n toTop: {\n src: '',\n }\n },\n\t\t\t\tisEdit: false,\n \n\t\t\t};\n\t\t},\n\t\tonReady() {\n\t\t\tuni.hideTabBar()\n\t\t},\n\t\tmethods:{\n\t\t /*下拉刷新的回调, 有三种处理方式:*/\n\t\t downCallback(){\n\t\t\tthis.mescroll.endSuccess();\n\t\t },\n\t\t /*上拉加载的回调*/\n\t\t upCallback(page) {\n\t\t\tsetTimeout(() =>{\n\t\t\t this.mescroll.endByPage(10, 20);\n\t\t\t},2000)\n\t\t },\n\t\t /**\n\t\t * 跳转点击\n\t\t * @param {String} type 跳转类型\n\t\t */\n\t\t onSkip(type){\n\t\t\tswitch (type){\n\t\t\t case 'classify':\n\t\t\t\tuni.navigateTo({\n\t\t\t\t url: '/pages/SearchGoodsList/SearchGoodsList',\n\t\t\t\t})\n\t\t\t\tbreak;\n\t\t\t case 'goods':\n\t\t\t\tuni.navigateTo({\n\t\t\t\t url: '/pages/GoodsDetails/GoodsDetails',\n\t\t\t\t animationType: 'zoom-fade-out',\n\t\t\t\t animationDuration: 200\n\t\t\t\t})\n\t\t\t\tbreak;\n\t\t\t case 'home':\n\t\t\t\tuni.switchTab({\n\t\t\t\t url: '/pages/home/home',\n\t\t\t\t})\n\t\t\t\tbreak;\n\t\t\t case 'collect':\n\t\t\t\tuni.navigateTo({\n\t\t\t\t url: '/pages/SearchGoodsList/SearchGoodsList',\n\t\t\t\t})\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import 'cart.scss';\n</style>\n","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cart.vue?vue&type=style&index=0&id=0f00adf4&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./cart.vue?vue&type=style&index=0&id=0f00adf4&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1697873050768\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}