|
|
|
@ -129,7 +129,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<scroll-view :scroll-y="true" style="height: 320rpx;">
|
|
|
|
<scroll-view :scroll-y="true" style="height: 320rpx;">
|
|
|
|
<view class="info-list" v-if="infoList && infoList.length > 0">
|
|
|
|
<view class="info-list" v-if="infoList && infoList.length > 0">
|
|
|
|
<view v-for="(item,index) in infoList" :key="index" class="info-item">
|
|
|
|
<view v-for="(item,index) in infoList" :key="index" class="info-item" @click="showNotice(item)">
|
|
|
|
<view class="info-icon">
|
|
|
|
<view class="info-icon">
|
|
|
|
<u-image src="/static/home/chat.png" height="40" width="40"></u-image>
|
|
|
|
<u-image src="/static/home/chat.png" height="40" width="40"></u-image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -138,7 +138,7 @@
|
|
|
|
{{item.title}}
|
|
|
|
{{item.title}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="info-time">
|
|
|
|
<view class="info-time">
|
|
|
|
{{item.time}}
|
|
|
|
{{$u.timeFormat(new Date(item.created_at),'yyyy-mm-dd')}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -149,6 +149,11 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</scroll-view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<u-popup v-model="isShowNotice" mode="bottom" :border-radius="10" height="40%">
|
|
|
|
|
|
|
|
<view class="notice-title">{{detailNotice.title}}</view>
|
|
|
|
|
|
|
|
<view class="notice-content">{{detailNotice.content}}</view>
|
|
|
|
|
|
|
|
</u-popup>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
@ -189,7 +194,9 @@
|
|
|
|
ing: 0,
|
|
|
|
ing: 0,
|
|
|
|
end: 0,
|
|
|
|
end: 0,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
infoList: []
|
|
|
|
infoList: [],
|
|
|
|
|
|
|
|
isShowNotice: false,
|
|
|
|
|
|
|
|
detailNotice: {},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
@ -203,6 +210,10 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
showNotice(item) {
|
|
|
|
|
|
|
|
this.detailNotice = item
|
|
|
|
|
|
|
|
this.isShowNotice = true
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
async getStatistic() {
|
|
|
|
async getStatistic() {
|
|
|
|
let res = await this.$u.api.statistic()
|
|
|
|
let res = await this.$u.api.statistic()
|
|
|
|
@ -661,4 +672,18 @@
|
|
|
|
left: 50%;
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.notice-title {
|
|
|
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
color: #36596A;
|
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.notice-content {
|
|
|
|
|
|
|
|
text-indent: 60rpx;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|