Commit 375c54ba authored by ly's avatar ly

多典花1.0.3

parent 97292881
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
let type; let type;
platform === "android" ? (type = "ANDROID") : (type = "IOS"); platform === "android" ? (type = "ANDROID") : (type = "IOS");
self.$request(`/pawn/setting/other/appVersion/${type}`, 'GET').then(res => { self.$request(`/pawn/setting/other/appVersion/${type}`, 'GET').then(res => {
if (res.success == true) { if (res.success == true) {
const response = res.result.data; const response = res.result.data;
if (appVersion < response.versionName) { if (appVersion < response.versionName) {
......
...@@ -211,6 +211,7 @@ export default { ...@@ -211,6 +211,7 @@ export default {
case "我的还款": case "我的还款":
this.buryingPoint('app:my_repayment_click') this.buryingPoint('app:my_repayment_click')
// const url='http://192.168.0.23:8080/#/' // 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 newPath=this.HUrl+item.linkUrl
uni.navigateTo({ uni.navigateTo({
url:`/pages/web/websrc?url=${newPath}` url:`/pages/web/websrc?url=${newPath}`
......
...@@ -26,11 +26,23 @@ ...@@ -26,11 +26,23 @@
}, },
onLoad(options){ onLoad(options){
const that=this const that=this
// console.log(options,'options')
that.src=decodeURIComponent(options.src) that.src=decodeURIComponent(options.src)
let pages = getCurrentPages(); let pages = getCurrentPages();
let page = pages[pages.length - 1]; let page = pages[pages.length - 1];
let currentWebView = page.$getAppWebview(); 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: { methods: {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment