jquery手机端移动端购物车数量加减选择价格变化代码

代码语言:html

所属分类:布局界面

代码描述:jquery手机端移动端购物车数量加减选择价格变化代码

代码标签: 移动 购物车 数量 加减 选择 价格 变化

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">

    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <style>
        html {
            font-size: 100px
        }
        * {
            margin: 0;
            padding: 0;
            _min-height: 1px;
            list-style: none;
            -moz-box-sizing: border-box;
            /*Firefox3.5+*/-webkit-box-sizing: border-box;
            /*Safari3.2+*/-o-box-sizing: border-box;
            /*Opera9.6*/-ms-box-sizing: border-box;
            /*IE8*/box-sizing: border-box;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
        }
        body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
            margin: 0;
            padding: 0;
        }
        body, button, input, select, textarea {
            font-family: "microsoft yahei";
            font-size: 0.14rem;
        }
        address, cite, dfn, em, var {
            font-style: normal;
        }
        code, kbd, pre, samp {
            font-family: couriernew,courier, monospace;
        }
        ul, ol {
            list-style: none;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        a:hover,a:active,a:visited {
            text-decoration: none;
        }

        sup {
            vertical-align: text-top;
        }
        sub {
            vertical-align: text-bottom;
        }
        legend {
            color: #000;
        }
        fieldset, img {
            border: 0;
            max-width: 100%;
        }
        table {
            border-collapse: collapse;
            border-spacing: 0;
        }
        * {
            box-sizing: border-box;
        }
        *:focus {
            outline: none
        }
@media only screen and (min-width: 100px) and (max-width: 640px) {
            html {
                font-size: calc(100vw/3.75);
            }
        }
@media only screen and (min-width: 639px) and (max-width: 1920px) {
            .cart-block .cart-goods-info {
                width: 90%;
            }
        }
        .main {
            margin-top: 0.4rem;
        }
        .swiper-container img {
            display: block;
        }
        .header {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0.4rem;
            background-color: #FFFFFF;
            color: #1F1F1F;
            z-index: 1;
            box-shadow: 0px 1px 0px rgba(235,235,235,1);
        }
        .headerLeft {
            display: flex;
            flex-direction: row;
            align-items: center;
            position: absolute;
            left: 0.15rem;
            top: 50%;
            margin-top: -0.07rem;
        }
        .headerLeft img {
            width: 0.09rem;
            /* height: 0.2rem; */
        }
        .headerTitle {
            font-size: 0.18rem;
            color: #000000;
        }
        .headerRight {
            position: absolute;
            right: 0.15rem;
            color: #000;
            top: 50%;
            margin-top: -0.08rem;
        }
        .headerRight img {
            width: 0.24rem;
            height: 0.24rem;
        }
        .headerRight>span {
            display: block;
            width: 0.05rem;
            height: 0.05rem;
            background: #CA0300;
            opacity: 1;
            border-radius: 0.07rem;
            position: absolute;
            top: 0;
            right: -0.03rem;
        }
        .footer {
            height: 0.5rem;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-around;
            position: fixed;
            left: 0;
            bott.........完整代码请登录后点击上方下载按钮下载查看

网友评论0