高章伟
2022-03-18 4bfe21c4b5ddc089ae5a95f4b10f6cff148b690d
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
40
41
42
43
44
45
46
47
48
49
<apex:page id="Page" controller="OFSBulletinBoardController" standardStylesheets="false" sidebar="false" showHeader="false" action="{!init}">
<style>
div#hbbcontainer
{
    overflow:auto;
    width:100%;
    height:105px;
}
div#hbbcontainer tr.noHeader
{
    display:none;
}
 
.tr {
    height: 40px;
    border-bottom-style: groove;
}
a{
text-decoration: none;
}
 
</style>
<apex:form id="allForm" styleClass="homeTab">
    <apex:pageBlock id="allBlock">
        <table class="list" style="border-bottom-width: 0px; font-size:14px;width:310px;" border="0" cellspacing="0" cellpadding="0">
            <tr class="headerRow" style="border-bottom-width: 1px;border-bottom-style: groove;height:40px;">
                <th style="text-align:center;padding-top: 0px;padding-bottom: 0px;border-bottom-width: 1px;border-bottom-style: groove;border-left-width: 0px;padding-right: 0px;height: 20px;width:90px">公开日</th>
                <th style="text-align:center;padding-top: 0px;padding-bottom: 0px;border-bottom-width: 1px;border-bottom-style: groove;border-left-width: 1px;padding-right: 0px;height: 20px;width:110px">分类1</th>
                <th style="text-align:center;padding-top: 0px;padding-bottom: 0px;border-bottom-width: 1px;border-bottom-style: groove;border-left-width: 1px;padding-right: 0px;height: 20px;">主题</th>
            </tr>
            <apex:variable value="{!1}" var="cnt" />
            <apex:repeat value="{!hbbInfoList}" var="hbb" id="hhbdata">
                <tr style=" border-bottom-width: 1px;border-bottom-style: groove;height:40px;width:310px;">
                    <td style="text-align:left; width=:90px;border-bottom-width: 1px;border-bottom-style: groove;">
                        <apex:outputText value="{0,date,yyyy/MM/dd}">
                            <apex:param value="{!hbb.openday}" />
                        </apex:outputText>
                    </td>
                    <td style="text-align:left; width:110px;border-bottom-width: 1px;border-bottom-style: groove;"><apex:outputText value="{!hbb.bunrui}"/></td>
                    <td style="text-align:center; border-bottom-width: 1px;border-bottom-style: groove;">
                        <a id="Loc_{!Text(cnt)}" href="/apex/OFSHoverView?Id={!URLENCODE(hbb.linkId)}&wv=1&w=50&h=36.621094"><apex:outputText value="{!hbb.subject}"/></a>
                    </td>
                </tr>
                <apex:variable value="{!cnt + 1}" var="cnt" />
            </apex:repeat>
        </table>
    </apex:pageBlock>
</apex:form>
</apex:page>