noticeDetail.vue 1.08 KB
<template>
	<view class="page">
		<!-- <view class="head">
			<view class="logo-title">
				<image @click="goBack" src="../../static/left.png"></image>
				详情
			</view>
			<view class="title">
			</view>
			<view class="setting-mess"></view>
		</view> -->
		<view class="toptitle" style="margin-bottom: -50px;">
			<view class="toptitle_left" @click="goBack">
				<u-icon name="arrow-left" color="#fff" size="20"></u-icon>
			</view>
			<view class="toptitle_title">
				详情
			</view>
		</view>
		<view class="main">
			<view class="content">
				<view class="goods-title">
					<view class="big">{{info.title}}</view>
					<view>{{info.createtime}}</view>
					<view class="content-text" v-html="info.content"></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:{}
			};
		},
		onLoad() {
			this.info =uni.getStorageSync('gginfo')
			console.log('',this.info);
		},
		methods: {
			goBack() {
				uni.navigateBack({
					delta: 1
				});
			},
		}
	};
</script>

<style scoped lang="scss">
	@import 'noticeDetail.scss';
</style>