Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
5c6616d5
Commit
5c6616d5
authored
Jun 26, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复未登录状态下按钮文字展示异常问题
parent
9b6b95f8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
components/shopCar/shopCar.vue
+1
-1
orderSubPackage/pages/settlement/index.vue
+1
-1
pages/mine/mine.vue
+3
-2
No files found.
components/shopCar/shopCar.vue
View file @
5c6616d5
...
...
@@ -80,7 +80,7 @@
</view>
-->
<button
v-if=
"!userms"
class=
"end-right goSubmmit"
style=
"border-radius: 0;"
open-type=
"getPhoneNumber"
@
getphonenumber=
"saveReserve"
>
@
getphonenumber=
"saveReserve"
>
付款
</button>
</view>
<show-toast
ref=
"toast"
/>
...
...
orderSubPackage/pages/settlement/index.vue
View file @
5c6616d5
...
...
@@ -75,7 +75,7 @@
</div>
-->
</div>
<view
v-if=
"userms"
class=
"payment"
@
click=
"messageAndSave"
>
付款
</view>
<button
v-if=
"!userms"
class=
"payment"
style=
"border-radius: 0;"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
></button>
<button
v-if=
"!userms"
class=
"payment"
style=
"border-radius: 0;"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
付款
</button>
</div>
<show-toast
ref=
"toast"
/>
</view>
...
...
pages/mine/mine.vue
View file @
5c6616d5
...
...
@@ -69,6 +69,7 @@
</view>
</view>
<taBar
select=
"2"
></taBar>
<show-toast
ref=
"toast"
/>
</view>
</
template
>
...
...
@@ -103,11 +104,11 @@ export default {
e
.
loginInfo
=
this
.
loginInfo
User
.
getPhoneNumber
(
e
);
}
else
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:fail user deny"
)
{
uni
.
showToast
({
title
:
'已拒绝手机号授权'
,
icon
:
'error'
})
this
.
showToast
({
title
:
'已拒绝手机号授权'
,
icon
:
'error'
})
}
},
goToPage
(
page
)
{
page
==
'coupon'
&&
uni
.
showToast
({
title
:
'功能未开放!'
,
icon
:
'none'
});
page
==
'coupon'
&&
this
.
showToast
({
title
:
'功能未开放!'
,
icon
:
'none'
});
if
(
!
this
.
userms
)
{
// this.loginByPhoneNumber(page)
return
...
...
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