Commit c3690184 by 匡雅琴

样式

1 parent e7cb8e33
...@@ -796,7 +796,7 @@ export default { ...@@ -796,7 +796,7 @@ export default {
.content-show { .content-show {
background-color: #fff; background-color: #fff;
width: 160px; width: 160px;
height: 56px; height: 63px;
padding: 10px 10px; padding: 10px 10px;
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
...@@ -818,12 +818,12 @@ export default { ...@@ -818,12 +818,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
font-size: 10px; font-size: 13px;
margin-bottom: 4px; margin-bottom: 4px;
} }
.content-word { .content-word {
color: #999999; color: #999999;
line-height: 11px; line-height: 14px;
max-width: 100px; max-width: 100px;
font-size: 8px; font-size: 8px;
overflow: hidden; overflow: hidden;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="all-group"> <div class="all-group">
<div>全部素材组 ({{ groupCounter.length }})</div> <div>全部素材组 ({{ groupCounter.length }})</div>
<div> <div>
<el-button class="add_btn" icon="el-icon-plus" :size="size" @click="handleAddGroup(1)">新建</el-button> <el-button class="add_btn" icon="el-icon-plus" :size="size" @click="handleAddGroup(1)">素材组</el-button>
</div> </div>
</div> </div>
<ul> <ul>
...@@ -12,20 +12,9 @@ ...@@ -12,20 +12,9 @@
<div class="group-name">{{ item.materialGroupName }}</div> <div class="group-name">{{ item.materialGroupName }}</div>
<el-popover placement="right" trigger="hover"> <el-popover placement="right" trigger="hover">
<div> <div>
<ul> <GLButton class="group-btn" :size="size" type="text" fn="置顶" @click="handleStick(item)">{{ item.orderTime ? '取消置顶' : '置顶' }}</GLButton>
<!-- <li @click="handleStick(item)">{{ item.orderTime ? '取消置顶' : '置顶' }}</li> --> <GLButton class="group-btn" :size="size" type="text" fn="修改" @click="handleAddGroup(2, item)">修改</GLButton>
<li> <GLButton class="group-btn" :size="size" type="text" fn="删除" v-if="item.isDefault == -1" @click="handleDeleteGroup(item.id)">删除</GLButton>
<GLButton :size="size" type="text" fn="置顶" @click="handleStick(item)">{{ item.orderTime ? '取消置顶' : '置顶' }}</GLButton>
</li>
<!-- <li @click="handleAddGroup(2,item)">修改</li> -->
<li>
<GLButton :size="size" type="text" fn="修改" @click="handleAddGroup(2, item)">修改</GLButton>
</li>
<!-- <li @click="handleDeleteGroup(item.id)" v-if="item.isDefault == -1">删除</li> -->
<li>
<GLButton :size="size" type="text" fn="删除" v-if="item.isDefault == -1" @click="handleDeleteGroup(item.id)">删除</GLButton>
</li>
</ul>
</div> </div>
<i slot="reference" class="el-icon-more"></i> <i slot="reference" class="el-icon-more"></i>
</el-popover> </el-popover>
...@@ -179,7 +168,7 @@ export default { ...@@ -179,7 +168,7 @@ export default {
.all-group { .all-group {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
padding: 24px 16px 0 16px; padding: 24px 16px 8px 16px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.el-button { .el-button {
...@@ -191,9 +180,6 @@ export default { ...@@ -191,9 +180,6 @@ export default {
cursor: pointer; cursor: pointer;
text-align: left; text-align: left;
padding: 8px 16px 8px 18px; padding: 8px 16px 8px 18px;
&:first-child {
padding-top: 16px;
}
&.active { &.active {
background-color: #ebeaff; background-color: #ebeaff;
} }
...@@ -232,4 +218,16 @@ ul { ...@@ -232,4 +218,16 @@ ul {
display: inline-flex; display: inline-flex;
margin-left: 8px; margin-left: 8px;
} }
.group-btn {
display: block;
padding: 8px 10px;
text-align: center;
width: 100%;
&:hover {
background-color: #ebeaff;
}
}
.el-button + .el-button {
margin-left: 0;
}
</style> </style>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</span> </span>
</div> </div>
</div> </div>
<div class="matrial-detail-containner"> <div class="matrial-detail-containner" v-show="boxHeight() ? true : false">
<div :class="{ 'materialDetail-desc': true }" :style="{ height: boxHeight() + 'px' }"> <div :class="{ 'materialDetail-desc': true }" :style="{ height: boxHeight() + 'px' }">
<div class="matrial-detail"> <div class="matrial-detail">
<div class="matrial-detail-left"> <div class="matrial-detail-left">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!