图标更新、我的页面更新
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
<uni-grid :column="4" :showBorder="false" @change="toDetail">
|
||||
<uni-grid-item v-for="(item,index) in gridList" :index="index" :key="index+'work'">
|
||||
<view class="grid-item-box">
|
||||
<uni-icons :type="item.icon" size="30"></uni-icons>
|
||||
<view class="icon iconfont" :class="item.icon" size="30"></view>
|
||||
<text class="text">{{item.text}}</text>
|
||||
</view>
|
||||
</uni-grid-item>
|
||||
@ -32,27 +32,27 @@
|
||||
siteId: '', //选择的站点ID
|
||||
gridList: [{
|
||||
page: 'bmszl',
|
||||
icon: 'map-filled',
|
||||
icon: 'icon-BMS',
|
||||
text: 'BMS总览',
|
||||
},
|
||||
{
|
||||
page: 'bmsdcc',
|
||||
icon: 'map',
|
||||
icon: 'icon-a-dianchicunengliangkuai',
|
||||
text: 'BMS电池簇',
|
||||
},
|
||||
{
|
||||
page: 'pcs',
|
||||
icon: 'flag-filled',
|
||||
icon: 'icon-PCS',
|
||||
text: 'PCS',
|
||||
},
|
||||
{
|
||||
page: 'db',
|
||||
icon: 'smallcircle',
|
||||
icon: 'icon-dianbiao4',
|
||||
text: '电表',
|
||||
},
|
||||
{
|
||||
page: 'dtdc',
|
||||
icon: 'smallcircle-filled',
|
||||
icon: 'icon-dantidianchi',
|
||||
text: '单体电池',
|
||||
}
|
||||
]
|
||||
@ -129,6 +129,10 @@
|
||||
;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: 500px) {}
|
||||
</style>
|
||||
Reference in New Issue
Block a user