You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
613 lines
12 KiB
613 lines
12 KiB
@charset "UTF-8";
|
|
/**
|
|
* 这里是uni-app内置的常用样式变量
|
|
*
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
*
|
|
*/
|
|
/**
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
*
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
*/
|
|
/* 颜色变量 */
|
|
/* 页面左右间距 */
|
|
/* 行为相关颜色 */
|
|
/* 文字基本颜色 */
|
|
/* 背景颜色 */
|
|
/* 边框颜色 */
|
|
/* 尺寸变量 */
|
|
/* 文字尺寸 */
|
|
/*文字颜色*/
|
|
/* 图片尺寸 */
|
|
/* Border Radius */
|
|
/* 水平间距 */
|
|
/* 垂直间距 */
|
|
/* 透明度 */
|
|
/* 文章场景相关 */
|
|
page,
|
|
view,
|
|
scroll-view,
|
|
swiper,
|
|
button,
|
|
input,
|
|
textarea,
|
|
label,
|
|
navigator,
|
|
image {
|
|
box-sizing: border-box !important;
|
|
}
|
|
image {
|
|
vertical-align: top;
|
|
}
|
|
.gg_zz {
|
|
position: fixed;
|
|
top: 0;
|
|
z-index: 1;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #3c3c3c;
|
|
opacity: 0.8;
|
|
}
|
|
.gg_model {
|
|
width: 80%;
|
|
color: #666;
|
|
z-index: 2;
|
|
height: auto;
|
|
border-radius: 10px;
|
|
opacity: 1;
|
|
background-color: white;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
padding: 10px;
|
|
}
|
|
.gg_model text {
|
|
margin-bottom: 15px;
|
|
font-size: 32rpx;
|
|
line-height: 20px;
|
|
}
|
|
.gg_cennel {
|
|
margin: auto;
|
|
display: block;
|
|
width: 55px;
|
|
text-align: center;
|
|
border-radius: 5px;
|
|
font-size: 35rpx;
|
|
color: #50BAFE;
|
|
border: 1rpx solid #50BAFE;
|
|
height: 60rpx;
|
|
line-height: 60rpx;
|
|
}
|
|
.kefubt {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.kf .kfbt {
|
|
display: flex;
|
|
position: fixed;
|
|
z-index: 999999;
|
|
top: 76%;
|
|
right: 0;
|
|
margin-right: 3rpx;
|
|
background: none;
|
|
}
|
|
.kf .kfbt::after {
|
|
border: 0;
|
|
}
|
|
.logo {
|
|
height: 200rpx;
|
|
width: 200rpx;
|
|
margin-top: 200rpx;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 50rpx;
|
|
}
|
|
.text-area {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.top {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.top .main-box {
|
|
display: flex;
|
|
margin: 10rpx;
|
|
justify-content: space-between;
|
|
background: #fff;
|
|
width: 25%;
|
|
padding: 10rpx;
|
|
margin-top: -3px;
|
|
text-align: left;
|
|
}
|
|
.top .input-box {
|
|
width: 70%;
|
|
height: 60rpx;
|
|
background-color: #f5f5f5;
|
|
border-radius: 30rpx;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-right: 15rpx;
|
|
margin-bottom: 15rpx;
|
|
}
|
|
.top .input-box input {
|
|
padding-left: 30rpx;
|
|
height: 28rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
.icon {
|
|
font-family: 'HMfont-home' !important;
|
|
font-size: 60rpx;
|
|
font-style: normal;
|
|
color: #000000;
|
|
}
|
|
.icon.search:before {
|
|
content: '\e628';
|
|
}
|
|
.card-swiper {
|
|
height: 300rpx !important;
|
|
}
|
|
.card-swiper swiper-item {
|
|
box-sizing: border-box;
|
|
padding: 30rpx 0rpx 20rpx;
|
|
overflow: initial;
|
|
}
|
|
.card-swiper swiper-item .swiper-item {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
display: block;
|
|
border-radius: 30rpx;
|
|
-webkit-transform: scale(0.9);
|
|
transform: scale(0.9);
|
|
transition: all 0.2s ease-in 0s;
|
|
overflow: hidden;
|
|
}
|
|
.card-swiper swiper-item .swiper-item .image {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
.card-swiper swiper-item.cur .swiper-item {
|
|
-webkit-transform: none;
|
|
transform: none;
|
|
transition: all 0.2s ease-in 0s;
|
|
}
|
|
.type {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
margin: 20rpx;
|
|
}
|
|
.type .item {
|
|
flex: 0 0 25%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.type .item .image {
|
|
width: 100rpx !important;
|
|
height: 100rpx !important;
|
|
margin-bottom: 10rpx;
|
|
border-radius: 50%;
|
|
}
|
|
.type .item text {
|
|
color: #666 !important;
|
|
font-size: 28rpx !important;
|
|
font-weight: normal !important;
|
|
}
|
|
.ad-1 {
|
|
width: 100%;
|
|
height: 220rpx;
|
|
padding: 10rpx 20rpx;
|
|
background: #fff;
|
|
}
|
|
.ad-1 image {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 15rpx;
|
|
}
|
|
.sellnum {
|
|
font-size: 25rpx;
|
|
padding-left: 15rpx;
|
|
color: #B9B9B9;
|
|
}
|
|
.sdtext {
|
|
padding: 2rpx 8rpx;
|
|
border: 1rpx #DBDBDB solid;
|
|
border-radius: 5rpx;
|
|
color: #B9B9B9;
|
|
font-size: 25rpx;
|
|
margin-top: 3rpx;
|
|
}
|
|
.tjgoodlist {
|
|
padding: 0 30rpx;
|
|
}
|
|
.tjgoodlist .title {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #5FCDA2;
|
|
font-size: 30rpx;
|
|
margin: 20rpx 0;
|
|
}
|
|
.tjgoodlist .title text {
|
|
margin: 0 15rpx;
|
|
}
|
|
.tjgoodlist .title image {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
}
|
|
.tjgoodlist .tj_list {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 10rpx 0;
|
|
border-bottom: 1rpx #F0F0F0 solid;
|
|
height: 260rpx;
|
|
}
|
|
.tjgoodlist .tj_list .tjleft {
|
|
width: 50%;
|
|
}
|
|
.tjgoodlist .tj_list .tjleft image {
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
.tjgoodlist .tj_list .tjright {
|
|
width: 100%;
|
|
padding: 15rpx 4%;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
text-align: justify;
|
|
overflow: hidden;
|
|
font-size: 28rpx;
|
|
color: #747474;
|
|
}
|
|
.tjgoodlist .tj_list .tjright .tjroot {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-items: center;
|
|
padding-top: 8rpx;
|
|
}
|
|
.task-title {
|
|
margin: 30rpx;
|
|
}
|
|
.task-title .top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.task-title .top .left {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
}
|
|
.task-title .top .left view {
|
|
width: 8rpx !important;
|
|
height: 36rpx !important;
|
|
border-radius: 4rpx;
|
|
margin-right: 10rpx;
|
|
background: #50BAFE;
|
|
}
|
|
.task-title .top .left text {
|
|
color: #3A4E73 !important;
|
|
font-size: 36rpx !important;
|
|
font-weight: bold !important;
|
|
}
|
|
.task-title .top .right {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: baseline;
|
|
}
|
|
.task-title .top .right text {
|
|
color: #B0B8C7 !important;
|
|
font-size: 28rpx !important;
|
|
font-weight: normal !important;
|
|
}
|
|
.task-title .bottom {
|
|
margin-top: 5rpx;
|
|
color: #B0B8C7 !important;
|
|
font-size: 24rpx !important;
|
|
font-weight: normal !important;
|
|
}
|
|
.task-list {
|
|
padding: 0 30rpx;
|
|
}
|
|
.task-list .item {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
position: relative;
|
|
padding-top: 20rpx;
|
|
}
|
|
.task-list .item:after {
|
|
content: " ";
|
|
width: 200%;
|
|
height: 200%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
border-radius: inherit;
|
|
-webkit-transform: scale(0.5);
|
|
transform: scale(0.5);
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
pointer-events: none;
|
|
box-sizing: border-box;
|
|
border: 0 #ddd solid;
|
|
border-top-width: 0px;
|
|
border-right-width: 0px;
|
|
border-bottom-width: 1px;
|
|
border-left-width: 0px;
|
|
}
|
|
.task-list .item:first-child {
|
|
padding-top: 0;
|
|
}
|
|
.task-list .item:last-child:after {
|
|
display: none;
|
|
}
|
|
.task-list .item .header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.task-list .item .header .left {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
}
|
|
.task-list .item .header .left .avatar {
|
|
width: 50rpx !important;
|
|
height: 50rpx !important;
|
|
margin-right: 10rpx;
|
|
border-radius: 50%;
|
|
}
|
|
.task-list .item .header .left text {
|
|
color: #333 !important;
|
|
font-size: 24rpx !important;
|
|
font-weight: normal !important;
|
|
}
|
|
.task-list .item .header .right {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
}
|
|
.task-list .item .header .right .label {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #50BAFE !important;
|
|
font-size: 22rpx !important;
|
|
font-weight: normal !important;
|
|
height: 36rpx;
|
|
padding: 0 15rpx;
|
|
background: #EDF8FF;
|
|
border-radius: 100rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
.task-list .item .header .right .label:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.task-list .item .body {
|
|
padding: 20rpx 0;
|
|
padding-left: 5rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
.task-list .item .body .left {
|
|
width: 60%;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
.task-list .item .body .left .title {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #666 !important;
|
|
font-size: 28rpx !important;
|
|
font-weight: normal !important;
|
|
padding-bottom: 10rpx;
|
|
}
|
|
.task-list .item .body .left .desc {
|
|
width: 100%;
|
|
display: -webkit-box !important;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
word-break: break-all;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
color: #999 !important;
|
|
font-size: 22rpx !important;
|
|
font-weight: normal !important;
|
|
}
|
|
.task-list .item .body .right image {
|
|
width: 200rpx !important;
|
|
height: 200rpx !important;
|
|
}
|
|
.goods-list .title {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #5FCDA2;
|
|
font-size: 30rpx;
|
|
margin: 20rpx 0;
|
|
}
|
|
.goods-list .title text {
|
|
margin: 0 15rpx;
|
|
}
|
|
.goods-list .title image {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
}
|
|
.goods-list .product-list {
|
|
width: 100%;
|
|
padding: 0 4% 3vw 4%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
.goods-list .product-list .product {
|
|
width: 48%;
|
|
border-radius: 20rpx;
|
|
background-color: #fff;
|
|
margin: 0 0 15rpx 0;
|
|
box-shadow: 0rpx 5rpx 25rpx rgba(0, 0, 0, 0.1);
|
|
}
|
|
.goods-list .product-list .product image {
|
|
width: 100%;
|
|
height: 300rpx;
|
|
border-radius: 20rpx 20rpx 0 0;
|
|
}
|
|
.goods-list .product-list .product .name {
|
|
width: 100%;
|
|
padding: 10rpx 4%;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
text-align: justify;
|
|
overflow: hidden;
|
|
font-size: 28rpx;
|
|
color: #747474;
|
|
}
|
|
.goods-list .product-list .product .miaos {
|
|
width: 100%;
|
|
margin: 10rpx;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 1;
|
|
text-align: justify;
|
|
overflow: hidden;
|
|
font-size: 28rpx;
|
|
color: #747474;
|
|
}
|
|
.goods-list .product-list .product .miaosshow {
|
|
margin: 10rpx;
|
|
font-size: 28rpx;
|
|
color: #747474;
|
|
}
|
|
.goods-list .product-list .product .info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
width: 92%;
|
|
padding: 10rpx 4% 10rpx 4%;
|
|
}
|
|
.goods-list .product-list .product .info .price {
|
|
color: #e65339;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
}
|
|
.goods-list .product-list .product .info .slogan {
|
|
color: #807c87;
|
|
font-size: 24rpx;
|
|
}
|
|
.goods-list .product-list .product .add image {
|
|
width: 43rpx;
|
|
height: 40rpx;
|
|
padding: 7rpx;
|
|
}
|
|
.nosell {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
.nosell text {
|
|
position: relative;
|
|
right: 5rpx;
|
|
padding: 5rpx;
|
|
background-color: #EAEAEA;
|
|
color: white;
|
|
font-size: 28rpx !important;
|
|
}
|
|
.number {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-right: 30rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.number .input {
|
|
width: 70rpx;
|
|
height: 45rpx;
|
|
margin: 0 10rpx;
|
|
border-bottom: 1rpx #ADADAD solid;
|
|
}
|
|
.number .input input {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
font-size: 26rpx;
|
|
}
|
|
.number .sub,
|
|
.number .add {
|
|
width: 45rpx;
|
|
height: 45rpx;
|
|
border-radius: 5rpx;
|
|
}
|
|
.number .jia {
|
|
display: flex;
|
|
width: 45rpx;
|
|
height: 45rpx;
|
|
justify-content: center;
|
|
justify-items: center;
|
|
align-items: center;
|
|
background-color: #41A863;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
}
|
|
.number .jia image {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
padding: 7rpx;
|
|
}
|
|
.number .jian {
|
|
display: flex;
|
|
width: 45rpx;
|
|
height: 45rpx;
|
|
justify-content: center;
|
|
justify-items: center;
|
|
align-items: center;
|
|
background-color: #41A863;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
padding-bottom: 10rpx;
|
|
}
|
|
.p-b-btn .yticon {
|
|
font-size: 40rpx;
|
|
line-height: 48rpx;
|
|
color: #909399;
|
|
}
|
|
.p-b-btn.active,
|
|
.p-b-btn.active .yticon {
|
|
color: #fa436a;
|
|
}
|
|
.p-b-btn .icon-fenxiang2 {
|
|
font-size: 42rpx;
|
|
-webkit-transform: translateY(-2rpx);
|
|
transform: translateY(-2rpx);
|
|
}
|
|
.p-b-btn .icon-shoucang {
|
|
font-size: 50rpx;
|
|
}
|
|
|