newsDetails.vue 1.46 KB
<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>