修复 nvue部分样式编译错误的问题

This commit is contained in:
亓雪峰 2020-11-11 12:00:07 +08:00
parent 497d49eceb
commit fb297e8a8c

View File

@ -96,7 +96,9 @@
border-bottom-width: 2rpx; border-bottom-width: 2rpx;
border-style: solid; border-style: solid;
border-color: #ECECEC; border-color: #ECECEC;
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
@ -124,7 +126,9 @@
border-bottom-width: 2rpx; border-bottom-width: 2rpx;
border-style: solid; border-style: solid;
border-color: #ECECEC; border-color: #ECECEC;
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
@ -183,7 +187,9 @@
border-radius: 30rpx; border-radius: 30rpx;
} }
.userlist{ .userlist{
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: row-reverse; flex-direction: row-reverse;
width: 150rpx; width: 150rpx;
height: 60rpx; height: 60rpx;
@ -205,7 +211,9 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.userinfo { .userinfo {
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: column; flex-direction: column;
width: 100rpx; width: 100rpx;
margin-left: 20rpx; margin-left: 20rpx;
@ -240,7 +248,9 @@
left: 30rpx; left: 30rpx;
width: 308rpx; width: 308rpx;
height: 70rpx; height: 70rpx;
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
align-items: center; align-items: center;
border-radius: 35rpx; border-radius: 35rpx;
overflow: hidden; overflow: hidden;
@ -315,7 +325,9 @@
font-size: 30rpx; font-size: 30rpx;
color: #fff; color: #fff;
flex-direction: column-reverse; flex-direction: column-reverse;
/* #ifndef APP-PLUS-NVUE */
word-wrap:anywhere; word-wrap:anywhere;
/* #endif */
font-weight: bold; font-weight: bold;
} }
</style> </style>