¶Ô±ÈÐÂÎļþ |
| | |
| | | <script setup> |
| | | </script> |
| | | <template> |
| | | <view class="navigation"> |
| | | <view class="left"> |
| | | <view class="item"> |
| | | <u-icon name="server-fill" :size="20" :color="$u.color['contentColor']"></u-icon> |
| | | <view class="text u-line-1">客æ</view> |
| | | </view> |
| | | <view class="item"> |
| | | <u-icon name="home" :size="20" :color="$u.color['contentColor']"></u-icon> |
| | | <view class="text u-line-1">åºéº</view> |
| | | </view> |
| | | <view class="item car"> |
| | | <u-badge class="car-num" :count="9" type="error" :offset="[-3, -6]"></u-badge> |
| | | <u-icon name="shopping-cart" :size="20" :color="$u.color['contentColor']"></u-icon> |
| | | <view class="text u-line-1">è´ç©è½¦</view> |
| | | </view> |
| | | </view> |
| | | <view class="right"> |
| | | <view class="cart btn u-line-1">å å
¥è´ç©è½¦</view> |
| | | <view class="buy btn u-line-1">ç«å³è´ä¹°</view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | <style lang="scss" scoped> |
| | | .navigation { |
| | | position: fixed; |
| | | bottom: 0; |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-top: 100rpx; |
| | | border: solid 2rpx #f2f2f2; |
| | | background-color: #ffffff; |
| | | padding: 16rpx 0; |
| | | .left { |
| | | display: flex; |
| | | font-size: 20rpx; |
| | | .item { |
| | | margin: 0 20rpx; |
| | | &.car { |
| | | text-align: center; |
| | | position: relative; |
| | | .car-num { |
| | | position: absolute; |
| | | top: -10rpx; |
| | | right: -10rpx; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .right { |
| | | display: flex; |
| | | font-size: 28rpx; |
| | | padding-right: 10rpx; |
| | | align-items: center; |
| | | .btn { |
| | | line-height: 66rpx; |
| | | padding: 0 30rpx; |
| | | border-radius: 36rpx; |
| | | color: #ffffff; |
| | | } |
| | | .cart { |
| | | background-color: #ed3f14; |
| | | margin-right: 30rpx; |
| | | } |
| | | .buy { |
| | | background-color: #ff7900; |
| | | } |
| | | } |
| | | } |
| | | </style> |