123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- @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;
- }
- .orderFood{
- position: fixed;
- bottom:350rpx;
- right:5rpx;
- height: 100rpx;
- width: 100rpx;
- font-size:28rpx;
- /* line-height: 30rpx; */
- background: rgb(250,165,46);
- border-radius: 50rpx;
- text-align: center;
- color: #fff;
- }
- .orderFood>image {
- width: 70rpx;
- height: 70rpx;
- position: relative;
- top: 15rpx;
- }
|