初始上传

This commit is contained in:
2026-04-04 17:27:12 +08:00
parent 4d80d28eb4
commit b7e11774ee
11191 changed files with 1588469 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
@import "main.scss";
/* 改变主题色变量 */
$--color-white:#fff;
$--color-primary: $base-color !default;
$--color-primary-light-1: mix($--color-white, $--color-primary, 10%) !default; /* 53a8ff */
$--color-primary-light-2: mix($--color-white, $--color-primary, 20%) !default; /* 66b1ff */
$--color-primary-light-3: mix($--color-white, $--color-primary, 30%) !default; /* 79bbff */
$--color-primary-light-4: mix($--color-white, $--color-primary, 40%) !default; /* 8cc5ff */
$--color-primary-light-5: mix($--color-white, $--color-primary, 50%) !default; /* a0cfff */
$--color-primary-light-6: mix($--color-white, $--color-primary, 60%) !default; /* b3d8ff */
$--color-primary-light-7: mix($--color-white, $--color-primary, 70%) !default; /* c6e2ff */
$--color-primary-light-8: mix($--color-white, $--color-primary, 80%) !default; /* d9ecff */
$--color-primary-light-9: mix($--color-white, $--color-primary, 90%) !default; /* ecf5ff */
$--color-success: $base-color-success !default;
$--color-warning: $base-color-warning !default;
$--color-danger: $base-color-danger !default;
$--color-info: $base-color-info !default;
/* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';
@import "~element-ui/packages/theme-chalk/src/index";

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,243 @@
@font-face {
font-family: "iconfont";
src: url('https://cdn3.codesign.qq.com/icons/LOD8r0BMER9RXkg/latest/iconfont.eot?t=1056907098f9743c59852ca6f44325b5'); /* IE9 */
src: url('https://cdn3.codesign.qq.com/icons/LOD8r0BMER9RXkg/latest/iconfont.eot?t=1056907098f9743c59852ca6f44325b5#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('https://cdn3.codesign.qq.com/icons/LOD8r0BMER9RXkg/latest/iconfont.woff?t=1056907098f9743c59852ca6f44325b5') format('woff2'),
url('https://cdn3.codesign.qq.com/icons/LOD8r0BMER9RXkg/latest/iconfont.woff?t=1056907098f9743c59852ca6f44325b5') format('woff'), /* chrome、firefox */
url('https://cdn3.codesign.qq.com/icons/LOD8r0BMER9RXkg/latest/iconfont.ttf?t=1056907098f9743c59852ca6f44325b5') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
url('https://cdn3.codesign.qq.com/icons/LOD8r0BMER9RXkg/latest/iconfont.svg?t=1056907098f9743c59852ca6f44325b5#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-xiaoxi:before {
content: "\e048";
}
.icon-xiaosuo:before {
content: "\e049";
}
.icon-shouzang:before {
content: "\e04a";
}
.icon-_shouzang2:before {
content: "\e04b";
}
.icon-arrow-right:before {
content: "\e600";
}
.icon-icon-test:before {
content: "\e601";
}
.icon-ziyuan:before {
content: "\e602";
}
.icon-arrow-left-copy:before {
content: "\e603";
}
.icon-shangjiazhongxin-:before {
content: "\e604";
}
.icon-404:before {
content: "\e605";
}
.icon-shang:before {
content: "\e606";
}
.icon-daifahuo:before {
content: "\e60a";
}
.icon-icon_naozhong:before {
content: "\e60b";
}
.icon-jiang-copy:before {
content: "\e60c";
}
.icon-tubiaolunkuo-:before {
content: "\e60d";
}
.icon-youxiang1:before {
content: "\e610";
}
.icon-gouwuche:before {
content: "\e611";
}
.icon-shanchu:before {
content: "\e612";
}
.icon-yue:before {
content: "\e615";
}
.icon-chengnuotuihuo1:before {
content: "\e616";
}
.icon-7tiantuihuan:before {
content: "\e617";
}
.icon-xiaoxiebaozheng1:before {
content: "\e618";
}
.icon-fahuo:before {
content: "\e619";
}
.icon-tuangou:before {
content: "\e61a";
}
.icon-shiyanzhongxin:before {
content: "\e61b";
}
.icon-liangxiaoshifahuo:before {
content: "\e61c";
}
.icon-zhengpinbaozheng:before {
content: "\e61d";
}
.icon-shitiyanzheng1:before {
content: "\e61e";
}
.icon-mendian:before {
content: "\e628";
}
.icon-xuanze:before {
content: "\e62c";
}
.icon-dianhua:before {
content: "\e62e";
}
.icon-yewutubiaoqi:before {
content: "\e633";
}
.icon-zhongchaping:before {
content: "\e634";
}
.icon-weibiaoti35:before {
content: "\e635";
}
.icon-dizhi:before {
content: "\e636";
}
.icon-shouji:before {
content: "\e638";
}
.icon-dongtaima:before {
content: "\e639";
}
.icon-shouhou:before {
content: "\e63c";
}
.icon-daifukuan:before {
content: "\e63d";
}
.icon-zhongxinguanli:before {
content: "\e63e";
}
.icon-youxiang:before {
content: "\e645";
}
.icon-daipingjia:before {
content: "\e646";
}
.icon-zhanghuzhuangtai:before {
content: "\e64a";
}
.icon-haoping1:before {
content: "\e64c";
}
.icon-duigou1:before {
content: "\e64f";
}
.icon-hexiao:before {
content: "\e650";
}
.icon-yanzhengma:before {
content: "\e651";
}
.icon-weixin-copy:before {
content: "\e65b";
}
.icon-anquan:before {
content: "\e65c";
}
.icon-arrowLeft:before {
content: "\e65d";
}
.icon-xuanze-duoxuan:before {
content: "\e660";
}
.icon-zheng:before {
content: "\e667";
}
.icon-likefill:before {
content: "\e668";
}
.icon-shouye:before {
content: "\e669";
}
.icon-shoujiyanzheng:before {
content: "\e66a";
}
.icon-like:before {
content: "\e66b";
}
.icon-mima:before {
content: "\e66c";
}
.icon-miaosha1:before {
content: "\e66d";
}
.icon-yanzheng:before {
content: "\e678";
}
.icon-jiazaizhong:before {
content: "\e681";
}
.icon-zhaoshangguanli:before {
content: "\e686";
}
.icon-H:before {
content: "\e68f";
}
.icon-shangjiazhongxin:before {
content: "\e690";
}
.icon-shouji-copy:before {
content: "\e694";
}
.icon-shurutianxiebi:before {
content: "\e69f";
}
.icon-zhanghao:before {
content: "\e6b8";
}
.icon-xiugaidenglumima:before {
content: "\e6b9";
}
.icon-guanbi:before {
content: "\e6ba";
}
.icon-shiyong:before {
content: "\e711";
}
.icon-zhengpinbaozhang2:before {
content: "\e722";
}
.icon-tui1:before {
content: "\e738";
}
.icon-zuji:before {
content: "\e755";
}
.icon-youhuiquan:before {
content: "\e8c0";
}
.icon-hedui:before {
content: "\ea53";
}
.icon-dian:before {
content: "\ec1e";
}

View File

@@ -0,0 +1,270 @@
// 参考文档https://element.faas.ele.me/#/zh-CN/component/color#fu-zhu-se
//主色调,红色:#FF0036绿色 #4CAF50蓝色#03A9F4黄色#FF9800粉色#FF547B棕色#C3A769浅绿色#65C4AA黑色#333333紫色#B323B4淡粉色#FF8B8B,element UI#409eff
$base-color: #ff547b;
$base-color-success: #4caf50;
$base-color-warning: #e6a23c;
$base-color-danger: #f56c6c;
$base-color-info: #909399;
/* 文字基本颜色 */
$ns-text-color-black: #303133; //基本色
/* 文字尺寸 */
$ns-font-size-sm: 12px;
$ns-font-size-base: 14px;
$ns-font-size-lg: 16px;
$width: 1210px;
// 小
.ns-font-size-sm {
font-size: $ns-font-size-sm;
}
// 标准
.ns-font-size-base {
font-size: $ns-font-size-base;
}
// 标准
.ns-font-size-lg {
font-size: $ns-font-size-lg;
}
//文字颜色
.ns-text-color {
color: $base-color !important;
}
.ns-text-color-black {
color: $ns-text-color-black !important;
}
//边框
.ns-border-color {
border-color: $base-color !important;
}
//背景色
.ns-bg-color {
background-color: $base-color !important;
}
body {
line-height: 1.8;
font-family: 'Helvetica Neue', Helvetica, 'Microsoft Yahei', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
background-color: #f9f9f9;
font-size: $ns-font-size-base;
color: $ns-text-color-black;
}
#__nuxt {
background-color: #f9f9f9;
}
#nprogress .bar {
background: $base-color !important; //自定义颜色
}
html,
body,
dl,
dt,
dd,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p {
margin: 0;
padding: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
ol,
ul,
li {
list-style: none;
}
i,
em {
font-style: normal;
}
// 去掉a标签的默认样式
a {
text-decoration: none;
color: $ns-text-color-black;
&:hover {
color: $base-color;
}
}
.el-main {
border-top: solid 1px #f2f2f2;
overflow: initial;
// width: $width;
margin: 0 auto;
padding: 0;
}
.el-button:focus,
.el-button:hover {
color: $base-color;
border-color: lighten($base-color, 20%);
background-color: lighten($base-color, 30%);
}
// 改变按钮默认样式
.el-button--primary,
.el-button--primary:focus,
.el-button--primary:hover,
.el-button--primary.is-plain:focus,
.el-button--primary.is-plain:hover {
background-color: $base-color;
border-color: $base-color;
color: #fff;
}
.el-button--primary.is-plain {
color: $base-color;
background-color: transparent;
border-color: $base-color;
}
img {
border-style: none;
max-width: 100%;
vertical-align: middle;
}
// 居中
.ns-text-align {
text-align: center;
}
// 分页
.el-pagination {
text-align: right;
.el-pagination__rightwrapper {
margin-left: 20px;
}
}
/* 单行超出隐藏 */
.using-hidden {
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
white-space: break-spaces;
}
/* 多行超出隐藏 */
.multi-hidden {
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.el-breadcrumb__inner a:hover,
.el-breadcrumb__inner.is-link:hover {
color: $base-color;
}
.el-tabs__item:hover,
.el-tabs__item.is-active {
color: $base-color;
}
.el-tabs__active-bar {
background-color: $base-color;
}
.el-pager li.active {
color: $base-color;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover {
color: $base-color;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: $base-color;
}
.el-menu-item.is-active {
color: $base-color;
}
.el-progress-bar__inner {
background-color: $base-color;
}
.el-link.el-link--default:hover {
color: $base-color;
}
.el-button--text {
color: $base-color;
}
.el-input.is-active .el-input__inner,
.el-input__inner:focus {
border-color: $base-color;
}
.el-loading-spinner .path {
stroke: $base-color;
}
.el-loading-spinner i {
color: $base-color;
}
.el-loading-spinner .el-loading-text {
color: $base-color;
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: $base-color;
border-color: $base-color;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
color: $base-color;
}
.el-radio__input.is-checked .el-radio__inner {
border-color: $base-color;
background: $base-color;
}
.el-textarea__inner:focus{
border-color: $base-color;
}

View File

@@ -0,0 +1,239 @@
.cart {
margin: 20px auto;
width: $width;
nav {
overflow: hidden;
padding: 10px;
background: #fff;
margin-bottom: 10px;
li {
float: left;
&:nth-child(1) {
width: 3%;
}
&:nth-child(2) {
width: 55%;
}
&:nth-child(3) {
width: 10%;
}
&:nth-child(4) {
width: 15%;
}
&:nth-child(5) {
width: 10%;
}
&:nth-child(6) {
width: 7%;
}
}
}
.list {
.item {
margin-bottom: 20px;
.head {
padding: 10px;
background: #fff;
border-bottom: 1px solid #eeeeee;
a {
margin: 0 10px 0 20px;
}
}
ul {
overflow: hidden;
padding: 10px;
background: #fff;
li {
float: left;
line-height: 60px;
&:nth-child(1) {
width: 3%;
margin-left: 20px;
}
&:nth-child(2) {
width: 53.3%;
line-height: inherit;
.img-wrap {
width: 60px;
height: 60px;
float: left;
margin-right: 10px;
cursor: pointer;
}
.info-wrap {
margin-left: 70px;
cursor: pointer;
h5 {
font-weight: normal;
font-size: $ns-font-size-base;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
margin-right: 10px;
&:hover {
color: $base-color;
}
}
span {
font-size: $ns-font-size-sm;
color: #9a9a9a;
}
}
}
&:nth-child(3) {
width: 10%;
}
&:nth-child(4) {
width: 15%;
.el-input-number--mini {
width: 100px;
}
}
&:nth-child(5) {
width: 10%;
}
&:nth-child(6) {
width: 7%;
}
}
}
}
}
.lose-list {
margin-bottom: 20px;
.head {
padding: 10px;
background: #fff;
border-bottom: 1px solid #eeeeee;
span {
margin: 0 5px;
font-weight: bold;
font-size: 16px;
}
}
ul {
overflow: hidden;
padding: 10px;
background: #f0f0f0;
li {
float: left;
line-height: 60px;
color: #9a9a9a;
&:nth-child(1) {
width: 3%;
margin-left: 5px;
margin-right: 15px;
}
&:nth-child(2) {
width: 53.3%;
line-height: inherit;
.img-wrap {
width: 60px;
height: 60px;
float: left;
margin-right: 10px;
}
.info-wrap {
margin-left: 70px;
cursor: pointer;
h5 {
font-weight: normal;
font-size: $ns-font-size-base;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
margin-right: 10px;
}
span {
font-size: $ns-font-size-sm;
}
}
}
&:nth-child(3) {
width: 10%;
}
&:nth-child(4) {
width: 15%;
.el-input-number--mini {
width: 100px;
}
}
&:nth-child(5) {
width: 10%;
}
&:nth-child(6) {
width: 7%;
}
}
}
}
footer {
background-color: #fff;
margin-bottom: 20px;
padding: 10px;
.operation {
display: inline-block;
vertical-align: middle;
margin-left: 20px;
li {
float: left;
margin-right: 30px;
}
}
.sum-wrap {
float: right;
.selected-sum {
display: inline-block;
margin-right: 20px;
.total-count {
padding: 0 5px;
font-size: 16px;
color: $base-color;
font-weight: bold;
}
}
.price-wrap {
display: inline-block;
margin-right: 20px;
span {
font-size: $ns-font-size-sm;
}
strong {
font-size: 18px;
}
}
}
}
}
.el-button--text {
color: #333;
&:hover {
color: $base-color;
}
}
.empty-wrap {
padding: 50px 0 60px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
img{
width: 400px;
height: 244px;
}
a{
font-size: 14px;
color: #4A4A4A;
&:hover{
color: $base-color;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,261 @@
.index-wrap {
width: 100%;
height: 500px;
}
.index {
width: $width;
margin: 0 auto;
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
.border-right {
border-right: 1px solid #f5f5f5;
}
.border-bottom {
border-bottom: 1px solid #f5f5f5;
}
.banner {
height: 430px;
width: 100%;
.el-carousel__indicators--horizontal{
padding-left: 240px;
}
.el-image {
width: 100%;
height: 100%;
}
}
}
.index-content-wrap {
width: $width;
margin: auto;
// 中部广告位
.adv-middle{
display: flex;
margin-top: 30px;
.adv-middle-item{
margin-right: 15px;
height: 210px;
// flex: 1;
transition: all 0.2s linear 0s;
cursor: pointer;
.el-image{
height: 210px;
}
&:last-of-type{
margin-right: 0;
}
&:hover{
z-index: 2;
box-shadow: rgb(0 0 0 / 10%) 0 15px 30px;
transform: translate3d(0px, -2px, 0px);
}
img{
max-width: 100%;
max-height: 100%;
}
}
}
// 广告
.ad-wrap {
width: $width;
margin: 20px auto;
display: flex;
justify-content: space-between;
> div {
width: calc((100% - 15px) / 2);
height: 372px;
}
.ad-big {
display: flex;
justify-content: space-between;
.ad-big-img {
width: calc((100% - 15px) / 2);
cursor: pointer;
}
}
.ad-small {
display: flex;
justify-content: space-between;
align-content: space-between;
flex-wrap: wrap;
.ad-small-img {
width: calc((100% - 15px) / 2);
height: calc((100% - 15px) / 2);
cursor: pointer;
}
}
}
// 限时秒杀
.seckill-wrap {
height: 376px;
width: $width;
background-color: #ffffff;
margin: 20px auto;
border: 1px solid #e9e9e9;
}
.seckill-time {
width: 100%;
height: 45px;
line-height: 44px;
border-bottom: 1px solid #e9e9e9;
display: flex;
justify-content: space-between;
padding: 0 20px;
box-sizing: border-box;
.seckill-time-left {
color: #383838;
i,
.seckill-time-title {
font-size: 18px;
font-weight: 600;
margin-right: 5px;
}
.seckill-time-title {
margin-right: 15px;
}
}
.count-down {
display: inline-block;
margin-left: 7px;
}
.seckill-time-right {
color: #838383;
cursor: pointer;
}
}
.seckill-content {
padding: 20px 20px 0;
}
.seamless-warp2 {
overflow: hidden;
ul.item {
li {
float: left;
width: 250px;
padding: 0 25px;
box-sizing: border-box;
border-right: 1px solid #f1f1f1;
.seckill-goods {
cursor: pointer;
.seckill-goods-img {
width: 100%;
height: 200px;
}
img {
object-fit: cover;
}
> p {
line-height: 24px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
height: 50px;
}
.seckill-price-wrap {
display: flex;
align-items: flex-end;
height: 24px;
line-height: 24px;
margin-top: 10px;
p span {
font-size: 24px;
}
.primary-price {
text-decoration: line-through;
color: #838383;
margin-left: 10px;
}
}
}
}
}
}
}
.floor {
width: $width;
margin: 20px auto;
.floor_item {
margin-top: 10px;
}
}
.floatLayer-wrap {
position: fixed;
height: 100vh;
width: 100vw;
left: 0;
top: 0;
background: rgba($color: #000000, $alpha: 0.5);
z-index: 999;
.floatLayer {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 999;
cursor: pointer;
.img-wrap {
width: 456px;
height: 274px;
line-height: 274px;
overflow: hidden;
text-align: center;
img{
max-height: 100%;
}
}
i {
color: #ffffff;
font-size: 30px;
position: absolute;
top: -30px;
right: -30px;
}
}
}
// 悬浮搜索
.fixed-box {
width: 100vw;
background-color: #ffffff;
position: fixed;
top: 0;
left: 0;
z-index: 999;
border-bottom: 2px solid $base-color;
}

View File

@@ -0,0 +1,354 @@
.payment-wrap {
width: 1210px;
margin: 20px auto;
}
.clear {
clear: both;
}
.item-block {
padding: 0 15px 1px;
margin: 10px 0;
border-radius: 0;
border: none;
background: #ffffff;
.block-text {
border-color: #eeeeee;
color: $ns-text-color-black;
padding: 7px 0;
border-bottom: 1px;
}
.box {
.liuyan-text {
background-color: #f7f7f7;
border: 2px solid #dadada;
height: 56px;
width: 80%;
padding: 10px;
box-sizing: border-box;
border-radius: 4px;
}
}
.jifen-price {
font-weight: bold;
color: red;
}
}
.padd-bom-10 {
padding-bottom: 10px;
}
.padd-bom-20 {
padding-bottom: 20px;
}
//收货地址
.address-desc {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.address-item {
width: 23%;
border: 3px solid #eee;
box-sizing: border-box;
margin: 1%;
height: 150px;
cursor: pointer;
float: left;
.add-address {
padding: 10px;
text-align: center;
line-height: 120px;
}
.address-info {
padding: 10px;
height: 100%;
box-sizing: border-box;
position: relative;
.options {
position: absolute;
right: 0;
top: 10px;
width: 50%;
text-align: right;
div {
display: inline-block;
margin-right: 10px;
color: #999999;
}
}
.address-name {
color: $base-color;
padding: 0 0 6px;
border-bottom: 1px solid #eee;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 71px;
box-sizing: border-box;
line-height: 25px;
}
.address-mobile {
padding: 10px 0 4px;
}
}
}
.address-item.active {
background-color: #fffbf9;
border-color: $base-color;
}
//支付方式
.pay-type-list {
padding: 20px 0;
}
.distribution {
color: #ff547b;
margin-left: 10px;
}
.pay-type-item {
background-color: white;
display: inline-block;
border: 2px solid #eeeeee;
padding: 5px 20px;
margin-right: 20px;
cursor: pointer;
}
.pay-type-item.active {
border-color: $base-color;
}
.mobile-wrap {
width: 300px;
}
//商品列表
.goods-list {
padding: 15px 0;
.store-icon {
margin-right: 5px;
font-size: 16px;
}
.shop-icon {
font-size: 18px;
}
table {
width: 100%;
}
.goods-info-left {
width: 60px;
height: 60px;
float: left;
.goods-img {
width: 60px;
height: 60px;
}
}
.goods-info-right {
float: left;
height: 60px;
margin-left: 10px;
color: $base-color;
width: 80%;
.goods-name {
line-height: 20px;
padding-top: 10px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.goods-spec {
color: #999;
span{
margin-right: 5px;
}
}
}
.goods-footer {
background-color: #f3fbfe;
padding: 10px;
margin-top: 10px;
.goods-footer-right {
width: 50%;
float: left;
}
.goods-footer-left {
width: 50%;
float: left;
}
.order-cell {
cursor: pointer;
.tit {
padding: 5px 0 0 0;
}
}
.express-item {
margin-top: 5px;
display: inline-block;
border: 2px solid #eeeeee;
padding: 3px 10px;
margin-right: 20px;
cursor: pointer;
}
.express-item.active {
border-color: $base-color;
}
}
}
.promotion-show {
color: #999;
}
.align-right {
text-align: right;
}
//统计
.order-statistics {
float: right;
padding: 10px;
// color: #999;
}
.order-submit {
float: right;
padding: 10px;
}
.order-money {
display: inline-block;
margin-right: 20px;
div {
display: inline-block;
font-size: $ns-font-size-lg;
}
}
.buyer-message.el-textarea {
width: 400px;
}
.address-open {
cursor: pointer;
font-size: 13px;
padding: 0 0 10px 10px;
}
.pay-password-item {
margin-bottom: 10px;
}
.pay-password {
width: 80%;
}
.pay-password.hide-password {
position: fixed;
top: -9999px;
}
.platform-coupon {
cursor: pointer;
}
.forget-password {
text-align: right;
margin-right: 45px;
cursor: pointer;
}
.disabled-selected-wrap {
pointer-events: none;
cursor: pointer;
}
.cursor-pointer {
cursor: pointer;
}
//发票样式
.invoice-information {
.invoice-type-box {
display: inline-block;
padding: 10px 0;
vertical-align: bottom;
height: 30px;
line-height: 30px;
&.invoice-title-box {
margin-right: 100px;
}
.invoice-name {
margin-right: 25px;
}
.invoice-to-type {
display: inline-block;
margin-right: 30px;
position: relative;
// i{
// width: 17px;
// height: 17px;
// display: inline-block;
// position: absolute;
// border-radius: 34px;
// overflow: hidden;
// top: 7px;
// left:-1px;
// background: #fff;
// background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
// background-size: 100% 100%;
// }
i {
width: 14px;
height: 14px;
display: inline-block;
border-radius: 34px;
overflow: hidden;
background: #fff;
vertical-align: text-bottom;
border: 1px solid #999;
&.active {
width: 17px;
height: 17px;
overflow: hidden;
background: #fff;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
background-size: 100% 100%;
border: none;
}
}
input {
vertical-align: middle;
margin: 0;
width: 15px;
height: 15px;
}
}
.invoice-box-form {
display: inline-block;
input {
height: 28px;
line-height: 28px;
margin-right: 20px;
border: 1px solid #dddddd;
padding-left: 10px;
border-radius: 3px;
outline: none;
}
}
}
.invoice-condition {
padding: 10px 0;
.invoice-name {
margin-right: 25px;
}
.invoice-box-form {
display: inline-block;
.option-item {
margin-right: 20px;
cursor: pointer;
&.active {
color: #ff547b;
}
}
}
}
.invoice-tops{
margin-bottom: 20px;
}
}

View File

@@ -0,0 +1,937 @@
.el-main{
.detail-nav-wrap{
background-color: #f8f8f8;
.detail-nav{
margin: auto;
width: 1210px;
height: 54px;
display: flex;
align-items: center;
.iconfont{
margin: 0 8px;
}
span{
color: #666;
&:last-of-type{
color: $base-color;
}
}
.goods-name{
display: inline-block;
width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
.detail-main {
background: #fff;
padding-top: 20px;
}
.goods-detail {
overflow: hidden;
margin: 0 auto;
width: 1210px;
.preview-wrap {
display: flex;
float: left;
.video-player-wrap {
position: absolute;
z-index: 1;
.video-player {
visibility: hidden;
> div {
width: 356px;
height: 356px;
display: none;
}
.vjs-control-bar,
.vjs-big-play-button {
visibility: hidden;
transition: none;
}
.vjs-big-play-button {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.media-mode {
position: absolute;
width: 356px;
z-index: 5;
bottom: 0;
top: 300px;
text-align: center;
line-height: 25px;
span {
background: rgba(100, 100, 100, 0.6);
color: #fff;
font-size: 12px;
line-height: 25px;
border-radius: 10px;
padding: 0 15px;
display: inline-block;
cursor: pointer;
&:last-child {
margin-left: 20px;
}
}
}
&.show {
.video-player,
.vjs-control-bar,
.vjs-big-play-button {
visibility: visible;
}
.video-player {
> div {
display: block;
}
}
.media-mode {
top: initial;
bottom: 50px;
}
}
}
.magnifier-wrap {
width: 460px;
height: 460px;
border: 1px solid #d8d8d8;
box-sizing: border-box;
.magnifier-box .mouse-cover {
background-color: #fede4f;
opacity: 0.4;
}
}
.spec-items {
margin-left: 10px;
position: relative;
width: 84px;
height: 460px;
overflow: hidden;
> span {
cursor: pointer;
left: 0;
top: 0;
width: 84px;
height: 42px;
line-height: 42px;
text-align: center;
position: absolute;
background: #fff;
color: #838383;
z-index: 1;
font-size: 25px;
&:first-of-type{
transform: rotate(180deg);
}
&:last-of-type{
top: calc(100% - 42px);
}
}
ul {
display: flex;
flex-direction: column;
width: 100%;
height: 500%;
position: absolute;
top: 48px;
li {
width: 84px;
height: 84px;
overflow: hidden;
margin-bottom: 10px;
border: 1px solid #DADADA;
cursor: pointer;
opacity: 0.5;
box-sizing: border-box;
&:hover,
&.selected {
opacity: 1;
border-color: $base-color;
}
}
}
}
.share-collect {
padding: 10px 0 20px;
cursor: pointer;
text-align: right;
color: #838383;
display: flex;
justify-content: space-between;
align-items: center;
a{
color: #838383;
}
i,
span {
vertical-align: middle;
}
i {
margin-right: 5px;
}
}
}
.basic-info-wrap {
float: left;
width: calc(100% - 589px);
margin-left: 30px;
h1 {
font-size: 20px;
font-weight: normal;
color: #333;
line-height: 1.5;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.desc {
font-size: 12px;
color: #999;
margin: 5px 0 12px;
}
.divider {
margin: 10px 0;
border: 0;
border-top: 1px dotted #e5e5e5;
}
.discount-banner {
margin-top: 5px;
background: url(~/assets/images/goods/discount_bg.png) no-repeat;
height: 40px;
line-height: 40px;
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
.activity-name {
color: #fff;
font-size: 14px;
height: 40px;
i {
display: inline-block;
line-height: 40px;
}
span {
display: inline-block;
line-height: 40px;
vertical-align: top;
}
}
.discount-icon {
margin: 0 8px 0 10px;
color: #fff;
font-size: 20px;
}
.surplus-time {
color: #fff;
font-size: 14px;
float: right;
height: 35px;
line-height: 35px;
padding-right: 5px;
text-align: right;
> span {
margin-right: 5px;
}
i {
font-style: normal;
padding: 2px;
width: 20px;
height: 20px;
margin: 0 5px;
border-radius: 3px;
}
.count-down {
display: inline-block;
}
}
}
.item-block {
background-color: #f8f8f8;
padding: 15px 0;
position: relative;
background-size: cover;
min-height: 62px;
margin-bottom: 20px;
.statistical {
position: absolute;
right: 20px;
top: 16px;
li {
display: inline-block;
text-align: center;
position: relative;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
&:first-child {
margin-right: 40px;
}
p {
color: #838383;
}
span {
color: #383838;
font-size: 16px;
}
}
}
}
.item-line {
font-size: 14px;
min-height: 35px;
line-height: 35px;
display: flex;
padding-left: 20px;
margin-bottom: 10px;
dt {
display: inline-block;
width: 50px;
height: 35px;
line-height: 35px;
text-align: justify;
font-size: 12px;
margin-right: 16px;
color: #222;
flex-shrink: 0;
&::after {
display: inline-block;
width: 100%;
content: '';
height: 0;
}
}
> * {
height: inherit;
line-height: inherit;
font-size: 14px;
}
> dd {
display: flex;
align-items: center;
height: 35px;
}
&:last-of-type{
margin-bottom: 0;
}
&:first-of-type > dd{
align-items: baseline;
}
.yuan {
font-size: 18px;
}
.price {
font-size: 30px;
font-weight: bold;
}
.market-yuan {
font-size: 14px;
text-decoration: line-through;
}
.member_price {
font-size: 14px;
margin-left: 5px;
}
.market-price {
font-size: 14px;
margin-left: 5px;
text-decoration: line-through;
}
&.promotion-price .label {
line-height: initial;
font-size: 18px;
background: transparent;
padding: 0;
vertical-align: text-bottom;
}
&.coupon-list {
align-items: baseline;
> div {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
dd {
margin-right: 20px;
}
}
p {
display: inline-block;
position: relative;
line-height: 18px;
}
span {
display: inline-block;
padding: 0 10px;
margin-right: 10px;
cursor: pointer;
border: 1px solid $base-color;
height: 32px;
line-height: 32px;
color: $base-color;
font-size: 14px;
box-sizing: border-box;
}
label {
line-height: 16px;
position: absolute;
left: 10px;
top: 1px;
}
}
&.manjian {
align-items: end;
}
&.manjian span {
// padding: 2px 10px;
font-size: 12px;
margin-right: 5px;
}
&.delivery {
position: relative;
i {
margin-left: 5px;
}
dd{
align-items: center;
}
.region-selected {
position: relative;
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin: 0 5px 0 0;
width: auto;
padding: 0 10px;
height: 32px;
line-height: 32px;
border: 1px solid #e5e5e5;
z-index: 2;
font-size: 14px;
}
.region-list {
width: 466px;
position: absolute;
z-index: 10;
top: 35px;
left: 82px;
background: #fff;
border: 1px solid #e5e5e5;
padding: 15px;
line-height: 18px;
height: auto;
display: none;
font-size: 14px;
&.hide{
display: none !important;
}
.nav-tabs {
border-bottom: 2px solid $base-color;
height: 30px;
> li {
margin-bottom: -2px;
float: left;
> div {
padding: 4px 8px;
border: 2px solid transparent;
height: 20px;
display: inline-block;
line-height: 20px;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
cursor: pointer;
&:hover {
border-color: transparent;
}
}
&.active {
> div {
color: $base-color;
border: 2px solid;
border-bottom-color: #fff !important;
}
}
}
}
.tab-content {
> .active {
padding: 10px 0;
}
> .tab-pane {
display: none;
&.active {
display: block;
}
li {
float: left;
width: 25%;
line-height: 30px;
&.selected {
color: $base-color;
}
span {
cursor: pointer;
&:hover {
color: $base-color;
}
}
}
}
}
}
dd:hover {
.region-list {
display: block;
}
}
}
&.service a {
margin: 0 5px;
}
&.buy-btn {
margin: 25px 0 0;
dt{
margin: 0;
padding: 0;
width: 0;
height: 0;
}
dd{
height: auto;
}
button {
min-width: 168px;
height: 52px;
margin-right: 10px;
font-size: 20px;
text-shadow: 0 0 0;
border-radius: 0;
&[disabled] {
cursor: not-allowed;
pointer-events: initial;
border: 1px solid;
opacity: 1;
}
i {
margin-right: 5px;
font-size: 20px;
}
}
}
.i-activity-flag {
height: 32px;
line-height: 32px;
padding: 0 8px;
border: 1px solid;
font-size: 14px;
margin-right: 5px;
white-space: nowrap;
}
&.gift-point strong {
font-size: 14px;
}
&.merchant-service {
overflow: hidden;
margin: 10px 0;
align-items: flex-start;
> div {
display: inline-block;
}
dd {
display: inline-block;
margin-right: 18px;
// margin: 0;
&:last-child {
padding-right: 0;
}
i {
color: $base-color;
font-size: $ns-font-size-base;
margin-right: 5px;
}
span {
cursor: pointer;
}
}
}
}
.sku-list {
ul {
overflow: hidden;
padding: 1px;
li {
float: left;
position: relative;
margin: 2px 10px 10px 0;
line-height: 14px;
vertical-align: middle;
div {
padding: 8px 15px;
text-align: center;
border: 1px solid #b7b7b7;
display: inline-block;
-webkit-transition: none;
transition: none;
position: relative;
cursor: pointer;
&.selected,
&:hover {
border: 1px solid;
color: $base-color;
}
&:hover {
color: $base-color;
}
&.disabled,
&.disabled:hover {
border: 1px solid #b7b7b7;
margin: 0;
cursor: not-allowed;
color: #aaa;
}
img {
margin-right: 10px;
width: 26px;
height: 26px;
display: inline-block;
vertical-align: middle;
}
i {
position: absolute;
right: -10px;
bottom: 0px;
display: none;
font-size: 32px;
}
&:not(.disabled).selected i,
&:not(.disabled):hover i {
display: block;
}
}
}
}
}
.buy-number {
margin: 10px 0;
.num-wrap {
display: inline-block;
vertical-align: middle;
position: relative;
margin-right: 10px;
input {
width: 126px;
padding-left: 40px;
padding-right: 40px;
font-size: 12px;
height: 32px;
line-height: 32px;
border-radius: 0;
border-color: #D5D5D5;
text-align: center;
&.disabled {
cursor: not-allowed;
}
}
span {
position: absolute;
top: 2px;
left: 0;
width: 32px;
height: 32px;
overflow: hidden;
cursor: pointer;
display: block;
line-height: 32px;
text-align: center;
user-select: none;
z-index: 1;
&.decrease{
border-right: 1px solid #D5D5D5;
}
&.increase{
left: 94px;
border-left: 1px solid #D5D5D5;
}
&.disabled {
cursor: not-allowed;
}
}
}
.inventory {
margin-left: 10px;
}
}
.go-phone {
position: relative;
float: right;
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border: 1px solid #d8d8d8;
box-sizing: border-box;
margin-right: 10px;
cursor: pointer;
&>img{
}
&>span{
margin-top: 4px;
line-height: 1;
font-size: 12px;
color: #999;
}
&:hover .qrcode-wrap {
display: block;
}
.qrcode-wrap {
border: 1px solid #e5e5e5;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
height: 120px;
overflow: hidden;
padding: 10px;
position: absolute;
width: 120px;
left: 30px;
top: -50px;
display: none;
background:white;
}
&.icon-item{
.iconfont{
font-size: 22px;
font-weight: bold;
color: #5E5C5C;
&.selected{
color: #ff9000;
}
}
}
}
}
.shop-wrap {
float: right;
border: 1px solid #e9e9e9;
padding: 0 20px;
width: 234px;
box-sizing: border-box;
.head-wrap {
text-align: center;
padding: 16px 0;
border-bottom: 1px solid #f1f1f1;
.img-wrap {
width: 64px;
height: 64px;
line-height: 64px;
display: inline-block;
img {
max-width: 100%;
max-height: 100%;
}
}
.site-name {
font-size: 14px;
color: #383838;
}
.tag {
margin-left: 10px;
font-size: 14px;
}
}
.info-wrap {
padding: 10px 0;
border-bottom: 1px solid #f1f1f1;
dl {
font-size: $ns-font-size-sm;
dt {
color: #838383;
// width: 65px;
line-height: 25px;
font-weight: normal;
float: left;
}
dt.site-score {
// width: 58px;
padding-right: 5px;
}
dd {
height: 25px;
line-height: 25px;
// margin-left: 50px;
color: #838383;
span {
color: #383838;
font-weight: 600;
}
}
}
}
.operation {
padding: 12px 0;
.el-button {
padding: 10px 16px;
}
}
}
.detail-wrap {
padding: 64px 0 35px;
clear: both;
.goods-recommended {
float: left;
width: 234px;
}
.goods-tab {
.attr-list {
font-size: 14px;
display: flex;
flex-wrap: wrap;
li {
margin-bottom: 5px;
padding: 0 10px;
flex: 0 0 30%;
width: 33%;
}
}
.el-tabs__header{
margin-bottom: 30px;
}
.tablist{
border-radius: 0;
}
.el-tabs__item{
position: relative;
width: 168px;
height: 52px;
line-height: 52px;
text-align: center;
font-size: 18px;
&.is-active{
color: $base-color;
&:after{
content: "";
position: absolute;
top: -1px;
left: 0;
right: 0;
height: 2px;
background-color: $base-color;
}
}
&:hover{
color: $base-color;
}
}
.evaluate {
.empty {
color: #898989;
text-align: center;
font-size: 14px;
}
nav {
padding: 10px;
overflow: hidden;
background: #f7f7f7;
li {
float: left;
padding: 0 20px;
cursor: pointer;
&:first-child {
padding-left: 0;
}
&:hover,
&.selected {
color: $base-color;
}
}
}
.list {
margin-top: 10px;
font-size: 14px;
li {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
.member-info {
float: left;
width: 140px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
img {
width: 25px;
height: 25px;
border-radius: 50%;
margin-right: 5px;
}
}
.info-wrap {
margin-left: 150px;
margin-bottom: 10px;
.content {
padding: 10px 0;
}
.img-list {
.el-image {
width: 50px;
margin-left: 10px;
&:first-child {
margin-left: 0;
}
}
}
.sku-info {
color: #898989;
font-size: 12px;
span {
margin-right: 5px;
&.create-time {
margin-left: 10px;
}
}
}
.evaluation-reply {
margin: 10px 0;
color: $base-color;
}
.review-evaluation {
.review-time {
font-size: $ns-font-size-sm;
margin-left: 20px;
color: #898989;
}
}
}
}
}
.page-wrap {
margin-top: 10px;
text-align: right;
}
}
}
}
}

View File

@@ -0,0 +1,936 @@
.el-main{
.detail-nav-wrap{
background-color: #f8f8f8;
.detail-nav{
margin: auto;
width: 1210px;
height: 54px;
display: flex;
align-items: center;
.iconfont{
margin: 0 8px;
}
span{
color: #666;
&:last-of-type{
color: $base-color;
}
}
.goods-name{
display: inline-block;
width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
.detail-main {
background: #fff;
padding-top: 20px;
}
.goods-detail {
overflow: hidden;
margin: 0 auto;
width: 1210px;
.preview-wrap {
display: flex;
float: left;
.video-player-wrap {
position: absolute;
z-index: 1;
.video-player {
visibility: hidden;
> div {
width: 356px;
height: 356px;
display: none;
}
.vjs-control-bar,
.vjs-big-play-button {
visibility: hidden;
transition: none;
}
.vjs-big-play-button {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.media-mode {
position: absolute;
width: 356px;
z-index: 5;
bottom: 0;
top: 300px;
text-align: center;
line-height: 25px;
span {
background: rgba(100, 100, 100, 0.6);
color: #fff;
font-size: 12px;
line-height: 25px;
border-radius: 10px;
padding: 0 15px;
display: inline-block;
cursor: pointer;
&:last-child {
margin-left: 20px;
}
}
}
&.show {
.video-player,
.vjs-control-bar,
.vjs-big-play-button {
visibility: visible;
}
.video-player {
> div {
display: block;
}
}
.media-mode {
top: initial;
bottom: 50px;
}
}
}
.magnifier-wrap {
width: 460px;
height: 460px;
border: 1px solid #d8d8d8;
box-sizing: border-box;
.magnifier-box .mouse-cover {
background-color: #fede4f;
opacity: 0.4;
}
}
.spec-items {
margin-left: 10px;
position: relative;
width: 84px;
height: 460px;
overflow: hidden;
> span {
cursor: pointer;
left: 0;
top: 0;
width: 84px;
height: 42px;
line-height: 42px;
text-align: center;
position: absolute;
background: #fff;
color: #838383;
z-index: 1;
font-size: 25px;
&:first-of-type{
transform: rotate(180deg);
}
&:last-of-type{
top: calc(100% - 42px);
}
}
ul {
display: flex;
flex-direction: column;
width: 100%;
height: 500%;
position: absolute;
top: 48px;
li {
width: 84px;
height: 84px;
overflow: hidden;
margin-bottom: 10px;
border: 1px solid #DADADA;
cursor: pointer;
opacity: 0.5;
box-sizing: border-box;
&:hover,
&.selected {
opacity: 1;
border-color: $base-color;
}
}
}
}
.share-collect {
padding: 10px 0 20px;
cursor: pointer;
text-align: right;
color: #838383;
display: flex;
justify-content: space-between;
align-items: center;
a{
color: #838383;
}
i,
span {
vertical-align: middle;
}
i {
margin-right: 5px;
}
}
}
.basic-info-wrap {
float: left;
width: calc(100% - 589px);
margin-left: 30px;
h1 {
font-size: 20px;
font-weight: normal;
color: #333;
line-height: 1.5;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.desc {
font-size: 12px;
color: #999;
margin: 5px 0 12px;
}
.divider {
margin: 10px 0;
border: 0;
border-top: 1px dotted #e5e5e5;
}
.discount-banner {
margin-top: 5px;
background: url(../../../../assets/images/goods/discount_bg.png) no-repeat;
height: 40px;
line-height: 40px;
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
.activity-name {
color: #fff;
font-size: 14px;
height: 40px;
i {
display: inline-block;
line-height: 40px;
}
span {
display: inline-block;
line-height: 40px;
vertical-align: top;
}
}
.discount-icon {
margin: 0 8px 0 10px;
color: #fff;
font-size: 20px;
}
.surplus-time {
color: #fff;
font-size: 14px;
float: right;
height: 35px;
line-height: 35px;
padding-right: 5px;
text-align: right;
> span {
margin-right: 5px;
}
i {
font-style: normal;
padding: 2px;
width: 20px;
height: 20px;
margin: 0 5px;
border-radius: 3px;
}
.count-down {
display: inline-block;
}
}
}
.item-block {
background-color: #f8f8f8;
padding: 15px 0;
position: relative;
background-size: cover;
min-height: 62px;
margin-bottom: 20px;
.statistical {
position: absolute;
right: 20px;
top: 16px;
li {
display: inline-block;
text-align: center;
position: relative;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
&:first-child {
margin-right: 40px;
}
p {
color: #838383;
}
span {
color: #383838;
font-size: 16px;
}
}
}
}
.item-line {
font-size: 14px;
min-height: 35px;
line-height: 35px;
display: flex;
padding-left: 20px;
margin-bottom: 10px;
dt {
display: inline-block;
width: 50px;
height: 35px;
line-height: 35px;
text-align: justify;
font-size: 12px;
margin-right: 16px;
color: #222;
flex-shrink: 0;
&::after {
display: inline-block;
width: 100%;
content: '';
height: 0;
}
}
> * {
height: inherit;
line-height: inherit;
font-size: 14px;
}
> dd {
display: flex;
align-items: center;
height: 35px;
}
&:last-of-type{
margin-bottom: 0;
}
&:first-of-type > dd{
align-items: baseline;
}
.yuan {
font-size: 18px;
}
.price {
font-size: 30px;
font-weight: bold;
}
.market-yuan {
font-size: 14px;
text-decoration: line-through;
}
.member_price {
font-size: 14px;
margin-left: 5px;
}
.market-price {
font-size: 14px;
margin-left: 5px;
text-decoration: line-through;
}
&.promotion-price .label {
line-height: initial;
font-size: 18px;
background: transparent;
padding: 0;
vertical-align: text-bottom;
}
&.coupon-list {
align-items: baseline;
> div {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
dd {
margin-right: 20px;
}
}
p {
display: inline-block;
position: relative;
line-height: 18px;
}
span {
display: inline-block;
padding: 0 10px;
margin-right: 10px;
cursor: pointer;
border: 1px solid $base-color;
height: 32px;
line-height: 32px;
color: $base-color;
font-size: 14px;
box-sizing: border-box;
}
label {
line-height: 16px;
position: absolute;
left: 10px;
top: 1px;
}
}
&.manjian {
align-items: end;
}
&.manjian span {
// padding: 2px 10px;
font-size: 12px;
margin-right: 5px;
}
&.delivery {
position: relative;
i {
margin-left: 5px;
}
dd{
align-items: center;
}
.region-selected {
position: relative;
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin: 0 5px 0 0;
width: auto;
padding: 0 10px;
height: 32px;
line-height: 32px;
border: 1px solid #e5e5e5;
z-index: 2;
font-size: 14px;
}
.region-list {
width: 466px;
position: absolute;
z-index: 10;
top: 35px;
left: 82px;
background: #fff;
border: 1px solid #e5e5e5;
padding: 15px;
line-height: 18px;
height: auto;
display: none;
font-size: 14px;
&.hide{
display: none !important;
}
.nav-tabs {
border-bottom: 2px solid $base-color;
height: 30px;
> li {
margin-bottom: -2px;
float: left;
> div {
padding: 4px 8px;
border: 2px solid transparent;
height: 20px;
display: inline-block;
line-height: 20px;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
cursor: pointer;
&:hover {
border-color: transparent;
}
}
&.active {
> div {
color: $base-color;
border: 2px solid;
border-bottom-color: #fff !important;
}
}
}
}
.tab-content {
> .active {
padding: 10px 0;
}
> .tab-pane {
display: none;
&.active {
display: block;
}
li {
float: left;
width: 25%;
line-height: 30px;
&.selected {
color: $base-color;
}
span {
cursor: pointer;
&:hover {
color: $base-color;
}
}
}
}
}
}
dd:hover {
.region-list {
display: block;
}
}
}
&.service a {
margin: 0 5px;
}
&.buy-btn {
margin: 25px 0 0;
dt{
margin: 0;
padding: 0;
width: 0;
height: 0;
}
dd{
height: auto;
}
button {
min-width: 168px;
height: 52px;
margin-right: 10px;
font-size: 20px;
text-shadow: 0 0 0;
border-radius: 0;
&[disabled] {
cursor: not-allowed;
pointer-events: initial;
border: 1px solid;
opacity: 1;
}
i {
margin-right: 5px;
font-size: 20px;
}
}
}
.i-activity-flag {
height: 32px;
line-height: 32px;
padding: 0 8px;
border: 1px solid;
font-size: 14px;
margin-right: 5px;
white-space: nowrap;
}
&.gift-point strong {
font-size: 14px;
}
&.merchant-service {
overflow: hidden;
margin: 10px 0;
align-items: flex-start;
> div {
display: inline-block;
}
dd {
display: inline-block;
margin-right: 18px;
// margin: 0;
&:last-child {
padding-right: 0;
}
i {
color: $base-color;
font-size: $ns-font-size-base;
margin-right: 5px;
}
span {
cursor: pointer;
}
}
}
}
.sku-list {
ul {
overflow: hidden;
padding: 1px;
li {
float: left;
position: relative;
margin: 2px 10px 10px 0;
line-height: 14px;
vertical-align: middle;
div {
padding: 8px 12px;
text-align: center;
border: 1px solid #b7b7b7;
display: inline-block;
-webkit-transition: none;
transition: none;
position: relative;
cursor: pointer;
&.selected,
&:hover {
border: 2px solid;
margin: -1px;
color: $base-color;
}
&:hover {
color: $base-color;
}
&.disabled,
&.disabled:hover {
border: 1px solid #b7b7b7;
margin: 0;
cursor: not-allowed;
color: #aaa;
}
img {
margin-right: 10px;
width: 26px;
height: 26px;
display: inline-block;
vertical-align: middle;
}
i {
position: absolute;
right: -10px;
bottom: 0px;
display: none;
font-size: 32px;
}
&:not(.disabled).selected i,
&:not(.disabled):hover i {
display: block;
}
}
}
}
}
.buy-number {
margin: 10px 0;
.num-wrap {
display: inline-block;
vertical-align: middle;
position: relative;
margin-right: 10px;
input {
width: 126px;
padding-left: 40px;
padding-right: 40px;
font-size: 12px;
height: 32px;
line-height: 32px;
border-radius: 0;
border-color: #D5D5D5;
text-align: center;
&.disabled {
cursor: not-allowed;
}
}
span {
position: absolute;
top: 2px;
left: 0;
width: 32px;
height: 32px;
overflow: hidden;
cursor: pointer;
display: block;
line-height: 32px;
text-align: center;
user-select: none;
z-index: 1;
&.decrease{
border-right: 1px solid #D5D5D5;
}
&.increase{
left: 94px;
border-left: 1px solid #D5D5D5;
}
&.disabled {
cursor: not-allowed;
}
}
}
.inventory {
margin: 0 10px;
}
}
.go-phone {
position: relative;
float: right;
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border: 1px solid #d8d8d8;
box-sizing: border-box;
margin-right: 10px;
cursor: pointer;
&>img{
}
&>span{
margin-top: 4px;
line-height: 1;
font-size: 12px;
color: #999;
}
&:hover .qrcode-wrap {
display: block;
}
.qrcode-wrap {
border: 1px solid #e5e5e5;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
height: 120px;
overflow: hidden;
padding: 10px;
position: absolute;
width: 120px;
left: 30px;
top: -50px;
display: none;
background:white;
}
&.icon-item{
.iconfont{
font-size: 22px;
font-weight: bold;
color: #5E5C5C;
&.selected{
color: #ff9000;
}
}
}
}
}
.shop-wrap {
float: right;
border: 1px solid #e9e9e9;
padding: 0 20px;
width: 234px;
box-sizing: border-box;
.head-wrap {
text-align: center;
padding: 16px 0;
border-bottom: 1px solid #f1f1f1;
.img-wrap {
width: 64px;
height: 64px;
line-height: 64px;
display: inline-block;
img {
max-width: 100%;
max-height: 100%;
}
}
.site-name {
font-size: 14px;
color: #383838;
}
.tag {
margin-left: 10px;
font-size: 14px;
}
}
.info-wrap {
padding: 10px 0;
border-bottom: 1px solid #f1f1f1;
dl {
font-size: $ns-font-size-sm;
dt {
color: #838383;
// width: 65px;
line-height: 25px;
font-weight: normal;
float: left;
}
dt.site-score {
// width: 58px;
padding-right: 5px;
}
dd {
height: 25px;
line-height: 25px;
// margin-left: 50px;
color: #838383;
span {
color: #383838;
font-weight: 600;
}
}
}
}
.operation {
padding: 12px 0;
.el-button {
padding: 10px 16px;
}
}
}
.detail-wrap {
padding: 64px 0 35px;
clear: both;
.goods-recommended {
float: left;
width: 234px;
}
.goods-tab {
.attr-list {
font-size: 14px;
display: flex;
flex-wrap: wrap;
li {
margin-bottom: 5px;
padding: 0 10px;
flex: 0 0 30%;
width: 33%;
}
}
.el-tabs__header{
margin-bottom: 30px;
}
.tablist{
border-radius: 0;
}
.el-tabs__item{
position: relative;
width: 168px;
height: 52px;
line-height: 52px;
text-align: center;
font-size: 18px;
&.is-active{
color: $base-color;
&:after{
content: "";
position: absolute;
top: -1px;
left: 0;
right: 0;
height: 2px;
background-color: $base-color;
}
}
&:hover{
color: $base-color;
}
}
.evaluate {
.empty {
color: #898989;
text-align: center;
font-size: 14px;
}
nav {
padding: 10px;
overflow: hidden;
background: #f7f7f7;
li {
float: left;
padding: 0 20px;
cursor: pointer;
&:first-child {
padding-left: 0;
}
&:hover,
&.selected {
color: $base-color;
}
}
}
.list {
margin-top: 10px;
font-size: 14px;
li {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
.member-info {
float: left;
width: 140px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
img {
width: 25px;
height: 25px;
border-radius: 50%;
margin-right: 5px;
}
}
.info-wrap {
margin-left: 150px;
margin-bottom: 10px;
.content {
padding: 10px 0;
}
.img-list {
.el-image {
width: 50px;
margin-left: 10px;
&:first-child {
margin-left: 0;
}
}
}
.sku-info {
color: #898989;
font-size: 12px;
span {
margin-right: 5px;
&.create-time {
margin-left: 10px;
}
}
}
.evaluation-reply {
margin: 10px 0;
color: $base-color;
}
.review-evaluation {
.review-time {
font-size: $ns-font-size-sm;
margin-left: 20px;
color: #898989;
}
}
}
}
}
.page-wrap {
margin-top: 10px;
text-align: right;
}
}
}
}
}

View File

@@ -0,0 +1,327 @@
.ns-seckill {
.ns-seckill-time-box {
&>span {
cursor: pointer;
bottom: 0;
line-height: 64px;
position: absolute;
color: #fff;
z-index: 1;
background-color: rgba(0, 0, 0, .3);
width: 35px;
font-size: 24px;
text-align: center;
}
.left-btn {
left: 0;
}
.right-btn {
right: 0;
}
.ns-seckill-time-list {
width: 100%;
height: 64px;
position: relative;
}
ul {
width: 500%;
position: absolute;
top: 0;
left: 16px;
display: flex;
li {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 302.5px;
height: 64px;
overflow: hidden;
cursor: pointer;
text-align: center;
background: linear-gradient(135deg, #EDEDED 0%, #FFFFFF 100%);
opacity: 0.87;
color: #424242;
&::after{
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 12px;
border-left: 30px solid rgba(255,255,255,0.87);
border-bottom: 60px solid rgba(255,255,255,0.87);
border-right: 30px solid transparent;
border-top: 60px solid transparent;
}
&:first-of-type::after{
border: 0;
}
div:first-child {
font-size: 16px;
}
div:nth-child(2) {
line-height: 14px;
font-size: 12px;
}
&.selected-tab {
background: linear-gradient(135deg, #F42424 0%, #FA6400 100%);
opacity: 0.88;
color: #FFF;
}
&.selected-tab + li{
background-color: red;
}
&.selected-tab+li::after{
border-left-color: rgba(250,75,0,0.88);
border-bottom-color: rgba(250,75,0,0.88);
}
&.selected-tab::after{
border-left-color: rgba(255,255,255,1);
border-bottom-color: rgba(255,255,255,1);
}
}
}
}
.ns-seckill-head {
position: relative;
width: $width;
margin: auto;
.el-carousel{
.el-image{
height: 100%;
}
}
}
.ns-seckill-box {
padding-top: 54px;
width: $width;
margin: 0 auto 50px;
.ns-seckill-title {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e8e8e8;
.seckill-title-left {
display: flex;
align-items: center;
.name {
font-size: 30px;
font-weight: bold;
border-bottom: 4px solid #f42424;
color: #333;
}
.desc {
margin-left: 15px;
font-size: 16px;
color: #424242;
}
}
.ns-seckill-right {
&>span {
font-size: 20px;
color: #424242;
}
.count-down {
display: inline-block;
margin-left: 6px;
&>p {
display: flex;
align-items: center;
i {
margin-left: 3px;
margin-right: -6px;
}
}
}
}
}
}
}
.ns-seckill-time-box {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: $width;
height: 64px;
margin: 0 auto;
overflow: hidden;
z-index: 5;
.seckill-time {
width: $width;
margin: 0 auto;
.el-tabs__nav-wrap .el-tabs__item .seckill-time-li.selected-tab div p {
color: #ffffff;
border: none;
}
.seckill-time-li {
text-align: center;
padding: 0;
height: 56px;
line-height: unset;
padding-top: 6px;
box-sizing: border-box;
color: #afafaf;
div {
&:first-child {
font-size: 18px;
line-height: 22px;
}
&:last-child {
height: 14px;
line-height: 14px;
margin-top: 6px;
p {
height: 14px;
line-height: 14px;
}
}
}
}
.selected-tab {
background: $base-color;
color: #ffffff;
}
}
}
.goods-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
margin-top: 35px;
.goods {
width: 228px;
margin-bottom: 18px;
margin-right: 17px;
overflow: hidden;
color: #303133;
transition: 0.3s;
padding: 18px;
background-color: #fff;
box-sizing: border-box;
cursor: pointer;
&:nth-child(5n+5) {
margin-right: 0;
}
}
.img {
width: 192px;
height: 192px;
}
.price {
display: flex;
align-items: baseline;
flex-wrap: wrap;
.curr-price {
display: flex;
align-items: flex-end;
height: 24px;
color: $base-color;
font-weight: bold;
span:first-child {
font-size: 14px;
line-height: 24px;
}
span:nth-child(2) {
font-size: 12px;
}
}
.main_price {
color: $base-color;
font-size: 16px;
line-height: 24px;
}
.primary_price {
text-decoration: line-through;
color: $base-color-info;
margin-left: 5px;
font-size: 12px;
}
}
.name {
margin-top: 10px;
font-size: 14px;
white-space: normal;
overflow: hidden;
p {
line-height: 24px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
height: 50px;
}
}
.el-button {
width: 100%;
height: 42px;
line-height: 42px;
background: $base-color;
color: #ffffff;
margin-top: 5px;
border: none;
border-radius: 0;
padding: 0;
font-size: 16px;
}
}
.empty-wrap {
padding: 50px 0 60px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
img{
width: 400px;
height: 244px;
}
span{
font-size: 14px;
color: #4A4A4A;
}
}

View File

@@ -0,0 +1,407 @@
.payment-wrap {
width: 1210px;
margin: 20px auto;
}
.clear {
clear: both;
}
.item-block {
padding: 0 15px 1px;
margin: 10px 0;
border-radius: 0;
border: none;
background: #ffffff;
.block-text {
border-color: #eeeeee;
color: $ns-text-color-black;
padding: 7px 0;
border-bottom: 1px;
}
.box {
.liuyan-text {
background-color: #F7F7F7;
border: 2px solid #DADADA;
height: 56px;
width: 80%;
padding: 10px;
box-sizing: border-box;
border-radius: 4px;
}
}
}
.padd-bom-10 {
padding-bottom: 10px;
}
.padd-bom-20 {
padding-bottom: 20px;
}
//收货地址
.address-desc {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.address-item {
width: 23%;
border: 3px solid #eee;
box-sizing: border-box;
margin: 1%;
height: 150px;
cursor: pointer;
float: left;
.add-address {
padding: 10px;
text-align: center;
line-height: 120px;
}
.address-info {
padding: 10px;
height: 100%;
box-sizing: border-box;
position: relative;
.options {
position: absolute;
right: 0;
top: 10px;
width: 50%;
text-align: right;
div {
display: inline-block;
margin-right: 10px;
color: #999999;
}
}
.address-name {
color: $base-color;
padding: 0px 0 6px;
border-bottom: 1px solid #eee;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 71px;
box-sizing: border-box;
line-height: 25px;
}
.address-mobile {
padding: 10px 0 4px;
}
}
}
.address-item.active {
background-color: #fffbf9;
border-color: $base-color;
}
//支付方式
.pay-type-list {
padding: 20px 0;
}
.distribution {
color: #ff547b;
margin-left: 10px;
}
.pay-type-item {
background-color: white;
display: inline-block;
border: 2px solid #eeeeee;
padding: 5px 20px;
margin-right: 20px;
cursor: pointer;
}
.pay-type-item.active {
border-color: $base-color;
}
.mobile-wrap {
width: 300px;
}
.pay-password {
width: 80%;
}
//商品列表
.goods-list {
padding: 15px 0;
.store-icon {
margin-right: 5px;
font-size: 16px;
}
.shop-icon {
font-size: 18px;
}
table {
width: 100%;
}
.goods-info-left {
width: 60px;
height: 60px;
float: left;
.goods-img {
width: 60px;
height: 60px;
}
}
.goods-info-right {
float: left;
height: 60px;
margin-left: 10px;
color: $base-color;
width: 80%;
.goods-name {
line-height: 20px;
padding-top: 10px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.goods-spec {
color: #999;
}
}
.goods-footer {
background-color: #f3fbfe;
padding: 10px;
margin-top: 10px;
.goods-footer-right {
width: 50%;
float: left;
}
.goods-footer-left {
width: 50%;
float: left;
}
.order-cell {
cursor: pointer;
.tit {
padding: 5px 0 0 0;
}
}
.express-item {
margin-top: 5px;
display: inline-block;
border: 2px solid #eeeeee;
padding: 3px 10px;
margin-right: 20px;
cursor: pointer;
}
.express-item.active {
border-color: $base-color;
}
}
}
.promotion-show {
color: #999;
}
.align-right {
text-align: right;
}
//统计
.order-statistics {
float: right;
padding: 10px;
// color: #999;
}
.order-submit {
float: right;
padding: 10px;
}
.order-money {
display: inline-block;
margin-right: 20px;
div {
display: inline-block;
font-size: $ns-font-size-lg;
}
}
.buyer-message.el-textarea {
width: 400px;
margin-top: 10px;
}
.address-open {
cursor: pointer;
font-size: 13px;
padding: 0 0 10px 10px;
}
.pay-password-item {
margin-bottom: 10px;
}
.pay-password {
width: 80%;
}
.pay-password.hide-password {
position: fixed;
top: -9999px;
}
.platform-coupon {
cursor: pointer;
}
.forget-password {
text-align: right;
margin-right: 45px;
cursor: pointer;
}
.disabled-selected-wrap {
pointer-events: none;
cursor: pointer;
}
.cursor-pointer {
cursor: pointer;
}
//发票样式
.invoice-information {
.invoice-type-box {
display: inline-block;
padding: 10px 0px;
vertical-align: bottom;
height: 30px;
line-height: 30px;
&.invoice-title-box {
margin-right: 100px;
}
.invoice-name {
margin-right: 25px;
}
.invoice-to-type {
display: inline-block;
margin-right: 30px;
position: relative;
// i{
// width: 17px;
// height: 17px;
// display: inline-block;
// position: absolute;
// border-radius: 34px;
// overflow: hidden;
// top: 7px;
// left:-1px;
// background: #fff;
// background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
// background-size: 100% 100%;
// }
i {
width: 14px;
height: 14px;
display: inline-block;
border-radius: 34px;
overflow: hidden;
background: #fff;
vertical-align: text-bottom;
border: 1px solid #999;
&.active {
width: 17px;
height: 17px;
overflow: hidden;
background: #fff;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
background-size: 100% 100%;
border: 0px solid #fff;
}
}
input {
vertical-align: middle;
margin: 0px;
width: 15px;
height: 15px;
}
}
.invoice-box-form {
display: inline-block;
input {
height: 28px;
line-height: 28px;
margin-right: 20px;
border: 1px solid #dddddd;
padding-left: 10px;
border-radius: 3px;
outline: none;
}
}
}
.invoice-condition {
padding: 10px 0px;
.invoice-name {
margin-right: 25px;
}
.invoice-box-form {
display: inline-block;
.option-item {
margin-right: 20px;
cursor: pointer;
&.active {
color: #ff547b;
}
}
}
}
.invoice-tops {
margin-bottom: 20px;
}
}

View File

@@ -0,0 +1,348 @@
.payment-wrap {
width: 1210px;
margin: 20px auto;
}
.clear {
clear: both;
}
.item-block {
padding: 0 15px 1px;
margin: 10px 0;
border-radius: 0;
border: none;
background: #ffffff;
.block-text {
border-color: #eeeeee;
color: $ns-text-color-black;
padding: 7px 0;
border-bottom: 1px;
}
.box{
.liuyan-text{
background-color: #F7F7F7;
border: 2px solid #DADADA;
height: 56px;
width: 80%;
padding: 10px;
box-sizing: border-box;
border-radius: 4px;
}
}
}
.padd-bom-10{
padding-bottom: 10px;
}
.padd-bom-20{
padding-bottom: 20px;
}
//收货地址
.address-desc {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.address-item {
width: 23%;
border: 3px solid #eee;
box-sizing: border-box;
margin: 1%;
height: 150px;
cursor: pointer;
float: left;
.add-address {
padding: 10px;
text-align: center;
line-height: 120px;
}
.address-info {
padding: 10px;
height: 100%;
box-sizing: border-box;
position: relative;
.options {
position: absolute;
right: 0;
top: 10px;
width: 50%;
text-align: right;
div {
display: inline-block;
margin-right: 10px;
color: #999999;
}
}
.address-name {
color: $base-color;
padding: 0px 0 6px;
border-bottom: 1px solid #eee;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 71px;
box-sizing: border-box;
line-height: 25px;
}
.address-mobile {
padding: 10px 0 4px;
}
}
}
.address-item.active {
background-color: #fffbf9;
border-color: $base-color;
}
//支付方式
.pay-type-list {
padding: 20px 0;
}
.distribution{
color: #ff547b;
margin-left: 10px;
}
.pay-type-item {
background-color: white;
display: inline-block;
border: 2px solid #eeeeee;
padding: 5px 20px;
margin-right: 20px;
cursor: pointer;
}
.pay-type-item.active {
border-color: $base-color;
}
.mobile-wrap {
width: 300px;
}
//商品列表
.goods-list {
padding: 15px 0;
.store-icon {
margin-right: 5px;
font-size: 16px;
}
.shop-icon {
font-size: 18px;
}
table {
width: 100%;
}
.goods-info-left {
width: 60px;
height: 60px;
float: left;
.goods-img {
width: 60px;
height: 60px;
}
}
.goods-info-right {
float: left;
height: 60px;
margin-left: 10px;
color: $base-color;
width: 80%;
.goods-name {
line-height: 20px;
padding-top: 10px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.goods-spec {
color: #999;
}
}
.goods-footer {
background-color: #f3fbfe;
padding: 10px;
margin-top: 10px;
.goods-footer-right {
width: 50%;
float: left;
}
.goods-footer-left {
width: 50%;
float: left;
}
.order-cell {
cursor: pointer;
.tit {
padding: 5px 0 0 0;
}
}
.express-item {
margin-top: 5px;
display: inline-block;
border: 2px solid #eeeeee;
padding: 3px 10px;
margin-right: 20px;
cursor: pointer;
}
.express-item.active {
border-color: $base-color;
}
}
}
.promotion-show {
color: #999;
}
.align-right {
text-align: right;
}
//统计
.order-statistics {
float: right;
padding: 10px;
// color: #999;
}
.order-submit {
float: right;
padding: 10px;
}
.order-money {
display: inline-block;
margin-right: 20px;
div {
display: inline-block;
font-size: $ns-font-size-lg;
}
}
.buyer-message.el-textarea {
width: 400px;
}
.address-open {
cursor: pointer;
font-size: 13px;
padding: 0 0 10px 10px;
}
.pay-password-item {
margin-bottom: 10px;
}
.pay-password {
width: 80%;
}
.pay-password.hide-password {
position: fixed;
top: -9999px;
}
.platform-coupon {
cursor: pointer;
}
.forget-password {
text-align: right;
margin-right: 45px;
cursor: pointer;
}
.disabled-selected-wrap {
pointer-events: none;
cursor: pointer;
}
.cursor-pointer {
cursor: pointer;
}
//发票样式
.invoice-information {
.invoice-type-box {
display: inline-block;
padding: 10px 0px;
vertical-align: bottom;
height: 30px;
line-height: 30px;
&.invoice-title-box {
margin-right: 100px;
}
.invoice-name {
margin-right: 25px;
}
.invoice-to-type {
display: inline-block;
margin-right: 30px;
position: relative;
// i{
// width: 17px;
// height: 17px;
// display: inline-block;
// position: absolute;
// border-radius: 34px;
// overflow: hidden;
// top: 7px;
// left:-1px;
// background: #fff;
// background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
// background-size: 100% 100%;
// }
i {
width: 14px;
height: 14px;
display: inline-block;
border-radius: 34px;
overflow: hidden;
background: #fff;
vertical-align: text-bottom;
border: 1px solid #999;
&.active {
width: 17px;
height: 17px;
overflow: hidden;
background: #fff;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
background-size: 100% 100%;
border: 0px solid #fff;
}
}
input {
vertical-align: middle;
margin: 0px;
width: 15px;
height: 15px;
}
}
.invoice-box-form {
display: inline-block;
input {
height: 28px;
line-height: 28px;
margin-right: 20px;
border: 1px solid #dddddd;
padding-left: 10px;
border-radius: 3px;
outline: none;
}
}
}
.invoice-condition {
padding: 10px 0px;
.invoice-name {
margin-right: 25px;
}
.invoice-box-form {
display: inline-block;
.option-item {
margin-right: 20px;
cursor: pointer;
&.active {
color: #ff547b;
}
}
}
}
.invoice-tops{
margin-bottom: 20px;
}
}

View File

@@ -0,0 +1,347 @@
.payment-wrap {
width: 1210px;
margin: 20px auto;
}
.clear {
clear: both;
}
.item-block {
padding: 0 15px 1px;
margin: 10px 0;
border-radius: 0;
border: none;
background: #ffffff;
.block-text {
border-color: #eeeeee;
color: $ns-text-color-black;
padding: 7px 0;
border-bottom: 1px;
}
.box{
.liuyan-text{
background-color: #F7F7F7;
border: 2px solid #DADADA;
height: 56px;
width: 80%;
padding: 10px;
box-sizing: border-box;
border-radius: 4px;
}
}
}
.padd-bom-10{
padding-bottom: 10px;
}
.padd-bom-20{
padding-bottom: 20px;
}
//收货地址
.address-desc {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.address-item {
width: 23%;
border: 3px solid #eee;
box-sizing: border-box;
margin: 1%;
height: 150px;
cursor: pointer;
float: left;
.add-address {
padding: 10px;
text-align: center;
line-height: 120px;
}
.address-info {
padding: 10px;
height: 100%;
box-sizing: border-box;
position: relative;
.options {
position: absolute;
right: 0;
top: 10px;
width: 50%;
text-align: right;
div {
display: inline-block;
margin-right: 10px;
color: #999999;
}
}
.address-name {
color: $base-color;
padding: 0px 0 6px;
border-bottom: 1px solid #eee;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 71px;
box-sizing: border-box;
line-height: 25px;
}
.address-mobile {
padding: 10px 0 4px;
}
}
}
.address-item.active {
background-color: #fffbf9;
border-color: $base-color;
}
//支付方式
.pay-type-list {
padding: 20px 0;
}
.distribution{
color: #ff547b;
margin-left: 10px;
}
.pay-type-item {
background-color: white;
display: inline-block;
border: 2px solid #eeeeee;
padding: 5px 20px;
margin-right: 20px;
cursor: pointer;
}
.pay-type-item.active {
border-color: $base-color;
}
.mobile-wrap {
width: 300px;
}
//商品列表
.goods-list {
padding: 15px 0;
.store-icon {
margin-right: 5px;
font-size: 16px;
}
.shop-icon {
font-size: 18px;
}
table {
width: 100%;
}
.goods-info-left {
width: 60px;
height: 60px;
float: left;
.goods-img {
width: 60px;
height: 60px;
}
}
.goods-info-right {
float: left;
height: 60px;
margin-left: 10px;
color: $base-color;
width: 80%;
.goods-name {
line-height: 20px;
padding-top: 10px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.goods-spec {
color: #999;
}
}
.goods-footer {
background-color: #f3fbfe;
padding: 10px;
margin-top: 10px;
.goods-footer-right {
width: 50%;
float: left;
}
.goods-footer-left {
width: 50%;
float: left;
}
.order-cell {
cursor: pointer;
.tit {
padding: 5px 0 0 0;
}
}
.express-item {
margin-top: 5px;
display: inline-block;
border: 2px solid #eeeeee;
padding: 3px 10px;
margin-right: 20px;
cursor: pointer;
}
.express-item.active {
border-color: $base-color;
}
}
}
.promotion-show {
color: #999;
}
.align-right {
text-align: right;
}
//统计
.order-statistics {
float: right;
padding: 10px;
// color: #999;
}
.order-submit {
float: right;
padding: 10px;
}
.order-money {
display: inline-block;
margin-right: 20px;
div {
display: inline-block;
font-size: $ns-font-size-lg;
}
}
.buyer-message.el-textarea {
width: 400px;
}
.address-open {
cursor: pointer;
font-size: 13px;
padding: 0 0 10px 10px;
}
.pay-password-item {
margin-bottom: 10px;
}
.pay-password {
width: 80%;
}
.pay-password.hide-password {
position: fixed;
top: -9999px;
}
.platform-coupon {
cursor: pointer;
}
.forget-password {
text-align: right;
margin-right: 45px;
cursor: pointer;
}
.disabled-selected-wrap {
pointer-events: none;
cursor: pointer;
}
.cursor-pointer {
cursor: pointer;
}
//发票样式
.invoice-information {
.invoice-type-box {
display: inline-block;
padding: 10px 0px;
vertical-align: bottom;
height: 30px;
line-height: 30px;
&.invoice-title-box {
margin-right: 100px;
}
.invoice-name {
margin-right: 25px;
}
.invoice-to-type {
display: inline-block;
margin-right: 30px;
position: relative;
// i{
// width: 17px;
// height: 17px;
// display: inline-block;
// position: absolute;
// border-radius: 34px;
// overflow: hidden;
// top: 7px;
// left:-1px;
// background: #fff;
// background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
// background-size: 100% 100%;
// }
i {
width: 14px;
height: 14px;
display: inline-block;
border-radius: 34px;
overflow: hidden;
background: #fff;
vertical-align: text-bottom;
border: 1px solid #999;
&.active {
width: 17px;
height: 17px;
overflow: hidden;
background: #fff;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABbUlEQVQ4jYXTsUvVURQH8I8PE1zKTdcEK7I/wNkkKpGgxNaGBqUQ3JT2xoQoaajmhhTEgoig1V0QdQiaCgTxJRK4PDlybtwe+vzCDw7n+/3ee+75ndPVmpzXhut4jDu4nNQPfMFbbNbyRhX34BW+YxdTuJTfw8wF9wa9xdRdmT/jD66g2VbVRn5LeI813MVRqWARB5g8xVyjmZq46EV5wjAe4BFaKR7CchqaGQ8l10pteIa7s2FLeWrgKtbRV918H6MYwXZqX4Y3KriN1Ur8vM1c0JdcwafwxgGD2KqIsQ49uFXFUclgo4P4PPSUvxBDcq0Sf+tg/FrFUfnPRk7YvYp4hv1TzPvJFYzHZXHAO8zgYhJb2e2VnI2DjEeqXoV2Nka77MJrDOSQlFk4C134iN94Upo4l6cGEbN/FoIrmvD8W6ajfNMv7GABN3Ahux1x5IKLpZpIz3/bGImnOXH9edMh9vAhczcxjb8nDhwDyjpTCJDO1nsAAAAASUVORK5CYII=);
background-size: 100% 100%;
border: 0px solid #fff;
}
}
input {
vertical-align: middle;
margin: 0px;
width: 15px;
height: 15px;
}
}
.invoice-box-form {
display: inline-block;
input {
height: 28px;
line-height: 28px;
margin-right: 20px;
border: 1px solid #dddddd;
padding-left: 10px;
border-radius: 3px;
outline: none;
}
}
}
.invoice-condition {
padding: 10px 0px;
.invoice-name {
margin-right: 25px;
}
.invoice-box-form {
display: inline-block;
.option-item {
margin-right: 20px;
cursor: pointer;
&.active {
color: #ff547b;
}
}
}
}
.invoice-tops{
margin-bottom: 20px;
}
}