This commit is contained in:
syuilo 2018-03-03 14:25:36 +09:00
parent 741725ea5b
commit 3e092a4211
6 changed files with 19 additions and 11 deletions

View file

@ -123,6 +123,7 @@ export default Vue.extend({
> button
margin 0 8px
padding 0
@media (max-width 600px)
> header

View file

@ -88,7 +88,7 @@ export default Vue.extend({
.mk-switch
display flex
margin 8px 0
margin 12px 0
cursor pointer
transition all 0.3s

View file

@ -19,7 +19,7 @@
</label>
<label class="ui from group">
<p>%i18n:desktop.tags.mk-profile-setting.birthday%</p>
<input v-model="birthday" type="date" class="ui"/>
<el-date-picker v-model="birthday" type="date" value-format="yyyy-MM-dd"/>
</label>
<button class="ui primary" @click="save">%i18n:desktop.tags.mk-profile-setting.save%</button>
<section>

View file

@ -38,7 +38,7 @@
</el-option-group>
</el-select>
<div class="none ui info">
<p>%fa:inffo-circle%変更はページの再度読み込み後に反映されます</p>
<p>%fa:info-circle%変更はページの再度読み込み後に反映されます</p>
</div>
</section>

View file

@ -6,10 +6,24 @@ import Vue from 'vue';
import VueRouter from 'vue-router';
import VModal from 'vue-js-modal';
import Element from 'element-ui';
import ElementLocaleEn from 'element-ui/lib/locale/lang/en';
import ElementLocaleJa from 'element-ui/lib/locale/lang/ja';
import App from './app.vue';
import checkForUpdate from './common/scripts/check-for-update';
import MiOS, { API } from './common/mios';
import { version, host, lang } from './config';
let elementLocale;
switch (lang) {
case 'ja': elementLocale = ElementLocaleJa; break;
case 'en': elementLocale = ElementLocaleEn; break;
default: elementLocale = ElementLocaleEn; break;
}
Vue.use(VueRouter);
Vue.use(VModal);
Vue.use(Element);
Vue.use(Element, { locale: elementLocale });
// Register global directives
require('./common/views/directives');
@ -29,12 +43,6 @@ Vue.mixin({
}
});
import App from './app.vue';
import checkForUpdate from './common/scripts/check-for-update';
import MiOS, { API } from './common/mios';
import { version, host, lang } from './config';
/**
* APP ENTRY POINT!
*/

View file

@ -16,7 +16,6 @@ textarea
button
margin 0
padding 0
background transparent
border none
cursor pointer