goods-detail.wxss 5.5 KB
Newer Older
G
gongfuxiang 已提交
1
.goods-photo .swiper-item, swiper {
D
devil_gong 已提交
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
    height: 65vh !important;
    display: block;
}

.goods-attr-show-title {
    height: 80rpx;
    line-height: 80rpx;
    padding: 0 10rpx;
}
.goods-popup {
  padding: 20rpx 10rpx;
  position: relative;
}
.goods-popup .close {
  position: absolute;
  top: 20rpx;
  right: 20rpx;
  z-index: 2;
}
.goods-popup-base {
  height: 230rpx;
  position: relative;
}
.goods-popup-base image {
  width: 200rpx;
  height: 200rpx;
  position: absolute;
  left: 0;
  top: 0;
}
.goods-popup-base-content {
  position: absolute;
  left: 220rpx;
  bottom: 30rpx;
}
.goods-popup-base-content .goods-price {
  margin-bottom: 10rpx;
}
.goods-popup-content {
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 20rpx;
}
.goods-attr-choose .item {
    margin-bottom: 30rpx;
    padding-bottom: 30rpx;
}
.goods-popup-content .title {
    font-size: 36rpx;
}
G
gongfuxiang 已提交
53
.goods-attr-choose .item .spec button {
D
devil_gong 已提交
54 55 56 57 58 59 60 61 62
    margin-top: 20rpx;
    margin-right: 25rpx;
    padding: 0 30rpx;
    background-color: #f5f5f5;
    color: #666;
    line-height: 25px;
    height: 27px;
    border: 1px solid #d5d5d5;
}
G
gongfuxiang 已提交
63
.goods-attr-choose .item .spec button image {
D
devil_gong 已提交
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
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10rpx;
}
.spec-active {
  background: #fff !important;
  color: #d2364c !important;
  border: 1px solid #d2364c !important;
}
.spec-dont-choose {
    color: #b4b3b3 !important;
    background-color: #ffffff !important;
    border: 1px solid #ebeaea !important;
}
.spec-dont-choose image {
    opacity: 0.5;
}
.spec-items-disabled {
    color: #d2cfcf !important;
    background-color: #ffffff !important;
    border: 1px dashed #d5d5d5 !important;
}
.spec-items-disabled image {
    opacity: 0.3;
}
G
gongfuxiang 已提交
90
.goods-attr-choose .item .spec  button,
D
devil_gong 已提交
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
.goods-popup-submit
{
    border-radius: 50rpx;
}
.goods-popup-submit {
    height: 85rpx;
    line-height: 85rpx;
    font-size: 36rpx;
    margin-top: 20rpx;
    border: 0;
}
.goods-popup .goods-buy-number {
    margin-bottom: 20rpx;
    position: relative;
    height: 70rpx;
}
.goods-popup .goods-buy-number .title {
    line-height: 60rpx;
}
.goods-popup .number-content {
    position: absolute;
    right: 20rpx;
    top: 0;
    background: #eee;
    border-radius: 2px;
    border: 1px solid #eee;
}
.goods-popup .number-content .number-submit
{
    width: 80rpx;
    font-weight: bold;
}
.goods-popup .number-content input {
    width: 50px;
G
gongfuxiang 已提交
125
    background: #fff;
G
gongfuxiang 已提交
126
    border-radius: 0px;
D
devil_gong 已提交
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
}
.goods-popup .number-content .number-submit,
.goods-popup .number-content input
{
    padding: 0;
    vertical-align: middle;
    height: 60rpx;
    line-height: 60rpx;
}

.goods-detail-app .content-items view {
    padding: 15rpx 10rpx;
    line-height: 44rpx;
    font-size: 32rpx;
}

