mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 04:36:31 +08:00
refactor(result): 移除i18n相关
This commit is contained in:
parent
85d5860c5e
commit
20f6c4bf19
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<result title="403 Forbidden" :tip="$t('pages.result.403.tips')">
|
<result title="403 Forbidden" tip="抱歉,您无权限访问此页面,企业微信联系创建者xiaolaoshi">
|
||||||
<t-button @click="() => $router.push('/')">{{ $t('pages.result.403.back') }}</t-button>
|
<t-button @click="() => $router.push('/')">返回首页</t-button>
|
||||||
</result>
|
</result>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<result title="404 Not Found" :tip="$t('pages.result.404.subtitle')" type="404">
|
<result title="404 Not Found" tip="抱歉,您访问的页面不存在" type="404">
|
||||||
<t-button @click="() => $router.push('/')">{{ $t('pages.result.404.back') }}</t-button>
|
<t-button @click="() => $router.push('/')">返回首页</t-button>
|
||||||
</result>
|
</result>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<result title="500 Internal Server Error" type="500" :tip="$t('pages.result.500.subtitle')">
|
<result title="500 Internal Server Error" type="500" tip="抱歉,服务器出错啦">
|
||||||
<t-button @click="() => $router.push('/')">{{ $t('pages.result.500.back') }}</t-button>
|
<t-button @click="() => $router.push('/')">返回首页</t-button>
|
||||||
</result>
|
</result>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<result
|
<result title="浏览器不兼容" type="ie" tip="抱歉,您正在使用的浏览器版本过低,无法打开当前网页。">
|
||||||
:title="$t('pages.result.browserIncompatible.title')"
|
|
||||||
type="ie"
|
|
||||||
:tip="$t('pages.result.browserIncompatible.subtitle')"
|
|
||||||
>
|
|
||||||
<div class="result-slot-container">
|
<div class="result-slot-container">
|
||||||
<t-button class="result-button" @click="() => $router.push('/')">{{
|
<t-button class="result-button" @click="() => $router.push('/')">返回首页</t-button>
|
||||||
$t('pages.result.browserIncompatible.back')
|
|
||||||
}}</t-button>
|
|
||||||
<div class="recommend-container">
|
<div class="recommend-container">
|
||||||
<div>{{ $t('pages.result.browserIncompatible.recommend') }}</div>
|
<div>TDesign Starter 推荐以下主流浏览器</div>
|
||||||
<div class="recommend-browser">
|
<div class="recommend-browser">
|
||||||
<div>
|
<div>
|
||||||
<thumbnail class="browser-icon" url="https://tdesign.gtimg.com/starter/result-page/chorme.png" />
|
<thumbnail class="browser-icon" url="https://tdesign.gtimg.com/starter/result-page/chorme.png" />
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="result-success">
|
<div class="result-success">
|
||||||
<t-icon class="result-success-icon" name="error-circle" />
|
<t-icon class="result-success-icon" name="error-circle" />
|
||||||
<div class="result-success-title">{{ $t('pages.result.fail.title') }}</div>
|
<div class="result-success-title">项目创建失败</div>
|
||||||
<div class="result-success-describe">{{ $t('pages.result.fail.subtitle') }}</div>
|
<div class="result-success-describe">企业微信联系检查创建者权限,或返回修改</div>
|
||||||
<div>
|
<div>
|
||||||
<t-button theme="default" @click="() => $router.push('/dashboard/base')">{{
|
<t-button theme="default" @click="() => $router.push('/dashboard/base')">返回首页</t-button>
|
||||||
$t('pages.result.fail.back')
|
<t-button @click="() => $router.push('/form/base')">返回修改</t-button>
|
||||||
}}</t-button>
|
|
||||||
<t-button @click="() => $router.push('/form/base')">{{ $t('pages.result.fail.modify') }} </t-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<result
|
<result title="系统维护中" tip="系统维护中,请稍后再试" type="maintenance">
|
||||||
:title="$t('pages.result.maintenance.title')"
|
<t-button theme="primary" @click="() => $router.push('/')">返回首页</t-button>
|
||||||
:tip="$t('pages.result.maintenance.subtitle')"
|
|
||||||
type="maintenance"
|
|
||||||
>
|
|
||||||
<t-button theme="primary" @click="() => $router.push('/')">{{ $t('pages.result.maintenance.back') }}</t-button>
|
|
||||||
</result>
|
</result>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<result :title="$t('pages.result.networkError.title')" :tip="$t('pages.result.networkError.subtitle')" type="wifi">
|
<result title="网络异常" tip="网络异常,请稍后再试" type="wifi">
|
||||||
<div>
|
<div>
|
||||||
<t-button theme="default" @click="() => $router.push('/')">{{ $t('pages.result.networkError.back') }}</t-button>
|
<t-button theme="default" @click="() => $router.push('/')">返回首页</t-button>
|
||||||
<t-button @click="() => $router.push('/')">{{ $t('pages.result.networkError.reload') }}</t-button>
|
<t-button @click="() => $router.push('/')">重新加载</t-button>
|
||||||
</div>
|
</div>
|
||||||
</result>
|
</result>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="result-success">
|
<div class="result-success">
|
||||||
<t-icon class="result-success-icon" name="check-circle" />
|
<t-icon class="result-success-icon" name="check-circle" />
|
||||||
<div class="result-success-title">{{ $t('pages.result.success.title') }}</div>
|
<div class="result-success-title">项目已创建成功</div>
|
||||||
<div class="result-success-describe">{{ $t('pages.result.success.subtitle') }}</div>
|
<div class="result-success-describe">可以联系负责人分发应用</div>
|
||||||
<div>
|
<div>
|
||||||
<t-button theme="default" @click="() => $router.push('/detail/advanced')">
|
<t-button theme="default" @click="() => $router.push('/detail/advanced')"> 查看进度 </t-button>
|
||||||
{{ $t('pages.result.success.progress') }}
|
<t-button @click="() => $router.push('/form/base')"> 返回首页 </t-button>
|
||||||
</t-button>
|
|
||||||
<t-button @click="() => $router.push('/dashboard/base')"> {{ $t('pages.result.success.back') }} </t-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user