Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uni-app-ddh-shop
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
zhanhai
uni-app-ddh-shop
Commits
287b34e0
Commit
287b34e0
authored
Oct 12, 2024
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的借款跳转到WEB
parent
d107982b
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1178 additions
and
1177 deletions
+1178
-1177
index.vue
pages/my/index.vue
+11
-10
web.vue
pages/web/web.vue
+1
-0
app-service.js
unpackage/dist/dev/app-plus/app-service.js
+1166
-1167
No files found.
pages/my/index.vue
View file @
287b34e0
...
...
@@ -182,27 +182,28 @@ export default {
this
.
Go
(
'uni:/pages/login/login'
)
},
goBar
(
item
)
{
switch
(
item
.
title
)
{
case
"我的还款"
:
this
.
buryingPoint
(
'app:my_repayment_click'
)
this
.
Go
(
'uni:/pages/web/web?src=http://ddang-h5-s.rockstect.cn/index.html#/bill'
,
'tab'
)
break
;
case
"申请记录"
:
this
.
buryingPoint
(
'app:my_application_record_click'
)
this
.
Go
(
'uni:/pages/web/web?src=http://ddang-h5-s.rockstect.cn/index.html#/loanRecord'
,
'tab'
)
break
;
default
:
break
;
}
const
self
=
this
const
token
=
uni
.
getStorageSync
(
'token'
)
if
(
token
!=
''
)
{
let
newList
=
[]
newList
=
item
.
linkUrl
.
split
(
','
)
self
.
Go
(
newList
[
0
],
newList
[
1
])
}
else
{
self
.
Go
(
'uni:/pages/login/login'
)
}
//
const self = this
//
const token = uni.getStorageSync('token')
//
if (token != '') {
//
let newList = []
//
newList = item.linkUrl.split(',')
//
self.Go(newList[0], newList[1])
//
} else {
//
self.Go('uni:/pages/login/login')
//
}
},
goTel
()
{
...
...
pages/web/web.vue
View file @
287b34e0
...
...
@@ -71,6 +71,7 @@ export default {
this
.
wv
&&
this
.
wv
.
evalJS
(
`callback({ 'action': 'OnShow' })`
)
},
async
onLoad
(
option
)
{
console
.
log
(
option
,
'参数'
)
const
that
=
this
if
(
option
.
src
)
{
that
.
src
=
option
.
src
...
...
unpackage/dist/dev/app-plus/app-service.js
View file @
287b34e0
This diff is collapsed.
Click to expand it.
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