Bläddra i källkod

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

tags/2.2.4
meo 6 år sedan
förälder
incheckning
d86dca9e27
5 ändrade filer med 47 tillägg och 19 borttagningar
  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 Visa fil

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


+ 32
- 9
pages/bannerdetail/index.wxss Visa fil

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

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

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

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

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

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

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


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

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

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

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

.tit {
margin-top: 32rpx; margin-top: 32rpx;
} }

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


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

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

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


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

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

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

.usermotto { .usermotto {
margin-top: 200px; margin-top: 200px;
} }


+ 3
- 0
pages/index/coupons/index.wxss Visa fil

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

+ 1
- 1
pages/order/index/index.wxss Visa fil

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


+ 0
- 9
pages/rushToBuy/index.js Visa fil

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


Laddar…
Avbryt
Spara