Browse Source

ios时间显示

featrue/v4.2
huziyuan 5 years ago
parent
commit
fa81dd5456
1 changed files with 5 additions and 5 deletions
  1. 10
      pages/home/index/index.js

10
pages/home/index/index.js

@ -87,9 +87,9 @@ Component({
userInfo: app.globalData.userInfo,
userName: nickname
})
if(this.data.userInfo.isVIP==1){
if (this.data.userInfo.isVIP == 1) {
this.setData({
'userInfo.memberExpiredAt':util.formatDate(new Date(app.globalData.userInfo.memberExpiredAt), 'Y-M-D')
'userInfo.memberExpiredAt': util.formatDate(new Date(app.globalData.userInfo.memberExpiredAt.replace(/\-/g, "/")), 'Y-M-D')
})
}
})
@ -219,10 +219,10 @@ Component({
})
}
},
onShareAppMessage:function(){
onShareAppMessage: function () {
return {
title:'分享纸通宝',
path:'/pages/home/index'
title: '分享纸通宝',
path: '/pages/home/index'
}
}
}
Loading…
Cancel
Save