咳
  • 发布:2022-09-08 23:51
  • 更新:2022-09-09 10:21
  • 阅读:241

【报Bug】nvue和vue对于border style的表现不一致

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 设备名称 DESKTOP-O8KRVCG 处理器 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz 机带 RAM 16.0 GB (15.8 GB 可用) 设备 ID 203ED2D7-5A18-4349-92D5-A7818D0157BB 产品 ID 00342-36327-00835-AAOEM 系统类型 64 位操作系统, 基于 x64 的处理器 笔和触控 没有可用于此显示器的笔或触控输入

HBuilderX类型: 正式

HBuilderX版本号: 3.6.1

手机系统: Android

手机系统版本号: Android 12

手机厂商: 小米

手机机型: Redmi Note 9 Pro

页面类型: nvue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
<template>  
    <view class="content" style="display: flex;flex-direction: column;justify-content: center;align-items: center;">  
        <view class="leftprogress">  

        </view>  
        <view style="height: 30px;"></view>  
        <navigator url="/pages/index/test/test">去NVUE页面看</navigator>  
    </view>  
</template>  

<script>  
    export default {  
        data() {  
            return {  
                title: 'Hello'  
            }  
        },  
        onLoad() {  

        },  
        methods: {  

        }  
    }  
</script>  

<style>  
    .leftprogress{  
        /* #ifndef APP-PLUS-NVUE */  
        box-sizing:border-box;  
        /* #endif */  
        width: 320px;  
        height: 320px;  
        border-top-width:40px;  
        border-top-style:solid;  
        border-top-color:#7ef22e;  
        border-right-width:40px;  
        border-right-style:solid;  
        border-right-color:green;  
        border-bottom-width:40px;  
        border-bottom-style:solid;  
        border-bottom-color:green;  

        border-left-width:40px;  
        border-left-style:solid;  
        border-left-color:#7ef22e;  

    }  
</style>  

操作步骤:

把代码分别存成vue和nvue页面,查看

预期结果:

border角都下岗vue页面一样修正处理

实际结果:

实际上nvue页面处理有问题

bug描述:

相同的border style代码再nvue和vue页面对于border style的表现不一致

2022-09-08 23:51 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

要回复问题请先登录注册