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
d3b93db9
Commit
d3b93db9
authored
Mar 02, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改弹窗
parent
c5aa9606
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
28 deletions
+30
-28
addMessage.vue
pagesUser/addMessage.vue
+3
-2
userInfo.vue
pagesUser/userInfo.vue
+3
-4
editAbout.vue
pagesme/me/editAbout.vue
+4
-3
updateBasicInformation.vue
pagesme/me/updateBasicInformation.vue
+4
-3
info.vue
pagesme/message/info.vue
+16
-16
No files found.
pagesUser/addMessage.vue
View file @
d3b93db9
...
...
@@ -9,7 +9,7 @@
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elmMessage"
:msg=
"tipMsg"
:isConfirm=
"isMessageConfirm"
@
confirm=
"messageConfirm"
></ELM>
<ELM
ref=
"elm
Message
"
:msg=
"tipMsg"
:isConfirm=
"isPayConfirm"
@
confirm=
"payConfirm"
></ELM>
<ELM
ref=
"elm
Pay
"
:msg=
"tipMsg"
:isConfirm=
"isPayConfirm"
@
confirm=
"payConfirm"
></ELM>
</view>
</
template
>
<
script
>
...
...
@@ -70,6 +70,7 @@
//留言超出限制 是否采用金币进行留言
this
.
isPayConfirm
=
true
;
this
.
tipMsg
=
"已超出留言次数,是否花费"
+
this
.
payCount
+
"金币再进行留言"
;
this
.
$refs
.
elmPay
.
showDialog
();
this
.
inputTemp
=
''
}
else
if
(
res
.
data
.
code
===
1002
){
uni
.
showToast
({
...
...
@@ -110,7 +111,7 @@
}
else
{
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Message
.
showDialog
();
}
})
},
...
...
pagesUser/userInfo.vue
View file @
d3b93db9
...
...
@@ -172,7 +172,6 @@
<view
class=
"fe"
>
<view
class=
""
style=
"height: 40rpx;display: flex;align-items: center;margin-top: 26rpx;"
>
<view
class=
"line"
></view>
<view
class=
"text"
>
IP属地:
{{
userData
.
city
!=
null
?
userData
.
city
:
'-'
}}
</view>
<view
class=
"line"
></view>
</view>
</view>
...
...
@@ -202,7 +201,7 @@
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elmCoin"
:msg=
"tipMsg"
:isConfirm=
"isCoinConfirm"
@
confirm=
"coinConfirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isLikeConfirm"
@
confirm=
"likeConfirm"
></ELM>
<ELM
ref=
"elm
Like
"
:msg=
"tipMsg"
:isConfirm=
"isLikeConfirm"
@
confirm=
"likeConfirm"
></ELM>
</view>
</
template
>
...
...
@@ -452,7 +451,7 @@
//当天对该用户的次数已用完 选择付费点赞
this
.
isLikeConfirm
=
true
;
this
.
tipMsg
=
'今日已超出对该用户的点赞次数,是否花费'
+
this
.
payCount
+
'金币再进行点赞'
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Like
.
showDialog
();
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
...
...
@@ -499,7 +498,7 @@
}
else
{
this
.
tipMsg
=
res
.
data
.
message
;
this
.
isCoinConfirm
=
true
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Coin
.
showDialog
();
}
})
},
...
...
pagesme/me/editAbout.vue
View file @
d3b93db9
...
...
@@ -87,9 +87,10 @@
})
updateUser
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
isConfirm
=
true
;
this
.
tipMsg
=
"保存成功"
;
this
.
$refs
.
elm
.
showDialog
();
uni
.
showToast
({
title
:
"保存成功"
,
icon
:
'none'
})
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
...
...
pagesme/me/updateBasicInformation.vue
View file @
d3b93db9
...
...
@@ -712,9 +712,10 @@ export default {
this
.
userInfo
.
wxOpenid
=
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
updateUser
(
this
.
userInfo
).
then
(
response
=>
{
if
(
response
.
data
.
code
==
200
)
{
this
.
isConfirm
=
true
;
this
.
tipMsg
=
"修改成功"
;
this
.
$refs
.
elm
.
showDialog
();
uni
.
showToast
({
title
:
"保存成功"
,
icon
:
'none'
})
}
else
{
this
.
tipMsg
=
res
.
data
.
msg
;
this
.
$refs
.
elm
.
showDialog
();
...
...
pagesme/message/info.vue
View file @
d3b93db9
...
...
@@ -68,13 +68,13 @@
</u-popup>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
'tipMsg'
:isConfirm=
"showApply"
@
confirm=
"apply"
@
cancel=
"refuse"
></ELM>
<ELM
ref=
"elm
ShowApply
"
:msg=
'tipMsg'
:isConfirm=
"showApply"
@
confirm=
"apply"
@
cancel=
"refuse"
></ELM>
<ELM
ref=
"elmMessage"
:msg=
"tipMsg"
:isConfirm=
"isMessageConfirm"
@
confirm=
"messageConfirm"
></ELM>
<ELM
ref=
"elm"
:msg=
'tipMsg'
:isConfirm=
"isBlackConfirm"
@
confirm=
"blackConfirm"
></ELM>
<ELM
ref=
"elm"
:msg=
'tipMsg'
:isConfirm=
"isMessagePayConfirm"
@
confirm=
"messagePayConfirm"
></ELM>
<ELM
ref=
"elm"
:msg=
'tipMsg'
:isConfirm=
"isApplyPayConfirm"
@
confirm=
"applyPayConfirm"
></ELM>
<ELM
ref=
"elm"
:msg=
'tipMsg'
:isConfirm=
"isAcceptPayConfirm"
@
confirm=
"acceptPayConfirm"
></ELM>
<ELM
ref=
"elm"
:msg=
'tipMsg'
:isConfirm=
"isRefuseConfirm"
@
confirm=
"refuseConfirm"
></ELM>
<ELM
ref=
"elm
Black
"
:msg=
'tipMsg'
:isConfirm=
"isBlackConfirm"
@
confirm=
"blackConfirm"
></ELM>
<ELM
ref=
"elm
MessagePay
"
:msg=
'tipMsg'
:isConfirm=
"isMessagePayConfirm"
@
confirm=
"messagePayConfirm"
></ELM>
<ELM
ref=
"elm
ApplyPay
"
:msg=
'tipMsg'
:isConfirm=
"isApplyPayConfirm"
@
confirm=
"applyPayConfirm"
></ELM>
<ELM
ref=
"elm
AcceptPay
"
:msg=
'tipMsg'
:isConfirm=
"isAcceptPayConfirm"
@
confirm=
"acceptPayConfirm"
></ELM>
<ELM
ref=
"elm
Refuse
"
:msg=
'tipMsg'
:isConfirm=
"isRefuseConfirm"
@
confirm=
"refuseConfirm"
></ELM>
</view>
</template>
...
...
@@ -237,7 +237,7 @@ export default {
addBlack
()
{
this
.
isBlackConfirm
=
true
this
.
tipMsg
=
"确定拉黑该用户吗?"
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Black
.
showDialog
();
},
/**
* 发送
...
...
@@ -265,7 +265,7 @@ export default {
//留言超出限制 是否采用金币进行留言
this
.
isMessagePayConfirm
=
true
;
this
.
tipMsg
=
'已超出留言次数,是否花费'
+
this
.
payCount
+
'金币再进行留言'
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
MessagePay
.
showDialog
();
this
.
inputTemp
=
''
}
else
if
(
res
.
data
.
code
===
1002
){
uni
.
showToast
({
...
...
@@ -308,7 +308,7 @@ export default {
wantWxC
(){
this
.
isApplyPayConfirm
=
true
this
.
tipMsg
=
"是否花费"
+
this
.
applyWxPayment
+
"金币,向对方发起请求"
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
ApplyPay
.
showDialog
();
},
close
()
{
this
.
show
=
false
...
...
@@ -322,17 +322,17 @@ export default {
openApply
(){
this
.
showApply
=
true
this
.
tipMsg
=
'是否接受对方的请求'
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
ShowApply
.
showDialog
();
},
apply
(){
this
.
isAcceptPayConfirm
=
true
this
.
tipMsg
=
'是否花费'
+
this
.
acceptWxPayment
+
'金币,向对方发起请求'
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
AcceptPay
.
showDialog
();
},
refuse
(){
this
.
isRefuseConfirm
=
true
this
.
tipMsg
=
'是否确认拒绝对方请求'
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Refuse
.
showDialog
();
},
getWxTask
(){
const
form
=
{
...
...
@@ -382,7 +382,7 @@ export default {
}
else
{
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Message
.
showDialog
();
}
})
},
...
...
@@ -407,7 +407,7 @@ export default {
}
else
{
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Message
.
showDialog
();
}
})
},
...
...
@@ -430,7 +430,7 @@ export default {
this
.
showApply
=
false
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Message
.
showDialog
();
}
})
},
...
...
@@ -453,7 +453,7 @@ export default {
this
.
showApply
=
false
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
this
.
$refs
.
elm
Message
.
showDialog
();
}
})
},
...
...
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