This commit is contained in:
沈学坤
2019-10-31 11:26:45 +08:00
parent d3f025249a
commit e75a448c55
10 changed files with 225 additions and 79 deletions

View File

@@ -122,11 +122,7 @@
</div>
<ul class="ult">
<template v-for="(organization,index) in bgData.organization">
<li
:key="index"
v-if="index < 9"
@click="details(organization.id)"
>
<li :key="index" v-if="index < 9" @click="details(organization.id)">
<a href="javascript:void(0);">{{organization.title}}</a>
</li>
</template>
@@ -241,7 +237,7 @@ export default {
});
setTimeout(() => {
loading.close();
}, 1000);
}, 500);
},
link(href) {
window.location.href = href
@@ -544,9 +540,30 @@ li {
height: 100px;
overflow-y: scroll;
// &::-webkit-scrollbar {
// width: 0px;
// }
&::-webkit-scrollbar {
width: 3px;
// height: 5px;
}
&::-webkit-scrollbar-track-piece {
background-color: rgba(0, 0, 0, 0.2);
-webkit-border-radius: 6px;
border-radius: 6px;
}
&::-webkit-scrollbar-thumb:vertical {
height: 5px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 6px;
border-radius: 6px;
}
&::-webkit-scrollbar-thumb:horizontal {
width: 5px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 6px;
border-radius: 6px;
}
li {
a {

View File

@@ -5,7 +5,7 @@
<div class="left">
<dl>
<dt>
<img class="one" :src="bgData.cover ? bgData.cover : imgUrl.moren" alt />
<img class="one" :src="bgData.cover ? bgData.cover : 'imgUrl.moren'" alt />
<span
@click="collection(bgData.id)"
class="iconfont icon-changyongtubiao-mianxing-"

View File

@@ -6,7 +6,7 @@
<!-- @click="$jParams('newsDetails',{id:info.id,type:getType})" -->
<router-link id="news" v-for="(info,index) in bgData.info" :key="index" :to="{path:'/newsDetails',query:{id:info.id}}" target="_blank">
<div class="news-box">
<img :src="info.cover ? info.cover : moren" />
<img :src="info.cover ? info.cover : 'moren'" />
<section>
<h3>{{info.title}}</h3>
<aside>