// xiangyu的commoncss
.yincang {
white-space: nowrap; /*一行显示*/
overflow: hidden; /*超出部分隐藏*/
text-overflow: ellipsis;
}
.xycenter {
display: flex;
justify-content: center;
align-items: center;
}
.p10 {
padding: 20rpx;
}
.p15 {
padding: 30rpx;
}
.pp15 {
padding: 15px 15px 0 15px;
}
.p20 {
padding: 40rpx;
}
.p30 {
padding: 60rpx;
}
// 左右 padidng30rpx
.zyp15 {
padding: 0 30rpx;
}
.zyp30 {
padding: 0 60rpx;
}
.pt15 {
padding-top: 30rpx;
}
.s-mb {
margin-bottom: 6rpx;
}
.mb {
margin-bottom: 18rpx;
}
.m-mb {
margin-bottom: 24rpx;
}
.mr {
margin-right: 12rpx;
}
.m-mr {
margin-right: 16rpx;
}
.ml {
margin-left: 12rpx;
}
.m-ml {
margin-left: 16rpx;
}
// 字体
.fs16 {
font-size: 32rpx;
}
.fs14 {
font-size: 28rpx;
}
.fs12 {
font-size: 24rpx ;
}
.threehang {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.onehang {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.mybox00 {
width: 124px;
height: 121px;
margin-bottom: 5px;
.beijingtu {
width: 100%;
height: 100%;
margin-right: 10px;
border-radius: 4px;
background: url("https://img2.baidu.com/it/u=3853345508,384760633&fm=253&app=120&size=w931&n=0&f=JPEG&fmt=auto?sec=1690822800&t=af51f3b594d79e98a711d0525a82af18");
background-size: cover;
}
}
.xyflex1 {
display: flex;
}
.xyflex {
display: flex;
align-items: center;
}
.abadf {
display: flex;
justify-content: space-between;
align-items: center;
justify-content: center;
flex-direction: column;
justify-content: flex-end;
flex: 1;
}
.aaa view {
box-sizing: border-box;
}
<view class="mybox">
<view
class="beijingtu"
:style="{ backgroundImage: 'url(' + header + ')' }"
>
</view>
</view>
header:
"https://img2.baidu.com/it/u=3853345508,384760633&fm=253&app=120&size=w931&n=0&f=JPEG&fmt=auto?sec=1690822800&t=af51f3b594d79e98a711d0525a82af18",
写静态页面快 写过聊天 语音 微信分享 树状结构 工作经验丰富 4年工作经验 已婚已育