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