Commit 84abb85b authored by 李晓兵's avatar 李晓兵

'message'

parent 665708b5
<template>
<h-view id="iframTest">
<h-header class="header">
<div slot="center" class="top-word">iframTest</div>
</h-header>
<h-content>
<iframe :src="url" frameborder="0" scrolling="no" width="100%" height="100%"></iframe>
</h-content>
</h-view>
</template>
<script>
export default {
data() {
return {
url:'http://221.6.10.202:10404/app/auth/h5/index?token=5BFD2AC183F446DA881B816C2E2C8AAB'
}
},
created() {
},
activated() {
},
methods: {},
}
</script>
<style lang="less" scoped>
</style>
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
<img src="@/assets/myInfo/unSign.png" > <img src="@/assets/myInfo/unSign.png" >
<p>待签约</p> <p>待签约</p>
</div> </div>
<!-- <div class="content-wrap" @click="goConfirm"> <div class="content-wrap" @click="goConfirm">
<span :class="{'content-wrap-class-width':confirmCount>99, 'content-wrap-class':confirmCount<99}">{{ confirmCount > 99 ? '99+' : confirmCount }}</span> <span :class="{'content-wrap-class-width':confirmCount>99, 'content-wrap-class':confirmCount<99}">{{ confirmCount > 99 ? '99+' : confirmCount }}</span>
<img src="@/assets/myInfo/unConfirm.png" > <img src="@/assets/myInfo/unConfirm.png" >
<p>待确认</p> <p>待确认</p>
</div>--> </div>
<div class="content-wrap"> <div class="content-wrap">
<span :class="{'content-wrap-class-width':vedioCount>99, 'content-wrap-class':vedioCount<99}">{{ vedioCount > 99 ? '99+' : vedioCount }}</span> <span :class="{'content-wrap-class-width':vedioCount>99, 'content-wrap-class':vedioCount<99}">{{ vedioCount > 99 ? '99+' : vedioCount }}</span>
<img src="@/assets/myInfo/unFace.png" > <img src="@/assets/myInfo/unFace.png" >
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
}, },
}, },
created () { created () {
if (this.user_bp_status === 'APPROVED') { /* if (this.user_bp_status === 'APPROVED') {
this.flag = false this.flag = false
} else { } else {
this.flag = true this.flag = true
...@@ -145,12 +145,17 @@ export default { ...@@ -145,12 +145,17 @@ export default {
this.isAGENT = true this.isAGENT = true
} else { } else {
this.isAGENT = false this.isAGENT = false
} }*/
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
vm.userQuery() vm.userQuery()
vm.numQuery() vm.numQuery()
if (vm.user_bp_type === 'AGENT') {
vm.isAGENT = true
} else {
vm.isAGENT = false
}
}) })
next() next()
}, },
...@@ -170,8 +175,11 @@ export default { ...@@ -170,8 +175,11 @@ export default {
}, },
// 进入待确认,(进件确认) // 进入待确认,(进件确认)
goConfirm () { goConfirm () {
this.$router.push({ /* this.$router.push({
name: 'IntoList', name: 'IntoList',
})*/
this.$router.push({
name: 'IframTest',
}) })
}, },
// 进入我的还款 // 进入我的还款
......
...@@ -21,6 +21,7 @@ import Location from '@/pages/home/location' ...@@ -21,6 +21,7 @@ import Location from '@/pages/home/location'
// 我的 // 我的
import MyInfo from '@/pages/myInfo/my-info' import MyInfo from '@/pages/myInfo/my-info'
import IframTest from '@/pages/myInfo/iframTest'
// 我的收藏 // 我的收藏
import MyProductList from '@/pages/myProductCollection/my-product-list' import MyProductList from '@/pages/myProductCollection/my-product-list'
...@@ -237,6 +238,7 @@ export default new Router({ ...@@ -237,6 +238,7 @@ export default new Router({
{path: '/contract-records', component: ContractRecords, name: 'ContractRecords', meta: {keepAlive: true}}, {path: '/contract-records', component: ContractRecords, name: 'ContractRecords', meta: {keepAlive: true}},
{path: '/repay-detail', component: RepayDetail, name: 'RepayDetail', meta: {keepAlive: true}}, {path: '/repay-detail', component: RepayDetail, name: 'RepayDetail', meta: {keepAlive: true}},
{path: '/repay-plans', component: RepayPlans, name: 'RepayPlans', meta: {keepAlive: true}}, {path: '/repay-plans', component: RepayPlans, name: 'RepayPlans', meta: {keepAlive: true}},
{path: '/ifram-test', component: IframTest, name: 'IframTest', meta: {keepAlive: false}},
], ],
scrollBehavior (to, from, savedPosition) { scrollBehavior (to, from, savedPosition) {
if (to.hash) { if (to.hash) {
......
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