Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
f88c8861
Commit
f88c8861
authored
Apr 13, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备分期
parent
f10ceec0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
util.js
common/util.js
+8
-0
checkstand.vue
pages/checkstand/checkstand.vue
+6
-3
No files found.
common/util.js
View file @
f88c8861
...
...
@@ -29,4 +29,12 @@ export function getNavigationBarTitle() {
}
}
return
undefined
;
}
export
function
isWeixin
(){
if
(
/MicroMessenger/
.
test
(
window
.
navigator
.
userAgent
))
{
return
true
;
}
else
{
return
false
;
}
}
\ No newline at end of file
pages/checkstand/checkstand.vue
View file @
f88c8861
...
...
@@ -47,7 +47,7 @@
</view>
<text
:class=
"type ===1 ? 'check' : 'uncheck'"
></text>
</view>
<view
class=
"flex pay_item pay_item_other"
@
click=
"handleSelect(2)"
>
<view
v-if=
"isWx"
class=
"flex pay_item pay_item_other"
@
click=
"handleSelect(2)"
>
<view
class=
"flex"
>
<text
class=
"pay_methods_icon weixin"
></text>
<view>
...
...
@@ -56,7 +56,7 @@
</view>
<text
:class=
"type === 2 ? 'check' : 'uncheck'"
></text>
</view>
<view
class=
"flex pay_item pay_item_other"
@
click=
"handleSelect(3)"
>
<view
v-if=
"!isWx"
class=
"flex pay_item pay_item_other"
@
click=
"handleSelect(3)"
>
<view
class=
"flex"
>
<text
class=
"pay_methods_icon alipay"
></text>
<view>
...
...
@@ -74,17 +74,20 @@
<
script
>
import
TopBar
from
'@/components/TopBar/TopBar.vue'
;
import
uniPopup
from
"@/components/uni-popup/uni-popup.vue"
;
import
{
isWeixin
}
from
'../../common/util.js'
;
export
default
{
data
()
{
return
{
data
:
{},
type
:
1
,
order_price
:
''
,
money
:
''
money
:
''
,
isWx
:
false
}
},
onLoad
(){
this
.
loadData
();
this
.
isWx
=
isWeixin
();
},
methods
:
{
loadData
(){
...
...
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