index.js 617 B

1234567891011121314151617181920212223242526272829303132333435
  1. //import * as WxJsApi from '@/utils/wxJsApi.js'
  2. import * as API from '@/apis/index.js'
  3. import TabbarJob from '@/components/TabbarJob.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. }
  16. },
  17. components: {
  18. TabbarJob
  19. },
  20. onLoad(op){
  21. //this.id=op.id;
  22. },
  23. methods: {
  24. },onReady(){
  25. this.isReady=true;
  26. },onShow(){
  27. if(this.isReady){
  28. }
  29. },
  30. }