html, body { font-size: 0.28rem; font-weight: 500; height: 100%; background: #ffffff; font-family: Microsoft YaHei, Arial; -webkit-overflow-scrolling: touch; } input, button, select, textarea { outline: none; } @font-face{ font-family: 'Medium'; /*src: url('../font/字体名称.eot');*/ src: url('./DINOT-Medium.ttf') format('truetype'); } .topbar { position: fixed; top: 0; z-index: 99; background: #ffffff; width: 100%; } .weui-loading { background-image: url(../image/loading.svg); } textarea { resize: none; } .weui_tab_bd_item { display: none; } .weui_tab_bd_item.weui_tab_bd_item_active { display: block; } .hover { opacity: .8; } .flex-wrap { display: -webkit-box; display: -webkit-flex; display: flex; } .flex-con { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; } .flex-vertical { -webkit-box-orient: vertical; -webkit-flex-flow: column; flex-flow: column; } .border-t, .border-b { position: relative; } .border-t:before, .border-b:after { content: ''; position: absolute; left: 0; top: 0; background: #ddd; right: 0; height: 1px; -webkit-transform: scaleY(0.5); transform: scaleY(0.5); -webkit-transform-origin: 0 0; transform-origin: 0 0; } .border-b:after { top: auto; bottom: 0; } #wrap { height: 100%; } body { box-sizing: border-box; } input { border: none; outline: none; font: inherit; } div, ul, li, span, input { margin: 0px; padding: 0px; color: #606266; list-style: none; } .msg-total { background-color: #f56c6c; border-radius: 1em; color: #fff; display: inline-block; font-size: 0.2rem; height: 0.18rem; line-height: 0.18rem; padding: 0.05rem 0.1rem; text-align: center; white-space: nowrap; } .font-rem11 { font-size: 0.28rem; } .h2 { width: 100%; clear: both; height: 0.15rem; } .h5 { width: 100%; clear: both; height: 0.4rem; } .new-list { padding-top: 1rem; } .h10 { width: 100%; clear: both; height: 0.3rem; } .back-h10 { width: 100%; clear: both; height: 1.2rem; background: #f2f2f2; } .border:after { content: ' '; position: absolute; pointer-events: none; box-sizing: border-box; top: -50%; left: -50%; right: -50%; bottom: -50%; -webkit-transform: scale(0.5); transform: scale(0.5); border-bottom: 1px solid #d9251c; } .h20 { width: 100%; clear: both; height: 0.17rem; } .back-h50 { width: 100%; clear: both; height: 0.2rem; background: #f2f2f2; } .h50 { width: 100%; clear: both; height: 0.2rem; } .h70 { width: 100%; clear: both; height: 2rem; } .white-back { background: #ffffff !important; } .right-tag { float: right; font-weight: 600; } .bot-input { color: #999999; border-bottom: 1px solid #e8e8e8; width: 100%; padding: 0.25rem 0 0.25rem 0.3rem; border-radius: 0px; font-size: 0.35rem; } .border-t { background-color: #fff; height: 1rem; /*margin-top: 0.3rem;*/ } #footer ul li { color: #909399; padding-top: 0.55rem; padding-bottom: 0px; background: url() no-repeat center 2px; background-size: auto 0.5rem; text-align: center; } .m-bottom { width: 100%; height: 1rem; line-height: 1rem; background: #D9251C; color: #ffffff; border-radius: 0.05rem; text-align: center; font-size: 0.33rem; } .back-header { width: 100%; /*height: 1rem;*/ position: fixed; left: 0px; right: 0px; padding-left: 0.32rem; padding-right: 0.32rem; box-sizing: border-box; z-index: 2; background: #ffffff; } .back-header li div { margin: 0.125rem 0; } #keyword { font-size: 0.3rem; } .back-header-bottom { border-bottom: 1px solid #e8e8e8; } .back-header-ico { width: 0.25rem; padding-bottom: 0.3em; vertical-align: middle; } .back-header-title { text-align: center; font-size: 0.28rem; color: #666666; } .back-header li.back-btn { width: 0.42rem; } .back-header li.more-btn { text-align: right; font-size: 0.28rem; color: #666666; width: 0.6rem; float: right; } .back-header li { width: 5.66rem; float: left; height: 0.85rem; line-height: 0.85rem; font-size: 0.35rem; } .back-header li.padding-20 { width: 0.6rem; } .padding-08 { padding-left: 0.32rem; padding-right: 0.32rem; box-sizing: border-box; } section { padding-left: 0.32rem; padding-right: 0.32rem; box-sizing: border-box; } .mask { position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; background: rgba(0, 0, 0, 0.5); z-index: 999; } .mask-hidden { display: none; } .bottom-none { border-bottom: none; } .data-null { width: 100%; margin-top: 0.2rem; text-align: center; color: #DDDDDD; clear: both; } .no_overflow { height: 100%; overflow: hidden; } .back-top { position: fixed; width: 40px; height: 40px; right: 10px; bottom: 20px; border: 1px solid #e8e8e8; border-radius: 50%; z-index: 999; background-image: url('../image/back_top.png'); background-size: 100% 100%; } /*******login**********/ .login-logo { margin-top: 1rem; width: 100%; text-align: center; } .login-logo img { width: 1.8rem; } .find-pad { float: left; font-size: 0.28rem; } .code-login { float: right; font-size: 0.28rem; } .pad-login { margin: auto; width: 100%; text-align: center; } .get-code { position: absolute; right: 0px; top: 1.3rem; height: 0.5rem; line-height: 0.5rem; width: 2rem; text-align: center; border-left: 1px solid #e8e8e8; } .more-landing { text-align: center; margin: auto; width: 100%; position: fixed; bottom: 0.2rem; } .more-landing li { float: left; width: 15%; } .more-landing img { width: 0.75rem; } .color-red { color: #A13532; } .msg-totalx { background-color: #f56c6c; border-radius: 0.2rem; color: #fff; display: inline-block; font-size: 0.12rem; height: 0.18rem; line-height: 0.18rem; padding: 0 0.6em; text-align: center; white-space: nowrap; border: 1px solid #fff; } /********home**********/ .home-top { height: 0.6rem; padding: 0.15rem 0; } .home-top div { /*float: left;*/ } .home-top-left { /*height: 30px;*/ width: 4.5rem; font-size: 0.28rem; /*margin-top: 8px;*/ } .home-top-local { width: 0.37rem; vertical-align: middle; padding-bottom: 0.4em; } .local-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 3.67rem; height: 0.3rem; line-height: 0.33rem; } .home-top-right { /*width: 40%; position: relative;*/ } .home-top-right span { text-align: center; float: right; } .home-top-right p { font-size: 0.2rem; line-height: 0.2rem; color: #999; } .home-search { width: 100%; text-align: center; background: #f5f5f5; /*border: 1px solid #e8e8e8;*/ /*height: 0.57rem;*/ line-height: 0.57rem; border-radius: 0.5rem; font-size: 0.28rem; color: #999999; } .home-search img { width: 0.32rem; margin-bottom: 0.07rem; vertical-align: middle; } .home-ads { width: 100%; height: 3.3rem; background: #e8e8e8; margin-top: 2.4rem; } .home-nearby { position: relative; font-size: 0.3rem; } .home-hotel-list { vertical-align: middle; margin-bottom: 0.1rem; overflow: hidden; display: -webkit-box; display: -ms-flexbox; display: flex; } .home-hotel-left { float: left; width: 2.15rem; height: 1.5rem; border-radius: 0.2em; margin-top: 0.2em; } .home-hotel-left img { width: 100%; height: 100%; border-radius: 0.2em; } .home-hotel-right { padding-left: 0.3rem; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-width: 0; } .home-hotel-title { width: 100%; text-align: left; overflow: hidden; color: #333; } .home-hotel-dtl { width: 100%; font-size: 0.24rem; } .home-hotel-dtl li { float: left; padding: 0.1rem 0; } .home-hotel-dtl img { width: 0.27rem; vertical-align: middle; margin-bottom: 0.1rem; } .home-hotel-dsc { width: 100%; overflow: hidden; font-size: 0.24rem; line-height: 0.34rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; } .error-k { border: 1px solid #f40 !important; border-radius: 0.1rem; } /*************发现***************/ .find-list-time { color: #999999; font-size: 0.24rem; } .find-dtl-title { width: 100%; padding-top: 0.5rem; padding-bottom: 0.5rem; font-weight: 600; font-size: 0.33rem; } .find-dtl-content { width: 100%; /*font-size: 1rem;*/ overflow: hidden; padding-bottom: 1rem; } .find-dtl-content img { width: 100% !important; height: 100% !important; } .find-list-dsc { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; /*width: 3.7rem;*/ margin-bottom: 0.23rem; height: 0.77rem; line-height: 0.37rem; color: #333; } .search-item { width: 100%; background: #f5f5f5; position: relative; text-align: left; padding-left: 0.32rem; padding-right: 0.32rem; box-sizing: border-box; /*height: 0.55rem;*/ line-height: 0.55rem; border-radius: 0.5rem; margin: 0.15rem 0; } .search-item img { width: 0.33rem; vertical-align: middle; } .el-button { display: inline-block; line-height: 1; white-space: nowrap; cursor: pointer; background: #fff; /*border: 1px solid #dcdfe6;*/ color: #606266; -webkit-appearance: none; text-align: center; box-sizing: border-box; outline: none; margin: 0; transition: .1s; font-weight: 500; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; padding: 0.12rem 0.2rem; /*font-size: 0.14rem;*/ border-radius: 0.05rem; } .el-button.is-round { padding: 0.12rem 0.2rem; } .el-button.is-round { border-radius: 0.2rem; padding: 0.12rem 0.23rem; } /*****************我的*****************/ .my-head { width: 100%; height: 2.62rem; background: #d9251c; } .my-msg { width: 100%; text-align: right; } .my-msg img { width: 0.37rem; } .padding-top { padding-top: 1rem; } .my-header { width: 100%; height: 1.3rem; vertical-align: middle; color: #ffffff; } .my-header li { float: left; } .my-header-img { width: 1.3rem; height: 1.3rem; border-radius: 50%; } .my-head-name { color: #ffffff; padding-top: 0.2rem; box-sizing: border-box; font-size: 0.33rem; } .my-head-name p { font-size: 0.15rem; } .my-head-sign { border-radius: 0.5rem; padding: 0.1rem 0.15rem; border: 1px solid #ffffff; color: #ffffff; margin-top: 0.37rem; box-sizing: border-box; background: rgba(212, 189, 189, 0.37); } .my-order { width: 100%; height: 1rem; line-height: 1rem; border-bottom: 1px solid #e8e8e8; font-size: 0.28rem; } .my-order span { color: #737272; } .my-order-btn { width: 100%; margin: 1em 0; height: 0.9rem; } .my-order-btn li { width: 20%; float: left; text-align: center; font-size: 0.22rem; } .my-order-btn img { width: 0.5rem; } .my-appy-in { width: 100%; } .my-appy-in li { float: left; width: 50%; padding-top: 10px; padding-bottom: 5px; } .my-appy-in img { width: 3.02rem; height: 1.72rem; border-radius: 0.2em; } .my-btn-list img { width: 0.33rem; height: 0.33rem; vertical-align: middle; margin-bottom: 0.05rem; } .jq-star { width: 0.23rem !important; height: 0.23rem !important; } /***************订单*******************/ .order-list-title { padding: 0.15rem 0; border-bottom: 1px solid #f5f5f5; } .order-list-title img { width: 0.31rem; height: 0.31rem; vertical-align: middle; border-radius: 50%; margin-bottom: 0.1em; } .order-list-goods { padding-top: 0.2rem; } .order-list-goods li { float: left; overflow: hidden; } .order-list-right { padding-left: 0.3rem; width: 3.7rem; } .order-list-goods img { width: 1.73rem; height: 1.73rem; /*margin-right: 0.1rem;*/ border-radius: 0.2em; } .order-list-status { float: right; color: #D9251C; } .order-list-action { float: right; border: 1px solid #9a8b8b; padding: 0.02rem 0.08rem; border-radius: 0.2em; } .font-size-18 { font-size: 18px; } .iconfont { font-size: 0.28rem; } /******************商品***********************/ .goods-list { width: 100%; } .goods-list-item { width: 50%; float: left; padding: 0.05rem; box-sizing: border-box; } .goods-image { width: 3.3rem; height: 3.3rem; object-fit: cover; } .goods-title { height: 0.32rem; line-height: 0.32rem; overflow: hidden; } .goods-price { color: #d9251c; font-size: 0.29rem; } .sort-img { width: 18px; vertical-align: middle; } .add-num { float: right; /*width: 120px;*/ border: 0.02rem solid #e8e8e8; border-radius: 0.2em; } .add-num li { float: left; width: 0.7rem; text-align: center; border-right: 1px solid #e8e8e8; box-sizing: border-box; height: 0.6rem; line-height: 0.6rem; font-size: 0.28rem; } .add-num input { text-align: center; width: 100%; color: #666666; } .line-through { text-decoration: line-through; color: #cccccc; font-size: 0.2rem; } .hotel-top-back { opacity: 0.35; width: 100%; height: auto; line-height: 0.6rem; border-radius: 50%; background: #000000; text-align: center; } .hotel-top-back img { width: 0.3rem; vertical-align: middle; } .hotel-top-search { width: 100%; opacity: 0.35; height: 0.6rem; line-height: 0.6rem; background: #000000; border-radius: 0.5rem; color: #ffffff; padding-left: 0.2rem; box-sizing: border-box; font-size: 0.28rem; } .weui-gallery { width: 100%; } .weui-gallery__img { top: 0; bottom: 0; } .weui-gallery__opr { bottom: 0; } .weui-gallery__img, .weui-gallery__opr { right: 0; left: 0; } .hotel-top-search img { width: 0.35rem; vertical-align: middle; margin-bottom: 0.05rem; } @keyframes bounceOut { 20% { -webkit-transform: scale3d(.9, .9, .9); transform: scale3d(.9, .9, .9); } 50%, 55% { opacity: 1; -webkit-transform: scale3d(1.1, 1.1, 1.1); transform: scale3d(1.1, 1.1, 1.1); } 100% { opacity: 0; -webkit-transform: scale3d(.3, .3, .3); transform: scale3d(.3, .3, .3); } } .bounceOut { -webkit-animation-name: bounceOut; animation-name: bounceOut; } .wordwrap { position: absolute; right: 0; } .wordwrap .word{ padding: 0 0.1rem; } /* 盒子模型 */ .flex-box { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; } /*盒子模型,竖向自适应,垂直排列 */ .flex-box-v { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-flow: column; flex-flow: column !important; } /* 水平等列排版(容器左右没缝隙,子元素左右两边自适应) */ .flex-d-center { justify-content: space-between; -webkit-justify-content: space-between; } /* 水平等列排版(子元素两边有缝隙自己适应) */ .flex-dv-center { justify-content: space-around; -webkit-justify-content: space-around; } /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */ .flex-center-center { justify-content: center; -webkit-justify-content: center; -moz-justify-content: center; align-items: center; -webkit-align-items: center; -webkit-box-pack: center; -webkit-box-align: center; -moz-align-items: center; -moz-box-pack: center; -moz-box-align: center; } /*对view中的子元素进行居中,并且位于容器的中间位置(flex-box水平;flex-box-v垂直) */ .flex-v-zhu, .flex-h-zhu { justify-content: center; -webkit-justify-content: center; -webkit-box-pack: center; } /*对view中的子元素进行居中,并且位于容器的中间位置(flex-box垂直;flex-box-v水平) */ .flex-v-ce, .flex-h-ce { align-items: center; -webkit-align-items: center; -webkit-box-align: center; } /*让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: */ .flex-1 { -webkit-box-flex: 1; -moz-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; } .flex-2 { -webkit-box-flex: 2; box-flex: 2; -moz-box-flex: 2; -webkit-flex: 2; -ms-flex: 2; flex: 2; } .flex-3 { -webkit-box-flex: 3; box-flex: 3; -moz-box-flex: 3; -webkit-flex: 3; -ms-flex: 3; flex: 3; } .flex-4 { -webkit-box-flex: 4; box-flex: 4; -moz-box-flex: 4; -webkit-flex: 4; -ms-flex: 4; flex: 4; } .flex-5 { -webkit-box-flex: 5; box-flex: 5; -moz-box-flex: 5; -webkit-flex: 5; -ms-flex: 5; flex: 5; } .flex-direction-row-reverse { flex-direction: row-reverse; -webkit-flex-direction: row-reverse; } /*超出部分用....表示的公用样式 */ .font-flex-word { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 内容超出部分自动换行 */ .flex-d-wrap { flex-wrap: wrap; } /* 内容超出部分不换行 */ .flex-no-wrap { flex-wrap: nowrap; } /* 从右边开始排列 */ .flex-box-end { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; justify-content: flex-end; }