请问如何自动截取字符串 并固定显示出来?

2019-07-17 10:22发布

这个是通过json获取服务器里面的数据,并返回字符串数据
企业微信截图_20180404095719.png

返回的数据
QQ截图20180402165129.png
想实现的效果 就是在固定位置显示
企业微信截图_20180404095421.png
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
8条回答
8秒秒
2019-07-17 22:42
xkzt1352310113 发表于 2018-4-4 13:29
把字符串发出来 或者源代码

[{"id":394,"Time":1522723838,"Uid":"0","Meter":"1188i","Bd":"消息C1","Sta":"0123456789","Sdn":"33333003","Addd":"0","Vel":"0.000000","Flow":"0.000000","Su":"0.000000","Sd":"0.000000","Sq":"0","Pos":"0","Neg":"0","Net":"0","Too":"0.000000","Ti":"0.000000","Ts":"0.000000","Sp":"0.000000","Rp":"0.000000","Subp":"0.000000","Ehc":"0.000000","Thc":"0.000000","Rh":"0.000000","Th":"0.000000","Eqh":"0.000000","Theat":"0.000000","Em":"x1E-3","Re1":"0.000000","Re2":"0.000000","Re3":"0.000000","Re4":"0.000000","Re5":"0.000000","Re6":"0.000000","Re7":"0.000000","Te1":"0.000000","Te2":"0.000000","Te3":"0.000000","Te4":"0.000000","Te5":"0.000000","Te6":"0.000000","Te7":"0.000000","Lot":"1420070400","Lof":"0.000000","Res1":"0","Res2":"0","Res3":"0","Res4":"0","Res5":"0","Res6":"0"},{"id":394,"Time":1522723838,"Uid":"0","Meter":"1188i","Bd":"消息C2","Sta":"0123456789","Sdn":"30003333","Addd":"0","Vel":"0.000000","Flow":"0.000000","Su":"0.000000","Sd":"0.000000","Sq":"0","Pos":"0","Neg":"0","Net":"0","Too":"0.000000","Ti":"0.000000","Ts":"0.000000","Sp":"0.000000","Rp":"0.000000","Subp":"0.000000","Ehc":"0.000000","Thc":"0.000000","Rh":"0.000000","Th":"0.000000","Eqh":"0.000000","Theat":"0.000000","Em":"x1E-3","Re1":"0.000000","Re2":"0.000000","Re3":"0.000000","Re4":"0.000000","Re5":"0.000000","Re6":"0.000000","Re7":"0.000000","Te1":"0.000000","Te2":"0.000000","Te3":"0.000000","Te4":"0.000000","Te5":"0.000000","Te6":"0.000000","Te7":"0.000000","Lot":"1420070400","Lof":"0.000000","Res1":"0","Res2":"0","Res3":"0","Res4":"0","Res5":"0","Res6":"0"},{"id":394,"Time":1522723838,"Uid":"0","Meter":"1188i","Bd":"消息C3","Sta":"0123456789","Sdn":"33300003","Addd":"0","Vel":"0.000000","Flow":"0.000000","Su":"0.000000","Sd":"0.000000","Sq":"0","Pos":"0","Neg":"0","Net":"0","Too":"0.000000","Ti":"0.000000","Ts":"0.000000","Sp":"0.000000","Rp":"0.000000","Subp":"0.000000","Ehc":"0.000000","Thc":"0.000000","Rh":"0.000000","Th":"0.000000","Eqh":"0.000000","Theat":"0.000000","Em":"x1E-3","Re1":"0.000000","Re2":"0.000000","Re3":"0.000000","Re4":"0.000000","Re5":"0.000000","Re6":"0.000000","Re7":"0.000000","Te1":"0.000000","Te2":"0.000000","Te3":"0.000000","Te4":"0.000000","Te5":"0.000000","Te6":"0.000000","Te7":"0.000000","Lot":"1420070400","Lof":"0.000000","Res1":"0","Res2":"0","Res3":"0","Res4":"0","Res5":"0","Res6":"0"},{"id":394,"Time":1522723838,"Uid":"0","Meter":"1188i","Bd":"消息C1","Sta":"0123456789","Sdn":"11333333","Addd":"0","Vel":"0.000000","Flow":"0.000000","Su":"0.000000","Sd":"0.000000","Sq":"0","Pos":"0","Neg":"0","Net":"0","Too":"0.000000","Ti":"0.000000","Ts":"0.000000","Sp":"0.000000","Rp":"0.000000","Subp":"0.000000","Ehc":"0.000000","Thc":"0.000000","Rh":"0.000000","Th":"0.000000","Eqh":"0.000000","Theat":"0.000000","Em":"x1E-3","Re1":"0.000000","Re2":"0.000000","Re3":"0.000000","Re4":"0.000000","Re5":"0.000000","Re6":"0.000000","Re7":"0.000000","Te1":"0.000000","Te2":"0.000000","Te3":"0.000000","Te4":"0.000000","Te5":"0.000000","Te6":"0.000000","Te7":"0.000000","Lot":"1420070400","Lof":"0.000000","Res1":"0","Res2":"0","Res3":"0","Res4":"0","Res5":"0","Res6":"0"}]

一周热门 更多>