Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
swx_weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-11-12 00:38:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0eeb2e885fffdd1fed68e46e2668cd4670e5e9cb
0eeb2e88
1 parent
e756ad74
我的页面新增陪伴用户的提醒
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/pages/my/index.vue
src/pages/my/index.vue
View file @
0eeb2e8
<!--
* @Date: 2022-09-21 14:51:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-
03 18:14:2
2
* @LastEditTime: 2022-11-
12 00:01:5
2
* @FilePath: /swx/src/pages/my/index.vue
* @Description: 我的页面
-->
...
...
@@ -45,7 +45,7 @@
<view @tap="followUser" style="flex: 1; line-height: 60rpx;">
<view style="position: relative;">
<van-icon :name="icon_user" size="3rem" color="" style="vertical-align: sub;" />
<view style="width: 0.5rem; height: 0.5rem; background-color: red; border-radius: 50%; position: absolute; top: 0; right: 25%;"></view>
<view
v-if="no_partner_note_count"
style="width: 0.5rem; height: 0.5rem; background-color: red; border-radius: 50%; position: absolute; top: 0; right: 25%;"></view>
</view>
<view>
<text style="font-size: 1rem; color: #222;">陪伴的用户</text>
...
...
@@ -123,6 +123,7 @@ export default {
activity_list: [],
host_id: '',
join_hosts: '',
no_partner_note_count: '',
}
},
async onShow () {
...
...
@@ -137,6 +138,7 @@ export default {
item.activity_time = formatDate(item.activity_time);
})
this.activity_list = data.activity_list;
this.no_partner_note_count = data.no_partner_note_count;
this.nickname = data.user.nickname;
this.avatar = data.user.avatar ? data.user.avatar : 'http://gyzs.onwall.cn/tou%402x.png';
}
...
...
Please
register
or
login
to post a comment