ソースを参照

智能衣橱源代码1.0源代码

Emma 4 年 前
コミット
fec63af3ae
100 ファイル変更21245 行追加0 行削除
  1. BIN
      .DS_Store
  2. 0 0
      4.项目源代码
  3. BIN
      PC端源代码/.DS_Store
  4. 84 0
      PC端源代码/ZNYC/ZNYC/App_Code/SqlClass.cs
  5. 27 0
      PC端源代码/ZNYC/ZNYC/Default.aspx
  6. 19 0
      PC端源代码/ZNYC/ZNYC/Default.aspx.cs
  7. 63 0
      PC端源代码/ZNYC/ZNYC/ForgetPwd.aspx
  8. 167 0
      PC端源代码/ZNYC/ZNYC/ForgetPwd.aspx.cs
  9. 20 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.sln
  10. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.suo
  11. 152 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Forget_pwd.aspx
  12. 99 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Forget_pwd.aspx.cs
  13. 123 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Forget_pwd.aspx.designer.cs
  14. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5 - 快捷方式.lnk
  15. 235 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.csproj
  16. 27 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.csproj.user
  17. 114 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/MyMeans.cs
  18. 35 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Properties/AssemblyInfo.cs
  19. 142 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RForget_pwd.aspx
  20. 51 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RForget_pwd.aspx.cs
  21. 105 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RForget_pwd.aspx.designer.cs
  22. 31 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RILI.aspx
  23. 17 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RILI.aspx.cs
  24. 33 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RILI.aspx.designer.cs
  25. 84 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/SqlClass.cs
  26. 30 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Web.Debug.config
  27. 31 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Web.Release.config
  28. 13 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Web.config
  29. 209 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/addClothingInfo.aspx
  30. 64 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/addClothingInfo.aspx.cs
  31. 33 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/addClothingInfo.aspx.designer.cs
  32. 149 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/add_clothes.aspx
  33. 41 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/add_clothes.aspx.cs
  34. 87 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/add_clothes.aspx.designer.cs
  35. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/bin/Intelligent_wardrobe_H5.dll
  36. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/bin/Intelligent_wardrobe_H5.pdb
  37. 217 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/classification.aspx
  38. 55 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/classification.aspx.cs
  39. 123 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/classification.aspx.designer.cs
  40. 166 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/clothes-list.aspx
  41. 52 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/clothes-list.aspx.cs
  42. 24 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/clothes-list.aspx.designer.cs
  43. 96 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/collocation.aspx
  44. 17 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/collocation.aspx.cs
  45. 33 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/collocation.aspx.designer.cs
  46. 27 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/community-item.aspx
  47. 17 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/community-item.aspx.cs
  48. 15 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/community-item.aspx.designer.cs
  49. 166 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/config.json
  50. 21 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/cs.aspx
  51. 17 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/cs.aspx.cs
  52. 24 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/cs.aspx.designer.cs
  53. 310 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/css/demo.css
  54. 3013 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/css/ydui.css
  55. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/Add_clothes_bg.png
  56. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/上衣.png
  57. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/半身裙.png
  58. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/外套.png
  59. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/衣架.png
  60. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/配饰.png
  61. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/鞋子.png
  62. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/上衣.png
  63. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/下装.png
  64. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/半身裙.png
  65. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/外套.png
  66. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/衣架.png
  67. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/裙子.png
  68. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/配饰.png
  69. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/鞋子.png
  70. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/jrtj.png
  71. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/lb-1.jpg
  72. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/我的-粉.png
  73. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/我的.png
  74. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/搭配-粉.png
  75. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/搭配.png
  76. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/添加-粉.png
  77. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/添加.png
  78. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/衣架.png
  79. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/衣橱-粉.png
  80. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/衣橱.png
  81. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/长袖1.jpg
  82. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/长袖3.jpg
  83. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/首页-粉.png
  84. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/首页.png
  85. 9803 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/js/jquery-1.10.2.js
  86. 38 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/js/ydui.flexible.js
  87. 3953 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/js/ydui.js
  88. 100 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/login.aspx
  89. 56 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/login.aspx.cs
  90. 78 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/login.aspx.designer.cs
  91. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  92. 5 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.csproj.FileListAbsolute.txt
  93. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.csprojResolveAssemblyReference.cache
  94. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.dll
  95. BIN
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.pdb
  96. 113 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/register.aspx
  97. 160 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/register.aspx.cs
  98. 141 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/register.aspx.designer.cs
  99. 120 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/user-info.aspx
  100. 0 0
      PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/user-info.aspx.cs

BIN
.DS_Store


+ 0 - 0
4.项目源代码


BIN
PC端源代码/.DS_Store


+ 84 - 0
PC端源代码/ZNYC/ZNYC/App_Code/SqlClass.cs

@@ -0,0 +1,84 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Web;
+
+/// <summary>
+/// SqlClass 的摘要说明
+/// </summary>
+public class SqlClass
+{
+    #region  建立数据库连接
+    /// <summary>
+    /// 建立数据库连接.
+    /// </summary>
+    /// <returns>返回SqlConnection对象</returns>
+    public SqlConnection getcon()
+    {
+        string M_str_sqlcon = @"Data Source=.\SQLEXPRESS;Database=Intelligent_wardrobe;uid=sa;pwd=123456";
+        SqlConnection myCon = new SqlConnection(M_str_sqlcon);
+        return myCon;
+    }
+    #endregion
+
+    #region  执行SqlCommand命令
+    /// <summary>
+    /// 执行SqlCommand
+    /// </summary>
+    /// <param name="M_str_sqlstr">SQL语句</param>
+    public bool getcom(string M_str_sqlstr)
+    {
+        SqlConnection sqlcon = this.getcon();
+        sqlcon.Open();
+        SqlCommand sqlcom = new SqlCommand(M_str_sqlstr, sqlcon);
+        sqlcom.ExecuteNonQuery();
+        sqlcom.Dispose();
+        sqlcon.Close();
+        sqlcon.Dispose();
+        return true;
+    }
+    #endregion
+
+    #region  创建DataSet对象
+    /// <summary>
+    /// 创建一个DataSet对象
+    /// </summary>
+    /// <param name="M_str_sqlstr">SQL语句</param>
+    /// <param name="M_str_table">表名</param>
+    /// <returns>返回DataSet对象</returns>
+    public DataSet getds(string M_str_sqlstr)//(string M_str_sqlstr, string M_str_table)
+    {
+        SqlConnection sqlcon = this.getcon();
+        SqlDataAdapter sqlda = new SqlDataAdapter(M_str_sqlstr, sqlcon);
+        DataSet myds = new DataSet();
+        sqlda.Fill(myds);//(myds, M_str_table);
+        return myds;
+    }
+    #endregion
+
+    #region  创建SqlDataReader对象
+    /// <summary>
+    /// 创建一个SqlDataReader对象
+    /// </summary>
+    /// <param name="M_str_sqlstr">SQL语句</param>
+    /// <returns>返回SqlDataReader对象</returns>
+    public SqlDataReader GetReader(string M_str_sqlstr)
+    {
+        SqlConnection sqlcon = this.getcon();
+        SqlCommand sqlcom = new SqlCommand(M_str_sqlstr, sqlcon);
+        sqlcon.Open();
+        SqlDataReader sqlread = sqlcom.ExecuteReader(CommandBehavior.CloseConnection);
+        return sqlread;
+    }
+    public bool sqlExec(string M_str_sqlstr)
+    {
+        SqlConnection sqlcon = this.getcon();
+        SqlCommand sqlcom = new SqlCommand(M_str_sqlstr, sqlcon);
+        sqlcon.Open();
+        sqlcom.ExecuteNonQuery();
+            return true;
+    }
+    #endregion
+}

+ 27 - 0
PC端源代码/ZNYC/ZNYC/Default.aspx

@@ -0,0 +1,27 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
+
+<!DOCTYPE html>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+    <title></title>
+    <style type="text/css">
+        .auto-style1 {
+            width: 909px;
+            height: 515px;
+        }
+    </style>
+</head>
+<body>
+    <form id="form1" runat="server">
+    <div>
+    
+    </div>
+        <asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged"></asp:Calendar>
+        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
+    </form>
+    <p>
+        <img class="auto-style1" src="images/4.png" /></p>
+</body>
+</html>

+ 19 - 0
PC端源代码/ZNYC/ZNYC/Default.aspx.cs

@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+public partial class _Default : System.Web.UI.Page
+{
+    protected void Page_Load(object sender, EventArgs e)
+    {
+
+    }
+
+    protected void Calendar1_SelectionChanged(object sender, EventArgs e)
+    {
+        Label1.Text = Calendar1.SelectedDate.ToShortDateString().Trim();
+    }
+}

+ 63 - 0
PC端源代码/ZNYC/ZNYC/ForgetPwd.aspx

@@ -0,0 +1,63 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ForgetPwd.aspx.cs" Inherits="ForgetPwd" %>
+
+<!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 rel="stylesheet" type="text/css" href="css/pc.css" media="all" />
+    <script type="text/javascript" src="jquery-2.1.1.js"></script>
+    <title></title>
+</head>
+<body class="login-body">
+    <form id="form1" runat="server">
+        <div id="blur" class="blur">
+            <div class="login">
+                <div class="door1">
+                    <div class="dizuo">
+                        <img src="images/door1.png" />
+                    </div>
+                </div>
+                <div class="door2">
+                    <div class="dizuo">
+                        <img src="images/door2.png" />
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="box" style="z-index: 10">
+            <div class="reg-box">
+                <div class="box-content">
+                    <h1>找回密码</h1>
+                </div>
+                <div class="box-content">
+                    <span>账号:</span>
+                    <input class="fr" id="Username" runat="server"></input>
+                    
+                </div>
+                <div class="box-content">
+                    <span>邮箱:</span>
+                    <input class="fr" id="Mail"  runat="server" style="width:110px;margin-right:70px;"></input><asp:Button ID="Button3" class="btn2" runat="server" OnClick="Button3_Click" Text="获取验证码" />
+                </div>
+                
+                <div class="box-content">
+                    <span>验证码:</span>
+                    <input class="fr"  id="yanzheng" runat="server"></input>
+                </div>
+                <div class="box-content">
+                    <span>新密码:</span>
+                    <input class="fr" type="password" id="password" runat="server"></input>
+                </div>
+                <div class="box-content">
+                    <span>确认密码:</span><input class="fr" type="password"  id="repassword" runat="server"></input>
+                </div>
+                <div class="box-content2">
+                    <asp:Button ID="Button1" class="btn fl" runat="server" OnClick="Button1_Click" Text="返回" />
+                     <asp:Button ID="Button2" CssClass="btn fr" runat="server" Text="确认"  OnClick="Button2_Click"/>
+                </div>
+
+            </div>
+        </div>
+    </form>
+</body>
+</html>

+ 167 - 0
PC端源代码/ZNYC/ZNYC/ForgetPwd.aspx.cs

