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.
244 lines
7.2 KiB
244 lines
7.2 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;
|
|
}
|
|
view {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
page {
|
|
position: relative;
|
|
background-color: #f5f5f5;
|
|
}
|
|
@font-face {
|
|
font-family: "HMfont-home";
|
|
src: url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAYcAAsAAAAAC7AAAAXPAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDMgqKTIgRATYCJAMUCwwABCAFhG0HShufCciemjxtEyiE0MJUUYjN7gIePI911ftJqrY61RxhAe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8XO/3r5N35Tp1/i3+uvzf1Hr383bKjKobBsn3Es0K5j+wr/Mfh19p/c7nHRR5YK7XptuvF7QOvFX69hfpQ6srnigetMRz0rWDm1T2q8fa94jtnd66ybdVzz1LBxq05KW6YcWn07znwk6XVt/3aZ579c0C9R6X69ypu7NhkLTgT8i38db4t+V+B9o/ydc543/BHFkRMR/l33g7XQpbG4JycmBaVjYlou27bi3arLR0VrOSgl1B9y1Jggx2vQO/hKcFbmxc5mCmI61611R3x7ZmueuXdueyE6CR2/bO2cu5a+PmxrRp1L3JHT8o6/XIBCneoIDkQRII9yLpLvBKenqYu3JHobtpKAm5KaAX9q76sXoK+D99XnsCINpCVsB/+oHu/rvYjG+TOQ/62Nb86vnfh5kHD1Lmofs/A00KH24ZZN6vgEccMYbA1jlGa/e4Wq4j5YGAzxX/A9/y2Xcm8GAeeTKZ9yOTJ2egyEU2aDwKog2+JDj4VAQXjzpgKUH80T6JdCGBmABQnOEMhCgbQRHmHGiinEcb/H1wSOE9uERFg6WzJJ7Sp7AMsw3G08CiMZb3xroKVWFcg5WPC++JtaWBkRdE9GcyTD6Anm4e5cQlKWTMsUfXHuxmt24MVndRZYxjVyNJUrFTF1WgkbVa283Sdtzdq5vWtFrRIkOeBhgQAyyIMUg5PkgdI1QUmGC6Rb7y9fcQLDYSA4yOjjrnM4SBCT8/4okbHgT0pVQhddxLeVccWDbphmEGpFrMV5FB4tBMSE5UBenUvJEAMcJildoRYY0d3HFSNVW6ur5cfox5f8Gu9qkdUaLFiCMugWnDTI73+IGaGO6Lk55LyUwYCpERZwMAAA==") format("woff2");
|
|
}
|
|
.icon {
|
|
font-family: "HMfont-home" !important;
|
|
font-size: 60rpx;
|
|
font-style: normal;
|
|
color: #000000;
|
|
}
|
|
.icon.jia:before {
|
|
content: "\e641";
|
|
}
|
|
.icon.jian:before {
|
|
content: "\e643";
|
|
}
|
|
.icon.shanchu:before {
|
|
content: "\e6a4";
|
|
}
|
|
.icon.shixiao:before {
|
|
content: "\e669";
|
|
}
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
.list {
|
|
width: 100%;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
@-webkit-keyframes showGoods {
|
|
0% {
|
|
-webkit-transform: translateX(-100%);
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
@keyframes showGoods {
|
|
0% {
|
|
-webkit-transform: translateX(-100%);
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
.sub-list {
|
|
width: 100%;
|
|
padding: 20rpx 0 120rpx 0;
|
|
}
|
|
.sub-list.showgoods {
|
|
display: flex;
|
|
-webkit-animation: showGoods 0.20s linear both;
|
|
animation: showGoods 0.20s linear both;
|
|
}
|
|
.sub-list .tis {
|
|
width: 100%;
|
|
height: 60rpx;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 32rpx;
|
|
}
|
|
.sub-list .row {
|
|
width: 100%;
|
|
height: 30vw;
|
|
align-items: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-bottom: solid 1rpx #dedede;
|
|
}
|
|
.sub-list .row .menu {
|
|
position: absolute;
|
|
width: 28%;
|
|
height: 100%;
|
|
right: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: red;
|
|
color: #fff;
|
|
z-index: 2;
|
|
}
|
|
.sub-list .row .menu .icon {
|
|
color: #fff;
|
|
font-size: 50rpx;
|
|
}
|
|
.sub-list .row .carrier {
|
|
background-color: #fff;
|
|
position: absolute;
|
|
width: 100%;
|
|
padding: 0 0;
|
|
height: 100%;
|
|
z-index: 3;
|
|
flex-wrap: nowrap;
|
|
}
|
|
@-webkit-keyframes showMenu {
|
|
0% {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(-28%);
|
|
transform: translateX(-28%);
|
|
}
|
|
}
|
|
@keyframes showMenu {
|
|
0% {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(-28%);
|
|
transform: translateX(-28%);
|
|
}
|
|
}
|
|
@-webkit-keyframes closeMenu {
|
|
0% {
|
|
-webkit-transform: translateX(-28%);
|
|
transform: translateX(-28%);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
@keyframes closeMenu {
|
|
0% {
|
|
-webkit-transform: translateX(-28%);
|
|
transform: translateX(-28%);
|
|
}
|
|
100% {
|
|
-webkit-transform: translateX(0);
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
.sub-list .row .carrier.open {
|
|
-webkit-animation: showMenu 0.25s linear both;
|
|
animation: showMenu 0.25s linear both;
|
|
}
|
|
.sub-list .row .carrier.close {
|
|
-webkit-animation: closeMenu 0.15s linear both;
|
|
animation: closeMenu 0.15s linear both;
|
|
}
|
|
.sub-list .row .carrier .goods-info {
|
|
width: calc(100% - 40rpx);
|
|
padding: 10rpx;
|
|
flex-wrap: nowrap;
|
|
}
|
|
.sub-list .row .carrier .goods-info .img {
|
|
width: calc(30vw - 50rpx);
|
|
height: calc(30vw - 50rpx);
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
margin-right: 20rpx;
|
|
}
|
|
.sub-list .row .carrier .goods-info .img image {
|
|
width: calc(30vw - 50rpx);
|
|
height: calc(30vw - 50rpx);
|
|
}
|
|
.sub-list .row .carrier .goods-info .info {
|
|
width: 100%;
|
|
height: calc(30vw - 40rpx);
|
|
overflow: hidden;
|
|
flex-wrap: wrap;
|
|
align-content: space-between;
|
|
position: relative;
|
|
}
|
|
.sub-list .row .carrier .goods-info .info .title {
|
|
width: 100%;
|
|
font-size: 28rpx;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
.sub-list .row .carrier .goods-info .info .price-number {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
.sub-list .row .carrier .goods-info .info .price-number .keep-num {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
.sub-list .row .carrier .goods-info .info .price-number .price {
|
|
font-size: 30rpx;
|
|
color: #f06c7a;
|
|
}
|
|
|