Blame view

lvdao-miniapp/pages/procedureList/procedureDetail.vue 1.44 KB
e5b57447   杨鑫   '分包问卷'
1
2
3
  <template>
  	<view class="pages">
  		<view class="contents">
844aa73a   杨鑫   '最新'
4
5
6
7
8
9
10
11
12
  			<view class="box" >
  			
  				 <view class="title">
  				 	{{tableList.title}}
  				 </view>
  				 <view class="time">
  				 	{{tableList.createdAt}}
  				 </view>
  				 <view class="desc">
60cd6339   杨鑫   '最新'
13
14
  				 	<u-parse :html="tableList.content"></u-parse>
  				
844aa73a   杨鑫   '最新'
15
16
17
18
  				 </view>
  		
  				
  				
e5b57447   杨鑫   '分包问卷'
19
20
21
22
23
24
25
26
27
  			</view>
  		</view>
  	</view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
60cd6339   杨鑫   '最新'
28
  tableList:{},
e5b57447   杨鑫   '分包问卷'
29
  pageindex: {
844aa73a   杨鑫   '最新'
30
  				id:'',
e5b57447   杨鑫   '分包问卷'
31
32
33
34
35
36
  				pageNumber: 1,
  				pageSize: 10,
  				},
  			}
  		},
  		onLoad(option){
844aa73a   杨鑫   '最新'
37
38
39
40
  			if(option.ids){
  				this.pageindex.id = option.ids
  			}
  			this.getALL()
e5b57447   杨鑫   '分包问卷'
41
42
43
44
45
  		},
  		mounted() {
  			this.getALL()
  		},
  		methods: {
844aa73a   杨鑫   '最新'
46
  	
e5b57447   杨鑫   '分包问卷'
47
48
  getALL(){
  		this.$http.sendRequest('/cereMessageNotification/queryByPage', 'POST', this.pageindex,1).then(res => {
844aa73a   杨鑫   '最新'
49
  			this.tableList =res.data.data.content[0]
e5b57447   杨鑫   '分包问卷'
50
51
52
53
54
55
56
57
58
59
60
61
62
  		})
  			},
  		}
  	}
  </script>
  
  <style lang="scss" scoped>
  	.pages {
  		width: 100vw;
  		height: 100%;
  		position: relative;
  		overflow-y: auto;
  		background-color: #f6f6f6;
844aa73a   杨鑫   '最新'
63
  		padding:0 20px;
e5b57447   杨鑫   '分包问卷'
64
  		.contents {
844aa73a   杨鑫   '最新'
65
  			width: 100%;
e5b57447   杨鑫   '分包问卷'
66
67
68
  			border-radius: 20rpx;
  			background-color: #fff;
  			margin-top: 20rpx;
e5b57447   杨鑫   '分包问卷'
69
70
71
  			.box {
  				width: 94%;
  				margin: 0 auto;
844aa73a   杨鑫   '最新'
72
  				padding: 28rpx 40rpx 28rpx 10rpx;
e5b57447   杨鑫   '分包问卷'
73
74
75
76
77
78
79
80
81
82
83
84
85
  				.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;
844aa73a   杨鑫   '最新'
86
  					margin-top:10px;
e5b57447   杨鑫   '分包问卷'
87
88
89
90
91
  				}
  			}
  		}
  	}
  </style>