first commit
This commit is contained in:
317
衣莎项目/源码/YiShaXiYi/pages/index/index.wxss
Normal file
317
衣莎项目/源码/YiShaXiYi/pages/index/index.wxss
Normal file
@@ -0,0 +1,317 @@
|
||||
@import "../../css/_main.wxss";
|
||||
|
||||
/* pages/index/index.wxss */
|
||||
|
||||
|
||||
page {
|
||||
background: #f5f5f5 !important;
|
||||
}
|
||||
|
||||
.swp {
|
||||
height: 270rpx;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.swp .screen-swiper {
|
||||
border-radius: 10rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*用来包裹所有的小圆点 */
|
||||
|
||||
.dots {
|
||||
width: 100%;
|
||||
height: 6rpx;
|
||||
flex-direction: row;
|
||||
position: absolute;
|
||||
bottom: -20rpx;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/*未选中时的小圆点样式 */
|
||||
|
||||
.dot {
|
||||
margin: 0 5rpx;
|
||||
width: 15rpx;
|
||||
height: 6rpx;
|
||||
background-color: #d9d9d9;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
/*选中以后的小圆点样式 */
|
||||
|
||||
.active {
|
||||
width: 31rpx;
|
||||
height: 6rpx;
|
||||
background-color: #6f6f6f;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
swiper {
|
||||
height: 270rpx !important;
|
||||
}
|
||||
|
||||
.tower-swiper .tower-item {
|
||||
transform: scale(calc(0.5 + var(--index) / 10));
|
||||
margin-left: calc(var(--left) * 100rpx - 150rpx);
|
||||
z-index: var(--index);
|
||||
}
|
||||
|
||||
.swiper-item-index{
|
||||
border-radius: 10rpx;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.swp-img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
/* border-radius: 10rpx; */
|
||||
}
|
||||
|
||||
/* 分类 */
|
||||
|
||||
.classification {
|
||||
width: 100%;
|
||||
padding: 30rpx 0rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.class_row {
|
||||
width: 25%;
|
||||
/* height: 100rpx; */
|
||||
text-align: center;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.class_row:nth-child(n+5) {
|
||||
margin-top: 25rpx;
|
||||
}
|
||||
|
||||
.class_img image {
|
||||
height: 88rpx;
|
||||
width: 88rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.class_p {
|
||||
font-family: 'PingFang-SC-Medium';
|
||||
margin-top: 10rpx;
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.head {
|
||||
width: 100%;
|
||||
padding: 30rpx 30rpx;
|
||||
/* background-color: #ffffff; */
|
||||
}
|
||||
|
||||
.head_title {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.head_l {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.head_ll {
|
||||
flex: 1;
|
||||
font-size: 36rpx;
|
||||
color: #333;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.head_lr {
|
||||
text-align: right;
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.head_rimg {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.head_rimg image {
|
||||
width: 9rpx;
|
||||
height: 18rpx;
|
||||
}
|
||||
|
||||
/* 品牌合作start */
|
||||
|
||||
.head_con {
|
||||
margin-top: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.know {
|
||||
display: block;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.know:nth-child(1) {
|
||||
border-top-left-radius: 10rpx;
|
||||
border-top-right-radius: 10rpx;
|
||||
}
|
||||
|
||||
.know:last-child {
|
||||
border-bottom-right-radius: 10rpx;
|
||||
border-bottom-left-radius: 10rpx;
|
||||
}
|
||||
|
||||
.know_row {
|
||||
padding: 30rpx 0;
|
||||
height: 140rpx;
|
||||
border-bottom: 2rpx solid #ebebeb;
|
||||
box-sizing: initial;
|
||||
}
|
||||
|
||||
.know:last-child .know_row {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.know_row_img {
|
||||
width: 255rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 15rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.know_row_img image {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.know_row_text {
|
||||
font-family: PingFang-SC-Medium;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
line-height: 36rpx;
|
||||
color: #333;
|
||||
display: -webkit-box !important;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.know_row_time {
|
||||
text-align: right;
|
||||
font-family: PingFang-SC-Medium;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
font-stretch: normal;
|
||||
line-height: 36rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* 品牌合作end */
|
||||
|
||||
.shop_key {
|
||||
background: #fff;
|
||||
overflow-x: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding: 34rpx 0 15rpx 0;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.shop_row {
|
||||
margin-left: 30rpx;
|
||||
text-align: center;
|
||||
width: 180rpx;
|
||||
}
|
||||
|
||||
.shop_row:last-child {
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
.shop_img {
|
||||
width: 180rpx;
|
||||
height: 160rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.shop_img image {
|
||||
width: 180rpx;
|
||||
height: 160rpx;
|
||||
}
|
||||
|
||||
.shop_name {
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 1;
|
||||
overflow: hidden;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
|
||||
.shop_pri {
|
||||
font-size: 26rpx;
|
||||
color: #ff2b19;
|
||||
}
|
||||
|
||||
.know image {
|
||||
height: 140rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.my_video {
|
||||
padding: 0 30rpx;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ys_video {
|
||||
width: 100% !important;
|
||||
height: 314rpx;
|
||||
}
|
||||
|
||||
.my_video image {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.tips_video {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
z-index: 99999;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
|
||||
.video_cen {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.video_cen video {
|
||||
width: 620rpx;
|
||||
height: 400rpx;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.video_cen image {
|
||||
width: 69rpx;
|
||||
height: 69rpx;
|
||||
display: block;
|
||||
margin: 20rpx auto 0;
|
||||
}
|
||||
Reference in New Issue
Block a user