<template>
    <multi-background>
     <div class="search-container">
       <i class="icon-search"></i>
       <input placeholder="合同名称或合同编号" class="search-input"/>
     </div>
      <mt-navbar v-model="selectedType">
        <mt-tab-item id="1">选项一</mt-tab-item>
        <mt-tab-item id="2">选项二</mt-tab-item>
        <mt-tab-item id="3">选项三</mt-tab-item>
      </mt-navbar>
    </multi-background>
</template>

<script>
  import multiBackground from '../components/multiColorBackground.vue';
    export default {
        name: "contract",
        components:{
          multiBackground
        },
        data(){
          return{
            selectedType:'1',
          }
        }
    }
</script>

<style scoped>
  .search-container{
    width: 100%;
    height: 1.1rem;
    border-radius: 0.6rem;
    border: 1px solid #fff;
    margin-top: 0.2rem;
    position: relative;

  }
  .icon-search{
    position: absolute;
    display: inline-block;
    background: url('../../static/contract/search.png') 0 0 no-repeat ;
    background-size: cover;
    top: 0.18rem;
    left: 0.4rem;
    width: 0.625rem;
    height: 0.625rem;
  }
  .search-input{
    border: none;
    background-color: transparent;
    line-height: 1rem;
    height: 1rem;
    width: 7.2rem;
    margin-left: 0.6rem;
    font-size: 0.3rem;
    color: #fff;

  }
</style>
