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
375c54ba
Commit
375c54ba
authored
Oct 23, 2024
by
ly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多典花1.0.3
parent
97292881
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
19 deletions
+32
-19
index.vue
pages/index/index.vue
+1
-1
index.vue
pages/my/index.vue
+1
-0
websrc.vue
pages/websrc/websrc.vue
+13
-1
app-service.js
unpackage/dist/dev/app-plus/app-service.js
+17
-17
No files found.
pages/index/index.vue
View file @
375c54ba
pages/my/index.vue
View file @
375c54ba
...
...
@@ -211,6 +211,7 @@ export default {
case
"我的还款"
:
this
.
buryingPoint
(
'app:my_repayment_click'
)
// const url='http://192.168.0.23:8080/#/'
// const url='https://m.jqtianxia.cn/channel/index.html#/?creditNo=CN_NFIICZ55_WMP_2024061700003468'
newPath
=
this
.
HUrl
+
item
.
linkUrl
uni
.
navigateTo
({
url
:
`/pages/web/websrc?url=
${
newPath
}
`
...
...
pages/websrc/websrc.vue
View file @
375c54ba
...
...
@@ -26,11 +26,23 @@
},
onLoad
(
options
){
const
that
=
this
// console.log(options,'options')
that
.
src
=
decodeURIComponent
(
options
.
src
)
let
pages
=
getCurrentPages
();
let
page
=
pages
[
pages
.
length
-
1
];
let
currentWebView
=
page
.
$getAppWebview
();
// // #ifdef APP-PLUS
// var wv = plus.webview.create('', 'custom-webview', {
// plusrequire: 'none', //禁止远程网页使用plus的API
// 'uni-app': 'none', //不加载uni-app渲染层框架,避免样式冲突
// top: uni.getSystemInfoSync().statusBarHeight + 44 //放置在titleNView下方。
// });
// wv.loadURL(options);//加载url
// let pages = getCurrentPages();//获取当前页面栈的实例
// let currentPage = pages[pages.length - 1]; // 上一页
// var currentWebview = currentPage.$getAppWebview();//获取当前页面的webview对象实例
// currentWebview.append(wv);//Webview窗口中添加子窗口
// // #endif
},
methods
:
{
...
...
unpackage/dist/dev/app-plus/app-service.js
View file @
375c54ba
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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