.goods-buy-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 100rpx;
}
.goods-buy-nav .fl {
    width: calc(20% - 1rpx);
}
.goods-buy-nav .fr {
    width: 60%;
}
.goods-buy-nav .fr button {
    border-radius: 0;
    line-height: 100rpx;
    width: 50%;
}
.goods-buy-nav .fr button,
.goods-buy-nav .fl
{
    height: 100rpx;
}
.goods-buy-nav .collect { border-left: 1px solid #e1e1e1; }
.goods-buy-nav .fl image { width: 25px; height: 25px; margin: 0 auto; }

G
gongfuxiang 已提交
168 169 170
.goods-buy-nav .dis-block {
  margin-top: -10rpx;
}
D
devil_gong 已提交
171 172 173 174 175
.goods-title {
  font-size: 32rpx;
  line-height: 44rpx;
  font-weight: 500;
}
D
devil_gong 已提交
176 177 178
.goods-base {
    padding: 15rpx 10rpx;
}
G
gongfuxiang 已提交
179 180 181
.goods-base button {
  background: #fff;
}
G
gongfuxiang 已提交
182
.goods-base .goods-share {
G
gongfuxiang 已提交
183 184 185
  position: absolute;
  top: 0;
  right: 0;
G
gongfuxiang 已提交
186 187
  padding: 0 20rpx;
}
D
devil_gong 已提交
188
.goods-base .goods-share image {
G
gongfuxiang 已提交
189 190 191 192 193
  width: 50rpx;
  height: 50rpx;
}
.goods-base .goods-share view {
  line-height: 40rpx;
D
devil_gong 已提交
194 195
}
.goods-base .goods-price {
G
gongfuxiang 已提交
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
  margin-top: 10rpx;
  padding-right: 100rpx;
  position: relative;
  min-height: 80rpx;
}
.goods-base .goods-price .original-price {
  margin-top: 8rpx;
  margin-left: 0;
}
.goods-base .base-grid {
  margin-top: 15rpx;
  padding-top: 15rpx;
  border-top: 1px solid #f5f5f5;
}
.goods-base .base-grid view {
  width: calc(33.33% - 1px);
}
.goods-base .base-grid view .cr-main {
  padding-left: 10rpx;
D
devil_gong 已提交
215 216
}
.page {
G
gongfuxiang 已提交
217
  padding-bottom: 100rpx;
218 219 220 221 222 223 224 225 226 227 228
}

/*
 * 价格icon
 */
 .price-icon {
  background:#FF5722;
  color:#fff;
  padding:2px 5px;
  line-height:20px;
  border-radius:1px;
D
wx  
devil_gong 已提交
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
}

/**
 * 视频
 */
.goods-video {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  z-index:1;
}
.goods-video video {
  width: 100%;
  height: 65vh;
}
.goods-video-submit {
  position: absolute;
  left: 30rpx;
G
gongfuxiang 已提交
249
  top: calc(65vh - 110rpx);
D
wx  
devil_gong 已提交
250 251
  z-index: 2;
}
G
gongfuxiang 已提交
252 253 254
.goods-video-submit image {
  width: 80rpx;
  height: 80rpx;
D
devil_gong 已提交
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
}


/*
 * 限时秒杀
 */
.limitedtimediscount {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAAAgAQMAAADDkuSaAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExUReQ5POlVO+6K1q8AAACiSURBVDjLhZK7EYMwEETlISCkBJUCnUEplOISXIJDQgcEHg9o/Vt5ZOZu9eKXvL0LIbOECg3OFSMiVYwRWKVwwouLMtq3gUkY/cfYhIEvi2gls9+aEa3kLlqJndwVBga/lSTRSm6i1U2OByNNfivZRCu5Wnf9Z/BbyS5ajfUb0ygfO9pGkTzaBh6i9bB+6xr5sXvf2EUrWUVrsX6UBkTrL/kJzQQAijmza5AAAAAASUVORK5CYII=) right top no-repeat #f23030;
  background-size: cover;
  padding: 10rpx;
  height: 56rpx;
  overflow: hidden;
  margin-top: 10rpx;
}
.limitedtimediscount .countdown {
  color: #fff;
  line-height: 56rpx;
}
.limitedtimediscount .countdown .timer-title {
  margin-right: 10rpx;
}
.limitedtimediscount .countdown .timer-hours {
  padding: 0 6rpx;
  -moz-border-radius: 8rpx;
  border-radius: 8rpx;
  color: #ffe500;
  min-width: 35rpx;
  text-align: center;
  font-weight: bold;
  font-size: 32rpx;
}
.limitedtimediscount .countdown .ds {
  padding: 0 4rpx;
G
gongfuxiang 已提交
288
}