'use strict';
Vue.component('c-header', {
template: `
`,
data:function(){
return {
list:formList
}
},
methods:{
onStateCreateProperties( type, inh ) {
let ret;
switch( type ){
case 'href':
ret = '../' + inh + '/';
break;
case 'svg1':
ret = '../common/images/nav_img_0' + ( inh + 1 ) + '.jpg';
break;
case 'svg2':
ret = '../common/images/txt_' + inh + '.svg';
break;
}
return ret;
}
}
});
Vue.component('c-aside', {
template: `
`,
data:function(){
return {
news:formList.news
}
}
});
Vue.component('c-footer', {
template: `
`
});