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
89f498fb
Commit
89f498fb
authored
Feb 10, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改星座查询
parent
992b34ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
15 deletions
+48
-15
userFilterPage.vue
pagesUser/userFilterPage.vue
+42
-11
info.vue
pagesme/message/info.vue
+6
-4
No files found.
pagesUser/userFilterPage.vue
View file @
89f498fb
...
...
@@ -74,17 +74,18 @@
></u-icon>
</u-form-item>
</u--form>
<view
style=
"margin-top: 20rpx"
>
星座
</view>
<view
class=
"u-page__tag-item"
>
<u-tag
v-for=
"(item, index) in checkboxs"
:key=
"index"
:text=
"`选项$
{index + 1}`
"
:plain="!item.checked"
type="warning"
:name="index"
@click="checkboxClick
"
>
</u-tag>
<u-tag
v-for=
"(item, index) in checkboxs"
:key=
"index"
:text=
"item.name
"
:plain=
"!item.checked"
type=
"warning"
:name=
"index"
class=
"u-tag-item
"
@
click=
"checkboxClick"
>
</u-tag>
</view>
<u-button
type=
"primary"
...
...
@@ -163,40 +164,64 @@ export default {
],
checkboxs
:
[
{
checked
:
true
,
checked
:
false
,
name
:
'水瓶'
,
value
:
'1'
,
},
{
checked
:
false
,
name
:
'双鱼'
,
value
:
'2'
,
},
{
checked
:
false
,
name
:
'白羊'
,
value
:
'3'
,
},
{
checked
:
false
,
name
:
'金牛'
,
value
:
'4'
,
},
{
checked
:
false
,
name
:
'双子'
,
value
:
'5'
,
},
{
checked
:
false
,
name
:
'巨蟹'
,
value
:
'6'
,
},
{
checked
:
false
,
name
:
'狮子'
,
value
:
'7'
,
},
{
checked
:
false
,
name
:
'处女'
,
value
:
'8'
,
},
{
checked
:
false
,
name
:
'天秤'
,
value
:
'9'
,
},
{
checked
:
false
,
name
:
'天蝎'
,
value
:
'10'
,
},
{
checked
:
false
,
name
:
'射手'
,
value
:
'11'
,
},
{
checked
:
false
,
name
:
'摩羯'
,
value
:
'12'
,
},
],
//选择器显示
...
...
@@ -287,5 +312,11 @@ export default {
.u-page__tag-item
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-left
:
120rpx
;
margin-top
:
-40rpx
;
}
::v-deep
.u-tag--medium
{
margin-left
:
50rpx
;
margin-bottom
:
20rpx
;
}
</
style
>
pagesme/message/info.vue
View file @
89f498fb
...
...
@@ -2,6 +2,12 @@
<view
style=
"background-color: #F4F5F9;min-height: 100vh;"
>
<!-- 页头 -->
<u-navbar
@
leftClick=
"backbar"
bgColor=
"#F4F5F9"
title=
"个人留言"
></u-navbar>
<view
class=
"fixed-buttons"
style=
"display: flex; justify-content: space-evenly; position: fixed; top: 120rpx; width: 100%; z-index: 99;"
>
<view
class=
"button-item"
style=
"width: 50%; text-align: center; height: 50rpx; background-color: #cbcbcb; color: black;"
>
拉黑
</view>
<view
class=
"vertical-line"
style=
"width: 1px; height: 50rpx; background-color: #808080;"
></view>
<view
class=
"button-item"
style=
"width: 50%; text-align: center; height: 50rpx; background-color: #cbcbcb; color: black;"
>
关注
</view>
</view>
<view
style=
"height: 80rpx;"
></view>
<view
class=
"page-layout"
>
<view
class=
"page-body"
id=
"x_chat"
>
<view
v-for=
"(item, index) in chatList"
:key=
"index"
>
...
...
@@ -51,9 +57,6 @@ export default {
},
onLoad
(
options
)
{
this
.
targetId
=
options
.
targetId
this
.
getMessageList
()
// 滚动到页面底部
this
.
pageScrollToBottom
()
},
onShow
(){
this
.
getMessageList
()
...
...
@@ -74,7 +77,6 @@ export default {
targetId
:
this
.
targetId
}
telMessage
(
form
).
then
(
res
=>
{
console
.
log
(
'11111111'
,
res
.
data
.
data
)
this
.
chatList
=
res
.
data
.
data
this
.
chatList
.
forEach
(
item
=>
{
//处理头像
...
...
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