无人机管理后台前端(已迁走)
张含笑
2025-10-09 63901a0ebb8f4d409795c04ceeaae2dde2644e3f
feat:添加图标
1 files modified
44 ■■■■ changed files
src/views/system/helpCenter.vue 44 ●●●● patch | view | raw | blame | history
src/views/system/helpCenter.vue
@@ -17,11 +17,18 @@
        <el-table-column prop="levelTwoType" label="二级类别" />
        <el-table-column prop="uploadUser" label="上传者" />
        <el-table-column prop="createTime" label="上传时间" />
        <el-table-column label="操作" width="150" align="center">
     <el-table-column label="操作" width="200" align="center">
          <template #default="scope">
            <span class="look" @click="clickDetail(scope.row)" v-if="permission.helpCenterLook"
              >查看</span
    <div class="actionBar" >
      <el-button
        class="look"
        icon="el-icon-view"
        type="text"
        @click="clickDetail(scope.row)"
        v-if="permission.helpCenterLook"
            >
        查看
      </el-button>
            <el-upload
              style="display: inline-block"
              :show-file-list="false"
@@ -29,8 +36,16 @@
              :limit="1"
              accept=".pdf"
            >
              <span class="uploads" v-if="permission.helpCenterUpload">上传</span>
        <el-button
          class="uploads"
          icon="el-icon-upload"
          type="text"
          v-if="permission.helpCenterUpload"
        >
          上传
        </el-button>
            </el-upload>
    </div>
          </template>
        </el-table-column>
      </el-table>
@@ -146,18 +161,25 @@
.helpContainer {
  height: 100%;
  .look {
    font-family: Source Han Sans CN, Source Han Sans CN;
    color: #1c5cff;
    // font-family: Source Han Sans CN, Source Han Sans CN;
    // color: #1c5cff;
    cursor: pointer;
    margin-right: 15px;
    font-size: 14px;
    // font-size: 14px;
  }
  .uploads {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #19876d;
    // font-family: Source Han Sans CN, Source Han Sans CN;
    // font-weight: 400;
    // font-size: 14px;
    // color: #19876d;
    cursor: pointer;
  }
  .actionBar {
  display: flex;
  justify-content: center;
   align-items: center;
    gap: 8px;
  }
  :deep(.custom-header th.el-table__cell) {
  color: rgba(0, 0, 0, 0.85);