@@ -0,0 +1,167 @@
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Net;
+using System.Net.Mail;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+public partial class ForgetPwd : System.Web.UI.Page
+{
+    protected void Page_Load(object sender, EventArgs e)
+    {
+
+    }
+    SqlClass Sql = new SqlClass();
+    protected void Button1_Click(object sender, EventArgs e)
+    {
+        Response.Redirect("~/login.aspx");
+    }
+
+    protected void Button2_Click(object sender, EventArgs e)
+    {
+        if (Username.Value.Length == 0)
+        {
+            Response.Write("<script language=javascript >alert('账号不能为空!');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            Username.Focus();
+            return;
+        }
+        if (Mail.Value.Length == 0)
+        {
+            Response.Write("<script language=javascript >alert(邮箱地址不能为空!');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            Mail.Focus();
+            return;
+        }
+        if (yanzheng.Value.Length == 0)
+        {
+            Response.Write("<script language=javascript >alert('验证码不能为空!');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            yanzheng.Focus();
+            return;
+        }
+        if (password.Value.Length == 0)
+        {
+            Response.Write("<script language=javascript >alert('新密码不能为空!');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            password.Focus();
+            return;
+        }
+        if (repassword.Value.Length == 0)
+        {
+            Response.Write("<script language=javascript >alert('确认密码不能为空!');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            repassword.Focus();
+            return;
+        }
+        if (repassword.Value != password.Value)
+        {
+            Response.Write("<script language=javascript >alert('两次密码不相同');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            password.Focus();
+            return;
+        }
+        if (yanzheng.Value.Trim() != ViewState["yanz"].ToString())
+        {
+            Response.Write("<script language=javascript >alert('验证码错误,请重新获取');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            password.Focus();
+            return;
+        }
+            Sql.getcon();
+            string L_sql = "update Users set password = '" + password.Value.Trim() + "' WHERE Username ='" + Username.Value.Trim() + "' AND Email ='" + Mail.Value.Trim() + "'";
+        if (Sql.sqlExec(L_sql))
+        {
+            Response.Write("<script language=javascript >alert('修改成功');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+        }
+
+        else
+        {
+            Response.Write("<script language=javascript >alert('修改失败');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            Username.Focus();
+            return;
+        }
+
+    }
+    protected void Button3_Click(object sender, EventArgs e)
+    {
+        if (Username.Value.Trim() == "")
+        {
+            Response.Write("<script language=javascript >alert('用户名不能为空!');window.navigate('../Registered.aspx');<");
+            Response.Write("/Script>");
+            Username.Focus();
+            return;
+        }
+        else
+        {
+            if (Mail.Value.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('邮箱不能为空!');window.navigate('../Registered.aspx');<");
+                Response.Write("/Script>");
+                Mail.Focus();
+                return;
+            }
+            else
+            {
+                Sql.getcon();
+                string L_sql = "SELECT * FROM Users WHERE Username ='" + Username.Value.Trim() + "' AND Email ='" + Mail.Value.Trim() + "'";
+                SqlDataReader dr = Sql.GetReader(L_sql);
+                if (dr.HasRows)
+                {
+                    string mmob = this.Mail.Value.Trim();
+                    MailMessage message = new MailMessage();
+                    message.From = new MailAddress("18064265827@163.com", "智能衣橱");//发件人地址
+                    message.To.Add(mmob);//目标发件地址
+                    message.Subject = "修改密码";//邮件标题
+                    ViewState["yanz"] = GetVali().ToString();
+                    message.Body = "验证码为:" + ViewState["yanz"];//邮件内容
+                                                       //发送邮件的smtp服务器地址
+                    SmtpClient smtp = new SmtpClient("smtp.163.com");
+                    smtp.Credentials = new NetworkCredential("18064265827@163.com", "wp794785759");//发件人的用户名和密码
+                    smtp.Send(message);
+                    Response.Write("<script language=javascript >alert('验证码发送成功,请查收');window.navigate('../Registered.aspx');<");
+                    Response.Write("/Script>");
+                }
+                else
+                {
+                    Response.Write("<script language=javascript >alert('邮箱地址与绑定地址不符');window.navigate('../Registered.aspx');<");
+                    Response.Write("/Script>");
+                    Mail.Focus();
+                    return;
+                }
+            }
+
+        }
+    }
+
+    public string GetVali()
+    {
+        string strsvali = "0,1,2,3,4,5,6,7,8,9";       //定义一个字符串
+        string[] ValiArray = strsvali.Split(',');      //定义一个字符数组
+        string ReturnNum = "";                         //定义一个返回验证码的字符串
+                                                       //记录随机数,避免产生同样的随机数
+        int nums = -1;
+        //确保产生随机数的不同
+        Random vrand = new Random();
+        for (int n = 1; n < 5; n++)
+        {
+            if (nums != -1)
+            {
+                vrand = new Random(n * nums * unchecked((int)DateTime.Now.Ticks));
+            }
+            int t = vrand.Next(10);
+            nums = t;
+            ReturnNum += ValiArray[t];
+        }
+        Session["Valid"] = ReturnNum;
+        return ReturnNum;    //返回生成的随机数
+
+    }
+
+
+}

+ 20 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.sln

@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Intelligent_wardrobe_H5", "Intelligent_wardrobe_H5\Intelligent_wardrobe_H5.csproj", "{E6E5EA36-028D-4B95-B964-86E0E06E3739}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{E6E5EA36-028D-4B95-B964-86E0E06E3739}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{E6E5EA36-028D-4B95-B964-86E0E06E3739}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{E6E5EA36-028D-4B95-B964-86E0E06E3739}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{E6E5EA36-028D-4B95-B964-86E0E06E3739}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.suo


+ 152 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Forget_pwd.aspx

@@ -0,0 +1,152 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forget_pwd.aspx.cs" Inherits="Intelligent_wardrobe_H5.Forget_pwd" %>
+
+
+
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>账号找回</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
+    <meta content="yes" name="apple-mobile-web-app-capable" />
+    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
+    <meta content="telephone=no" name="format-detection" />
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash" />
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+</head>
+<style type="text/css">
+    .login {
+        background-color: #F5F5F5;
+        height: 100%;
+        -moz-background-size: 100% 100%;
+        background-size: 100% 100%;
+        position: relative;
+    }
+
+        .login .login-div {
+            width: 100%;
+            height: auto;
+            -moz-box-shadow: 0px 0px 50px #e4e4e4;
+            box-shadow: 0px 0px 50px #ccc;
+        }
+
+        .login .login-btn {
+            padding: 0 0.8rem 0 0.8rem;
+        }
+
+    .btn-pink {
+        background-color: rgba(255, 151, 171,1);
+        font-size: 0.35rem; /*padding: 0.04rem;*/
+        color: #fff;
+        font-family: "微软雅黑";
+        letter-spacing: 0.1rem;
+    }
+</style>
+<body>
+    <header class="m-navbar navbar-fixed">
+        <a href="javascript:history.go(-1);" class="navbar-item">
+            <i class="back-ico"></i>
+        </a>
+        <div class="navbar-center">
+            <span class="navbar-title">账号找回</span>
+        </div>
+        <a href="#" class="navbar-item" id="top_classification">
+            <i class="icon-type"></i>
+        </a>
+    </header>
+    <form id="Form1" runat="server">
+        <div id="Div1" class="login g-view" runat="server">
+            <div id="Div2" class="login-div mt-30" runat="server">
+                <div id="Div3" class="m-cell" runat="server">
+                <div class="cell-right">
+                            <input id="Text2" runat="server" type="text"  class="cell-input" placeholder=" 帐号" autocomplete="off" />
+
+                        </div>
+                    <div id="Div4" class="cell-item" runat="server">
+
+                        <div class="cell-right">
+                            <input id="mob" runat="server" type="text"  class="cell-input" placeholder="邮箱" autocomplete="off" />
+
+                        </div>
+                    </div>
+                    <div id="Div5" class="cell-item" runat="server">
+                        <div id="Div6" class="cell-right" runat="server">
+                            <input id="Text1" runat="server" type="text"  class="cell-input" placeholder="验证码" autocomplete="off" /><asp:Button ID="J_GetCode" runat="server" type="button" class="btn btn-warning" Text="获取短信验证码" OnClick="J_GetCode_Click" />
+
+                        </div>
+                    </div>
+
+                </div>
+            </div>
+            <div class="login-btn">
+               <asp:Button
+                    class="btn-block-fillet btn-pink" ID="btnok" runat="server" Text="确认" 
+                    onclick="btnok_Click" />
+            </div>
+        </div>
+    </form>
+
+    <footer class="m-tabbar tabbar-fixed">
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/首页.png">
+            </span>
+            <span class="tabbar-txt">首页</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/衣橱.png">
+            </span>
+            <span class="tabbar-txt">衣橱</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/添加.png">
+            </span>
+            <span class="tabbar-txt">添加</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/搭配.png">
+            </span>
+            <span class="tabbar-txt">搭配</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item tabbar-active">
+            <span class="tabbar-icon">
+                <img src="img/我的-粉.png">
+            </span>
+            <span class="tabbar-txt">我的</span>
+        </a>
+    </footer>
+</body>
+
+
+ <script src="js/ydui.js"></script>
+ <script>
+     var $getCode = $('#J_GetCode');
+
+     /* 定义参数 */
+     $getCode.sendCode({
+         disClass: 'btn-disabled',
+         secs: 15,
+         run: false,
+         runStr: '{%s}秒后重新获取',
+         resetStr: '重新获取验证码'
+     });
+
+     $getCode.on('click', function () {
+         /* ajax 成功发送验证码后调用【start】 */
+         YDUI.dialog.loading.open('发送中');
+         setTimeout(function () {
+
+             YDUI.dialog.loading.close();
+
+             $getCode.sendCode('start');
+             YDUI.dialog.toast('已发送', 'success', 1500);
+
+         }, 1500);
+     });
+</script>
+</html>

+ 99 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Forget_pwd.aspx.cs

@@ -0,0 +1,99 @@
+using System;
+using System.Text;
+using System.IO;
+using System.Net;
+using System.Security;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Net.Mail;
+
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class Forget_pwd : System.Web.UI.Page
+    {
+        
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            
+        }
+       
+          protected void J_GetCode_Click(object sender, EventArgs e)
+        {
+            if (Text2.Value.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('帐号不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                Text2.Focus();
+                return;
+            }
+             
+            if (mob.Value.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('邮箱不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                mob.Focus();
+                return;
+            }
+            else
+            {
+                string mmob = this.mob.Value.Trim();
+                MailMessage message = new MailMessage();
+                message.From = new MailAddress("18064265827@163.com", "智能衣橱");//发件人地址
+                message.To.Add(mmob);//目标发件地址
+                message.Subject = "修改密码";//邮件标题
+                ViewState["yanz"] = GetVali().ToString();
+                message.Body = "验证码为:" + ViewState["yanz"];//邮件内容
+                //发送邮件的smtp服务器地址
+                SmtpClient smtp = new SmtpClient("smtp.163.com");
+                smtp.Credentials = new NetworkCredential("18064265827@163.com", "wp794785759");//发件人的用户名和密码
+                smtp.Send(message);
+
+            }
+        }
+        public string GetVali()
+        {
+            string strsvali = "0,1,2,3,4,5,6,7,8,9";       //定义一个字符串
+            string[] ValiArray = strsvali.Split(',');      //定义一个字符数组
+            string ReturnNum = "";                         //定义一个返回验证码的字符串
+            //记录随机数,避免产生同样的随机数
+            int nums = -1;
+            //确保产生随机数的不同
+            Random vrand = new Random();
+            for (int n = 1; n < 5; n++)
+            {
+                if (nums != -1)
+                {
+                    vrand = new Random(n * nums * unchecked((int)DateTime.Now.Ticks));
+                }
+                int t = vrand.Next(10);
+                nums = t;
+                ReturnNum += ValiArray[t];
+            }
+            Session["Valid"] = ReturnNum;
+            return ReturnNum;    //返回生成的随机数
+            
+        }
+
+        protected void btnok_Click(object sender, EventArgs e)
+        {
+            if (Text1.Value.Trim() == ViewState["yanz"].ToString())
+            {
+                Response.Redirect("~/RForget_pwd.aspx?username=" + Text2.Value.Trim() + "");
+            }
+            else {
+                Response.Write("<script language=javascript >alert('验证码错误!');window.navigate('../login.aspx');<");
+                Response.Write("/Script>");
+                return;
+            }
+        }
+
+
+            }
+        }

+ 123 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Forget_pwd.aspx.designer.cs

@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class Forget_pwd {
+        
+        /// <summary>
+        /// Form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm Form1;
+        
+        /// <summary>
+        /// Div1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div1;
+        
+        /// <summary>
+        /// Div2 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div2;
+        
+        /// <summary>
+        /// Div3 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div3;
+        
+        /// <summary>
+        /// Text2 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlInputText Text2;
+        
+        /// <summary>
+        /// Div4 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div4;
+        
+        /// <summary>
+        /// mob 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlInputText mob;
+        
+        /// <summary>
+        /// Div5 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div5;
+        
+        /// <summary>
+        /// Div6 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div6;
+        
+        /// <summary>
+        /// Text1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlInputText Text1;
+        
+        /// <summary>
+        /// J_GetCode 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button J_GetCode;
+        
+        /// <summary>
+        /// btnok 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button btnok;
+    }
+}

BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5 - 快捷方式.lnk


+ 235 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.csproj

@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>
+    </ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{E6E5EA36-028D-4B95-B964-86E0E06E3739}</ProjectGuid>
+    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Intelligent_wardrobe_H5</RootNamespace>
+    <AssemblyName>Intelligent_wardrobe_H5</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Web.DynamicData" />
+    <Reference Include="System.Web.Entity" />
+    <Reference Include="System.Web.ApplicationServices" />
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Web.Extensions" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Web" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Configuration" />
+    <Reference Include="System.Web.Services" />
+    <Reference Include="System.EnterpriseServices" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="addClothingInfo.aspx" />
+    <Content Include="add_clothes.aspx" />
+    <Content Include="classification.aspx" />
+    <Content Include="clothes-list.aspx" />
+    <Content Include="collocation.aspx" />
+    <Content Include="community-item.aspx" />
+    <Content Include="cs.aspx" />
+    <Content Include="css\demo.css" />
+    <Content Include="css\ydui.css" />
+    <Content Include="Forget_pwd.aspx" />
+    <Content Include="img\Add_clothes_bg.png" />
+    <Content Include="img\dapei\上衣.png" />
+    <Content Include="img\dapei\半身裙.png" />
+    <Content Include="img\dapei\外套.png" />
+    <Content Include="img\dapei\衣架.png" />
+    <Content Include="img\dapei\配饰.png" />
+    <Content Include="img\dapei\鞋子.png" />
+    <Content Include="img\icons\上衣.png" />
+    <Content Include="img\icons\下装.png" />
+    <Content Include="img\icons\半身裙.png" />
+    <Content Include="img\icons\外套.png" />
+    <Content Include="img\icons\衣架.png" />
+    <Content Include="img\icons\裙子.png" />
+    <Content Include="img\icons\配饰.png" />
+    <Content Include="img\icons\鞋子.png" />
+    <Content Include="img\jrtj.png" />
+    <Content Include="img\lb-1.jpg" />
+    <Content Include="img\我的-粉.png" />
+    <Content Include="img\我的.png" />
+    <Content Include="img\搭配-粉.png" />
+    <Content Include="img\搭配.png" />
+    <Content Include="img\添加-粉.png" />
+    <Content Include="img\添加.png" />
+    <Content Include="img\衣架.png" />
+    <Content Include="img\衣橱-粉.png" />
+    <Content Include="img\衣橱.png" />
+    <Content Include="img\长袖1.jpg" />
+    <Content Include="img\长袖3.jpg" />
+    <Content Include="img\首页-粉.png" />
+    <Content Include="img\首页.png" />
+    <Content Include="js\jquery-1.10.2.js" />
+    <Content Include="js\ydui.flexible.js" />
+    <Content Include="js\ydui.js" />
+    <Content Include="login.aspx" />
+    <Content Include="register.aspx" />
+    <Content Include="RForget_pwd.aspx" />
+    <Content Include="user-info.aspx" />
+    <Content Include="wardrobe.aspx" />
+    <Content Include="Web.config" />
+    <Content Include="Web.Debug.config">
+      <DependentUpon>Web.config</DependentUpon>
+    </Content>
+    <Content Include="Web.Release.config">
+      <DependentUpon>Web.config</DependentUpon>
+    </Content>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="addClothingInfo.aspx.cs">
+      <DependentUpon>addClothingInfo.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="addClothingInfo.aspx.designer.cs">
+      <DependentUpon>addClothingInfo.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="add_clothes.aspx.cs">
+      <DependentUpon>add_clothes.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="add_clothes.aspx.designer.cs">
+      <DependentUpon>add_clothes.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="classification.aspx.cs">
+      <DependentUpon>classification.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="classification.aspx.designer.cs">
+      <DependentUpon>classification.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="clothes-list.aspx.cs">
+      <DependentUpon>clothes-list.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="clothes-list.aspx.designer.cs">
+      <DependentUpon>clothes-list.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="collocation.aspx.cs">
+      <DependentUpon>collocation.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="collocation.aspx.designer.cs">
+      <DependentUpon>collocation.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="community-item.aspx.cs">
+      <DependentUpon>community-item.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="community-item.aspx.designer.cs">
+      <DependentUpon>community-item.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="cs.aspx.cs">
+      <DependentUpon>cs.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="cs.aspx.designer.cs">
+      <DependentUpon>cs.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="Forget_pwd.aspx.cs">
+      <DependentUpon>Forget_pwd.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="Forget_pwd.aspx.designer.cs">
+      <DependentUpon>Forget_pwd.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="login.aspx.cs">
+      <DependentUpon>login.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="login.aspx.designer.cs">
+      <DependentUpon>login.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="register.aspx.cs">
+      <DependentUpon>register.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="register.aspx.designer.cs">
+      <DependentUpon>register.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="RForget_pwd.aspx.cs">
+      <DependentUpon>RForget_pwd.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="RForget_pwd.aspx.designer.cs">
+      <DependentUpon>RForget_pwd.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="SqlClass.cs" />
+    <Compile Include="user-info.aspx.cs">
+      <DependentUpon>user-info.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="user-info.aspx.designer.cs">
+      <DependentUpon>user-info.aspx</DependentUpon>
+    </Compile>
+    <Compile Include="wardrobe.aspx.cs">
+      <DependentUpon>wardrobe.aspx</DependentUpon>
+      <SubType>ASPXCodeBehind</SubType>
+    </Compile>
+    <Compile Include="wardrobe.aspx.designer.cs">
+      <DependentUpon>wardrobe.aspx</DependentUpon>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="config.json" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
+  <ProjectExtensions>
+    <VisualStudio>
+      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+        <WebProjectProperties>
+          <UseIIS>False</UseIIS>
+          <AutoAssignPort>True</AutoAssignPort>
+          <DevelopmentServerPort>47978</DevelopmentServerPort>
+          <DevelopmentServerVPath>/</DevelopmentServerVPath>
+          <IISUrl>
+          </IISUrl>
+          <NTLMAuthentication>False</NTLMAuthentication>
+          <UseCustomServer>False</UseCustomServer>
+          <CustomServerUrl>
+          </CustomServerUrl>
+          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+        </WebProjectProperties>
+      </FlavorProperties>
+    </VisualStudio>
+  </ProjectExtensions>
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 27 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5.csproj.user

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ProjectExtensions>
+    <VisualStudio>
+      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+        <WebProjectProperties>
+          <StartPageUrl>login.aspx</StartPageUrl>
+          <StartAction>SpecificPage</StartAction>
+          <AspNetDebugging>True</AspNetDebugging>
+          <SilverlightDebugging>False</SilverlightDebugging>
+          <NativeDebugging>False</NativeDebugging>
+          <SQLDebugging>False</SQLDebugging>
+          <ExternalProgram>
+          </ExternalProgram>
+          <StartExternalURL>
+          </StartExternalURL>
+          <StartCmdLineArguments>
+          </StartCmdLineArguments>
+          <StartWorkingDirectory>
+          </StartWorkingDirectory>
+          <EnableENC>False</EnableENC>
+          <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
+        </WebProjectProperties>
+      </FlavorProperties>
+    </VisualStudio>
+  </ProjectExtensions>
+</Project>

+ 114 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/MyMeans.cs

@@ -0,0 +1,114 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Data;
+using System.Data.SqlClient;
+using System.Configuration;
+
+namespace yichu.DataClass
+{
+
+    class MyMeans
+    {
+        #region  全局变量
+        private static string sqlCnn = ConfigurationManager.ConnectionStrings["cnnStr"].ToString();
+        // public static string Login_ID = ""; //定义全局变量,记录当前登录的用户编号
+        //public static string Login_Name = "";  //定义全局变量,记录当前登录的用户名
+        public static string Mean_SQL = "", Mean_Table = "", Mean_Field = "";  //定义全局变量,记录“基础信息”各窗体中的表名及SQL语句
+        public static SqlConnection My_con;  //定义一个SqlConnection类型的公共变量My_con,用于判断数据库是否连接成功
+        public static string M_str_sqlcon = sqlCnn;//"Data Source=.;Database=db_PWMS;User id=sa;PWD=tz0824";
+        public static int Login_n = 0;  //用户登录与重新登录的标识
+        //public static string AllSql = "Select * from tb_Stuffbusic";    //存储职工基本信息表中的SQL语句
+        //public static int res = 0;
+        #endregion
+
+        #region  建立数据库连接
+        /// <summary>
+        /// 建立数据库连接.
+        /// </summary>
+        /// <returns>返回SqlConnection对象</returns>
+        public static SqlConnection getcon()
+        {
+            My_con = new SqlConnection(M_str_sqlcon);   //用SqlConnection对象与指定的数据库相连接
+            My_con.Open();  //打开数据库连接
+            return My_con;  //返回SqlConnection对象的信息
+        }
+        #endregion
+
+        #region  测试数据库是否赋加
+        /// <summary>
+        /// 测试数据库是否赋加
+        /// </summary>
+        public void con_open()
+        {
+            getcon();
+            //con_close();
+        }
+        #endregion
+
+        #region  关闭数据库连接
+        /// <summary>
+        /// 关闭于数据库的连接.
+        /// </summary>
+        public void con_close()
+        {
+            if (My_con.State == ConnectionState.Open)   //判断是否打开与数据库的连接
+            {
+                My_con.Close();   //关闭数据库的连接
+                My_con.Dispose();   //释放My_con变量的所有空间
+            }
+        }
+        #endregion
+
+        #region  读取指定表中的信息
+        /// <summary>
+        /// 读取指定表中的信息.
+        /// </summary>
+        /// <param name="SQLstr">SQL语句</param>
+        /// <returns>返回bool型</returns>
+        public SqlDataReader getcom(string SQLstr)
+        {
+            getcon();   //打开与数据库的连接
+            SqlCommand My_com = My_con.CreateCommand(); //创建一个SqlCommand对象,用于执行SQL语句
+            My_com.CommandText = SQLstr;    //获取指定的SQL语句
+            SqlDataReader My_read = My_com.ExecuteReader(); //执行SQL语名句,生成一个SqlDataReader对象
+            return My_read;
+        }
+        #endregion
+
+        #region 执行SqlCommand命令
+        /// <summary>
+        /// 执行SqlCommand
+        /// </summary>
+        /// <param name="M_str_sqlstr">SQL语句</param>
+        public void getsqlcom(string SQLstr)
+        {
+            getcon();   //打开与数据库的连接
+            SqlCommand SQLcom = new SqlCommand(SQLstr, My_con); //创建一个SqlCommand对象,用于执行SQL语句
+            SQLcom.ExecuteNonQuery();   //执行SQL语句
+            SQLcom.Dispose();   //释放所有空间
+            con_close();    //调用con_close()方法,关闭与数据库的连接
+        }
+        #endregion
+
+        #region  创建DataSet对象
+        /// <summary>
+        /// 创建一个DataSet对象
+        /// </summary>
+        /// <param name="M_str_sqlstr">SQL语句</param>
+        /// <param name="M_str_table">表名</param>
+        /// <returns>返回DataSet对象</returns>
+        public DataSet getDataSet(string SQLstr, string tableName)
+        {
+            getcon();   //打开与数据库的连接
+            SqlDataAdapter SQLda = new SqlDataAdapter(SQLstr, My_con);  //创建一个SqlDataAdapter对象,并获取指定数据表的信息
+            DataSet My_DataSet = new DataSet(); //创建DataSet对象
+            SQLda.Fill(My_DataSet, tableName);  //通过SqlDataAdapter对象的Fill()方法,将数据表信息添加到DataSet对象中
+            con_close();    //关闭数据库的连接
+            return My_DataSet;  //返回DataSet对象的信息
+
+            //WritePrivateProfileString(string section, string key, string val, string filePath);
+        }
+        #endregion
+    }
+}

+ 35 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Properties/AssemblyInfo.cs

@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下特性集 
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Intelligent_wardrobe_H5")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Intelligent_wardrobe_H5")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2018")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型 
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("c2ff069d-828d-40cf-9fd5-571b5cf90de5")]
+
+// 程序集的版本信息由下列四个值组成:
+//
+//      主版本
+//      次版本 
+//      内部版本号
+//      修订号
+//
+// 您可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值, 
+// 方法是按如下所示使用“*”:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 142 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RForget_pwd.aspx

@@ -0,0 +1,142 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RForget_pwd.aspx.cs" Inherits="Intelligent_wardrobe_H5.RForget_pwd" %>
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>账号找回</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
+    <meta content="yes" name="apple-mobile-web-app-capable" />
+    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
+    <meta content="telephone=no" name="format-detection" />
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash" />
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+</head>
+<style type="text/css">
+    .login {
+        background-color: #F5F5F5;
+        height: 100%;
+        -moz-background-size: 100% 100%;
+        background-size: 100% 100%;
+        position: relative;
+    }
+
+        .login .login-div {
+            width: 100%;
+            height: auto;
+            -moz-box-shadow: 0px 0px 50px #e4e4e4;
+            box-shadow: 0px 0px 50px #ccc;
+        }
+
+        .login .login-btn {
+            padding: 0 0.8rem 0 0.8rem;
+        }
+
+    .btn-pink {
+        background-color: rgba(255, 151, 171,1);
+        font-size: 0.35rem; /*padding: 0.04rem;*/
+        color: #fff;
+        font-family: "微软雅黑";
+        letter-spacing: 0.1rem;
+    }
+</style>
+<body>
+    <header class="m-navbar navbar-fixed">
+        <a href="javascript:history.go(-1);" class="navbar-item">
+            <i class="back-ico"></i>
+        </a>
+        <div class="navbar-center">
+            <span class="navbar-title">账号找回</span>
+        </div>
+        <a href="#" class="navbar-item" id="top_classification">
+            <i class="icon-type"></i>
+        </a>
+    </header>
+    <form id="Form1" runat="server">
+        <div id="Div1" class="login g-view" runat="server">
+            <div id="Div2" class="login-div mt-30" runat="server">
+                <div id="Div3" class="m-cell" runat="server">
+                    <div id="Div4" class="cell-item" runat="server">
+
+                        <div class="cell-right">
+                            <input id="pwd" runat="server" type="text"  class="cell-input" placeholder="新密码" autocomplete="off" />
+
+                        </div>
+                    </div>
+                    <div id="Div5" class="cell-item" runat="server">
+                        <div id="Div6" class="cell-right" runat="server">
+                            <input id="Text1" runat="server" type="text"  class="cell-input" placeholder="确认新密码" autocomplete="off" /></div>
+                    </div>
+
+                </div>
+            </div>
+            <div class="login-btn">
+               <asp:Button ID="Button1" runat="server"
+                    Text="确认修改" class="btn-block-fillet btn-pink" onclick="Button1_Click" />
+            </div>
+        </div>
+    </form>
+
+    <footer class="m-tabbar tabbar-fixed">
+        <a href="wardrobe.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/首页.png">
+            </span>
+            <span class="tabbar-txt">首页</span>
+        </a>
+        <a href="classification.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/衣橱.png">
+            </span>
+            <span class="tabbar-txt">衣橱</span>
+        </a>
+        <a href="add_clothes.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/添加.png">
+            </span>
+            <span class="tabbar-txt">添加</span>
+        </a>
+        <a href="collocation.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/搭配.png">
+            </span>
+            <span class="tabbar-txt">搭配</span>
+        </a>
+        <a href="user-info.aspx" class="tabbar-item tabbar-active">
+            <span class="tabbar-icon">
+                <img src="img/我的-粉.png">
+            </span>
+            <span class="tabbar-txt">我的</span>
+        </a>
+    </footer>
+</body>
+
+
+ <script src="js/ydui.js"></script>
+ <script>
+     var $getCode = $('#J_GetCode');
+
+     /* 定义参数 */
+     $getCode.sendCode({
+         disClass: 'btn-disabled',
+         secs: 15,
+         run: false,
+         runStr: '{%s}秒后重新获取',
+         resetStr: '重新获取验证码'
+     });
+
+     $getCode.on('click', function () {
+         /* ajax 成功发送验证码后调用【start】 */
+         YDUI.dialog.loading.open('发送中');
+         setTimeout(function () {
+
+             YDUI.dialog.loading.close();
+
+             $getCode.sendCode('start');
+             YDUI.dialog.toast('已发送', 'success', 1500);
+
+         }, 1500);
+     });
+</script>
+</html>

+ 51 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RForget_pwd.aspx.cs

@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class RForget_pwd : System.Web.UI.Page
+    {
+        SqlClass sql = new SqlClass();
+        protected void Page_Load(object sender, EventArgs e)
+        {
+           
+        }
+
+        protected void Button1_Click(object sender, EventArgs e)
+        {
+            if (pwd.Value.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('新密码不能为空!');<");
+                Response.Write("/Script>");
+                pwd.Focus();
+                return;
+            }
+            if (Text1.Value.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('确认密码不能为空!');<");
+                Response.Write("/Script>");
+                Text1.Focus();
+                return;
+            }
+            string username = Request["username"];
+            sql.getcon();
+            string R_Sql = "update Users set Username='" + username + "', password = '" + pwd.Value.Trim() + "' where Username = '" + username + "'";
+
+            if (sql.getcom(R_Sql))
+            {
+                Response.Redirect("~/login.aspx");
+
+            }
+            else
+            {
+                Response.Write("<script language=javascript >alert('修改失败!');<");
+                Response.Write("/Script>");
+            }
+
+        }
+    }
+}

+ 105 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RForget_pwd.aspx.designer.cs

@@ -0,0 +1,105 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class RForget_pwd {
+        
+        /// <summary>
+        /// Form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm Form1;
+        
+        /// <summary>
+        /// Div1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div1;
+        
+        /// <summary>
+        /// Div2 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div2;
+        
+        /// <summary>
+        /// Div3 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div3;
+        
+        /// <summary>
+        /// Div4 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div4;
+        
+        /// <summary>
+        /// pwd 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlInputText pwd;
+        
+        /// <summary>
+        /// Div5 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div5;
+        
+        /// <summary>
+        /// Div6 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div6;
+        
+        /// <summary>
+        /// Text1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlInputText Text1;
+        
+        /// <summary>
+        /// Button1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button Button1;
+    }
+}

+ 31 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RILI.aspx

@@ -0,0 +1,31 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RILI.aspx.cs" Inherits="Intelligent_wardrobe_H5.RILI" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+    <title></title>
+</head>
+<body>
+    <form id="form1" runat="server">
+    <div>
+        <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
+            BorderColor="Black" DayNameFormat="Shortest" Font-Names="Times New Roman" 
+            Font-Size="10pt" ForeColor="Black" Height="225px" NextPrevFormat="FullMonth" 
+            TitleFormat="Month" Width="407px">
+            <DayHeaderStyle BackColor="#CCCCCC" BorderColor="White" Font-Bold="True" 
+                Font-Size="7pt" ForeColor="#333333" Height="10pt" />
+            <DayStyle Width="14%" />
+            <NextPrevStyle Font-Size="8pt" ForeColor="White" />
+            <OtherMonthDayStyle ForeColor="#999999" />
+            <SelectedDayStyle BackColor="#CC3333" ForeColor="White" />
+            <SelectorStyle BackColor="#CCCCCC" BorderStyle="None" Font-Bold="True" 
+                Font-Names="Verdana" Font-Size="8pt" ForeColor="#333333" Width="1%" />
+            <TitleStyle BackColor="Black" Font-Bold="True" Font-Size="13pt" 
+                ForeColor="White" Height="14pt" />
+            <TodayDayStyle BackColor="#CCCC99" />
+        </asp:Calendar>
+    </div>
+    </form>
+</body>
+</html>

+ 17 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RILI.aspx.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class RILI : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+           string A = Calendar1.SelectedDate.ToString();
+        }
+    }
+}

+ 33 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/RILI.aspx.designer.cs

@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class RILI {
+        
+        /// <summary>
+        /// form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+        
+        /// <summary>
+        /// Calendar1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Calendar Calendar1;
+    }
+}

+ 84 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/SqlClass.cs

@@ -0,0 +1,84 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Web;
+
+/// <summary>
+/// SqlClass 的摘要说明
+/// </summary>
+public class SqlClass
+{
+    #region  建立数据库连接
+    /// <summary>
+    /// 建立数据库连接.
+    /// </summary>
+    /// <returns>返回SqlConnection对象</returns>
+    public SqlConnection getcon()
+    {
+        string M_str_sqlcon = @"Data Source=.\SQLEXPRESS;Database=Intelligent_wardrobe;uid=sa;pwd=123456";
+        SqlConnection myCon = new SqlConnection(M_str_sqlcon);
+        return myCon;
+    }
+    #endregion
+
+    #region  执行SqlCommand命令
+    /// <summary>
+    /// 执行SqlCommand
+    /// </summary>
+    /// <param name="M_str_sqlstr">SQL语句</param>
+    public bool getcom(string M_str_sqlstr)
+    {
+        SqlConnection sqlcon = this.getcon();
+        sqlcon.Open();
+        SqlCommand sqlcom = new SqlCommand(M_str_sqlstr, sqlcon);
+        sqlcom.ExecuteNonQuery();
+        sqlcom.Dispose();
+        sqlcon.Close();
+        sqlcon.Dispose();
+        return true;
+    }
+    #endregion
+
+    #region  创建DataSet对象
+    /// <summary>
+    /// 创建一个DataSet对象
+    /// </summary>
+    /// <param name="M_str_sqlstr">SQL语句</param>
+    /// <param name="M_str_table">表名</param>
+    /// <returns>返回DataSet对象</returns>
+    public DataSet getds(string M_str_sqlstr)//(string M_str_sqlstr, string M_str_table)
+    {
+        SqlConnection sqlcon = this.getcon();
+        SqlDataAdapter sqlda = new SqlDataAdapter(M_str_sqlstr, sqlcon);
+        DataSet myds = new DataSet();
+        sqlda.Fill(myds);//(myds, M_str_table);
+        return myds;
+    }
+    #endregion
+
+    #region  创建SqlDataReader对象
+    /// <summary>
+    /// 创建一个SqlDataReader对象
+    /// </summary>
+    /// <param name="M_str_sqlstr">SQL语句</param>
+    /// <returns>返回SqlDataReader对象</returns>
+    public SqlDataReader GetReader(string M_str_sqlstr)
+    {
+        SqlConnection sqlcon = this.getcon();
+        SqlCommand sqlcom = new SqlCommand(M_str_sqlstr, sqlcon);
+        sqlcon.Open();
+        SqlDataReader sqlread = sqlcom.ExecuteReader(CommandBehavior.CloseConnection);
+        return sqlread;
+    }
+    public bool sqlExec(string M_str_sqlstr)
+    {
+        SqlConnection sqlcon = this.getcon();
+        SqlCommand sqlcom = new SqlCommand(M_str_sqlstr, sqlcon);
+        sqlcon.Open();
+        sqlcom.ExecuteNonQuery();
+        return true;
+    }
+    #endregion
+}

+ 30 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Web.Debug.config

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- 有关使用 web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=125889 -->
+
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+  <!--
+    在下例中,“SetAttributes”转换将更改 
+    “connectionString”的值,仅在“Match”定位器 
+    查找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
+    
+    <connectionStrings>
+      <add name="MyDB" 
+        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
+        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
+    </connectionStrings>
+  -->
+  <system.web>
+    <!--
+      在下例中,“Replace”转换将替换 
+      web.config 文件的整个 <customErrors> 节。
+      请注意,由于 
+      在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
+      
+      <customErrors defaultRedirect="GenericError.htm"
+        mode="RemoteOnly" xdt:Transform="Replace">
+        <error statusCode="500" redirect="InternalError.htm"/>
+      </customErrors>
+    -->
+  </system.web>
+</configuration>

+ 31 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Web.Release.config

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- 有关使用 web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=125889 -->
+
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+  <!--
+    在下例中,“SetAttributes”转换将更改 
+    “connectionString”的值,仅在“Match”定位器 
+    查找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
+    
+    <connectionStrings>
+      <add name="MyDB" 
+        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
+        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
+    </connectionStrings>
+  -->
+  <system.web>
+    <compilation xdt:Transform="RemoveAttributes(debug)" />
+    <!--
+      在下例中,“Replace”转换将替换 
+      web.config 文件的整个 <customErrors> 节。
+      请注意,由于 
+      在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
+      
+      <customErrors defaultRedirect="GenericError.htm"
+        mode="RemoteOnly" xdt:Transform="Replace">
+        <error statusCode="500" redirect="InternalError.htm"/>
+      </customErrors>
+    -->
+  </system.web>
+</configuration>

+ 13 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/Web.config

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+  有关如何配置 ASP.NET 应用程序的详细消息,请访问
+  http://go.microsoft.com/fwlink/?LinkId=169433
+  -->
+
+<configuration>
+    <system.web>
+        <compilation debug="true" targetFramework="4.0" />
+    </system.web>
+
+</configuration>

+ 209 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/addClothingInfo.aspx

@@ -0,0 +1,209 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addClothingInfo.aspx.cs" Inherits="Intelligent_wardrobe_H5.addClothingInfo" %>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>衣服信息</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
+    <meta content="yes" name="apple-mobile-web-app-capable"/>
+    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
+    <meta content="telephone=no" name="format-detection"/>
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash"/>
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+</head>
+<style type="text/css">
+
+</style>
+<body>
+<header class="m-navbar navbar-fixed">
+    <a href="javascript:history.go(-1);" class="navbar-item">
+        <i class="back-ico"></i>
+    </a>
+    <div class="navbar-center">
+        <span class="navbar-title">衣服信息</span>
+    </div>
+    <a href="#" class="navbar-item" id="top_classification">
+        <i class="icon-type"></i>
+    </a>
+</header>
+
+<form runat = "server">
+<div class="g-view">
+    <div class="m-celltitle">请填写衣物信息</div>
+    <div class="m-cell">
+        <div class="cell-item">
+        <div class="cell-left">颜色:</div>
+        <label class="cell-right cell-arrow">
+            <select class="cell-select" id = "yanse">
+                <option value="">请选择颜色</option>
+                <option value="1">颜色1</option>
+                <option value="2">颜色2</option>
+                <option value="3">颜色3</option>
+            </select>
+        </label>
+        </div>
+    </div>
+      <div class="m-celltitle" id ="leixing">类型</div>
+    <div class="m-cell">
+        <div class="cell-item">
+        <div class="cell-left">类型:</div>
+        <label class="cell-right cell-arrow">
+            <select class="cell-select">
+                <option value="">默认分类</option>
+                <option value="1">上衣</option>
+                <option value="2">下装</option>
+                <option value="3">鞋子</option>
+                <option value="4">半身裙</option>
+                <option value="5">裙子</option>
+                <option value="6">外套</option>
+                <option value="7">配饰</option>
+            </select>
+        </label>
+        </div>
+    </div>
+          <div class="m-celltitle">大小</div>
+    <div class="m-cell">
+        <div class="cell-item">
+        <div class="cell-left">大小:</div>
+        <label class="cell-right cell-arrow">
+            <select class="cell-select">
+                <option value="">150cm</option>
+                <option value="1">160cm</option>
+                <option value="2">170cm</option>
+                <option value="3">180cm</option>
+                <option value="4">190cm</option>
+            </select>
+        </label>
+        </div>
+    </div>
+    <div class="m-celltitle">尺码</div>
+    <div class="m-cell">
+        <div class="cell-item">
+        <div class="cell-left">尺码:</div>
+        <label class="cell-right cell-arrow">
+            <select class="cell-select">
+                <option value="">S</option>
+                <option value="1">M</option>
+                <option value="2">L</option>
+                <option value="3">XL</option>
+                <option value="3">XXL</option>
+            </select>
+        </label>
+        </div>
+    </div>
+    <div class="m-celltitle">适合的季节</div>
+    <div class="m-cell">
+        <label class="cell-item">
+            <span class="cell-left">春天</span>
+            <label class="cell-right">
+                <input type="checkbox" name="checkbox"/>
+                <i class="cell-checkbox-icon"></i>
+            </label>
+        </label>
+        <label class="cell-item">
+            <span class="cell-left">夏天</span>
+            <label class="cell-right">
+                <input type="checkbox" name="checkbox"/>
+                <i class="cell-checkbox-icon"></i>
+            </label>
+        </label>
+        <label class="cell-item">
+            <span class="cell-left">秋天</span>
+            <label class="cell-right">
+                <input type="checkbox" name="checkbox"/>
+                <i class="cell-checkbox-icon"></i>
+            </label>
+        </label>
+        <label class="cell-item">
+            <span class="cell-left">冬天</span>
+            <label class="cell-right">
+                <input type="checkbox" name="checkbox"/>
+                <i class="cell-checkbox-icon"></i>
+            </label>
+        </label>
+    </div>
+    <div class="m-celltitle">喜好</div>
+    <div class="m-cell">
+        <label class="cell-item">
+        <span class="cell-left">喜欢</span>
+        <label class="cell-right">
+            <input type="checkbox" name="checkbox"/>
+            <i class="cell-checkbox-icon"></i>
+        </label>
+        </label>
+    </div>
+    <div class="m-celltitle">备注位置信息</div>
+    <div class="m-cell">
+        <div class="cell-item">
+            <div class="cell-right">
+                <textarea class="cell-textarea" placeholder="备注"></textarea>
+            </div>
+        </div>
+    </div>
+    <div class="m-celltitle">适合场所</div>
+    <div class="m-cell">
+        <div class="cell-item">
+            <div class="cell-left">适合场所:</div>
+            <div class="cell-right"><input class="cell-input" placeholder="请输入适合场所" autocomplete="off" /></div>
+        </div>
+    </div>
+    <div class="m-celltitle"><asp:FileUpload ID="FileUpload1" runat="server" /></div>
+    
+    <a  href="#">
+      <asp:Button ID="btn_OK" runat="server" class="btn-block btn-danger" 
+        Text ="确认上传" onclick="btn_OK_Click" />
+    </a>
+    </form>
+<!--     类型(???????)
+    颜色(色系?选择)
+    尺码(选额)
+    大小(????)
+    季节(多选)
+    布料(选择?)
+    喜好(单选)
+    适合场所(输入)
+    适合天气(选择)
+    图片()
+    时间(取当前时间)
+    放置位置(选择)
+    备注(输入) -->
+</div>
+
+
+<footer class="m-tabbar tabbar-fixed">
+    <a href="wardrobe.html" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/首页.png">
+        </span>
+        <span class="tabbar-txt">首页</span>
+    </a>
+    <a href="classification.html" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/衣橱.png">
+        </span>
+        <span class="tabbar-txt">衣橱</span>
+    </a>
+    <a href="add_clothes.html" class="tabbar-item tabbar-active">
+        <span class="tabbar-icon">
+            <img src="img/添加-粉.png">
+        </span>
+        <span class="tabbar-txt">添加</span>
+    </a>
+    <a href="collocation.html" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/搭配.png">
+        </span>
+        <span class="tabbar-txt">搭配</span>
+    </a>
+    <a href="user-info.html" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/我的.png">
+        </span>
+        <span class="tabbar-txt">我的</span>
+    </a>
+</footer>
+</body>
+</html>

+ 64 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/addClothingInfo.aspx.cs

@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Drawing;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class addClothingInfo : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+
+        }
+        SqlClass sql = new SqlClass();
+        protected void btn_OK_Click(object sender, EventArgs e)
+        {
+            string uname = Session["username"].ToString();
+
+            {
+                for (int i = 0; i < Request.Files.Count; i++)
+                {
+                    HttpPostedFile file = Request.Files[i];
+                    if (file.ContentLength > 0)
+                    {
+                        if (file.ContentType.Contains("image/"))
+                        {
+                            using (System.Drawing.Image img = System.Drawing.Image.FromStream(file.InputStream))
+                            {
+                                using (System.Drawing.Image imgThumb = new Bitmap(200, 100))
+                                {
+                                    using (Graphics g = Graphics.FromImage(imgThumb))
+                                    {
+                                        g.DrawImage(img, new Rectangle(0, 0, imgThumb.Width, imgThumb.Height), new Rectangle(0, 0, img.Width, img.Height), GraphicsUnit.Pixel);
+                                    }
+                                    string fileName = file.FileName;
+                                    string[] SplitFileName = fileName.Split('.');
+                                    string AtterFileName = DateTime.Now.ToString("yyyMMddHHmmss") + "." + SplitFileName[1];
+                                    img.Save(Server.MapPath("/D:\\360/" + AtterFileName));
+                                    string dress = "/D:\\360/" + AtterFileName;
+                                    string date = DateTime.Now.ToString("yyyMMdd");
+                                    //this.Image4.ImageUrl = "/D:\\360/" + AtterFileName;
+                                    sql.getcon();
+                                    string Astr = "insert into Clothes values('admin','上衣','红色','L','180','夏季','纯棉','1','运动','晴天','" + dress + "','" + date + "','柜子','备注')";
+                                    sql.getcom(Astr);
+                                }
+                            }
+                        }
+                        else
+                        {
+                            Response.Write("<script>alert('该文件不是图片格式!');</script>");
+                        }
+                    }
+                    else
+                    {
+                        Response.Write("<script>alert('请选择要上传的图片');</script>");
+                    }
+                }
+            }
+        }
+    }
+}

