秋凡
秋凡
  • 发布:2019-04-30 15:36
  • 更新:2019-04-30 15:37
  • 阅读:1332

【报Bug】条件编译不生效???

分类:uni-app

详情 请看 下图

编译前

编译后

2019-04-30 15:36 负责人:无 分享
已邀请:
秋凡

秋凡 (作者) - 全职接单 高效率、高质量 uniapp项目开发 服务器部署-运维 欢迎咨询 Q:377313813 vx:ran1ever

<style lang="less">  
  .create-activity{  
    view{  
      position: relative  
    }  
    .popup-layer {  
      top: 0;  
      /* #ifdef MP-WEIXIN */  
      top: 65px;  
      /* #endif */  
    }  
    .popup-content {  
      top: 0;  
    }  
  }  
</style>  

<template>  
    <view class="create-activity">  
    <view class="popup-content">1</view>  
    <view class="popup-layer">2</view>  
  </view>  
</template>  

<script>  
    export default {  
        data() {  
            return {  

            }  
        },  
    methods: {  

    },  
        onLoad:async function() {  

        }  
    }  
</script>

该问题目前已经被锁定, 无法添加新回复