文字样式?
发布于 4 年前 作者 xiuyingpeng 13922 次浏览 来自 问答

图中的文字样式怎么设置?

title是标题

wxss如下:

.

.container{

  margin-top:80rpx;

  /* padding-top:80rpx; */

  width: 750rpx;

  position: fixed;

  left: 0;

  bottom: 100rpx;

  z-index: 100;

  /* border-bottom: 1px solid #ccc; */

}



.cateContent{

  width:570rpx ;

}


.product image{


  width: 200rpx;

  height: 200rpx;

}

.product .title,.product .title text{

  width: 200

  text-overflow: ellipsis;

  overflow: hidden;

  /* margin-left: 0rpx; */

  white-space: nowrap;

}



/**index.wxss**/

page,

.page,

.page__bd{

    height: 100%;

}

.page__bd{

    padding-bottom: 0;

}


/**导航栏**/

.weui-tab__content{

    padding-top: 60px;

    text-align: center;

}

.weui-navbar__slider {

  width: 42px;

}

.navar-fixed-to-top {

  /**iOS 上完美锁定了 navbar 但安卓上无法锁定**/

  position: fixed;

  top: 0rpx;

}

.navbar-background-color {

  background-color: rgb(161, 202, 232);

}

.navbar-text-color {

  color: white;

}

.navbar-slider-color {

  background-color: white;

}


/**分页新闻头条**/

.weui-tab-content-padding {

  padding-top: 20rpx; 

}

.front-page-edge {

  margin: 20rpx;

}

.front-page-content {

  height: 300rpx;

  padding: 15rpx 0rpx;

  background-repeat: no-repeat;

  background-position:center;

  background-size: cover;

}

.front-page-title-font {

  padding-left: 15rpx;

  padding-right: 15rpx;

  padding-top: 15rpx;

  color: #EFEFEF;

  font-size: 27rpx;

  line-height: 1.1rem;

}

.front-page-subtitle-font {

  margin-top: 5rpx;

  padding-left: 15rpx;

  padding-right: 15rpx;

  padding-bottom: 15rpx;

  color: ghostwhite;

  opacity: 0.9;

  font-size: 24rpx;

  line-height: 1.1rem;

}

.front-page-text-wrapper {

  position: absolute;

  bottom: 0rpx;

  width: 100%;

  background: rgba(0,0,0,0.5);


}


/**分页新闻列表**/

.page-background {

  background-color: #ffffff;

}

.text-align_left {

  text-align: left;

}

.weui-media-box__hd_in-appmsg_image {

  height: 120rpx;

  width: 160rpx;

  margin-left: 20rpx; 

}

.news-list-title-text-font {

  color: #888888;

  font-size: 27rpx;

  line-height: 1.1rem;

 


}

.news-list-subtitle-text-font {

  color: #cecece;

  font-size: 24rpx;

  line-height: 1.1rem;

  margin-top: 5rpx;

  padding-bottom: 0rpx;

}


/**去掉 weui-panel 中讨厌的 border **/

.my-weui-panel{

  background-color:#FAFAFA;

  margin-top:10px;

  position:relative;

  overflow:hidden;

}

.my-weui-panel:first-child{

  margin-top:0;

}

.my-weui-panel:before{

  top:0;

}

.my-weui-panel:after, .my-weui-panel:before{

  content:" ";

  position:absolute;

  left:0;

  right:0;

  height:1px;

  color:#e5e5e5;

}

.my-weui-panel:after{

  bottom:0;

}

.section1{

  justify-content: center;

  display: flex;

  /* left: 5rpx; */

  width: 720rpx;

  height: 100rpx;

  border: 2rpx solid #000;

  border-radius: 20rpx;

  visibility:hidden

}

[@import](/user/import) '../../style/weui.wxss'


回到顶部