mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add parent in thirdpartyrenderbox.vue
This commit is contained in:
parent
b84d0100e0
commit
01ff88074b
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tpartyparent" v-if="hasParent">
|
<div class="tpartyparent" v-if="hasParent">
|
||||||
<span class="name">
|
<span class="name">
|
||||||
{{ item.result.parent.text }}
|
> {{ item.result.parent.text }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,11 +28,18 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div v-if="hasParent">
|
||||||
|
<span class="name tparty-parent">
|
||||||
|
> {{ thirdparty.parent.text }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p v-if="this.options.addInfo === true" class="moreinfo">
|
<p v-if="this.options.addInfo === true" class="moreinfo">
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="item-col">
|
<div class="item-col">
|
||||||
<div class="float-button bottom">
|
<div class="float-button bottom">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
@ -87,11 +94,14 @@ export default {
|
|||||||
props: ['thirdparty', 'options'],
|
props: ['thirdparty', 'options'],
|
||||||
computed: {
|
computed: {
|
||||||
isMultiline: function() {
|
isMultiline: function() {
|
||||||
if(this.options.isMultiline){
|
if (this.options.isMultiline){
|
||||||
return this.options.isMultiline
|
return this.options.isMultiline
|
||||||
} else {
|
} else {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
hasParent() {
|
||||||
|
return !(this.$props.thirdparty.parent === null || this.$props.thirdparty.parent === undefined);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -102,6 +112,10 @@ export default {
|
|||||||
&:before{
|
&:before{
|
||||||
content: " "
|
content: " "
|
||||||
}
|
}
|
||||||
|
&.tparty-parent {
|
||||||
|
font-weight: bold;
|
||||||
|
font-variant: all-small-caps;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user