htc 2 天之前
父节点
当前提交
134cfb5d83
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/reportDetail.vue

+ 1 - 1
pages/reportDetail.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
 	<view class="page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
 		<cus-header title='报告详情'></cus-header>
 		<cus-header title='报告详情'></cus-header>
-		<div class="pdf" :style="{'height':'calc(100vh - '+(mt+100)+'px)'}"
+		<div class="pdf" :style="{'height':'calc(100vh - '+(mt+20)+'px)'}"
 			@touchstart.prevent="touchStart" @touchmove.prevent="touchMove" @touchend.prevent="touchEnd">
 			@touchstart.prevent="touchStart" @touchmove.prevent="touchMove" @touchend.prevent="touchEnd">
 			<div class="items" :style="{'transform':`translateX(${-(currentIndex * bl)}%)`,'transition':moveDistance !== 0 ? 'none' : 'transform 0.3s ease'}">
 			<div class="items" :style="{'transform':`translateX(${-(currentIndex * bl)}%)`,'transition':moveDistance !== 0 ? 'none' : 'transform 0.3s ease'}">
 				<div class="item" v-for="(item,index) in slides" :key="index">
 				<div class="item" v-for="(item,index) in slides" :key="index">