Commit c73ce184 authored by yimj's avatar yimj

Merge branch 'develop' of gitlab.ilaihua.com:laihua-web/laihua-toolkit into develop

# Conflicts:
#	src/router/index.js
parents b6414844 5b710273
<template>
<div class="comp-rightpanel">
rightpanel
<router-view name="panel"></router-view>
</div>
</template>
......
<template>
<div>
screenshotPanel
</div>
</template>
<script>
export default {
data() {
return {}
},
created() {},
mounted() {}
}
</script>
<style></style>
......@@ -4,6 +4,7 @@
<router-link to="/about">About</router-link>
<router-link to="/cutter">cutter</router-link>
<router-link to="/bao2">bao2</router-link>
<router-link to="/screenshot">screenshot</router-link>
</div>
</template>
......
import Vue from 'vue'
import VueRouter from 'vue-router'
import Bao3 from '../views/bao3.vue'
import Screenshot from '../views/screenshot.vue'
import screenshotPanel from '../components/rightPanel/screenshotPanel.vue'
Vue.use(VueRouter)
......@@ -27,6 +29,13 @@ const routes = [
path: '/videoConverter',
name: 'VideoConverter',
component: () => import(/* webpackChunkName: "bao2" */ '../views/videoConverter.vue')
},
{
path: '/screenshot',
components: {
default: Screenshot,
panel: screenshotPanel
}
}
]
......
<template>
<div class="screenshot">screenshot view</div>
</template>
<script>
export default {
name: 'Screenshot',
data() {
return {}
},
created() {},
mounted() {}
}
</script>
<style lang="scss" scoped>
.screenshot {
width: 100%;
height: 100%;
margin: 30px;
}
</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