Skip to content

Commit

Permalink
release v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cy920820 committed Mar 12, 2019
1 parent 9e1331b commit 18e33cf
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
9 changes: 5 additions & 4 deletions miniprogram/pages/profile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ let app = getApp()
Page({

data: {
userinfo: {},
userInfo: {},
email: 'cy920820@gmail.com',
version: 'v1.0.0'
version: 'v1.0.3',
libVersion: 'v2.6.2'
},

onLoad: function (options) {
Expand All @@ -28,9 +29,9 @@ Page({
},

onGotUserInfo(e) {
let userinfo = e.detail.userInfo
let userInfo = e.detail.userInfo
this.setData({
userinfo
userInfo
})
}
})
3 changes: 2 additions & 1 deletion miniprogram/pages/profile/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<!-- 应用信息 -->
<view class="app-info">
<van-cell-group>
<van-cell title="版本号" value="{{version}}" />
<van-cell title="小程序版本" value="{{version}}" />
<van-cell title="基础库版本" value="{{libVersion}}" />
<van-cell title="联系作者" value="{{email}}" />
</van-cell-group>
</view>
Expand Down
15 changes: 13 additions & 2 deletions miniprogram/project.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,24 @@
"current": -1,
"list": []
},
"plugin": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
"current": 0,
"list": [
{
"id": -1,
"name": "我的",
"pathName": "pages/profile/index",
"scene": null
}
]
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weapp-movies",
"version": "1.0.0",
"version": "1.0.3",
"description": "马达电影小程序",
"main": "index.js",
"scripts": {},
Expand Down

0 comments on commit 18e33cf

Please sign in to comment.