mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 06:16:46 +08:00
'合并代码'
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user