commit
fea5e5671a
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{30D1ADB5-DF67-4024-BFAA-6D4726C04B1B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>BLL</RootNamespace>
|
||||
<AssemblyName>BLL</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
@ -0,0 +1,15 @@
|
||||
using DAL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class BLLAllOperation
|
||||
{
|
||||
public static DataTable BLL_GetDataTable(string sql)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("BLL")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("BLL")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
@ -0,0 +1,15 @@
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\bin\Debug\BLL.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\bin\Debug\BLL.pdb
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\bin\Debug\DAL.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\bin\Debug\MoDel.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\bin\Debug\DAL.pdb
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\bin\Debug\MoDel.pdb
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\obj\Debug\BLL.csproj.AssemblyReference.cache
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\obj\Debug\BLL.csproj.CoreCompileInputs.cache
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\obj\Debug\BLL.csproj.CopyComplete
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\obj\Debug\BLL.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\BLL\obj\Debug\BLL.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\BLL\bin\Debug\BLL.dll
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\BLL\bin\Debug\BLL.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\BLL\bin\Debug\DAL.dll
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\BLL\bin\Debug\MoDel.dll
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{627ACC01-323F-41B8-A0A9-D49B2EF23053}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>DAL</RootNamespace>
|
||||
<AssemblyName>DAL</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DAL
|
||||
{
|
||||
public class DALAllOperation
|
||||
{
|
||||
public static DataTable DAL_GetDataTable(string sql)
|
||||
{
|
||||
return DBHelper.GetDataTable(sql);
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace DAL
|
||||
{
|
||||
public class DBHelper
|
||||
{
|
||||
static string conn = "Data Source=DESKTOP-FISA93H\\SQLEXPRESS;database=SHOPPINGDB;Integrated Security=True;Connect Timeout=30";
|
||||
/// <summary>
|
||||
/// 查询方法
|
||||
/// </summary>
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("DAL")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("DAL")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
@ -0,0 +1,15 @@
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\bin\Debug\DAL.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\bin\Debug\DAL.pdb
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\bin\Debug\MoDel.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\bin\Debug\MoDel.pdb
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\obj\Debug\DAL.csproj.AssemblyReference.cache
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\obj\Debug\DAL.csproj.CoreCompileInputs.cache
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\obj\Debug\DAL.csproj.CopyComplete
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\obj\Debug\DAL.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\DAL\obj\Debug\DAL.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\DAL\bin\Debug\DAL.dll
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\DAL\bin\Debug\DAL.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\DAL\bin\Debug\MoDel.dll
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\DAL\bin\Debug\MoDel.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\DAL\obj\Debug\DAL.csprojResolveAssemblyReference.cache
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\DAL\obj\Debug\DAL.dll
|
@ -0,0 +1,15 @@
|
||||
USE [master]
|
||||
GO
|
||||
/****** Object: Database [ShoppingDB] Script Date: 2021/6/9 22:59:00 ******/
|
||||
CREATE DATABASE [ShoppingDB] ON PRIMARY
|
||||
( NAME = N'ShoppingDB', FILENAME = N'D:\sql\ShoppingDB.mdf' , SIZE = 5120KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
|
||||
LOG ON
|
||||
( NAME = N'ShoppingDB_log', FILENAME = N'D:\sql\ShoppingDB_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
|
||||
GO
|
||||
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
|
||||
begin
|
||||
EXEC [ShoppingDB].[dbo].[sp_fulltext_database] @action = 'enable'
|
||||
end
|
||||
GO
|
||||
ALTER DATABASE [ShoppingDB] SET ANSI_NULL_DEFAULT OFF
|
||||
GO
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{BB7031BF-4F8A-4418-A771-E8707ADD8244}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>MoDel</RootNamespace>
|
||||
<AssemblyName>MoDel</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MoDel
|
||||
{
|
||||
public class OrderClass
|
||||
{
|
||||
public int OId { get; set; }
|
||||
public int OUserId { get; set; }
|
||||
public int OProductId { get; set; }
|
||||
public DateTime OTime { get; set; }
|
||||
public int OState { get; set; }
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MoDel
|
||||
{
|
||||
public class OrderTypeClass
|
||||
{
|
||||
public int OTypeId { get; set; }
|
||||
public string OTypeName { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MoDel
|
||||
{
|
||||
public class ProductClass
|
||||
{
|
||||
public int PId { get; set; }
|
||||
public int PTypeId { get; set; }
|
||||
public string PSName { get; set; }
|
||||
public decimal PPrice { get; set; }
|
||||
public string PImage { get; set; }
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MoDel
|
||||
{
|
||||
public class ProductTypeClass
|
||||
{
|
||||
public int TId { get; set; }
|
||||
public string TName { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("MoDel")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("MoDel")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MoDel
|
||||
{
|
||||
public class UserName
|
||||
{
|
||||
public int UId { get; set; }
|
||||
|
||||
public string UName { get; set; }
|
||||
public string UPwd { get; set; }
|
||||
public string URealName { get; set; }
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
@ -0,0 +1,15 @@
|
||||
D:\备份\网络购物\ShoppingWebSite\MoDel\bin\Debug\MoDel.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\MoDel\bin\Debug\MoDel.pdb
|
||||
D:\备份\网络购物\ShoppingWebSite\MoDel\obj\Debug\MoDel.csproj.AssemblyReference.cache
|
||||
D:\备份\网络购物\ShoppingWebSite\MoDel\obj\Debug\MoDel.csproj.CoreCompileInputs.cache
|
||||
D:\备份\网络购物\ShoppingWebSite\MoDel\obj\Debug\MoDel.dll
|
||||
D:\备份\网络购物\ShoppingWebSite\MoDel\obj\Debug\MoDel.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\MoDel\bin\Debug\MoDel.dll
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\MoDel\bin\Debug\MoDel.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\MoDel\obj\Debug\Model.csprojResolveAssemblyReference.cache
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\MoDel\obj\Debug\MoDel.dll
|
||||
C:\Users\张继鹏\Desktop\系统\网络购物三层架构(Web)\ShoppingWebSite\MoDel\obj\Debug\MoDel.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\电商购物系统\ShoppingWebSite\MoDel\bin\Debug\MoDel.dll
|
||||
C:\Users\张继鹏\Desktop\系统\电商购物系统\ShoppingWebSite\MoDel\bin\Debug\MoDel.pdb
|
||||
C:\Users\张继鹏\Desktop\系统\电商购物系统\ShoppingWebSite\MoDel\obj\Debug\Model.csprojResolveAssemblyReference.cache
|
||||
C:\Users\张继鹏\Desktop\系统\电商购物系统\ShoppingWebSite\MoDel\obj\Debug\MoDel.dll
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/ShopSite.Master" AutoEventWireup="true" CodeBehind="AddSubmit.aspx.cs" Inherits="ShoppingWebSite.AddSubmit" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<link rel="stylesheet" href="css/ShopSite.css" />
|
||||
<style>
|
||||
*{
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
#content{
|
||||
width:400px;
|
||||
margin:0px auto;
|
||||
padding:40px;
|
||||
}
|
||||
#content div{
|
||||
margin-top:40px;
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
public partial class AddSubmit : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
|
||||
|
||||
public partial class AddSubmit
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class Admin : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (Session["UserName"] != null)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class Admin
|
||||
{
|
@ -0,0 +1,12 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminMenu.ascx.cs" Inherits="ShoppingWebSite.AdminManger.AdminMenu" %>
|
||||
<ul class="layui-nav layui-nav-tree" lay-filter="test">
|
||||
|
||||
|
||||
<li class="layui-nav-item layui-nav-itemed">
|
||||
<a class="" href="javascript:;">商城管理</a>
|
||||
<dl class="layui-nav-child">
|
||||
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
|
||||
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class AdminMenu : System.Web.UI.UserControl
|
||||
{
|
||||
public static string li = "";
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class AdminMenu
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/AdminManger/Admin.Master" AutoEventWireup="true" CodeBehind="Order.aspx.cs" Inherits="ShoppingWebSite.AdminManger.Order" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div class="layui-form-item">
|
||||
|
||||
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">用户id</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="Num" id="Num" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using MoDel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class Order : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class Order
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Orderedit.aspx.cs" Inherits="ShoppingWebSite.AdminManger.Orderedit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<link href="../content/layui/css/layui.css" rel="stylesheet" />
|
||||
<script src="../content/layui/jquery.min.js"></script>
|
||||
<script src="../content/layui/layui.js"></script>
|
||||
<script src="../content/layer/layer.js"></script>
|
||||
<title></title>
|
||||
|
||||
</head>
|
||||
<body>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class Orderedit : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class Orderedit
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/AdminManger/Admin.Master" AutoEventWireup="true" CodeBehind="Product.aspx.cs" Inherits="ShoppingWebSite.AdminManger.Product" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<button type="button" class="layui-btn " onclick="Add()">增加</button>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">商品名称</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="Num" id="Num" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using MoDel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class Product : System.Web.UI.Page
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class Product
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/AdminManger/Admin.Master" AutoEventWireup="true" CodeBehind="ProductType.aspx.cs" Inherits="ShoppingWebSite.AdminManger.ProductType" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<button type="button" class="layui-btn " onclick="Add()">增加</button>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">分类名称</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" name="Num" id="Num" autocomplete="off" class="layui-input">
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using MoDel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class ProductType : System.Web.UI.Page
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class ProductType
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductTypeadd.aspx.cs" Inherits="ShoppingWebSite.AdminManger.ProductTypeadd" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<link href="../content/layui/css/layui.css" rel="stylesheet" />
|
||||
<script src="../content/layui/jquery.min.js"></script>
|
||||
<script src="../content/layui/layui.js"></script>
|
||||
<script src="../content/layer/layer.js"></script>
|
||||
<title></title>
|
||||
|
||||
</head>
|
||||
<body>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Web;
|
||||
using System.Web.Services.Description;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class ProductTypeadd : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class ProductTypeadd
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductTypeedit.aspx.cs" Inherits="ShoppingWebSite.AdminManger.ProductTypeedit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<link href="../content/layui/css/layui.css" rel="stylesheet" />
|
||||
<script src="../content/layui/jquery.min.js"></script>
|
||||
<script src="../content/layui/layui.js"></script>
|
||||
<script src="../content/layer/layer.js"></script>
|
||||
<title></title>
|
||||
|
||||
</head>
|
||||
<body>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Web;
|
||||
using System.Web.Services.Description;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class ProductTypeedit : System.Web.UI.Page
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class ProductTypeedit
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Productadd.aspx.cs" Inherits="ShoppingWebSite.AdminManger.Productadd" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<link href="../content/layui/css/layui.css" rel="stylesheet" />
|
||||
<script src="../content/layui/jquery.min.js"></script>
|
||||
<script src="../content/layui/layui.js"></script>
|
||||
|
||||
<script src="../content/layer/layer.js"></script>
|
||||
<title></title>
|
||||
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using MoDel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class Productadd : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class Productadd
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Productedit.aspx.cs" Inherits="ShoppingWebSite.AdminManger.Productedit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<link href="../content/layui/css/layui.css" rel="stylesheet" />
|
||||
<script src="../content/layui/jquery.min.js"></script>
|
||||
<script src="../content/layui/layui.js"></script>
|
||||
|
||||
<script src="../content/layer/layer.js"></script>
|
||||
<title></title>
|
||||
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
public partial class Productedit : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite.AdminManger
|
||||
{
|
||||
|
||||
|
||||
public partial class Productedit
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
|
||||
namespace ShoppingWebSite.Common
|
||||
{
|
||||
public class LayuiJsonHelper
|
||||
{
|
||||
public static string LayuiJson(int totalCount, object listadmin)
|
||||
{
|
||||
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
stringBuilder.Append("{");
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
public class DBHelper
|
||||
{
|
||||
static string conn = "Data Source=DESKTOP-FISA93H\\SQLEXPRESS;database=SHOPPINGDB;Integrated Security=True;Connect Timeout=30";
|
||||
/// <summary>
|
||||
/// 查询方法
|
||||
/// </summary>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/ShopSite.Master" AutoEventWireup="true" CodeBehind="LogIn.aspx.cs" Inherits="ShoppingWebSite.LogIn" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<link rel="stylesheet" href="css/ShopSite.css" />
|
||||
<style>
|
||||
#Content{
|
||||
width:500px;
|
||||
margin:0px auto;
|
||||
padding-bottom:30px;
|
||||
}
|
||||
#Content div{
|
||||
margin-top:30px;
|
||||
}
|
||||
.txtUserName,.txtPwd{
|
||||
width:200px;
|
||||
height:25px;
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
public partial class LogIn : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
|
||||
|
||||
public partial class LogIn
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过下列特性集
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("ShoppingWebSite")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ShoppingWebSite")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/ShopSite.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="ShoppingWebSite.Register" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<link rel="stylesheet" href="css/ShopSite.css" />
|
||||
<style>
|
||||
#Content{
|
||||
width:500px;
|
||||
margin:0px auto;
|
||||
padding-bottom:30px;
|
||||
}
|
||||
#Content div{
|
||||
margin-top:30px;
|
||||
}
|
||||
.txtUserName,.txtPwd{
|
||||
width:200px;
|
||||
height:25px;
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
public partial class Register : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
|
||||
|
||||
public partial class Register
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
public partial class ShopSite : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
|
||||
|
||||
public partial class ShopSite
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/ShopSite.Master" AutoEventWireup="true" CodeBehind="ShoppingSubmit.aspx.cs" Inherits="ShoppingWebSite.ShoppingSubmit" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<link rel="stylesheet" href="css/ShopSite.css" />
|
||||
<style>
|
||||
*{
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
#content{
|
||||
width:400px;
|
||||
margin:0px auto;
|
||||
padding:40px;
|
||||
}
|
||||
#content div{
|
||||
margin-top:40px;
|
@ -0,0 +1,15 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
public partial class ShoppingSubmit : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ShoppingWebSite
|
||||
{
|
||||
|
||||
|
||||
public partial class ShoppingSubmit
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{879FDB39-4B76-44D0-9C2C-80858161FB89}</ProjectGuid>
|
||||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ShoppingWebSite</RootNamespace>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
||||
https://go.microsoft.com/fwlink/?LinkId=169433
|
||||
-->
|
||||
<configuration>
|
||||
<!--
|
||||
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
||||
|
||||
可在 <httpRuntime> 标记上设置以下特性。
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.CodeDom.Providers.DotNetCompilerPlatform</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider">
|
||||
<summary>
|
||||
Provides access to instances of the .NET Compiler Platform C# code generator and code compiler.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider.#ctor">
|
||||
<summary>
|
||||
Default Constructor
|
||||
</summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Newtonsoft.Json</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
|
||||
<summary>
|
||||
Represents a BSON Oid (object id).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
|
||||
<summary>
|
||||
Gets or sets the value of the Oid.
|
||||
</summary>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
||||
https://go.microsoft.com/fwlink/?LinkId=169433
|
||||
-->
|
||||
<configuration>
|
||||
<!--
|
||||
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
||||
|
||||
可在 <httpRuntime> 标记上设置以下特性。
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<gcServer enabled="true" />
|
||||
<gcConcurrent enabled="false" />
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.9.0.0" newVersion="2.9.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<gcServer enabled="true" />
|
||||
<gcConcurrent enabled="false" />
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.9.0.0" newVersion="2.9.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.9.0.0" newVersion="2.9.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<gcServer enabled="true" />
|
||||
<gcConcurrent enabled="false" />
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.CodeAnalysis" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.9.0.0" newVersion="2.9.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
@ -0,0 +1,15 @@
|
||||
body {
|
||||
padding-top: 50px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Set padding to keep content from hitting the edges */
|
||||
.body-content {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Set width on the form input elements since they're 100% wide by default */
|
||||
input,
|
||||
select,
|
||||
textarea {
|
@ -0,0 +1,9 @@
|
||||
/* CSS Document */
|
||||
*{ padding:0; margin:0}ul,ol,li{ list-style:none}img{ border:none;}
|
||||
body { background:#3c7fb5;background-repeat:no-repeat;background-attachment:fixed;}
|
||||
.box1{ height:507px; background:url(../images/loginb1.png) repeat-x; padding-top:106px}
|
||||
.box2{ width:399px; height:405px; background:url(../images/loginb2.png) center no-repeat; margin:0px auto; padding:0px 65px 0px;}
|
||||
.box2 h1{ font:22px "微软雅黑"; line-height:32px; text-align:center;padding-top:130px; color:#FFF; font-weight:normal}
|
||||
.box2 table{margin-top:68px}
|
||||
.box2 table tr td{ font-size:12px;line-height:30px; color:#3c5d88; padding-bottom:5px}.box_inp1{ width:133px; height:29px; border:none; background:url(../images/input1.jpg) no-repeat; padding:0px 5px; line-height:29px;}.box_inp2{ width:58px; height:29px; border:none; background:url(../images/input2.jpg) no-repeat; padding:0px 5px; line-height:29px;}
|
||||
.subbtm{width:95px; height:25px; border:none;background:url(../images/subbtm.png) no-repeat; color:#466388}.copy{ text-align:center; font-size:12px; line-height:24px; color:#ffffff; margin-top:50px;}
|
@ -0,0 +1,15 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@
|
||||
/*! layer mobile-v2.0.0 Web 通用弹出层组件 MIT License */
|
||||
;!function(e){"use strict";var t=document,n="querySelectorAll",i="getElementsByClassName",a=function(e){return t[n](e)},s={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},l={extend:function(e){var t=JSON.parse(JSON.stringify(s));for(var n in e)t[n]=e[n];return t},timer:{},end:{}};l.touch=function(e,t){e.addEventListener("click",function(e){t.call(this,e)},!1)};var r=0,o=["layui-m-layer"],c=function(e){var t=this;t.config=l.extend(e),t.view()};c.prototype.view=function(){var e=this,n=e.config,s=t.createElement("div");e.id=s.id=o[0]+r,s.setAttribute("class",o[0]+" "+o[0]+(n.type||0)),s.setAttribute("index",r);var l=function(){var e="object"==typeof n.title;return n.title?'<h3 style="'+(e?n.title[1]:"")+'">'+(e?n.title[0]:n.title)+"</h3>":""}(),c=function(){"string"==typeof n.btn&&(n.btn=[n.btn]);var e,t=(n.btn||[]).length;return 0!==t&&n.btn?(e='<span yes type="1">'+n.btn[0]+"</span>",2===t&&(e='<span no type="0">'+n.btn[1]+"</span>"+e),'<div class="layui-m-layerbtn">'+e+"</div>"):""}();if(n.fixed||(n.top=n.hasOwnProperty("top")?n.top:100,n.style=n.style||"",n.style+=" top:"+(t.body.scrollTop+n.top)+"px"),2===n.type&&(n.content='<i></i><i class="layui-m-layerload"></i><i></i><p>'+(n.content||"")+"</p>"),n.skin&&(n.anim="up"),"msg"===n.skin&&(n.shade=!1),s.innerHTML=(n.shade?"<div "+("string"==typeof n.shade?'style="'+n.shade+'"':"")+' class="layui-m-layershade"></div>':"")+'<div class="layui-m-layermain" '+(n.fixed?"":'style="position:static;"')+'><div class="layui-m-layersection"><div class="layui-m-layerchild '+(n.skin?"layui-m-layer-"+n.skin+" ":"")+(n.className?n.className:"")+" "+(n.anim?"layui-m-anim-"+n.anim:"")+'" '+(n.style?'style="'+n.style+'"':"")+">"+l+'<div class="layui-m-layercont">'+n.content+"</div>"+c+"</div></div></div>",!n.type||2===n.type){var d=t[i](o[0]+n.type),y=d.length;y>=1&&layer.close(d[0].getAttribute("index"))}document.body.appendChild(s);var u=e.elem=a("#"+e.id)[0];n.success&&n.success(u),e.index=r++,e.action(n,u)},c.prototype.action=function(e,t){var n=this;e.time&&(l.timer[n.index]=setTimeout(function(){layer.close(n.index)},1e3*e.time));var a=function(){var t=this.getAttribute("type");0==t?(e.no&&e.no(),layer.close(n.index)):e.yes?e.yes(n.index):layer.close(n.index)};if(e.btn)for(var s=t[i]("layui-m-layerbtn")[0].children,r=s.length,o=0;o<r;o++)l.touch(s[o],a);if(e.shade&&e.shadeClose){var c=t[i]("layui-m-layershade")[0];l.touch(c,function(){layer.close(n.index,e.end)})}e.end&&(l.end[n.index]=e.end)},e.layer={v:"2.0",index:r,open:function(e){var t=new c(e||{});return t.index},close:function(e){var n=a("#"+o[0]+e)[0];n&&(n.innerHTML="",t.body.removeChild(n),clearTimeout(l.timer[e]),delete l.timer[e],"function"==typeof l.end[e]&&l.end[e](),delete l.end[e])},closeAll:function(){for(var e=t[i](o[0]),n=0,a=e.length;n<a;n++)layer.close(0|e[0].getAttribute("index"))}},"function"==typeof define?define(function(){return layer}):function(){var e=document.scripts,n=e[e.length-1],i=n.src,a=i.substring(0,i.lastIndexOf("/")+1);n.getAttribute("merge")||document.head.appendChild(function(){var e=t.createElement("link");return e.href=a+"need/layer.css?2.0",e.type="text/css",e.rel="styleSheet",e.id="layermcss",e}())}()}(window);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #eee;border-left-width:6px;background-color:#FAFAFA;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:40px;line-height:40px;border-bottom:1px solid #eee}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 10px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view .layui-code-ol li:first-child{padding-top:10px}.layui-code-view .layui-code-ol li:last-child{padding-bottom:10px}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}.layui-code-demo .layui-code{visibility:visible!important;margin:-15px;border-top:none;border-right:none;border-bottom:none}.layui-code-demo .layui-tab-content{padding:15px;border-top:none}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
#titleContent {
|
||||
width: 1200px;
|
||||
margin: 0px auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
height: 45px;
|
||||
background-color: lightgray;
|
||||
color: gray;
|
||||
}
|
||||
#titleContent a{
|
||||
color:gray;
|
||||
text-decoration:none;
|
||||
}
|
||||
#titleContent a:hover{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/ShopSite.Master" AutoEventWireup="true" CodeBehind="homeWeb.aspx.cs" Inherits="ShoppingWebSite.homeWeb" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<style>
|
||||
#Content{
|
||||
width:1200px;
|
||||
margin:0px auto;
|
||||
}
|
||||
.ProductDetail{
|
||||
width:380px;
|
||||
margin-left:20px;
|
||||
margin-top:20px;
|
||||
padding-bottom:20px;
|
||||
}
|
||||
.ProductDetailDiv1 img{
|
||||
width:350px;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue