Update
This commit is contained in:
@@ -9,7 +9,7 @@ var backtotopTemplate = `
|
||||
</span>
|
||||
</div>`;
|
||||
|
||||
Vue.component('backtotop-component', {
|
||||
root.components['backtotop-component'] = {
|
||||
props: {
|
||||
visibleoffset: {
|
||||
type: [String, Number],
|
||||
@@ -50,4 +50,4 @@ Vue.component('backtotop-component', {
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -40,7 +40,7 @@ let paginationTemplate = `<div class="row">
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
Vue.component('pagination-component', {
|
||||
root.components['pagination-component'] = {
|
||||
template: paginationTemplate,
|
||||
data: function() {
|
||||
return {
|
||||
@@ -110,4 +110,4 @@ Vue.component('pagination-component', {
|
||||
return result;
|
||||
},
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ var tagsTemplate = `
|
||||
<div class="col">
|
||||
<div class="btn mb-1"><i class="fa fa-tags"></i></div>
|
||||
|
||||
<div class="btn btn-outline-success mb-1" v-on:click="showPanel(panels.standart)"><i class="fa fa-plus"></i></div>
|
||||
<div class="btn btn-outline-success mb-1" v-on:click="panel_show(panels.standart)"><i class="fa fa-plus"></i></div>
|
||||
|
||||
<div class="btn-group mr-2 mb-1" v-for="(tag, tagIdx) in sortedTags">
|
||||
<a class="btn btn-outline-secondary text-monospace" :href="'/tag/' + tag.id">{{ tag.name }}</a>
|
||||
@@ -73,7 +73,7 @@ var tagsTemplate = `
|
||||
<!-- Конец: Теги -->
|
||||
</div>`;
|
||||
|
||||
Vue.component('tags-component', {
|
||||
root.components['tags-component'] = {
|
||||
data: function() {
|
||||
return {
|
||||
newtag: '',
|
||||
@@ -225,7 +225,7 @@ Vue.component('tags-component', {
|
||||
}
|
||||
);
|
||||
},
|
||||
showPanel: function(panel) {
|
||||
panel_show: function(panel) {
|
||||
/* Показать/скрыть панель */
|
||||
panel.visible = !panel.visible;
|
||||
},
|
||||
@@ -259,4 +259,4 @@ Vue.component('tags-component', {
|
||||
return vm.tags;
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
1
myapp/static/js/vue.global.prod.js
Normal file
1
myapp/static/js/vue.global.prod.js
Normal file
File diff suppressed because one or more lines are too long
6
myapp/static/js/vue.min.js
vendored
6
myapp/static/js/vue.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user