12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @{
- ViewBag.Title = "查看邮件";
- Layout = "~/Views/Shared/_Form.cshtml";
- }
- <script>
- var keyValue = '@ViewBag.keyValue';
- var contentId = '@ViewBag.contentId';
- $(function () {
- $("#EmailContent").height($(window).height() - 195);
- initControl();
- })
- //初始化控件
- function initControl() {
- if (keyValue) {
- $.ajax({
- url: "../../PublicInfoManage/Email/ReadEmail",
- data: { keyValue: keyValue, IsRead: 1 },
- type: "post",
- dataType: "json",
- success: function (data) {
- $.currentIframe().InitialEmailNavCount();
- $.currentIframe().$("#gridTable").trigger("reloadGrid");
- }
- });
- }
- $.SetForm({
- url: "../../PublicInfoManage/Email/GetEmailFormJson",
- param: { keyValue: contentId },
- success: function (data) {
- $("#Theme").html(data.Theme).css("color", data.ThemeColor);
- $("#SenderName").html(data.SenderName);
- $("#SenderTime").html(data.SenderTimeName)
- $("#AddresssHtml").html(data.AddresssHtml);
- $("#EmailContent").html(data.EmailContent);
- $(".mail-send-address-del").remove();
- $('.mail-send-addresss').css("padding-top", "0");
- }
- });
- }
- </script>
- <div class="border-bottom" style="padding-top: 10px; background: #F5F5F5; padding-bottom: 8px; height: 130px;">
- <div style="position: absolute; right: 38px; top: 38px;">
- <img style="height: 50px; width: 50px;" src="~/Content/images/80_1.png" />
- </div>
- <div id="Theme" style="padding-bottom: 8px; padding-left: 18px; font-weight: bold; font-size: 16px;">关于2015.9.22服务故障的事故报告与赔偿声明</div>
- <table class="form" style="color: #95A0AA;">
- <tr>
- <th class="formTitle" style="width: 75px; padding-bottom: 4px;">发件人:</th>
- <td class="formValue" style="padding: 0px; padding-bottom: 4px;"><span id="SenderName" style="color: #5fa207;"></span>
- </td>
- </tr>
- <tr>
- <th class="formTitle" style="width: 75px; padding-bottom: 4px;">时 间:</th>
- <td class="formValue" style="padding: 0px; padding-bottom: 4px;">
- <div id="SenderTime">2015年9月22日(星期二) 晚上7:50</div>
- </td>
- </tr>
- <tr>
- <th class="formTitle" style="width: 75px; padding-bottom: 4px;">收件人:</th>
- <td class="formValue" style="padding: 0px; padding-bottom: 4px;">
- <div id="AddresssHtml"></div>
- </td>
- </tr>
- <tr>
- <th class="formTitle" style="width: 75px; padding-bottom: 4px;">附 件:</th>
- <td class="formValue" style="padding: 0px; padding-bottom: 4px;">0 个(点击查看)
- </td>
- </tr>
- </table>
- </div>
- <div id="EmailContent" style="margin: 5px; overflow: auto; padding: 10px; padding-bottom: 0px;">
- </div>
- <div class="form-button" id="wizard-actions">
- <a class="btn btn-success" onclick="AcceptClick(1)">回复邮件</a>
- </div>
|