<!-- 巡检记录 -->
<template>
  <scroll-view class="content" scroll-y="true">
    <view class="conItem" v-for="(item, index) in 10">
      <view class="conItemTitle">
        <image src="/static/img/巡检记录列表里.png" class="titleImg"></image>
        <text class="titleName">龙海路乐业社区5号楼1单元805 南卧1</text>
      </view>
      <view class="conItemCon">
        <view class="recordItem">
          <view class="recordItemName">巡检问题</view>
          <view class="recordItemCon">消防安全</view>
        </view>
        <view class="recordItem">
          <view class="recordItemName">标题内容</view>
          <view class="recordItemCon">消防设施老旧</view>
        </view>
        <view class="recordItem">
          <view class="recordItemName">问题描述</view>
          <view class="recordItemCon">一楼东南角消防设施老旧严重，已经不能正常使用。</view>
        </view>
        <view class="recordItem">
          <view class="recordItemName">图片/视频</view>
          <view class="recordItemCon" style="display: flex;flex-wrap: wrap;">
            <image src="/static/img/巡检记录列表里.png" class="recordItemConImg"></image>
            <image src="/static/img/巡检记录列表里.png" class="recordItemConImg"></image>
            <image src="/static/img/巡检记录列表里.png" class="recordItemConImg"></image>
            <image src="/static/img/巡检记录列表里.png" class="recordItemConImg"></image>
            <image src="/static/img/巡检记录列表里.png" class="recordItemConImg"></image>
            <image src="/static/img/巡检记录列表里.png" class="recordItemConImg"></image>
          </view>
        </view>
        <view class="recordItem">
          <view class="recordItemName">巡检日期</view>
          <view class="recordItemCon">2025-05-06 15:30:20</view>
        </view>
      </view>
    </view>

  </scroll-view>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  onLoad () {

  },
  methods: {
    handleBsClick (item) {
      uni.navigateTo({
        url: '/pages/tabBar/bsPage/bsRecord'
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  width: 100%;
  height: 100vh;
  background-color: rgba(248, 248, 248, 1);
  padding-bottom: 50rpx;
  box-sizing: border-box;
}

.conItem {
  width: calc(100% - 40rpx);
  border-radius: 10rpx;
  margin-left: 20rpx;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.2);
  margin-bottom: 20rpx;
  padding: 20rpx;
  box-sizing: border-box;
}

.conItemTitle {
  display: flex;
  width: 100%;
  margin-bottom: 20rpx;
}

.titleImg {
  width: 38rpx;
  height: 38rpx;
}

.titleName {
  color: rgba(0, 0, 0, 1);
  font-size: 30rpx;
  text-align: left;
  margin-left: 10rpx;
}

.conItemCon {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  border-radius: 10rpx;
  background-color: rgba(249, 249, 249, 1);
  padding: 20rpx;
  box-sizing: border-box;
}

.recordItem {
  width: 100%;
  display: flex;
  margin-bottom: 10rpx;
}

.recordItemName {
  width: 22%;
  color: rgba(169, 175, 186, 1);
  font-size: 28rpx;
  text-align: right;
}

.recordItemCon {
  width: 75%;
  color: rgba(0, 0, 0, 1);
  font-size: 28rpx;
  text-align: left;
  margin-left: 3%;
}

.recordItemConImg {
  width: 145rpx;
  height: 145rpx;
  margin: 0 10rpx 10rpx 0;
}
</style>
