删除多国语言配置,但是保留多国语功能

Former-commit-id: 0bc3afb90e0f6c085a680e39880f975717793b09 [formerly 0bc3afb90e0f6c085a680e39880f975717793b09 [formerly 0bc3afb90e0f6c085a680e39880f975717793b09 [formerly 0bc3afb90e0f6c085a680e39880f975717793b09 [formerly ec04dd1ed71e3ab98007073168daae880ad6bc9a [formerly 27f3e5cbfae961450c4738a9bc7aaa0e87d983bd]]]]]
Former-commit-id: fcfaf06a9d9c9422931b9c6d0e58dcf5f2e0e9fe
Former-commit-id: 1507dac206b02e590a62c343404760c4a10e1163
Former-commit-id: d32f3aa5207b09bcc61530258da7d285a7aca5e8 [formerly 7b9d2763618e82332e7348268bdbec79fd6b324f]
Former-commit-id: 671052ad6a2d10a151f0befa1020be7b21890553
Former-commit-id: 7096b9fa103901dd06b437b5b692cf85ecb35f2f
Former-commit-id: f1a6fbab21e2ecdf9752c8c4116b44c43d568bca
Former-commit-id: 6fa9f1a3a296b50663854ec2c2089fe78b392f29
Former-commit-id: 99e9372f7be157d28e3977584a5281d991a5264c
This commit is contained in:
FairyEver
2019-08-12 22:19:54 +08:00
parent b4e4df3917
commit 1f7c043dc5
23 changed files with 206 additions and 1104 deletions

View File

@@ -2,45 +2,45 @@
<div>
<el-button type="primary" @click="dialogVisible = true" plain round>
<d2-icon name="question-circle-o" class="d2-mr-5"/>
{{ $t('views.system.index.help.button') }}
需要帮助吗
</el-button>
<el-dialog
:title="$t('views.system.index.help.dialog.title')"
title="帮助"
width="600px"
:visible.sync="dialogVisible"
:append-to-body="true">
<div style="margin-top: -25px;">
<h2 class="d2-mt-0">
{{ $t('views.system.index.help.dialog.sub-title.doc') }}
这里有一些参考资料
</h2>
<el-button-group>
<el-button @click="$open('https://doc.d2admin.fairyever.com/zh/')">
<d2-icon name="book" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.doc') }}
文档
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues?q=is%3Aissue+is%3Aclosed')">
<d2-icon name="question" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.issues') }}
历史提问
</el-button>
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues/new/choose')">
<d2-icon name="plus" class="d2-mr-5"/>
{{ $t('views.system.index.help.dialog.link.text.new-issue') }}
提交问题
</el-button>
</el-button-group>
<h2>{{ $t('views.system.index.help.dialog.sub-title.join') }}</h2>
<h2>询问其它使用者或作者</h2>
<el-row :gutter="20">
<el-col :span="12">
<img src="./image/qq.png" style="width: 100%;">
<div class="d2-help--qr-info">
{{ $t('views.system.index.help.dialog.join.qq.title') }}<br/>
{{ $t('views.system.index.help.dialog.join.qq.sub-title') }}
请使用手机 QQ 扫面上方二维码<br/>
加入 2000 人用户大群共同交流
</div>
</el-col>
<el-col :span="12">
<img src="./image/we.png" style="width: 100%;">
<div class="d2-help--qr-info">
{{ $t('views.system.index.help.dialog.join.we.title') }}<br/>
{{ $t('views.system.index.help.dialog.join.we.sub-title') }}
请使用手机微信扫面上方二维码<br/>
添加作者微信好友邀请加入微信群
</div>
</el-col>
</el-row>

View File

@@ -3,15 +3,15 @@
<div class="d2-page-cover__logo">
<slot/>
</div>
<p class="d2-page-cover__title">{{ $t('views.system.index.cover.title') }} {{$version}}</p>
<p class="d2-page-cover__sub-title">{{ $t('views.system.index.cover.sub-title') }}</p>
<p class="d2-page-cover__build-time">{{ $t('views.system.index.cover.build-time') }} {{$buildTime}}</p>
<p class="d2-page-cover__title">D2 Admin {{$version}}</p>
<p class="d2-page-cover__sub-title">优雅的中后台集成方案</p>
<p class="d2-page-cover__build-time">FINAL BUILD TIME {{$buildTime}}</p>
<slot name="footer"/>
<a target="blank" href="https://github.com/d2-projects/d2-admin">
<img
style="position: absolute; top: 0; right: 0; border: 0; width: 150px;"
src="./image/darkblue@2x.png"
:alt="$t('views.system.index.cover.github-fork-alt')">
alt="Fork me on GitHub">
</a>
</div>
</template>
@@ -33,22 +33,17 @@
margin: 0px;
margin-bottom: 20px;
font-weight: bold;
font-size: 16px;
line-height: 16px;
color: $color-text-main;
}
.d2-page-cover__sub-title {
margin: 0px;
margin-bottom: 10px;
font-size: 14px;
line-height: 14px;
margin-bottom: 5px;
color: $color-text-normal;
}
.d2-page-cover__build-time {
margin: 0px;
margin-bottom: 10px;
font-size: 12px;
line-height: 12px;
color: $color-text-placehoder;
}
}

View File

@@ -5,32 +5,32 @@
<template slot="footer">
<div class="btn-group">
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects')">
{{ $t('views.system.index.page.link.text.d2-projects') }}
开源组织
</span> |
<span class="btn-group__btn" @click="$open($t('views.system.index.page.link.href.doc'))">
{{ $t('views.system.index.page.link.text.doc') }}
<span class="btn-group__btn" @click="$open('https://doc.d2admin.fairyever.com/zh/')">
文档
</span> |
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects/d2-admin-start-kit')">
{{ $t('views.system.index.page.link.text.start-kit') }}
简化版
</span> |
<span class="btn-group__btn" @click="$open('https://alibaba.github.io/ice/scaffold?type=vue')">
{{ $t('views.system.index.page.link.text.ice') }}
飞冰
</span> |
<span class="btn-group__btn" @click="$open('https://juejin.im/user/57a48b632e958a006691b946/posts')">
{{ $t('views.system.index.page.link.text.juejin') }}
掘金
</span> |
<span class="btn-group__btn" @click="$open('https://daily.fairyever.com')">
{{ $t('views.system.index.page.link.text.daily') }}
日报
</span> |
<el-popover :width="172" trigger="hover">
<p class="d2-mt-0 d2-mb-10">{{ $t('views.system.index.page.we.title') }}</p>
<p class="d2-mt-0 d2-mb-10">今日前端</p>
<img src="./image/qr@2x.png" style="width: 172px;">
<span slot="reference" class="btn-group__btn btn-group__btn--link">
<d2-icon name="weixin"/>
{{ $t('views.system.index.page.we.button') }}
微信公众号
</span>
<p style="font-size: 12px; margin-top: 0px; margin-bottom: 0px;">
{{ $t('views.system.index.page.we.introduce') }}
官方公众号主要推送前端技术类文章框架资源学习教程以及 D2 系列项目更新信息
</p>
</el-popover>
</div>