Commit 909010af authored by caixingbing's avatar caixingbing

*

parent 059355e5
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
}, },
iconName() { iconName() {
return function(val) { return function(val) {
console.log('svg:::',val)
let svgIcon = val.meta.icon, currentIcon = '' let svgIcon = val.meta.icon, currentIcon = ''
let icon = this.isActive(val) ? svgIcon+'Tags' : svgIcon+'Tag' let icon = this.isActive(val) ? svgIcon+'Tags' : svgIcon+'Tag'
if (!svgIcon) { if (!svgIcon) {
......
...@@ -104,7 +104,7 @@ export const constantRoutes = [ ...@@ -104,7 +104,7 @@ export const constantRoutes = [
path: 'party-b', path: 'party-b',
component: () => import('@/views/detail/party-b/index'), component: () => import('@/views/detail/party-b/index'),
name: 'PartyB', name: 'PartyB',
meta: { title: '已方详情', icon: 'users' } meta: { title: '已方详情', icon: 'user' }
} }
] ]
}, },
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
this.companyId = this.encodeStr(window.atob(this.$route.query.companyId)) this.companyId = this.encodeStr(window.atob(this.$route.query.companyId))
this.src = `https://pre-plug.jiansheku.com/enterprise/${this.companyId}?token=${this.token}` this.src = `https://pre-plug.jiansheku.com/enterprise/${this.companyId}?token=${this.token}`
} }
// 示例传参:?companyId=window.btoa('12306') // 示例传参:?companyId=window.btoa('6034')
}, },
mounted() { mounted() {
this.getInframeHight() // 实时控制iframe高度 this.getInframeHight() // 实时控制iframe高度
...@@ -111,5 +111,7 @@ export default { ...@@ -111,5 +111,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-container{
padding: 0;
}
</style> </style>
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