From 9ab4955166b7b1370fc2a49b152353241ca9e64a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 16 十月 2023 09:22:23 +0800
Subject: [PATCH] 小程序

---
 minipro_standard/components/myTabber.vue |  104 ----------------------------------------------------
 1 files changed, 0 insertions(+), 104 deletions(-)

diff --git a/minipro_standard/components/myTabber.vue b/minipro_standard/components/myTabber.vue
index b8b5250..e69de29 100644
--- a/minipro_standard/components/myTabber.vue
+++ b/minipro_standard/components/myTabber.vue
@@ -1,104 +0,0 @@
-<template>
-	<view>
-		<u-tabbar
-			:value="index"
-			@change="change"
-			fixed
-			activeColor="#222"
-			inactiveColor="#666"
-			:safeAreaInsetBottom="true">
-			<u-tabbar-item text="寰呭姙">
-				<view class="" slot="active-icon"> 
-					<image src="@/static/nav_daiban_sel@2x.png" class="icon-style" mode=""></image>
-				</view>
-				<view class="" slot="inactive-icon"> 
-					<image src="@/static/nav_daiban@2x.png" class="icon-style" mode=""></image>
-				</view>
-			</u-tabbar-item>
-			<u-tabbar-item text="宸ヤ綔鍙�">
-				<view class="" slot="active-icon">
-					<image src="@/static/nav_gongzuotai_sel@2x.png" class="icon-style" mode=""></image>
-				</view>
-				<view class="" slot="inactive-icon"> 
-					<image src="@/static/nav_gongzuotai@2x.png" class="icon-style" mode=""></image>
-				</view>
-			</u-tabbar-item>
-			<u-tabbar-item text="鎴戠殑">
-				<view class="" slot="active-icon">
-					<image src="@/static/nav_wode_sel@2x.png" class="icon-style" mode=""></image>
-				</view>
-				<view class="" slot="inactive-icon"> 
-					<image src="@/static/nav_wode@2x.png" class="icon-style" mode=""></image>
-				</view>
-			</u-tabbar-item>
-		</u-tabbar>
-	</view>
-</template>
-
-<script>
-	export default {
-		name:"myTabbar",
-		props: {
-			index: 0
-		},
-		data() {
-			return {
-				value: 0
-			};
-		},
-		methods: {
-			click(index) {
-				// console.log('click', index);
-				// this.$nextTick(() => {
-				// 	this.value = index
-				// 	if (index==0) {
-				// 		uni.switchTab({
-				// 			url: '/pages/index/index'
-				// 		});
-				// 	} else if (index== 1) {
-				// 		uni.switchTab({
-				// 			url: '/pages/service/service'
-				// 		});
-				// 	}else {
-				// 		uni.switchTab({
-				// 			url: '/pages/mine/mine'
-				// 		});
-				// 	}
-				// })
-			},
-			change(index) {
-				this.$nextTick(() => {
-					this.value = index
-				})
-				
-				console.log(index);
-				if (index==0) {
-					// console.log('index');
-					uni.switchTab({
-						url: '/pages/index/index'
-					});
-				} else if (index== 1) {
-					// console.log('workbench');
-					uni.switchTab({
-						url: '/pages/workbench/workbench'
-					});
-				}else {
-					// console.log('mine');
-					uni.switchTab({
-						url: '/pages/mine/mine'
-					});
-				}
-			}
-		},
-	}
-	/**
-	 *
-	 * */
-</script>
-
-<style lang="scss" scope>
-.icon-style {
-	width: 44rpx;
-	height: 44rpx;
-}
-</style>
\ No newline at end of file

--
Gitblit v1.9.3