<template>
  <div class="com_cell">
    <div class="com_cell_img_box">
      <img
        src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
        class="com_cell_img"
      />
    </div>
    <div class="com_cell_message">
      <div class="com_cell_msg_title" @click="goUrl('ssurl')">水路货物周转量情况</div>
      <div class="com_cell_item">
        <span class="com_cell_item_title">资源摘要：</span>
        <span
          class="com_cell_data"
        >提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务提供水路货物周转量排名和同比增长的专题数据服务</span>
      </div>
      <div class="com_cell_item">
        <span class="com_cell_item_title">提供机构：</span>
        <span class="com_cell_data">贵州省交通运输厅</span>
      </div>
      <div class="com_cell_item">
        <span class="com_cell_item_title">数据领域：</span>
        <span class="com_cell_data">经济建设</span>
      </div>
      <div class="com_cell_item">
        <span class="com_cell_item_title">服务类型：</span>
        <span class="com_cell_data">数据服务 专题数据服务 企业专题数据服务</span>
      </div>
      <div class="com_cell_item">
        <span class="com_cell_item_title">更新时间：</span>
        <span class="com_cell_data">2020-03-12 18:31:12</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    url: { type: String, default: "" }
  },
  data: () => ({}),
  computed: {},
  watch: {},
  methods: {
    goUrl(parame) {
      if (this.url != "") {
        this.$router.push(this.url + parame);
      }
    }
  },
  mounted() {}
};
</script>

<style scoped>
.com_cell {
  display: flex;
  justify-content: flex-start;
  padding: 10px;
  border-bottom: 2px #f4f7fc solid;
}
.com_cell_img_box {
  width: 166px;
  height: 166px;
  border-radius: 12px;
  overflow: hidden;
}
.com_cell_img {
  width: 100%;
  height: 100%;
}
.com_cell_message {
  padding-left: 20px;
  width: calc(100% - 190px);
}
.com_cell_msg_title {
  color: #0d1847;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  cursor: pointer;
}
.com_cell_item {
  font-size: 16px;
  line-height: 26px;
  margin-top: 1px;
  color: #51ac14;
  display: flex;
  align-self: start;
}
.com_cell_item_title {
  width: 80px;
}
.com_cell_data {
  display: inline-block;
  width: calc(100% - 90px);
  color: #f1ac14;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
</style>

