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
6b3f08cd
Commit
6b3f08cd
authored
Feb 20, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改金币不足
parent
0d944462
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
6 deletions
+27
-6
addMessage.vue
pagesUser/addMessage.vue
+5
-0
userInfo.vue
pagesUser/userInfo.vue
+7
-6
info.vue
pagesme/message/info.vue
+15
-0
No files found.
pagesUser/addMessage.vue
View file @
6b3f08cd
...
...
@@ -80,6 +80,11 @@
this
.
isConfirm
=
true
;
this
.
tipMsg
=
"发送成功"
;
this
.
$refs
.
elm
.
showDialog
();
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
}
})
}
else
if
(
res
.
cancel
)
{
...
...
pagesUser/userInfo.vue
View file @
6b3f08cd
...
...
@@ -446,13 +446,14 @@ import {getDict} from "../api/system/dict/data";
wxOpenid
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
isPay
:
'1'
,
//1花费 0不花费
}
this
.
animUrl
=
url
;
this
.
showAnima
=
true
;
setTimeout
(()
=>
{
this
.
showAnima
=
false
;
},
500
)
likeUser
(
form
).
then
(
res
=>
{
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
animUrl
=
url
;
this
.
showAnima
=
true
;
setTimeout
(()
=>
{
this
.
showAnima
=
false
;
},
500
)
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
...
...
pagesme/message/info.vue
View file @
6b3f08cd
...
...
@@ -112,7 +112,17 @@ export default {
}
if
(
e
===
1
){
//要微信
uni
.
showModal
({
title
:
'提示'
,
content
:
'是否花费'
+
this
.
payCount
+
'金币,向对方发起请求'
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
console
.
log
(
'11111111'
)
}
else
if
(
res
.
cancel
)
{
}
}
});
}
},
//获取留言字典配置
...
...
@@ -210,6 +220,11 @@ export default {
if
(
res
.
data
.
code
==
200
){
this
.
$refs
.
paging
.
reload
();
this
.
inputTemp
=
''
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
}
})
}
else
if
(
res
.
cancel
)
{
...
...
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