tutorial-stock-quote2.vm

来自「jetspeed源代码」· VM 代码 · 共 23 行

VM
23
字号
<table>
  <tr>
    <td>
      <table border="true" cellspacing="1" cellpadding="3">
        <tr>
          #foreach ($column in $selected-columns)
          #headerCell ($column)
          #end
        </tr>

        #foreach ($quote in $quotes)
        <tr>
          #if ($columns.indexOf("Symbol") >= 0) #entryCell ($quote.Symbol) #end
          #if ($columns.indexOf("Price") >= 0) #entryCell ($quote.Price) #end
          #if ($columns.indexOf("Change") >= 0) #entryCell ($quote.Change) #end
          #if ($columns.indexOf("Volume") >= 0) #entryCell ($quote.Volume) #end
        </tr>
        #end
      </table>
    </td>
  </tr>
</table>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?