MyOAExx/Views/System/Email.cshtml

(开头部分) 4KB

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

@{
    ViewBag.Title = "Email";
    Layout = "~/Views/_Master.cshtml";
}

@using OA.BLL;
@using OA.Models;
@{
    string userid = ViewData["userId"] == null ? "" : ViewData["userId"].ToString();

    Email mail = ViewData["mail"] as Email;
}
<h1><img src="/Images/img/icons/mail-edit.png" alt="" />信箱</h1>

<div class="bloc">
    <div class="title">写邮件</div>
    <div class="content">
        <div class="submit">
            <a href="/System/Email" style=" text-decoration: none;"> <input type="submit" value="写信" /></a>
            <a href="/System/FEmail" style=" text-decoration: none;"> <input type="submit" value="发件箱" /></a>
            <a href="/System/SEmail" style=" text-decoration: none;"> <input type="submit" value="收件箱" /></a>
            <a href="/System/CEmail" style=" text-decoration: none;"> <input type="submit" value="草稿" class="write" /></a>
            <a href="/System/HEmail" style=" text-decoration: none;"> <input type="reset" value="回收站" class="black" style=" float:right;" /></a>
        </div>
        @if (mail == null)
        {
            using (Html.BeginForm("AddEmail", "System", FormMethod.Post))
            {
                <div class="fe">
                    @if (userid.Length == 0)
                    { 
                        <span><a style=" text-decoration: none;" href="~/System/ChooseAddressee">收件人</a></span>  <input type="text" name="UserId" id="userid" />
                    }
                    else
                    {
                        <span><a style=" text-decoration: none;" href="~/System/ChooseAddressee">收件人</a></span><input type="text" id="userid" name="UserId" value="@userid" readonly="readonly" />
                    }
                    <span>标题</span><input type="text" id="tital" name="tital" style="float:left;" /><br /><br /><br /><br />
                </div>
                <div class="input textarea">

                    <span style="float: left; width: 60px; text-align: right; font-size: 18px; ">内容</span><br /><br />
                    <textarea style="margin-top:52px;" name="text" id="contents" rows="7" class="wysiwyg" cols="4"></textarea>
                </div>
                @*<div class="input">
                    <label for="file">上传文件</label>
                    <input type="file" id="file1" />
                    </div>
                *@
                <div class="submit">
                    <input type="submit" value="发送" />
                </div>
            }
            <div class="submit" style="margin-top:-30px;margin-left:60px;">
                <a href="/System/CEmail" onclick="Getcg()" style=" text-decoration: none;"><input type="submit" value="存为草稿" /></a>
            </div>
        }
        else
        {
            using (Html.BeginForm("AddEmail", "System", FormMethod.Post))
后面还有 57 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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