From 5470b3652246095d9d73d8aa03ce8830459af8c9 Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期四, 20 六月 2024 14:10:07 +0800
Subject: [PATCH] 静态页面添加

---
 policy/policyIndex/policyIndex.vue |   27 +++++++++++++++++++--------
 1 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/policy/policyIndex/policyIndex.vue b/policy/policyIndex/policyIndex.vue
index f7f0383..3c67b3f 100644
--- a/policy/policyIndex/policyIndex.vue
+++ b/policy/policyIndex/policyIndex.vue
@@ -1,19 +1,26 @@
 <template>
 	<view>
-		<u-button @click="applyPulicy">鎵ф硶鐢宠</u-button>
-		<u-button v-if="isJudge">鎵ф硶瀹℃壒</u-button>
-		<u-button>鎵ф硶缁撴灉涓婃姤</u-button>
-		<u-button>璁板綍鏌ヨ</u-button>
-		<u-button>鏁版嵁鐪嬫澘</u-button>
+		<policyIndexVue v-if="activeNumber == 0"></policyIndexVue>
+		<minePage v-if="activeNumber == 1"></minePage>
+		<tabsCom :activeNumber.sync="activeNumber"></tabsCom>
 	</view>
 </template>
 
 <script>
 	import {  getInfo } from '@/api/auth.js'
+	import tabsCom from '@/policy/components/tabs.vue'
+	import policyIndexVue from '@/policy/components/index.vue'
+	import minePage from '@/policy/components/mine.vue'
 	export default {
+		components: {
+			tabsCom,
+			policyIndexVue,
+			minePage
+		},
 		data() {
 			return {
-				isJudge: false
+				isJudge: false,
+				activeNumber: 1
 			}
 		},
 		onShow() {
@@ -34,7 +41,11 @@
 		}
 	}
 </script>
-
 <style>
-
+	page{
+		background-color: #F7F7F7;
+	}
+</style>
+<style scoped lang="scss">
+@import "./policyIndex.scss";
 </style>

--
Gitblit v1.9.1