'合并代码'

This commit is contained in:
fooperage
2023-02-12 20:19:04 +08:00
32 changed files with 2677 additions and 1253 deletions

View File

@@ -229,10 +229,10 @@
class="learnBgItem"
:style="{
border:
pathBgId === item.dictCode
pathBgId === item.code
? '2px solid rgba(78, 166, 255, 1)'
: '1px solid #C7CBD2',
'background-image': 'url(' + item.dictValue + ')',
'background-image': 'url(' + item.value + ')',
display: index >= 5 ? 'none' : 'flex',
}"
style="background-size: 100% 100%"
@@ -358,10 +358,10 @@
class="learnBgItem"
:style="{
border:
pathBgId === item.dictCode
pathBgId === item.code
? '2px solid rgba(78, 166, 255, 1)'
: '1px solid #ccc',
'background-image': 'url(' + item.dictValue + ')',
'background-image': 'url(' + item.value + ')',
display: index >= 5 ? 'none' : 'flex',
}"
style="background-size: 100% 100%"
@@ -685,14 +685,14 @@
<div
@click="chooseImg2(item)"
v-for="item in imgData"
:key="item.key"
:key="item.code"
class="learnBgItem"
:style="{
border:
pathBgId === item.id
pathBgId === item.code
? '2px solid rgba(78, 166, 255, 1)'
: '1px solid #ccc',
'background-image': 'url(' + item.source + ')',
'background-image': 'url(' + item.value + ')',
}"
>
<!-- <img class="im" :src="item.source" /> -->
@@ -894,13 +894,13 @@ export default {
};
const chooseImg = (item) => {
console.log(item);
state.pathBgId = item.dictCode;
state.pathBg = item.dictValue;
state.pathBgId = item.code;
state.pathBg = item.value;
};
const chooseImg2 = (item) => {
// console.log(item);
state.pathBgId = item.dictCode;
state.pathBg = item.dictValue;
state.pathBgId = item.code;
state.pathBg = item.value;
};
//发布弹窗
const showPub = (router) => {
@@ -1502,7 +1502,7 @@ export default {
// state.imgData = ;
// }
});
const imgData = computed(() => store.state.pathmapPic);
const imgData = computed(() => store.state.router_pic);
//添加权限
watch(
() => state.addAuthList,