<template>
  <div>
    <div class="topbar">
      <div class="topbar_left" @click="goback">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-fanhui"></use>
        </svg>
      </div>
      <div class="topbar_middle">
        产品报价
      </div>
      <div class="topbar_right">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-caidan"></use>
        </svg>
      </div>
    </div>

    <div id="quote_edit">
      <div class="quote_edit_pic">
        <img src="../assets/S-150.jpg" class="quote_edit_img"></img>
      </div>

      <div class="quote_edit_main">
        <div class="quote_edit_amt"><span>¥</span>375</div>
        <div class="quote_edit_flex">
          <div class="quote_edit_mtrlname" style="flex:0 0 82%">S-150电竞椅</div>
          <div class="quote_edit_subinfo">月销5980</div>
        </div>
        <div style="margin-top:5px;margin-left:-10px">
          <div class="quote_edit_flex quote_edit_subinfo quote_edit_mtrlmode">
            <div> <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-dian"></use>
              </svg>规格55.5*66*129CM
            </div>
            <div><svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-dian"></use>
              </svg>净重17.5KG
            </div>
            <div><svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-dian"></use>
              </svg>毛重19KG
            </div>
          </div>
          <div class="quote_edit_subinfo"><svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-dian"></use>
            </svg>装柜量:40Q":424箱
          </div>
        </div>
      </div>

      <div class="liubai"></div>

      <div class="quote_edit_main">
        <div class="quote_edit_main_title">选配</div>

        <div class="quote_edit_main_pz">
          <div class="quote_edit_main_pzname">面料</div>
          <div class="quote_edit_main_pzvalue">黑色MQ-125复合+红色12-61复合</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>


        <div class="quote_edit_main_pz">
          <div class="quote_edit_main_pzname">汽杆</div>
          <div class="quote_edit_main_pzvalue">100黑气杆</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>

        <div class="quote_edit_main_pz">
          <div class="quote_edit_main_pzname">扶手</div>
          <div class="quote_edit_main_pzvalue">908升降扶手</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>

        <div class="quote_edit_main_pz">
          <div class="quote_edit_main_pzname">扶手面</div>
          <div class="quote_edit_main_pzvalue">常规pu面2孔</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>


        <div class="quote_edit_main_pz">
          <div class="quote_edit_main_pzname">脚</div>
          <div class="quote_edit_main_pzvalue">L350皮纹尼龙脚+红装饰片</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>

        <div class="quote_edit_main_pz">
          <div class="quote_edit_main_pzname">轮子</div>
          <div class="quote_edit_main_pzvalue">60mm亚光黑月亮轮</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-iconfontjiantou2"></use>
            </svg>
          </div>
        </div>
      </div>

      <!-- <div class="liubai"></div> -->

      <div class="quote_edit_main quote_edit_flex">
        <div class="quote_edit_main_qty">数量</div>
        <div>
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-shuliangjian1"></use>
          </svg>
        </div>
        <div class="quote_edit_main_qtyvalue">
          432
        </div>
        <div>
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-shuliangjia1"></use>
          </svg>
        </div>

      </div>


      <div class="liubai"></div>

      <div class="quote_edit_main">
        <div style="display:flex;align-items: center;">
          <div class="quote_edit_main_qty">客户</div>
          <div class="quote_edit_main_pzbtn" style="color:#333">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-xuanxiang"></use>
            </svg>
          </div>
        </div>
        <div class="quote_edit_main_pzvalue">新西兰某某经销商</div>
        <div class="quote_edit_main_pzvalue" style="font-size:12px;padding:5px 0 ">588 GREAT SOUTH ROAD, GREENLANE,
          AUCKLAND, NEW ZEALAND</div>
        <div style="display:flex;align-items: center;">
          <div class="quote_edit_main_qty">总运费</div>
          <div class="quote_edit_main_qtyvalue" style="margin-left:10px;">5500</div>
        </div>
        <div class="quote_edit_subinfo" style="margin-top:5px;">单产品运费 12.73</div>
      </div>

      <div class="liubai"></div>

      <div class="quote_edit_main">
        <div class="quote_edit_main_title">其它费用</div>
        <div style="display:flex;align-items: center;margin-bottom:5px;">
          <div class="quote_edit_main_pzname">研发费</div>
          <div class="quote_edit_main_qtyvalue" style="width:20px;text-align: center;">3%</div>
          <div class="quote_edit_subinfo" style="margin-left:10px;">单产品研发费 9.64</div>
        </div>
        <div style="display:flex;align-items: center;margin-bottom:5px;">
          <div class="quote_edit_main_pzname">管理费</div>
          <div class="quote_edit_main_qtyvalue" style="width:20px;text-align: center;">3%</div>
          <div class="quote_edit_subinfo" style="margin-left:10px;">单产品管理费 9.93</div>
        </div>
        <div style="display:flex;align-items: center;margin-bottom:5px;">
          <div class="quote_edit_main_pzname">税收</div>
          <div class="quote_edit_main_qtyvalue" style="width:20px;text-align: center;">8%</div>
          <div class="quote_edit_subinfo" style="margin-left:10px;">单产品税收 25.71</div>
        </div>
        <div style="display:flex;align-items: center;margin-bottom:5px;">
          <div class="quote_edit_main_pzname">利润</div>
          <div class="quote_edit_main_qtyvalue" style="width:20px;text-align: center;">8</div>
        </div>
      </div>

      <div class="liubai"></div>
      <div class="quote_edit_main">
        <div class="quote_edit_flex">
          <div class="quote_edit_main_qty">币种</div>
          <div class="quote_edit_main_pzvalue">美元</div>
          <div class="quote_edit_main_pzvalue" style="margin-left:10px;">汇率 6.5</div>
          <div class="quote_edit_main_pzbtn" style="color:#333">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-xuanxiang"></use>
            </svg>
          </div>
        </div>
        <div class="quote_edit_flex">
          <div class="quote_edit_main_qty">单价</div>
          <div class="quote_edit_main_pzvalue">人民币 375</div>
          <div class="quote_edit_main_pzvalue" style="margin-left:10px;">折合美元 57.63</div>
        </div>
        <div class="quote_edit_flex">
          <div class="quote_edit_main_qty">总金额</div>
          <div class="quote_edit_main_pzvalue">人民币 162,000</div>
          <div class="quote_edit_main_pzvalue" style="margin-left:10px;">折合美元 24,896.16</div>
        </div>
      </div>
    </div>

    <div class="quote_edit_btn_wrap">
      <div class="quote_edit_btn" style="background-color: #ffb732;width: 65%;">最终报价 ¥375</div>
      <div class="quote_edit_btn" style="width: 35%;">
        <svg class="icon" aria-hidden="true">
          <use xlink:href="#icon-tongyi"></use>
        </svg>
        确定报价
      </div>
    </div>

    <div v-show="ifch==1">
      <div class="quote_edit_mask"></div>
      <div class="quote_edit_pzch">
        <div class="quote_edit_flex quote_edit_main_title">
          <div style="margin-left:40%">汽杆选择</div>
          <div class="quote_edit_main_pzbtn">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-guanbi"></use>
            </svg>
          </div>
        </div>
        <div class="quote_edit_pzch_value">
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100电镀/博特</div>
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100白色喷塑/博特</div>
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100红色喷塑/博特</div>
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100灰色喷塑/博特</div>
          <div class="quote_edit_pzch_value_checked">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-check1"></use>
            </svg>
            100黑气杆</div>
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100白色喷塑/巨威</div>
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100红色喷塑/巨威</div>
          <div>
            <svg class="icon" aria-hidden="true" style="color:#888">
              <use xlink:href="#icon-buzouweijinxing"></use>
            </svg>
            100灰色喷塑/巨威</div>
        </div>


      </div>

    </div>

  </div>
