慧治理设置完毕

This commit is contained in:
aixianling
2022-09-05 11:08:44 +08:00
parent 1ae777d0d5
commit efc537a45b
2 changed files with 63 additions and 25 deletions

View File

@@ -1,7 +1,9 @@
<template>
<section class="AiSelectCard" flex>
<div class="checkCard" v-for="op in list" :key="op[props.value]" :class="{checked:op.dictValue==value}">
<el-image :src="op.thumb"/>
<el-image :src="op.thumb">
<div class="defaultThumb" slot="error"/>
</el-image>
<el-row type="flex" class="bottomPane">
<b class="label fill" v-text="op[props.label]"/>
<el-button type="text" @click.stop="$emit('change',op[props.value])">使用</el-button>
@@ -51,6 +53,10 @@ export default {
user-select: none;
}
& > .el-image {
width: inherit;
}
&.checked:before {
position: absolute;
content: "应用中";
@@ -69,6 +75,15 @@ export default {
padding: 0 16px;
border-top: 1px solid #eee;
}
.defaultThumb {
background-image: url("https://cdn.cunwuyun.cn/theme/thumb/web_blue.png");
background-repeat: no-repeat;
background-position: center;
background-size: 360px 206px;
width: inherit;
height: 206px;
}
}
}
</style>