Commit 51c76fb1 authored by lijiongliang's avatar lijiongliang

立即领取修改

parent 5de34c12
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
"style": { "style": {
"navigationBarTitleText": "登录" "navigationBarTitleText": "登录"
} }
},{
"path": "pages/transitionPage",
"style": {
"navigationBarTitleText": ""
}
}, },
{ {
"path": "pages/binding/binding", "path": "pages/binding/binding",
......
...@@ -213,9 +213,12 @@ ...@@ -213,9 +213,12 @@
this.carList = res.data this.carList = res.data
uni.hideLoading() uni.hideLoading()
if(res.data.length == 0){ if(res.data.length == 0){
let url = "car.m.jd.com/h5/list.html?final-action=closewebview&source=licenseprocedure" uni.navigateTo({
util.redirectToH5({page:url}) url: '/pages/transitionPage'
uni.setStorageSync('firstCoupon',true) });
// let url = "car.m.jd.com/h5/list.html?final-action=closewebview&source=licenseprocedure"
// util.redirectToH5({page:url})
// uni.setStorageSync('firstCoupon',true)
}else{ }else{
// uni.navigateTo({ // uni.navigateTo({
// url: '/pagesA/pages/index/getPrice?orderId=' + this.freeCode.id // url: '/pagesA/pages/index/getPrice?orderId=' + this.freeCode.id
......
<template>
</template>
<script>
import util from '@/pages/login/util.js';
export default {
data(){
return {
}
},
onLoad(){
let url = "car.m.jd.com/h5/list.html?final-action=closewebview&source=licenseprocedure"
util.redirectToH5({page:url})
uni.setStorageSync('firstCoupon',true)
}
}
</script>
<style>
</style>
\ No newline at end of file
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