index.wxss 3.02 KB
Newer Older
程智春 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
/* static/nativeComponents/SpeedyNav/index.wxss */
@import "/static/font/common_icon.wxss";
.speedy-nav{
  width: 100%;
  font-size: 28rpx;
  overflow: hidden;
  position: relative;
}
.goods1{
  overflow-x: auto;
  white-space: nowrap;
  overflow-y: hidden;
}
.goods1 .goods-item{
  display: inline-block;
  vertical-align: top;
  white-space: initial;
  width: 25%;
}
.goods1 .goods-item:last-child .info{
  overflow: hidden;
}
.goods1 .slidebox2{
  box-sizing: border-box;
  -moz-box-sizing: border-box; /* Firefox */
  -webkit-box-sizing: border-box; /* Safari */
}

  .goods1-wibkit::-webkit-scrollbar {
    display: none;
  }
  .goods{
    box-sizing: border-box;
  }

  .goods1 .imgBox,.goods3 .imgBox{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    margin: 0 auto 10rpx;
    background-color: rgb(255, 251, 232);
    
  }

  .goods1 .imgBox image, .goods3 .imgBox image{
      width: 100%;
      height: 100%;
      position: absolute;
      margin: auto;
      top: -9999px;
      right: -9999px;
      bottom: -9999px;
      left: -9999px;
    }


    .goods2 .goods-item{
      flex: 1;
      padding-bottom: 60rpx;
    }
    .goods2 .goods-item .items{
      position: relative;
    }
    .goods2 .goods-item .items .info{
      position: absolute;
      bottom: -80%;
    }

    .goods2 .imgBox{
      position: relative;
      overflow: hidden;
      width: 100%;
      padding-bottom: 100%;
      background-color: rgb(255, 251, 232);
    }

    .goods2 .imgBox image{
      width: 100%;
      height: 100%;
      position: absolute;
      margin: auto;
      top: -9999px;
      right: -9999px;
      bottom: -9999px;
      left: -9999px;
    }

    .info .name{
      text-align: center;
      margin: 0 -100%;
      color: #666;
      height: 2em;
      line-height: 1em;
      white-space: nowrap;
  }



  /* 骨架屏样式-start */

.skeleton-content{
    padding: 0px 16px;
}

.skeleton-title{
    height: 16px;
    background-color: #f2f3f5;
    margin-top: 16px;
}
.skeleton-blocks{
    margin-top: 16px;
    width: 100%;
    padding-top: 70%;
    background-color: #f2f3f5;
}

.skeleton-dice{
    margin-top: 16px;
    width: 30%;
    padding-top: 30%;
    background-color: #f2f3f5;
}

.skeleton_50{
    width: 50%;
}

.skeleton_100{
  width: 100%;
}

/* 快捷导航骨架 */
.speedy-nav-skeleton{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  
}
.speedy-nav-skeleton-item{
  width: 25%;
  padding: 16px 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* 动画 */
.skeleton-animate{
    animation: skeleton-blink 1.2s ease-in-out infinite;
}
@keyframes skeleton-blink {
    50% {
      opacity: 0.6;
    }
}
/* 骨架屏样式-end */


/* 左右箭头 */
.prev-btn,.next-btn{
  width: 60rpx;
  height: 60rpx;
  position: absolute;
  top: 50%;
  margin-top: -30rpx;
  z-index: 99;
  opacity: 0.3;
}
.common-iconyoujiantou{
  text-shadow: -1rpx 1rpx 14rpx #333;
  pointer-events: none;
}
.prev-btn{
  left: 10rpx;
  transform: rotate(180deg);
}
.next-btn{
  right: 10rpx;
}