@charset "UTF-8"; Page { width: 100%; height: 100%; background-color: #F7F7F7; } .container { width: 100%; height: 100%; background-color: #F7F7F7; /* 门店的标题 */ } .container .shop { /* border-top: 1rpx solid #ECECEC; */ width: 100%; background-color: #F7F7F7; position: fixed; z-index: 1; /* top: 0rpx; */ height: 82rpx; /* 未获得授权时显示获取授权按钮 */ } .container .shop > .title { display: flex; justify-content: space-between; padding: 0 40rpx; height: 80rpx; line-height: 80rpx; background-color: #fff; } .container .shop > .title .title-left { position: relative; padding-left: 40rpx; } .container .shop > .title .title-left .shop-icon { width: 40rpx; height: 40rpx; position: absolute; top: 50%; left: -10rpx; transform: translateY(-50%); } .container .shop .user-location-btn { width: 100%; height: 220rpx; border-top: 1rpx solid #ECECEC; background-color: #fff; position: relative; } .container .shop .user-location-btn .location-btn { background-color: #ECECEC; padding: 0; width: 50%; height: 50%; line-height: 100rpx; color: #21ad50; position: absolute; left: 50%; top: 28%; transform: translate(-50%); } .container{ display: flex; height: 100%; } .product { margin-top: 82rpx; flex:1; width: 100%; } .container .product .tab-content { overflow-y: auto; height: 100%; } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content { display: flex; height: 100rpx; justify-content: flex-start; } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item { flex: 1; position: relative; } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item .weui-tabs-bar__title { text-align: center; line-height: 100rpx; width: 100%; } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(n+2)::before { content: ''; position: absolute; height: 40rpx; width: 1rpx; background-color: #fff; } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(n+2)::before { left: 0; top: 50%; transform: translateY(-50%); } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(3)::before { left: 0; top: 50%; transform: translateY(-50%); } .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(2)::after { right: 0; top: 50%; transform: translateY(-50%); } .container .product .shop-info { width: 750rpx; height: 500rpx; } .container .product .shop-info > image { width: 750rpx; } .container .product .productinfo { width: 93%; padding: 10rpx 0; margin: 0 auto; } .container .product .productinfo .product-item { width: 100%; height: 550rpx; display: flex; flex-direction: column; margin-bottom: 20rpx; } .container .product .productinfo .product-item .product-img { width: 100%; height: 400rpx; } .container .product .productinfo .product-item .product-desc { height: 150rpx; letter-spacing:1rpx; font-weight: 100; display: flex; flex-direction: column; } .container .product .productinfo .product-item .product-desc .product-name { line-height: 70rpx; } .container .product .productinfo .product-item .product-desc .price { display: flex; justify-content: flex-start; line-height: 50rpx; } .container .product .productinfo .product-item .product-desc .price :last-child { margin-left: 20rpx; } .container .product .productinfo:first-child { margin-top: 10rpx; } .fw700 { font-weight: 500; font-size: 17px; } .gold { font-size: 15px; color: #b1a384; } .gray { font-size: 13px; color: #999; } .tabItem { border-right: 1rpx ; } .noProduct { width: 500rpx; height: 460rpx; position: relative; left: 15%; top: 50%; } .noProductText { letter-spacing: 17rpx; width: 100%; font-size: 38rpx; display: flex; justify-content: center; position: relative; top: -58rpx; color: #787878; }