+ 33 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/addClothingInfo.aspx.designer.cs

@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class addClothingInfo {
+        
+        /// <summary>
+        /// FileUpload1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.FileUpload FileUpload1;
+        
+        /// <summary>
+        /// btn_OK 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button btn_OK;
+    }
+}

+ 149 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/add_clothes.aspx

@@ -0,0 +1,149 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="add_clothes.aspx.cs" Inherits="Intelligent_wardrobe_H5.add_clothes" %>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>添加衣物</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
+    <meta content="yes" name="apple-mobile-web-app-capable"/>
+    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
+    <meta content="telephone=no" name="format-detection"/>
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash"/>
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+    <style type="text/css">
+.btn-addclothes{background-color: rgba(255, 177, 249,0.66); width:4.5rem; height: 0.8rem; font-size:0.35rem;padding: 0.04rem;color: #fff; font-family:"微软雅黑";letter-spacing:0.1rem;}
+
+.add-clothes-bg{background-image: url(img/Add_clothes_bg.png); height: 100%;  -moz-background-size:100% 100%;background-size:100% 100%;position:relative;}
+.add-clothes-bg:after{position:absolute; height: 100%; background-color: #545560;opacity:0.64;top: 0px;left: 0px;}
+
+.add {height:80%;position: relative;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;z-index: 99; background-color: rgba(255, 255, 255,0);}
+.add .add-center {-webkit-box-ordinal-group: 3;-webkit-order: 2;-ms-flex-order: 2;order: 2;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;height: 0.9rem;width: 50%;margin-left: 25%;position:absolute; top:70%;}
+</style>
+</head>
+
+<body>
+<header class="m-navbar navbar-fixed">
+    <a href="javascript:history.go(-1);" class="navbar-item">
+        <i class="back-ico"></i>
+    </a>
+    <div class="navbar-center">
+        <span class="navbar-title">添加衣物</span>
+    </div>
+    <a href="#" class="navbar-item" id="top_classification">
+        <i class="icon-type"></i>
+    </a>
+</header>
+
+
+<div class="add-clothes-bg g-view">
+<div class="top-counter">
+    
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/衣架.png">
+        </span>
+        <span class="tabbar-txt"><asp:Label ID="Label1" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/上衣.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label2" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/下装.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label3" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/鞋子.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label4" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/裙子.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label5" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/半身裙.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label6" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/外套.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label7" runat="server" Text="0"></asp:Label></span>
+    </a>
+    <a class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/icons/配饰.png">
+        </span>
+        <span class="tabbar-txt">
+            <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label></span>
+    </a>
+</div>
+<div class="add">
+    <div class="add-center">
+        <a href="addClothingInfo.aspx" id="imghead" border="0" src="img/photo_icon.png" width="90" height="90" class="btn-fillet btn-addclothes opacity-66">上传衣物</a>
+    </div>      
+    <input type="file" onchange="previewImage(this)" style="display: none;" id="previewImg">
+</div>
+</div>
+
+
+<footer class="m-tabbar tabbar-fixed">
+    <a href="wardrobe.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/首页.png">
+        </span>
+        <span class="tabbar-txt">首页</span>
+    </a>
+    <a href="classification.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/衣橱.png">
+        </span>
+        <span class="tabbar-txt">衣橱</span>
+    </a>
+    <a href="add_clothes.aspx" class="tabbar-item tabbar-active">
+        <span class="tabbar-icon">
+            <img src="img/添加-粉.png">
+        </span>
+        <span class="tabbar-txt">添加</span>
+    </a>
+    <a href="collocation.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/搭配.png">
+        </span>
+        <span class="tabbar-txt">搭配</span>
+    </a>
+    <a href="user-info.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/我的.png">
+        </span>
+        <span class="tabbar-txt">我的</span>
+    </a>
+</footer>
+
+<script type="text/javascript">
+    $("#top_classification").click(function () {
+        $(".top-counter").toggleClass("top-counter-disable");
+
+    });
+</script>
+</body>
+</html>

+ 41 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/add_clothes.aspx.cs

@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Data;
+using System.Web.SessionState;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class add_clothes : System.Web.UI.Page
+    {
+
+        
+        SqlClass SQL = new SqlClass();
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            string uname = Session["username"].ToString();
+
+            try
+            {
+                DataSet ds = SQL.getds("select * from Quantity");
+                DataTable tb = ds.Tables[0];
+                Label1.Text = tb.Rows[0]["num1"].ToString() + "件";
+                Label2.Text = tb.Rows[0]["num2"].ToString() + "件";
+                Label3.Text = tb.Rows[0]["num3"].ToString() + "件";
+                Label4.Text = tb.Rows[0]["num4"].ToString() + "件";
+                Label5.Text = tb.Rows[0]["num5"].ToString() + "件";
+                Label6.Text = tb.Rows[0]["num6"].ToString() + "件";
+                Label7.Text = tb.Rows[0]["num7"].ToString() + "件";
+            }
+            catch (Exception ce)
+            {
+                Response.Write("<script language=javascript >alert('计数器显示失败')<");
+                Response.Write("/Script>" + ce);
+            }
+            return;
+     }
+  }
+}

