dwload.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div class="dwload">
  3. <toptip :currTitle="currTitle"></toptip>
  4. <template v-for="item in pageInfo">
  5. <img :src="'http://ca.liuniu946.com/'+item.coverimage" :alt="item.title" :key="item.id" style="width:100%">
  6. </template>
  7. </div>
  8. </template>
  9. <script>
  10. import { article_list, article_info } from "../../request/api";
  11. import toptip from "../../components/toptip";
  12. export default {
  13. metaInfo: {
  14. title: "单位会员入会申请表",
  15. },
  16. data() {
  17. return {
  18. currTitle: "单位会员入会申请表",
  19. pageInfo: []
  20. };
  21. },
  22. components: {
  23. toptip,
  24. },
  25. computed: {
  26. },
  27. created() {
  28. this.getDate()
  29. },
  30. methods: {
  31. getDate() {
  32. article_info({},69).then( ( { data: res } ) => {
  33. this.pageInfo.push(res.data)
  34. article_info({},70).then( ( { data: res } ) => {
  35. this.pageInfo.push(res.data)
  36. article_info({},71).then( ( { data: res } ) => {
  37. this.pageInfo.push(res.data)
  38. article_info({},72).then( ( { data: res } ) => {
  39. this.pageInfo.push(res.data)
  40. article_info({},73).then( ( { data: res } ) => {
  41. this.pageInfo.push(res.data)
  42. article_info({},74).then( ( { data: res } ) => {
  43. this.pageInfo.push(res.data)
  44. console.log(this.pageInfo)
  45. })
  46. })
  47. })
  48. })
  49. })
  50. })
  51. }
  52. },
  53. };
  54. </script>
  55. <style lang="scss" scoped>
  56. </style>