Commit 287b34e0 authored by caimeng's avatar caimeng

我的借款跳转到WEB

parent d107982b
...@@ -182,27 +182,28 @@ export default { ...@@ -182,27 +182,28 @@ export default {
this.Go('uni:/pages/login/login') this.Go('uni:/pages/login/login')
}, },
goBar(item) { goBar(item) {
switch (item.title) { switch (item.title) {
case "我的还款": case "我的还款":
this.buryingPoint('app:my_repayment_click') this.buryingPoint('app:my_repayment_click')
this.Go('uni:/pages/web/web?src=http://ddang-h5-s.rockstect.cn/index.html#/bill', 'tab')
break; break;
case "申请记录": case "申请记录":
this.buryingPoint('app:my_application_record_click') 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; break;
default: default:
break; break;
} }
const self = this // const self = this
const token = uni.getStorageSync('token') // const token = uni.getStorageSync('token')
if (token != '') { // if (token != '') {
let newList = [] // let newList = []
newList = item.linkUrl.split(',') // newList = item.linkUrl.split(',')
self.Go(newList[0], newList[1]) // self.Go(newList[0], newList[1])
} else { // } else {
self.Go('uni:/pages/login/login') // self.Go('uni:/pages/login/login')
} // }
}, },
goTel() { goTel() {
......
...@@ -71,6 +71,7 @@ export default { ...@@ -71,6 +71,7 @@ export default {
this.wv && this.wv.evalJS(`callback({ 'action': 'OnShow' })`) this.wv && this.wv.evalJS(`callback({ 'action': 'OnShow' })`)
}, },
async onLoad(option) { async onLoad(option) {
console.log(option,'参数')
const that = this const that = this
if (option.src) { if (option.src) {
that.src = option.src that.src = option.src
......
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