页面切图
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<Cn-page :loading='loading'>
|
||||
<view slot='body'>
|
||||
<view class='detail'>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<!-- <view class="detail-content-title mb20">发生时间</view> -->
|
||||
<view>2023-02-14</view>
|
||||
</view>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<uni-list :border="false">
|
||||
<uni-list-item :show-badge="item<4" badgeType="error" isDot badge-text="未读" title="输入电压异常1"
|
||||
note="2023-02-01 15:10:29" v-for="item in 5" />
|
||||
<uni-list-item show-badge badgeType="error" isDot badge-text="未读" title="发生稳态越限监测点10个" note="2023-02-03" clickable @click="jump" />
|
||||
<uni-list-item show-badge badgeType="error" isDot badge-text="未读" title="发生稳态越限监测点10个" note="2023-02-02" clickable @click="jump" />
|
||||
<uni-list-item show-badge badgeType="error" isDot badge-text="未读" title="发生稳态越限监测点10个" note="2023-02-01" clickable @click="jump" />
|
||||
<uni-list-item badgeType="error" isDot badge-text="未读" title="发生稳态越限监测点10个" note="2023-01-31" clickable @click="jump" />
|
||||
<uni-list-item badgeType="error" isDot badge-text="未读" title="发生稳态越限监测点10个" note="2023-01-30" clickable @click="jump" />
|
||||
</uni-list>
|
||||
<uni-load-more status="nomore"></uni-load-more>
|
||||
</view>
|
||||
@@ -19,7 +22,9 @@ export default {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
jump(){
|
||||
uni.navigateTo({ url: '/pages/message/reportList' })
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -33,6 +38,7 @@ export default {
|
||||
/deep/ .uni-list-item {
|
||||
background-color: $uni-theme-white !important;
|
||||
}
|
||||
|
||||
/deep/ .uni-badge {
|
||||
background-color: unset !important;
|
||||
color: #dd524d !important;
|
||||
|
||||
49
pages/message/reportDetail.vue
Normal file
49
pages/message/reportDetail.vue
Normal file
@@ -0,0 +1,49 @@
|
||||
<template>
|
||||
<Cn-page :loading='loading'>
|
||||
<view slot='body'>
|
||||
<view class='detail'>
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<!-- <view class="detail-content-title mb20">发生时间</view> -->
|
||||
<view>2023-02-14</view>
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">电压谐波畸变率越限4</view>
|
||||
<image style="width:100%" src="/static/boxing3.jpeg" mode="widthFix" />
|
||||
</view>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content-title mb20">5次电压谐波含有率越限</view>
|
||||
<image style="width:100%" src="/static/boxing3.jpeg" mode="widthFix" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</Cn-page>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang='scss'>
|
||||
.detail {
|
||||
padding: 20rpx 0;
|
||||
|
||||
.detail-content {
|
||||
padding: 20rpx;
|
||||
background: #fff;
|
||||
margin-bottom: 20rpx;
|
||||
font-size: 26rpx;
|
||||
|
||||
.detail-content-title {
|
||||
font-size: 32rpx;
|
||||
color: #111;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
54
pages/message/reportList.vue
Normal file
54
pages/message/reportList.vue
Normal file
@@ -0,0 +1,54 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<!-- <view class="detail-content-title mb20">发生时间</view> -->
|
||||
<view>2023-02-14</view>
|
||||
</view>
|
||||
<uni-list :border="false">
|
||||
<uni-list-item title="灿能园区,CN_NPQS682发生稳态越线" note="电压谐波畸变率越限45分钟,5次电压谐波含有率越限5分钟" clickable @click="jump" />
|
||||
<uni-list-item title="灿能园区,CN_NPQS682发生稳态越线" note="电压谐波畸变率越限27分钟,5次电压谐波含有率越限3分钟" clickable @click="jump" />
|
||||
<uni-list-item title="灿能园区,CN_NPQS682发生稳态越线" note="电压谐波畸变率越限45分钟,5次电压谐波含有率越限5分钟" clickable @click="jump" />
|
||||
<uni-list-item title="灿能园区,CN_NPQS682发生稳态越线" note="电压谐波畸变率越限45分钟,5次电压谐波含有率越限5分钟" clickable @click="jump" />
|
||||
<uni-list-item title="灿能园区,CN_NPQS682发生稳态越线" note="电压谐波畸变率越限45分钟,5次电压谐波含有率越限5分钟" clickable @click="jump" />
|
||||
</uni-list>
|
||||
<uni-load-more status="nomore"></uni-load-more>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
title: '灿能'
|
||||
}
|
||||
},
|
||||
onLoad () {
|
||||
|
||||
},
|
||||
methods: {
|
||||
jump () {
|
||||
uni.navigateTo({ url: '/pages/message/reportDetail' })
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.content {
|
||||
.detail-content{
|
||||
padding: 20rpx 30rpx;
|
||||
background: #fff;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .uni-list-item {
|
||||
background-color: $uni-theme-white !important;
|
||||
}
|
||||
|
||||
/deep/ .uni-badge {
|
||||
background-color: unset !important;
|
||||
color: #dd524d !important;
|
||||
font-size: 28rpx !important;
|
||||
}
|
||||
</style>
|
||||
@@ -2,7 +2,7 @@
|
||||
<Cn-page :loading='loading'>
|
||||
<view slot='body'>
|
||||
<view class='detail'>
|
||||
<view class="detail-content ">
|
||||
<view class="detail-content " style="font-size:32rpx">
|
||||
<!-- <view class="detail-content-title mb20">发生时间</view> -->
|
||||
<view>2023-02-14</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user