shuishen
2022-02-18 7473eb735cf82bb88f43b263f9cc74e43fe8f5e3
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) {
@@ -130,8 +126,8 @@
      .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);