提交 bedcbd9d 编写于 作者: D DCloud_LXH

feat: tabbar 页面添加 backgroundColorContent 保持切换时颜色一致性

上级 60f376be
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"path": "pages/tabBar/component", "path": "pages/tabBar/component",
"style": { "style": {
"navigationBarTitleText": "内置组件", "navigationBarTitleText": "内置组件",
"backgroundColor": "#F8F8F8" "backgroundColorContent": "#f8f8f8"
} }
}, },
{ {
...@@ -521,7 +521,7 @@ ...@@ -521,7 +521,7 @@
"path": "pages/tabBar/API", "path": "pages/tabBar/API",
"style": { "style": {
"navigationBarTitleText": "接口", "navigationBarTitleText": "接口",
"backgroundColor": "#F8F8F8" "backgroundColorContent": "#f8f8f8"
} }
}, },
{ {
...@@ -1237,7 +1237,7 @@ ...@@ -1237,7 +1237,7 @@
"path": "pages/tabBar/CSS", "path": "pages/tabBar/CSS",
"style": { "style": {
"navigationBarTitleText": "CSS", "navigationBarTitleText": "CSS",
"backgroundColor": "#F8F8F8" "backgroundColorContent": "#f8f8f8"
} }
}, },
{ {
...@@ -1684,7 +1684,8 @@ ...@@ -1684,7 +1684,8 @@
{ {
"path": "pages/tabBar/template", "path": "pages/tabBar/template",
"style": { "style": {
"navigationBarTitleText": "模板" "navigationBarTitleText": "模板",
"backgroundColorContent": "#f8f8f8"
} }
}, },
{ {
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1; background-color: #f8f8f8" enable-back-to-top="true"> <scroll-view style="flex: 1;" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view v-if="!hasLeftWin" class="uni-header-logo"> <view v-if="!hasLeftWin" class="uni-header-logo">
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1; background-color: #f8f8f8" enable-back-to-top="true"> <scroll-view style="flex: 1;" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view v-if="!hasLeftWin" class="uni-header-logo"> <view v-if="!hasLeftWin" class="uni-header-logo">
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1; background-color: #f8f8f8" enable-back-to-top="true"> <scroll-view style="flex: 1;" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view v-if="!hasLeftWin" class="uni-header-logo"> <view v-if="!hasLeftWin" class="uni-header-logo">
......
<template> <template>
<!-- #ifdef APP --> <!-- #ifdef APP -->
<scroll-view style="flex: 1; background-color: #f8f8f8" enable-back-to-top="true"> <scroll-view style="flex: 1;" enable-back-to-top="true">
<!-- #endif --> <!-- #endif -->
<view class="uni-container"> <view class="uni-container">
<view v-if="!hasLeftWin" class="uni-header-logo"> <view v-if="!hasLeftWin" class="uni-header-logo">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册