我有一个 jQuery 移动网站,在我的 Windows Phone 模拟器和我的 Windows Phone 上看起来不同。
这是 Windows Phone 模拟器上的图片:
在我的 Windows Phone 上,我看不到白色箭头。我只看到灰点。这是我的标记:
@model PagedList.IPagedList<product>
@{
ViewBag.Title = "Index";
}
<div data-role="button" data-theme="c">
@Html.ActionLink("Create New", "Create")
</div>
<br />
<br />
<ul data-role="listview" data-filter="true">
@foreach (var item in Model)
{
<li><a href="@Url.Action("Edit", "Admin", new { id = item.ID })">
<h3>@item.Name</h3>
<p>
<strong>@item.FoodCategoryName</strong></p>
</a></li>
}
</ul>
<br />
<br />
<br />
<div class="pager">
Page @(Model.PageCount < Model.PageNumber ? 0 : Model.PageNumber)
of @Model.PageCount
@if (Model.HasPreviousPage)
{
@Html.ActionLink("<<", "Index", new { page = 1, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter })
@Html.Raw(" ");
@Html.ActionLink("< Prev", "Index", new { page = Model.PageNumber - 1, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter })
}
else
{
@:<<
@Html.Raw(" ");
@:< Prev
}
@if (Model.HasNextPage)
{
@Html.ActionLink("Next >", "Index", new { page = Model.PageNumber + 1, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter })
@Html.Raw(" ");
@Html.ActionLink(">>", "Index", new { page = Model.PageCount, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter })
}
else
{
@:Next >
@Html.Raw(" ")
@:>>
}