Blame view

yslvdao-miniapp/pages/procedureDetail/procedureDetail.vue 1.43 KB
d64cd58f   wesley88   上传验收小程序
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
  <template>
  	<view class="pages">
  		<view class="contents">
  			<view class="box" v-for="(item,index) in tableList">
  				<view class="title">
  					{{item.title}}
  				</view>
  				<view class="time">
  					{{item.createdAt}}
  				</view>
  				<view class="desc">
  					<!-- <u-parse :html="item.announcementContent"></u-parse> -->
  					<view>
  						{{item.content}}
  					</view>
  				</view>
  			</view>
  		</view>
  	</view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
  tableList:[],
  pageindex: {
  				pageNumber: 1,
  				pageSize: 10,
  				},
  			}
  		},
  		onLoad(option){
  			
  			  // this.tableList = JSON.parse(option.item)
  		},
  		mounted() {
  			this.getALL()
  		},
  		methods: {
  getALL(){
  		this.$http.sendRequest('/cereMessageNotification/queryByPage', 'POST', this.pageindex,1).then(res => {
  			this.tableList =res.data.data.content 
  		})
  			},
  		}
  	}
  </script>
  
  <style lang="scss" scoped>
  	.pages {
  		width: 100vw;
  		height: 100%;
  		position: relative;
  		overflow-y: auto;
  		background-color: #f6f6f6;
  
  		.contents {
  			width: 96%;
  			margin: 0 auto;
  			border-radius: 20rpx;
  			background-color: #fff;
  			margin-top: 20rpx;
  
  			.box {
  				width: 94%;
  				margin: 0 auto;
  				padding: 28rpx 0;
  				
  				.title{
  					font-size: 30rpx;
  					font-weight: bold;
  				}
  				.time{
  					margin: 20rpx 0;
  					color: #888D9C;
  					font-size: 24rpx;
  				}
  				.desc{
  					color: #888D9C;
  					font-size: 24rpx;
  					text-align: justify;
  				}
  			}
  		}
  	}
  </style>