|
@@ -98,6 +98,7 @@
|
|
<div class="desc-title">{{ item.name || "--" }}</div>
|
|
<div class="desc-title">{{ item.name || "--" }}</div>
|
|
<div class="desc-time">{{ item.createTime || "--" }}</div>
|
|
<div class="desc-time">{{ item.createTime || "--" }}</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <a :href="item.wxUrl" class="skip" target="_blank" v-if="item.wxUrl"></a>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
<div v-if="informationType != 'book'">
|
|
<div v-if="informationType != 'book'">
|
|
@@ -208,6 +209,7 @@ export default {
|
|
},
|
|
},
|
|
toDetail (item) {
|
|
toDetail (item) {
|
|
// console.log('item',item)
|
|
// console.log('item',item)
|
|
|
|
+ if (item.wxUrl) return
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: '/information-detail',
|
|
path: '/information-detail',
|
|
query: { ...item, navType: this.informationType }
|
|
query: { ...item, navType: this.informationType }
|
|
@@ -364,6 +366,7 @@ export default {
|
|
transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.desc {
|
|
.desc {
|
|
flex: 5;
|
|
flex: 5;
|
|
margin-left: 34px;
|
|
margin-left: 34px;
|
|
@@ -403,8 +406,21 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.article {
|
|
.article {
|
|
|
|
+ .skip{
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ display: block;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
|
|
+
|
|
margin: 94px 19px 38px;
|
|
margin: 94px 19px 38px;
|
|
> li {
|
|
> li {
|
|
|
|
+ position: relative;
|
|
background: linear-gradient(
|
|
background: linear-gradient(
|
|
180deg,
|
|
180deg,
|
|
rgba(222, 222, 222, 0.6) 0%,
|
|
rgba(222, 222, 222, 0.6) 0%,
|