Browse Source

联系我们的时间更改

master
rose 4 years ago
parent
commit
096e3d9e83
  1. 12
      src/App.vue
  2. 5
      src/components/Contact/ContactDate.vue

12
src/App.vue

@ -8,7 +8,7 @@
<template>
<a-config-provider :locale="zh_CN">
<div class="d-flex flex-row flex-nowrap" id="app">
<btn-con />
<!-- <btn-con /> -->
<router-view class="flex-1 bg pa-3"></router-view>
</div>
</a-config-provider>
@ -17,11 +17,11 @@
<script>
import { mapState, mapActions, mapMutations } from 'vuex';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
import BtnCon from 'components/BtnCom/BtnCon.vue';
// import BtnCon from 'components/BtnCom/BtnCon.vue';
export default {
name: 'App',
components: { BtnCon },
// components: { BtnCon },
data() {
return { zh_CN };
},
@ -40,9 +40,9 @@ export default {
created() {
// //
const userId = '1218763410024566784';
const params = { userId };
this.getUserId(params);
// const userId = '1218763410024566784';
// const params = { userId };
// this.getUserId(params);
const that = this;
window.plugin = window.TallPlugin.init();

5
src/components/Contact/ContactDate.vue

@ -24,7 +24,10 @@
<div>{{ record.address }}</div>
</template>
<template slot="birth" slot-scope="text, record">
<div>{{ record.birthday }}</div>
<div>
{{ $moment(+record.birthday*1000).format('YYYY-MM-DD') }}
</div>
<!-- <div>{{ record.birthday }}</div> -->
</template>
<template slot="account" slot-scope="text, record">
<div>{{ record.birthdayPlace }}</div>

Loading…
Cancel
Save