| 1 |
- {"remainingRequest":"E:\\item\\newItem\\admin\\node_modules\\babel-loader\\lib\\index.js!E:\\item\\newItem\\admin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\item\\newItem\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\item\\newItem\\admin\\node_modules\\iview-loader\\index.js??ref--0-2!E:\\item\\newItem\\admin\\src\\pages\\marketing\\live\\components\\goods_detail.vue?vue&type=script&lang=js&","dependencies":[{"path":"E:\\item\\newItem\\admin\\src\\pages\\marketing\\live\\components\\goods_detail.vue","mtime":1677828270209},{"path":"E:\\item\\newItem\\admin\\babel.config.js","mtime":1677828270071},{"path":"E:\\item\\newItem\\admin\\.babelrc","mtime":1677828270070},{"path":"E:\\item\\newItem\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\item\\newItem\\admin\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"E:\\item\\newItem\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\item\\newItem\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000},{"path":"E:\\item\\newItem\\admin\\node_modules\\iview-loader\\index.js","mtime":1570440814000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KaW1wb3J0IHsgbGl2ZUdvb2RzRGV0YWlsIH0gZnJvbSAnQC9hcGkvbGl2ZSc7CmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnbGl2ZV9kZXRhaWwnLAogIGRhdGE6IGZ1bmN0aW9uIGRhdGEoKSB7CiAgICByZXR1cm4gewogICAgICBvcHRpb246IHsKICAgICAgICBmb3JtOiB7CiAgICAgICAgICBsYWJlbFdpZHRoOiAnMTUwcHgnCiAgICAgICAgfQogICAgICB9LAogICAgICBGb3JtRGF0YToge30sCiAgICAgIGxvYWRpbmc6IGZhbHNlCiAgICB9OwogIH0sCiAgbWV0aG9kczogewogICAgZ2V0RGF0YTogZnVuY3Rpb24gZ2V0RGF0YShpZCkgewogICAgICB2YXIgX3RoaXMgPSB0aGlzOwoKICAgICAgdGhpcy5sb2FkaW5nID0gdHJ1ZTsKICAgICAgbGl2ZUdvb2RzRGV0YWlsKGlkKS50aGVuKGZ1bmN0aW9uIChyZXMpIHsKICAgICAgICBfdGhpcy5Gb3JtRGF0YSA9IHJlcy5kYXRhOwogICAgICAgIF90aGlzLmxvYWRpbmcgPSBmYWxzZTsKICAgICAgfSkuY2F0Y2goZnVuY3Rpb24gKGVycm9yKSB7CiAgICAgICAgX3RoaXMuJE1lc3NhZ2UuZXJyb3IoZXJyb3IubXNnKTsKCiAgICAgICAgX3RoaXMubG9hZGluZyA9IGZhbHNlOwogICAgICB9KTsKICAgIH0KICB9Cn07"},{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AACA;EACAA,mBADA;EAEAC,IAFA,kBAEA;IACA;MACAC;QACAC;UACAC;QADA;MADA,CADA;MAMAC,YANA;MAOAC;IAPA;EASA,CAZA;EAaAC;IACAC,OADA,mBACAC,EADA,EACA;MAAA;;MACA;MACAC,oBACAC,IADA,CACA;QACA;QACA;MACA,CAJA,EAKAC,KALA,CAKA;QACA;;QACA;MACA,CARA;IASA;EAZA;AAbA","names":["name","data","option","form","labelWidth","FormData","loading","methods","getData","id","liveGoodsDetail","then","catch"],"sourceRoot":"src/pages/marketing/live/components","sources":["goods_detail.vue"],"sourcesContent":["<template>\r\n <div class=\"divBox\">\r\n <div>\r\n <div class=\"box-container\">\r\n <div class=\"list sp\">\r\n <label class=\"name\">商品名称:</label>\r\n <span class=\"info\">{{ FormData.name }}</span>\r\n </div>\r\n <div class=\"list sp\">\r\n <label class=\"name\">直播价:</label>\r\n <span class=\"info\">{{ FormData.price }}</span>\r\n </div>\r\n <div class=\"list sp100\" style=\"display: flex\" v-if=\"FormData.product\">\r\n <label class=\"name\">商品图:</label>\r\n <div v-viewer>\r\n <img :src=\"FormData.product.image\" alt=\"\" />\r\n </div>\r\n </div>\r\n <div class=\"list sp100\">\r\n <label class=\"name\">审核结果:</label>\r\n <span class=\"info\">{{ FormData.audit_status | liveStatusFilter }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { liveGoodsDetail } from '@/api/live';\r\nexport default {\r\n name: 'live_detail',\r\n data() {\r\n return {\r\n option: {\r\n form: {\r\n labelWidth: '150px',\r\n },\r\n },\r\n FormData: {},\r\n loading: false,\r\n };\r\n },\r\n methods: {\r\n getData(id) {\r\n this.loading = true;\r\n liveGoodsDetail(id)\r\n .then((res) => {\r\n this.FormData = res.data;\r\n this.loading = false;\r\n })\r\n .catch((error) => {\r\n this.$Message.error(error.msg);\r\n this.loading = false;\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.box-container {\r\n overflow: hidden;\r\n}\r\n.box-container .list {\r\n float: left;\r\n line-height: 40px;\r\n margin-bottom: 20px;\r\n}\r\n.box-container .sp {\r\n width: 50%;\r\n}\r\n.box-container .sp3 {\r\n width: 33.3333%;\r\n}\r\n.box-container .sp100 {\r\n width: 100%;\r\n}\r\n.box-container .list .name {\r\n display: inline-block;\r\n width: 150px;\r\n text-align: right;\r\n color: #606266;\r\n}\r\n.box-container .list img {\r\n width: 80px;\r\n height: 80px;\r\n}\r\n.box-container .list .blue {\r\n color: #1890ff;\r\n}\r\n.box-container .list.image {\r\n margin-bottom: 40px;\r\n}\r\n.box-container .list.image img {\r\n position: relative;\r\n top: 40px;\r\n}\r\n.el-textarea {\r\n width: 400px;\r\n}\r\n</style>\r\n"]}]}
|