Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
eb10c636
Commit
eb10c636
authored
Dec 31, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了我喜欢的,喜欢我的,互相喜欢的页面
parent
92deaafe
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
455 additions
and
51 deletions
+455
-51
pages.json
pages.json
+7
-45
my.vue
pages/tab/my.vue
+10
-5
Item.vue
pagesArticle/components/Item.vue
+0
-1
likeList.vue
pagesme/me/likeList.vue
+438
-0
No files found.
pages.json
View file @
eb10c636
...
...
@@ -114,56 +114,18 @@
]
},
{
"root"
:
"pagesintroduction"
,
"pages"
:
[{
"path"
:
"selfIntroduction"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"selectHeight/selectHeight"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"selectJob/selectJob"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"selectSchool/selectSchool"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"selectEducation/selectEducation"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
"root"
:
"pagesme"
,
"pages"
:
[
{
"path"
:
"
selectPhoto/selectPhoto
"
,
"path"
:
"
me/likeList
"
,
"style"
:
{
"navigationBarTitleText"
:
"我喜欢的"
,
"backgroundColor"
:
"#F4F5F9"
,
"backgroundColorTop"
:
"#F4F5F9"
,
"navigationBarBackgroundColor"
:
"#F4F5F9"
,
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"aboutme/aboutme"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
}
]
},
{
"root"
:
"pagesme"
,
"pages"
:
[
{
"path"
:
"me/updateInformation"
,
"style"
:
{
...
...
pages/tab/my.vue
View file @
eb10c636
...
...
@@ -48,7 +48,7 @@
<text
v-if=
"info.nickName"
>
{{
info
.
nickName
}}
</text><text
v-else
>
0
</text>
</view>
<view
class=
"div"
>
<view
class=
"diving"
@
click=
"gotolike(1)"
>
<view
class=
"diving"
@
click=
"gotolike(1
,info.ilike
)"
>
<view
class=
"divtast"
>
<text
v-if=
"info.ilike"
>
{{
info
.
ilike
}}
</text><text
v-else
>
0
</text>
</view>
...
...
@@ -56,7 +56,7 @@
我喜欢的
</view>
</view>
<view
class=
"diving"
style=
"margin: 0 136rpx;"
@
click=
"gotolike(2)"
>
<view
class=
"diving"
style=
"margin: 0 136rpx;"
@
click=
"gotolike(2
,info.likeMe
)"
>
<!--
<view
class=
"divtast"
v-if=
"info.likeMe==0"
>
-->
<view
class=
"divtast"
>
...
...
@@ -70,7 +70,7 @@
喜欢我的
</view>
</view>
<view
class=
"diving"
@
click=
"gotolike(3)"
>
<view
class=
"diving"
@
click=
"gotolike(3
,info.lovers
)"
>
<view
class=
"divtast"
>
<text
v-if=
"info.lovers"
>
{{
info
.
lovers
}}
</text><text
v-else
>
0
</text>
</view>
...
...
@@ -221,6 +221,9 @@ import {setUserProfile} from '../../api/login/index'
}],
info
:
{
nickName
:
'11111'
,
ilike
:
'6'
,
likeMe
:
'7'
,
lovers
:
'8'
,
goldBalance
:
0
,
userArticleViewResponse
:{
articleImg
:
null
,
...
...
@@ -311,8 +314,10 @@ import {setUserProfile} from '../../api/login/index'
url
:
"/pagesme/me/doubleauth"
})
},
gotolike
(
type
)
{
//喜欢三个列表页面
gotolike
(
type
,
num
)
{
//喜欢三个列表页面
uni
.
navigateTo
({
url
:
"/pagesme/me/likeList?type="
+
type
+
'&num='
+
num
})
},
whether
(
i
)
{
if
(
i
==
0
)
{
...
...
pagesArticle/components/Item.vue
View file @
eb10c636
...
...
@@ -340,7 +340,6 @@
.name
{
text
{
font-weight
:
600
;
font-size
:
32rpx
;
color
:
#333333
;
...
...
pagesme/me/likeList.vue
0 → 100644
View file @
eb10c636
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment