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.
1 lines
13 KiB
1 lines
13 KiB
{"version":3,"sources":["webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/GoodsAttr/GoodsAttr.vue?872c","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/GoodsAttr/GoodsAttr.vue?5f20","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/GoodsAttr/GoodsAttr.vue?be1f","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/GoodsAttr/GoodsAttr.vue?5cc4","uni-app:///components/GoodsAttr/GoodsAttr.vue","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/GoodsAttr/GoodsAttr.vue?8743","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/GoodsAttr/GoodsAttr.vue?dffb"],"names":["data","isShow","AttrIndex","SizeIndex","AttrSizeList","index","attr","SizeList","size","BuyType","methods","show","hide","onStop","onAttrSize","onConfirm"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;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;AAAu0B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC0C31B;EACAA;IACA;MACAC;MACAC;MACAC;MACAC,eACA;QACAC;QACAC;QACAC,WACA;UACAF;UACAG;QACA;UACAH;UACAG;QACA;UACAH;UACAG;QACA;UACAH;UACAG;QACA;MAEA;QACAH;QACAC;QACAC,WACA;UACAF;UACAG;QACA;UACAH;UACAG;QACA;UACAH;UACAG;QACA;UACAH;UACAG;QACA;MAEA,EACA;MACA;MACAC;IACA;EACA;EACAC;IACA;AACA;AACA;AACA;IACAC;MACA;MACA;IACA;IACAC;MACA;IACA;IACAC,2BAEA;IACA;AACA;AACA;IACAC;MACA;MACA;MACA;IACA;IACA;AACA;AACA;IACAC;MACA;MACA;MACA;IAAA;EAEA;AACA;AAAA,2B;;;;;;;;;;;;AC3HA;AAAA;AAAA;AAAA;AAA8jD,CAAgB,87CAAG,EAAC,C;;;;;;;;;;;ACAllD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/GoodsAttr/GoodsAttr.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./GoodsAttr.vue?vue&type=template&id=18551bd8&scoped=true&\"\nvar renderjs\nimport script from \"./GoodsAttr.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsAttr.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GoodsAttr.vue?vue&type=style&index=0&id=18551bd8&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 \"18551bd8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/GoodsAttr/GoodsAttr.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!./GoodsAttr.vue?vue&type=template&id=18551bd8&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 \"-!../../../../../../../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!./GoodsAttr.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!./GoodsAttr.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"cu-modal bottom-modal\" :class=\"{'show':isShow}\" @click=\"hide\">\n\t <view class=\"cu-dialog\">\n\t\t\t<view class=\"goods-data\">\n\t\t\t\t<view class=\"thumb\">\n\t\t\t\t\t<image src=\"/static/image/x.png\" mode=\"aspectFill\"></image>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">\n\t\t\t\t\t\t<text></text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"price\">\n\t\t\t\t\t\t<text class=\"min\">¥</text>\n\t\t\t\t\t\t<text class=\"max\">99</text>\n\t\t\t\t\t\t<text class=\"min\">.00</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"inventory\">\n\t\t\t\t\t\t<text>库存:1</text>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"attr-size\">\n\t\t\t\t\n\t\t\t\t<view class=\"attr-number\" @click.stop=\"onStop\">\n\t\t\t\t\t<view class=\"tit\">数量</view>\n\t\t\t\t\t<view class=\"number\">\n\t\t\t\t\t\t<text class=\"iconfont icon-jian\"></text>\n\t\t\t\t\t\t<input type=\"tel\" value=\"1\" maxlength=\"8\">\n\t\t\t\t\t\t<text class=\"iconfont icon-jia\"></text>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"attr-btn\">\n\t\t\t\t<view class=\"add-cart\" v-if=\"BuyType === 1\" @click=\"onConfirm(BuyType)\">加入购物车</view>\n\t\t\t\t<view class=\"add-buy\" v-if=\"BuyType === 1\" @click=\"onConfirm(BuyType)\">立即购买</view>\n\t\t\t\t<view class=\"confirm\" v-if=\"BuyType === 2 || BuyType === 3\" @click=\"onConfirm(BuyType)\">确定</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisShow: false,\n\t\t\t\tAttrIndex: 0,\n\t\t\t\tSizeIndex: 0,\n\t\t\t\tAttrSizeList:[\n\t\t\t\t\t{\n\t\t\t\t\t\tindex: 0,\n\t\t\t\t\t\tattr: '颜色',\n\t\t\t\t\t\tSizeList: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tindex: 0,\n\t\t\t\t\t\t\t\tsize: '白色'\n\t\t\t\t\t\t\t},{\n\t\t\t\t\t\t\t\tindex: 1,\n\t\t\t\t\t\t\t\tsize: '黑色'\n\t\t\t\t\t\t\t},{\n\t\t\t\t\t\t\t\tindex: 2,\n\t\t\t\t\t\t\t\tsize: '粉丝'\n\t\t\t\t\t\t\t},{\n\t\t\t\t\t\t\t\tindex: 3,\n\t\t\t\t\t\t\t\tsize: '灰色'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t},{\n\t\t\t\t\t\tindex: 0,\n\t\t\t\t\t\tattr: '尺码',\n\t\t\t\t\t\tSizeList: [\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tindex: 0,\n\t\t\t\t\t\t\t\tsize: 'M尺码'\n\t\t\t\t\t\t\t},{\n\t\t\t\t\t\t\t\tindex: 1,\n\t\t\t\t\t\t\t\tsize: 'L尺码'\n\t\t\t\t\t\t\t},{\n\t\t\t\t\t\t\t\tindex: 2,\n\t\t\t\t\t\t\t\tsize: 'XL尺码'\n\t\t\t\t\t\t\t},{\n\t\t\t\t\t\t\t\tindex: 3,\n\t\t\t\t\t\t\t\tsize: 'XXL尺码'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t],\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t// 购买类型\n\t\t\t\tBuyType: 0,\n\t\t\t};\n\t\t},\n\t\tmethods:{\n\t\t\t/**\n\t\t\t * 显示 \n\t\t\t * @param {Number} type 1 点击选择 2 加入购物 3 立即购买\n\t\t\t */\n\t\t\tshow(type){\n\t\t\t\tthis.BuyType = type;\n\t\t\t\tthis.isShow = true;\n\t\t\t},\n\t\t\thide(){\n\t\t\t\tthis.isShow = false;\n\t\t\t},\n\t\t\tonStop(){\n\t\t\t\t\n\t\t\t},\n\t\t\t/**\n\t\t\t * 属性选择点击\n\t\t\t */\n\t\t\tonAttrSize(item,value,index,idx){\n\t\t\t\tthis.AttrSizeList[index].index = idx;\n\t\t\t\tthis.AttrIndex = item.index;\n\t\t\t\tthis.SizeIndex = value.index;\n\t\t\t},\n\t\t\t/**\n\t\t\t * 确认点击\n\t\t\t */\n\t\t\tonConfirm(type){\n\t\t\t\t// uni.navigateTo({\n\t\t\t\t// \turl: '/pages/ConfirmOrder/ConfirmOrder'\n\t\t\t\t// })\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import 'GoodsAttr.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!./GoodsAttr.vue?vue&type=style&index=0&id=18551bd8&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!./GoodsAttr.vue?vue&type=style&index=0&id=18551bd8&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1697873051337\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":""} |