goods-category.wxss 1.3 KB
Newer Older
G
gongfuxiang 已提交
1
/**
D
devil 已提交
2 3
 * 左侧导航
 */
G
gongfuxiang 已提交
4 5
.left-nav {
  height: 100vh;
D
devil 已提交
6 7
  background: #fff;
  width: 210rpx;
G
gongfuxiang 已提交
8 9 10 11 12 13 14 15 16 17
  overflow-x: hidden;
  overflow-y: auto;
}
.left-nav .items {
  height: 120rpx;
  line-height: 120rpx;
  font-size: 34rpx;
  padding: 0 10rpx;
  text-align: center;
  color: #666;
D
devil 已提交
18 19 20
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  overflow: hidden;
G
gongfuxiang 已提交
21 22
}
.left-nav .items:not(:last-child) {
D
devil 已提交
23
  border-bottom: 1px solid #f1f1f1;
G
gongfuxiang 已提交
24 25
}
.nav-active {
D
devil 已提交
26
  background: #f5f5f5;
G
gongfuxiang 已提交
27
  border-left: 3px solid #e23f36 !important;
D
devil 已提交
28
  border-right: 3px solid #f5f5f5 !important;
G
gongfuxiang 已提交
29 30 31 32 33
  color: #e23f36;
}


/**
D
devil 已提交
34 35 36
 *  右侧内容
 */
.right-container {
G
gongfuxiang 已提交
37
  height: 100vh;
D
devil 已提交
38
  width: calc( 100% - 210rpx );
G
gongfuxiang 已提交
39 40 41 42 43
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: 0;
  right: 0;
D
devil 已提交
44 45 46 47 48 49 50 51
  background: #f5f5f5;
}
.right-content, .one-content {
  padding: 20rpx;
}
.one-vice-name {
  font-size: 30rpx;
  font-weight: 500;
D
devil_gong 已提交
52
}
D
devil 已提交
53 54 55 56 57 58 59 60 61 62 63
.one-desc {
  color: #999;
  margin-top: 10rpx;
}
.two-name {
  font-weight: bold;
  font-size: 32rpx;
  background: #f5f5f5;
  padding: 20rpx 10rpx;
}
.content-three {
D
devil_gong 已提交
64 65
    float: left;
    width: calc(33.33% - 20rpx);
D
devil 已提交
66
    padding: 25rpx 10rpx;
D
devil_gong 已提交
67 68
    text-align: center;
}
D
devil 已提交
69
.content-three .text {
D
devil_gong 已提交
70 71 72
    font-size: 28rpx;
    line-height: 46rpx;
}
D
devil 已提交
73
.content-three .icon {
D
devil_gong 已提交
74 75
    width: 100%;
    height: 120rpx;
D
devil 已提交
76
}