/* mycomponent/hospital.wxss */ .tabBox { width: 100%; height: 98rpx; background-color: #fff; box-shadow: 0rpx -5rpx 7rpx 0rpx rgba(146, 146, 146, 0.05); border: solid 1rpx rgba(61, 61, 61, 0.15); position: fixed; bottom: 0; display: flex; justify-content: space-around; flex-wrap: nowrap; align-items: center; } /* .tabBox view { width: 50%; height: 100%; display: flex; flex-direction: column; } */ .one { width: 50%; display: flex; justify-content: center; align-items: center; } .one view { display: flex; flex-direction: column; } .two { width: 50%; display: flex; justify-content: center; align-items: center; } .two view { display: flex; flex-direction: column; } .tabBox view image { width: 43rpx; height: 47rpx; margin: 0 auto; } .coText { font-size: 20rpx; color: rgba(255, 139, 71, 1); text-align: center; } .chText { font-size: 20rpx; color: rgba(102, 102, 102, 1); text-align: center; }