+ 87 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/add_clothes.aspx.designer.cs

@@ -0,0 +1,87 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class add_clothes {
+        
+        /// <summary>
+        /// Label1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label1;
+        
+        /// <summary>
+        /// Label2 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label2;
+        
+        /// <summary>
+        /// Label3 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label3;
+        
+        /// <summary>
+        /// Label4 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label4;
+        
+        /// <summary>
+        /// Label5 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label5;
+        
+        /// <summary>
+        /// Label6 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label6;
+        
+        /// <summary>
+        /// Label7 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label7;
+        
+        /// <summary>
+        /// Label8 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label8;
+    }
+}

BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/bin/Intelligent_wardrobe_H5.dll


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/bin/Intelligent_wardrobe_H5.pdb


+ 217 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/classification.aspx

@@ -0,0 +1,217 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="classification.aspx.cs" Inherits="Intelligent_wardrobe_H5.classification" %>
+
+<!DOCTYPE html>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head id="Head1" runat="server">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>衣橱分类</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
+    <meta content="yes" name="apple-mobile-web-app-capable" />
+    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
+    <meta content="telephone=no" name="format-detection" />
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash" />
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+    <style>
+        .form {
+            position: relative;
+            width: 100%;
+            margin: 0 auto;
+        }
+
+            .form input, .btn {
+                border: none;
+                outline: none;
+            }
+
+            .form .bar input {
+                width: 100%;
+                height: 42px;
+                padding-left: 13px;
+                border: 2px solid #ff99cb;
+                border-radius: 5px;
+                background: transparent;
+                top: 0;
+                right: 0;
+            }
+
+            .form .bar .btn {
+                height: 42px;
+                width: 42px;
+                cursor: pointer;
+                position: absolute;
+                background: #ff99cb;
+                border-radius: 0 5px 5px 0;
+                width: 60px;
+                top: 0;
+                right: 0;
+                color: #fff;
+            }
+    </style>
+</head>
+<body>
+    <header class="m-navbar navbar-fixed">
+        <a href="javascript:history.go(-1);" class="navbar-item">
+            <i class="back-ico"></i>
+        </a>
+        <div class="navbar-center">
+            <span class="navbar-title">衣橱</span>
+        </div>
+        <a href="#" class="navbar-item" id="top_classification">
+            <i class="icon-type"></i>
+        </a>
+    </header>
+
+
+    <div class="g-view">
+        <div id="container">
+            <form id="Form1" class="form" runat="server">
+                <div class="bar">
+                    <input id="input" runat="server" type="text" placeholder="请输入关键字" name="cname" />
+                    <asp:Button ID="Button1" class="btn" runat="server" Text="搜索" OnClick="Button1_Click" />
+
+                </div>
+            </form>
+        </div>
+
+
+        <div class="m-cell">
+            <a class="cell-item h-14" href="clothes-list.aspx?chazhao=默认">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/衣架.png" /></span><div class="ml-2">
+                            默认分类<br />
+                            <div>
+                                <asp:Label ID="Label1" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14" href="clothes-list.aspx?chazhao=上衣">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/上衣.png" /></span><div class="ml-2">
+                            上衣<br />
+                            <div>
+                                <asp:Label ID="Label2" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14"href="clothes-list.aspx?chazhao=下装">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/下装.png" /></span><div class="ml-2">
+                            下装<br />
+                            <div>
+                                <asp:Label ID="Label3" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14"href="clothes-list.aspx?chazhao=鞋子">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/鞋子.png" /></span><div class="ml-2">
+                            鞋子<br />
+                            <div>
+                                <asp:Label ID="Label4" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14"href="clothes-list.aspx?chazhao=半身裙">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/半身裙.png" /></span><div class="ml-2">
+                            半身裙<br />
+                            <div>
+                                <asp:Label ID="Label5" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14"href="clothes-list.aspx?chazhao=裙子">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/裙子.png" /></span><div class="ml-2">
+                            裙子<br />
+                            <div>
+                                <asp:Label ID="Label6" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14" href="clothes-list.aspx?chazhao=外套">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/外套.png" /></span><div class="ml-2">
+                            外套<br />
+                            <div>
+                                <asp:Label ID="Label7" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+            <a class="cell-item h-14"href="clothes-list.aspx?chazhao=配饰">
+                <div class="cell-left">
+                    <span class="cell-icon">
+                        <img class="ml-2" src="img/icons/配饰.png" /></span><div class="ml-2">
+                            配饰<br />
+                            <div>
+                                <asp:Label ID="Label8" runat="server" Text="Label">0件</asp:Label>
+                            </div>
+                        </div>
+                </div>
+                <div class="cell-right cell-arrow"></div>
+            </a>
+        </div>
+
+
+    </div>
+
+
+    <footer class="m-tabbar tabbar-fixed">
+        <a href="wardrobe.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/首页.png">
+            </span>
+            <span class="tabbar-txt">首页</span>
+        </a>
+        <a href="classification" class="tabbar-item tabbar-active">
+            <span class="tabbar-icon">
+                <img src="img/衣橱-粉.png">
+            </span>
+            <span class="tabbar-txt">衣橱</span>
+        </a>
+        <a href="add_clothes.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/添加.png">
+            </span>
+            <span class="tabbar-txt">添加</span>
+        </a>
+        <a href="collocation" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/搭配.png">
+            </span>
+            <span class="tabbar-txt">搭配</span>
+        </a>
+        <a href="user-info" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/我的.png">
+            </span>
+            <span class="tabbar-txt">我的</span>
+        </a>
+    </footer>
+</body>
+
+<script src="js/ydui.js"></script>
+</html>

