Files
Wechat/pages/merchant-home/merchant-home.wxss

310 lines
4.3 KiB
Plaintext

@import '../../styles/shangjia-xym-common.wxss';
page {
background: #fff8e1;
}
.sj-page--home {
overflow: visible;
padding-bottom: calc(110rpx + env(safe-area-inset-bottom));
}
.nav-bar {
display: flex;
align-items: center;
justify-content: center;
}
.guest-box {
margin-top: 80rpx;
padding: 48rpx 32rpx;
text-align: center;
}
.guest-title {
display: block;
font-size: 34rpx;
font-weight: 700;
color: #343434;
}
.guest-desc {
display: block;
font-size: 26rpx;
color: #888;
margin: 16rpx 0 32rpx;
}
.guest-btn {
height: 88rpx;
font-size: 30rpx;
}
.sj-main-body {
position: relative;
z-index: 3;
padding-bottom: 24rpx;
}
.swiper-wrap {
box-sizing: border-box;
overflow: hidden;
margin: 12rpx 24rpx 16rpx;
}
.swiper-con {
position: relative;
overflow: hidden;
}
.banner-swiper,
.slide-image,
.banner-placeholder {
width: 100%;
height: 300rpx;
border-radius: 20rpx;
}
.dots {
position: absolute;
bottom: 20rpx;
left: 50%;
transform: translateX(-50%);
z-index: 3;
gap: 10rpx;
}
.dot {
width: 8rpx;
height: 8rpx;
border-radius: 50%;
background: #fff;
transition: all 0.3s;
}
.dot.active {
width: 16rpx;
border-radius: 8rpx;
background: #ffd061;
}
.sj-notice-bar {
display: flex;
align-items: center;
background: #fdf9db;
margin: 0 24rpx;
border-radius: 10rpx;
padding: 10rpx 16rpx;
}
.notice-ico {
width: 56rpx;
height: 56rpx;
flex-shrink: 0;
margin-right: 12rpx;
}
.sj-notice-txt {
font-size: 24rpx;
color: #666;
line-height: 1.5;
flex: 1;
}
.sj-fadan-row {
display: flex;
margin: 24rpx 20rpx 0;
padding: 10rpx;
gap: 8rpx;
}
.sj-fadan-img-btn {
flex: 1;
height: 150rpx;
background-size: 100% 100%;
background-repeat: no-repeat;
}
.sj-fadan-img-btn--left {
background-image: url('https://bintao.xmxym88.com/xcx/bintao/74.png');
margin-right: 8rpx;
}
.sj-fadan-img-btn--right {
background-image: url('https://bintao.xmxym88.com/xcx/bintao/76.png');
margin-left: 8rpx;
}
.merchant-stats {
margin: 32rpx 25rpx 0;
border-radius: 26rpx;
padding-bottom: 24rpx;
position: relative;
overflow: hidden;
background: #fff;
box-shadow: 0 6rpx 22rpx rgba(0, 0, 0, 0.08);
}
.merchant-stats-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-size: 100% auto;
background-repeat: no-repeat;
pointer-events: none;
z-index: 0;
}
.merchant-stats-inner {
position: relative;
z-index: 2;
padding: 0 0 10rpx;
}
.stats-hd {
padding: 24rpx 25rpx 10rpx;
}
.stats-hd-sp {
flex: 1;
}
.stats-more {
font-size: 28rpx;
font-weight: 700;
color: #fff;
}
.stats-row {
align-items: stretch;
background: #fff;
border-radius: 20rpx;
margin: 0 16rpx;
}
.stats-row--gap {
margin-top: 12rpx;
}
.stat-col {
flex: 1;
min-width: 0;
padding: 36rpx 24rpx;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.stat-lbl {
font-size: 24rpx;
color: #666;
opacity: 0.85;
margin-bottom: 12rpx;
}
.stat-num {
font-size: 44rpx;
font-weight: 700;
color: #222;
}
.stat-divider {
width: 2rpx;
background: #eee;
height: 80rpx;
align-self: center;
flex-shrink: 0;
}
.stats-kefu-wrap {
margin: 20rpx 24rpx 0;
}
.kefu-row-inset {
align-items: flex-start;
width: 100%;
gap: 20rpx;
}
.kefu-btn-inset {
flex: 1;
line-height: 0;
}
.kefu-inset-img {
width: 100%;
display: block;
}
.recent-box {
margin: 28rpx 24rpx 0;
border-radius: 26rpx;
background: #fff;
padding-bottom: 10rpx;
box-shadow: 0 6rpx 22rpx rgba(0, 0, 0, 0.06);
}
.recent-hd {
padding: 24rpx;
}
.recent-title {
font-size: 32rpx;
font-weight: 700;
color: #222;
}
.recent-more {
font-size: 24rpx;
color: #999;
}
.recent-item {
padding: 20rpx 24rpx;
border-top: 1rpx solid #f0f0f0;
align-items: center;
}
.recent-name {
font-size: 28rpx;
font-weight: 700;
color: #333;
}
.recent-sub {
font-size: 22rpx;
color: #999;
margin-top: 8rpx;
display: block;
}
.recent-money {
font-size: 30rpx;
color: #e67e22;
font-weight: 700;
flex-shrink: 0;
margin-left: 16rpx;
}
.recent-main {
flex: 1;
min-width: 0;
}
.recent-empty {
text-align: center;
padding: 48rpx;
font-size: 26rpx;
color: #999;
}
.line2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}