梁航:更新页面请求和样式
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<view class="profile">
|
||||
<image src="../../static/img/wo_bj_ll@2x.png" mode="aspectFit" class="profile-bgi"></image>
|
||||
<view class="avator">
|
||||
<u-avatar :src="src"></u-avatar>
|
||||
<u-avatar :src="src"> </u-avatar>
|
||||
</view>
|
||||
<view class="username">{{username}}</view>
|
||||
<view class="account">账号:{{account}}</view>
|
||||
@@ -30,12 +30,14 @@
|
||||
data() {
|
||||
return {
|
||||
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
|
||||
account:'123456',
|
||||
username:'用户名',
|
||||
account:'',
|
||||
username:'未登录',
|
||||
code:''
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
// this.getInfo()
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
topublished(title){
|
||||
@@ -52,13 +54,8 @@
|
||||
uni.navigateTo({
|
||||
url:'/pages/Partnerships/Partnerships'
|
||||
})
|
||||
}
|
||||
//---------页面调用接口示例------------
|
||||
// getInfo() {
|
||||
// this.$api.getUserInfo().then(res => {
|
||||
// console.log('userInfo', res);
|
||||
// })
|
||||
// }
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user