<template>
  <view class="platform-message">
    <view class="platform-message-main" @click="jumpInfo(item)">
      <view class="platform-message-main-top">
        <view class="platform-message-title">
          <view class="">关于12/29日纸掌柜系统维护公告</view>
          <view class="dian"></view>
        </view>
      </view>
      <view class="platform-message-contant">尊敬的用户，您好！\u2028因服务升级需要，纸掌柜将于2021年12月29日进..</view>
      <view class="xian"></view>
      <view class="platform-message-bottom">
        <view class="platform-message-bottom-title">2021/12/29 12:30:45</view>
        <view class="platform-message-bottom-text">
          <view class="platform-message-bottom-subtitle">查看详情</view>
          <view class="">
            <image class="platform-message-bottom-image" src="../../static/imgs/client-detail/arrow-right-icon.png" mode=""></image>
          </view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
import { back, go2 } from '@/utils/hook.js'
export default {
  data() {
    return {}
  },
  methods: {
    jumpInfo() {
      go2('platform-message-info')
    }
  }
}
</script>

<style lang="scss">
.platform-message {
  .platform-message-main {
    background-color: #ffffff;
    margin: 20rpx 32rpx;
    border-radius: 20rpx;
  }
  .platform-message-main-top {
    display: flex;
    justify-content: space-between;
    padding: 24rpx 32rpx;
  }
  .platform-message-title {
    font-size: 32rpx;
    color: #333333;
    letter-spacing: 0;
    font-weight: 600;
    display: flex;
  }
  .platform-message-subtitle {
    font-size: 24rpx;
    color: #333333;
    font-weight: 400;
  }
  .platform-message-contant {
    font-size: 28rpx;
    color: #888888;
    letter-spacing: 0;
    font-weight: 400;
    padding: 0rpx 32rpx;
    line-height: 40rpx;
    overflow: auto;
    max-height: 100rpx;
    height: 100rpx;
  }
  .dian {
    background: #ff0000;
    height: 14rpx;
    width: 14rpx;
    border-radius: 20rpx;
    margin-left: 10rpx;
  }
  .xian {
    border-bottom: 2rpx solid rgba(221, 221, 221, 0.5);
  }
  .platform-message-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20rpx 32rpx;
    align-items: center;
    .platform-message-bottom-title {
      font-size: 24rpx;
      color: #333333;
      font-weight: 400;
    }
    .platform-message-bottom-subtitle {
      font-size: 28rpx;
      color: #007aff;
      letter-spacing: 0;
      font-weight: 400;
    }
    .platform-message-bottom-image {
      height: 40rpx;
      width: 40rpx;
      margin-top: 10rpx;
    }
    .platform-message-bottom-text {
      display: flex;
      align-items: center;
    }
  }
}
</style>
