页面切图
This commit is contained in:
@@ -1,9 +1,53 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<uni-list :border="false">
|
||||
<uni-list-item :show-badge="item<4" badgeType="error" isDot badge-text="未读" title="输入电压异常"
|
||||
note="2023-02-01 15:10:29" v-for="item in 5" />
|
||||
</uni-list>
|
||||
<uni-card title="NPQS_682发生暂降事件" extra="未读" sub-title="2023-02-27 15:13:29" @click="jump">
|
||||
<view class="term-list-bottom">
|
||||
<view class="term-list-bottom-item">
|
||||
特征增幅:88%,持续时间0.047s
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
南京市 灿能园区
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
电压等级:0.38kV
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
网路参数:00-B7-8D-A8-00-D3
|
||||
</view>
|
||||
</view>
|
||||
</uni-card>
|
||||
<uni-card title="NPQS_682发生暂降事件" extra="未读" sub-title="2023-02-27 15:13:29" @click="jump">
|
||||
<view class="term-list-bottom">
|
||||
<view class="term-list-bottom-item">
|
||||
特征增幅:88%,持续时间0.047s
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
南京市 灿能园区
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
电压等级:0.38kV
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
网路参数:00-B7-8D-A8-00-D3
|
||||
</view>
|
||||
</view>
|
||||
</uni-card>
|
||||
<uni-card title="NPQS_682发生暂降事件" sub-title="2023-02-27 15:13:29" @click="jump">
|
||||
<view class="term-list-bottom">
|
||||
<view class="term-list-bottom-item">
|
||||
特征增幅:88%,持续时间0.047s
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
南京市 灿能园区
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
电压等级:0.38kV
|
||||
</view>
|
||||
<view class="term-list-bottom-item">
|
||||
网路参数:00-B7-8D-A8-00-D3
|
||||
</view>
|
||||
</view>
|
||||
</uni-card>
|
||||
<uni-load-more status="nomore"></uni-load-more>
|
||||
</view>
|
||||
</template>
|
||||
@@ -19,18 +63,40 @@ export default {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
jump () {
|
||||
console.log(123);
|
||||
uni.navigateTo({ url: '/pages/message/termDetail' })
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.content {
|
||||
padding-top: 20rpx;
|
||||
// padding-top: 20rpx;
|
||||
}
|
||||
|
||||
.term-list-bottom {
|
||||
.term-list-bottom-item {
|
||||
font-size: 28rpx;
|
||||
margin-bottom: 10rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
// view:first-of-type{
|
||||
// color: #111;
|
||||
// }
|
||||
}
|
||||
|
||||
.term-list-bottom-item:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .uni-list-item {
|
||||
background-color: $uni-theme-white !important;
|
||||
}
|
||||
/deep/ .uni-card__header-extra-text {
|
||||
color: #dd524d !important;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user