Commit 287b34e0 authored by caimeng's avatar caimeng

我的借款跳转到WEB

parent d107982b
......@@ -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() {
......
......@@ -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
......
This diff is collapsed.
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