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
8f9fac69
Commit
8f9fac69
authored
Feb 06, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了黑名单页面
parent
51ad9908
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
204 additions
and
29 deletions
+204
-29
my.vue
pages/tab/my.vue
+1
-1
blackList.vue
pagesme/set/blackList.vue
+172
-0
set.vue
pagesme/set/set.vue
+31
-28
No files found.
pages/tab/my.vue
View file @
8f9fac69
...
...
@@ -392,7 +392,7 @@ import {articleList, getOssUrl} from "../../api/article";
whether
(
i
)
{
if
(
i
==
0
)
{
uni
.
navigateTo
({
url
:
"/pagesme/
me
/recharge"
url
:
"/pagesme/
goldCoin
/recharge"
})
}
else
if
(
i
==
1
)
{
this
.
updateInformation
();
...
...
pagesme/set/blackList.vue
0 → 100644
View file @
8f9fac69
<
template
>
<view>
<u-swipe-action>
<u-swipe-action-item
:options=
"options"
v-for=
"(item, index) in options4"
:key=
"index"
>
<view
class=
"swipe-action u-border-top"
:class=
"[index === options4.length - 1 && 'u-border-bottom']"
>
<view
class=
"swipe-action__content"
>
<view
class=
"avatar"
>
<u--image
:src=
"item.avatar"
width=
"40px"
height=
"40px"
mode=
"aspectFill"
shape=
"circle"
></u--image>
</view>
<view
class=
"content"
>
<view
class=
"title"
>
<text
class=
"name"
>
{{
item
.
name
}}
</text>
<!--
<text
class=
"time"
>
{{
item
.
time
}}
</text>
-->
</view>
<!--
<view
class=
"txt"
>
{{
item
.
msg
}}
</view>
-->
</view>
</view>
</view>
</u-swipe-action-item>
</u-swipe-action>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
options
:[
{
text
:
'移除'
,
style
:
{
backgroundColor
:
'#3c9cff'
,
}
},
],
options4
:
[
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'杨涛'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'雨中漫步'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'糖果梦境'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'海上日落'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'男朋友'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'女朋友'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'静谧之夜'
,
read
:
1
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'风吹麦浪'
,
read
:
0
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'路过岁月'
,
read
:
0
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
},
{
avatar
:
'http://192.168.69.154/upload/opmArticle/20250205/D55F11DEB8C2410CB899978572F82981.jpg'
,
name
:
'繁星点点'
,
read
:
0
,
time
:
'23:59'
,
msg
:
'没有消息就是最好的消息'
}
],
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.u-page
{
padding
:
0
;
}
.u-demo-block__title
{
padding
:
10px
0
2px
15px
;
}
.swipe-action
{
.swipe-action__content
{
display
:
flex
;
padding
:
30rpx
20rpx
;
border-bottom
:
1px
solid
#ccced3
;
.avatar
{
width
:
90rpx
;
height
:
90rpx
;
border-radius
:
10rpx
;
margin-right
:
20rpx
;
position
:
relative
;
}
.content
{
flex
:
1
;
.title
{
display
:
flex
;
justify-content
:
space-between
;
.name
{
font-weight
:
bold
;
}
.time
{
color
:
#999
;
font-size
:
24rpx
;
}
}
.txt
{
margin-top
:
10rpx
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
1
;
-webkit-box-orient
:
vertical
;
text-align
:
left
;
color
:
#999
;
font-size
:
26rpx
;
}
}
}
}
</
style
>
pagesme/set/set.vue
View file @
8f9fac69
...
...
@@ -25,29 +25,36 @@
return
{
//图片路径
baseUrl
:
this
.
$IMG_URL
,
list
:
[{
name
:
"推荐设置"
,
url
:
"/pagespreference/preference/preference"
},
{
name
:
"用户协议"
,
url
:
"/pagesme/agreement/agreement"
},
{
name
:
"隐私政策"
,
url
:
"/pagesme/agreement/privacy"
},
{
name
:
"关于我们"
,
url
:
"/pagesme/set/aboutme"
},
//
<!--
start
商业使用
未经作者授权不得删除此项
联系微信:
MMRWXM
(请注明来意)
start
-->
{
name
:
"合作联系"
,
url
:
"/pagesme/set/contact"
}
//
<!--
end
商业使用
未经作者授权不得删除此项
联系微信:
MMRWXM
(请注明来意)
end
-->
,
{
name
:
"注销账户"
,
url
:
""
}],
list
:
[
{
name
:
"黑名单管理"
,
url
:
"/pagesme/set/blackList"
},
{
name
:
"推荐设置"
,
url
:
"/pagespreference/preference/preference"
},
{
name
:
"用户协议"
,
url
:
"/pagesme/set/agreement"
},
{
name
:
"隐私政策"
,
url
:
"/pagesme/set/privacy"
},
{
name
:
"关于我们"
,
url
:
"/pagesme/set/aboutme"
},
{
name
:
"合作联系"
,
url
:
"/pagesme/set/contact"
},
{
name
:
"注销账户"
,
url
:
""
}
],
isShow
:
false
,
tipMsg
:
''
,
isConfirm
:
false
...
...
@@ -65,7 +72,6 @@
},
confirm
()
{
this
.
$myRequest
({
url
:
'/nostalgia/fruser/delete/fruser'
,
withToken
:
true
,
...
...
@@ -85,9 +91,6 @@
uni
.
switchTab
({
url
:
'/pageslogin/index'
});
/* uni.reLaunch({
url: '/pageslogin/index'
}); */
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
...
...
@@ -101,7 +104,7 @@
}
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
scoped
>
.list-box {
display: flex;
flex-direction: column;
...
...
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