venueDetail.js.map 16 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/venueDetail.vue?8f4a","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/venueDetail.vue?a55a","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/venueDetail.vue?544c","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/venueDetail.vue?a920","uni-app:///pagesEnroll/venueDetail.vue","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/venueDetail.vue?8b94","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pagesEnroll/venueDetail.vue?b46f"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,yG;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;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,6MAEN;AACP,KAAK;AACL;AACA,aAAa,yNAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,mNAEN;AACP,KAAK;AACL;AACA,aAAa,+NAEN;AACP;AACA;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;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAqmB,CAAgB,+nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2CznB,gD;;;AAGA;AACA,sD;AACA;AACA;AACA;AACA,eADA;AAEA,qBAFA,EADA,CADA;;;AAOA,MAPA,kBAOA;AACA;AACA,iBADA;AAEA;AACA,eADA;AAEA,gBAFA;AAGA,mBAHA;AAIA,gBAJA;AAKA,4BALA,EAFA;;;AAUA,GAlBA;AAmBA,QAnBA,kBAmBA,OAnBA,EAmBA;AACA;AACA;AACA,GAtBA;AAuBA,QAvBA,oBAuBA,EAvBA;AAwBA,mBAxBA,+BAwBA;AACA;AACA;AACA;AACA,KAFA,EAEA,GAFA;AAGA,GA7BA;AA8BA;AACA;AACA,cAFA,wBAEA;AACA;AACA,wBADA;AAEA,YAFA,EAEA,IAFA,CAEA;AACA;AACA,OAJA,EAIA,KAJA,CAIA;AACA;AACA,8BADA;AAEA,yBAFA;;AAIA,OATA;AAUA,KAbA;AAcA;AACA,mBAfA,2BAeA,IAfA,EAeA;AACA;AACA,qDADA;;AAGA,KAnBA,EA9BA,E;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAA+nC,CAAgB,ymCAAG,EAAC,C;;;;;;;;;;;ACAnpC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesEnroll/venueDetail.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesEnroll/venueDetail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./venueDetail.vue?vue&type=template&id=aeb2c406&scoped=true&\"\nvar renderjs\nimport script from \"./venueDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./venueDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./venueDetail.vue?vue&type=style&index=0&id=aeb2c406&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\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 \"aeb2c406\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesEnroll/venueDetail.vue\"\nexport default component.exports","export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./venueDetail.vue?vue&type=template&id=aeb2c406&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/uview-ui/components/u-image/u-image.vue\"\n )\n },\n uSection: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-section/u-section\" */ \"@/uview-ui/components/u-section/u-section.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uCard: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-card/u-card\" */ \"@/uview-ui/components/u-card/u-card.vue\"\n )\n },\n uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.vue\"\n )\n },\n uTopTips: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-top-tips/u-top-tips\" */ \"@/uview-ui/components/u-top-tips/u-top-tips.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./venueDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./venueDetail.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<u-image :src=\"venueInfo.url\" mode=\"aspectFill\" height=\"45vw\" border-radius=\"10px\" width=\"calc(100vw - 30px)\" style=\"margin: 10px 15px;float: left;\"></u-image>\r\n\t\t<u-section :title=\"venueInfo.name\" :right=\"false\" :show-line=\"false\" font-size=\"32\" class=\"title-box\"></u-section>\r\n\t\t<view class=\"venue-text\">\r\n\t\t\t<u-icon name=\"map\" style=\"font-size: 14px;margin-right: 2px;\"></u-icon>\r\n\t\t\t{{venueInfo.address}}\r\n\t\t</view>\r\n\t\t<u-section title=\"场馆简介\" :right=\"false\" :show-line=\"false\" font-size=\"32\" class=\"title-box\"></u-section>\r\n\t\t<view class=\"venue-text\">{{venueInfo.desc}}</view>\r\n\t\t<u-section title=\"班级信息\" :right=\"false\" :show-line=\"false\" font-size=\"32\" class=\"title-box\"></u-section>\r\n\t\t<view class=\"class-box\">\r\n\t\t\t<u-card :head-border-bottom=\"false\" :foot-border-top=\"false\" padding=\"0\" margin=\"10px\" v-for=\"(item, index) in venueInfo.classListResList\"\r\n\t\t\t :key=\"index\" class=\"class-card\" @click=\"goToClassDetail(item)\">\r\n\t\t\t\t<view class=\"class-content\" slot=\"head\" style=\"padding-top: 10px;\">\r\n\t\t\t\t\t<text class=\"class-name\">{{item.name}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"class-content\" slot=\"body\" style=\"padding-bottom: 10px;\">\r\n\t\t\t\t\t<view class=\"class-info\">\r\n\t\t\t\t\t\t<view class=\"class-info-row\">\r\n\t\t\t\t\t\t\t<u-icon name=\"clock\"></u-icon>\r\n\t\t\t\t\t\t\t{{item.classStartDate}}&nbsp;~&nbsp;{{item.classEndDate}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"class-info-row\" v-for=\"(site, index2) in item.classExtrasList\" :key=\"index2\">\r\n\t\t\t\t\t\t\t<u-icon name=\"calendar\" style=\"visibility: hidden;\"></u-icon>\r\n\t\t\t\t\t\t\t<text>{{site.week}}&nbsp;{{site.startTime}}-{{site.endTime}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"class-info-row\">\r\n\t\t\t\t\t\t\t<u-icon name=\"map\"></u-icon>\r\n\t\t\t\t\t\t\t{{item.address}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"class-content\" slot=\"foot\" style=\"padding-bottom: 10px;text-align: right;\">\r\n\t\t\t\t\t<u-button type=\"warning\" shape=\"circle\" :ripple=\"true\" :custom-style=\"handleCustomStyle\" size=\"mini\">详情</u-button>\r\n\t\t\t\t</view>\r\n\t\t\t</u-card>\r\n\t\t</view>\r\n\t\t<u-top-tips ref=\"uTips\"></u-top-tips>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapGetters\r\n\t} from 'vuex'\r\n\tconst NET = require('@/utils/request')\r\n\tconst API = require('@/config/api')\r\n\texport default {\r\n\t\tcomputed: {\r\n\t\t\t...mapGetters([\r\n\t\t\t\t'customStyle',\r\n\t\t\t\t'handleCustomStyle',\r\n\t\t\t])\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tvenueId: '',\r\n\t\t\t\tvenueInfo: {\r\n\t\t\t\t\turl: '',\r\n\t\t\t\t\tname: '',\r\n\t\t\t\t\taddress: '',\r\n\t\t\t\t\tdesc: '',\r\n\t\t\t\t\tclassListResList: [],\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.venueId = options.id\r\n\t\t\tthis.initialize()\r\n\t\t},\r\n\t\tonShow() {},\r\n\t\tonPullDownRefresh() {\r\n\t\t\tthis.initialize()\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tuni.stopPullDownRefresh();\r\n\t\t\t}, 500)\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 获取初始化数据\r\n\t\t\tinitialize() {\r\n\t\t\t\tNET.request(API.getVenueDetail, {\r\n\t\t\t\t\tid: this.venueId\r\n\t\t\t\t}, 'POST').then(res => {\r\n\t\t\t\t\tthis.venueInfo = res.data\r\n\t\t\t\t}).catch(error => {\r\n\t\t\t\t\tthis.$refs.uTips.show({\r\n\t\t\t\t\t\ttitle: error.message,\r\n\t\t\t\t\t\ttype: 'warning',\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 跳转班级详情\r\n\t\t\tgoToClassDetail(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pagesEnroll/classDetail?id=' + item.id\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 lang=\"scss\" scoped>\r\n\t@import \"@/static/css/themes.scss\";\r\n\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\tfloat: left;\r\n\r\n\t\t.title-box {\r\n\t\t\twidth: 100vw;\r\n\t\t\tpadding: 10px 15px 5px 15px;\r\n\t\t\tfloat: left;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t}\r\n\r\n\t\t.venue-text {\r\n\t\t\twidth: 100vw;\r\n\t\t\tpadding: 5px 15px 15px 15px;\r\n\t\t\tfloat: left;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tcolor: #999999;\r\n\t\t\tfont-size: 10px;\r\n\t\t\tline-height: 16px;\r\n\t\t}\r\n\r\n\t\t.class-box {\r\n\t\t\twidth: 100vw;\r\n\t\t\tpadding: 5px;\r\n\t\t\tfloat: left;\r\n\t\t\tbox-sizing: border-box;\r\n\r\n\t\t\t.class-card {\r\n\t\t\t\t/deep/.u-border:after {\r\n\t\t\t\t\tborder-radius: 20px !important;\r\n\t\t\t\t\tborder-color: #999999;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.class-content {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tpadding: 2px 15px;\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\tposition: relative;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.class-name {\r\n\t\t\t\t\theight: 20px;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tfont-size: 14px;\r\n\t\t\t\t\tline-height: 20px;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.class-info {\r\n\t\t\t\t\t.class-info-row {\r\n\t\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\t\tline-height: 18px;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.student-box {\r\n\t\t\tmax-height: 200px;\r\n\t\t\tpadding: 0 15px;\r\n\t\t\tmargin: 25px 0 0 0;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\toverflow: auto;\r\n\r\n\t\t\t/deep/.u-card__head {\r\n\t\t\t\tpadding-bottom: 0px !important;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./venueDetail.vue?vue&type=style&index=0&id=aeb2c406&lang=scss&scoped=true&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./venueDetail.vue?vue&type=style&index=0&id=aeb2c406&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631763038105\n var cssReload = require(\"E:/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":""}