12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <template>
- <view class="content">
- <!-- <fxyk-navbar :isSearch="false" :isNeedReturn="false" title="消息提醒"/> -->
- <template v-if="info.length">
- <view v-for="(item,index) in info" :key="index">
- <fxyk-card-news :info="item" @click.native="show = true" />
- </view>
- <fxyk-modal :show="show" :data="data" @cancle="cancle"/>
- </template>
- <template v-else>
- <view style="margin:240rpx 186.5rpx 0">
- <u-image width="378rpx" height="287rpx" src="/static/images/empty.png" :fade="false"></u-image>
- <view class="u-m-t-60 text-center word">空空如也......</view>
- </view>
- </template>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- show: false,
- time: 1604884971,
- info: [
- {
- title: '批示',
- data: '您有一个节点待批示',
- level: '初级评审'
- },
- {
- title: '更新',
- data: '检测到一个新版本',
- level: ''
- }
- ],
- data: {
- title: '现场施工',
- department: '营销部',
- start: '2019.6.22',
- end: '2019.6.26',
- edDay: 5,
- yyDay: 6,
- status: 3,
- ifYq: 0
- }
- }
- },
- onLoad() {},
- methods: {
- cancle() {
- this.show = false
- }
- }
- }
- </script>
- <style lang='scss' scoped>
- page {
- width: 100%;
- height: 100%;
- }
- .content {
- width: 100%;
- height: 100%;
- min-height: 100vh;
- background-color: $yk-bg-color;
- }
- .word {
- font-size: 25rpx;
- font-family: SimSun;
- font-weight: 400;
- line-height: 33rpx;
- color: #CDD2D9;
- }
- </style>
|