Skip to content

Commit

Permalink
Merge pull request #54 from School-of-Website-Engineering/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mason369 authored Jan 21, 2023
2 parents 7d4b1e6 + 3329e35 commit cbbf589
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 18 deletions.
27 changes: 27 additions & 0 deletions src/components/NotFound.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<template>
<div>
<div class="p404 wrap">
<div class="banxin">
<img
src="http://kumanxuan1.f3322.net:8360/static/store-pc/img/404.94e7c552.jpg"
alt="404"
/>
</div>
</div>
</div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.banxin {
display: flex;
justify-content: center;
align-items: center;
img {
width: 100%;
}
}
</style>
19 changes: 8 additions & 11 deletions src/views/Free.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<template>
<div>
asdfasedfd
</div>
<div>
<NotFound />
</div>
</template>

<script>
import NotFound from "@/components/NotFound.vue";
export default {
name: "User",
data() {
return {};
}
}
//注册404组件
components: {NotFound}
};
</script>

<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>
16 changes: 9 additions & 7 deletions src/views/Order.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<div>

</div>
<div>
<NotFound />
</div>
</template>

<script>
export default {}
import NotFound from "@/components/NotFound.vue";
export default {
//注册404组件
components: {NotFound}
};
</script>

<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

0 comments on commit cbbf589

Please sign in to comment.