vue实现移动手机电商商品分类列表添加购物车结算页面代码

代码语言:html

所属分类:电商

代码描述:vue实现移动手机电商商品分类列表添加购物车结算页面代码

代码标签: vue 移动 手机 电商 商品 分类 列表 添加 购物车 结算 页面 代码

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

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  

  
  
<style>
body {
    font-size: 14px;
    color: #363636;
    background-color: #333;
}

h1,
ul,
li,
p {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.g-panel {
    margin: 0 auto;
    width: 790px;
}

.cate,
.filter-opt,
.save {
    cursor: pointer;
}

.device {
    position: relative;
    margin: 10px;
    float: left;
    width: 375px;
    height: 667px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

header {
    padding: 0 4%;
    position: relative;
    height: 44px;
    line-height: 44px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.header-title {
    position: absolute;
    margin-left: 21%;
    width: 50%;
    font-size: 16px;
    text-align: center;
}

.header-edit {
    float: right;
    padding: 0 10px;
    cursor: pointer;
}

.tab-wrap {
    height: 60px;
    background: red;
    overflow: hidden;
}

.cate-tab {
    white-space: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    background-color: #5D4285;
}

.cate {
    display: inline-block;
    width: 80px;
    height: 70px;
    color: #fff;
    line-height: 60px;
    text-align: center;
}

.tab-active {
    background-color: #9A51FF;
}

.filter-bar {
    display: flex;
    height: 40px;
    background-color: #fff;
    border-bottom: 1px solid #E5E5E5;
    line-height: 40px;
}

.filter-opt {
    position: relative;
    width: 33.3%;
    color: #5F646E;
    text-align: center;
}

.filter-active {
    color: #7B57C5;
}

.filter-price:after {
    position: absolute;
    top: 13px;
    margin-left: 4px;
    content: '';
    display: inline-block;
    width: 8px;
    height: 14px;
    background: url('//repo.bfw.wiki/bfwrepo/icon/5dbed9c613b32.png') no-repeat;
    background-size: 14px 14px;
}

.filter-active.price-up:after {
    background: url('//repo.bfw.wiki/bfwrepo/image/6070ea24c5c5f.png') no-repeat;
    background-size: 8px 14px;
}

.filter-active.price-down:after {
    background: url('//repo.bfw.wiki/bfwrepo/image/6070ea4e4bd1a.png') no-repeat;
    background-size: .........完整代码请登录后点击上方下载按钮下载查看

网友评论0