flx:修复bug
This commit is contained in:
parent
e57b69ae29
commit
7703b58530
Binary file not shown.
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 114 KiB |
BIN
src/assets/images/smartPartyBuilding/classification_bg1.png
Normal file
BIN
src/assets/images/smartPartyBuilding/classification_bg1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
@ -18,7 +18,7 @@
|
|||||||
<div></div>
|
<div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">{{ item.classificationName || " " }}</div>
|
<div class="title">{{ item.classificationName || " " }}</div>
|
||||||
<div class="time">{{ item.children instanceof Array && item.children.length > 0 ? 2 : 1 }}</div>
|
<div class="time">{{ item.children instanceof Array && item.children.length > 0 ? item.children.length : 1 }}</div>
|
||||||
</div>
|
</div>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
<div class="notoDta" v-else>
|
<div class="notoDta" v-else>
|
||||||
@ -91,12 +91,15 @@ const onListActive = (item: any, type: number) => {
|
|||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
partyInfo.frameworkFlag = true;
|
partyInfo.frameworkFlag = true;
|
||||||
partyInfo.classificationId = item.id;
|
partyInfo.classificationId = item.id;
|
||||||
|
loadChildrenInfo.partyList = [];
|
||||||
|
loadWorkInfo.partyList = [];
|
||||||
emits("openDialog", 99);
|
emits("openDialog", 99);
|
||||||
loadChildrenInfo.pageNo = 1;
|
loadChildrenInfo.pageNo = 1;
|
||||||
getPartyConstruction();
|
getPartyConstruction();
|
||||||
} else if (type == 2) {
|
} else if (type == 2) {
|
||||||
loadChildrenInfo.classificationId = item.id;
|
loadChildrenInfo.classificationId = item.id;
|
||||||
loadWorkInfo.pageNo = 1;
|
loadWorkInfo.pageNo = 1;
|
||||||
|
loadWorkInfo.partyList = [];
|
||||||
getPartyConstructionMember();
|
getPartyConstructionMember();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -72,21 +72,25 @@ const videoInfo = reactive({
|
|||||||
secondTime: 0
|
secondTime: 0
|
||||||
});
|
});
|
||||||
const getLiveScreenDanmuList = async () => {
|
const getLiveScreenDanmuList = async () => {
|
||||||
let data = {
|
// let data = {
|
||||||
projectSn: store.sn,
|
// projectSn: store.sn,
|
||||||
pageNo: 1,
|
// pageNo: 1,
|
||||||
pageSize: 2,
|
// pageSize: 2,
|
||||||
userId: store.userId
|
// userId: store.userId
|
||||||
};
|
// };
|
||||||
const res: any = await getLiveScreenDanmuPage(data, true);
|
// const res: any = await getLiveScreenDanmuPage(data, true);
|
||||||
if (res.result) {
|
// if (res.result) {
|
||||||
// console.log("我是弹幕", res.result.records);
|
// // console.log("我是弹幕", res.result.records);
|
||||||
videoInfo.barrageString = res.result.records[0].content;
|
// videoInfo.barrageString = res.result.records[0].content;
|
||||||
|
// const htmlText = videoInfo.barrageString.replace(/<[^>]*>/g, "");
|
||||||
|
// videoInfo.secondTime = Math.ceil(htmlText.length / 1.2);
|
||||||
|
// // console.log(videoInfo.secondTime);
|
||||||
|
// // videoInfo.videoList = res.result.records;
|
||||||
|
// }
|
||||||
|
videoInfo.barrageString =
|
||||||
|
'<p><span style="font-family: 宋体;">项目党建工作理念:党建统领、思想铸魂、安全铸基、质量铸根、人才铸本</span></p>';
|
||||||
const htmlText = videoInfo.barrageString.replace(/<[^>]*>/g, "");
|
const htmlText = videoInfo.barrageString.replace(/<[^>]*>/g, "");
|
||||||
videoInfo.secondTime = Math.ceil(htmlText.length / 1.2);
|
videoInfo.secondTime = Math.ceil(htmlText.length / 1.2);
|
||||||
// console.log(videoInfo.secondTime);
|
|
||||||
// videoInfo.videoList = res.result.records;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getPromoteVideo();
|
getPromoteVideo();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user