1 line
25 KiB
Plaintext
1 line
25 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/office/phy/HSLink/HSLink-app/pages/person-info-page/person-info-page.vue?4ce0","webpack:///D:/office/phy/HSLink/HSLink-app/pages/person-info-page/person-info-page.vue?b72c","webpack:///D:/office/phy/HSLink/HSLink-app/pages/person-info-page/person-info-page.vue?d677","webpack:///D:/office/phy/HSLink/HSLink-app/pages/person-info-page/person-info-page.vue?1682","uni-app:///pages/person-info-page/person-info-page.vue","webpack:///D:/office/phy/HSLink/HSLink-app/pages/person-info-page/person-info-page.vue?3f3f","webpack:///D:/office/phy/HSLink/HSLink-app/pages/person-info-page/person-info-page.vue?5e8c","webpack:///D:/office/phy/HSLink/HSLink-app/pages/components/avatar/avatar.vue?c648","webpack:///D:/office/phy/HSLink/HSLink-app/pages/components/avatar/avatar.vue?d2c2","webpack:///D:/office/phy/HSLink/HSLink-app/pages/components/avatar/avatar.vue?80a3","webpack:///D:/office/phy/HSLink/HSLink-app/pages/components/avatar/avatar.vue?62c4","uni-app:///pages/components/avatar/avatar.vue","webpack:///D:/office/phy/HSLink/HSLink-app/pages/components/avatar/avatar.vue?9eb5","webpack:///D:/office/phy/HSLink/HSLink-app/pages/components/avatar/avatar.vue?0537"],"names":["createPage","Page"],"mappings":"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","file":"pages/person-info-page/person-info-page.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/person-info-page/person-info-page.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./person-info-page.vue?vue&type=template&id=60f73f74&scoped=true&\"\nvar renderjs\nimport script from \"./person-info-page.vue?vue&type=script&lang=js&\"\nexport * from \"./person-info-page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./person-info-page.vue?vue&type=style&index=0&id=60f73f74&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../work/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 \"60f73f74\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/person-info-page/person-info-page.vue\"\nexport default component.exports","export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./person-info-page.vue?vue&type=template&id=60f73f74&scoped=true&\"","var components = {\n noData: function() {\n return import(\n /* webpackChunkName: \"components/noData/noData\" */ \"@/components/noData/noData.vue\"\n )\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 \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./person-info-page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./person-info-page.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"top\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t<avatar :userName=\"userInfo.real_name\" size=\"90\"></avatar>\n\t\t\t</view>\r\n\t\t\t<view class=\"user-info\">\r\n\t\t\t\t<view class=\"other-info\">\r\n\t\t\t\t\t<view class=\"follow\">\r\n\t\t\t\t\t\t<view class=\"one-top\">{{userInfo.followNumber}}</view>\r\n\t\t\t\t\t\t<view class=\"one-bottom\">关注</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"fans\">\r\n\t\t\t\t\t\t<view class=\"one-top\">{{userInfo.fansNumber}}</view>\r\n\t\t\t\t\t\t<view class=\"one-bottom\">粉丝</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"score\">\r\n\t\t\t\t\t\t<view class=\"one-top\">{{userInfo.integral}}</view>\r\n\t\t\t\t\t\t<view class=\"one-bottom\">积分</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"info-bottom\">\r\n\t\t\t\t\t<view class=\"follow-button\" v-if=\"userInfo.isFollow === 0\" @tap=\"addFollow(userInfo)\">关注</view>\r\n\t\t\t\t\t<view class=\"follow-button-ed\" v-if=\"userInfo.isFollow === 1\" @tap=\"cancelFollow(userInfo)\">已关注</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=\"middle\">\r\n\t\t\t<view class=\"cu-item content\">\r\n\t\t\t\t<textarea v-model=\"userInfo.signature\"\r\n\t\t\t\t\t\t\tauto-height=\"true\"\r\n\t\t\t\t\t\t\tmaxlength=2000\r\n\t\t\t\t\t\t\tdisabled=\"false\"\r\n\t\t\t\t></textarea>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<view class=\"noData\" v-if=\"noData === true\">\r\n\t\t\t\t<noData :custom=\"true\"><view class=\"title\" @tap=\"update()\">暂无数据,点击重新加载</view></noData>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"list cu-card article dynamic\" v-else-if=\"noData === false\">\r\n\t\t\t\t<view class=\"cu-item\" style=\"padding:0\" v-for=\"(item,index) in noticeList\" :key=\"index\" v-if=\"item.is_pass === '1'\">\r\n\t\t\t\t\t<view class=\"cu-list menu solid-bottom\" @click=\"goToDetails(item)\">\r\n\t\t\t\t\t\t<view class=\"cu-item arrow\" style=\"min-height: 90rpx;padding-top: 10rpx;\">\r\n\t\t\t\t\t\t\t<view class=\"action\">\r\n\t\t\t\t\t\t\t\t<view class=\"action\">\r\n\t\t\t\t\t\t\t\t\t<view class='cu-tag radius bg-orange light margin-right-xs' v-if=\"item.type === '校园通知'\">{{item.type}}</view>\r\n\t\t\t\t\t\t\t\t\t<view class='cu-tag radius bg-blue light margin-right-xs' v-if=\"item.type === '家长建议'\">{{item.type}}</view>\r\n\t\t\t\t\t\t\t\t\t<view class='cu-tag radius bg-green light margin-right-xs' v-if=\"item.type === '学生想法'\">{{item.type}}</view>\r\n\t\t\t\t\t\t\t\t\t<text class=\"text-black text-lg\">{{item.title}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text-content\" style=\"margin:10rpx 0 0 0;\">\r\n\t\t\t\t\t\t<text class=\"text-gray\">文章标签:</text>\r\n\t\t\t\t\t\t<text class=\"\">{{item.label}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text-content\" style=\"margin:10rpx 0 0 0;\">\r\n\t\t\t\t\t\t<text class=\"text-gray\">发表时间:</text>\r\n\t\t\t\t\t\t<text class=\"\">{{item.release_time}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\r\n\timport request from '@/util/request.js';\r\n\timport noData from '@/components/noData/noData.vue';\r\n\timport { sortBy } from '@/static/js/public.js';\t\r\n\timport avatar from \"@/pages/components/avatar/avatar.vue\";\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tnoData,\r\n\t\t\tavatar\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\t//用户ID\n\t\t\t\tuserId: '',\r\n\t\t\t\t//用户信息\r\n\t\t\t\tuserInfo: {},\r\n\t\t\t\t//无数据\r\n\t\t\t\tnoData: false,\r\n\t\t\t\t//个人文章列表\r\n\t\t\t\tnoticeList: [],\n\t\t\t}\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.userId = option.userId;\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getUserInfo();\r\n\t\t},\r\n\t\tonPullDownRefresh () {\r\n\t\t\tthis.getUserInfo();\r\n\t\t},\r\n\t\tonNavigationBarButtonTap() {\r\n\t\t\tuni.setStorageSync(\"otherInfo\",this.userInfo);\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/tabbar/message/chat-page\"\r\n\t\t\t})\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t/**\r\n\t\t\t * 加关注\r\n\t\t\t * @param {Object} userInfo\r\n\t\t\t */\n\t\t\taddFollow(userInfo) {\r\n\t\t\t\trequest.post(\"/hs/addFollow\",{\r\n\t\t\t\t\tuserId: uni.getStorageSync(\"userInfo\").user_id,\r\n\t\t\t\t\tfollowId: userInfo.user_id\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tthis.getUserInfo();\r\n\t\t\t\t\tconsole.log(\"加关注\",res)\r\n\t\t\t\t},err => {\r\n\t\t\t\t\tconsole.log(\"err\",err)\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 取消关注\r\n\t\t\t * @param {Object} userInfo\r\n\t\t\t */\r\n\t\t\tcancelFollow(userInfo) {\r\n\t\t\t\tlet _this = this;\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\ttitle: \"取消关注\",\r\n\t\t\t\t\tcontent: \"确认取消关注?\",\r\n\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\trequest.post(\"/hs/cancelFollow\",{\r\n\t\t\t\t\t\t\t\tuserId: uni.getStorageSync(\"userInfo\").user_id,\r\n\t\t\t\t\t\t\t\tfollowId: userInfo.user_id\r\n\t\t\t\t\t\t\t}).then(res => {\r\n\t\t\t\t\t\t\t\t_this.getUserInfo();\r\n\t\t\t\t\t\t\t\tconsole.log(\"取消关注\",res)\r\n\t\t\t\t\t\t\t},err => {\r\n\t\t\t\t\t\t\t\tconsole.log(\"err\",err)\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})\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 跳转详情页面\r\n\t\t\t * @param {Object} item\r\n\t\t\t */\r\n\t\t\tgoToDetails(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/tabbar/homepage/data-details?noticeId='+item.id\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 获取个人信息\r\n\t\t\t */\n\t\t\tgetUserInfo() {\r\n\t\t\t\trequest.post(\"/hs/getPersonalInfo\",{\r\n\t\t\t\t\tuserId: uni.getStorageSync(\"userInfo\").user_id,\r\n\t\t\t\t\treleaseId: this.userId\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tuni.startPullDownRefresh();\r\n\t\t\t\t\tconsole.log(\"个人信息\",res);\r\n\t\t\t\t\tthis.userInfo = res.data.personalInfo;\r\n\t\t\t\t\tthis.userInfo.headerPhoto = this.userInfo.real_name.slice(0,1);\r\n\t\t\t\t\tthis.noticeList = res.data.personalList;\r\n\t\t\t\t\tthis.noData = res.data.personalList.length === 0 ? true : false;\r\n\t\t\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\t\t\ttitle: this.userInfo.real_name\r\n\t\t\t\t\t})\r\n\t\t\t\t},err => {\r\n\t\t\t\t\tconsole.log(\"err\",err);\r\n\t\t\t\t}) \r\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scoped>\r\n\t.middle{\r\n\t\tpadding-bottom: 20rpx;\r\n\t\tborder-bottom: 1rpx solid rgba(18,150,219,0.5);\r\n\t}\r\n\t.cu-item{\r\n\t\tbackground-color: #cfcfcf!important;\r\n\t\tmargin: 16rpx 0!important;\r\n\t}\r\n\t.follow-button-ed{\r\n\t\twidth: 80%;\r\n\t\tborder: 1rpx solid #969696;\r\n\t\tcolor: #8d8d8d;\r\n\t\ttext-align: center;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\t.top .left{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n\t.info-bottom{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tmargin-bottom: 10rpx;\r\n\t}\r\n\t.follow-button{\r\n\t\tcolor: #FFFFFF;\r\n\t\twidth: 80%;\r\n\t\tbackground-color: #269FDE;\r\n\t\ttext-align: center;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\t.grade .r, .grade .l{\r\n\t\tfont-size: 14rpx;\r\n\t\tpadding: 5rpx;\r\n\t\tborder-radius: 5rpx;\r\n\t}\r\n\t.grade .l{\r\n\t\tbackground-color: #9DC75F;\r\n\t}\r\n\t.grade .r{\r\n\t\tbackground-color: #2D5315;\r\n\t}\r\n\t.user-info view{\r\n\t\tpadding: 10rpx 10rpx;\r\n\t}\r\n\t.other-info .one-top, .other-info .one-bottom{\r\n\t\ttext-align: center;\r\n\t}\r\n\t.other-info{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding: 20rpx 40rpx;\r\n\t\tcolor: #9a9a9a;\r\n\t\tfont-size: 30rpx;\r\n\t}\r\n\t.info-top{\r\n\t\tdisplay: flex;\r\n\t\tflex-flow: nowrap;\r\n\t\tcolor: #7f7f7f;\r\n\t}\r\n\t.user-info{\r\n\t\tdisplay: flex;\r\n\t\tflex-flow: column;\r\n\t\tjustify-content: center;\r\n\t\tborder-radius: 10rpx;\r\n\t\twidth: 70%;\r\n\t\tfont-size: 32rpx;\r\n\t}\r\n\t.content {\r\n\t\tbackground-color: #F1F1F1;\r\n\t\twidth: 100%;\r\n\t\tpadding: 20rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\ttextarea{\r\n\t\tline-height: 1.5;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\t.top{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t}\r\n\t.page{\r\n\t\tpadding: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-flow: column;\r\n\t\tbackground-color: #FFFFFF;\r\n\t}\n</style>\n","import mod from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./person-info-page.vue?vue&type=style&index=0&id=60f73f74&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./person-info-page.vue?vue&type=style&index=0&id=60f73f74&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1602301329260\n var cssReload = require(\"D:/office/work/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 ","import { render, staticRenderFns, recyclableRender, components } from \"./avatar.vue?vue&type=template&id=5356d7e2&scoped=true&\"\nvar renderjs\nimport script from \"./avatar.vue?vue&type=script&lang=js&\"\nexport * from \"./avatar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./avatar.vue?vue&type=style&index=0&id=5356d7e2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../work/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 \"5356d7e2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/components/avatar/avatar.vue\"\nexport default component.exports","export * from \"-!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./avatar.vue?vue&type=template&id=5356d7e2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.userName.slice(0, 1)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./avatar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./avatar.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<!-- <view class=\"cu-avatar round\" :style=\"size\" style=\"background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg)\"></view> -->\r\n\t\t<view class=\"header-photo\" :style=\"photoStyle\">\r\n\t\t\t{{userName.slice(0,1)}}\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\r\n\t\tprops: {\r\n\t\t\tsize: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"90\"\r\n\t\t\t},\r\n\t\t\tuserId: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"\"\r\n\t\t\t},\r\n\t\t\tuserName: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"H\"\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tphotoStyle() {\r\n\t\t\t\treturn `font-size: ${this.size}rpx; width: ${2*this.size}rpx; height: ${2*this.size}rpx; line-height: ${2*this.size}rpx;`\r\n\t\t\t}\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style scoped>\r\n\t.header-photo{\r\n\t\tbackground-image: url(\"@/static/img/photo-bc.jpg\");\r\n\t\tbackground-size: 100% 100%;\r\n\t\tfont-family: \"宋体\";\r\n\t\tcolor: #FFFFFF;\r\n\t\tborder-radius: 50%;\r\n\t\ttext-align: center;\r\n\t\tmargin: 20rpx;\r\n\t}\n</style>\n","import mod from \"-!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./avatar.vue?vue&type=style&index=0&id=5356d7e2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./avatar.vue?vue&type=style&index=0&id=5356d7e2&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1602301331070\n var cssReload = require(\"D:/office/work/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":""} |