123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- @charset "UTF-8";
- /* 页面左右间距 */
- /* 文字尺寸 */
- /*文字颜色*/
- /* 边框颜色 */
- /*颜色*/
- /* 图片加载中颜色 */
- /* 行为相关颜色 */
- /* 功能栏字体大小 */
- /*功能栏左侧小图标*/
- /* 弹出层 */
- .popup {
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- z-index: 99;
- }
- .popup.show {
- display: block;
- }
- .popup.show .mask {
- -webkit-animation: showPopup 0.2s linear both;
- animation: showPopup 0.2s linear both;
- }
- .popup.show .layer {
- -webkit-animation: showLayer 0.2s linear both;
- animation: showLayer 0.2s linear both;
- }
- .popup.hide .mask {
- -webkit-animation: hidePopup 0.2s linear both;
- animation: hidePopup 0.2s linear both;
- }
- .popup.hide .layer {
- -webkit-animation: hideLayer 0.2s linear both;
- animation: hideLayer 0.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, 0.4);
- }
- .popup .layer {
- position: fixed;
- z-index: 99;
- bottom: 0;
- width: 100%;
- min-height: 35vh;
- -webkit-border-radius: 10rpx 10rpx 0 0;
- border-radius: 10rpx 10rpx 0 0;
- background-color: #fff;
- }
- .popup .layer .btn {
- height: 66rpx;
- line-height: 66rpx;
- -webkit-border-radius: 100rpx;
- border-radius: 100rpx;
- background: #5dbc7c;
- 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% {
- -webkit-transform: translateY(120%);
- transform: translateY(120%);
- }
- 100% {
- -webkit-transform: translateY(0%);
- transform: translateY(0%);
- }
- }
- @keyframes showLayer {
- 0% {
- -webkit-transform: translateY(120%);
- transform: translateY(120%);
- }
- 100% {
- -webkit-transform: translateY(0%);
- transform: translateY(0%);
- }
- }
- @-webkit-keyframes hideLayer {
- 0% {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- 100% {
- -webkit-transform: translateY(120%);
- transform: translateY(120%);
- }
- }
- @keyframes hideLayer {
- 0% {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- 100% {
- -webkit-transform: translateY(120%);
- transform: translateY(120%);
- }
- }
- /* 规格选择弹窗 */
- .attr-content {
- padding: 25rpx 30rpx;
- }
- .attr-content .a-t {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- }
- .attr-content .a-t image {
- width: 170rpx;
- height: 170rpx;
- -webkit-flex-shrink: 0;
- flex-shrink: 0;
- -webkit-border-radius: 8rpx;
- border-radius: 8rpx;
- }
- .attr-content .a-t .right {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- 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: #5dbc7c;
- 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 {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- flex-direction: column;
- font-size: 30rpx;
- color: #606266;
- padding-top: 30rpx;
- padding-left: 10rpx;
- }
- .attr-content .item-list {
- padding: 20rpx 0 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-flex-wrap: wrap;
- flex-wrap: wrap;
- }
- .attr-content .item-list text {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- background: #eee;
- margin-right: 20rpx;
- margin-bottom: 20rpx;
- -webkit-border-radius: 100rpx;
- border-radius: 100rpx;
- min-width: 60rpx;
- height: 60rpx;
- padding: 0 20rpx;
- font-size: 28rpx;
- color: #303133;
- }
- .attr-content .item-list .selected {
- background: #ddffdf;
- color: #5dbc7c;
- }
- .goodsBottom {
- height: 160rpx;
- }
- 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;
- }
|