style:table渲染图片 修改弹窗类名

This commit is contained in:
songwc
2022-10-20 10:51:25 +08:00
parent fd063e6ff4
commit ab652a0924
6 changed files with 322 additions and 290 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -95,6 +95,7 @@
centered="true"
v-model:visible="out"
:footer="null"
wrapClassName="CreatePath"
>
<div class="out">
<div class="top">
@@ -534,6 +535,13 @@ export default {
};
</script>
<style lang="scss">
.clearfix:before,
.clearfix:after {
content: " ";
display: block;
clear: both;
}
.CreatePath {
.ant-modal {
width: 680px !important;
height: 528px !important;
@@ -715,11 +723,6 @@ export default {
}
}
}
.clearfix:before,
.clearfix:after {
content: " ";
display: block;
clear: both;
}
.learningPath {
width: 100%;

View File

@@ -29,6 +29,7 @@
centered="true"
:footer="null"
:closable="clos"
wrapClassName="AddLevel"
>
<div class="header">
<div class="headmain">
@@ -310,7 +311,7 @@
<div class="draw" style="position: relative">
<a-drawer
v-model:visible="visible"
class="drawerStyle"
class="drawerStyle ProjectDrawer"
title="关联项目"
placement="right"
width="80%"
@@ -322,7 +323,7 @@
<img
style="width: 29px; height: 29px; cursor: pointer"
src="../../assets/images/basicinfo/close.png"
@click="showDrawer"
@click="closeDrawer"
/>
</div>
<div class="drawerbox">
@@ -648,6 +649,9 @@ export default {
const showDrawer = () => {
state.visible = true;
};
const closeDrawer = () => {
state.visible = false;
};
const showModal = () => {
state.modal = true;
};
@@ -802,6 +806,7 @@ export default {
selectProjectName2,
tableDataFunc,
showDrawer,
closeDrawer,
showModal,
closeModal,
afterVisibleChange,
@@ -819,6 +824,7 @@ export default {
display: block;
clear: both;
}
.AddLevel {
.ant-modal {
width: 624px !important;
height: 388px !important;
@@ -954,16 +960,17 @@ export default {
}
}
}
.drawerStyle {
.ant-drawer-content-wrapper {
// max-width: 1000px;
.ant-drawer-header {
display: none !important;
}
.ant-drawer-body {
padding: 0;
}
}
.ProjectDrawer {
// .ant-drawer-content-wrapper {
// .ant-drawer-header {
// display: none !important;
// }
// .ant-drawer-body {
// padding: 0;
// }
// }
.drawerMain {
min-width: 600px;
margin: 0px 32px 0px 32px;

View File

@@ -1485,6 +1485,28 @@ export default {
width: 50,
align: "center",
className: "h",
customRender: (text) => {
if (text.record.rank == "1") {
return (
<div
style={{
width: 24,
height: 24,
backgroundImage:
"url(" +
require("../../assets/images/taskpage/one.png") +
")",
}}
>fewfwe</div>
);
} else if (text.record.rank == "2") {
return <div>ggg</div>;
} else if (text.record.rank == "3") {
return <div>ggg</div>;
} else {
return <div>{text.record.rank}</div>;
}
},
},
{
title: "名称",