1234567891011121314151617181920212223242526 |
- define(['vue', 'component', 'ELEMENT'], function (Vue, component, ELEMENT) {
- var Controller = {
- index: function () {
- Vue.use(component);
- Vue.use(ELEMENT);
- var Main = {
- el: '#subscribe',
- data() {
- return {
- // state: 'normal',
- // sub_type: 1,
- // text_tip_word: '欢迎',
- // news: [],
- // text: [],
- // kandian: 20,
- // gzhName: 'nihao',
- // sign_txt: '签到',
- // sign_type: 1
- }
- }
- };
- new Vue(Main)
- }
- };
- return Controller;
- });
|