haoxuan
2023-09-01 1e1e5f612f252d66b0d0386cf52873bb1f3f7d7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
  <div class="uploadIconBox">
    <i class="el-input__icon el-icon-camera-solid" @click="showUpload"></i>
    <SearchLeft v-show="visibile" @closeUpload="showUpload"></SearchLeft>
  </div>
</template>
<script>
import SearchLeft from './uploadForModel'
export default {
  components: {
    SearchLeft
  },
  data() {
    return {
      visibile: false
    }
  },
  methods: {
    showUpload() {
      this.visibile = !this.visibile
    }
  }
}
</script>
<style lang="scss">
.uploadIconBox {
  position: relative;
  i {
    font-size: 20px;
    color: #999;
    cursor: pointer;
  }
  .left-section1 {
    //border: 1px solid #ccc;
    border-radius: 5px;
    position: absolute;
    z-index: 2;
    height: 700px;
    left: -330px;
    top: 45px;
    box-shadow: #eee 0px 0px 10px 10px;
  }
}
</style>