小程序 之自定义tabbar上边框颜色

一、设置borderStyle

 二、设置page样式

page::after{
  content: '';
  position: fixed;
  left: 0;
  bottom: 0;
   100%;
  height: 2rpx;
  background-color: #efefef;
  z-index: 9999;
}

三、效果

原文地址:https://www.cnblogs.com/yang-2018/p/11743551.html