|
@@ -3,9 +3,11 @@
|
|
|
<view style="position: fixed;z-index: 100;width: 100%;">
|
|
<view style="position: fixed;z-index: 100;width: 100%;">
|
|
|
<uni-nav-bar right-icon="search" title="设备列表" @clickRight="clickRight"></uni-nav-bar>
|
|
<uni-nav-bar right-icon="search" title="设备列表" @clickRight="clickRight"></uni-nav-bar>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="utabs">
|
|
|
|
|
- <u-tabs :list="list" :is-scroll="true" :current="current" @change="change" item-width="140" font-size="24" gutter="20"
|
|
|
|
|
- bar-width="60" active-color="#42b983"></u-tabs>
|
|
|
|
|
|
|
+ <view class="utabs_box">
|
|
|
|
|
+ <view class="utabs">
|
|
|
|
|
+ <u-tabs :list="list" :is-scroll="true" :current="current" @change="change" item-width="140" font-size="24" gutter="20"
|
|
|
|
|
+ bar-width="60" active-color="#42b983"></u-tabs>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="list">
|
|
<view class="list">
|
|
|
<view class="list_item" v-for="(item,index) in eqlistdata" :key="index">
|
|
<view class="list_item" v-for="(item,index) in eqlistdata" :key="index">
|
|
@@ -117,11 +119,16 @@
|
|
|
/deep/.uni-icons{
|
|
/deep/.uni-icons{
|
|
|
font-size: 40rpx !important;
|
|
font-size: 40rpx !important;
|
|
|
}
|
|
}
|
|
|
- .utabs {
|
|
|
|
|
- width: 95%;
|
|
|
|
|
|
|
+ .utabs_box{
|
|
|
|
|
+ width: 100%;
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
top: 44px;
|
|
top: 44px;
|
|
|
|
|
+ background-color: #FFFFFF;
|
|
|
z-index: 100;
|
|
z-index: 100;
|
|
|
|
|
+ .utabs {
|
|
|
|
|
+ width: 95%;
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.list{
|
|
.list{
|
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -130,7 +137,7 @@
|
|
|
top: 180rpx;
|
|
top: 180rpx;
|
|
|
margin-bottom: 100rpx;
|
|
margin-bottom: 100rpx;
|
|
|
.list_item{
|
|
.list_item{
|
|
|
- width: 95%;
|
|
|
|
|
|
|
+ width: 90%;
|
|
|
margin: 20rpx auto;
|
|
margin: 20rpx auto;
|
|
|
padding: 10rpx 20rpx;
|
|
padding: 10rpx 20rpx;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|