diff --git a/pages/my/my.vue b/pages/my/my.vue index 6c71be1..ffdd9c8 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -12,11 +12,12 @@ - - - - - + + + + + + @@ -30,13 +31,23 @@ return { src: 'https://cdn.uviewui.com/uview/album/2.jpg', account:'11111111', - username:'用户名' + username:'用户名', } }, onLoad() { // this.getInfo() }, methods: { + topublished(title){ + uni.navigateTo({ + url:'/pages/published/published?titletext='+title + }) + }, + todetail(){ + uni.navigateTo({ + url:'/pages/detail/detail' + }) + } //---------页面调用接口示例------------ // getInfo() { // this.$api.getUserInfo().then(res => {