smartmeter-app/pages/userpage/glRecord.vue

104 lines
1.7 KiB
Vue
Raw Normal View History

2024-03-13 10:54:22 +08:00
<template>
<view>
<u-navbar title="抄表记录" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36'
height='36'></u-navbar>
<view class="cont">
<view class="card">
<view class="left">
<image src="@/static/gl.png" mode=""></image>
</view>
<view class="card_cont">
<view class="text">2501号电表 归零时剩余电量</view>
<view class="txt">
2023年04月01日 15:52
</view>
</view>
<view class="card_right">
115.00
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#F7FAFE",
},
}
},
methods: {
tobd(){
uni.navigateTo({
url:''
})
}
}
}
</script>
<style lang="scss" >
page{
background: #F7FAFE;
}
.cont{
width: 672rpx;
margin: 16rpx auto 0;
display: flex;
// justify-content: center;
flex-wrap: wrap;
.card{
padding-left: 44rpx ;
padding-right: 38rpx;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
margin-top: 16rpx;
width: 672rpx;
height: 180rpx;
background: #FFFFFF;
box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42,130,228,0.1);
border-radius: 30rpx;
.left{
width: 58rpx;
height: 58rpx;
image{
width: 58rpx;
height: 58rpx;
}
}
.card_cont{
width: 310rpx;
display: flex;
flex-wrap: wrap;
.text{
width: 310rpx;
font-weight: 400;
font-size: 24rpx;
color: #262B37;
}
.txt{
width: 310rpx;
font-weight: 400;
font-size: 24rpx;
color: #95989D;
line-height: 64rpx;
}
}
.card_right{
font-weight: 400;
font-size: 32rpx;
color: #262B37;
}
}
}
</style>