</template>
<script>
  export default {
    name: 'quoteedit',
    data() {
      return {
        ifch: 0 //选择配置 0-没有显示  1-显示 
      }
    },
    methods: {
      goback() {
        {
          history.back();
        }
      }
    }

  }

</script>
<style>
  body {
    margin: 0;
    padding: 0;
    /* background-color: #fff; */
    font-family: "微软雅黑";
    font-size: 14px;
  }

  .quote_edit_mtrlmode div {
    margin-right: 5px;
  }

  .quote_edit_pzch_value {
    font-size: 15px;
    padding: 5px 20px;
  }

  .quote_edit_pzch_value div {
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
  }

  .quote_edit_pzch_value_checked {
    color: #ef250f
  }

  .quote_edit_mask {
    height: 100%;
    width: 100%;
    background-color: #1d1d1d;
    opacity: 0.8;
    position: fixed;
    top: 0px;
    z-index: 9998;
  }

  .quote_edit_pzch {
    z-index: 9999;
    background-color: #ffffff;
    position: fixed;
    bottom: 0px;
    height: 60%;
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 10px 0;
  }



  .topbar {
    min-height: 44px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: fixed;
    width: 100%;
    z-index: 9993;
    display: flex;
    font-size: 18px;
    align-items: center;
  }

  .topbar_left {
    /* flex: 0 0 %; */
    margin-left: 10px;
  }

  .topbar_middle {
    text-align: center;
    flex: 0 0 85%;
  }

  .topbar_right {
    /* flex: 0 0 10%; */
    position: absolute;
    right: 10px;
  }

  #quote_edit {
    position: absolute;
    top: 44px;
    width: 100%;
    padding-bottom: 60px;
  }

  .quote_edit_pic {
    /* overflow: hidden; */
    text-align: center;
  }

  .quote_edit_img {
    width: 80%
  }

  .quote_edit_main {
    margin: 5px 20px;
    padding: 5px 0;
  }

  .quote_edit_main_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .quote_edit_mtrlname {
    font-size: 16px;
    font-weight: bold;
    line-height: 18px;
    color: #333;
  }

  .quote_edit_subinfo {
    font-size: 12px;
    color: #666;
  }

  .quote_edit_amt {
    color: #ff0000;
    font-weight: bold;
    font-size: 20px;
    margin-top: 5px;
  }

  .quote_edit_amt span {
    font-size: 12px;
    font-weight: 500;
    padding: 0 2px 0 0;
  }

  .quote_edit_main_pz {
    font-size: 14px;
    display: flex;
    line-height: 28px;
  }

  .quote_edit_main_pzname {
    flex: 0 0 55px;
    font-weight: bold;
    color: #666
  }

  .quote_edit_main_pzvalue {
    color: #666
  }

  .quote_edit_main_pzbtn {
    position: absolute;
    right: 20px;
    color: #ccc;
    font-size: 12px;
  }

  .liubai {
    width: 100%;
    height: 10px;
    background-color: #f6f6f6;
  }

  .quote_edit_main_qty {
    font-size: 16px;
    font-weight: bold;
    flex: 0 0 55px;
  }

  .quote_edit_main_qtyvalue {
    background-color: #f6f6f6;
    font-size: 14px;
    padding: 4px 15px;
  }

  .quote_edit_flex {
    display: flex;
    align-items: center;
  }

  .quote_edit_btn_wrap {
    display: flex;
    position: fixed;
    bottom: 0;
    /* background-color: #fc4e2c; */
    width: 100%;
    z-index: 9990;
    align-items: center;
    justify-content: center;
    /* padding: 5px 0 2px 0; */
    box-shadow: 0 -1px 3px #f1f1f1;
  }

  .quote_edit_btn {
    /* background-color: #ffb732; */
    background-color: #fc4e2c;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
  }

</style>
