<!-- @format -->

<template>
  <view class="container">
    <view style="margin: 15rpx 0">
      <view class="contentItems" v-for="item of 2">
        <view class="content">
          <view class="title"
            >部门流转编号
            <text style="margin-left: 40rpx"> 2024845782 </text>
          </view>
        </view>
        <view class="content">
          <view class="title">检定实验室名称</view>
          <view class="message">衡器</view>
        </view>
        <view class="content">
          <view class="title">部门联系电话</view>
          <view class="message">1663846779</view>
        </view>
        <view class="content">
          <view class="title">器具数量</view>
          <view class="message"> 2 </view>
        </view>
        <view class="content">
          <view class="title">器具状况</view>
          <view class="message">
            <u-button
              @click="handleDepartment"
              style="width: 120rpx; height: 40rpx"
              type="primary"
              size="small"
              >查看</u-button
            >
          </view>
        </view>
        <view class="content">
          <view class="title">预约时间</view>
          <view class="message"> 2024-04-20 -- 2024-06-18 </view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      historyPopDia: false,
      activeContent: "我的申请",
      tabsList: [
        {
          name: "我的申请",
        },
      ],
    };
  },
  methods: {
    //备案申请
    handleApplicat() {
      uni.navigateTo({
        url: "/pages/assay/application",
        success: (res) => {},
        fail: () => {},
        complete: () => {},
      });
    },
    handleChange(row) {
      this.activeContent = row.name;
    },
    handleCurrentForm() {},
    handleDetails() {
      uni.navigateTo({
        url: "/pages/assay/details",
        success: (res) => {},
        fail: () => {},
        complete: () => {},
      });
    },
  },
};
</script>

<style lang="scss" scoped>
.createFixed {
  background: #2979ff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90rpx;
  height: 90rpx;
  border-radius: 50%;
  position: fixed;
  right: 30rpx;
  bottom: 200rpx;
}

.createNew {
  font-size: 30rpx;
  margin: 20rpx 0 20rpx 20rpx;
  color: #3c9ff3;
}

.container {
  height: 100vh;
  background: rgb(243, 244, 249);

  .contentItems {
    width: 93%;
    border-radius: 6px;
    background: #fff;
    margin: 0rpx auto 20rpx;
    padding: 20rpx 30rpx 20rpx;

    .content {
      border-bottom: 1px solid rgb(242, 242, 242);
      padding: 24rpx 0;
      display: flex;
      justify-content: space-between;
    }

    .content:last-child {
      border-bottom: none;
    }

    .title {
      font-size: 26rpx;
      color: black;
      letter-spacing: 3rpx;
    }

    .message {
      font-size: 26rpx;
      color: rgb(146, 146, 146);
    }
  }
}
</style>
