diff --git a/src/README.txt b/src/README.txt
new file mode 100644
index 0000000..3d3e8b5
--- /dev/null
+++ b/src/README.txt
@@ -0,0 +1,10 @@
+简介:
+项目于 2022 年 11月完成,我们创建了一个虚拟衣橱,您可以用它对衣服进行整理分类管理,对所拥有的衣服进行重新搭配推荐,还可以根据天气情况推荐出行搭配。
+## 安装
+若要运行此项目,需要在微信注册“百里挑衣”小程序。
+##创建背景
+随着现在购物软件的快速发展,大家会买很多衣服,有时可能会忘记自己有哪些衣服,导致同一款式的衣服会买很多件,很多衣服没有穿几次就过时了,所以可以做一款微信小程序来将大家的衣服进行整理分类,可借助于手机拍照、服装数据表、用户注册数据表、用户个人信息数据表和计算机软件,组成一个依托互联网的信息系统,构成系统的各个要素之间相互交互和协同,从而为用户提供更好的衣服管理、穿衣搭配解决方案。
+##功能介绍
+系统主要功能包括:录入用户个人身高体重维度信息,记录自己的身体特征;管理用户电子衣橱,通过拍照和填写服饰属性获取用户的服饰信息从而进行归类,实现用户衣橱数字化;用户可以随时查看自己衣橱中的服饰,可以自行删除服饰来更新衣橱;根据当前天气为用户推荐合适的服饰搭配,根据用户输入关键词推荐合适的服饰。
+##配置环境:
+微信小程序安卓版
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/img/fenxi.png b/src/miniprogram-1(1)/pages/img/fenxi.png
new file mode 100644
index 0000000..a5d53c1
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/fenxi.png differ
diff --git a/src/miniprogram-1(1)/pages/img/fri.png b/src/miniprogram-1(1)/pages/img/fri.png
new file mode 100644
index 0000000..f2f3fcd
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/fri.png differ
diff --git a/src/miniprogram-1(1)/pages/img/fun.png b/src/miniprogram-1(1)/pages/img/fun.png
new file mode 100644
index 0000000..14243ea
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/fun.png differ
diff --git a/src/miniprogram-1(1)/pages/img/kefu.png b/src/miniprogram-1(1)/pages/img/kefu.png
new file mode 100644
index 0000000..76e965e
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/kefu.png differ
diff --git a/src/miniprogram-1(1)/pages/img/person.png b/src/miniprogram-1(1)/pages/img/person.png
new file mode 100644
index 0000000..f875ea6
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/person.png differ
diff --git a/src/miniprogram-1(1)/pages/img/safe.png b/src/miniprogram-1(1)/pages/img/safe.png
new file mode 100644
index 0000000..a117541
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/safe.png differ
diff --git a/src/miniprogram-1(1)/pages/img/shishang.png b/src/miniprogram-1(1)/pages/img/shishang.png
new file mode 100644
index 0000000..28f1c8d
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/shishang.png differ
diff --git a/src/miniprogram-1(1)/pages/img/shou.png b/src/miniprogram-1(1)/pages/img/shou.png
new file mode 100644
index 0000000..03730cc
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/shou.png differ
diff --git a/src/miniprogram-1(1)/pages/img/yijian.png b/src/miniprogram-1(1)/pages/img/yijian.png
new file mode 100644
index 0000000..bf1087b
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/yijian.png differ
diff --git a/src/miniprogram-1(1)/pages/img/密码.jpg b/src/miniprogram-1(1)/pages/img/密码.jpg
new file mode 100644
index 0000000..d2398c3
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/密码.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/我的.png b/src/miniprogram-1(1)/pages/img/我的.png
new file mode 100644
index 0000000..c984a8a
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/我的.png differ
diff --git a/src/miniprogram-1(1)/pages/img/手机.jpg b/src/miniprogram-1(1)/pages/img/手机.jpg
new file mode 100644
index 0000000..bc7ce20
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/手机.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/登陆.jpg b/src/miniprogram-1(1)/pages/img/登陆.jpg
new file mode 100644
index 0000000..9358046
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/登陆.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/背景.png b/src/miniprogram-1(1)/pages/img/背景.png
new file mode 100644
index 0000000..48f2e6a
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/背景.png differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat1.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat1.jpg
new file mode 100644
index 0000000..e7881a2
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat1.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat10.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat10.jpg
new file mode 100644
index 0000000..4f36829
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat10.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat2.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat2.jpg
new file mode 100644
index 0000000..154e0d6
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat2.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat3.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat3.jpg
new file mode 100644
index 0000000..f64001d
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat3.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat4.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat4.jpg
new file mode 100644
index 0000000..ff23ed4
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat4.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat5.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat5.jpg
new file mode 100644
index 0000000..1895483
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat5.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat6.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat6.jpg
new file mode 100644
index 0000000..367fe1a
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat6.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat7.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat7.jpg
new file mode 100644
index 0000000..9217310
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat7.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat8.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat8.jpg
new file mode 100644
index 0000000..a1aab53
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat8.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/coat9.jpg b/src/miniprogram-1(1)/pages/img/衣服/coat9.jpg
new file mode 100644
index 0000000..2b7ac52
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/coat9.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie1.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie1.jpg
new file mode 100644
index 0000000..b2459c1
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie1.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie10.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie10.jpg
new file mode 100644
index 0000000..ef83084
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie10.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie2.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie2.jpg
new file mode 100644
index 0000000..e567fa8
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie2.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie3.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie3.jpg
new file mode 100644
index 0000000..3cfd760
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie3.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie4.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie4.jpg
new file mode 100644
index 0000000..80e203a
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie4.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie5.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie5.jpg
new file mode 100644
index 0000000..25bfb82
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie5.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie6.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie6.jpg
new file mode 100644
index 0000000..17fda0f
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie6.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie7.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie7.jpg
new file mode 100644
index 0000000..b8e1f2e
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie7.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie8.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie8.jpg
new file mode 100644
index 0000000..9277003
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie8.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/hoodie9.jpg b/src/miniprogram-1(1)/pages/img/衣服/hoodie9.jpg
new file mode 100644
index 0000000..2d24bd1
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/hoodie9.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants1.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants1.jpg
new file mode 100644
index 0000000..8053d68
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants1.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants10.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants10.jpg
new file mode 100644
index 0000000..4eec756
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants10.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants2.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants2.jpg
new file mode 100644
index 0000000..f3fc522
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants2.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants3.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants3.jpg
new file mode 100644
index 0000000..d78bbf7
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants3.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants4.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants4.jpg
new file mode 100644
index 0000000..43fdcac
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants4.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants5.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants5.jpg
new file mode 100644
index 0000000..14bd9d8
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants5.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants6.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants6.jpg
new file mode 100644
index 0000000..588b2e6
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants6.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants7.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants7.jpg
new file mode 100644
index 0000000..2844d17
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants7.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants8.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants8.jpg
new file mode 100644
index 0000000..fd138b5
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants8.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/pants9.jpg b/src/miniprogram-1(1)/pages/img/衣服/pants9.jpg
new file mode 100644
index 0000000..84cfa7c
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/pants9.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt1.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt1.jpg
new file mode 100644
index 0000000..f380f32
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt1.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt10.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt10.jpg
new file mode 100644
index 0000000..abf2fee
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt10.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt2.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt2.jpg
new file mode 100644
index 0000000..960a745
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt2.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt3.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt3.jpg
new file mode 100644
index 0000000..dcc7320
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt3.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt4.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt4.jpg
new file mode 100644
index 0000000..39789b0
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt4.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt5.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt5.jpg
new file mode 100644
index 0000000..12a9a32
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt5.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt6.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt6.jpg
new file mode 100644
index 0000000..b4434d8
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt6.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt7.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt7.jpg
new file mode 100644
index 0000000..d6e3f63
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt7.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt8.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt8.jpg
new file mode 100644
index 0000000..6dfea14
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt8.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/skirt9.jpg b/src/miniprogram-1(1)/pages/img/衣服/skirt9.jpg
new file mode 100644
index 0000000..3778390
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/skirt9.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater1.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater1.jpg
new file mode 100644
index 0000000..c313645
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater1.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater10.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater10.jpg
new file mode 100644
index 0000000..8005a14
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater10.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater2.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater2.jpg
new file mode 100644
index 0000000..96758b0
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater2.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater3.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater3.jpg
new file mode 100644
index 0000000..f9783dd
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater3.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater4.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater4.jpg
new file mode 100644
index 0000000..451cc6b
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater4.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater5.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater5.jpg
new file mode 100644
index 0000000..67fa097
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater5.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater6.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater6.jpg
new file mode 100644
index 0000000..8b1ee10
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater6.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater7.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater7.jpg
new file mode 100644
index 0000000..367ceff
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater7.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater8.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater8.jpg
new file mode 100644
index 0000000..2c58762
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater8.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/sweater9.jpg b/src/miniprogram-1(1)/pages/img/衣服/sweater9.jpg
new file mode 100644
index 0000000..a933d82
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/sweater9.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt1.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt1.jpg
new file mode 100644
index 0000000..620e451
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt1.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt10.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt10.jpg
new file mode 100644
index 0000000..fd914d9
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt10.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt2.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt2.jpg
new file mode 100644
index 0000000..c1f56ae
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt2.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt3.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt3.jpg
new file mode 100644
index 0000000..6bf0906
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt3.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt4.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt4.jpg
new file mode 100644
index 0000000..f01f1a4
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt4.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt5.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt5.jpg
new file mode 100644
index 0000000..b86203a
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt5.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt6.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt6.jpg
new file mode 100644
index 0000000..6c1b7b4
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt6.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt7.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt7.jpg
new file mode 100644
index 0000000..fe03755
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt7.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt8.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt8.jpg
new file mode 100644
index 0000000..02d19a1
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt8.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/衣服/t-shirt9.jpg b/src/miniprogram-1(1)/pages/img/衣服/t-shirt9.jpg
new file mode 100644
index 0000000..fb47e9b
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/衣服/t-shirt9.jpg differ
diff --git a/src/miniprogram-1(1)/pages/img/设置.png b/src/miniprogram-1(1)/pages/img/设置.png
new file mode 100644
index 0000000..f24fd7c
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/设置.png differ
diff --git a/src/miniprogram-1(1)/pages/img/首页.png b/src/miniprogram-1(1)/pages/img/首页.png
new file mode 100644
index 0000000..8bc2c24
Binary files /dev/null and b/src/miniprogram-1(1)/pages/img/首页.png differ
diff --git a/src/miniprogram-1(1)/pages/index/index.js b/src/miniprogram-1(1)/pages/index/index.js
new file mode 100644
index 0000000..241a6ff
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/index/index.js
@@ -0,0 +1,328 @@
+// pages/index/index.js
+Page({
+ data: {
+ ip:'82.157.11.188' ,
+ port:8080,
+ password:'',
+ islogin:1,
+ inputipone:'',//登录注册时时输入的手机号
+ compassiphone:'',//找回密码时输入的手机号
+ loginbtnstate:true,
+ strloginUser:'',//登录用户名
+ strloginpassword:'',//用户密码
+ switchChecked:'',//选中按钮
+ },
+ onLoad() {
+ var _this = this;
+ _this.setData({
+ strloginUser: wx.getStorageSync("iphone"),
+ strloginpassword: wx.getStorageSync("password"),
+ switchChecked:wx.getStorageSync('checkedValue'),
+ loginbtnstate:wx.getStorageSync('wxlogin'),
+ })
+ console.log(_this.data.strloginUser+_this.data.strloginpassword+_this.data.switchChecked)
+ },
+ //判断是否要记住密码
+ bindswitchchange: function (event) {
+ //得到值
+ var checkedValue = event.detail.value;
+ console.log("开关状态"+checkedValue);
+ var _this = this;
+ if (checkedValue == true){
+ _this.setData({
+ switchChecked:true,
+ })
+ // wx.setStorageSync("iphone",_this.data.strloginUser);
+ // wx.setStorageSync("password",_this.data.strloginpassword);
+ //wx.setStorageSync("checkedValue", _this.data.switchChecked);
+
+ console.log(checkedValue);
+ } else if (checkedValue == false) {
+ _this.setData({
+ switchChecked: false
+ })
+ // wx.setStorageSync("iphone","");
+ // wx.setStorageSync("password","");
+ }
+ },
+ //输入密码(登录界面判断有无)
+ password1:function(event){
+ var that = this
+ var m=event.detail.value
+ console.log(event.detail.value)
+
+ if(m!=''){
+ this.setData({
+ strloginpassword:m
+ })
+ if(this.data.strloginUser!=''&&(this.data.strloginUser.length==11))
+ {
+ this.setData({
+ loginbtnstate:false
+ })
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ })
+
+ }
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ password:''
+ })
+ }
+ },
+ //输入手机号(登录界面判断有无)
+ inputiphone1:function(event){
+ console.log(event.detail.value)
+ var m=event.detail.value
+
+ if(m!=''&&(m.length==11)){
+ this.setData({
+ strloginUser:m
+ })
+ if(this.data.strloginpassword!='')
+ {
+ this.setData({
+ loginbtnstate:false
+ })
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ })
+
+ }
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ })
+ }
+ },
+ //输入密码(注册界面判断有无)
+ password2:function(event){
+ console.log(event.detail.value)
+ var m=event.detail.value
+ if(m!=''){
+ this.setData({
+ password:m
+ })
+ if(this.data.inputipone!=''&&(this.data.inputipone.length==11))
+ {
+ this.setData({
+ loginbtnstate:false
+ })
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ })
+
+ }
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ password:''
+ })
+ }
+ },
+ //输入手机号(注册界面判断有无)
+ inputiphone2:function(event){
+ console.log(event.detail.value)
+ var m=event.detail.value
+ if(m!=''&&(m.length==11)){
+ this.setData({
+ inputipone:m
+ })
+ if(this.data.password!='')
+ {
+ this.setData({
+ loginbtnstate:false
+ })
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ })
+
+ }
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ inputipone:''
+ })
+ }
+ },
+ //找回密码输入框
+ compass:function(event){
+ console.log("找回密码"+event.detail.value)
+ var m=event.detail.value
+ if(m!=''&&(m.length==11)){
+ this.setData({
+ compassiphone:m,
+ loginbtnstate:false
+ })
+ }
+ else{
+ this.setData({
+ loginbtnstate:true,
+ inputipone:''
+ })
+ }
+ },
+ //登录
+ onlogin:function(e){
+ var that=this
+ //记住密码
+ var checkedValue = that.data.switchChecked;
+ console.log(checkedValue);
+ //如果记住密码则向微信缓存写入账号密码
+ //如果不记住密码则清空微信缓存存在的账号密码
+ if (checkedValue == true) {
+ wx.setStorageSync("iphone",that.data.strloginUser);
+ wx.setStorageSync("password",that.data.strloginpassword);
+ wx.setStorageSync("checkedValue", that.data.switchChecked);
+ wx.setStorageSync("wxlogin", false);
+ console.log(that.data.loginbtnstate)
+ } else if (checkedValue == false) {
+ wx.setStorageSync("iphone","");
+ wx.setStorageSync("password","");
+ wx.setStorageSync("checkedValue", false);
+ wx.setStorageSync("wxlogin", true);
+ }
+ //开始检查用户名和密码是否一致
+ var userinfos=wx.getStorageSync('userjobs') ||[];//找数组
+ if(userinfos.iphone==that.data.strloginUser){
+ if(userinfos.password==that.data.strloginpassword)
+ {
+
+ wx.showToast({
+ title: '登录成功',
+ duration:2000,
+ }),
+ wx.switchTab({
+ url: '../navigation/index/index'
+ })
+
+ }
+ else{
+ wx.showToast({
+ title: '密码错误',
+ duration:2000
+ })
+ }
+ }
+ else{
+ wx.showToast({
+ title: '用户名不存在',
+ duration:2000
+ })
+ }
+ },
+ //注册
+ formsubmit:function(e){
+ var that=this
+ console.log(e.detail.value)
+ var obj={}
+ obj.password=e.detail.value.inputpassword,
+ obj.iphone=e.detail.value.iphone,
+ console.log(obj)
+ //存入多个注册用户
+
+ //初始化云
+ wx.cloud.init({
+ env:'cloud1-5ggzbo3kcd4ea4e2'
+ });
+ //初始化数据库
+ const db=wx.cloud.database();
+ db.collection('user').add({
+ data: {
+ iphone:obj.iphone,
+ password:obj.password,
+
+ },
+ sucess:function(res){
+ console.log("添加成功",res);
+ },
+ fail:function(res){
+ console.log(res.errMsg,"添加失败")
+ }
+ })
+ //var arr=wx.getStorageSync('userjobs') ||[];
+ //arr.push(obj);
+ wx.setStorageSync('userjobs', obj);
+ wx.showToast({
+ title: '注册成功',
+ duration:1000,
+ success:function(){
+ that.setData({
+ islogin:1
+ })
+ }
+ })
+ },
+ //找回密码
+ comebackpassword:function(e){
+ var that =this
+ let wsy=wx.getStorageSync('userjobs') || [];//找数组
+ console.log("输入的手机号"+that.data.compassiphone)
+ console.log("本地缓存的手机号"+wsy.iphone)
+ if(wsy.iphone==that.data.compassiphone)
+ {
+ wx.setClipboardData({
+ data: wsy.password,
+ success (res) {
+ wx.getClipboardData({
+ success (res) {
+ console.log(res.data) // data
+ that.setData({
+ islogin:1
+ })
+ wx.showToast({
+ title: '密码已复制',
+ duration:2000
+ })
+ }
+ })
+ }
+ })
+ }
+ else
+ {
+ wx.showToast({
+ title: '该手机号码未注册',
+ duration:2000
+ })
+ }
+ },
+ //转到注册
+ register:function(event){
+ var that = this
+ that.setData({
+ islogin:3
+ })
+ },
+ //转到登录
+ denglu:function(event){
+ var that = this
+ that.setData({
+ islogin:1
+ })
+ },
+ //转到忘记密码
+ forget:function(event){
+ this.setData({
+ islogin:2
+ })
+ }
+
+
+})
+
+
diff --git a/src/miniprogram-1(1)/pages/index/index.json b/src/miniprogram-1(1)/pages/index/index.json
new file mode 100644
index 0000000..93d84fa
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/index/index.json
@@ -0,0 +1,5 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText":""
+
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.json b/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.wxml b/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.wxml
new file mode 100644
index 0000000..6e84ce9
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.wxml
@@ -0,0 +1,14 @@
+
+
+>
+
+
+预览>
+
+
+
+
+
+
+
+
diff --git a/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.wxss b/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.wxss
new file mode 100644
index 0000000..939d397
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/add/camera/camera.wxss
@@ -0,0 +1 @@
+/* pages/navigation/index/add/camera/camera.wxss */
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/index.js b/src/miniprogram-1(1)/pages/navigation/index/index.js
new file mode 100644
index 0000000..4f88b97
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/index.js
@@ -0,0 +1,166 @@
+// pages/navigation/index/index.js
+import Toast from './@vant/weapp/toast/toast';
+let app=getApp();
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ active: 0,
+
+ show_clothes:[],//显示衣服
+
+
+
+ },
+
+
+
+
+ //增加服饰
+ add()
+ {
+ console.log("增加服饰")
+ wx.navigateTo({
+ url: './add/camera/camera',
+ })
+ },
+
+ //删除服饰
+ delete()
+ {
+ console.log("删除服饰")
+ wx.navigateTo({
+ url: './delete/delete',
+ })
+ },
+tabbar_change(event) {
+ // event.detail 的值为当前选中项的索引
+
+
+ console.log("跳转",event.detail);
+
+ this.setData({ active: event.detail });
+
+
+
+
+
+ },
+
+//添加的
+ on_clear()
+ {
+ this.setData({ show_recommend:[],show_match_clothes:[]});
+ },
+
+ // 搜索
+ onChange(event) {
+ // event.detail 为当前输入的值
+ console.log(event.detail);
+
+ let s=26-event.detail,t=0;
+ let a=event.detail,r=0;
+ console.log("温度",s);
+ this.data.show_clothes=[];
+ for(let n in app.globalData.clothes)
+ {
+ if(app.globalData.clothes[n].T==s)
+ {
+
+ this.data.show_clothes[t]=app.globalData.clothes[n];
+ this.data.show_clothes[t].img="/pages/img/衣服/"+app.globalData.clothes[n].name+".jpg";
+ t++;
+
+ }
+ else if(app.globalData.clothes[n].kind==a||app.globalData.clothes[n].pattern==a||app.globalData.clothes[n].style==a||app.globalData.clothes[n].colour==a||app.globalData.clothes[n].thickness==a||app.globalData.clothes[n].season==a)
+ {
+ this.data.show_clothes[r]=app.globalData.clothes[n];
+ this.data.show_clothes[r].img="/pages/img/衣服/"+app.globalData.clothes[n].name+".jpg";
+ r++;
+ }
+
+ }
+ console.log("衣服",this.data.show_clothes);
+ let g_this=this;
+ if(this.data.show_clothes.length>0)
+ {
+ console.log("可以跳转")
+ wx.navigateTo({
+ url: './show_clothes/show_clothes',
+ events: {
+ // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据
+ acceptDataFromOpenedPage: function(data) {
+ console.log(data)
+ },
+ someEvent: function(data) {
+ console.log(data)
+ }
+
+ },
+ success: function(res) {
+ // 通过 eventChannel 向被打开页面传送数据
+ res.eventChannel.emit('show_clothes', { data: g_this.data.show_clothes })
+ }
+ })
+ }
+
+},
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/index.json b/src/miniprogram-1(1)/pages/navigation/index/index.json
new file mode 100644
index 0000000..bab9e34
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/index.json
@@ -0,0 +1,4 @@
+{
+ "usingComponents": {},
+ "navigationBarTitleText":""
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/index.wxml b/src/miniprogram-1(1)/pages/navigation/index/index.wxml
new file mode 100644
index 0000000..8391d2f
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/index.wxml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 增加服饰
+ 删除服饰
+
+
+
+
diff --git a/src/miniprogram-1(1)/pages/navigation/index/index.wxss b/src/miniprogram-1(1)/pages/navigation/index/index.wxss
new file mode 100644
index 0000000..a88c7ef
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/index.wxss
@@ -0,0 +1,20 @@
+/* pages/navigation/index/index.wxss */
+page{
+ background-color:#d7e9db;
+}
+.beijing2{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ z-index: -999;
+}
+.tuijian{
+ width:700rpx;
+ height:450rpx;
+ padding-left: 30rpx;
+ padding-top: 90rpx;
+}
+.aaa{
+ padding-top: 80rpx;
+}
+
diff --git a/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.js b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.js
new file mode 100644
index 0000000..e70e768
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.js
@@ -0,0 +1,259 @@
+// pages/navigation/index/recommand/recommand.js
+import Toast from './@vant/weapp/toast/toast';
+let app=getApp();
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ active: 0,
+
+ show_clothes:[],//显示衣服
+ show_recommend:[],//显示推荐
+ show_match_clothes:[],//显示搭配
+ recommend:{
+ //-10-5℃
+ a:{
+ recommend:['coat9','pants4'],//推荐
+ match_clothes:[]//搭配
+ },
+ //5-15℃
+ b:{
+ recommend:['hoodie3','pants5'],//推荐
+ match_clothes:['sweater8','pants7']//搭配
+ },
+ //5-15℃
+ c:{
+ recommend:['hoodie1','pants1'],//推荐
+ match_clothes:[]//搭配
+ },
+ //25-40℃
+ d:{
+ recommend:['skirt10'],//推荐
+ match_clothes:['t-shirt2','pants10']//搭配
+ }
+
+
+ },
+ },
+ on_clear()
+ {
+ this.setData({ show_recommend:[],show_match_clothes:[]});
+ },
+
+
+
+
+ onChange(event) {
+ // event.detail 为当前输入的值
+
+
+ let s=26-event.detail,t=0;
+ console.log("温度",s,event.detail.length);
+
+ if(event.detail==' '||event.detail.length==0)
+ {
+ event.detail="无"
+
+ }
+ this.setData({ show_recommend:[],show_match_clothes:[]});
+ if(event.detail<5&&event.detail>-10)
+ {
+ for(let n in this.data.recommend.a)
+ {
+
+ if(n=='recommend')
+ {
+ //推荐
+ for(let i in this.data.recommend.a[n])
+ {
+ this.data.show_recommend.push("/pages/img/衣服/"+this.data.recommend.a[n][i]+".jpg")
+ }
+ }else{
+ //搭配
+ for(let i in this.data.recommend.a[n])
+ {
+ this.data.show_match_clothes.push("/pages/img/衣服/"+this.data.recommend.a[n][i]+".jpg")
+ }
+ }
+ }
+
+ console.log("数据a")
+ this.setData({ show_recommend:this.data.show_recommend,show_match_clothes:this.data.show_match_clothes});
+ return 0;
+ }else if(event.detail<15&&event.detail>5)
+ {
+ console.log("数据b")
+ for(let n in this.data.recommend.b)
+ {
+
+ if(n=='recommend')
+ {
+ //推荐
+ for(let i in this.data.recommend.b[n])
+ {
+ this.data.show_recommend.push("/pages/img/衣服/"+this.data.recommend.b[n][i]+".jpg")
+ }
+ }else{
+ //搭配
+ for(let i in this.data.recommend.b[n])
+ {
+ this.data.show_match_clothes.push("/pages/img/衣服/"+this.data.recommend.b[n][i]+".jpg")
+ }
+ }
+ }
+
+
+ this.setData({ show_recommend:this.data.show_recommend,show_match_clothes:this.data.show_match_clothes});
+ return 0;
+ }else if(event.detail<25&&event.detail>15)
+ {
+ console.log("数据c")
+ for(let n in this.data.recommend.c)
+ {
+
+ if(n=='recommend')
+ {
+ //推荐
+ for(let i in this.data.recommend.c[n])
+ {
+ this.data.show_recommend.push("/pages/img/衣服/"+this.data.recommend.c[n][i]+".jpg")
+ }
+ }else{
+ //搭配
+ for(let i in this.data.recommend.c[n])
+ {
+ this.data.show_match_clothes.push("/pages/img/衣服/"+this.data.recommend.c[n][i]+".jpg")
+ }
+ }
+ }
+
+
+ this.setData({ show_recommend:this.data.show_recommend,show_match_clothes:this.data.show_match_clothes});
+ return 0;
+ }else if(event.detail<40&&event.detail>25)
+ {
+
+ for(let n in this.data.recommend.d)
+ {
+
+ if(n=='recommend')
+ {
+
+ //推荐
+ for(let i in this.data.recommend.d[n])
+ {
+
+ this.data.show_recommend.push("/pages/img/衣服/"+this.data.recommend.d[n][i]+".jpg")
+ }
+ }else{
+ //搭配
+ for(let i in this.data.recommend.d[n])
+ {
+ this.data.show_match_clothes.push("/pages/img/衣服/"+this.data.recommend.d[n][i]+".jpg")
+ }
+ }
+ }
+
+
+ this.setData({ show_recommend:this.data.show_recommend,show_match_clothes:this.data.show_match_clothes});
+ console.log("数据1111",this.data.show_recommend,this.data.show_match_clothes)
+ return 0;
+ }
+
+
+
+
+ this.data.show_clothes=[];
+ for(let n in app.globalData.clothes)
+ {
+ if(app.globalData.clothes[n].t==s)
+ {
+
+ this.data.show_clothes[t]=app.globalData.clothes[n];
+ this.data.show_clothes[t].img="/pages/img/衣服/"+app.globalData.clothes[n].name+".jpg";
+ t++;
+
+ }
+ }
+ console.log("衣服",this.data.show_clothes);
+ let g_this=this;
+ if(this.data.show_clothes.length>0)
+ {
+ console.log("可以跳转")
+ wx.navigateTo({
+ url: './show_clothes/show_clothes',
+ events: {
+ // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据
+ acceptDataFromOpenedPage: function(data) {
+ console.log(data)
+ },
+ someEvent: function(data) {
+ console.log(data)
+ }
+
+ },
+ success: function(res) {
+ // 通过 eventChannel 向被打开页面传送数据
+ res.eventChannel.emit('show_clothes', { data: g_this.data.show_clothes })
+ }
+ })
+ }
+ },
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.json b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.wxml b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.wxml
new file mode 100644
index 0000000..e8e5277
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.wxml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 推 荐
+
+
+
+ 搭 配
+
+
+
+
+
+
+
diff --git a/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.wxss b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.wxss
new file mode 100644
index 0000000..13dcc87
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/index/recommand/recommand.wxss
@@ -0,0 +1,7 @@
+/* pages/navigation/index/recommand/recommand.wxss */
+.beijing2{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ z-index: -999;
+}
diff --git a/src/miniprogram-1(1)/pages/navigation/self/self.js b/src/miniprogram-1(1)/pages/navigation/self/self.js
new file mode 100644
index 0000000..e764222
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/self/self.js
@@ -0,0 +1,82 @@
+// pages/navigation/self/self.js
+
+
+ /**
+ * 页面的初始数据
+ */
+ var app = getApp();
+Page({
+ data: {
+ },
+ joinVip: function () {
+ wx.navigateTo({
+ url: '../../navigation/index/index',
+ })
+ },
+ exitlogin:function(){
+
+
+
+ wx.redirectTo({
+ url: '../../index/index',
+ })
+ },
+
+
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/self/self.json b/src/miniprogram-1(1)/pages/navigation/self/self.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/self/self.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/self/self.wxml b/src/miniprogram-1(1)/pages/navigation/self/self.wxml
new file mode 100644
index 0000000..fcdac11
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/self/self.wxml
@@ -0,0 +1,38 @@
+
+
+
+
diff --git a/src/miniprogram-1(1)/pages/navigation/self/self.wxss b/src/miniprogram-1(1)/pages/navigation/self/self.wxss
new file mode 100644
index 0000000..eab22ef
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/self/self.wxss
@@ -0,0 +1,98 @@
+/* pages/navigation/self/self.wxss */
+page {
+ padding-bottom: 50rpx;
+ background: -webkit-linear-gradient(top, #143307 0%,#CCCCCC 100%);
+ background: -o-linear-gradient(top, #256d17 0%,#CCCCCC 100%);
+ background: -ms-linear-gradient(top, #074414 0%,#beb7b7 100%);
+ background: linear-gradient(to bottom, #58b142 0%,#abce97 100%);
+}
+.beijing1{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ z-index: -999;
+}
+.header {
+ padding: 0 25rpx;
+ padding-top: 40rpx;
+ padding-bottom: 50rpx;
+ width: 100%;
+}
+
+.iimg{
+ width: 45rpx;
+ height: 45rpx;
+ margin-right: 10rpx;
+ top: 10rpx;
+ position: relative;
+}
+
+.user_box {
+ display: flex;
+ align-items: center;
+ width: 94%;
+ height: 115px;
+ background: rgba(255,255,255,0.7);
+}
+
+
+.logo {
+ margin-left: 20px;
+ margin-right: 20px;
+ width: 150rpx;
+ height: 150rpx;
+ border-radius: 50%;
+ background: #fff;
+}
+
+.logo image {
+ width: 100%;
+ height: 100%;
+ border-radius: 100%;
+ will-change: transform;
+}
+
+.user_name {
+ display: flex;
+ align-items: center;
+ font-size: 36rpx;
+ font-weight: bold;
+ color: #fff;
+}
+
+.user_name image {
+ margin-left: 16rpx;
+ width: 84rpx;
+ height: 31rpx;
+}
+
+.headname{
+ margin-left: 5px;
+ font-size: 20px;
+}
+
+.nav {
+ margin-top: 50px;
+ font-size: 34rpx;
+ background: rgba(255,255,255,0.7);
+ width: 94%;
+}
+
+.nav .item {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ border-bottom: 1px solid #e5e5e5;
+ padding: 30rpx 0;
+}
+.wallet{
+ display: flex;
+ flex-direction: row;
+}
+.exit{
+ border: solid 1rpx #73ccd8;
+ margin-top: 80rpx;
+ width: 70%;
+ background-color: #b6d6b2;
+ border-radius: 40rpx;
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/userinform/userinform.js b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.js
new file mode 100644
index 0000000..54fedf0
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.js
@@ -0,0 +1,186 @@
+// pages/navigation/userinform/userinform.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ ip:'82.157.11.188' ,
+ port:8080,
+ insshen:'',
+ intti:'',
+ inyyao:'',
+ inttui:'',
+ inxxiong:'',
+ inttun:''
+
+ },
+ saveinform:function(){
+ wx.switchTab({
+ url: '../self/self'
+ })
+ //初始化云
+ wx.cloud.init({
+ env:'cloud1-5ggzbo3kcd4ea4e2'
+ });
+ //初始化数据库
+ const db=wx.cloud.database();
+ db.collection('user').add({
+ data: {
+ iphone:obj.iphone,
+ password:obj.password,
+ insshen:this.data.insshen,
+ intti:this.data.intti,
+ inyyao:this.data.inyyao,
+ inttui:this.data.inttui,
+ inxxiong:this.data.inxxiong,
+ inttun:this.data.inttun
+ },
+ sucess:function(res){
+ console.log("添加成功",res);
+ },
+ fail:function(res){
+ console.log(res.errMsg,"添加失败")
+ }
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+
+ onLoad:function (options){
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+ const self = this
+ var userText1 = wx.getStorageSync('userText1')
+ var userText2 = wx.getStorageSync('userText2')
+ var userText3 = wx.getStorageSync('userText3')
+ var userText4 = wx.getStorageSync('userText4')
+ var userText5 = wx.getStorageSync('userText5')
+ var userText6 = wx.getStorageSync('userText6')
+ if (userText1) {
+ self.data.insshen = userText1;
+ self.setData(self.data);
+ } // page载入的时候先读取一次,wx.getStorageSync('userText')里面有没有内容,有内容就填充,没有则什么也不做
+
+ if (userText2) {
+ self.data.intti = userText2;
+ self.setData(self.data)
+ }
+ if (userText3) {
+ self.data.inyyao = userText3
+ self.setData(self.data)
+ }
+ if (userText4) {
+ self.data.inxxiong = userText4
+ self.setData(self.data)
+ }
+ if (userText5) {
+ self.data.inttui = userText5
+ self.setData(self.data)
+ }
+ if (userText6) {
+ self.data.inttun = userText6
+ self.setData(self.data)
+ }
+ },
+ outsshen(e){
+ const self = this
+ const value = e.detail.value
+ if (value) {
+ wx.setStorageSync('userText1', value)
+ console.log(value)
+ } // 监听用户输入的信息,一旦有内容输入进去,就会使用wx.setStorageSync('userText', value)设置usertext这个key的值,使用wx.getStorageSync('userText')可以得到usertext这个key的值
+ },
+ outtti(e){
+ const self = this
+ const value = e.detail.value
+ if (value) {
+ wx.setStorageSync('userText2', value)
+ }
+ console.log(value)
+ },
+ outyyao(e){
+ const self = this
+ const value = e.detail.value
+ if (value) {
+ wx.setStorageSync('userText3', value)
+ }
+ console.log(value)
+ },
+ outxxiong(e){
+ const self = this
+ const value = e.detail.value
+ if (value) {
+ wx.setStorageSync('userText4', value)
+ }
+ console.log(value)
+ },
+ outttui(e){
+ const self = this
+ const value = e.detail.value
+ if (value) {
+ wx.setStorageSync('userText5', value)
+ }
+ console.log(value)
+ },
+ outttun(e){
+ const self = this
+ const value = e.detail.value
+ if (value) {
+ wx.setStorageSync('userText6', value)
+ }
+ console.log(value)
+ },
+
+
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/userinform/userinform.json b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.json
new file mode 100644
index 0000000..8835af0
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.json
@@ -0,0 +1,3 @@
+{
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/userinform/userinform.wxml b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.wxml
new file mode 100644
index 0000000..d6b0118
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.wxml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+ 手机用户
+
+
+ 身高
+
+
+ 体重
+
+
+ 腰围
+
+
+ 胸围
+
+
+ 腿围
+
+
+ 臀围
+
+
+
+
\ No newline at end of file
diff --git a/src/miniprogram-1(1)/pages/navigation/userinform/userinform.wxss b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.wxss
new file mode 100644
index 0000000..81a4ef0
--- /dev/null
+++ b/src/miniprogram-1(1)/pages/navigation/userinform/userinform.wxss
@@ -0,0 +1,53 @@
+/* pages/navigation/userinform/userinform.wxss */
+.beijing{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ z-index: -999;
+}
+.user_box {
+ display: flex;
+ align-items: center;
+ width: 94%;
+ height: 115px;
+ margin-left: 100rpx;
+}
+.logo {
+ margin-left: 20px;
+ margin-right: 20px;
+ width: 150rpx;
+ height: 150rpx;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.952);
+}
+.logo image {
+ width: 100%;
+ height: 100%;
+ border-radius: 100%;
+ will-change: transform;
+
+}
+.input{
+ margin-left: 30rpx;
+ margin-top: 10rpx;
+ margin-right: 30rpx;
+ background: rgba(255, 255, 255, 0.7);
+ display: flex;
+ flex-direction: column;
+
+
+}
+.s ,.t ,.y, .x ,.tui ,.tun{
+ display:flex;
+ flex-direction: row;
+}
+.shengao,.tizhong,.yaowei,.xiongwei,.tuiwei,.tunwei{
+ margin-left: 30rpx;
+}
+.save{
+ border: solid 1rpx #fafdfd;
+ margin-top: 80rpx;
+ width: 70%;
+ background-color: rgba(225, 230, 221, 0.7);
+ border-radius: 40rpx;
+}