WIN-2CJ8FMUT9OF\Administrator 8 månader sedan
förälder
incheckning
169523180b
1 ändrade filer med 9 tillägg och 7 borttagningar
  1. 9 7
      pages/index/index.vue

+ 9 - 7
pages/index/index.vue

@@ -34,7 +34,7 @@
 							<view class="fc-00D5FF fw-b fs-48">
 								乡村振兴
 							</view>
-<!-- 							<view class="fc-00D5FF fw-b fs-48">
+							<!-- 							<view class="fc-00D5FF fw-b fs-48">
 								¥{{setTotalMoney(totalData.total_money)}}万
 							</view>
 							<view class="fc-f fs-14">
@@ -113,10 +113,10 @@
 									</view>
 								</view>
 								<view class="w-20 t-r">
-<!-- 									<view class="fs-32 fc-f">
+									<!-- 									<view class="fs-32 fc-f">
 										{{item.created_at}}
 									</view> -->
-<!-- 									<view class="fs-28 fc-B2D6FF text-align-right">
+									<!-- 									<view class="fs-28 fc-B2D6FF text-align-right">
 										消费时间
 									</view> -->
 									<view class="fs-32 fc-f">
@@ -253,7 +253,7 @@
 <script>
 	import columnVue from './components/column.vue';
 	import lineVue from './components/line.vue';
-	import ringVue from './components/ring.vue';
+	// import ringVue from './components/ring.vue';
 	import {
 		chartShop,
 		chartConsume,
@@ -266,7 +266,7 @@
 		components: {
 			columnVue,
 			lineVue,
-			ringVue
+			// ringVue
 		},
 		data() {
 			return {
@@ -340,7 +340,7 @@
 						// 		this.newListData.push(j)
 						// 	}
 						// });
-						this.newListData = res.data.items.slice(0,10)
+						this.newListData = res.data.items.slice(0, 10)
 						setInterval(() => {
 							this.chartNewList()
 						}, 5000)
@@ -362,6 +362,7 @@
 				})
 			},
 			listChang(e) {
+				console.log(e.detail.current, '111111111111');
 				if (e.detail.current === 90) {
 					this.page++
 					this.chartList()
@@ -407,9 +408,10 @@
 </script>
 
 <style>
-	.t-r{
+	.t-r {
 		text-align: right;
 	}
+
 	.box {
 		width: 100vw;
 		height: 100vh;