Blame view

lvdao-miniapp/pagesA/procedureList/procedureDetail.vue 1.73 KB
61e1439e   wesley88   1
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
  <template>
  	<view class="pages">
  		<view class="contents">
  			<view class="box">
  
  				<view class="title">
  					{{tableList.content.title}}
  				</view>
  				<view class="time">
  					{{tableList.createTime}}
  				</view>
  				<view class="desc">
  					<view v-if="tableList.content.type == '2'">
  						<image :src="tableList.content.content" style="width: 100%;" mode="widthFix"></image>
  					</view>
  					<view v-else >{{tableList.content.content}}</view>
  
  				</view>
  
  
  
  			</view>
  		</view>
  	</view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
  				tableList: {},
  				pageindex: {
  					id: '',
  					pageNumber: 1,
  					pageSize: 10,
  				},
  			}
  		},
  		onLoad(option) {
  			let ce = decodeURIComponent(option.item)
  			this.tableList = JSON.parse(ce)
  			console.error(this.tableList)
  			if(this.tableList.isRead == '0') {
  				let info = {
  					"receiptId": this.tableList.receiptId,
  					"messageId": this.tableList.messageId,              
  					"phone": this.tableList.phone 
  				}
  				this.$http.sendRequest('/cereMessage/readMessage', 'POST',info,1).then(res => {
  				})
  			}
  			
  		},
  	
  		methods: {
  
  			
  		}
  	}
  </script>
  
  <style lang="scss" scoped>
  	.pages {
  		width: 100vw;
  		height: 100%;
  		position: relative;
  		overflow-y: auto;
  		background-color: #f6f6f6;
  		padding: 0 20px;
  
  		.contents {
  			width: 100%;
  			border-radius: 20rpx;
  			background-color: #fff;
  			margin-top: 20rpx;
  
  			.box {
  				width: 94%;
  				margin: 0 auto;
  				padding: 28rpx 40rpx 28rpx 10rpx;
  
  				.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;
  					margin-top: 10px;
  				}
  			}
  		}
  	}
  </style>