| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 | 
							- <template>
 
- 	<view>
 
- 		<u-cell-group :border="false">
 
- 			<u-cell :border="false">
 
- 				<u--text slot="title" :text="`标题:${mailBox.mailDTO.title}`"   ></u--text>
 
- 			</u-cell>
 
- 			<u-cell :border="false">
 
- 				<u--text slot="title" type="info" :text="`发件人:${mailBox.sender.name}`"   ></u--text>
 
- 			</u-cell>
 
- 			<u-cell :border="false">
 
- 				<u--text slot="title" type="info" :text="`收件人:${mailBox.receiverNames}`"></u--text>
 
- 			</u-cell>
 
- 			<u-cell>
 
- 				<u--text slot="title" type="info"  :text="`时间: ${mailBox.sendTime}`"></u--text>
 
- 			</u-cell>
 
- 		</u-cell-group>
 
- 		<view class="padding bg-white">
 
- 			<view v-html="mailBox.mailDTO.content"></view>
 
- 		</view>
 
- 	</view>
 
- </template>
 
- <script>
 
- 	import mailTrashService from "@/api/mail/mailTrashService"
 
- 	export default {
 
- 		data() {
 
- 			return {
 
- 				mailBox: {
 
- 					mailDTO: {
 
- 						title: ''
 
- 					},
 
- 					sender: {
 
- 						name: ''
 
- 					}
 
- 				}
 
- 			}
 
- 		},
 
- 		onLoad: function (option) {
 
- 			mailTrashService.queryById(option.id).then((data)=>{
 
- 				this.mailBox = data
 
- 			});
 
- 		},
 
- 		methods: {
 
- 			
 
- 		}
 
- 	}
 
- </script>
 
- <style>
 
-   .mail .title {
 
-   	min-width: calc(4em + 0px);
 
- 	text-align: right; 
 
- 	display: inline-block
 
-   }
 
- </style>
 
 
  |