heyujie
2021-11-04 81b713d49e16c0af4cb4858c5f2e1f54af02e4ca
hyj 视频检索
3个文件已修改
181 ■■■■■ 已修改文件
src/pages/ai/index/App.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue 175 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/shuohuangMonitorAnalyze/index/App.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/ai/index/App.vue
@@ -665,11 +665,11 @@
                  <div class="imgwrap">
                    <img
                      v-if="item.type != 'video'"
                      :src="'/httpImage/' + item.url"
                      :src="item.url"
                      class="cursor-pointer"
                      preview
                    />
                    <video v-if="item.type == 'video'" :src="'/httpImage/' + item.url" controls></video>
                    <video v-if="item.type == 'video'" :src="item.url" controls></video>
                  </div>
                </el-carousel-item>
              </el-carousel>
src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -11,7 +11,6 @@
          range-separator="至"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          align="right"
        ></el-date-picker>
        <el-input
          class="search-input"
@@ -84,7 +83,7 @@
                  v-for="(option, index) in config.data"
                  :key="index"
                >
                  <div v-show="config.isMultCheck">
                  <div v-show="config.isMultCheck" class="check-name">
                    <el-checkbox v-model="option.isChecked"></el-checkbox>
                    <span>{{ option.name }}</span>
                  </div>
@@ -99,12 +98,16 @@
              </div>
              <div class="btns text-center" v-show="config.isMultCheck">
                <el-button
                  class="sure"
                  size="mini"
                  type="primary"
                  @click="checkOption(config)"
                  >确定</el-button
                >
                <el-button size="mini" @click="cancleMultCheck(config)"
                <el-button
                  size="mini"
                  @click="cancleMultCheck(config)"
                  class="cancel"
                  >取消</el-button
                >
              </div>
@@ -175,6 +178,7 @@
              v-model="IsFollow"
              size="mini"
              @change="filterSearchData"
              style="width: 120px"
            >
              <el-option value label="全部"></el-option>
              <el-option :value="'1'" label="未关注"></el-option>
@@ -186,6 +190,7 @@
              v-model="IsOperate"
              size="mini"
              @change="filterSearchData"
              style="width: 120px"
            >
              <el-option value label="全部"></el-option>
              <el-option value="0" label="未处理"></el-option>
@@ -200,14 +205,15 @@
              :class="{ current: showType == 'menu' }"
              @click="checkType('menu')"
            >
              <i class="el-icon-menu"></i>
              <span class="iconfont icon">&#xe703; </span>
            </div>
            <div
              class="type"
              class="type list"
              :class="{ current: showType == 'list' }"
              @click="checkType('list')"
            >
              <i class="el-icon-s-operation"></i>
              <span class="iconfont icon">&#xe70f;</span>
              <!-- <i class="el-icon-s-operation"></i> -->
            </div>
          </div>
        </div>
@@ -261,7 +267,7 @@
                      }}
                    </span>
                  </div>
                  <div v-else>
                  <div v-else class="no-error">
                    <span>无异常</span>
                  </div>
                  <div
@@ -441,7 +447,7 @@
      keyword: "",
      IsFollow: "",
      searchTime: [
        new Date(2020, 0, 1, 0, 0, 0),
        new Date(2021, 0, 1, 0, 0, 0),
        new Date(2021, 11, 31, 23, 59, 59),
      ],
      curTabPage: 1,
