Test.Core.Web/pages/Repeater.cshtml

(完整代码) 926B

@page
@using CommonUtils

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Repeater</title>
</head>
<body>
    @{
        List<Weather> list = new List<Weather>();
        list.Add(WeatherUtil.Get());
        list.Add(WeatherUtil.Get());
        list.Add(WeatherUtil.Get());
        list.Add(WeatherUtil.Get());
        foreach (var weather in list)
        {
            @Html.Raw(string.Format("{0}-{1}<br />", weather.City, weather.Air))
            @Html.Raw(string.Format("{0}-{1}<br />", weather.City, weather.Air));
            @weather.City @:-@weather.Air <br />;
        }
    }
    @foreach (var weather in list)
    {
        @Html.Raw(string.Format("{0}-{1}<br />", weather.City, weather.Air))
        @Html.Raw(string.Format("{0}-{1}<br />", weather.City, weather.Air));
        @weather.City @:-@weather.Air <br />;
    }
    @@list[0].City
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。