You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
1.4 KiB

7 months ago
<template>
<!-- 设备概览 -->
<view class="overview">
功能正在开发中敬请期待...
</view>
</template>
<script>
export default {
data() {
return {
// 1.2搜索内容
search: '',
// 3.设备列表
deviceList: [
],
// 配置项
actionStyle: {
background: 'hsl(200, 88%, 55%)',
color: '#fafaff',
'border-radius': '1vw',
'line-height': '26px'
}
}
},
created() {
// this.getList()
},
methods: {
async getList() {
const { data:res } = await this.$http('app/assetBaseList')
if(res.code) return
this.deviceList = res.data
},
// 跳转详情页
toCheck(item) {
}
}
}
</script>
<style lang="scss">
.overview {
background: #f6f6f6;
padding: 2.667vw 1vw;
height: 100vh;
.search {
background: #eef;
display: flex;
.u-icon {
margin-left: 10px;
}
}
// 展示信息
.main {
margin: 5.333vw 2.667vw;
border: 1px solid hsl(200, 98%, 88%);
border-radius: 1.333vw;
box-shadow: 1px 1px 2vw hsl(200, 98%, 88%);
position: relative;
.i-spot {
position: absolute;
top: 2vw;
left: 2vw;
}
.u-icon{
position: absolute;
top: 1.5vw;
right: 2vw;
}
// .u-row:nth-child(2) .u-col {
// border-bottom: 1px solid hsl(200, 98%, 88%);
// }
.u-col {
padding: 1.333vw;
&:first-child {
font-weight: bold;
}
}
}
}
</style>