subscribe.js 811 B

1234567891011121314151617181920212223242526
  1. define(['vue', 'component', 'ELEMENT'], function (Vue, component, ELEMENT) {
  2. var Controller = {
  3. index: function () {
  4. Vue.use(component);
  5. Vue.use(ELEMENT);
  6. var Main = {
  7. el: '#subscribe',
  8. data() {
  9. return {
  10. // state: 'normal',
  11. // sub_type: 1,
  12. // text_tip_word: '欢迎',
  13. // news: [],
  14. // text: [],
  15. // kandian: 20,
  16. // gzhName: 'nihao',
  17. // sign_txt: '签到',
  18. // sign_type: 1
  19. }
  20. }
  21. };
  22. new Vue(Main)
  23. }
  24. };
  25. return Controller;
  26. });