com-stack.vue 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!-- 第一行统计数据 -->
  2. <template>
  3. <div>
  4. <div class="btn-box">
  5. <el-popover placement="top-start" trigger="hover">
  6. <el-button slot="reference" type="primary" size="small"
  7. @click="sa.open('https://jq.qq.com/?_wv=1027&k=NNBSOkeA')">QQ群(310293485)
  8. </el-button>
  9. <div style="text-align: center;">
  10. <img src="http://dev33-yxzj.oss-cn-beijing.aliyuncs.com/dyc/img/2020/01/17/157924554064970545739.png"
  11. style="width: 150px; height: 150px;">
  12. </div>
  13. </el-popover>
  14. <el-button type="success" size="small" @click="sa.open('https://github.com/click33/sa-admin')">GitHub 地址 (求star)
  15. </el-button>
  16. <el-button type="danger" size="small" @click="sa.open('https://gitee.com/click33/sa-admin')">Gitee 地址</el-button>
  17. <!-- <el-button type="info" size="small" @click="sa_admin.showMenuById('1-11')">意见吐槽</el-button> -->
  18. <el-button type="info" size="small" @click="sa.open('http://sa-app.dev33.cn/wall.html?name=sa-admin')">需求征集
  19. </el-button>
  20. <el-popover placement="top-start" trigger="hover">
  21. <el-button slot="reference" type="warning" size="small">打赏</el-button>
  22. <div style="text-align: center;">
  23. <h3 style="margin-bottom: 14px;">请作者喝杯咖啡</h3>
  24. <img src="http://oss.dev33.cn/sa-admin/ds-zfb.jpg" style="width: 150px; height: 150px; cursor: pointer;"
  25. @click="sa.showImage('http://oss.dev33.cn/sa-admin/ds-zfb.jpg', '400px', '400px')"/>
  26. <img src="http://oss.dev33.cn/sa-admin/ds-wx.jpg" style="width: 150px; height: 150px; cursor: pointer;"
  27. @click="sa.showImage('http://oss.dev33.cn/sa-admin/ds-wx.jpg', '400px', '400px')"/>
  28. </div>
  29. </el-popover>
  30. </div>
  31. <div>
  32. <el-table ref="data-table" :data="frameList" size="small" border>
  33. <el-table-column label="技术栈" prop="name"></el-table-column>
  34. <el-table-column label="框架" prop="value"></el-table-column>
  35. <el-table-column label="链接">
  36. <template slot-scope="s">
  37. <el-link type="primary" :href="s.row.link" target="_blank">{{ s.row.link }}</el-link>
  38. </template>
  39. </el-table-column>
  40. </el-table>
  41. </div>
  42. </div>
  43. </template>
  44. <script>
  45. module.exports = {
  46. data() {
  47. return {
  48. // 技术栈集合
  49. frameList: [
  50. {name: '基础框架', value: 'Vue @2.6.10', link: 'https://cn.vuejs.org/'},
  51. {name: 'UI框架', value: 'Element-UI @2.13.0', link: 'https://element.eleme.cn/#/zh-CN'},
  52. {name: 'web弹层', value: 'layer @3.1.1', link: 'http://layer.layui.com/'},
  53. {name: '图表引擎', value: 'ECharts @4.2.1', link: 'https://echarts.baidu.com/'},
  54. {name: '富文本编辑器', value: 'wangEditor @3.1.1', link: 'http://www.wangeditor.com/'},
  55. ],
  56. }
  57. },
  58. methods: {},
  59. created() {
  60. }
  61. }
  62. </script>
  63. <style scoped>
  64. .btn-box {
  65. margin-bottom: 4px;
  66. }
  67. .btn-box .el-button {
  68. margin-bottom: 10px;
  69. }
  70. </style>