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

2019-07-17 10:22发布

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

返回的数据
QQ截图20180402165129.png
想实现的效果 就是在固定位置显示
企业微信截图_20180404095421.png
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
8条回答
xkzt1352310113
1楼-- · 2019-07-17 11:41
大概这样
最佳答案

123.zip 下载积分: 积分 -1 分

10 KB, 下载次数: 11, 下载积分: 积分 -1 分

xkzt1352310113
2楼-- · 2019-07-17 17:00
把字符串发出来 或者源代码
sszx2007
3楼-- · 2019-07-17 21:00
 精彩回答 2  元偷偷看……
8秒秒
4楼-- · 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"}]
8秒秒
5楼-- · 2019-07-17 23:28
sszx2007 发表于 2018-4-4 14:27
同上,你不上传数据是什么目的?

就是接收数据 自动识别 显示数据就可以了
ChenCcccc
6楼-- · 2019-07-18 02:29
xkzt1352310113 发表于 2018-4-4 10:05
大概这样

下载看看学习学习

一周热门 更多>