Pārlūkot izejas kodu

修改数据报表图表不显示问题

wangchao 3 gadi atpakaļ
vecāks
revīzija
decbc46131
1 mainītis faili ar 15 papildinājumiem un 4 dzēšanām
  1. 15 4
      pages/user/report.vue

+ 15 - 4
pages/user/report.vue

@@ -151,13 +151,12 @@
 						</view>
 					</view>
 				</view>
-
 			</view>
 			<view class="content3 content-wrap">
 				<view class="title" @click="goToPage(4)">粮食品种占比</view>
 				<u-line color="#EEEEEE" class="u-line" />
 				<qiun-data-charts type="line" class='line-chart' :chartData="chartData" :opts='zringoptions'
-					background="none"/>
+					background="none" :ontouch="true"/>
 			</view>
 			<view class="content4 content-wrap">
 				<view class="title">在途信息统计表</view>
@@ -197,7 +196,7 @@
 				<iframe class='map' :src='url'></iframe>
 			</view>
 
-			<view class="content7">
+		<!-- 	<view class="content7">
 				<maoScroll :data="ztList" :showNum="showNum" :lineHeight="lineHeight" :animationScroll="animationScroll"
 					:animation="animation">
 					<template v-slot="{line}">
@@ -213,7 +212,19 @@
 						</view>
 					</template>
 				</maoScroll>
-			</view>
+			</view> -->
+			<view class="content7">
+			    <view class="row1" v-for="(item,index) in ztList">
+			     <view class="zt">
+			      <view class="point"></view>在途
+			     </view>
+			     <view>{{item.startName}}</view>
+			     <img src="https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/jiantou.png" alt="">
+			     <view class="">
+			      {{item.endName}}
+			     </view>
+			    </view>
+			   </view>
 		</view>
 
 		<u-select v-model="showDate" mode="mutil-column" confirm-color='#22C572' :list="dateList" @confirm="confirm">