Page { width: 100%; height: 100%; background-color: #F7F7F7; } .container { width: 100%; height: 100%; background-color: #F7F7F7; /* 门店的标题 */ .shop { background-color: #fff; border-top: 1rpx solid #ECECEC; margin-top: 20rpx; >.title { display: flex; justify-content: space-between; padding: 0 40rpx; height: 80rpx; line-height: 80rpx; } .shop-info { width: 100%; height: 220rpx; border: 1rpx solid #ECECEC; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 20rpx 30rpx; box-sizing: border-box; margin-bottom: 10rpx; background-color: #fff; >.shopimg { width: 150rpx; height: 150rpx; >.img { width: 100%; height: 100%; } } .shopmsg { flex: 2; height: 200rpx; margin-left: 50rpx; display: flex; flex-direction: column; justify-content: space-around; >.shopview { display: flex; justify-content: space-between; } /* 处理定位图标上移的问题 */ >.shop-address { position: relative; padding-left: 45rpx; .address-icon { position: absolute; top: -6rpx; left: 0; } } /* 新品促销标签 */ .mark { width: 105rpx; height: 30rpx; line-height: 30rpx; text-align: center; border-radius: 30rpx; } .discount { color: #E359A8; border: 1px solid#E359A8; } .new { border: 1px solid #80CB5F; color: #80CB5F; } } } /* 未获得授权时显示获取授权按钮 */ .user-location-btn{ width: 100%; height: 220rpx; border-top:1rpx solid #ECECEC ; background-color: #fff; position: relative; .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%); } } } .product { overflow-y: auto; /* .weui-tabs { .weui-tabs-bar__wrp { .weui-tabs-bar__content { height: 100rpx; line-height: 99rpx; white-space: nowrap; display: flex; justify-content: space-around; border-bottom: 1rpx solid #ECECEC; } } } */ .productinfo { width: 95%; height: 380rpx; padding: 10rpx 0; margin: 0 auto; .product-item { position: relative; width: 100%; height: 380rpx; border-radius: 20rpx; background-size: cover; background-position: center; .product-desc { height: 380rpx; color: #fff; position: absolute; color: #fff; top: 210rpx; left: 20rpx; letter-spacing: 2rpx; font-weight: 100; } .order { position: absolute; right: 40rpx; bottom: 20rpx; width: 100rpx; height: 100rpx; border-radius: 50%; background-color: #098932; color: #fff; >view { width: 70rpx; height: 70rpx; line-height: 35rpx; letter-spacing: 5rpx; text-align: center; font-size: 14px; margin: 18rpx; } } .gray { background-color: #999; } } &:first-child { margin-top: 10rpx; } } } } .fw700 { font-weight: 500; font-size: 18px; }