+ 55 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/classification.aspx.cs

@@ -0,0 +1,55 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Data;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class classification : System.Web.UI.Page
+    {
+       
+        SqlClass sql = new SqlClass();
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            string uname = Session["username"].ToString();
+            DataSet ds = sql.getds("select * from Quantity WHERE Username ='" + uname + "' ");
+            DataTable tb = ds.Tables[0];
+            Label1.Text = tb.Rows[0]["num1"].ToString() + "件";
+            Label2.Text = tb.Rows[0]["num2"].ToString() + "件";
+            Label3.Text = tb.Rows[0]["num3"].ToString() + "件";
+            Label4.Text = tb.Rows[0]["num4"].ToString() + "件";
+            Label5.Text = tb.Rows[0]["num5"].ToString() + "件";
+            Label6.Text = tb.Rows[0]["num6"].ToString() + "件";
+            Label7.Text = tb.Rows[0]["num7"].ToString() + "件";
+            Label8.Text = tb.Rows[0]["num8"].ToString() + "件";
+            
+        }
+        //--搜索
+        protected void Button1_Click(object sender, EventArgs e)
+        {
+            string user = Request["username"];
+            SqlClass sql = new SqlClass();
+            DataSet ds = sql.getds("SELECT * FROM Clothes WHERE remark LIKE '%" + input.Value.Trim() + "%' where Username = '"+user+"'");
+            if (ds.Tables[0].Rows.Count != 0)
+            {
+                //string beizhu = ds.Tables[0].Rows[0]["remark"].ToString();
+                //Response.Write("<script language=javascript >alert('" + beizhu + "');</Script>");
+
+                string s_url;
+                s_url = "clothes-list.aspx?chazhao=" + input.Value.Trim();
+                Response.Redirect(s_url);
+                Response.Write("<script language=javascript >$(window).attr('location','clothes-list.aspx');</Script>");
+            }
+            else { Response.Write("<script language=javascript >alert('没查到');</Script>"); }
+
+
+            //string text = input.Value.Trim();
+
+        }
+
+
+    }
+}

+ 123 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/classification.aspx.designer.cs

@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class classification {
+        
+        /// <summary>
+        /// Head1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
+        
+        /// <summary>
+        /// Form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm Form1;
+        
+        /// <summary>
+        /// input 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlInputText input;
+        
+        /// <summary>
+        /// Button1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button Button1;
+        
+        /// <summary>
+        /// Label1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label1;
+        
+        /// <summary>
+        /// Label2 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label2;
+        
+        /// <summary>
+        /// Label3 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label3;
+        
+        /// <summary>
+        /// Label4 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label4;
+        
+        /// <summary>
+        /// Label5 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label5;
+        
+        /// <summary>
+        /// Label6 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label6;
+        
+        /// <summary>
+        /// Label7 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label7;
+        
+        /// <summary>
+        /// Label8 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label8;
+    }
+}

+ 166 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/clothes-list.aspx

@@ -0,0 +1,166 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="clothes-list.aspx.cs" Inherits="Intelligent_wardrobe_H5.clothes_list" %>
+
+
+
+
+<!DOCTYPE html>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head id="Head1" runat="server">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>衣橱分类</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
+    <meta content="yes" name="apple-mobile-web-app-capable" />
+    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
+    <meta content="telephone=no" name="format-detection" />
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash" />
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+    <style type="text/css">
+        form {
+            position: relative;
+            width: 100%;
+            margin: 0 auto;
+        }
+
+        input, button {
+            border: none;
+            outline: none;
+        }
+
+        .bar input {
+            width: 100%;
+            height: 42px;
+            padding-left: 13px;
+            border: 2px solid #ff99cb;
+            border-radius: 5px;
+            background: transparent;
+            top: 0;
+            right: 0;
+        }
+
+        .bar button {
+            height: 42px;
+            width: 42px;
+            cursor: pointer;
+            position: absolute;
+            background: #ff99cb;
+            border-radius: 0 5px 5px 0;
+            width: 60px;
+            top: 0;
+            right: 0;
+        }
+
+            .bar button:before {
+                content: "搜索";
+                font-size: 13px;
+                color: #F9F0DA;
+            }
+    </style>
+</head>
+<body style="background-color: #fff;">
+    <header class="m-navbar navbar-fixed">
+        <a href="javascript:history.go(-1);" class="navbar-item">
+            <i class="back-ico"></i>
+        </a>
+        <div class="navbar-center">
+            <span class="navbar-title">衣橱</span>
+        </div>
+        <a href="#" class="navbar-item" id="top_classification">
+            <i class="icon-type"></i>
+        </a>
+    </header>
+
+
+    <div class="g-view">
+        <div id="container">
+            <div class="bar">
+                <form>
+                    <input type="text" placeholder="请输入关键字" name="cname">
+                    <button type="submit"></button>
+                </form>
+            </div>
+        </div>
+         
+        <article class="m-list list-theme1" id="list">
+            <%=chazhao %>
+        </article>
+    </div>
+
+
+    <footer class="m-tabbar tabbar-fixed">
+        <a href="wardrobe.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/首页.png">
+            </span>
+            <span class="tabbar-txt">首页</span>
+        </a>
+        <a href="classification.aspx" class="tabbar-item tabbar-active">
+            <span class="tabbar-icon">
+                <img src="img/衣橱-粉.png">
+            </span>
+            <span class="tabbar-txt">衣橱</span>
+        </a>
+        <a href="add_clothes.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/添加.png">
+            </span>
+            <span class="tabbar-txt">添加</span>
+        </a>
+        <a href="collocation.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/搭配.png">
+            </span>
+            <span class="tabbar-txt">搭配</span>
+        </a>
+        <a href="user-info" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/我的.png">
+            </span>
+            <span class="tabbar-txt">我的</span>
+        </a>
+    </footer>
+</body>
+<script src="js/ydui.flexible.js"></script>
+<script src="js/jquery-1.10.2.js"></script>
+<script src="js/ydui.js"></script>
+<%--        <script type="text/javascript">
+            $(function () {
+                $.ajax({
+                    url: 'Handler1.ashx',
+                    type: 'GET',
+                    dataType: 'text',
+                    // timeout: 1000,
+                    cache: false,
+                    beforeSend: LoadFunction, //加载执行方法    
+                    error: erryFunction,  //错误执行方法    
+                    success: succFunction //成功执行方法    
+                })
+                function LoadFunction() {
+                    $("#list").html('加载中...');
+                }
+                function erryFunction() {
+                    alert("error");
+                }
+                function succFunction(tt) {
+                    $("#list").html(tt);
+
+                    //eval将字符串转成对象数组  
+                    //var json = { "id": "10086", "uname": "zhangsan", "email": "zhangsan@qq.com" };  
+                    //json = eval(json);  
+                    //alert("===json:id=" + json.id + ",uname=" + json.uname + ",email=" + json.email);  
+
+                    //var json = eval(tt); //数组         
+                    //$.each(json, function (index, item) {
+                    //    循环获取数据    
+                    //    var name = json[index].Name;
+                    //    var idnumber = json[index].IdNumber;
+                    //    var sex = json[index].Sex;
+                    //    $("#list").html($("#list").html() + "<br>" + name + " - " + idnumber + " - " + sex + "<br/>");
+                    //});
+                }
+            });
+    </script>  --%>
+</html>
+
+

