_anchor.css 1.87 KB
body,
ul,
dl,
dd,
dt,
ol,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
textarea,
form,
select,
fieldset,
table,
td,
div,
input {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 12px;
    font-weight: normal;
}

body > div {
    margin: 0 auto;
}

div {
    text-align: left;
}

a img {
    border: 0;
}

body {
    color: #333;
    text-align: center;
    font-size: 12px;
    font-family: helvetica, Arial, 黑体;
}

ul,
ol,
li {
    list-style-type: none;
    vertical-align: 0;
}

body {
    background-color: #fff;
    color: #666;
}

* {
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -ms-touch-action: none;
    -webkit-touch-callout: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.feature-page {
    max-width: 640px;
    margin: 0 auto;
    overflow-x: hidden;
}

.feature-page .cexuanfu {
    img {
        width: 100%;
    }

    .anchor {
        position: absolute;
        top: 0;
        left: 0;
        background: transparent;
        cursor: pointer;
        z-index: 100;
    }
}

.feature-page .floor {
    width: 100%;
    position: relative;

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

    .anchor {
        position: absolute;
        top: 0;
        left: 0;
        background: transparent;
        cursor: pointer;
        z-index: 100;
    }

    .hide {
        display: none;
    }

    &.fixnav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: none;
        z-index: 1000;
    }

    .tab-container {
        a.active {
            background: rgba(0, 0, 0, 0.2);
        }
    }
}

.swiper-container {
    height: 100%;

    &.swiper {
        padding: 5px 10px;
        height: 100%;
    }
}

.swiper-slide {
    .anchor {
        width: 100%;
        height: 100%;
    }
}