Bläddra i källkod

瀑布流随机高度

natasha 1 år sedan
förälder
incheckning
41d105a640
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/views/reporter/index.vue

+ 1 - 1
src/views/reporter/index.vue

@@ -36,7 +36,7 @@
             <el-image class="image"
                 :src="props.value.cover_img_url"
                 :fit="'cover'"
-                :style="'width:246px;height:180px;border-radius: 8px;'">
+                :style="{width:'246px',height:Math.random()*(260-180)+180+'px',borderRadius: '8px'}">
                 <div slot="placeholder" class="image-slot" :style="'line-height:130px'">
                     加载中<span class="dot">...</span>
                 </div>