|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/ada36728/6e3bc2/ |
?#pragma checksum "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "001393D93CB1B77408830EEE25B82A8D2CF13614"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具天生。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且若是
// 沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP {
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Helpers;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Optimization;
using Web;
#line 2 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
using Web.Code;
#line default
#line hidden
#line 3 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
using Common;
#line default
#line hidden
public class _Page_Areas_Admin_Views_Home_config_cshtml : System.Web.Mvc.WebViewPage<Model.Config> {
#line hidden
public _Page_Areas_Admin_Views_Home_config_cshtml() {
}
protected ASP.global_asax ApplicationInstance {
get {
return ((ASP.global_asax)(Context.ApplicationInstance));
}
}
public override void Execute() {
#line 4 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
ViewBag.Title = "网站设置";
#line default
#line hidden
WriteLiteral("\r\n<link");
WriteLiteral(" rel=\"stylesheet\"");
WriteLiteral(" href=\"/ashx/uploadh5/jQuery.upload.css?v=20260128\"");
WriteLiteral(">\r\n\r\n<body>\r\n <div");
WriteLiteral(" class=\"content\"");
WriteLiteral(">\r\n <h3>网站设置</h3>\r\n <div");
WriteLiteral(" class=\"form_box\"");
WriteLiteral(">\r\n");
#line 13 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
#line default
#line hidden
#line 13 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
using (Html.BeginForm())
{
#line default
#line hidden
#line 15 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(Html.AntiForgeryToken());
#line default
#line hidden
#line 15 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
#line default
#line hidden
WriteLiteral(" <p>\r\n <strong><em>*</em>网站名称:</strong>\r\n " +
" <input");
WriteLiteral(" type=\"text\"");
WriteLiteral(" id=\"name\"");
WriteLiteral(" name=\"name\"");
WriteLiteral(" class=\"ipt\"");
WriteLiteral(" placeholder=\"网站名称\"");
WriteLiteral(" verify=\"required\"");
WriteAttribute("value", Tuple.Create(" value=\"", 539), Tuple.Create("\"", 558)
#line 18 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
, Tuple.Create(Tuple.Create("", 547), Tuple.Create<System.Object, System.Int32>(Model.name
#line default
#line hidden
, 547), false)
);
WriteLiteral(" />\r\n <span");
WriteLiteral(" class=\"tip\"");
WriteLiteral(">每个页面都显示</span>\r\n </p>\r\n");
WriteLiteral(" <p>\r\n <strong>首页标题:</strong>\r\n " +
" <input");
WriteLiteral(" type=\"text\"");
WriteLiteral(" id=\"title\"");
WriteLiteral(" name=\"title\"");
WriteLiteral(" class=\"ipt\"");
WriteLiteral(" placeholder=\"首页标题\"");
WriteLiteral(" verify=\"required\"");
WriteAttribute("value", Tuple.Create(" value=\"", 816), Tuple.Create("\"", 836)
#line 23 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
, Tuple.Create(Tuple.Create("", 824), Tuple.Create<System.Object, System.Int32>(Model.title
#line default
#line hidden
, 824), false)
);
WriteLiteral(" />\r\n <span");
WriteLiteral(" class=\"tip\"");
WriteLiteral(">首页显示</span>\r\n </p>\r\n");
WriteLiteral(" <p>\r\n <strong>关键词:</strong>\r\n " +
" <input");
WriteLiteral(" type=\"text\"");
WriteLiteral(" id=\"keyword\"");
WriteLiteral(" name=\"keyword\"");
WriteLiteral(" class=\"ipt\"");
WriteLiteral(" placeholder=\"关键词\"");
WriteAttribute("value", Tuple.Create(" value=\"", 1075), Tuple.Create("\"", 1097)
#line 28 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
, Tuple.Create(Tuple.Create("", 1083), Tuple.Create<System.Object, System.Int32>(Model.keyword
#line default
#line hidden
, 1083), false)
);
WriteLiteral(" />\r\n <span");
WriteLiteral(" class=\"tip\"");
WriteLiteral(">首页显示</span>\r\n </p>\r\n");
WriteLiteral(" <p>\r\n <strong>网站描述:</strong>\r\n " +
" <textarea");
WriteLiteral(" id=\"description\"");
WriteLiteral(" name=\"description\"");
WriteLiteral(" class=\"textarea\"");
WriteLiteral(" placeholder=\"网站描述\"");
WriteLiteral(">");
#line 33 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(Model.description);
#line default
#line hidden
WriteLiteral("</textarea>\r\n <span");
WriteLiteral(" class=\"tip\"");
WriteLiteral(">首页显示</span>\r\n </p>\r\n");
WriteLiteral(" <p>\r\n <strong>联系电话:</strong>\r\n " +
" <input");
WriteLiteral(" type=\"text\"");
WriteLiteral(" id=\"phone\"");
WriteLiteral(" name=\"phone\"");
WriteLiteral(" class=\"ipt\"");
WriteLiteral(" placeholder=\"联系电话\"");
WriteLiteral(" verify=\"required\"");
WriteAttribute("value", Tuple.Create(" value=\"", 1623), Tuple.Create("\"", 1643)
#line 38 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
, Tuple.Create(Tuple.Create("", 1631), Tuple.Create<System.Object, System.Int32>(Model.phone
#line default
#line hidden
, 1631), false)
);
WriteLiteral(" />\r\n <span");
WriteLiteral(" class=\"tip\"");
WriteLiteral(">售后联系电话</span>\r\n </p>\r\n");
WriteLiteral(" <p>\r\n <strong>发货身份:</strong>\r\n");
WriteLiteral(" ");
#line 43 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(Html.GetDropDownList("fahuoShenfen", WebClass.ArrShenfen, Model.fahuoShenfen, "", -1, "w150"));
#line default
#line hidden
WriteLiteral("\r\n <span");
WriteLiteral(" class=\"tips\"");
WriteLiteral(">注明:能够发货的最低用户身份,请设置为店东或以上</span>\r\n </p>\r\n");
#line 46 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
#line default
#line hidden
#line 50 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" class=\"form_item\"");
WriteLiteral(">\r\n <strong><em>*</em>客服二维码:</strong>\r\n <di" +
"v");
WriteLiteral(" class=\"upload\"");
WriteLiteral(" action=\"/ashx/uploadh5/UploadHander.ashx?folder=admin\"");
WriteLiteral(" id=\"up_pic\"");
WriteLiteral(" data-name=\"weixinpic\"");
WriteLiteral(" data-value=\"");
#line 53 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(Model.weixinpic);
#line default
#line hidden
WriteLiteral("\"");
WriteLiteral(" style=\"width:110px;height:110px;\"");
WriteLiteral("></div>\r\n <span");
WriteLiteral(" style=\"display: inline-block;\"");
WriteLiteral(">显示在客服页面中</span>\r\n </div>\r\n");
#line 56 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
#line default
#line hidden
#line 65 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" class=\"form_item\"");
WriteLiteral(">\r\n <strong>注册须知:</strong>\r\n <div");
WriteLiteral(" style=\"display: inline-block;\"");
WriteLiteral(" class=\"scroll_box\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 69 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(Html.TextBoxFor(model => model.agreement, new { @class = "tinymce_editor" }));
#line default
#line hidden
WriteLiteral("\r\n </div>\r\n ");
WriteLiteral("\r\n </div>\r\n");
WriteLiteral(" <div");
WriteLiteral(" class=\"form_item\"");
WriteLiteral(">\r\n <strong>关于918博天堂:</strong>\r\n <div");
WriteLiteral(" style=\"display: inline-block;\"");
WriteLiteral(" class=\"scroll_box\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 76 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(Html.TextBoxFor(model => model.about, new { @class = "tinymce_editor" }));
#line default
#line hidden
WriteLiteral("\r\n </div>\r\n ");
WriteLiteral("\r\n </div>\r\n");
WriteLiteral(" <p");
WriteLiteral(" class=\"pbtn\"");
WriteLiteral(">\r\n <strong> </strong>\r\n <input");
WriteLiteral(" class=\"btn\"");
WriteLiteral(" type=\"submit\"");
WriteLiteral(" value=\"确认提交\"");
WriteLiteral(" />\r\n ");
WriteLiteral("\r\n </p>\r\n");
#line 85 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
}
#line default
#line hidden
WriteLiteral(" </div>\r\n </div>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/ashx/uploadh5/jQuery.upload.js?v=20260128\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/js/layer/layer.js\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/js/layer/layer_diy.js\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/js/tinymce/tinymce.min.js\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(" src=\"/js/tinymce/diy.js?v=20250114\"");
WriteLiteral("></script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(">\r\n\r\n </script>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(">\r\n var mess = \"");
#line 97 "D:\wwwroot\jinxiangshun123\wwwroot\Areas\Admin\Views\Home\config.cshtml"
Write(ViewData["mess"]);
#line default
#line hidden
WriteLiteral(@""";
if (mess != """") {
msgBox(mess);
mess = """";
}
function getID(obj) {
return document.getElementById(obj);
}
$(function () {
tinymceLoad();
$(""#up_pic"").upload();
$(""form"").submit(function () {
//var isError = false;
//$(""[verify='required']"").each(function () {
// if ($(this).val() == """") {
// msgBox(""必填项不能为空!"");
// $(this).focus();
// isError = true;
// return false;
// }
//})
//if (isError) {
// return false;
//}
if (getID(""name"").value == """") {
msgBox(""请输入网站名称!"");
getID(""name"").focus();
return false;
}
return true;
})
})
</script>
</body>");
}
}
}