@@ -877,14 +883,24 @@
<style lang="scss">
.search-for-video-analyze {
  //出横向滚动条
  padding: 25px 33px;
  background-color: #fff;
  margin: 33px;
  background-color: #f4f6f9;
  margin: 0 5px;
  * {
    box-sizing: content-box;
  }
  .el-input__inner {
    border: 1px solid #d7dce8;
    //  border-color: #CCD9F0;
  }
  .flex-box {
    display: flex;
  }
  .filter-area {
    background: #fff;
    padding: 22px 33px;
    box-shadow: 0px 3px 6px#D0D7F1;
    border-radius: 10px;
    .input-area {
      display: flex;
      align-items: center;
@@ -908,15 +924,16 @@
      .el-date-editor {
        margin-right: 20px;
      }
      .el-input-group__append,
      .el-input-group__prepend {
      .el-input-group__append {
        background-color: #2d52d7;
        color: #fff;
        border: 1px solid #2d52d7;
        padding: 0 16px;
        white-space: nowrap;
        font-size: 18px;
        .el-icon-search {
          color: #fff;
        }
      }
    }
    .checked-config {
@@ -961,16 +978,16 @@
        flex-wrap: no-wrap;
        cursor: pointer;
        border-bottom: 1px solid #d7dce8;
        .title {
          padding: 10px 20px;
          width: 110px;
          width: 105px;
          text-align: left;
          color: #2d52d7;
          font-weight: bold;
          font-size: 14px;
          .icon {
          span {
            font-size: 14px;
            color: #2d52d7;
          }
          .icon {
            margin-right: 10px;
          }
        }
@@ -982,18 +999,25 @@
            height: 40px;
            overflow: hidden;
            .option {
              padding: 10px 20px;
              padding: 10px 0px;
              height: 20px;
              line-height: 20px;
              min-width: 100px;
              .check-name {
                text-align: left;
                padding-left: 10px;
              }
              .option-name {
                padding: 0 8px;
                color: rgba(66, 82, 119, 1);
                padding: 0 10px;
                text-align: left;
                width: fit-content;
              }
              &:hover > .option-name {
                outline: 1px solid #a8b7ee;
                padding: 0 8px;
                // outline: 1px solid #a8b7ee;
                background: #e2e7f9;
                color: #2d52d7;
                span {
                  color: #2d52d7;
                }
              }
              .el-checkbox {
                padding-right: 6px;
@@ -1003,13 +1027,21 @@
          .btns {
            margin: 12px 0;
            .el-button--mini {
    padding: 6px
 17px
;
    font-size: 12px;
    border-radius: 4px
;
}
              padding: 6px 17px;
              font-size: 12px;
              border-radius: 4px;
            }
            .sure span,
            .cancel span {
              color: #fff;
            }
            .cancel {
              background: rgba(175, 185, 208, 1);
              border-color: rgba(175, 185, 208, 1);
            }
            .el-button + .el-button {
              margin-left: 20px;
            }
          }
        }
        .right-btns {
@@ -1039,7 +1071,12 @@
            padding: 0px 12px;
            border: 1px solid #d7dce7;
            border-radius: 2px;
            color: #ee4e6e;
            .el-icon-plus {
              color: #ee4e6e;
            }
            span {
              color: #ee4e6e;
            }
            // &:hover {
            //   color: #7695ec;
            //   border-color: #7695ec;
@@ -1055,7 +1092,7 @@
        }
        .config-submenu {
          .el-menu--horizontal {
            left: 20px !important;
            // left: 20px !important;
            & > ul {
              flex-wrap: wrap;
            }
@@ -1066,6 +1103,9 @@
            border: none;
            color: #2c3e50;
            font-size: 12px;
            padding: 0 10px;
            min-width: 100px;
            text-align: left;
          }
          .el-menu--popup {
            display: flex;
@@ -1090,9 +1130,14 @@
    }
  }
  .data-list {
    margin-top: 20px;
    margin-top: 24px;
    background: #ffffff;
    box-shadow: 0px 3px 6px #d0d7f1;
    border-radius: 10px;
    padding: 24px 33px;
    .header-bar {
      padding-bottom: 10px;
      margin-bottom: 24px;
      .left {
        float: left;
        display: flex;
@@ -1105,38 +1150,33 @@
        display: flex;
        .show-type {
          display: flex;
          .type {
          .list span {
            font-size: 20px;
            padding: 2px 5px;
            cursor: pointer;
            border: 1px solid #eee;
            background-color: #ecf0fc;
            border-radius: 3px;
            color: #777;
          }
          .type {
            font-size: 18px;
            padding: 2px 4px 0px 4px;
            border-radius: 4px;
            &.menu {
              margin-right: 10px;
              span {
                font-size: 15px;
              }
            }
            &.current {
              border-color: #409eff;
              background-color: #fff;
              span {
                color: #fff;
              }
              background-color: #2D52D7;
            }
          }
        }
      }
    }
    .content {
      //padding-top: 14px;
      background: #f5f5f5;
      background: #fff;
      margin: 0 -30px;
      margin-bottom: -30px;
      padding: 0;
      .el-table__row {
        cursor: pointer;
      }
      .el-row {
        padding-top: 20px;
        background: #f5f5f5;
      }
      .el-col {
        margin-bottom: 10px;
@@ -1146,11 +1186,12 @@
        position: relative;
        text-align: left;
        background: #fff;
        border-radius: 5px;
        border-radius: 0 0 5px 5px;
        height: 360px;
        margin-bottom: 10px;
        border: 1px solid#CCD9F0;
        &:hover {
          box-shadow: 3px 2px 5px 1px rgba(0, 0, 0, 0.3);
          box-shadow: 3px 3px 4px #d3def2;
        }
        .video-wrap {
          border-radius: 3px;
@@ -1163,7 +1204,7 @@
            top: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-fit: unset;
          }
        }
        .video-info {
@@ -1189,6 +1230,17 @@
            .event-tag {
              margin-top: 10px;
            }
            .no-error{
              width: fit-content;
    background: #2D52D7;
    padding: 1px 5px
;
    border-radius: 2px
;
span{
  color: #fff;
}
            }
          }
          .tag-info {
            color: #999;
@@ -1206,9 +1258,11 @@
          font-size: 20px;
          right: 10px;
          bottom: 10px;
          color: #ccc;
          i{
            color: #C7D0E5;
          }
          .follow {
            color: #409eff;
            color: #F90741;
          }
        }
      }
@@ -1232,7 +1286,6 @@
        text-align: center;
        margin: 0 -10px;
        padding: 10px 0 20px;
        background: #f5f5f5;
      }
    }
    .el-dialog__wrapper {
src/pages/shuohuangMonitorAnalyze/index/App.vue
@@ -241,7 +241,7 @@
    }
    .container {
      margin: 0px 0 0 30px;
      padding-right: 40px;
      padding-right: 30px;
      box-sizing: border-box;
      height: calc(100vh - 84px);
      overflow-y: auto;