sort
This commit is contained in:
parent
7d2d960a92
commit
a4cddb2242
|
|
@ -95,6 +95,9 @@
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
></el-cascader>
|
></el-cascader>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="排序">
|
||||||
|
<el-input-number style="width: 100%;" v-model="VideoContent.sort_str" :step="1" :min="0" step-strictly placeholder="排序"></el-input-number>
|
||||||
|
</el-form-item>
|
||||||
<form ref="vcExample" v-if="dialogType === 'new'">
|
<form ref="vcExample" v-if="dialogType === 'new'">
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
|
|
@ -213,6 +216,7 @@ const defaultVideo = {
|
||||||
description: "",
|
description: "",
|
||||||
category: "",
|
category: "",
|
||||||
mediaurl: "",
|
mediaurl: "",
|
||||||
|
sort_str:null,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -110,10 +110,9 @@
|
||||||
}
|
}
|
||||||
let bigHeight = document.getElementsByClassName('app-main')[0].clientHeight;
|
let bigHeight = document.getElementsByClassName('app-main')[0].clientHeight;
|
||||||
let topHeight = document.getElementsByClassName('typesButtons')[0].clientHeight;
|
let topHeight = document.getElementsByClassName('typesButtons')[0].clientHeight;
|
||||||
debugger;
|
|
||||||
console.log(topHeight);
|
console.log(topHeight);
|
||||||
debugger;
|
debugger;
|
||||||
let domHeight = bigHeight-170-topHeight;
|
let domHeight = bigHeight-200-topHeight;
|
||||||
document.getElementById('videoListWrap').style.height = domHeight + 'px';
|
document.getElementById('videoListWrap').style.height = domHeight + 'px';
|
||||||
// document.getElementById('videoListWrap').style.paddingTop = topHeight + 'px';
|
// document.getElementById('videoListWrap').style.paddingTop = topHeight + 'px';
|
||||||
},
|
},
|
||||||
|
|
@ -132,9 +131,6 @@
|
||||||
|
|
||||||
getListtype(a) {
|
getListtype(a) {
|
||||||
this.type = a.id;
|
this.type = a.id;
|
||||||
debugger;
|
|
||||||
console.log(a);
|
|
||||||
debugger;
|
|
||||||
if(a.children){
|
if(a.children){
|
||||||
this.hasLowerLevel = true;
|
this.hasLowerLevel = true;
|
||||||
this.subTypeOptions = a.children;
|
this.subTypeOptions = a.children;
|
||||||
|
|
@ -167,13 +163,11 @@
|
||||||
getDictList({type__code: "data_video",is_used:true}).then((res) => {
|
getDictList({type__code: "data_video",is_used:true}).then((res) => {
|
||||||
this.typeOptions = genTree(res.data);
|
this.typeOptions = genTree(res.data);
|
||||||
console.log(this.typeOptions);
|
console.log(this.typeOptions);
|
||||||
debugger;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
//跳转播放视频界面
|
//跳转播放视频界面
|
||||||
clickImg(a) {
|
clickImg(a) {
|
||||||
debugger;
|
|
||||||
if(this.type!==null){
|
if(this.type!==null){
|
||||||
let type = sessionStorage.getItem('videoType');
|
let type = sessionStorage.getItem('videoType');
|
||||||
if(type){
|
if(type){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue