newsDetails.vue
1.46 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<template>
<view class="ConCss">
<u-navbar class="navBarCss" title="资讯详情" :titleStyle="{'fontSize':'36rpx','color':'#333333','fontWeight':'700'}" leftClick="leftClick"
:autoBack="true" safeAreaInsetTop placeholder />
<view class="titleCss">
壳液牌发布最新版《液化天燃气(LNS)
前景》
</view>
<view class="releaseTimeCss">
发布时间: 2023年09月21日 13:52:24
</view>
<rich-text nodes="text内容"></rich-text>
</view>
</template>
<script>
export default {
components: {},
props: {
},
data() {
return {
}
},
computed: {
},
onLoad() {
},
methods: {
leftClick() {
console.log('leftClick');
},
}
}
</script>
<style lang="scss" scoped>
.ConCss {
padding: 0 30rpx;
}
.navBarCss{
font-family: '苹方 粗体', '苹方 中等', '苹方', sans-serif
}
.titleCss {
background-color: rgba(255, 255, 255, 0);
box-sizing: border-box;
font-family: '苹方 粗体', '苹方 中等', '苹方', sans-serif;
font-weight: 700;
color: #333333;
text-align: left;
line-height: normal;
font-size: 40rpx;
margin: 26rpx 0;
}
.releaseTimeCss {
height: 32px;
background-color: rgba(255, 255, 255, 0);
box-sizing: border-box;
font-family: '苹方 中等', '苹方', sans-serif;
color: #999db0;
text-align: left;
line-height: normal;
font-size: 24rpx;
}
</style>