+ 52 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/clothes-list.aspx.cs

@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Data;
+
+namespace Intelligent_wardrobe_H5
+{
+    
+    public partial class clothes_list : System.Web.UI.Page
+    {
+       
+        public string chazhao = "";
+        public void Page_Load(object sender, EventArgs e)
+        {
+            string user = Request["username"];
+            chazhao = Request.Params["chazhao"];
+            if (chazhao == "默认" || chazhao == "上衣" || chazhao == "下装" || chazhao == "鞋子" || chazhao == "半身裙" || chazhao == "裙子" || chazhao == "外套" || chazhao == "配饰")
+            {
+                chazhao = Search("SELECT * FROM Clothes WHERE type = '" + chazhao + "'and Username = '" + user + "' ");
+            }
+            else { chazhao = Search("SELECT * FROM Clothes WHERE remark LIKE '%" + chazhao + "%' and Username = '" + user + "'  "); }
+
+        }
+        #region  查找
+        public string Search(string search)
+        {
+            SqlClass sql = new SqlClass();
+            DataSet ds = sql.getds(search);
+            string str = "";
+            if (ds.Tables[0].Rows.Count != 0)
+            {
+                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
+                {
+                    string beizhu = ds.Tables[0].Rows[i]["remark"].ToString();
+
+                    DateTime datetime = Convert.ToDateTime(ds.Tables[0].Rows[i]["Storagetime"].ToString());
+                    string time = datetime.ToString("yyyy-MM-dd");
+
+                    string img_position = ds.Tables[0].Rows[i]["Pictureaddress"].ToString();
+                    str += "<a href='#' class='list-item'><div class='list-img'> <img src='" + img_position + "'></div><div class='list-mes'><h3 class='list-title'>" + beizhu
+                       + "</h3><div class='list-mes-item'><div></div><div class='fc-ff99cb'>" + time + "</div></div></div></a>";
+                }
+            }
+            else { str = "<h3>无数据</h3>"; }
+            return str;
+        }
+        #endregion  
+    }
+}

+ 24 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/clothes-list.aspx.designer.cs

@@ -0,0 +1,24 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class clothes_list {
+        
+        /// <summary>
+        /// Head1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
+    }
+}

+ 96 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/collocation.aspx

@@ -0,0 +1,96 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="collocation.aspx.cs" Inherits="Intelligent_wardrobe_H5.collocation" %>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>搭配</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
+    <meta content="yes" name="apple-mobile-web-app-capable"/>
+    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
+    <meta content="telephone=no" name="format-detection"/>
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash"/>
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+</head>
+<style type="text/css">
+.collocation{padding:0.4rem;}
+.collocation-l{width:55%;float: left;margin-bottom:0.2rem;}
+.collocation-lbox{height: 6.4rem;background-color: #FFA3CC;box-shadow: 0 0 8px #888;position: relative;}
+.collocation-l a{position: absolute;bottom: 0.3rem;left:42%;font-size: 0.35rem;font-family: "微软雅黑";}
+
+.collocation-r{width:42%;height: 6.4rem;float: right;}
+.collocation-rbox{width:100%;height: 2rem;margin-bottom:0.2rem;background-color: #FFA3CC;box-shadow: 0 0 8px #999;text-align: center;position: relative;}
+.collocation-r a{font-size: 0.3rem;font-family: "微软雅黑";color: #FFF;position: relative;z-index: 10;line-height: 3rem}
+.collocation-r .img{width:100%;height:100%;background-color: #ccc;position: absolute;}
+
+.collocation-b{width:100%;height: 1.7rem;float:left;margin-top: 0.2rem;}
+.collocation-bbox{width:31%;height: 1.7rem;float: left;background-color: #FFA3CC;;margin-right:0.2rem;box-shadow: 0 0 8px #999;text-align: center;position: relative;}
+.collocation-b a{font-size: 0.3rem;font-family: "微软雅黑";color: #FFF;position: relative;z-index: 10;line-height:2.6rem}
+.collocation-b .img{width:100%;height:100%;background-color: #ccc;position: absolute;}
+
+.btn-dapei{background-color:#EA68A2; color: #FFF;}
+
+</style>
+<body>
+    <form id="form1" runat="server" enctype="multipart/form-data">
+<header class="m-navbar navbar-fixed">
+    <a href="javascript:history.go(-1);" class="navbar-item">
+        <i class="back-ico"></i>
+    </a>
+    <div class="navbar-center">
+        <span class="navbar-title">穿着搭配</span>
+    </div>
+    <a href="#" class="navbar-item" id="top_classific ation">
+        <i class="icon-type"></i>
+    </a>
+</header>
+
+
+<div class="g-view">
+    <div class="collocation mt-2">
+        <div class="collocation-l mt-2">
+            <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
+        </div>
+        <div class="collocation-r mt-2"></div>
+
+
+</div>
+
+
+<footer class="m-tabbar tabbar-fixed">
+    <a href="wardrobe.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/首页.png">
+        </span>
+        <span class="tabbar-txt">首页</span>
+    </a>
+    <a href="classification.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/衣橱.png">
+        </span>
+        <span class="tabbar-txt">衣橱</span>
+    </a>
+    <a href="add_clothes.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/添加.png">
+        </span>
+        <span class="tabbar-txt">添加</span>
+    </a>
+    <a href="collocation.aspx" class="tabbar-item tabbar-active">
+        <span class="tabbar-icon">
+            <img src="img/搭配-粉.png">
+        </span>
+        <span class="tabbar-txt">搭配</span>
+    </a>
+    <a href="user-info.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/我的.png">
+        </span>
+        <span class="tabbar-txt">我的</span>
+    </a>
+</footer>
+    </form>
+</body>
+</html>

+ 17 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/collocation.aspx.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class collocation : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+            string uname = Session["username"].ToString();
+        }
+    }
+}

+ 33 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/collocation.aspx.designer.cs

@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class collocation {
+        
+        /// <summary>
+        /// form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+        
+        /// <summary>
+        /// Calendar1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Calendar Calendar1;
+    }
+}

+ 27 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/community-item.aspx

@@ -0,0 +1,27 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="community-item.aspx.cs" Inherits="Intelligent_wardrobe_H5.community_item" %>
+
+
+<body>
+<a href="#" class="list-item">
+            <div class="list-img">
+                <img src="img/搭配.png">
+            </div>
+            <div class="list-mes">
+                <h3 class="list-title">heihei</h3>
+                <div class="author">
+                    <div class="portrait fl"><img src="img/lb-1.jpg" width="100%" height="100%" /></div>
+                    <div class="name pt-2 fl ml-2">123</div>
+               </div>
+                <div class="list-mes-item">
+                    <div>
+                        <p class="list-content">衣服搭配好的分享和想说的话---衣服搭配好的分享和想说的话---衣服搭配好的分享和想说的话---衣服搭配好的分享和想说的话---</p>
+                    </div>
+                </div>
+                 <div class="fr mt-2">
+                    <i class="icon-like-outline fc-ff585f"></i><i class=" mr-2">15</i>
+                    <i class="icon-good fc-ff585f"></i><i class=" mr-2">15</i>
+                </div>
+            </div>
+        </a>
+<input type="hidden" data-dropload="pagecount" value="100">
+</body>

+ 17 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/community-item.aspx.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class community_item : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+
+        }
+    }
+}

+ 15 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/community-item.aspx.designer.cs

@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class community_item {
+    }
+}

+ 166 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/config.json

@@ -0,0 +1,166 @@
+{
+  "flexible": 1,
+  "less": [
+    "page/dialog",
+    "page/slider",
+    "page/progressbar",
+    "page/actionsheet",
+    "page/tab",
+    "page/scrolltab",
+    "page/keyboard",
+    "page/cityselect",
+    "page/spinner",
+    "page/button",
+    "page/cell",
+    "page/icons",
+    "page/grids",
+    "page/list",
+    "page/badge",
+    "page/navbar",
+    "page/tabbar"
+  ],
+  "vars": {
+    "@base-zindex": "1",
+    "@body-bg": "#F5F5F5",
+    "@body-padding-vertical": ".24rem",
+    "@body-padding-bottom": ".5rem",
+    "@line-color": "#D9D9D9",
+    "@line-high-color": "#B2B2B2",
+    "@max-width": "750px",
+    "@min-width": "320px",
+    "@btn-radius": "3px",
+    "@btn-fontsize": ".26rem",
+    "@btn-height": ".7rem",
+    "@btn-default-color": "#FFF",
+    "@btn-block-radius": "3px",
+    "@btn-block-fontsize": ".36rem",
+    "@btn-block-height": "1rem",
+    "@btn-block-margin-top": ".5rem",
+    "@btn-primary-bg": "#04BE02",
+    "@btn-danger-bg": "#EF4F4F",
+    "@btn-warning-bg": "#FFB400",
+    "@btn-disabled-bg": "#CCC",
+    "@btn-disabled-color": "#F0F0F0",
+    "@btn-hollow-bg": "#FFF",
+    "@btn-hollow-color": "#454545",
+    "@cell-title-fontsize": ".3rem",
+    "@cell-title-color": "#888",
+    "@cell-height": "1rem",
+    "@cell-left-color": "#333",
+    "@cell-left-fontsize": ".3rem",
+    "@cell-right-color": "#525252",
+    "@cell-right-fontsize": ".26rem",
+    "@cell-input-color": "#555",
+    "@cell-input-fontsize": ".3rem",
+    "@cell-icon-fontsize": ".42rem",
+    "@cell-select-color": "#A9A9A9",
+    "@cell-select-fontsize": "@cell-left-fontsize",
+    "@cell-arrow-color": "#C9C9C9",
+    "@cell-arrow-fontsize": ".34rem",
+    "@grids-fontsize": ".28rem",
+    "@grids-color": "#333",
+    "@grids-bg": "#FFF",
+    "@grids-padding-horizontal": ".32rem",
+    "@grids-line-color": "@line-color",
+    "@grids-line-high-color": "@line-high-color",
+    "@navbar-height": ".9rem",
+    "@navbar-bg": "rgba(255, 255, 255, .98)",
+    "@navbar-center-width": "50%",
+    "@navbar-center-fontsize": ".4rem",
+    "@navbar-center-color": "#5C5C5C",
+    "@navbar-item-fontsize": ".3rem",
+    "@navbar-item-color": "#5C5C5C",
+    "@navbar-icon-color": "@navbar-item-color",
+    "@navbar-icon-fontsize": ".36rem",
+    "@navbar-border-color": "#B2B2B2",
+    "@tabbar-bg": "rgba(255, 255, 255, .96)",
+    "@tabbar-border-color": "#B2B2B2",
+    "@tabbar-color": "#979797",
+    "@tabbar-color-active": "#09BB07",
+    "@tabbar-text-fontsize": ".24rem",
+    "@tabbar-icon-color": "@tabbar-color",
+    "@tabbar-icon-fontsize": ".54rem",
+    "@actionsheet-bg": "#EFEFF4",
+    "@actionsheet-item-height": "1rem",
+    "@actionsheet-item-bg": "#FFF",
+    "@actionsheet-item-fontsize": ".28rem",
+    "@actionsheet-item-color": "#555",
+    "@actionsheet-item-border-color": "@line-color",
+    "@actionsheet-action-height": "1rem",
+    "@actionsheet-action-bg": "@actionsheet-item-bg",
+    "@actionsheet-action-fontsize": "@actionsheet-item-fontsize",
+    "@actionsheet-action-color": "@actionsheet-item-color",
+    "@tab-bg": "#FFF",
+    "@tab-height": ".85rem",
+    "@tab-fontsize": ".28rem",
+    "@tab-color": "#585858",
+    "@tab-color-crt": "#FF5E53",
+    "@tab-break-color": "@line-color",
+    "@tab-bottom-border-color": "@line-high-color",
+    "@badge-default-bg": "#D0D0D0",
+    "@badge-default-color": "#333",
+    "@badge-primary-bg": "#04BE02",
+    "@badge-danger-bg": "#EF4F4F",
+    "@badge-warning-bg": "#FFB400",
+    "@badge-hollow-bg": "#F7F7F7",
+    "@badge-hollow-color": "#454545"
+  },
+  "js": [
+    "js/source/ydui.js",
+    "js/source/ydui.device.js",
+    "js/source/ydui.active.js",
+    "js/source/ydui.infinitescroll.js",
+    "js/source/ydui.pullrefresh.js",
+    "js/source/ydui.lazyload.js",
+    "js/source/ydui.keyboard.js",
+    "js/source/ydui.cityselect.js",
+    "js/source/ydui.spinner.js",
+    "js/source/ydui.slider.js",
+    "js/source/ydui.dialog.js",
+    "js/source/ydui.progressbar.js",
+    "js/source/ydui.actionsheet.js",
+    "js/source/ydui.util.js",
+    "js/source/ydui.tab.js",
+    "js/source/ydui.fastclick.js",
+    "js/source/ydui.scrolltab.js",
+    "js/source/ydui.sendcode.js",
+    "js/source/ydui.inview.js"
+  ],
+  "demo": {
+    "html": [
+      "html/dialog.html",
+      "html/slider.html",
+      "html/progressbar.html",
+      "html/actionsheet.html",
+      "html/tab.html",
+      "html/scrolltab.html",
+      "html/keyboard.html",
+      "html/cityselect.html",
+      "html/spinner.html",
+      "html/button.html",
+      "html/cell.html",
+      "html/icons.html",
+      "html/grids.html",
+      "html/list.html",
+      "html/badge.html",
+      "html/navbar.html",
+      "html/tabbar.html",
+      "index.html",
+      "html/sendcode.html",
+      "html/spinner.html",
+      "html/list.infinitescroll.html",
+      "html/list.backposition.html",
+      "html/list.pullrefresh.html",
+      "html/asidebar.html",
+      "html/tabs.html",
+      "html/list.theme1.html",
+      "html/list.theme2.html",
+      "html/list.theme3.html",
+      "html/list.theme4.html",
+      "html/list.theme5.html"
+    ],
+    "less": [
+      "less/demo.less"
+    ]
+  }
+}

+ 21 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/cs.aspx

@@ -0,0 +1,21 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cs.aspx.cs" Inherits="Intelligent_wardrobe_H5.cs" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head runat="server">
+    <title></title>
+</head>
+<body>
+    <form id="form1" runat="server">
+"<a href='#' class='list-item'><div class='list-img'><img src='" +
+                        imgAddress + "'></div><div class='list-mes'><h3 class='list-title'>"
+                        + title + "</h3><div class='author'><div class='portrait fl'><img src='" +
+                        userImgAddress + "'width='100%' height='100%' /></div><div class='name pt-2 fl ml-2'>" +
+                        userName + "</div></div><div class='list-mes-item'><div><p class='list-content'>" +
+                         content + "</p></div></div><div class='fr mt-2'><i class='icon-like-outline fc-ff585f'></i><i class=' mr-2'>" +
+                         like + "</i><i class='icon-good fc-ff585f'></i><i class=' mr-2'>" +
+                         fabulous + "</i></div></div></a>"
+    </form>
+</body>
+</html>

