jhzh
2024-05-15 c57f75664da5f522e6824023af7e5c8fbe8ed38b
src/page/home/newPage.vue
@@ -1,16 +1,12 @@
<template>
  <div :class="` ${$state.theme === 'red' ? 'red-theme' : 'black-theme'}`"  class="new-page">
    <div class="head">
      <mt-header fixed :title="$t('hj238')">
        <router-link to="/home" slot="left">
          <mt-button icon="back"></mt-button>
        </router-link>
      </mt-header>
    <!-- <div class="head"> -->
      <!-- <view>{{ $t('hj238') }}</view> -->
    </div>
    <!-- </div> -->
    <div class="newsTop">
      <div class="newsTitle">{{list.title}}</div>
      <div class="newDetail-tits">{{ list.addTime| gettime}}</div>
      <div class="newDetail-tits">{{ list.showTime| gettime}}</div>
    </div>
    <div class="newsDetail">
      <div>{{list.content}}</div>
@@ -74,7 +70,7 @@
        c = '0' + c
      }
      // 17:35:2922-06-2022
      return y + '-' + mm + '-' + d + ' ' + h + ':' + m + ':' + c
      return d + '-' + mm + '-' + y + ' ' + h + ':' + m + ':' + c
    }
  }