暂存工作台抄表
This commit is contained in:
24
pages/readingHistory/components/meterInfo/index.js
Normal file
24
pages/readingHistory/components/meterInfo/index.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// pages/readingHistory/components/meterInfo/index.js
|
||||
Component({
|
||||
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
|
||||
}
|
||||
})
|
8
pages/readingHistory/components/meterInfo/index.json
Normal file
8
pages/readingHistory/components/meterInfo/index.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"van-row": "@vant/weapp/row/index",
|
||||
"van-col": "@vant/weapp/col/index",
|
||||
"van-tag": "@vant/weapp/tag/index"
|
||||
}
|
||||
}
|
55
pages/readingHistory/components/meterInfo/index.wxml
Normal file
55
pages/readingHistory/components/meterInfo/index.wxml
Normal file
@@ -0,0 +1,55 @@
|
||||
<!--pages/readingHistory/components/meterInfo/index.wxml-->
|
||||
<view class="wrapper">
|
||||
<view class="title">
|
||||
<view class="address">
|
||||
标1东-307
|
||||
</view>
|
||||
<view class="status">
|
||||
正常运行中
|
||||
</view>
|
||||
</view>
|
||||
<view class="detail">
|
||||
<van-row gutter="20">
|
||||
<van-col span="12">
|
||||
<view class="text">
|
||||
<view>
|
||||
设备编号
|
||||
</view>
|
||||
<view>
|
||||
1202312423524
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
<van-col span="12">
|
||||
<view class="text">
|
||||
<view>
|
||||
电表类型
|
||||
</view>
|
||||
<view>
|
||||
1202312423524
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
<van-col span="12">
|
||||
<view class="text">
|
||||
<view>
|
||||
最近读数
|
||||
</view>
|
||||
<view>
|
||||
1202312423524
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
<van-col span="12">
|
||||
<view class="text">
|
||||
<view>
|
||||
读数日期
|
||||
</view>
|
||||
<view>
|
||||
1202312423524
|
||||
</view>
|
||||
</view>
|
||||
</van-col>
|
||||
</van-row>
|
||||
</view>
|
||||
</view>
|
22
pages/readingHistory/components/meterInfo/index.wxss
Normal file
22
pages/readingHistory/components/meterInfo/index.wxss
Normal file
@@ -0,0 +1,22 @@
|
||||
/* pages/readingHistory/components/meterInfo/index.wxss */
|
||||
.wrapper {
|
||||
margin: 20rpx 0;
|
||||
padding: 20rpx;
|
||||
box-sizing: border-box;
|
||||
background-color: white;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
.title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
|
||||
.detail .text {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 30rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
Reference in New Issue
Block a user