<template>
  <common-header />
  <div class="content">
    <div class="title">
      <span class="system-info">系统信息</span>
      <el-button type="primary">一键阅读</el-button>
    </div>
    <div class="main">
      <div class="msg-title">系统消息</div>
      <div class="msg-content">
        <span class="work">作业</span><span class="date">2021-11-01 12:25</span>
        <div class="msg-info">沈老师的双师一生已结束，请您三天内上传作业。</div>
      </div>
    </div>

    <div class="msg-content" style="padding: 10px 30px">
      <span class="work">沈老师直播</span
      ><span class="date">2021-11-01 12:25</span>
      <div class="msg-info" style="width: 856px; height: 59px">
        您好，沈老师的双师一生直播还有一个小时开播，请务必参加。
        <div class="detail">查看详情</div>
      </div>
    </div>

    <div class="msg-content">
      <span class="work">积分说明</span
      ><span class="date">2021-11-01 12:25</span>
      <div class="msg-info">登陆+10</div>
    </div>

    <div class="msg-content">
      <span class="work">积分说明</span
      ><span class="date">2021-11-01 12:25</span>
      <div class="msg-info">观看直播+10</div>
    </div>
  </div>
</template>

<script>
import CommonHeader from "@/components/CommonHeader/index.vue";
export default {
  name: "index",
  components: {
    CommonHeader,
  },
  data() {
    return {
      radio: "1",
    };
  },
  methods: {},
  mounted() {},
};
</script>

<style lang="scss" scoped>
.content {
  width: 100%;
  min-width: 1400px;
  margin: 0 auto;
  background-image: url("@/assets/img/zhjy/xq_bg.png");
  background-repeat: no-repeat;
}

.title {
  display: flex;
  justify-content: space-between;

  width: 1440px;
  height: 60px;
  margin: 0 auto;
  padding: 15px;
  background: #ffffff;
  margin-top: 15px;
  margin-bottom: 50px;
  box-shadow: 0px 1px 10px 0px rgba(17, 46, 74, 0.1);
  .system-info {
    width: 72px;
    height: 25px;
    font-size: 18px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    text-align: center;
    color: #050026;
  }
}
::v-deep .el-button {
  width: 104px;
  height: 32px;
  margin-right: 14px;
  border-radius: 6px;
}
.main {
  width: 1412px;
  height: 147px;
  margin: 0px auto;
  margin-bottom: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 10px 24px 0px rgba(161, 153, 168, 0.18);
}
.msg-title {
  width: 1412px;
  height: 42px;
  background: rgba(#00a3ff, 0.05);
  border-radius: 12px 12px 0px 0px;
  font-size: 14px;
  font-family: PingFangSC, PingFangSC-Semibold;
  font-weight: 600;
  text-align: center;
  color: #171721;
  line-height: 42px;
}
.msg-content {
  width: 1412px;
  height: 107px;
  margin: 12px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 34px;
  box-shadow: 0px 10px 24px 0px rgba(161, 153, 168, 0.18);
  .work {
    width: 87px;
    height: 18px;
    font-size: 14px;
    font-family: PingFang, PingFang-Bold;
    font-weight: 700;
    text-align: left;
    color: #050026;
    line-height: 18px;
    margin-right: 5px;
  }
  .date {
    width: 117px;
    height: 18px;
    font-size: 12px;
    font-family: PingFang, PingFang-Medium;
    font-weight: 500;
    text-align: left;
    color: #8083a3;
    line-height: 18px;
  }
  .msg-info {
    width: 429px;
    height: 32px;
    background: #f5f5fa;
    margin-top: 7px;
    border-radius: 0px 19px 19px 19px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    text-align: left;
    color: #171721;
    line-height: 32px;
    padding: 0 15px;
  }
  .detail {
    width: 60px;
    height: 21px;
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    text-align: left;
    color: #00a3ff;
    line-height: 20px;
    // display: inline-block;
  }
}
</style>

