diff --git a/app.json b/app.json
index 51c7a01..41c2ae9 100644
--- a/app.json
+++ b/app.json
@@ -36,6 +36,13 @@
"checkOutConfirm/index/index",
"checkOutConfirm/sign/sign"
]
+ },
+ {
+ "root": "subpages/eventAdd",
+ "name": "event",
+ "pages": [
+ "add/add"
+ ]
}
],
"window": {
diff --git a/images/icon/nav_2.png b/images/icon/nav_2.png
new file mode 100644
index 0000000..2b3ed3d
Binary files /dev/null and b/images/icon/nav_2.png differ
diff --git a/images/mine/bingxiang.png b/images/mine/bingxiang.png
new file mode 100644
index 0000000..bd91d90
Binary files /dev/null and b/images/mine/bingxiang.png differ
diff --git a/images/mine/diancilu.png b/images/mine/diancilu.png
new file mode 100644
index 0000000..5bff598
Binary files /dev/null and b/images/mine/diancilu.png differ
diff --git a/images/mine/kongtiao.png b/images/mine/kongtiao.png
new file mode 100644
index 0000000..b6eae5a
Binary files /dev/null and b/images/mine/kongtiao.png differ
diff --git a/images/mine/device.png b/images/mine/xiyiji.png
similarity index 100%
rename from images/mine/device.png
rename to images/mine/xiyiji.png
diff --git a/images/mine/头像.png b/images/mine/头像.png
new file mode 100644
index 0000000..3189401
Binary files /dev/null and b/images/mine/头像.png differ
diff --git a/pages/index/index.js b/pages/index/index.js
index 46c2623..26f1df3 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -57,6 +57,8 @@ Page({
})
this.setData({
statusHeight: app.globalData.deviceInfo.statusHeight,
+ navigationHeight: app.globalData.deviceInfo.navigationHeight,
+
});
},
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 08a1e3c..9b88a9a 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -2,13 +2,17 @@
青岛
-->
-
+
+
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index e19887a..5a9625e 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -2,8 +2,19 @@
page{
background-color: #f7f5f5;
}
+.header{
+ background: linear-gradient(to bottom, #2dcecb 70%, #ffffff 30%);
+ padding-left: 20rpx;
+ padding-right: 20rpx;
+}
+.title{
+ margin-bottom: 26rpx;
+ color: #ffffff;
+ font-size: 28rpx;
+}
.slide-image{
width:100%;
+ border-radius: 10rpx;
}
.header-search{
position: fixed;
diff --git a/pages/mine/mine.js b/pages/mine/mine.js
index e39931a..a02df2b 100644
--- a/pages/mine/mine.js
+++ b/pages/mine/mine.js
@@ -110,5 +110,12 @@ Page({
Notify({ type: 'primary', message: '持续上线中,敬请期待~' });
}
+ },
+ getUserInfo(){
+ wx.getUserProfile({
+ success:(res)=>{
+ console.log(res);
+ }
+ })
}
})
\ No newline at end of file
diff --git a/pages/mine/mine.json b/pages/mine/mine.json
index 54184df..c23f822 100644
--- a/pages/mine/mine.json
+++ b/pages/mine/mine.json
@@ -1,7 +1,8 @@
{
"usingComponents": {
"van-icon": "@vant/weapp/icon/index",
- "van-notify": "@vant/weapp/notify/index"
+ "van-notify": "@vant/weapp/notify/index",
+ "van-button": "@vant/weapp/button/index"
},
"navigationStyle": "custom"
}
\ No newline at end of file
diff --git a/pages/mine/mine.wxml b/pages/mine/mine.wxml
index f2f76aa..feead5d 100644
--- a/pages/mine/mine.wxml
+++ b/pages/mine/mine.wxml
@@ -5,18 +5,26 @@
-
-
- 五月的风
+
+
+
+
+ 去注册
+
- 福林苑
+ --
- 5-1-805 南卧
+ -- --
@@ -28,31 +36,31 @@
- 空调
- 正常
+ --
+ --
-
+
- 空调
- 正常
+ --
+ --
-
+
- 空调
- 正常
+ --
+ --
-
+
- 空调
- 正常
+ --
+ --
-
+
@@ -61,14 +69,12 @@
资源管理
-
- 本月用水:12m³
+ 本月用水:12m³
|
-
- 本月用电:28kw-h
+ 本月用电:28kw-h
diff --git a/pages/mine/mine.wxss b/pages/mine/mine.wxss
index 510cc3d..e26cd06 100644
--- a/pages/mine/mine.wxss
+++ b/pages/mine/mine.wxss
@@ -122,3 +122,8 @@ page{
font-size: 24rpx;
color: #b5b5b5;
}
+.van-button--info {
+ background-color: transparent !important;
+ color: black !important;
+ border: none !important;
+}
diff --git a/pages/serve/serve.wxml b/pages/serve/serve.wxml
index eff2da7..2f7f31d 100644
--- a/pages/serve/serve.wxml
+++ b/pages/serve/serve.wxml
@@ -7,16 +7,23 @@