This commit is contained in:
syuilo 2018-03-03 14:25:36 +09:00
parent 87d17517f3
commit 12f472b3fc
6 changed files with 19 additions and 11 deletions

View File

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

View File

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

View File

@ -19,7 +19,7 @@
</label> </label>
<label class="ui from group"> <label class="ui from group">
<p>%i18n:desktop.tags.mk-profile-setting.birthday%</p> <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> </label>
<button class="ui primary" @click="save">%i18n:desktop.tags.mk-profile-setting.save%</button> <button class="ui primary" @click="save">%i18n:desktop.tags.mk-profile-setting.save%</button>
<section> <section>

View File

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

View File

@ -6,10 +6,24 @@ import Vue from 'vue';
import VueRouter from 'vue-router'; import VueRouter from 'vue-router';
import VModal from 'vue-js-modal'; import VModal from 'vue-js-modal';
import Element from 'element-ui'; 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(VueRouter);
Vue.use(VModal); Vue.use(VModal);
Vue.use(Element); Vue.use(Element, { locale: elementLocale });
// Register global directives // Register global directives
require('./common/views/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! * APP ENTRY POINT!
*/ */

View File

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