|
|
@@ -21,7 +21,16 @@
|
|
|
@choose="choose($event)"
|
|
|
>
|
|
|
<transition-group>
|
|
|
- <div v-for="(item, i) in data.structure_select_list" :id="item.id" :key="'op' + i" class="option_one">
|
|
|
+ <div
|
|
|
+ class="option_one"
|
|
|
+ :id="item.id"
|
|
|
+ v-for="(item, i) in data.structure_select_list"
|
|
|
+ :key="'op' + i"
|
|
|
+ :style="{
|
|
|
+ background:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<img
|
|
|
:src="item.type === 'local' ? require('@/assets/structure/' + item.value) : item.value"
|
|
|
class="small-img"
|