+ 17 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/cs.aspx.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class cs : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+
+        }
+    }
+}

+ 24 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/cs.aspx.designer.cs

@@ -0,0 +1,24 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class cs {
+        
+        /// <summary>
+        /// form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+    }
+}

+ 310 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/css/demo.css

@@ -0,0 +1,310 @@
+.demo-pagetitle {
+  font-size: .68rem;
+  color: #FF5E53;
+  text-align: center;
+  padding: .6rem 0 .4rem;
+}
+.demo-detail-title {
+  color: #888;
+  font-size: .28rem;
+  margin-bottom: .5rem;
+  font-weight: normal;
+  line-height: 0.42rem;
+  text-align: center;
+}
+.demo-loading {
+  margin-bottom: 20px;
+}
+.demo-loading li a {
+  -webkit-box-align: center;
+  -webkit-align-items: center;
+  -ms-flex-align: center;
+  align-items: center;
+  -webkit-box-pack: center;
+  -webkit-justify-content: center;
+  -ms-flex-pack: center;
+  justify-content: center;
+  display: -webkit-box;
+  display: -webkit-flex;
+  display: -ms-flexbox;
+  display: flex;
+  overflow: hidden;
+  width: 100%;
+  height: 100%;
+}
+.demo-loading li img {
+  width: .6rem;
+  height: .6rem;
+  display: inline-block;
+}
+.demo-tip {
+  color: #B1B1B1;
+  font-size: .24rem;
+  padding: .2rem .24rem .4rem;
+  line-height: 18px;
+  font-family: \5fae\8f6f\96c5\9ed1;
+  position: relative;
+}
+.demo-tip:after {
+  content: '';
+  position: absolute;
+  bottom: .2rem;
+  left: 0;
+  width: 100%;
+  border-bottom: 1px dashed #B2B2B2;
+  -webkit-transform: scaleY(0.5);
+  transform: scaleY(0.5);
+  -webkit-transform-origin: 0 100%;
+  transform-origin: 0 100%;
+}
+.demo-tip i {
+  margin-right: 3px;
+}
+.demo-tip a {
+  color: #5AA700;
+}
+.demo-upload {
+  overflow: hidden;
+}
+.demo-upload li {
+  width: 1rem;
+  height: 1rem;
+  float: left;
+  margin-right: 0.2rem;
+}
+.demo-upload li:last-child {
+  margin-right: 0;
+}
+.demo-upload-big {
+  width: 2rem;
+  height: 2rem;
+  margin-top: 0.4rem;
+}
+.demo-upload-rectangle {
+  width: 4rem;
+  height: 2rem;
+  margin-top: 0.4rem;
+}
+.demo-components {
+  background-color: #FFF;
+  padding: 10px;
+  margin-bottom: 10px;
+}
+.demo-upload {
+  overflow: hidden;
+}
+.demo-upload li {
+  float: left;
+}
+.demo-upload li img {
+  width: 1rem;
+  height: 1rem;
+  margin-right: .2rem;
+}
+.demo-pitch {
+  margin-top: .5rem;
+}
+.demo-small-pitch {
+  margin-top: .35rem;
+}
+.demo-progressbar {
+  display: -webkit-box;
+  display: -webkit-flex;
+  display: -ms-flexbox;
+  display: flex;
+  -webkit-justify-content: space-around;
+  -ms-flex-pack: distribute;
+  justify-content: space-around;
+  -webkit-box-align: center;
+  -webkit-align-items: center;
+  -ms-flex-align: center;
+  align-items: center;
+  padding: 0 .24rem;
+}
+.demo-spinner {
+  background-color: #FFF;
+  padding: .24rem;
+  font-size: 0;
+}
+.demo-spinner-title {
+  font-size: .26rem;
+  color: #888;
+  display: block;
+  margin-bottom: .1rem;
+}
+.demo-badege {
+  padding: 0 .24rem .5rem .24rem;
+  background-color: #FFF;
+}
+.demo-badege .demo-badege-title {
+  font-size: .26rem;
+  padding-top: .5rem;
+  padding-bottom: .15rem;
+  color: #777;
+  position: relative;
+}
+.demo-badege .demo-badege-title:after {
+  content: '';
+  position: absolute;
+  z-index: 2;
+  bottom: 0;
+  left: 0;
+  width: 100%;
+  height: 1px;
+  background-color: #D9D9D9;
+  border-bottom: 1px solid #D9D9D9;
+  -webkit-transform: scaleY(0.5);
+  transform: scaleY(0.5);
+  -webkit-transform-origin: 0 100%;
+  transform-origin: 0 100%;
+}
+.demo-badege .badge {
+  margin-right: .1rem;
+}
+.demo-icons [class^="icon-"]:before,
+.demo-icons [class*=" icon-"]:before {
+  font-size: .6rem;
+  color: #FF685D;
+}
+.demo-progress-line {
+  height: .15rem;
+  width: 100%;
+}
+.demo-progress-cricle {
+  width: 2rem;
+  height: 2rem;
+}
+.nav-center .nav-title {
+  font-family: \5fae\8f6f\96c5\9ed1;
+}
+@font-face {
+  font-family: 'demo-icons';
+  src: url('http://at.alicdn.com/t/font_1474965703_1820433.ttf') format('truetype');
+}
+[class^="demo-icons-"]:before,
+[class*=" demo-icons-"]:before {
+  font-family: 'demo-icons';
+  font-size: .5rem;
+}
+.demo-icons-weixin:before {
+  content: '\e60b';
+}
+.demo-icons-me:before {
+  content: '\e610';
+}
+.demo-icons-contact:before {
+  content: '\e60c';
+}
+.demo-icons-discover:before {
+  content: '\e611';
+}
+.demo-icons-phone:before {
+  content: '\e60e';
+}
+.demo-icons-tel:before {
+  content: '\e616';
+}
+.demo-icons-like:before {
+  content: '\e60d';
+}
+.demo-icons-order:before {
+  content: '\e60f';
+}
+.demo-icons-button:before {
+  content: '\e602';
+  color: #FF685E;
+}
+.demo-icons-sendcode:before {
+  content: '\e60a';
+  color: #8B78E2;
+}
+.demo-icons-dialog:before {
+  content: '\e603';
+  color: #3CC51E;
+}
+.demo-icons-keyboard:before {
+  content: '\e613';
+  color: #FC746C;
+}
+.demo-icons-cell:before {
+  content: '\e600';
+  color: #FC746C;
+}
+.demo-icons-tabs:before {
+  content: '\e607';
+  color: #FF8D20;
+}
+.demo-icons-list:before {
+  content: '\e605';
+  color: #FF8D20;
+}
+.demo-icons-actionsheet:before {
+  content: '\e601';
+  color: #3CCD1C;
+}
+.demo-icons-progressbar:before {
+  content: '\e612';
+  color: #FF8D20;
+}
+.demo-icons-icons:before {
+  content: '\e604';
+  color: #8B78E2;
+}
+.demo-icons-tabbar:before {
+  content: '\e606';
+  color: #3CC51E;
+}
+.demo-icons-badge:before {
+  content: '\e608';
+  color: #EF4F4F;
+}
+.demo-icons-grids:before {
+  content: '\e609';
+  color: #8B78E2;
+}
+.demo-icons-slider:before {
+  content: '\e614';
+  color: #8B78E2;
+}
+.demo-icons-spinner:before {
+  content: '\e615';
+  color: #FF8D20;
+}
+.demo-icons-cityselect:before {
+  content: '\e617';
+  color: #FF685E;
+}
+@font-face {
+  font-family: 'demo-category-icons';
+  src: url('http://at.alicdn.com/t/font_1477296366_4593668.ttf') format('truetype');
+}
+[class^="demo-icons-category"]:before,
+[class*=" demo-icons-category"]:before {
+  font-family: 'demo-category-icons';
+  font-size: .48rem;
+  color: #5B5D5C;
+}
+.demo-icons-category1:before {
+  content: '\E604';
+}
+.demo-icons-category2:before {
+  content: '\E602';
+}
+.demo-icons-category3:before {
+  content: '\E605';
+}
+.demo-icons-category4:before {
+  content: '\E603';
+}
+.demo-icons-category5:before {
+  content: '\E607';
+}
+.demo-icons-category6:before {
+  content: '\E600';
+}
+.demo-icons-category7:before {
+  content: '\E606';
+}
+.demo-icons-category8:before {
+  content: '\E601';
+}

ファイルの差分が大きいため隠しています
+ 3013 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/css/ydui.css


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/Add_clothes_bg.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/上衣.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/半身裙.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/外套.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/衣架.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/配饰.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/dapei/鞋子.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/上衣.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/下装.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/半身裙.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/外套.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/衣架.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/裙子.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/配饰.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/icons/鞋子.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/jrtj.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/lb-1.jpg


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/我的-粉.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/我的.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/搭配-粉.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/搭配.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/添加-粉.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/添加.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/衣架.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/衣橱-粉.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/衣橱.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/长袖1.jpg


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/长袖3.jpg


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/首页-粉.png


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/img/首页.png


ファイルの差分が大きいため隠しています
+ 9803 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/js/jquery-1.10.2.js


+ 38 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/js/ydui.flexible.js

@@ -0,0 +1,38 @@
+/**
+ * YDUI 可伸缩布局方案
+ * rem计算方式:设计图尺寸px / 100 = 实际rem  例: 100px = 1rem
+ */
+!function (window) {
+
+    /* 设计图文档宽度 */
+    var docWidth = 750;
+
+    var doc = window.document,
+        docEl = doc.documentElement,
+        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
+
+    var recalc = (function refreshRem () {
+        var clientWidth = docEl.getBoundingClientRect().width;
+
+        /* 8.55:小于320px不再缩小,11.2:大于420px不再放大 */
+        docEl.style.fontSize = Math.max(Math.min(20 * (clientWidth / docWidth), 11.2), 8.55) * 5 + 'px';
+
+        return refreshRem;
+    })();
+
+    /* 添加倍屏标识,安卓倍屏为1 */
+    docEl.setAttribute('data-dpr', window.navigator.appVersion.match(/iphone/gi) ? window.devicePixelRatio : 1);
+
+    if (/iP(hone|od|ad)/.test(window.navigator.userAgent)) {
+        /* 添加IOS标识 */
+        doc.documentElement.classList.add('ios');
+        /* IOS8以上给html添加hairline样式,以便特殊处理 */
+        if (parseInt(window.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/)[1], 10) >= 8)
+            doc.documentElement.classList.add('hairline');
+    }
+
+    if (!doc.addEventListener) return;
+    window.addEventListener(resizeEvt, recalc, false);
+    doc.addEventListener('DOMContentLoaded', recalc, false);
+
+}(window);

ファイルの差分が大きいため隠しています
+ 3953 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/js/ydui.js


+ 100 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/login.aspx

