提交 27899780 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新

上级 84875384
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
>.ivu-card-body { >.ivu-card-body {
padding: 20px 5px 10px 5px; padding: 20px 5px 10px 5px;
} }
>.ivu-card-extra {
right: 20px;
display: flex;
.app-button {
margin-left: 4px;
}
}
&.app-group-collapse-content { &.app-group-collapse-content {
>.ivu-card-head { >.ivu-card-head {
color: var(--app-color-gray-200); color: var(--app-color-gray-200);
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<span :class="titleClass">{{caption}}</span> <span :class="titleClass">{{caption}}</span>
</span> </span>
<template v-if="uiActionGroup"> <template v-if="uiActionGroup">
<a slot='extra'> <template slot='extra'>
<template v-if="uiActionGroup.extractMode && Object.is(uiActionGroup.extractMode, 'ITEMS')"> <template v-if="uiActionGroup.extractMode && Object.is(uiActionGroup.extractMode, 'ITEMS')">
<dropdown :transfer="true" trigger='click'> <dropdown :transfer="true" trigger='click'>
<a href='javascript:void(0)'> <a href='javascript:void(0)'>
...@@ -55,37 +55,19 @@ ...@@ -55,37 +55,19 @@
</dropdown> </dropdown>
</template> </template>
<template v-if="!(uiActionGroup.extractMode && Object.is(uiActionGroup.extractMode, 'ITEMS'))"> <template v-if="!(uiActionGroup.extractMode && Object.is(uiActionGroup.extractMode, 'ITEMS'))">
<span class='item-extract-mode'>
<template v-if="uiActionGroup.details && Array.isArray(uiActionGroup.details)"> <template v-if="uiActionGroup.details && Array.isArray(uiActionGroup.details)">
<div v-for="(detail,index) in uiActionGroup.details" :key="index"> <app-button
<span v-show="detail.visabled" :style="{'pointer-events':detail.disabled?'none':'auto','color':detail.disabled?'#7b7979':'#2d8cf0'}" class='item' @click="doUIAction($event, detail)"> v-for="(detail,index) in uiActionGroup.details"
<template v-if="detail.isShowIcon"> :key="index"
<template v-if="detail.icon && !Object.is(detail.icon, '')"> type="primary"
<i :class="detail.icon"></i> :showIcon="detail.isShowIcon"
</template> :iconClass="detail.icon"
<template v-if="!(detail.icon && !Object.is(detail.icon, ''))"> @click="doUIAction($event, detail)"
<div v-if="detail.img && !Object.is(detail.img, '')"> :caption="uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, '') ? $t(`${uiActionGroup.langbase}.uiactions.${detail.uiactiontag}`) : detail.caption">
<img :src="detail.img" /> </app-button>
</div>
</template>
</template>
&nbsp;
<span>
<template v-if="detail.isShowCaption">
<template v-if="uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, '')">
{{$t(`${uiActionGroup.langbase}.uiactions.${detail.uiactiontag}`)}}
</template>
<template v-if="!(uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, ''))">
{{detail.caption}}
</template> </template>
</template> </template>
</span>
</span>
</div>
</template>
</span>
</template> </template>
</a >
</template> </template>
<template v-if="Object.is(layoutType, 'FLEX')"> <template v-if="Object.is(layoutType, 'FLEX')">
<slot></slot> <slot></slot>
......
.ivu-btn { .ivu-btn {
width: 110px; min-width: 110px;
height: 34px; height: 34px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册