order.wxss 2.6 KB
/* pages/order/order.wxss */
page{
 padding: 100rpx 0 0 0;
 background: #F5F6FA;
}
swiper {
display:block;
height:1000rpx;
}
.orderbox {
height:1000rpx;
}
tap{
 position: fixed;
 top:0;
 left:0;
 height: 100rpx;
 width:100%;
}
.tab{
 width:100%;
 height: 100rpx;
 position: fixed;
 background: #fff;
 top:0;
 left:0;
 z-index:10;
}
.tab-nav{
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100rpx;
  line-height: 100rpx;
 
}
.tab-nav swiper-item{
 
  height: 100rpx;
  line-height: 100rpx;
  background: #fff;
  font-size: 26rpx;
  text-align: center;
  color: #999999;
}

.tab-nav swiper-item.on{
 position: relative;
  color: #5CC348;
  font-size:26rpx;
  font-weight: bold;
}
.tab-nav view.on::before{
 position: absolute;
 content: '';
 bottom:10rpx;
 left:50%;
 transform: translateX(-50%);
 width:30rpx;
 height: 6rpx;
 background: #5CC348;
 z-index:1000;
}
/*tab切换效果  */
.content{
 background: #fff;
 margin: 16rpx 32rpx 0 32rpx;
 border-radius: 20rpx;
 box-shadow:0rpx 5rpx 10rpx 0rpx rgba(0, 0, 0, 0.05);
}
.border_titlebox{
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding:0 32rpx;
 height: 80rpx;
 border-bottom:1rpx solid #EBEBEB;
 color:#26363A;
 font-size:28rpx;
 font-weight: bold;
}
.title_no{
 color:#8DE063;
 font-weight: normal;
}
.order_main{
 padding:42rpx 32rpx 32rpx 32rpx;
 color:#333333;
 font-size:28rpx;
}
.order_item{
padding: 0 0 30rpx 0;
 display: flex;
 align-items: center;
}
.order_left{
 width:140rpx;
 color:#090909;
}
.order_comtent{
 width:550rpx;
}
.btn_box{
 display: flex;
 flex-direction: row-reverse;
 align-items: center;
}
.order_btn{
 margin: 0 0 0 32rpx;
 height: 72rpx;
 border-radius: 36rpx;
 width:200rpx;
 background: #8DE063;
 font-size:28rpx;
 color:#fff;
 display: flex;
 align-items: center;
 justify-content: center;
}
.order_nobtn{
 margin: 0 0 0 32rpx;
 display: flex;
 align-items: center;
 justify-content: center;
 height: 72rpx;
 border-radius: 36rpx;
 width:200rpx;
 border:1rpx solid #CCCCCC;
 font-size:28rpx;
 color:#979DA8;
}
.order_btn:active{
 opacity: 0.7;
}
.order_btn:active{
 opacity: 0.7;
}
.noorder{

}
.nooderimg{
 margin: 200rpx auto 20rpx auto;
 width:374rpx;
 height: 369rpx;
}
.nooderimg image{
 display: block;
 width:100%;
 height: 100%;
}
.no_txt{
 width:460rpx;
 margin: 0 auto 27rpx auto;
 text-align: center;
 color:#999999;
 font-size: 30rpx;
}
.no_btn{
 margin: 0 auto;
 width:220rpx;
 height: 80rpx;
 border-radius: 40rpx;
 display: flex;
 align-items: center;
 justify-content: center;
 border:2rpx solid #8DE063;
 color:#8DE063;
 font-size:30rpx;
}
.no_btn:active{
 opacity: 0.7
}