@@ -0,0 +1,100 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Intelligent_wardrobe_H5.login" %>
+<!DOCTYPE html>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head id="Head1" runat="server">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<title>登陆</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
+    <meta content="yes" name="apple-mobile-web-app-capable"/>
+    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
+    <meta content="telephone=no" name="format-detection"/>
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash"/>
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+    <style type="text/css">
+.login{background-color: #F5F5F5; height: 100%;  -moz-background-size:100% 100%;background-size:100% 100%;position:relative;}
+.login .login-div{width: 100%;height: auto;-moz-box-shadow: 0px 0px 50px #e4e4e4;box-shadow: 0px 0px 50px #ccc;}
+
+.login .login-btn{padding:0 0.8rem  0 0.8rem;}
+.btn-pink{background-color: rgba(255, 151, 171,1); font-size:0.35rem;/*padding: 0.04rem;*/color: #fff; font-family:"微软雅黑";letter-spacing:0.1rem;}
+</style>
+</head>
+
+<body>
+    <header class="m-navbar navbar-fixed">
+    <a href="javascript:history.go(-1);" class="navbar-item">
+        <i class="back-ico"></i>
+    </a>
+    <div class="navbar-center">
+        <span class="navbar-title">登陆</span>
+    </div>
+    <a href="#" class="navbar-item" id="top_classification">
+        <i class="icon-type"></i>
+    </a>
+</header>
+
+
+            
+ 
+ <form id="form1" runat="server">       
+    <div class="login g-view">
+    <div class="login-div mt-30">
+        <div class="m-cell">
+
+        <div class="cell-item">
+            <div class="cell-right"><asp:TextBox ID="txtUserName"  class="cell-input"  runat="server" placeholder="帐号"></asp:TextBox></div>
+        </div>
+        <div class="cell-item">
+                <div class="cell-right"><asp:TextBox ID="txtPwd"  class="cell-input" runat="server" placeholder="密码"></asp:TextBox></div>
+        </div>
+        
+        </div>
+    </div>
+        <div class="login-btn">
+            <asp:Button ID="btn_DL" class="btn-block-fillet btn-pink" runat="server"  OnClick="btn_DL_Click" Text="登录"/>
+        </div>
+
+        <div class="m-5 fc-00A2AC">
+            <asp:Label ID="Lab_for"  class="fl" runat="server" > <a href="Forget_pwd.aspx">修改密码</a></asp:Label>
+            <asp:Label ID="Lab_Regi"  class="fr" runat="server" > <a href="register.aspx">用户注册</a></asp:Label>
+        </div>
+    
+</div>
+ 
+ </form>
+
+    <footer class="m-tabbar tabbar-fixed">
+    <a href="wardrobe.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/首页.png"/>
+        </span>
+        <span class="tabbar-txt">首页</span>
+    </a>
+    <a href="classification.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/衣橱.png"/>
+        </span>
+        <span class="tabbar-txt">衣橱</span>
+    </a>
+    <a href="add_clothes.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/添加.png"/>
+        </span>
+        <span class="tabbar-txt">添加</span>
+    </a>
+    <a href="RILI.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/搭配.png"/>
+        </span>
+        <span class="tabbar-txt">搭配</span>
+    </a>
+    <a href="user-info.aspx" class="tabbar-item tabbar-active">
+        <span class="tabbar-icon">
+            <img src="img/我的-粉.png"/>
+        </span>
+        <span class="tabbar-txt">我的</span>
+    </a>
+</footer>
+</body>
+</html>

+ 56 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/login.aspx.cs

@@ -0,0 +1,56 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Data.SqlClient;
+using System.Web.SessionState;
+
+
+namespace Intelligent_wardrobe_H5
+{
+     
+    public partial class login : System.Web.UI.Page
+    {
+
+        protected void Page_Load(object sender, EventArgs e)
+        {
+
+        }
+        SqlClass Sql = new SqlClass();
+        protected void btn_DL_Click(object sender, EventArgs e)
+        {
+            Session["username"] = txtUserName.Text.Trim();
+            if (txtUserName.Text.Length == 0)
+            {
+                Response.Write("<script language=javascript >alert('用户名不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                txtUserName.Focus();
+                return;
+            }
+            if (txtPwd.Text.Length == 0)
+            {
+                Response.Write("<script language=javascript >alert('密码不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                txtUserName.Focus();
+                return;
+            }
+            Sql.getcon();
+            string L_sql = "SELECT * FROM Users WHERE Username ='" + txtUserName.Text.Trim() + "' AND password ='" + txtPwd.Text.Trim() + "'";
+            SqlDataReader dr = Sql.GetReader(L_sql);
+            if (dr.HasRows)
+            {
+
+                Response.Redirect("~/wardrobe.aspx?username=" + txtUserName.Text.Trim() + "");     
+            }
+            else
+            {
+                Response.Write("<script language=javascript >alert('登录失败,请重新登录!');window.navigate('../login.aspx');<");
+                Response.Write("/Script>");
+                txtUserName.Focus();
+                return;
+            }
+        }
+    }
+}

+ 78 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/login.aspx.designer.cs

@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class login {
+        
+        /// <summary>
+        /// Head1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
+        
+        /// <summary>
+        /// form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+        
+        /// <summary>
+        /// txtUserName 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox txtUserName;
+        
+        /// <summary>
+        /// txtPwd 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox txtPwd;
+        
+        /// <summary>
+        /// btn_DL 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button btn_DL;
+        
+        /// <summary>
+        /// Lab_for 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Lab_for;
+        
+        /// <summary>
+        /// Lab_Regi 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Lab_Regi;
+    }
+}

BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


+ 5 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.csproj.FileListAbsolute.txt

@@ -0,0 +1,5 @@
+E:\项目\Intelligent_wardrobe_H5\Intelligent_wardrobe_H5\bin\Intelligent_wardrobe_H5.dll
+E:\项目\Intelligent_wardrobe_H5\Intelligent_wardrobe_H5\bin\Intelligent_wardrobe_H5.pdb
+E:\项目\Intelligent_wardrobe_H5\Intelligent_wardrobe_H5\obj\Debug\Intelligent_wardrobe_H5.dll
+E:\项目\Intelligent_wardrobe_H5\Intelligent_wardrobe_H5\obj\Debug\Intelligent_wardrobe_H5.pdb
+E:\项目\Intelligent_wardrobe_H5\Intelligent_wardrobe_H5\obj\Debug\Intelligent_wardrobe_H5.csprojResolveAssemblyReference.cache

BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.csprojResolveAssemblyReference.cache


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.dll


BIN
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/obj/Debug/Intelligent_wardrobe_H5.pdb


+ 113 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/register.aspx

@@ -0,0 +1,113 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="Intelligent_wardrobe_H5.register" %>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>注册</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
+    <meta content="yes" name="apple-mobile-web-app-capable" />
+    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
+    <meta content="telephone=no" name="format-detection" />
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash" />
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+    <style type="text/css">
+    </style>
+</head>
+
+<body>
+    <header class="m-navbar navbar-fixed">
+        <a href="javascript:history.go(-1);" class="navbar-item">
+            <i class="back-ico"></i>
+        </a>
+        <div class="navbar-center">
+            <span class="navbar-title">注册</span>
+        </div>
+        <a href="#" class="navbar-item" id="top_classification">
+            <i class="icon-type"></i>
+        </a>
+    </header>
+    <div class="login g-view">
+
+        <div>
+            <div class="mt-10">
+                <form id="form1" runat="server">
+                    <div class="m-cell"> 
+                        <asp:Label ID="lab_regi" runat="server" Text="注册"></asp:Label>
+                    </div>
+                    <div class="m-cell">
+                        <div class="cell-right">
+                            <asp:Label ID="LabUsername" runat="server" Text="账号:"></asp:Label>
+                            <asp:TextBox ID="Username" class="cell-input" runat="server"></asp:TextBox>
+                        </div>
+                    </div>
+                    <div class="m-cell">
+                        <div class="cell-right">
+                            <asp:Label ID="Labelpassword"  runat="server" Text="密码:"></asp:Label>
+                            <asp:TextBox ID="password" class="cell-input" runat="server"></asp:TextBox>
+                        </div>
+                    </div>
+                    <div class="m-cell">
+                        <div class="cell-right">
+                            <asp:Label ID="Label4" runat="server" Text="确认密码:"></asp:Label>
+                            <asp:TextBox ID="Rpassword" class="cell-input" runat="server"></asp:TextBox>
+                        </div>
+                    </div>
+                    <div class="m-cell">
+                        <div class="cell-right">
+                            <asp:Label ID="Label7"  runat="server" Text="邮箱:"></asp:Label>
+                            <asp:TextBox ID="Email" class="cell-input" runat="server"></asp:TextBox>
+                            <asp:Button ID="btnyz" runat="server" Text="发送验证码" onclick="btnyz_Click" />
+                        </div>
+                    </div>
+                    <div class="m-cell">
+                        <div class="cell-right">
+                            <asp:Label ID="Label1"  runat="server" Text="验证码:"></asp:Label>
+                            <asp:TextBox ID="Textyanzheng" class="cell-input" runat="server"></asp:TextBox>
+                        </div>
+                        
+                    </div>
+                    <div class="login-btn">
+                        <asp:Button ID="btn_regi" class="btn-block-fillet btn-pink" style="background:rgba(255, 151, 171,1); font-size:0.35rem;color: #fff;" runat="server" Text="注册" OnClick="btn_regi_Click" />
+                    </div>
+            </div>
+        </form>
+           
+    </div>
+    </div>
+    <footer class="m-tabbar tabbar-fixed">
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/首页.png">
+            </span>
+            <span class="tabbar-txt">首页</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/衣橱.png">
+            </span>
+            <span class="tabbar-txt">衣橱</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/添加.png">
+            </span>
+            <span class="tabbar-txt">添加</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item">
+            <span class="tabbar-icon">
+                <img src="img/搭配.png">
+            </span>
+            <span class="tabbar-txt">搭配</span>
+        </a>
+        <a href="login.aspx" class="tabbar-item tabbar-active">
+            <span class="tabbar-icon">
+                <img src="img/我的-粉.png">
+            </span>
+            <span class="tabbar-txt">我的</span>
+        </a>
+    </footer>
+</body>
+</html>

+ 160 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/register.aspx.cs

@@ -0,0 +1,160 @@
+using System;
+using System.Text;
+using System.IO;
+using System.Net;
+using System.Security;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Net.Mail;
+
+namespace Intelligent_wardrobe_H5
+{
+    public partial class register : System.Web.UI.Page
+    {
+        protected void Page_Load(object sender, EventArgs e)
+        {
+
+        }
+        SqlClass sql = new SqlClass();
+
+        protected void btn_regi_Click(object sender, EventArgs e)
+        {
+            if (Username.Text.Length == 0)
+            {
+                Response.Write("<script language=javascript >alert('用户名不能为空!');<");
+                Response.Write("/Script>");
+                Username.Focus();
+                return;
+            }
+            if (password.Text.Length == 0)
+            {
+                Response.Write("<script language=javascript >alert('密码不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                password.Focus();
+                return;
+            }
+            if (Rpassword.Text.Length == 0)
+            {
+                Response.Write("<script language=javascript >alert('请确认密码!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                Rpassword.Focus();
+                return;
+            }
+            if (password.Text != Rpassword.Text)
+            {
+                Response.Write("<script language=javascript >alert('两次密码不同!');<");
+                Response.Write("/Script>");
+                //Labelpassword.Text = "两次密码不同!";
+                password.Text = "";
+                Rpassword.Text = "";
+                password.Focus();
+                return;
+            }
+            if (Rpassword.Text.Length == 0)
+            {
+                Response.Write("<script language=javascript >alert('邮箱不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                Rpassword.Focus();
+                return;
+            }
+            sql.getcon();
+            string L_sql = "SELECT * FROM Users WHERE Username ='" + Username.Text.Trim() + "'";
+            SqlDataReader dr = sql.GetReader(L_sql);
+            if (dr.HasRows)
+            {
+                Response.Write("<script language=javascript >alert('用户名已存在!');<");
+                Response.Write("/Script>");
+                //LabUsername.Text = "用户名已存在!";
+                Username.Focus();
+                //Username.Text = "";
+                password.Text = "";
+                Rpassword.Text = "";
+                Email.Text = "";
+                Username.Focus();
+
+                return;
+            }
+            else
+            {
+                if (Textyanzheng.Text.Trim() == ViewState["yanz"].ToString())
+            {
+                string R_sql = "insert into Users values ('" + Username.Text.Trim() + "','" + password.Text.Trim() + "','" + Email.Text.Trim() + "','','','','','','','普通用户','false','false')";
+                sql.getcom(R_sql);
+                sql.getcom("insert into Quantity values ('" + Username.Text.Trim() + "','0','0','0','0','0','0','0','0')");
+                Response.Redirect("~/login.aspx");
+                return;
+            }
+            else {
+                Response.Write("<script language=javascript >alert('验证码错误!');window.navigate('../login.aspx');<");
+                Response.Write("/Script>");
+                return;
+            }
+            }
+        }
+
+
+        protected void btnyz_Click(object sender, EventArgs e)
+        {
+            if (Username.Text.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('帐号不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                Username.Focus();
+                return;
+            }
+
+            if (Email.Text.Trim() == "")
+            {
+                Response.Write("<script language=javascript >alert('邮箱不能为空!');window.navigate('../login.asp');<");
+                Response.Write("/Script>");
+                Email.Focus();
+                return;
+            }
+            else
+            {
+                string email = this.Email.Text.Trim();
+                MailMessage message = new MailMessage();
+                message.From = new MailAddress("18064265827@163.com", "智能衣橱");//发件人地址
+                message.To.Add(email);//目标发件地址
+                message.Subject = "修改密码";//邮件标题
+                ViewState["yanz"] = GetVali().ToString();
+                message.Body = "验证码为:" + ViewState["yanz"];//邮件内容
+                //发送邮件的smtp服务器地址
+                SmtpClient smtp = new SmtpClient("smtp.163.com");
+                smtp.Credentials = new NetworkCredential("18064265827@163.com", "wp794785759");//发件人的用户名和密码
+                smtp.Send(message);
+
+            }
+
+        }
+        public string GetVali()
+        {
+            string strsvali = "0,1,2,3,4,5,6,7,8,9";       //定义一个字符串
+            string[] ValiArray = strsvali.Split(',');      //定义一个字符数组
+            string ReturnNum = "";                         //定义一个返回验证码的字符串
+            //记录随机数,避免产生同样的随机数
+            int nums = -1;
+            //确保产生随机数的不同
+            Random vrand = new Random();
+            for (int n = 1; n < 5; n++)
+            {
+                if (nums != -1)
+                {
+                    vrand = new Random(n * nums * unchecked((int)DateTime.Now.Ticks));
+                }
+                int t = vrand.Next(10);
+                nums = t;
+                ReturnNum += ValiArray[t];
+            }
+            Session["Valid"] = ReturnNum;
+            return ReturnNum;    //返回生成的随机数
+
+        }
+    }
+}

+ 141 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/register.aspx.designer.cs

@@ -0,0 +1,141 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+//     此代码由工具生成。
+//
+//     对此文件的更改可能会导致不正确的行为,并且如果
+//     重新生成代码,这些更改将会丢失。 
+// </自动生成>
+//------------------------------------------------------------------------------
+
+namespace Intelligent_wardrobe_H5 {
+    
+    
+    public partial class register {
+        
+        /// <summary>
+        /// form1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+        
+        /// <summary>
+        /// lab_regi 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label lab_regi;
+        
+        /// <summary>
+        /// LabUsername 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label LabUsername;
+        
+        /// <summary>
+        /// Username 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox Username;
+        
+        /// <summary>
+        /// Labelpassword 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Labelpassword;
+        
+        /// <summary>
+        /// password 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox password;
+        
+        /// <summary>
+        /// Label4 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label4;
+        
+        /// <summary>
+        /// Rpassword 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox Rpassword;
+        
+        /// <summary>
+        /// Label7 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label7;
+        
+        /// <summary>
+        /// Email 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox Email;
+        
+        /// <summary>
+        /// btnyz 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button btnyz;
+        
+        /// <summary>
+        /// Label1 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Label Label1;
+        
+        /// <summary>
+        /// Textyanzheng 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.TextBox Textyanzheng;
+        
+        /// <summary>
+        /// btn_regi 控件。
+        /// </summary>
+        /// <remarks>
+        /// 自动生成的字段。
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+        /// </remarks>
+        protected global::System.Web.UI.WebControls.Button btn_regi;
+    }
+}

+ 120 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/user-info.aspx

@@ -0,0 +1,120 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user-info.aspx.cs" Inherits="Intelligent_wardrobe_H5.user_info" %>
+
+
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="UTF-8">
+    <title>我的</title>
+    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
+    <meta content="yes" name="apple-mobile-web-app-capable"/>
+    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
+    <meta content="telephone=no" name="format-detection"/>
+    <link rel="stylesheet" href="css/ydui.css?rev=@@hash"/>
+    <script src="js/ydui.flexible.js"></script>
+    <script src="js/jquery-1.10.2.js"></script>
+</head>
+<body>
+<header class="m-navbar navbar-fixed">
+    <a href="javascript:history.go(-1);" class="navbar-item">
+        <i class="back-ico"></i>
+    </a>
+    <div class="navbar-center">
+        <span class="navbar-title">我的</span>
+    </div>
+    <a href="#" class="navbar-item" id="top_classification">
+        <i class="icon-type"></i>
+    </a>
+</header>
+
+<div class="g-view">
+    <div class="m-celltitle">个人信息</div>
+    <div class="m-cell">
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">账号:<i>123456789</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">昵称:<i>小仙女</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">性别:<i>女</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">年龄:<i>18</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+        <a class="cell-item" href="javascript:;">
+            <div class="cell-left">风格:<i>???</i></div>
+            <div class="cell-right"></div>
+        </a>
+    </div>
+    <a  href="login.aspx">
+        <button type="submit" class="btn-block btn-danger">修改信息</button>
+    </a>
+    <a  href="login.aspx">
+        <button type="submit" class="btn-block btn-danger">退出当前账号</button>
+    </a>
+</div>
+
+
+<footer class="m-tabbar tabbar-fixed">
+    <a href="wardrobe.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/首页.png">
+        </span>
+        <span class="tabbar-txt">首页</span>
+    </a>
+    <a href="classification.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/衣橱.png">
+        </span>
+        <span class="tabbar-txt">衣橱</span>
+    </a>
+    <a href="add_clothes.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/添加.png">
+        </span>
+        <span class="tabbar-txt">添加</span>
+    </a>
+    <a href="collocation.aspx" class="tabbar-item">
+        <span class="tabbar-icon">
+            <img src="img/搭配.png">
+        </span>
+        <span class="tabbar-txt">搭配</span>
+    </a>
+    <a href="" class="tabbar-item tabbar-active">
+        <span class="tabbar-icon">
+            <img src="img/我的-粉.png">
+        </span>
+        <span class="tabbar-txt">我的</span>
+    </a>
+</footer>
+</body>
+</html>

+ 0 - 0
PC端源代码/ZNYC/ZNYC/Intelligent_wardrobe_H5/Intelligent_wardrobe_H5/user-info.aspx.cs


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません