@charset "UTF-8";
|
/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
/* start--主题色--start */
|
/* end--主题色--end */
|
page {
|
background: #f2f2f2;
|
}
|
.foot_ {
|
height: 98rpx;
|
width: 100%;
|
}
|
.seacth {
|
width: 750rpx;
|
height: 110rpx;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
.seacth input {
|
width: 675rpx;
|
height: 70rpx;
|
border: 1px #D7D7D7 solid;
|
border-radius: 20rpx;
|
background-color: white;
|
display: flex;
|
align-items: center;
|
padding-left: 20rpx;
|
font-size: 24rpx !important;
|
}
|
.seacth input::before {
|
margin-right: 10rpx;
|
font-size: 24rpx !important;
|
}
|
.inner-tab {
|
position: relative;
|
height: 80rpx;
|
display: flex;
|
justify-content: space-around;
|
align-items: center;
|
background: #ffffff;
|
z-index: 9;
|
}
|
.inner-tab .item {
|
flex: 1;
|
font-size: 30rpx;
|
height: 100%;
|
line-height: 80rpx;
|
position: relative;
|
color: #666666;
|
font-size: 30rpx;
|
}
|
.inner-tab .item.active,
|
.inner-tab .item .arrow.active .iconfont {
|
color: #333333;
|
}
|
.inner-tab .item.active::after {
|
content: '';
|
width: 72rpx;
|
height: 4rpx;
|
border-radius: 2rpx;
|
position: absolute;
|
bottom: 14rpx;
|
left: 0;
|
right: 0;
|
margin: auto;
|
}
|
[data-theme='theme0'] .inner-tab .item.active::after {
|
background-color: #ff5704 !important;
|
}
|
[data-theme='theme1'] .inner-tab .item.active::after {
|
background-color: #19ad57 !important;
|
}
|
[data-theme='theme2'] .inner-tab .item.active::after {
|
background-color: #ffcc00 !important;
|
}
|
[data-theme='theme3'] .inner-tab .item.active::after {
|
background-color: #33a7ff !important;
|
}
|
[data-theme='theme4'] .inner-tab .item.active::after {
|
background-color: #e4e4e4 !important;
|
}
|
[data-theme='theme5'] .inner-tab .item.active::after {
|
background-color: #c8ba97 !important;
|
}
|
[data-theme='theme6'] .inner-tab .item.active::after {
|
background-color: #623ceb !important;
|
}
|
.inner-tab .item .box {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
flex-direction: row;
|
}
|
.inner-tab .item .arrows {
|
margin-left: 10rpx;
|
line-height: 0;
|
}
|
.inner-tab .item .iconfont {
|
line-height: 24rpx;
|
font-size: 24rpx;
|
}
|
.inner-tab .item .arrow,
|
.inner-tab .item .svg-icon {
|
width: 20rpx;
|
height: 20rpx;
|
}
|
.prodcut-list-wrap .list {
|
background: #FFFFFF;
|
}
|
.prodcut-list-wrap .list .item {
|
padding: 20rpx;
|
display: flex;
|
border-bottom: 16rpx solid #f6f6f6;
|
}
|
.prodcut-list-wrap .product-cover,
|
.prodcut-list-wrap .product-cover image {
|
width: 220rpx;
|
height: 220rpx;
|
}
|
.prodcut-list-wrap .product-info {
|
flex: 1;
|
margin-left: 30rpx;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-around;
|
}
|
.prodcut-list-wrap .product-title {
|
display: -webkit-box;
|
line-height: 40rpx;
|
height: 80rpx;
|
overflow: hidden;
|
-webkit-line-clamp: 2;
|
-webkit-box-orient: vertical;
|
font-size: 32rpx;
|
}
|
.prodcut-list-wrap .already-sale {
|
margin-top: 20rpx;
|
color: #999;
|
font-size: 24rpx;
|
}
|
.prodcut-list-wrap .already-sale > text {
|
padding: 6rpx 10rpx;
|
background-color: #f2f2f7;
|
}
|
.prodcut-list-wrap .price {
|
font-size: 24rpx;
|
}
|
[data-theme='theme0'] .prodcut-list-wrap .price {
|
color: #ff4c01 !important;
|
}
|
[data-theme='theme1'] .prodcut-list-wrap .price {
|
color: #e31c28 !important;
|
}
|
[data-theme='theme2'] .prodcut-list-wrap .price {
|
color: #f55234 !important;
|
}
|
[data-theme='theme3'] .prodcut-list-wrap .price {
|
color: #ff4645 !important;
|
}
|
[data-theme='theme4'] .prodcut-list-wrap .price {
|
color: #ff4d4d !important;
|
}
|
[data-theme='theme5'] .prodcut-list-wrap .price {
|
color: #e7032c !important;
|
}
|
[data-theme='theme6'] .prodcut-list-wrap .price {
|
color: #e31c28 !important;
|
}
|
.prodcut-list-wrap .price .num {
|
margin-left: 6rpx;
|
padding: 0 4rpx;
|
font-size: 40rpx;
|
}
|
.h1 {
|
font-size: 32rpx;
|
}
|
.h2 {
|
font-size: 28rpx;
|
}
|
.h3 {
|
font-size: 24rpx;
|
}
|
.h4 {
|
font-size: 20rpx;
|
}
|
.h5 {
|
font-size: 16rpx;
|
}
|
.h6 {
|
font-size: 12rpx;
|
}
|
.huaxianjia {
|
text-decoration: line-through;
|
color: #585858;
|
margin-left: 4rpx;
|
}
|
.shop_list_body {
|
width: 100%;
|
box-sizing: border-box;
|
}
|
.shop_list_body_item {
|
display: flex;
|
width: 100%;
|
max-height: 470rpx;
|
margin-top: 30rpx;
|
flex-direction: column;
|
background-color: white;
|
padding: 20rpx;
|
box-sizing: border-box;
|
}
|
.shop_list_body_item_shop {
|
width: 100%;
|
height: 150rpx;
|
display: flex;
|
justify-content: space-between;
|
margin-bottom: 10rpx;
|
}
|
.shop_list_body_item_shop_logo {
|
width: 150rpx;
|
height: 150rpx;
|
}
|
.shop_list_body_item_shop_logo image {
|
width: 100%;
|
height: 100%;
|
background-color: rgba(0, 0, 0, 0.1);
|
border-radius: 15rpx;
|
}
|
.shop_list_body_item_shop_info {
|
padding: 10rpx;
|
padding-left: 20rpx;
|
box-sizing: border-box;
|
padding-top: 0;
|
display: flex;
|
justify-content: space-between;
|
flex-direction: column;
|
flex: 1;
|
}
|
.shop_list_body_item_shop_others {
|
padding: 10rpx;
|
box-sizing: border-box;
|
display: flex;
|
justify-content: flex-start;
|
flex-direction: column;
|
text-align: right;
|
padding-top: 0;
|
font-size: 26rpx;
|
color: #333333;
|
}
|
.shop_list_body_item_product {
|
width: 100%;
|
height: 280rpx;
|
display: flex;
|
justify-content: space-around;
|
align-items: center;
|
padding: 10rpx;
|
box-sizing: border-box;
|
}
|
.shop_list_body_item_product2 {
|
width: 100%;
|
height: 280rpx;
|
display: flex;
|
justify-content: flex-start;
|
align-items: center;
|
padding: 10rpx;
|
box-sizing: border-box;
|
border-radius: 15rpx;
|
}
|
.shop_list_body_item_product2 .shop_list_body_item_product_item {
|
margin: 0 10rpx;
|
}
|
.shop_list_body_item_product_item {
|
width: 30%;
|
background-color: white;
|
overflow: hidden;
|
}
|
.shop_list_body_item_product_item image {
|
width: 210rpx;
|
height: 180rpx;
|
border-radius: 12rpx;
|
background-color: rgba(0, 0, 0, 0.1);
|
}
|
.shop_list_body_item_product_item view {
|
-webkit-box-orient: vertical;
|
-webkit-line-clamp: 1;
|
text-overflow: ellipsis;
|
-webkit-box-orient: vertical;
|
word-wrap: break-word;
|
word-break: break-all;
|
overflow: hidden;
|
}
|
.shop_list_body_item_product_item_price {
|
padding: 15rpx;
|
display: flex;
|
align-items: baseline;
|
justify-content: center;
|
font-size: 32rpx;
|
}
|
.brand {
|
position: relative;
|
color: #585858;
|
}
|
.sales {
|
color: #585858;
|
}
|
.collect {
|
margin-bottom: 26rpx;
|
}
|
.scroll-category {
|
width: 100%;
|
height: 80rpx;
|
white-space: nowrap;
|
text-align: start;
|
}
|
[data-theme='theme0'] .scroll-category .current .category-btn {
|
border-color: #ff5704 !important;
|
}
|
[data-theme='theme1'] .scroll-category .current .category-btn {
|
border-color: #19ad57 !important;
|
}
|
[data-theme='theme2'] .scroll-category .current .category-btn {
|
border-color: #ffcc00 !important;
|
}
|
[data-theme='theme3'] .scroll-category .current .category-btn {
|
border-color: #33a7ff !important;
|
}
|
[data-theme='theme4'] .scroll-category .current .category-btn {
|
border-color: #e4e4e4 !important;
|
}
|
[data-theme='theme5'] .scroll-category .current .category-btn {
|
border-color: #c8ba97 !important;
|
}
|
[data-theme='theme6'] .scroll-category .current .category-btn {
|
border-color: #623ceb !important;
|
}
|
[data-theme='theme0'] .scroll-category .current .category-btn {
|
color: #ff5704 !important;
|
}
|
[data-theme='theme1'] .scroll-category .current .category-btn {
|
color: #19ad57 !important;
|
}
|
[data-theme='theme2'] .scroll-category .current .category-btn {
|
color: #ffcc00 !important;
|
}
|
[data-theme='theme3'] .scroll-category .current .category-btn {
|
color: #33a7ff !important;
|
}
|
[data-theme='theme4'] .scroll-category .current .category-btn {
|
color: #e4e4e4 !important;
|
}
|
[data-theme='theme5'] .scroll-category .current .category-btn {
|
color: #c8ba97 !important;
|
}
|
[data-theme='theme6'] .scroll-category .current .category-btn {
|
color: #623ceb !important;
|
}
|
.scroll-category .category-item {
|
height: 50rpx;
|
text-align: center;
|
padding: 0rpx 10rpx;
|
display: inline-block;
|
position: relative;
|
}
|
.category-btn {
|
display: inline-block;
|
border-radius: 50rpx;
|
line-height: 50rpx;
|
font-size: 28rpx;
|
border: 2rpx solid #ccc;
|
}
|