慧治理设置完毕
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user