TabBar android 15

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
18559697016
Posts: 119

android 15 下,TabBar 显示有问题
如下图

3.png
1.jpg

Tags:
lshinylee
Posts: 366

Re: TabBar android 15

你好,你的反馈已收到,我们将尽快答复你。

:D :D :D

xiaoqi
Posts: 61

Re: TabBar android 15

是就这个系统不正常吗 在IOS和IDE都正常吗

xiaoqi
Posts: 61

Re: TabBar android 15

我需要看一下你写的样式覆盖情况

18559697016
Posts: 119

Re: TabBar android 15

Code: Select all

import { Routes, TabBar } from '@ray-js/types';

export const routes: Routes = [

	{
		route: '/',
		path: '/pages/home/index',
		name: 'Home'
	},
	{
		route: '/statCharts',
		path: '/pages/statCharts/index',
		name: 'StatCharts'
	},
	{
		route: '/charts',
		path: '/pages/charts/index',
		name: 'Charts'
	},


	{
		route: '/realtime',
		path: '/pages/realtime/index',
		name: 'Realtime'
	},
	{
		route: '/energyData',
		path: '/pages/energyData/index',
		name: 'EnergyData'
	},

	{
		route: '/settings',
		path: '/pages/settings/index',
		name: 'Settings'
	},
	{
		route: '/exportData',
		path: '/pages/exportData/index',
		name: 'ExportData'
	  },

];
export const tabBar: TabBar = {
	borderStyle: "white",
	textColor: "#353535",
	selectedColor: "#00936E",
	backgroundColor: "white",
	list: [
		{
			route: "/",
			text: "@I18n.t('overview')",
			icon: "/images/home.png",
			activeIcon: "/images/home-active.png",
			pagePath: "/pages/home/index",
		},
		{
			route: "/realtime",
			text: "@I18n.t('realtimeData')",
			icon: "/images/realtime.png",
			activeIcon: "/images/realtime-active.png",
			pagePath: "/pages/realtime/index",
		},
		{
			route: "/energyData",
			text: "@I18n.t('energyData')",
			icon: "/images/history.png",
			activeIcon: "/images/history-active.png",
			pagePath: "/pages/energyData/index",
		},
		// {
		// 	route: "/settings",
		// 	text: "@I18n.t('settings')",
		// 	icon: "/images/settings.png",
		// 	activeIcon: "/images/settings-active.png",
		// 	pagePath: "/pages/settings/index",
		// },
	],
};import { Routes, TabBar } from '@ray-js/types';

export const routes: Routes = [

	{
		route: '/',
		path: '/pages/home/index',
		name: 'Home'
	},
	{
		route: '/statCharts',
		path: '/pages/statCharts/index',
		name: 'StatCharts'
	},
	{
		route: '/charts',
		path: '/pages/charts/index',
		name: 'Charts'
	},


	{
		route: '/realtime',
		path: '/pages/realtime/index',
		name: 'Realtime'
	},
	{
		route: '/energyData',
		path: '/pages/energyData/index',
		name: 'EnergyData'
	},

	{
		route: '/settings',
		path: '/pages/settings/index',
		name: 'Settings'
	},
	{
		route: '/exportData',
		path: '/pages/exportData/index',
		name: 'ExportData'
	  },

];
export const tabBar: TabBar = {
	borderStyle: "white",
	textColor: "#353535",
	selectedColor: "#00936E",
	backgroundColor: "white",
	list: [
		{
			route: "/",
			text: "@I18n.t('overview')",
			icon: "/images/home.png",
			activeIcon: "/images/home-active.png",
			pagePath: "/pages/home/index",
		},
		{
			route: "/realtime",
			text: "@I18n.t('realtimeData')",
			icon: "/images/realtime.png",
			activeIcon: "/images/realtime-active.png",
			pagePath: "/pages/realtime/index",
		},
		{
			route: "/energyData",
			text: "@I18n.t('energyData')",
			icon: "/images/history.png",
			activeIcon: "/images/history-active.png",
			pagePath: "/pages/energyData/index",
		},
		// {
		// 	route: "/settings",
		// 	text: "@I18n.t('settings')",
		// 	icon: "/images/settings.png",
		// 	activeIcon: "/images/settings-active.png",
		// 	pagePath: "/pages/settings/index",
		// },
	],
};

只有Android15有问题

Post Reply