执行过npm install命令的vue-element-admin源码
康凯
2022-05-20 aa4c235a8ca67ea8b731f90c951a465e92c0a865
1
{"remainingRequest":"D:\\源码\\vue-element-admin-master\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\源码\\vue-element-admin-master\\src\\views\\dashboard\\editor\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\源码\\vue-element-admin-master\\src\\views\\dashboard\\editor\\index.vue","mtime":1649647926000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\源码\\vue-element-admin-master\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCB7IG1hcEdldHRlcnMgfSBmcm9tICd2dWV4JwppbXBvcnQgUGFuVGh1bWIgZnJvbSAnQC9jb21wb25lbnRzL1BhblRodW1iJwppbXBvcnQgR2l0aHViQ29ybmVyIGZyb20gJ0AvY29tcG9uZW50cy9HaXRodWJDb3JuZXInCgpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZTogJ0Rhc2hib2FyZEVkaXRvcicsCiAgY29tcG9uZW50czogeyBQYW5UaHVtYiwgR2l0aHViQ29ybmVyIH0sCiAgZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIGVtcHR5R2lmOiAnaHR0cHM6Ly93cGltZy53YWxsc3Rjbi5jb20vMGUwM2I3ZGEtZGI5ZS00ODE5LWJhMTAtOTAxNmRkZmRhZWQzJwogICAgfQogIH0sCiAgY29tcHV0ZWQ6IHsKICAgIC4uLm1hcEdldHRlcnMoWwogICAgICAnbmFtZScsCiAgICAgICdhdmF0YXInLAogICAgICAncm9sZXMnCiAgICBdKQogIH0KfQo="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAoBA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/views/dashboard/editor","sourcesContent":["<template>\n  <div class=\"dashboard-editor-container\">\n    <div class=\" clearfix\">\n      <pan-thumb :image=\"avatar\" style=\"float: left\">\n        Your roles:\n        <span v-for=\"item in roles\" :key=\"item\" class=\"pan-info-roles\">{{ item }}</span>\n      </pan-thumb>\n      <github-corner style=\"position: absolute; top: 0px; border: 0; right: 0;\" />\n      <div class=\"info-container\">\n        <span class=\"display_name\">{{ name }}</span>\n        <span style=\"font-size:20px;padding-top:20px;display:inline-block;\">Editor's Dashboard</span>\n      </div>\n    </div>\n    <div>\n      <img :src=\"emptyGif\" class=\"emptyGif\">\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex'\nimport PanThumb from '@/components/PanThumb'\nimport GithubCorner from '@/components/GithubCorner'\n\nexport default {\n  name: 'DashboardEditor',\n  components: { PanThumb, GithubCorner },\n  data() {\n    return {\n      emptyGif: 'https://wpimg.wallstcn.com/0e03b7da-db9e-4819-ba10-9016ddfdaed3'\n    }\n  },\n  computed: {\n    ...mapGetters([\n      'name',\n      'avatar',\n      'roles'\n    ])\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n  .emptyGif {\n    display: block;\n    width: 45%;\n    margin: 0 auto;\n  }\n\n  .dashboard-editor-container {\n    background-color: #e3e3e3;\n    min-height: 100vh;\n    padding: 50px 60px 0px;\n    .pan-info-roles {\n      font-size: 12px;\n      font-weight: 700;\n      color: #333;\n      display: block;\n    }\n    .info-container {\n      position: relative;\n      margin-left: 190px;\n      height: 150px;\n      line-height: 200px;\n      .display_name {\n        font-size: 48px;\n        line-height: 48px;\n        color: #212121;\n        position: absolute;\n        top: 25px;\n      }\n    }\n  }\n</style>\n"]}]}