修改html标签为uni标签,修改rem单位为rpx,修改提示及确认为uniapi,修改登录模块为uni接口,修改css入口为APP.vue,增加app端样式支持
This commit is contained in:
@ -1,59 +1,55 @@
|
||||
<template>
|
||||
<div class="not-defined">
|
||||
<img :src="$VUE_APP_RESOURCES_URL+'/images/404.png'" />
|
||||
|
||||
<div class="content">
|
||||
<h3 class="title">页面未找到</h3>
|
||||
<span
|
||||
>抱歉!您访问的页面不存在,请返回上一级或点击下方按钮返回首页...</span
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="btn" @click="homeGo()">
|
||||
返回首页
|
||||
</div>
|
||||
</div>
|
||||
<view class="not-defined">
|
||||
<image :src="$VUE_APP_RESOURCES_URL+'/images/404.png'" />
|
||||
<view class="content">
|
||||
<h3 class="title">页面未找到</h3>
|
||||
<text>抱歉!您访问的页面不存在,请返回上一级或点击下方按钮返回首页...</text>
|
||||
</view>
|
||||
<view class="btn" @click="homeGo()">
|
||||
返回首页
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "NotDefined",
|
||||
methods: {
|
||||
homeGo() {
|
||||
this.$yrouter.switchTab('/pages/home/index');
|
||||
export default {
|
||||
name: "NotDefined",
|
||||
methods: {
|
||||
homeGo() {
|
||||
this.$yrouter.switchTab('/pages/home/index');
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.not-defined img {
|
||||
width: 100%;
|
||||
margin-top: 18%;
|
||||
}
|
||||
.not-defined image{
|
||||
width: 100%;
|
||||
margin-top: 18%;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 1rem;
|
||||
text-align: center;
|
||||
color: #44405e;
|
||||
font-size: 15px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 1rem;
|
||||
text-align: center;
|
||||
color: #44405e;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-bottom: 0.6rem;
|
||||
color: #302c48;
|
||||
font-size: 20px;
|
||||
}
|
||||
.title {
|
||||
margin-bottom: 0.6rem;
|
||||
color: #302c48;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
color: #fff;
|
||||
background-color: #ef4c4c;
|
||||
font-size: 16px;
|
||||
padding: 0.16rem;
|
||||
border-radius: 25px;
|
||||
text-align: center;
|
||||
width: 2.4rem;
|
||||
margin: 0 auto;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.btn {
|
||||
color: #fff;
|
||||
background-color: #ef4c4c;
|
||||
font-size: 16px;
|
||||
padding: 0.16rem;
|
||||
border-radius: 25px;
|
||||
text-align: center;
|
||||
width: 2.4rem;
|
||||
margin: 0 auto;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user