123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- /* pages/map/testmap.wxss */
-
- .map {
- width: 100%;
- height: 100%;
- position: relative;
- overflow: hidden;
- z-index: 1;
- }
-
- .layer {
- width: 100%;
- height: 75vh;
- position: absolute;
- overflow: hidden;
- bottom: 0;
- transform: translateY(calc(75vh - 58px));
- -webkit-transform: translateY(calc(75vh - 58px));
- left: 0;
- z-index: 2;
- transition: all .3s linear;
- -webkit-transition: all .3s linear;
- }
-
- .layer.active {
- transform: translateY(0);
- -webkit-transform: translateY(0);
- }
-
- .layer .nav{
- white-space: nowrap;
- position: relative;
- overflow: hidden;
- }
-
- .layer .navItem {
- width: 48px;
- height: 48px;
- display: inline-block;
- vertical-align: middle;
- position: relative;
- overflow: hidden;
- background: #fff;
- border-radius: 10px;
- /* box-shadow: 0 0 10px 5rpx rgba(0, 0, 0, .08); */
- margin-left: 10px;
- }
-
- .layer .navItem button{
- padding: 0;
- line-height: 0;
- color: #fff;
- background: none;
- border: none;
- font-size: 20px;
- }
-
- .layer .nav .centerLabel {
- text-align: center;
- width: 100%;
- }
-
- .layer .navImg {
- max-width: 16px;
- max-height: 16px;
- width: 14px;
- display: inline-block;
- }
-
- .layer .navText {
- line-height: 16px;
- font-size: 12px;
- color: #666;
- width: 100%;
- display: block;
- margin-top: -10rpx;
- }
-
- .layer .mainDetail {
- margin-top: 10px;
- position: relative;
- overflow: hidden;
- }
-
- .layer .detail {
- width: 100%;
- height: 100%;
- position: relative;
- overflow: hidden;
- border-radius: 20px 20px 0 0;
- background: #fff;
- /* box-shadow: 0 0 10px 5px rgba(0, 0, 0, .08); */
- }
-
- .layer .detail .top {
- padding: 0 20px;
- position: relative;
- overflow: hidden;
- margin-top: 20px;
- align-items: center;
- }
-
- .layer .detail .top .name {
- font-size: 17px;
- line-height: 30px;
- }
-
- .layer .detail .top .remark {
- line-height: 17px;
- font-size: 11px;
- color: #666;
- }
-
- .layer .detail .top .btn {
- width: 50px;
- height: 50px;
- position: relative;
- overflow: hidden;
- border-radius: 100%;
- background: #bb9c79;
- text-align: center;
- }
-
- .layer .detail .top .btn .centerLabel {
- width: 100%;
- overflow: hidden;
- }
-
- .layer .detail .btnImg {
- width: 18px;
- display: inline-block;
- }
-
- .layer .detail .top .btn .text {
- width: 100%;
- text-align: center;
- color: #fff;
- font-size: 13px;
- line-height: 1.2;
- margin-top: -8px;
- }
-
- .layer .navList {
- border-top: 1px solid #eee;
- border-bottom: 1px solid #eee;
- margin-top: 15px;
- }
-
- .layer .navList .flex-item {
- line-height: 22px;
- font-size: 14px;
- color: #333;
- text-align: center;
- padding: 12px 0;
- }
-
- .layer .navList .flex-item.active {
- background: #bb9c79;
- color: #fff;
- }
-
- .layer .detail .list {
- width: 100%;
- height: 100%;
- position: relative;
- overflow-y: scroll;
- -webkit-overflow-scrolling: touch;
- }
-
- .layer .detail .list .listItem {
- padding: 0 0 0 35px;
- position: relative;
- overflow: hidden;
- }
-
- .layer .detail .list .line {
- width: 1px;
- height: 100%;
- position: absolute;
- left: 17px;
- background: #f3ede1;
- top: 0;
- z-index: 1;
- }
-
- .layer .detail .list .listItem .itemText {
- width: 100%;
- position: relative;
- overflow: hidden;
- white-space: nowrap;
- border-bottom: 1px solid #eee;
- line-height: 22px;
- font-size: 14px;
- color: #333;
- padding: 10px 0;
- }
-
- .layer .detail .list .listItem .icon {
- width: 5px;
- height: 5px;
- position: absolute;
- border-radius: 100%;
- background: #f0cd7b;
- border: 1px solid #ad8453;
- z-index: 2;
- left: 14px;
- top: 50%;
- transform: translateY(-50%);
- -webkit-transform: translateY(-50%);
- }
-
- .noborder::after{
- border: none;
- }
|