目录

移动特殊样式

特殊效果设置

开关、二值选择、星标。设置后可以在移动端显示出对应的效果,部分特效可以在填报时根据设置返回对应的结果回填到数据库。

图片(轮播)、股票、百分比只是用于显示特殊效果。

在制作报表时,通过菜单工具栏【插入—特殊效果】选择想要的特殊效果,并设置对应的json即可。具体的设置方法和展现效果后面具体介绍。

特效在报表单元格节点示例

特殊样式在报表JSON中的节点为"sSty":{};

普通报表:

{"p":"2","ty":"-91","gL":"0","rV":"true","ht":"215.0","bP":"false","cls":[{"rP":"2","cP":"1","bC":"false","rS":"1","cS":"1","vb":"true","rH":"false","cH":"false","fC":"000000","bgC":"000000","aj":"49","tW":"false","hA":"-47","vA":"-31","idt":"0.0","fN":"Dialog","fS":"12","b":"false","i":"false","ul":"false","etd":"16","lH":"","tH":"","h":"","tg":"_blank","sWP":"false","rBP":"false","cBP":"false","sp":"false","vn":"","he":"null","t":"","n":"","mf":"false","bdC":"d0d7e5,d0d7e5,d0d7e5,d0d7e5","bdT":"80,80,80,80","bdW":"0.758,0.758,0.758,0.758","dC":"000000","dS":"80","dW":"1.0","dT":"-64"," sSty":{"type":"btn","val":[{"level":"","label":"","enable":"","w":""},{}]}]},

填报:

{"id":"F14","x":"355","y":"299","w":"71.0","h":"23.0","l":"E14","t":"F13","blkC":"false","cT":"-64","v":"","rv":"","aT":"49","fC":"#000000","bC":"#ffffff","hA":"-47","vA":"-31","idt":"0.0","fn":"Dialog","fs":"12","b":"0","i":"0","u":"0","hf":"","bdC":"#d0d7e5,#d0d7e5,#d0d7e5,#d0d7e5","bdS":"80,80,80,80","bdW":"0.758,0.758,0.758,0.758","dgl":"#000000,80,1.0"," sSty":{"type":"btn","val":[{"level":"","label":"","enable":"","w":""},{}]},"tip":"null","ip":{}},