浏览代码

del lock

master
chutingting 1年前
父节点
当前提交
6ad540f83c
共有 4 个文件被更改,包括 9 次插入34168 次删除
  1. +0
    -34131
      package-lock.json
  2. +0
    -32
      src/router/index.js
  3. +8
    -4
      src/views/home/index.vue
  4. +1
    -1
      src/views/information/index.vue

+ 0
- 34131
package-lock.json
文件差异内容过多而无法显示
查看文件


+ 0
- 32
src/router/index.js 查看文件

@@ -12,38 +12,6 @@ const routes = [
{
path: '',
component: home
// children: [
// {
// path: '',
// name: 'reveal',
// component: reveal
// },
// {
// path: '/observationDataQuery',
// name: 'observationDataQuery',
// component: () => import(/* webpackChunkName: "observationDataQuery" */ '../views/observation/index.vue')
// },
// {
// path: '/forecast',
// name: 'forecast',
// component: () => import(/* webpackChunkName: "forecast" */ '../views/forecast/index.vue')
// },
// {
// path: '/otherforecast',
// name: 'otherforecast',
// component: () => import(/* webpackChunkName: "otherforecast" */ '../views/otherforecast/index.vue')
// },
// {
// path: '/examine',
// name: 'examine',
// component: () => import(/* webpackChunkName: "examine" */ '../views/examine/index.vue')
// },
// {
// path: '/diagnosis',
// name: 'diagnosis',
// component: () => import(/* webpackChunkName: "diagnosis" */ '../views/diagnosis/index.vue')
// }
// ]
},
{
path: '/information',


+ 8
- 4
src/views/home/index.vue 查看文件

@@ -20,7 +20,7 @@
<p class="content">{{ hotList.right[index].content }}</p>
</div>
<div class="btn">
<el-button plain class="more" size="small">MORE</el-button>
<el-button plain class="more" size="small" @click="routerToCar">MORE</el-button>
</div>
</div>
</el-carousel-item>
@@ -47,12 +47,10 @@
<p class="content" v-html="item.content" />
</div>
<div class="btn">
<el-button plain class="more" size="small">MORE</el-button>
<el-button plain class="more" size="small" @click="routerToMate">MORE</el-button>
</div>
</div>
<div class="yyzrbimg lr" >
<!-- <img :src="daliay.right[index].img" alt=""> -->
<!-- <video></video> -->
<video :id="'davideo'+index" :src="daliay.right[index].video" @click="videoPlayer(`davideo${index}`, `daplay${index}`)"/>
<img class="play" src="@/assets/play.png" @click="videoPlayer(`davideo${index}`, `daplay${index}`)" :id="'daplay'+index">
</div>
@@ -110,6 +108,12 @@ export default {
this.getyuanyuzhouHotList()
},
methods: {
routerToCar () {
this.$router.push({ path: '/information' })
},
routerToMate () {
this.$router.push({ path: '/metadaily' })
},
async getlunboList () {
const { data: { message, data } } = await lunboList()
if (message === 'success') {


+ 1
- 1
src/views/information/index.vue 查看文件

@@ -10,7 +10,7 @@
</div>
<div id="hottxt">
<div id="htitle">
<a class="tle">热点新闻</a>
<a class="tle">汽车文章</a>
<el-button type="text" @click="routerTo">MORE+</el-button>
</div>
<div id="hotList">


正在加载...
取消
保存