使用
包围代码使用
包围代码(1) 示例
机器
指令
{{item.instruction}}
时间
{{item.time}}
内容
Array
(
[type] => Server
[cmd] => setpara
[cmd_id] => 1598927502
[devsn] => 19094051422
[items] => Array
(
[P8] => 2
)
)
export default {
data() {
return {
logList:[
{
machineNo:"zj100000013",
instruction:"getpara",
time:"2020-09-01 10:09:42",
content:"Array"
},
{
machineNo:"zj100000013",
instruction:"getpara",
time:"2020-09-01 10:09:42",
content:"Array"
},
{
machineNo:"zj100000013",
instruction:"getpara",
time:"2020-09-01 10:09:42",
content:"Array"
}
]
}
},
methods: {
},
onLoad:function(){
}
}
.cells{
padding: 0 15px;
.cell{
display: flex;
flex-direction: column;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
.hd{
color: #000;
margin-right: 8px;
}
.bd{
color: #888;
}
}
}
(2) 效果
image.png