noticeDetail.vue
1.08 KB
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
<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>