diff --git a/app.json b/app.json index 55d05de..72736a2 100644 --- a/app.json +++ b/app.json @@ -62,7 +62,8 @@ "van-cell": "@vant/weapp/cell/index", "van-cell-group": "@vant/weapp/cell-group/index", "van-tab": "@vant/weapp/tab/index", - "van-tabs": "@vant/weapp/tabs/index" + "van-tabs": "@vant/weapp/tabs/index", + "van-image": "@vant/weapp/image/index" } diff --git a/pages/images/ic_zhuanfa@3x.png b/images/ic_zhuanfa@3x.png similarity index 100% rename from pages/images/ic_zhuanfa@3x.png rename to images/ic_zhuanfa@3x.png diff --git a/images/img_mybg.png b/images/img_mybg.png new file mode 100644 index 0000000..2ecd23c Binary files /dev/null and b/images/img_mybg.png differ diff --git a/images/my_con1.png b/images/my_con1.png new file mode 100644 index 0000000..aa5f62c Binary files /dev/null and b/images/my_con1.png differ diff --git a/images/my_con2.png b/images/my_con2.png new file mode 100644 index 0000000..1e0ed97 Binary files /dev/null and b/images/my_con2.png differ diff --git a/images/my_con3.png b/images/my_con3.png new file mode 100644 index 0000000..2897585 Binary files /dev/null and b/images/my_con3.png differ diff --git a/images/my_con4.png b/images/my_con4.png new file mode 100644 index 0000000..a151c67 Binary files /dev/null and b/images/my_con4.png differ diff --git a/images/my_con5.png b/images/my_con5.png new file mode 100644 index 0000000..78ddd09 Binary files /dev/null and b/images/my_con5.png differ diff --git a/images/mybg.png b/images/mybg.png new file mode 100644 index 0000000..b22236b Binary files /dev/null and b/images/mybg.png differ diff --git a/pages/mine/index.js b/pages/mine/index.js index 6cc3c52..11bfd33 100644 --- a/pages/mine/index.js +++ b/pages/mine/index.js @@ -2,6 +2,17 @@ Page({ data: { + statusBarHeight:0 + }, + onLoad:function(){ + wx.getSystemInfo({ + success:(res)=>{ + let statusBarHeight = res.statusBarHeight + this.setData({ + statusBarHeight:statusBarHeight + }) + } + }) }, onShow() { this.getTabBar().init(); diff --git a/pages/mine/index.json b/pages/mine/index.json index 6cdce25..ab4bf5e 100644 --- a/pages/mine/index.json +++ b/pages/mine/index.json @@ -1,5 +1,6 @@ { "usingComponents": { - } + }, + "navigationStyle": "custom" } \ No newline at end of file diff --git a/pages/mine/index.wxml b/pages/mine/index.wxml index 2030310..426d910 100644 --- a/pages/mine/index.wxml +++ b/pages/mine/index.wxml @@ -1,21 +1,23 @@ - - - 胆怯的麦粒 - 欢迎您使⽤硕为思平台 + + + + + 胆怯的麦粒 + 欢迎您使⽤硕为思平台 + + + + - - + + + + + + - - - - - - - - - - - 退出登录 + + + \ No newline at end of file diff --git a/pages/mine/index.wxss b/pages/mine/index.wxss index ac728e1..638d9cd 100644 --- a/pages/mine/index.wxss +++ b/pages/mine/index.wxss @@ -1,23 +1,60 @@ .container { width: 100%; - /* height: 330px; */ + height: 330px; } .mine_title{ - height: 400rpx; + height: 360rpx; width: 100%; +} +.mine_title .title_left{ + float: left; + height: 128rpx; + margin-left: 32rpx; + margin-top: 224rpx; +} +.mine_title .title_right{ + float: right; + margin-right: 32rpx; + margin-top: 208rpx; + height: 128rpx; +} +.quit{ + margin-top:160rpx; display: flex; - justify-content:space-around; - align-items: center; + align-content: space-between; +} +.btns{ + color: #0084FF; + border:2rpx solid #99CEFF; + display: inline-block; + width: 688rpx; + font-size: 28rpx; + height: 88rpx; + line-height:88rpx ; + background: #d9edff; +} +.content{ + margin-top: 136rpx; } .cell_label{ - margin-left: 20rpx; font-size: 32rpx; - font-weight: 600; + margin-left: 36rpx; + margin-top: 20rpx; } -.quit{ - margin-top:192rpx; +.content .van-cell{ + background: transparent; + height: 128rpx; +} +.content .van-icon__image{ + width: 48rpx; + height: 48rpx; + position: relative; + left: 32rpx; + top: 50%; + transform: translateX(-50%); } -.btn_style{ - color: black; - border:4rpx solid #99ceff; +.content .van-icon-arrow{ + position: relative; + top: 50%; + transform: translateX(-50%); } \ No newline at end of file