WeCenter小程序更换配色教程

君笑尘
君笑尘 This guy is lazy,Introduction has not been set

0 People liked this article · 335 views

WeCenter小程序更换配色教程:


目前给大家做了三套不同的颜色,

绿色是:#39b54a

蓝色是:#0081ff

红色是:#e54d42


如果你不喜欢,那么你可以通过以下方式修改你的小程序配色


①修改全局配色

打开 common/theme.css 文件,修改color属性的颜色值。


②修改导航栏颜色

打开pages.json,修改 selectedColor、navigationBarBackgroundColor 两个颜色值


③替换tabBar图片

已准备了绿色、蓝色、红色 三套icon图片,如果需要其他颜色,可以找我索要



Published on 2023-02-07 20:40

Disclaimers:

This document is written by 君笑尘 Original published on 君笑尘编程学习社区 ,The copyright belongs to the author。

Log in,More exciting content waiting for you to find,Contribute wonderful answers,Participate in comment interaction

go Sign in! No accountgoregister

All Rights Reserved Powered BY WeCenter V4.1.0 © 2023 粤ICP备2020123311号