Master.CanYinWu.Web/Views/Article/RelatedArtcile.cshtml

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。


@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ReladtedProject</title>
    <link href="~/Content/layui/css/layui.css" rel="stylesheet" />
</head>
<body>
    <form class="layui-form">
        <div class="demoTable">
            标题:
            <div class="layui-input-inline">
                <input type="text" class="layui-input searchVal" placeholder="请输入标题" />
            </div>
            <a class="layui-btn search_btn" data-type="reload">搜索</a>
            <a class="layui-btn ok_btn" data-type="reload">确定</a>
        </div>
        <table id="list" lay-filter="list"></table>
    </form>
    <script src="~/Content/layui/layui.js"></script>
    <script src="~/Content/js/Common.js"></script>
    <script type="text/javascript">
        layui.use(['form', 'table'], function () {
            var table = layui.table, form = layui.form,
                $ = layui.jquery;
            var tableIns = table.render({
                elem: '#list',
                url: '/Article/GetRelatedArticle',
                cols: [[
                    { type: "checkbox", fixed: "left", width: 50 },
                    { field: 'ArticleInfoId', title: 'Id', align: 'center', width: 80 },
                    {
                        field: 'ArticleTitle', title: '标题'
                    },
                    { field: 'ArticleAttribute', title: '属性', align: 'center', width: 80},
                    {
                        field: 'ColumnParentName', title: '所属栏目', align: 'center', width: 130
                    },
                    {
                        field: 'IsCheck', title: '审核状态', align: 'center', width: 90, templet: function (d) {
                            var str = "<span style='color:red;'>未审核</span>";
                            if (d.IsCheck == 1) {
                                str = "<span class='layui-blue'>已审核</span>";
                            }
                            return str;
                        }
                    },
                    {
                        field: 'PC_Collection', title: 'PC收录', align: 'center', width: 90, templet: function (d) {
                            var str = "<a href='https://www.baidu.com/s?wd=https://www.Master.CanYinWu.com/" + d.Url + "/" + d.ArticleInfoId + ".html' style='color:red;'  target='_blank'>未收录</a>";
                            if (d.PC_Collection == 1) {
                                str = "<a href='https://www.baidu.com/s?wd=https://www.Master.CanYinWu.com/" + d.Url + "/" + d.ArticleInfoId + ".html' style='color:green;' target='_blank'>已收录</a>";
                            }
                            return str;
                        }
                    },
后面还有 58 行代码,购买后查看完整代码

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

AI 解读 AI

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

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