Compare commits
No commits in common. "14f82809f685dc9d54f02476b1ba5dbfde305f86" and "c53f72be5e830b36139d7dfc3d75f316e2e97273" have entirely different histories.
14f82809f6
...
c53f72be5e
|
@ -6,31 +6,16 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, ref, watch, defineProps } from 'vue'
|
import { reactive, ref, watch, defineProps } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { useStore } from 'vuex'
|
|
||||||
const store = useStore()
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
console.log('router------------>', router)
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
textColor: { type: String, default: '' },
|
textColor: { type: String, default: '' },
|
||||||
})
|
})
|
||||||
|
|
||||||
const previousPage = () => {
|
const previousPage = () => {
|
||||||
// debugger
|
|
||||||
// let a =store.state.previousRouter
|
|
||||||
// if (store.state.previousRouter.name) {
|
|
||||||
// this.$router.push({name: this.$store.state.previousRouter.name});
|
|
||||||
// }
|
|
||||||
// // let val = router.go(-1)
|
|
||||||
|
|
||||||
window.history.go(-1)
|
window.history.go(-1)
|
||||||
}
|
}
|
||||||
// router.beforeEach((to, from, next) => {
|
|
||||||
// debugger
|
|
||||||
// // console.log('跳转路由=========>', to, from, next)
|
|
||||||
// document.documentElement.scrollTop = 0
|
|
||||||
// document.body.scrollTop = 0
|
|
||||||
// next()
|
|
||||||
// })
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-row-center">
|
<div class="flex-row-center">
|
||||||
<div class="bg cjtd">
|
<div class="bg cjtd">
|
||||||
<img :preview="false" :src="bgImg" />
|
<a-image :preview="false" :src="bgImg" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content" style="margin-left: 0.5rem">
|
<div class="content" style="margin-left: 0.5rem">
|
||||||
|
@ -562,10 +562,6 @@
|
||||||
background: url('~@/assets/home/fn/cjtd.png') no-repeat;
|
background: url('~@/assets/home/fn/cjtd.png') no-repeat;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
.cjtd img{
|
|
||||||
width:100%;
|
|
||||||
height:100%
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
Loading…
Reference in New Issue