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
fe0692b4
Commit
fe0692b4
authored
Feb 24, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改余额不足弹窗
parent
252e9252
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
25 deletions
+43
-25
addMessage.vue
pagesUser/addMessage.vue
+11
-4
userInfo.vue
pagesUser/userInfo.vue
+12
-5
info.vue
pagesme/message/info.vue
+20
-16
No files found.
pagesUser/addMessage.vue
View file @
fe0692b4
...
...
@@ -8,6 +8,7 @@
发送
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isMessageConfirm"
@
confirm=
"messageConfirm"
></ELM>
</view>
</
template
>
<
script
>
...
...
@@ -23,6 +24,7 @@
type
:
0
,
tipMsg
:
''
,
isConfirm
:
false
,
isMessageConfirm
:
false
,
//金币支付金额
payCount
:
0
}
...
...
@@ -81,10 +83,9 @@
this
.
tipMsg
=
"发送成功"
;
this
.
$refs
.
elm
.
showDialog
();
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
}
})
}
else
if
(
res
.
cancel
)
{
...
...
@@ -116,6 +117,12 @@
delta
:
1
})
},
messageConfirm
(){
this
.
isMessageConfirm
=
false
;
uni
.
navigateTo
({
url
:
"/pagesme/goldCoin/recharge"
})
},
}
}
</
script
>
...
...
pagesUser/userInfo.vue
View file @
fe0692b4
...
...
@@ -201,6 +201,7 @@
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isCoinConfirm"
@
confirm=
"coinConfirm"
></ELM>
</view>
</
template
>
...
...
@@ -249,6 +250,7 @@ import ELM from '@/components/elm-toast/index.vue';
showTabbar
:
true
,
tipMsg
:
''
,
isConfirm
:
false
,
isCoinConfirm
:
false
,
scrollTop
:
0
,
data
:
[],
};
...
...
@@ -395,7 +397,7 @@ import ELM from '@/components/elm-toast/index.vue';
if
(
res
.
data
.
code
==
200
){
this
.
getIsFollowed
();
}
else
{
this
.
tipMsg
=
"对方还未回应请求"
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
isConfirm
=
true
;
this
.
$refs
.
elm
.
showDialog
();
}
...
...
@@ -464,10 +466,9 @@ import ELM from '@/components/elm-toast/index.vue';
this
.
showAnima
=
false
;
},
500
)
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
tipMsg
=
res
.
data
.
message
;
this
.
isCoinConfirm
=
true
;
this
.
$refs
.
elm
.
showDialog
();
}
})
}
...
...
@@ -497,6 +498,12 @@ import ELM from '@/components/elm-toast/index.vue';
this
.
isConfirm
=
false
;
this
.
backbar
()
},
coinConfirm
(){
this
.
isCoinConfirm
=
false
;
uni
.
navigateTo
({
url
:
"/pagesme/goldCoin/recharge"
})
},
//返回按钮
backbar
()
{
uni
.
navigateBack
({
...
...
pagesme/message/info.vue
View file @
fe0692b4
...
...
@@ -83,6 +83,7 @@
</u-popup>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isMessageConfirm"
@
confirm=
"messageConfirm"
></ELM>
</view>
</template>
...
...
@@ -117,6 +118,7 @@ export default {
payCount
:
0
,
tipMsg
:
''
,
isConfirm
:
false
,
isMessageConfirm
:
false
,
applyWxPayment
:
0
,
acceptWxPayment
:
0
,
wxTask
:[]
...
...
@@ -295,10 +297,9 @@ export default {
this
.
$refs
.
paging
.
reload
();
this
.
inputTemp
=
''
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
}
})
}
else
if
(
res
.
cancel
)
{
...
...
@@ -364,10 +365,9 @@ export default {
icon
:
'none'
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
}
})
}
...
...
@@ -407,11 +407,10 @@ export default {
})
this
.
showApply
=
false
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
showApply
=
false
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
}
})
}
...
...
@@ -439,11 +438,10 @@ export default {
})
this
.
showApply
=
false
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
showApply
=
false
this
.
isMessageConfirm
=
true
;
this
.
tipMsg
=
res
.
data
.
message
;
this
.
$refs
.
elm
.
showDialog
();
}
})
}
...
...
@@ -463,6 +461,12 @@ export default {
confirm
()
{
this
.
isConfirm
=
false
;
},
messageConfirm
(){
this
.
isMessageConfirm
=
false
;
uni
.
navigateTo
({
url
:
"/pagesme/goldCoin/recharge"
})
},
backbar
()
{
uni
.
navigateBack
({
delta
:
1
,
// 返回层数,2则上上页
...
...
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