1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="notice">
|
||||
<view class="notice" :style="{height : height + 'px'}">
|
||||
<view v-for="(item,index) in notice" :key="index" @click="gotoInfo(index)">
|
||||
<view class="time_notice">{{ item.addtime }}</view>
|
||||
<view class="notice_view">
|
||||
@@ -36,6 +36,7 @@
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
line-height: 40rpx;
|
||||
letter-spacing: 2rpx;
|
||||
}
|
||||
.notice_view > view:nth-child(3){
|
||||
height: 84rpx;
|
||||
@@ -77,7 +78,8 @@
|
||||
props: ['list'],
|
||||
data() {
|
||||
return {
|
||||
notice : []
|
||||
notice : [],
|
||||
height : ''
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -86,6 +88,8 @@
|
||||
this.notice = newVal;
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
gotoInfo(index) {
|
||||
console.log(index);
|
||||
|
||||
Reference in New Issue
Block a user