index.js 665 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //import * as WxJsApi from '@/utils/wxJsApi.js'
  2. import * as API from '@/apis/index.js'
  3. import TabbarHr from '@/components/TabbarHr.vue'
  4. export default {
  5. data() {
  6. return {
  7. isReady:false,
  8. background: {
  9. backgroundColor: '#2295ff',
  10. },
  11. src1:'/static/img/news1.png',
  12. src2:'/static/img/news2.png',
  13. src3:'/static/img/news3.png',
  14. src4:'/static/img/news4.png',
  15. src5:'/static/img/news5.png'
  16. }
  17. },
  18. components: {
  19. TabbarHr
  20. },
  21. onLoad(op){
  22. //this.id=op.id;
  23. },
  24. methods: {
  25. },onReady(){
  26. this.isReady=true;
  27. },onShow(){
  28. if(this.isReady){
  29. }
  30. },
  31. }