<template>
  <view>
    <view class="loading">
      <view class="loading-img-s1">
        <view class="loading-img">
          <image class="image" :src="imgfixUrls + 'loading.svg'" mode="aspectFill" v-if="!white"></image>
          <image class="image" :src="imgfixUrls + 'loading1.svg'" mode="aspectFill" v-if="white"></image>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  props: ['white'],
  data(){
	  return{
		 img:'' 
	  }
  },
  mounted() {
  	this.img = this.imgfixUrl;
  }
}
</script>

<style scoped>
.loading {
  text-align: center;
  margin: 0;
  padding: 0;
  position: fixed;
  z-index: 99999;
}
.loading-img-s1 {
  height: 40px;
  line-height: 40px;
	padding: 10px 0;
  overflow: hidden;
}
.loading-img {
  width: 140px;
  height: 40px;
  display: inline-block;
}
.loading .image {
  width: 100%;
  height: 100%;
}
</style>
