mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
提交
This commit is contained in:
@@ -315,32 +315,20 @@
|
|||||||
centered="true"
|
centered="true"
|
||||||
v-model:visible="learnBgMore"
|
v-model:visible="learnBgMore"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
|
:width="650"
|
||||||
wrapClassName="learnBgMoreModal"
|
wrapClassName="learnBgMoreModal"
|
||||||
:z-index="9999"
|
:z-index="9999"
|
||||||
>
|
>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<div class="topc">路径图背景</div>
|
<div class="topc">封面图</div>
|
||||||
<div @click="closeLearnBgMore">
|
|
||||||
<img
|
|
||||||
style="width: 20px; height: 20px"
|
|
||||||
src="../../assets/images/basicinfo/close.png"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="imagesBox">
|
<div class="imagesBox">
|
||||||
<div
|
<div
|
||||||
@click="chooseImg2(item)"
|
@click="() => (projectInfo.picUrl = src.value)"
|
||||||
v-for="item in projectPic"
|
v-for="item in projectPic"
|
||||||
:key="item.code"
|
:key="item.code"
|
||||||
class="learnBgItem"
|
class="learnBgItem"
|
||||||
:style="{
|
|
||||||
border:
|
|
||||||
pathBgId === item.code
|
|
||||||
? '2px solid rgba(78, 166, 255, 1)'
|
|
||||||
: '1px solid #ccc',
|
|
||||||
'background-image': 'url(' + item.value.split(',')[0] + ')',
|
|
||||||
}"
|
|
||||||
>
|
>
|
||||||
<!-- <img class="im" :src="item.source" /> -->
|
<!-- <img class="im" :src="item.source" /> -->
|
||||||
</div>
|
</div>
|
||||||
@@ -613,6 +601,12 @@ export default {
|
|||||||
function calendarChange(date, dateStr, partial) {
|
function calendarChange(date, dateStr, partial) {
|
||||||
state.datePartial = partial
|
state.datePartial = partial
|
||||||
}
|
}
|
||||||
|
const chooseImg2 = (item) => {
|
||||||
|
// console.log(item);
|
||||||
|
state.pathBgId = item.code;
|
||||||
|
state.pathBg = item.value.split(',')[0];
|
||||||
|
state.mobilePicUrl = item.value.split(',')[1];
|
||||||
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
@@ -627,7 +621,8 @@ export default {
|
|||||||
templateScroll,
|
templateScroll,
|
||||||
handleChangeSelect,
|
handleChangeSelect,
|
||||||
showLearnBgMore,
|
showLearnBgMore,
|
||||||
closeLearnBgMore
|
closeLearnBgMore,
|
||||||
|
chooseImg2
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -807,6 +802,33 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
// height: 40px;
|
// height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 33%;
|
||||||
|
margin-top: 30px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
|
||||||
|
.samtn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
font-size: 14px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #4ea6ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn2 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.filebox {
|
.filebox {
|
||||||
@@ -948,26 +970,97 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.imagesBox {
|
|
||||||
display: flex;
|
|
||||||
// justify-content: space-between;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
padding-left: 51px;
|
|
||||||
padding-right: 39px;
|
|
||||||
margin-top: 20px;
|
|
||||||
height: 350px;
|
|
||||||
overflow-y: auto;
|
|
||||||
|
|
||||||
.learnBgItem {
|
.learnBgMoreModal {
|
||||||
border-radius: 8px;
|
.ant-modal {
|
||||||
width: 136px;
|
width: 680px !important;
|
||||||
height: 106px;
|
height: 528px !important;
|
||||||
background-size: 100%;
|
|
||||||
background-repeat: no-repeat;
|
.ant-modal-content {
|
||||||
margin-bottom: 20px;
|
width: 680px !important;
|
||||||
margin-right: 10px;
|
height: 528px !important;
|
||||||
|
|
||||||
|
.ant-modal-body {
|
||||||
|
width: 680px !important;
|
||||||
|
height: 528px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
|
||||||
|
.main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.top {
|
||||||
|
padding-left: 51px;
|
||||||
|
padding-right: 51px;
|
||||||
|
padding-top: 28px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
.topc {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #000000;
|
||||||
|
line-height: 36px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.imagesBox {
|
||||||
|
display: flex;
|
||||||
|
// justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
padding-left: 51px;
|
||||||
|
padding-right: 39px;
|
||||||
|
margin-top: 20px;
|
||||||
|
height: 350px;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
|
.learnBgItem {
|
||||||
|
border-radius: 8px;
|
||||||
|
width: 136px;
|
||||||
|
height: 106px;
|
||||||
|
background-size: 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 30px;
|
||||||
|
margin-top: 30px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
.samtn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
font-size: 14px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #4ea6ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn2 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #fff;
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn1 {
|
.btn1 {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #4ea6ff;
|
color: #4ea6ff;
|
||||||
|
|||||||
Reference in New Issue
Block a user