wangchenguang 2 years ago
parent b5216d833f
commit ab7d6de9fd
  1. 8
      src/pages/overviewDevHistory/index.vue
  2. 3
      vue.config.js

@ -15,15 +15,15 @@
<div class="block history"> <div class="block history">
<div class="inner"> <div class="inner">
<h2 class="wow fadeInLeft">{{ modules[1].form.title }}</h2> <h2 class="wow fadeInLeft" v-if="modules[1].form.title">{{ modules[1].form.title }}</h2>
<p class="en">{{ modules[1].form.des }}</p> <p class="en" v-if="modules[1].form.des">{{ modules[1].form.des }}</p>
<div v-if="modules[1]" class="event"> <div v-if="modules[1]" class="event">
<ul class="time"> <ul class="time" v-if="modules[1].list >=1">
<template v-for="(item, i) in modules[1].list"> <template v-for="(item, i) in modules[1].list">
<li v-if="item.isEnable" :key="i" :class="{active: curYear == i}" @click="yearClick(i)">{{ item.title }}</li> <li v-if="item.isEnable" :key="i" :class="{active: curYear == i}" @click="yearClick(i)">{{ item.title }}</li>
</template> </template>
</ul> </ul>
<div class="right"> <div class="right" v-if="modules[1].list.length >=1">
<h6 class="year">{{ modules[1].list[curYear].title }}</h6> <h6 class="year">{{ modules[1].list[curYear].title }}</h6>
<ul class="list"> <ul class="list">
<template v-for="(e, j) in modules[1].list[curYear].list"> <template v-for="(e, j) in modules[1].list[curYear].list">

@ -14,5 +14,8 @@ module.exports = {
assetsDir: Setting.assetsDir, assetsDir: Setting.assetsDir,
devServer: { devServer: {
port: 8095 // 固定端口 port: 8095 // 固定端口
},
configureWebpack: {
devtool: 'source-map'
} }
}; };
Loading…
Cancel
Save