Deprecated: imwpcache\f884414bce24ee67f\f73723ec7b1919fa5::__construct(): Implicitly marking parameter $YECBGYFECGEAFWHA as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/www.chuangxiangniao.com/wp-content/plugins/imwpcache-dist/build/f884414bce24ee67ff73723ec7b1919fa5.php on line 2

Deprecated: imwpcache\f884414bce24ee67f\f73723ec7b1919fa5::__construct(): Implicitly marking parameter $BBWFDDBHHYHDXXAB as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/www.chuangxiangniao.com/wp-content/plugins/imwpcache-dist/build/f884414bce24ee67ff73723ec7b1919fa5.php on line 2
Vue/UniApp中如何制作圆角选项卡,且选中状态颜色与未选中状态颜色不同?_创想鸟

Vue/UniApp中如何制作圆角选项卡,且选中状态颜色与未选中状态颜色不同?

vue/uniapp中如何制作圆角选项卡,且选中状态颜色与未选中状态颜色不同?

vue/uniapp中,如何制作圆角栏目的选项卡效果?

你想要创建一个圆角栏目的选项卡效果,其中一个选中的选项是用白色文本填充蓝色背景,而其他选项是黑色文本填充灰色背景。

以下是使用html和css实现此效果的方法:

日
周
月
年
.tabs {    display: flex;    justify-content: space-between;    flex-direction: row;    background-color: #E1E1E1;    border-radius: 82px;    height: 82px;}.tab {    font-size: 36px;    color: rgba(69, 69, 68, 1);    width: 100%;    text-align: center;    line-height: 82px;}.tab.active {    color: rgba(255, 255, 255, 1);    background-color: #31BDEC;    border-radius: 82px;}

效果展示:

立即学习“前端免费学习笔记(深入)”;

[图片]

以上就是Vue/UniApp中如何制作圆角选项卡,且选中状态颜色与未选中状态颜色不同?的详细内容,更多请关注创想鸟其它相关文章!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/1632088.html

赞 (0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
Vue2表格隐藏列后,固定列出现空白行怎么办?
上一篇 2025年12月24日 14:45:04
弹性布局中子元素缩小为何失效?
下一篇 2025年12月24日 14:45:28

相关推荐

发表回复

登录后才能评论
关注微信