王晓晨 3 年之前
父節點
當前提交
4b020f90f7
共有 3 個文件被更改,包括 58 次插入1 次删除
  1. 16 0
      pages.json
  2. 7 1
      pages/homePage/homePage.vue
  3. 35 0
      pages/reportPage/reportPage.vue

+ 16 - 0
pages.json

@@ -15,6 +15,22 @@
 					}
 				}
 			}
+		},
+		{
+			"path": "pages/reportPage/reportPage",
+			"style": {
+				"navigationBarTitleText": "效果报表",
+				"enablePullDownRefresh": true,
+				"onReachBottomDistance": 50,
+				"scrollIndicator": "none",
+				"app-plus": {
+					"pullToRefresh": {
+						"support": true,
+						"color": "#ff3333",
+						"style": "circle"
+					}
+				}
+			}
 		}
     ],
 	"globalStyle": {

+ 7 - 1
pages/homePage/homePage.vue

@@ -62,7 +62,7 @@
 		    		<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_shouyi.png" mode=""></image>
 		    		<text class="txt_tab">收益排行榜</text>
 		    	</view>
-		    	<view class="tab_item">
+		    	<view class="tab_item" @click="goReportPage">
 		    		<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_report.png" mode=""></image>
 		    		<text class="txt_tab">效果报表</text>
 		    	</view>
@@ -169,6 +169,12 @@
 					this.houseList = pageModel.resultSet||[];
 					
 				}
+			},
+			// 跳转至效果报表
+			goReportPage() {
+				uni.navigateTo({
+					url: '../reportPage/reportPage'
+				})
 			}
 		},
 		components:{

+ 35 - 0
pages/reportPage/reportPage.vue

@@ -0,0 +1,35 @@
+<template>
+	
+	<view class="content">
+		
+	</view>
+	
+</template>
+
+<script>
+	
+	export default {
+		data() {
+			return {}
+		},
+		mounted() {
+			
+		},
+		methods: {
+			
+		}
+	}
+	
+</script>
+
+<style lang="scss" scoped>
+	page {
+		width: 100vw;
+		height: 100vh;
+	}
+	.content {
+		width: 100%;
+		height: 100%;
+	}
+	
+</style>