|
@@ -5,18 +5,64 @@
|
|
|
<div class="group_header_title">{{ item.name }}</div>
|
|
|
<div class="group_header_nameOperate">
|
|
|
<el-tooltip effect="dark" content="删除" placement="top">
|
|
|
- <el-icon><Delete /></el-icon>
|
|
|
+ <el-icon :size="16"><Delete /></el-icon>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="group_body">
|
|
|
+ <ul class="group_list_ul">
|
|
|
+ <div>
|
|
|
+ <li class="group_item flex flex-align-center">
|
|
|
+ <div class="group_itemIcon">
|
|
|
+ <img src="https://lf3-ea.bytetos.com/obj/goofy/ee/approval/approval-admin/image/iconLib/v3/bought.png" />
|
|
|
+ </div>
|
|
|
+ <div class="group_itemLeft">
|
|
|
+ <div class="group_itemNameWrapper flex flex-align-center" style="margin-bottom: 5px">
|
|
|
+ <div class="group_itemName">
|
|
|
+ <span>采购申请</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="group_itemIntro">各类办公、活动用品采购</div>
|
|
|
+ </div>
|
|
|
+ <div class="group_itemSeeable">全员可见</div>
|
|
|
+ <div class="group_itemOperations">
|
|
|
+ <el-space wrap>
|
|
|
+ <el-tooltip effect="dark" content="编辑" placement="top">
|
|
|
+ <el-icon :size="16"><EditPen /></el-icon>
|
|
|
+ </el-tooltip>
|
|
|
+ </el-space>
|
|
|
+ <el-space wrap>
|
|
|
+ <el-tooltip effect="dark" content="复制" placement="top">
|
|
|
+ <el-icon :size="16"><CopyDocument /></el-icon>
|
|
|
+ </el-tooltip>
|
|
|
+ </el-space>
|
|
|
+ <el-space wrap>
|
|
|
+ <el-tooltip effect="dark" content="禁用" placement="top">
|
|
|
+ <el-icon :size="16"><CircleClose /></el-icon>
|
|
|
+ </el-tooltip>
|
|
|
+ </el-space>
|
|
|
+ <el-space wrap>
|
|
|
+ <el-tooltip effect="dark" content="删除" placement="top">
|
|
|
+ <el-icon :size="16"><Delete /></el-icon>
|
|
|
+ </el-tooltip>
|
|
|
+ </el-space>
|
|
|
+ <el-space wrap>
|
|
|
+ <el-tooltip effect="dark" content="排序" placement="top">
|
|
|
+ <el-icon :size="16"><Operation /></el-icon>
|
|
|
+ </el-tooltip>
|
|
|
+ </el-space>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </div>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script lang="tsx" setup>
|
|
|
-import { Delete } from '@element-plus/icons-vue'
|
|
|
+import { Delete, CircleClose, Operation, EditPen, CopyDocument } from '@element-plus/icons-vue'
|
|
|
import { ref } from 'vue'
|
|
|
-
|
|
|
const myArray = ref([
|
|
|
{ name: '考勤', id: 1 },
|
|
|
{ name: '人事', id: 2 },
|
|
@@ -31,7 +77,7 @@ const myArray = ref([
|
|
|
.group_list {
|
|
|
border-radius: 4px;
|
|
|
margin-bottom: 16px;
|
|
|
- box-shadow: rgb(238, 238, 238) 0px 0px 3px 1px;
|
|
|
+ box-shadow: 0px 0px 3px 1px rgb(238, 238, 238);
|
|
|
background-color: rgb(255, 255, 255);
|
|
|
font-family: PingFangSC-Regular;
|
|
|
.group_header {
|
|
@@ -46,12 +92,81 @@ const myArray = ref([
|
|
|
font-family: PingFangSC-Medium;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- color: rgba(0, 0, 0, 0.25);
|
|
|
+ color: rgba(3, 3, 3, 1);
|
|
|
+ &.disabled {
|
|
|
+ color: rgba(0, 0, 0, 0.25);
|
|
|
+ }
|
|
|
}
|
|
|
&_nameOperate {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .group_body,
|
|
|
+ .group_list_ul {
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 0;
|
|
|
+ width: 1000px;
|
|
|
+ }
|
|
|
+ .group_item {
|
|
|
+ justify-content: flex-start;
|
|
|
+ padding: 16px;
|
|
|
+ .group_itemIcon {
|
|
|
+ flex-shrink: 0;
|
|
|
+ margin-right: 8px;
|
|
|
+ height: 42px;
|
|
|
+ width: 42px;
|
|
|
+ border-radius: 50%;
|
|
|
+ overflow: hidden;
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ object-fit: cover;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .group_itemLeft {
|
|
|
+ width: 426px;
|
|
|
+ flex-shrink: 0;
|
|
|
+ padding-right: 8px;
|
|
|
+ }
|
|
|
+ .group_itemSeeable {
|
|
|
+ min-width: 175px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #1f2329;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ flex: 1 1;
|
|
|
+ }
|
|
|
+ .group_itemOperations {
|
|
|
+ max-width: 350px;
|
|
|
+ flex-shrink: 0;
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ .group_itemIntro {
|
|
|
+ font-size: 14px;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ line-height: 17px;
|
|
|
+ color: #8f959e;
|
|
|
+ font-family: PingFangSC-Regular;
|
|
|
+ }
|
|
|
+ .group_itemNameWrapper {
|
|
|
+ justify-content: flex-start;
|
|
|
+ }
|
|
|
+ .group_itemName {
|
|
|
+ max-width: 418px;
|
|
|
+ font-size: 14px;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ line-height: 16px;
|
|
|
+ color: #1f2329;
|
|
|
+ font-weight: 500;
|
|
|
+ font-family: PingFangSC-Medium;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|