.popup { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 99; } .popup.show { display: block; } .popup.show .mask { animation: showPopup .2s linear both; } .popup.show .layer { animation: showLayer .2s linear both; } .popup.hide .mask { animation: hidePopup .2s linear both; } .popup.hide .layer { animation: hideLayer .2s linear both; } .popup.none { display: none; } .popup .mask { position: fixed; top: 0; width: 100%; height: 100%; z-index: 1; background-color: rgba(0,0,0,.4); } .popup .layer { position: fixed; z-index: 99; bottom: 0; width: 100%; min-height: 35vh; border-radius: 10rpx 10rpx 0 0; background-color: #fff; } .popup .layer .btn { height: 66rpx; line-height: 66rpx; border-radius: 100rpx; background: #dd524d; font-size: 30rpx; color: #fff; margin: 30rpx auto 20rpx; } @-webkit-keyframes showPopup { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes showPopup { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes hidePopup { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes hidePopup { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes showLayer { 0% { transform: translateY(120%); } 100% { transform: translateY(0); } } @keyframes showLayer { 0% { transform: translateY(120%); } 100% { transform: translateY(0); } } @-webkit-keyframes hideLayer { 0% { transform: translateY(0); } 100% { transform: translateY(120%); } } @keyframes hideLayer { 0% { transform: translateY(0); } 100% { transform: translateY(120%); } } .attr-content { padding: 25rpx 30rpx; } .attr-content .a-t { display: flex; } .attr-content .a-t image { width: 170rpx; height: 170rpx; flex-shrink: 0; border-radius: 8rpx; } .attr-content .a-t .right { display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; padding-left: 24rpx; font-size: 26rpx; color: #606266; line-height: 42rpx; width: 75%; } .attr-content .a-t .right .price { font-size: 32rpx; color: #dd524d; margin: 10rpx 0rpx; } .attr-content .a-t .right .name { font-size: 32rpx; color: #303133; height: 50rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } .attr-content .a-t .right .selected-text { margin-right: 10rpx; } .attr-content .attr-list { -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; font-size: 30rpx; color: #606266; padding-top: 30rpx; padding-left: 10rpx; } .attr-content .attr-list,.attr-content .item-list { display: flex; } .attr-content .item-list { padding: 20rpx 0 0; flex-wrap: wrap; } .attr-content .item-list text { display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; background: #eee; margin-right: 20rpx; margin-bottom: 20rpx; border-radius: 100rpx; min-width: 60rpx; height: 60rpx; padding: 0 20rpx; font-size: 34rpx; color: #303133; } .attr-content .item-list .selected { font-weight:bold; background: #ff0000; color: #ffffff; } page { background: #f0f0f0; } .contentBottomHeight { height: 110rpx; } .goodsBottom { height: 160rpx; } .iconenter { font-size: 30rpx; color: #888; } .con_image { width: 130rpx; height: 130rpx; display: inline-block; padding: 15rpx; } .con_image image { width: 100%; height: 100%; } .rich-img { width: 100%!important; height: auto; }