1 |
- {"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/星火篮球维护/代码/小程序教练端/spark-coach/pages/user/index.vue?d7e4","webpack:///D:/星火篮球维护/代码/小程序教练端/spark-coach/pages/user/index.vue?ac22","webpack:///D:/星火篮球维护/代码/小程序教练端/spark-coach/pages/user/index.vue?5e42","uni-app:///pages/user/index.vue","webpack:///D:/星火篮球维护/代码/小程序教练端/spark-coach/pages/user/index.vue?879f","webpack:///D:/星火篮球维护/代码/小程序教练端/spark-coach/pages/user/index.vue?7c43"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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,mNAEN;AACP,KAAK;AACL;AACA,aAAa,6MAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;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;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAA+lB,CAAgB,ynBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyBnnB;AACA,sD;AACA;AACA,MADA,kBACA;AACA;AACA;AACA,qBADA;AAEA,kBAFA;AAGA,oBAHA;AAIA,oBAJA;AAKA,iBALA,EADA;;AAQA;AACA,qBADA;AAEA,4BAFA;AAGA,8CAHA;;AAKA;AACA,qBADA;AAEA,gCAFA;AAGA,oDAHA,EALA;;AAUA;AACA,qBADA;AAEA,gCAFA;AAGA,8CAHA,EAVA;;AAeA;AACA,0BADA;AAEA,yBAFA;AAGA,8CAHA,EAfA;;AAoBA;AACA,qBADA;AAEA,yBAFA;AAGA,kDAHA,EApBA;;AAyBA;AACA,qBADA;AAEA,wBAFA;AAGA,6CAHA,EAzBA;;AA8BA;AACA,qBADA;AAEA,sBAFA;AAGA,6CAHA,EA9BA,CARA;;;;AA6CA,GA/CA;AAgDA,QAhDA,oBAgDA;AACA;AACA;AACA;AACA,GApDA;AAqDA;AACA;AACA,cAFA,sBAEA,IAFA,EAEA;AACA;AACA;AACA;AACA,mCADA;;AAGA,OALA,MAKA;AACA;AACA,wCADA;;AAGA;AACA,KAbA,EArDA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAimC,CAAgB,2kCAAG,EAAC,C;;;;;;;;;;;ACArnC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=137d5072&\"\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&lang=scss&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/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=137d5072&\"","var components\ntry {\n components = {\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 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 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 }\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=\"user-info\">\r\n\t\t\t<view class=\"user-data\">\r\n\t\t\t\t<view class=\"user-name\">{{userData.nickName}}</view>\r\n\t\t\t\t<view class=\"user-phone\">{{userData.phone}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"user-img\">\r\n\t\t\t\t<u-avatar :src=\"userData.headImage\" size=\"160\"></u-avatar>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"user-handle\" v-for=\"(item, index) in handleList\" :key=\"index\" @click=\"goToHandle(item)\">\r\n\t\t\t<view class=\"handle-icon\">\r\n\t\t\t\t<u-image :src=\"item.icon\" mode=\"aspectFit\" width=\"28px\" height=\"28px\"></u-image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"handle-label\">{{item.label}}</view>\r\n\t\t\t<view class=\"handle-arrow\">\r\n\t\t\t\t<u-icon name=\"arrow-right\" color=\"#cccccc\" size=\"32\"></u-icon>\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</view>\r\n</template>\r\n\r\n<script>\r\n\tconst NET = require('@/utils/request')\r\n\tconst API = require('@/config/api')\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\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: 'evaluateList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'pingjia.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: 'extraLessonsList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'dingdanguanli.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: 'leaveLessonsList',\r\n\t\t\t\t\t\ticon: API.getServerImg + 'qingjia.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: 'ratioRank',\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: 'signList',\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: 'logout',\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]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\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},\r\n\t\tmethods: {\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'>\r\n\t@import \"@/static/css/themes.scss\";\r\n\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tfloat: left;\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&lang=scss&\"; 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&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631761874983\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":""}
|