<template>
  <view class="offer-list">
    <view class="offer">
        <img :src="picurl" alt="" class="nonepic">
        <view class="desc">{{desc}}</view>
    </view>
  </view>
</template>
<script>
export default {
  name: "offerList",
  props:{
    picurl:{
      type:String
    },
    desc:{
      type:String
    }
  }
};
// 页面数据为空的时候（仅限于优惠券）
// picurl 居中的图片  desc图片下面的字  
</script>
<style lang="scss" scoped>
.offer-list {
    width: 750upx;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  .offer {
    width: 479upx;
    height: 421upx;
    margin: auto;
    .nonepic{
        width: 479upx;
        height: 356upx;
    }
    .desc{
        width: 479upx;
        color:#999999;
        font-size: 26upx;
        text-align: center;
        margin-top: 38upx;
    }
  }
}
</style>