270 lines
5.9 KiB
Plaintext
270 lines
5.9 KiB
Plaintext
|
|
@charset "UTF-8";
|
|||
|
|
/**
|
|||
|
|
* 这里是uni-app内置的常用样式变量
|
|||
|
|
*
|
|||
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|||
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
/**
|
|||
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|||
|
|
*
|
|||
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|||
|
|
*/
|
|||
|
|
/* 颜色变量 */
|
|||
|
|
/* 行为相关颜色 */
|
|||
|
|
/* 文字基本颜色 */
|
|||
|
|
/* 背景颜色 */
|
|||
|
|
/* 边框颜色 */
|
|||
|
|
/* 尺寸变量 */
|
|||
|
|
/* 文字尺寸 */
|
|||
|
|
/* 图片尺寸 */
|
|||
|
|
/* Border Radius */
|
|||
|
|
/* 水平间距 */
|
|||
|
|
/* 垂直间距 */
|
|||
|
|
page {
|
|||
|
|
background: #fff;
|
|||
|
|
}
|
|||
|
|
.index-goods {
|
|||
|
|
margin-top: 10px;
|
|||
|
|
}
|
|||
|
|
.hs-hd-title {
|
|||
|
|
font-weight: 600;
|
|||
|
|
}
|
|||
|
|
.hs-row-hd {
|
|||
|
|
border-left: 6rpx solid #fe5047;
|
|||
|
|
padding-left: 14rpx;
|
|||
|
|
font-weight: 600;
|
|||
|
|
}
|
|||
|
|
.hs-fttext {
|
|||
|
|
font-size: 24rpx;
|
|||
|
|
color: #999;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|
|||
|
|
.index-goods {
|
|||
|
|
background-color: #fff;
|
|||
|
|
}
|
|||
|
|
.head-box {
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: column;
|
|||
|
|
background-color: #fff;
|
|||
|
|
padding: 24rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
border-bottom: solid 10px #eee;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content {
|
|||
|
|
display: flex;
|
|||
|
|
justify-content: space-between;
|
|||
|
|
align-items: center;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content .left {
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content .left image {
|
|||
|
|
width: 88rpx;
|
|||
|
|
height: 88rpx;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content .left view {
|
|||
|
|
font-size: 32rpx;
|
|||
|
|
font-weight: bold;
|
|||
|
|
margin-left: 25rpx;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content .right {
|
|||
|
|
display: flex;
|
|||
|
|
align-items: baseline;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content .right .point {
|
|||
|
|
font-weight: bold !important;
|
|||
|
|
font-size: 38rpx;
|
|||
|
|
color: #FF002D;
|
|||
|
|
}
|
|||
|
|
.head-box .account-content .right .text {
|
|||
|
|
font-size: 28rpx;
|
|||
|
|
font-weight: bold;
|
|||
|
|
margin: 0 10rpx;
|
|||
|
|
}
|
|||
|
|
.head-box .remark {
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
margin-top: 30rpx;
|
|||
|
|
padding: 25rpx 0 0;
|
|||
|
|
border-top: 2rpx solid #F2F2F2;
|
|||
|
|
}
|
|||
|
|
.head-box .remark .label {
|
|||
|
|
border-radius: 4rpx;
|
|||
|
|
border: 2rpx solid #FE172E;
|
|||
|
|
color: #FE172E;
|
|||
|
|
padding: 2rpx 8rpx;
|
|||
|
|
font-size: 22rpx;
|
|||
|
|
line-height: 1;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|
|||
|
|
.head-box .remark .text {
|
|||
|
|
font-size: 24rpx;
|
|||
|
|
font-weight: bold;
|
|||
|
|
margin-left: 30rpx;
|
|||
|
|
line-height: 1;
|
|||
|
|
}
|
|||
|
|
.content {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
min-width: 100vw;
|
|||
|
|
min-height: 100vh;
|
|||
|
|
padding-bottom: 80rpx;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list {
|
|||
|
|
padding-top: 18rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
width: 690rpx;
|
|||
|
|
margin: 0 auto;
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: row;
|
|||
|
|
justify-content: space-between;
|
|||
|
|
align-items: center;
|
|||
|
|
flex-wrap: wrap;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
width: 336rpx;
|
|||
|
|
height: 480rpx;
|
|||
|
|
background-color: #ffffff;
|
|||
|
|
overflow: hidden;
|
|||
|
|
margin-bottom: 18rpx;
|
|||
|
|
position: relative;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-img {
|
|||
|
|
width: 100%;
|
|||
|
|
height: 340rpx;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-name {
|
|||
|
|
font-size: 28rpx;
|
|||
|
|
color: #000000;
|
|||
|
|
line-height: 30rpx;
|
|||
|
|
-webkit-line-clamp: 1;
|
|||
|
|
display: -webkit-box;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
overflow: hidden;
|
|||
|
|
-webkit-box-orient: vertical;
|
|||
|
|
padding: 6rpx 18rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
word-break: break-all;
|
|||
|
|
line-height: 24px;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-desc {
|
|||
|
|
font-size: 24rpx;
|
|||
|
|
color: #9e9e9e;
|
|||
|
|
line-height: 26rpx;
|
|||
|
|
-webkit-line-clamp: 1;
|
|||
|
|
display: -webkit-box;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
overflow: hidden;
|
|||
|
|
-webkit-box-orient: vertical;
|
|||
|
|
padding: 0rpx 18rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
margin-top: 16rpx;
|
|||
|
|
word-break: break-all;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-tags {
|
|||
|
|
padding: 0rpx 18rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
margin-top: 16rpx;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-tags .t-tag {
|
|||
|
|
font-size: 20rpx;
|
|||
|
|
border-radius: 4rpx;
|
|||
|
|
border: 1rpx solid;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
padding: 3rpx 5rpx;
|
|||
|
|
-webkit-line-clamp: 1;
|
|||
|
|
display: -webkit-box;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
overflow: hidden;
|
|||
|
|
-webkit-box-orient: vertical;
|
|||
|
|
float: left;
|
|||
|
|
word-break: break-all;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-tags .t-tag:not(:last-child) {
|
|||
|
|
margin-right: 8rpx;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-price {
|
|||
|
|
padding: 0rpx 18rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: row;
|
|||
|
|
justify-content: flex-start;
|
|||
|
|
align-items: center;
|
|||
|
|
position: absolute;
|
|||
|
|
width: 100%;
|
|||
|
|
bottom: 25rpx;
|
|||
|
|
left: 0rpx;
|
|||
|
|
width: 100%;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-price .t-p1 {
|
|||
|
|
font-size: 32rpx;
|
|||
|
|
color: red;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-goods-price .t-p2 {
|
|||
|
|
font-size: 20rpx;
|
|||
|
|
color: #999999;
|
|||
|
|
margin-left: 10rpx;
|
|||
|
|
text-decoration: line-through;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-rate {
|
|||
|
|
padding: 0rpx 18rpx;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: row;
|
|||
|
|
justify-content: flex-start;
|
|||
|
|
align-items: center;
|
|||
|
|
position: absolute;
|
|||
|
|
width: 100%;
|
|||
|
|
bottom: 30rpx;
|
|||
|
|
left: 0rpx;
|
|||
|
|
width: 100%;
|
|||
|
|
font-size: 20rpx;
|
|||
|
|
color: #999999;
|
|||
|
|
}
|
|||
|
|
.content .t-goods-list .t-goods-item .t-rate .t-rate-percent {
|
|||
|
|
margin-left: 8rpx;
|
|||
|
|
}
|
|||
|
|
.t-empty {
|
|||
|
|
width: 100%;
|
|||
|
|
height: 100%;
|
|||
|
|
background-color: #fff;
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: column;
|
|||
|
|
justify-content: center;
|
|||
|
|
align-items: center;
|
|||
|
|
}
|
|||
|
|
.t-empty image {
|
|||
|
|
width: 320rpx;
|
|||
|
|
height: 320rpx;
|
|||
|
|
}
|
|||
|
|
.t-empty .t-empty-desc {
|
|||
|
|
padding-bottom: 30rpx;
|
|||
|
|
padding-top: 20rpx;
|
|||
|
|
font-size: 28rpx;
|
|||
|
|
color: #999999;
|
|||
|
|
}
|
|||
|
|
.t-loading-more {
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: row;
|
|||
|
|
justify-content: center;
|
|||
|
|
align-items: center;
|
|||
|
|
width: 100%;
|
|||
|
|
height: 60rpx;
|
|||
|
|
}
|
|||
|
|
.t-loading-more image {
|
|||
|
|
width: 36rpx;
|
|||
|
|
height: 36rpx;
|
|||
|
|
-webkit-animation: spin 1s 0s step-end infinite;
|
|||
|
|
animation: spin 1s 0s step-end infinite;
|
|||
|
|
margin-right: 12rpx;
|
|||
|
|
}
|
|||
|
|
.t-loading-more .t-loading-desc {
|
|||
|
|
font-size: 28rpx;
|
|||
|
|
color: #999999;
|
|||
|
|
}
|