<template>
  <div class="add-address-con bg-grey">
    <m-form-item label="地址">
      <input
        placeholder="请填提币地址"
        class="form-input"
        v-model="form.name"
      />
    </m-form-item>
    <m-form-item label="备注">
      <input placeholder="请填备注" class="form-input" v-model="form.name" />
    </m-form-item>
    <div class="bottom">
      <van-button block type="primary" round> 保 存 </van-button>
    </div>
  </div>
</template>



<script>
export default {
  data() {
    return {
      title: "添加提币地址",
      form: {
        value: "1KEBcdmMPfUV2suAqgkyDpdm4brZbYmdfF",
        value2: "",
      },
    };
  },
  onLoad(options) {
    this.title = options.title ? options.title : "添加提币地址";
  },
  methods: {
    switchChange(e) {
      console.log(e.target.value);
    },
  },
};
</script>

<style lang="less">
.add-address-con {
  height: 100%;

  .m-form-item-con:nth-of-type(1) {
    .m-form-item {
      border-top: none;
    }
  }

  .form-input {
    font-size: 14px;
    color: #140603;
    &::-webkit-input-placeholder {
      color: #aeaeae;
    }
  }
  > .bottom {
    position: fixed;
    padding: 12px 24px;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    button {
      height: 40px;
      font-size: 16px;
    }
  }
}
</style>
