0

我想在左侧和右侧的 jquery 按钮中设置文本,如下图所示?

<ul id="listid" data-theme="c" data-role="listview"> 

   <li><a href="#"><h3 class="ui-li-heading">Text 1</h3><p class="ui-li-desc">Date 
   1</p></a></li>
   <li><a href="#"><h3 class="ui-li-heading">Text 2</h3><p class="ui-li-desc">Date 
   2</p></a></li>

</ul>  

在此处输入图像描述

4

1 回答 1

1

ui-li-aside为此目的使用类:

<ul id="listid" data-theme="c" data-role="listview"> 
   <li>
    <a href="#">
      <h3 class="ui-li-heading">Text 1</h3>
      <p class="ui-li-desc">Date 1</p>
      <p class="ui-li-aside">Score 1</p>
    </a>
   </li>
   <li>
    <a href="#">
      <h3 class="ui-li-heading">Text 2</h3>
      <p class="ui-li-desc">Date 2</p>
      <p class="ui-li-aside">Score 2</p>
    </a>
   </li>
</ul>
于 2012-10-30T07:28:44.857 回答