<template>
  <div class="formConfirm">
    <div class="list-content">
      <div class="item">
        <span class="tips">*</span>
        <div class="item-border">
          <div class="label">户主姓名</div>
          <div class="value">
            <u-input type="text" class="right" placeholder="请输入" height="44" input-align="right"></u-input>
          </div>
        </div>
      </div>
      <div class="item">
        <span class="tips">*</span>
        <div class="item-border">
          <div class="label">性别</div>
          <div class="value">
            <u-input type="text" class="right" placeholder="请选择" height="44" input-align="right" disabled></u-input>
            <img src="./img/arrow-right.png" alt="">
          </div>
        </div>
      </div>
    </div>
    <div class="bottom-btn">
      <div class="confirm">保存内容</div>
      <div class="confirm">提交</div>
      <div class="cancel">取消</div>
    </div>
  </div>
</template>

<script>
import {mapState} from "vuex";

export default {
  name: 'formConfirm',
  data() {
    return {

    }
  },
  computed: {
    ...mapState(['user']),
  },
  created() {
    
  },
  onShow() {
    document.title = '婚姻家庭纠纷入户登记表'
  },
  methods: {
    
  },
}
</script>

<style lang="scss" scoped>
uni-page-body {
  min-height: 100%;
  // height: 100vh;
  background: #F5F5F5;
}
.formConfirm {
  .list-content {
    padding-bottom: 328px;
    .item {
      padding-left: 32px;
      position: relative;
      margin-bottom: 16px;
      background-color: #fff;
      .tips {
        position: absolute;
        top: 34px;
        left: 8px;
        font-family: PingFangSC-Regular;
        font-size: 32px;
        color: #F46;
      }
      .item-border {
        padding: 34px 32px 34px 0;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #D8DDE6;
        display: flex;
        .label {
          font-family: PingFangSC-Regular;
          font-size: 32px;
          color: #333;
          line-height: 44px;
          width: 200px;
        }
        .value {
          width: calc(100% - 200px);
          text-align: right;
          .u-input {
            display: inline-block;
            width: calc(100% - 40px);
            vertical-align: sub;
          }
          img {
            display: inline-block;
            width: 32px;
            height: 32px;
            margin-left: 8px;
          }
        }
      }
    }
  }
  .bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #F5F5F5;
    div {
      margin-left: 32px;
      width: 686px;
      height: 88px;
      border-radius: 44px;
      font-family: PingFangSC-Medium;
      font-weight: 500;
      font-size: 34px;
      text-align: center;
      line-height: 86px;
      margin-bottom: 32px;
    }
    .confirm {
      background: #3975C6;
      color: #fff;
    }
    .cancel {
      color: #666;
      border: 1px solid #CCC;
    }
  }
}
</style>
