style:增加扫码跳转提示页面

This commit is contained in:
wyx
2023-03-29 09:49:21 +08:00
parent 2ef00f0d07
commit 7846df5124
4 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<template>
<el-result icon="success" title="签到异常" sub-title="请联系管理员">
<el-result icon="error" title="签到异常" sub-title="请联系管理员">
<template #extra>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>

View File

@@ -7,7 +7,7 @@
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<el-result icon="success" title="签到异常" sub-title="您不在此课程中">
<el-result icon="error" title="签到异常" sub-title="您不在此课程中">
<template #extra>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>

View File

@@ -0,0 +1,22 @@
<!--
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2023-03-09 17:56:39
* @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2023-03-17 17:41:43
* @FilePath: /stu_h5/src/views/sign/signTime.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<el-result icon="error" title="签到异常" sub-title="任务暂未开放无法签到">
<template #extra>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>
</el-result>
</template>
<script setup>
function toIndex() {
window.location.href =
window.location.protocol + import.meta.env.VITE_BOE_HOME;
}
</script>

View File

@@ -7,7 +7,7 @@
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<el-result icon="success" title="签到异常" sub-title="未在签到时间范围内">
<el-result icon="error" title="签到异常" sub-title="未在签到时间范围内">
<template #extra>
<el-button type="primary" @click="toIndex">返回首页</el-button>
</template>