浏览代码

[标题和副标题的修改][修改]:标题和副标题的修改,多余的字体变成省略号

tags/2.2.4
meo 6 年前
父节点
当前提交
d86dca9e27
共有 5 个文件被更改,包括 47 次插入19 次删除
  1. +11
    -0
      components/coupons/index.wxss
  2. +32
    -9
      pages/bannerdetail/index.wxss
  3. +3
    -0
      pages/index/coupons/index.wxss
  4. +1
    -1
      pages/order/index/index.wxss
  5. +0
    -9
      pages/rushToBuy/index.js

+ 11
- 0
components/coupons/index.wxss 查看文件

@@ -52,6 +52,11 @@
}
.tit{
margin-top: 32rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 300rpx;
height: 40rpx;
}
.coupons-info-price-o {
display: block;
@@ -102,6 +107,11 @@
color: #333;
font-weight: 100;
text-align: left;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 300rpx;
height: 40rpx;
}
.coupons-info-manjian {
color: #fa7c7a;
@@ -130,6 +140,7 @@
.sy{
display: block;
text-align: center;
width: 120rpx;
}
.usermotto {
margin-top: 200px;


+ 32
- 9
pages/bannerdetail/index.wxss 查看文件

@@ -1,4 +1,5 @@
@import "../../app.wxss";

.coupons {
width: 100%;
background: #f6f6f6;
@@ -141,6 +142,7 @@
color: #b8b8b8;
padding-top: 10rpx;
}

.notes view:nth-child(1) {
width: 92%;
height: 87rpx;
@@ -158,7 +160,7 @@
.notes view:nth-child(2) {
width: 92%;
height: auto;
padding:0 4% 4%;
padding: 0 4% 4%;
background: #fff;
border-bottom: 1rpx solid #f5f5f5;
display: flex;
@@ -186,7 +188,7 @@
background: #fff;
position: fixed;
padding-top: 10rpx;
height:98rpx;
height: 98rpx;
bottom: 0rpx;
left: 0;
right: 0;
@@ -204,6 +206,7 @@
text-align: center;
border-radius: 6rpx;
}

.coupons1-btn-gm {
background: #00c0ff !important;
border-radius: 10rpx !important;
@@ -211,20 +214,22 @@
padding: 0 !important;
font-family: PingFangSC-Semibold;
font-size: 28rpx;
color: #ffffff !important;
color: #fff !important;
letter-spacing: 0;
height: 50rpx !important;
width: 138rpx !important;
line-height: 50rpx !important;
}

.coupons1 {
flex-direction: row;
display: flex;
padding: 30rpx;
position: relative;
height: 184rpx;
border:1px solid #eee;
border: 1px solid #eee;
}

.coupons1-border {
height: 1rpx;
/* width: 100%; */
@@ -234,6 +239,7 @@
position: absolute;
bottom: 0;
}

.coupons1-img {
width: 248rpx;
height: 184rpx;
@@ -252,26 +258,31 @@

.coupons1-info-name {
font-size: 28rpx;
color: #000000;
color: #000;
letter-spacing: 0;
line-height: 38rpx;
}

.coupons1-info-price {
padding: 32rpx 0 0;
}
.i{

.i {
font-size: 20rpx;
font-style: normal;
}

.coupons1-info-price-p {
display: inline-block;
font-size: 36rpx;
color: #f96563;
line-height: 50rpx;
}
.tit{

.tit {
margin-top: 32rpx;
}

.coupons1-info-price-o {
display: block;
text-align: center;
@@ -299,6 +310,7 @@

.coupons1-btn {
position: absolute;
width: 120rpx;
top: 40rpx;
right: 30rpx;
}
@@ -310,18 +322,25 @@
padding: 0 !important;
font-family: PingFangSC-Semibold;
font-size: 28rpx;
color: #ffffff !important;
color: #fff !important;
letter-spacing: 0;
height: 50rpx !important;
width: 138rpx !important;
line-height: 50rpx !important;
}

.subtitle {
font-size: 22rpx;
color: #333;
font-weight: 100;
text-align: left;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 300rpx;
height: 40rpx;
}

.coupons1-info-manjian {
color: #fa7c7a;
font-size: 20rpx;
@@ -330,6 +349,7 @@
}

/**上拉加载更多**/

.userinfo {
display: flex;
flex-direction: column;
@@ -346,10 +366,13 @@
.userinfo-nickname {
color: #aaa;
}
.sy{

.sy {
display: block;
text-align: center;
width: 120rpx!important;
}

.usermotto {
margin-top: 200px;
}


+ 3
- 0
pages/index/coupons/index.wxss 查看文件

@@ -0,0 +1,3 @@
.index-coupons{
height:2036rpx;
}

+ 1
- 1
pages/order/index/index.wxss 查看文件

@@ -131,7 +131,7 @@
display: block;
text-align: center;
font-size: 30rpx;
color: #999;
color: #00c0ff;
}
.dingdan image {
display: block;


+ 0
- 9
pages/rushToBuy/index.js 查看文件

@@ -119,15 +119,6 @@ Page({
url: `/pages/coupon/detail/index?couponChannelId=${
e.currentTarget.dataset.couponchannelid
}&couponId=${e.currentTarget.dataset.couponid}`,
success: function(res) {
// success
},
fail: function() {
// fail
},
complete: function() {
// complete
}
});
},
/**


正在加载...
取消
保存