1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: hty
$Date: 2018/6/5 10:05
$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="announcement_ds" autoQuery="true" model="home.sys_announcement_count">
<a:fields>
<a:field name="list_count"/>
<a:field name="read_radio"/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:menuBlock id="announcement" bindtarget="announcement_ds" count-field="list_count" radio-field="read_radio"
title="系统公告" fa-icon="fa fa-envelope-o" bg-color="#ffce55" click-function="goAnnouncement">
</a:menuBlock>
</a:view>
</a:screen>