提交 6aaded0d 编写于 作者: tony001's avatar tony001

Merge branch 'dev'

...@@ -37,13 +37,12 @@ ...@@ -37,13 +37,12 @@
${ctrl.itemRender.code} ${ctrl.itemRender.code}
<#else> <#else>
<div class="data-view-item"> <div class="data-view-item">
<img v-if="item.srficon" :src="item.srficon" class="single-card-img" /> <img v-if="item.srficonpath" :src="item.srficonpath" class="single-card-img" />
<img v-else src="/assets/img/noimage.png" class="single-card-img" /> <img v-else src="/assets/img/noimage.png" class="single-card-img" />
<div class="single-card-default"> <div class="single-card-default">
<Tooltip :content="item.srfmajortext"> <Tooltip :content="item.srfmajortext">
{{item.srfmajortext}} {{item.srfmajortext}}
</Tooltip> </Tooltip>
<span v-if="item.srfdescription" class="description">{{ item.srfdescription }}</span>
</div> </div>
</div> </div>
<div class="data-view-item-action"> <div class="data-view-item-action">
...@@ -77,13 +76,12 @@ ...@@ -77,13 +76,12 @@
${ctrl.itemRender.code} ${ctrl.itemRender.code}
<#else> <#else>
<div class="data-view-item"> <div class="data-view-item">
<img v-if="item.srficon" :src="item.srficon" class="single-card-img" /> <img v-if="item.srficonpath" :src="item.srficonpath" class="single-card-img" />
<img v-else src="/assets/img/noimage.png" class="single-card-img" /> <img v-else src="/assets/img/noimage.png" class="single-card-img" />
<div class="single-card-default"> <div class="single-card-default">
<Tooltip :content="item.srfmajortext"> <Tooltip :content="item.srfmajortext">
{{item.srfmajortext}} {{item.srfmajortext}}
</Tooltip> </Tooltip>
<span class="description">{{ item.srfdescription }}</span>
</div> </div>
</div> </div>
<div class="data-view-item-action"> <div class="data-view-item-action">
......
...@@ -90,9 +90,9 @@ ...@@ -90,9 +90,9 @@
} }
} }
.el-card{ .el-card{
background-color: #fff; background-color: #f6f6f6;
color: #666666; color: #666666;
box-shadow: 0 2px 12px 0 #b1b3b8; box-shadow: 0 2px 12px 0 #909399;
} }
.single-card-data{ .single-card-data{
height: 100%; height: 100%;
...@@ -100,11 +100,7 @@ ...@@ -100,11 +100,7 @@
cursor: pointer; cursor: pointer;
border: 2px solid transparent; border: 2px solid transparent;
.data-view-item{ .data-view-item{
display: flex;
margin-bottom: 36px;
.single-card-default { .single-card-default {
display: flex;
flex-direction: column;
.ivu-tooltip{ .ivu-tooltip{
.ivu-tooltip-rel{ .ivu-tooltip-rel{
width: 150px; width: 150px;
...@@ -119,15 +115,11 @@ ...@@ -119,15 +115,11 @@
} }
} }
.single-card-img { .single-card-img {
width: 50px; width: 150px;
height: 50px; height: calc(100% - 32px);
border-radius: 50%;
margin-right: 20px;
} }
} }
.data-view-item-action{ .data-view-item-action{
display: flex;
justify-content: space-around;
button{ button{
margin: 0 3px; margin: 0 3px;
cursor: pointer; cursor: pointer;
......
<#if editor?? && editor.render??>
${editor.render.code}
<#else>
<app-input-ip
v-model="data.${editor.name}"
:context="context"
:formState="formState"
:viewparams="viewparams"
:disabled="detailsModel.${editor.name}.disabled"
@enter="onEnter($event)">
</app-input-ip>
</#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册