xiangyu的common css

// 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年工作经验 已婚已育

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值