index.css 5.41 KB
@charset "utf-8";

@use postcss-clearfix;

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

a img {
    border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
/*Reset End*/

.clearfix {
    clear: fix;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -moz-tap-highlight-color: rgba(0,0,0,0);
    tap-highlight-color: rgba(0,0,0,0);
}

html, body {
    font-family: helvetica,Arial,"黑体";
    width: 100%;
    font-size: 12PX;
    line-height: 1.4;
}

body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
    margin: 0 auto;
}

a {
    text-decoration: none;
    outline: none;
    color: #000;

    &:link,
    &:visited,
    &:hover,
    &:actived {
        color: #111;
    }
}

/* 屏蔽统计代码对样式的影响 */
iframe[height="0"] {
    display: none;
}

*:focus {
    outline: none;
}

.hide {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

@font-face {
    font-family: "iconfont";
    src: resolve('iconfont.eot'); /* IE9*/
    src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         resolve('iconfont.woff') format('woff'), /* chrome、firefox */
         resolve('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
         resolve('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16PX;
    font-style: normal;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2PX;
    -moz-osx-font-smoothing: grayscale;
}

.yoho-tip {
    position: fixed;
    display: none;
    text-align: center;
    padding: 15PX;
    top: 50%;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    font-size: 18PX;
    border: none;
    z-index:4;
    border-radius: 10PX;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

.tap-hightlight {
    &.highlight {
        background: #eee!important;
    }
}

.load-more-info {
    width: 100%;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 14PX;
    overflow: hidden;

    .status {
        &.hide {
            display: none;
        }
    }
}

/* rich-tip */
.yoho-order-bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.7);
    z-index:4;
    display: none;

    .order-tip-box {
        background-color: #fff;
        margin-left: auto;
        margin-right: auto;
        border-radius: 10px;
        width: 420px;
        margin-top: 400px;
        vertical-align: center;
        position: relative;

        .order-tip-msg {
            font-size: 1.1em;
            padding: 40px 20px;
            text-align: center;

            p:last-child {
                margin-bottom: 50px;
            }
        }

        .order-tip-btn-group {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 60px;
            line-height: 60px;

            a {
                width: 209px;
                box-shadow: none;
                background-color: #fff;
                font-size: 1.2em;
                text-align: center;
                float: left;
                display: inline-block;

                span {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }

            a:first-child {
                border-top: 1px solid #ccc;
                border-right: 1px solid #ccc;
                border-radius: 0 0 0 8px;
            }

            a:last-child {
                border-top: 1px solid #ccc;
                border-radius: 0 0 8px 0;
            }

            .order-tip-btnred {
                color: #d0021b;
            }

            .order-tip-btn1 {
                width: 418px;
                border-right: none;
                border-radius: 0 0 8px 8px!important;
            }
        }
    }
}

@import "layout/header";
@import "layout/footer";
@import "layout/footer_tab";
@import "good";
@import "lazy-failure";
@import "filter";
@import "loading";
@import "index/index";
@import "passport/index";
@import "guang/index";
@import "home/index";
@import "category/index";
@import "me/index";
@import "product/index";
@import "cart/index";
@import "life/index";
@import "shop/index";