more.vue 702 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <view>
  3. <view class="modules">
  4. <homelist :title="form.titile" :limit="form.limit" :showType="form.showType" :list="form.list"
  5. :url="baseURL">
  6. </homelist>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import homelist from '@/components/homelist/homelist.vue'
  12. export default {
  13. name: 'Index',
  14. components: {
  15. homelist
  16. },
  17. data() {
  18. return {
  19. baseURL: this.$BASE_URL,
  20. form: {
  21. titile: null,
  22. limit: null,
  23. showType: null,
  24. list: null
  25. }
  26. }
  27. },
  28. onLoad() {
  29. this.form = uni.getStorageSync("moreData")
  30. },
  31. methods: {
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. image {
  37. padding: 0;
  38. margin: 0;
  39. }
  40. .modules{
  41. padding: 15rpx;
  42. }
  43. </style>