1 |
- {"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pages/index/index.vue?191d","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pages/index/index.vue?d942","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pages/index/index.vue?9daf","uni-app:///pages/index/index.vue","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pages/index/index.vue?b9b8","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/pages/index/index.vue?9f37"],"names":["createPage","Page"],"mappings":"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","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&scoped=true&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=57280228&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 \"57280228\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.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!./index.vue?vue&type=template&id=57280228&scoped=true&\"","var components\ntry {\n components = {\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 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 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 uAvatar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-avatar/u-avatar\" */ \"@/uview-ui/components/u-avatar/u-avatar.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 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 uTabbar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabbar/u-tabbar\" */ \"@/uview-ui/components/u-tabbar/u-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}\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!./index.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!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"swiper-item\" style=\"padding: 0 15px;\" v-show=\"current == 0\">\r\n\t\t\t<view class=\"chart-box\">\r\n\t\t\t\t<canvas canvas-id=\"chartBox\" id=\"chartBox\" class=\"chart-canvas\" force-use-old-canvas=\"true\"></canvas>\r\n\t\t\t</view>\r\n\t\t\t<u-button type=\"warning\" shape=\"circle\" :ripple=\"true\" :custom-style=\"customStyle\" @click=\"goToTodayEnroll()\">查看详情</u-button>\r\n\t\t\t<view class=\"section-title\" style=\"margin-top: 40px;\">\r\n\t\t\t\t<u-image width=\"20px\" height=\"10px\" :src=\"sectionIcon\"></u-image>\r\n\t\t\t\t<u-section title=\"场馆推荐\" sub-title=\"查看更多\" font-size=\"32\" :show-line=\"false\" @click=\"goToVenueList()\"></u-section>\r\n\t\t\t</view>\r\n\t\t\t<u-card :show-head=\"false\" :show-foot=\"false\" :border=\"false\" margin=\"0px\">\r\n\t\t\t\t<view class=\"class-show-box\" slot=\"body\">\r\n\t\t\t\t\t<view v-for=\"(item, index) in videoList\" :key=\"index\" class=\"class-show-card\" @click=\"goToVenueDetail(item)\">\r\n\t\t\t\t\t\t<u-image :src=\"item.url\" mode=\"aspectFill\" height=\"30vw\" border-radius=\"10px\"></u-image>\r\n\t\t\t\t\t\t<view class=\"class-show-name\">{{item.name}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</u-card>\r\n\t\t</view>\r\n\t\t<view class=\"swiper-item\" v-show=\"current == 1\">\r\n\t\t\t<view class=\"enroll-fix-box\">\r\n\t\t\t\t<view class=\"enroll-button\" @click=\"goToAddForm('enrolledForm')\">\r\n\t\t\t\t\t<view class=\"enroll-img\">\r\n\t\t\t\t\t\t<u-image :src=\"enrolledIcon\" mode=\"aspectFit\" width=\"34px\" height=\"34px\"></u-image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"enroll-text\">已报名</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"enroll-button\" @click=\"goToAddForm('intentionForm')\">\r\n\t\t\t\t\t<view class=\"enroll-img\">\r\n\t\t\t\t\t\t<u-image :src=\"intentionIcon\" mode=\"aspectFit\" width=\"34px\" height=\"34px\"></u-image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"enroll-text\">有意向</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"swiper-item\" v-show=\"current == 2\">\r\n\t\t\t<view class=\"user-info\">\r\n\t\t\t\t<view class=\"user-data\">\r\n\t\t\t\t\t<view class=\"user-name\">{{userData.nickName}}</view>\r\n\t\t\t\t\t<view class=\"user-phone\">{{userData.phone}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"user-img\">\r\n\t\t\t\t\t<u-avatar :src=\"userData.headImage\" size=\"160\"></u-avatar>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"user-handle\" v-for=\"(item, index) in handleList\" :key=\"index\" @click=\"goToHandle(item)\">\r\n\t\t\t\t<view class=\"handle-icon\">\r\n\t\t\t\t\t<u-image :src=\"item.icon\" mode=\"aspectFit\" width=\"28px\" height=\"28px\"></u-image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"handle-label\">{{item.label}}</view>\r\n\t\t\t\t<view class=\"handle-arrow\">\r\n\t\t\t\t\t<u-icon name=\"arrow-right\" color=\"#cccccc\" size=\"32\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-top-tips ref=\"uTips\"></u-top-tips>\r\n\t\t<u-tabbar v-model=\"current\" :list=\"tabbarList\" :mid-button=\"true\" :active-color=\"mainColor\" inactive-color=\"#cccccc\"\r\n\t\t icon-size=\"60\"></u-tabbar>\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\timport uCharts from '@/js_sdk/u-charts/u-charts/u-charts.min.js';\r\n\tconst NET = require('@/utils/request')\r\n\tconst API = require('@/config/api')\r\n\tvar _self;\r\n\tlet chartBox = null;\r\n\texport default {\r\n\t\tcomputed: {\r\n\t\t\t...mapGetters([\r\n\t\t\t\t'mainColor',\r\n\t\t\t\t'customStyle',\r\n\t\t\t])\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcWidth: '',\r\n\t\t\t\tlongitude: '',\r\n\t\t\t\tlatitude: '',\r\n\t\t\t\tsectionIcon: API.getServerImg + 'biaoti.png',\r\n\t\t\t\tenrolledIcon: API.getServerImg + 'yibaoming.png ',\r\n\t\t\t\tintentionIcon: API.getServerImg + 'yixiangkehu.png',\r\n\t\t\t\tvideoList: [],\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\ttabbarList: [{\r\n\t\t\t\t\t\ticonPath: \"../../../static/images/icon-index.png\",\r\n\t\t\t\t\t\tselectedIconPath: \"../../../static/images/icon-index-active.png\",\r\n\t\t\t\t\t\ttext: '首页',\r\n\t\t\t\t\t\tcustomIcon: false,\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ticonPath: \"plus-circle-fill\",\r\n\t\t\t\t\t\tselectedIconPath: \"close-circle-fill\",\r\n\t\t\t\t\t\ttext: '新增',\r\n\t\t\t\t\t\tmidButton: true,\r\n\t\t\t\t\t\tcustomIcon: false,\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ticonPath: \"../../../static/images/icon-mine.png\",\r\n\t\t\t\t\t\tselectedIconPath: \"../../../static/images/icon-mine-active.png\",\r\n\t\t\t\t\t\ttext: '我的',\r\n\t\t\t\t\t\tcustomIcon: false,\r\n\t\t\t\t\t},\r\n\t\t\t\t],\r\n\t\t\t\tuserData: {\r\n\t\t\t\t\theadImage: '',\r\n\t\t\t\t\tuserId: '',\r\n\t\t\t\t\tnickName: '',\r\n\t\t\t\t\tuserName: '',\r\n\t\t\t\t\tphone: '',\r\n\t\t\t\t},\r\n\t\t\t\thandleList: [{\r\n\t\t\t\t\t\tlabel: '全部客户',\r\n\t\t\t\t\t\tpath: 'customerList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'kehu.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '营销业绩排行',\r\n\t\t\t\t\t\tpath: 'marketRankList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'paihang.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '续费提醒',\r\n\t\t\t\t\t\tpath: 'renewList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'xufeitixing.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '消息通知',\r\n\t\t\t\t\t\tpath: 'messageList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'xiaoxi.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '数据统计',\r\n\t\t\t\t\t\tpath: 'dataCensus',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'shujutongji.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '我的二维码',\r\n\t\t\t\t\t\tpath: 'shareInfo',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'erweima.png'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tlabel: '退出登录',\r\n\t\t\t\t\t\tpath: 'logout',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'kehu.png'\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\tonLoad() {\r\n\t\t\t// _self = this; // 浏览器调试时需要打开,微信调试时需关闭\r\n\t\t\tif (!uni.getStorageSync('token')) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/login/index'\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady() {\r\n\t\t\tthis.cWidth = uni.upx2px(750) - 30;\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tif (uni.getStorageSync('userData')) {\r\n\t\t\t\tthis.userData = uni.getStorageSync('userData')\r\n\t\t\t}\r\n\t\t\tuni.getLocation({\r\n\t\t\t\ttype: 'wgs84',\r\n\t\t\t\tgeocode: true,\r\n\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\tuni.setStorage({\r\n\t\t\t\t\t\tkey: 'locationData',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\tlongitude: res.longitude,\r\n\t\t\t\t\t\t\tlatitude: res.latitude,\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.initialize()\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\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.getCensusChart, {}, 'POST').then(res => {\r\n\t\t\t\t\tlet option = {\r\n\t\t\t\t\t\t$this: _self,\r\n\t\t\t\t\t\tcanvasId: \"chartBox\",\r\n\t\t\t\t\t\ttype: 'column',\r\n\t\t\t\t\t\twidth: this.cWidth,\r\n\t\t\t\t\t\theight: 200,\r\n\t\t\t\t\t\tpadding: [20, 10, 10, 10],\r\n\t\t\t\t\t\tpixelRatio: 1,\r\n\t\t\t\t\t\tanimation: true,\r\n\t\t\t\t\t\tbackground: '#FFFFFF',\r\n\t\t\t\t\t\tfontSize: 11,\r\n\t\t\t\t\t\txAxis: {\r\n\t\t\t\t\t\t\ttype: 'grid',\r\n\t\t\t\t\t\t\tgridType: 'dash',\r\n\t\t\t\t\t\t\tdisableGrid: true,\r\n\t\t\t\t\t\t\titemCount: 10,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tyAxis: {},\r\n\t\t\t\t\t\tcategories: res.data.customerCreateListRes.map(site => {\r\n\t\t\t\t\t\t\treturn site.week\r\n\t\t\t\t\t\t}),\r\n\t\t\t\t\t\tlegend: {\r\n\t\t\t\t\t\t\tshow: false\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tseries: [{\r\n\t\t\t\t\t\t\tname: \"\",\r\n\t\t\t\t\t\t\tcolor: \"#fcbd71\",\r\n\t\t\t\t\t\t\tdata: res.data.customerCreateListRes.map(site => {\r\n\t\t\t\t\t\t\t\treturn site.newCount\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}],\r\n\t\t\t\t\t}\r\n\t\t\t\t\tchartBox = new uCharts(option)\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\tNET.request(API.getNearVenueList, uni.getStorageSync('locationData'), 'POST').then(res => {\r\n\t\t\t\t\tthis.videoList = 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\tgoToTodayEnroll() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pagesEnroll/todayEnroll'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 跳转所有场馆\r\n\t\t\tgoToVenueList() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pagesEnroll/venueList'\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 跳转场馆详情\r\n\t\t\tgoToVenueDetail(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pagesEnroll/venueDetail?id=' + item.id\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 跳转添加信息\r\n\t\t\tgoToAddForm(path) {\r\n\t\t\t\tuni.removeStorageSync('defaultClass');\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pagesEnroll/' + path\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 跳转我的各列表界面\r\n\t\t\tgoToHandle(site) {\r\n\t\t\t\tif(site.path == 'logout'){\r\n\t\t\t\t\tuni.removeStorageSync('token')\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: '/pages/login/index'\r\n\t\t\t\t\t});\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: '/pagesMain/' + site.path\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 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.swiper-item {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: calc(100vh - 50px);\r\n\t\t\tposition: relative;\r\n\t\t}\r\n\r\n\t\t.chart-box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 240px;\r\n\t\t\tfloat: left;\r\n\t\t\tpadding: 20px 0;\r\n\t\t\tdisplay: flex;\r\n\r\n\t\t\t.chart-canvas {\r\n\t\t\t\twidth: 100% !important;\r\n\t\t\t\theight: 200px !important;\r\n\t\t\t\tfloat: left;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.section-title {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 28px;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\r\n\t\t\tu-section {\r\n\t\t\t\tmargin-left: 10px;\r\n\t\t\t\tflex: 1;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.class-show-box {\r\n\t\t\twidth: calc(100% + 32px);\r\n\t\t\tmargin: 0 -16px;\r\n\t\t\tfloat: left;\r\n\t\t\tpadding-bottom: 50px;\r\n\r\n\t\t\t.class-show-card {\r\n\t\t\t\twidth: calc(50% - 16px);\r\n\t\t\t\tmargin: 0 8px 16px 8px;\r\n\t\t\t\tfloat: left;\r\n\r\n\t\t\t\t.class-show-name {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tline-height: 18px;\r\n\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\tmargin-top: 5px;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.enroll-fix-box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 90px;\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 40px;\r\n\t\t\tleft: 0;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-around;\r\n\r\n\t\t\t.enroll-button {\r\n\t\t\t\twidth: 60px;\r\n\t\t\t\theight: 90px;\r\n\r\n\t\t\t\t.enroll-img {\r\n\t\t\t\t\twidth: 60px;\r\n\t\t\t\t\theight: 60px;\r\n\t\t\t\t\tpadding-left: 5px;\r\n\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\tbackground-color: #ffffff;\r\n\t\t\t\t\tbox-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.enroll-text {\r\n\t\t\t\t\twidth: 60px;\r\n\t\t\t\t\theight: 20px;\r\n\t\t\t\t\tmargin-top: 10px;\r\n\t\t\t\t\tline-height: 20px;\r\n\t\t\t\t\tfont-size: 14px;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.user-info {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 110px;\r\n\t\t\tmargin-bottom: 20px;\r\n\t\t\tfloat: left;\r\n\t\t\tbackground-color: $mainColor;\r\n\r\n\t\t\t.user-data {\r\n\t\t\t\twidth: calc(100% - 110px);\r\n\t\t\t\theight: 110px;\r\n\t\t\t\tpadding: 15px 0 15px 15px;\r\n\t\t\t\tfloat: left;\r\n\r\n\t\t\t\t.user-name {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\tfont-size: 24px;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\tline-height: 30px;\r\n\t\t\t\t\tmargin: 10px 0;\r\n\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.user-phone {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\tline-height: 20px;\r\n\t\t\t\t\tfloat: left;\r\n\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.user-img {\r\n\t\t\t\twidth: 110px;\r\n\t\t\t\theight: 110px;\r\n\t\t\t\tpadding: 15px;\r\n\t\t\t\tfloat: left;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.user-handle {\r\n\t\t\twidth: 100vw;\r\n\t\t\theight: 40px;\r\n\t\t\tfloat: left;\r\n\t\t\tpadding: 0 15px;\r\n\t\t\tmargin-bottom: 10px;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\r\n\t\t\t.handle-icon {\r\n\t\t\t\twidth: 40px;\r\n\t\t\t\theight: 40px;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tline-height: 40px;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t}\r\n\r\n\t\t\t.handle-label {\r\n\t\t\t\theight: 40px;\r\n\t\t\t\tflex: 1;\r\n\t\t\t\tmargin-left: 10px;\r\n\t\t\t\tline-height: 40px;\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t}\r\n\r\n\t\t\t.handle-arrow {\r\n\t\t\t\tline-height: 40px;\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!./index.vue?vue&type=style&index=0&id=57280228&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!./index.vue?vue&type=style&index=0&id=57280228&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631767608219\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":""}
|