com-stack.vue 2.8 KB

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