zengh
2022-09-14 8ea19a6bb34daab1410f6186992a4c1e90299c92
components/seeImges/seeImges.vue
@@ -21,25 +21,21 @@
<script>
   export default {
      props: ['imgs', 'videos', 'type'],
      // props: [{
      //    imgs:{
      //       type: Array,
      //       default: []
      //    },
      //    videos:{
      //       type: Object,
      //       default: []
      //    },
      //    type:{
      //       type: String,
      //       default: null
      //    },
      // }],
      data() {
         return {
            // uesVideodata: []
         }
      },
      // watch: {
      //    "videos"() {
      //       // console.log(this.videos)
      //       if (this.videos != []) {
      //          setTimeout(res=>{
      //             this.uesVideodata = this.videos;
      //          },500)
      //       } else []
      //    }
      // },
      methods: {
         //图片删除
         delelteImg(index) {
@@ -100,9 +96,9 @@
      // border: 1px solid #0000FF;
      white-space: nowrap;
      box-sizing: border-box;
      overflow: scroll;
      display: flex;
      align-items: center;
      overflow: auto;
      // display: flex;
      // align-items: center;
      // position: absolute;
      // right: 0;
      // z-index: 110;
@@ -110,13 +106,14 @@
      .imgs {
         display: inline-block;
         padding-top: 0.5rem;
         width: 3rem;
         height: 3rem;
         width: 4rem;
         height: 4rem;
         padding: 0 0.2rem 0 0.2rem;
         margin: 0 0.2rem 0 0.2rem;
         // border-right: 1px solid rgba($color: #000000, $alpha: 0.5);
         position: relative;
         // border: 1px solid #0000FF;
         top: 0.22rem;
         image {
            width: 100%;
@@ -129,13 +126,14 @@
      .videos {
         display: inline-block;
         padding-top: 0.5rem;
         width: 4rem;
         height: 4rem;
         width: 4.2rem;
         height: 4.2rem;
         padding: 0 0.2rem 0 0.2rem;
         margin: 0 0.2rem 0 0.2rem;
         // border-right: 1px solid rgba($color: #000000, $alpha: 0.5);
         position: relative;
         // border: 1px solid #0000FF;
         top: 0.22rem;
         video {
            width: 100%;