<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: hty $Date: 2018/6/5 11:39 $Revision: 1.0 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure/> <a:view template="default" package="leaf.ui.std"> <style> html, body { width: 270px; height: 70px; margin: 0; padding: 0; } </style> <div></div> <script><![CDATA[ function goAnnouncement() { top.mainJumpCode('SYS100'); } ]]></script> <a:dataSets> <a:dataSet id="notice_ds" autoQuery="true" model="home.sys_notice_count"> <a:fields> <a:field name="list_count"/> <a:field name="read_radio"/> </a:fields> </a:dataSet> </a:dataSets> <a:menuBlock id="notice" bindtarget="notice_ds" count-field="list_count" radio-field="read_radio" title="系统公告" fa-icon="fa fa-bullhorn" bg-color="#03b3b2" click-function="goAnnouncement"> </a:menuBlock> <!--<a:screenBody/>--> </a:view> </a:screen>