<template>
   <div class="app-container">
   <div class="RealContent">
     <iframe  :src="iframeUrl" frameborder="0" id="fxifram" width="100%" style="filter:Chroma(Color=white);" ></iframe>
   </div>
  </div> 
</template>

<script>
export default {
  name: "distribution",
  data() {
    return {
      iframeUrl:
        "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&r=commission&fxtoken=c74cf4e1feacce0a363632927cd0e430&fxorgid=3877&timestamp=1559804081&fxadmin=185"
    };
  },
  mounted() {
    const oIframe = document.getElementById("fxifram");
    const deviceHeight = document.documentElement.clientHeight;
    oIframe.style.height = Number(deviceHeight) - 124 + "px"; //数字是页面布局高度差
  } //
};
</script>

