@bjheader:#009fe8; @border:#ebebeb; @textColor:#bdc3c7; button,input{ outline: none; } .api_layout{ width: 100%; position: relative; } .hide{ display: none; } .show{ display: block; } .age_list a{ display: block; } .api_swiper_wrap{ width: 100%; padding: 10px 15px 0 15px ; } .api_swiper_wrap .swiper-pagination-fraction { width: 15%; left: inherit; right: 10px; bottom: 6px; color: #fff; z-index: 1001 } .age_list img{ width: 100%; height: 185px; display: block; object-fit: cover; } //值班 .api_duty{ border-bottom: 1px solid #ebebeb; } .api_title{ font-size: 18px; margin: 15px 0 0 0; padding: 0 20px 0 55px; position: relative; color: #121212; .News_icon{ width: 25px; height: 25px; position: absolute; top: 0; left: 20px; background: url("../image/newsIcon.png") no-repeat; background-size: cover; } img{ height: 25px; position: absolute; top: 0; left: 20px; } } .api_list{ font-size: 15px; color: #6c6f74; padding: 0 20px; margin-bottom: 13px; } .api_list li{ overflow: hidden; text-overflow: ellipsis; white-space: normal; } .api_more{ font-size: 14px; color: #6c6f74; position: absolute; top:3px; right: 20px; font-weight: normal; } .api_news{ // margin-bottom: 26px; } .api_newsList{ position: relative; margin-top: 3px; padding: 0 20px; font-size: 16px; li{ display: flex; justify-content: flex-start; display: -webkit-flex; -webkit-justify-content: flex-start; align-items: center; padding: 10px 0; position: relative; &:after{ content: ''; display:table; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: #f5f7f8; } p{ color: #121212; font-size: 14px; } img{ width: 90px; height: 50px; margin-right: 11px; object-fit: cover; } } } .api_news_content{ padding-right: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .api_newsList_item{ position: relative; height: 34px; line-height: 34px; border-bottom: 1px solid #ebebeb; font-size: 13px; } .api_news_more{ position: absolute; top: 12px; right: 0; width: 10px; height: 10px; background: url("../image/more.png") no-repeat; background-size: cover; } .api_line{ background: #ecf0f1; height: 2px; } .api_h2{ text-align: center;color: #9b9b9b;font-weight: normal; margin-top: 13px; font-size: 16px; } .api_office{ border-bottom: 1px solid #ebebeb; &:last-child{ padding-bottom: 30px; } } .api_row{ width: 100%; padding: 0 20px; display: flex; display: -webkit-flex; -webkit-justify-content: space-between; justify-content: space-between; flex-wrap: nowrap; -webkit-flex-wrap: nowrap; } .api_col{ font-size: 12px; display: inline-block; height: 42px; line-height: 42px; text-align: center; color: #009fe8; border:1px solid #009fe8; border-radius: 10px; width: 24%; } #api_grid img{ width: 45px; height: 45px; position: relative; margin: auto; margin-bottom: 10px; } .api_page span{ color: #fff !important; } .api_page_text{ position: absolute; width: 100%; bottom: 6px; left: 0; z-index: 1000; } .api_banner_info{ font-size: 14px; width: 75%; height: 24px; padding-left: 5px; line-height: 24px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } // header .header-login{ width: 100%; height: 50px !important; background-color: #009fe8; text-align: center; position: relative; } .backBtn{ position: absolute; height: 30px; left: 0; margin-top: 10px; margin-left: 15px; z-index: 1000; } .api_text{ height: 50px; line-height: 50px; margin: 0; font-size: 18px; color: #fff; width: 70%; margin: auto; } // 通讯录 .api_title_text{ height: 45px; line-height: 45px; width: 100%; box-sizing: border-box; color: #afb6c3;font-size: 13px;background: #f3f6fa; padding-left: 15px; } .api_mail_items{ width: 100%; box-sizing: border-box; padding: 18px 24px 0 24px; display: flex; display: -webkit-flex; -webkit-justify-content: space-between; justify-content: space-between; flex-wrap: wrap; .api_mail_item{ box-sizing: border-box; border: 1px solid @border; width: 145px; padding: 15px 3px 10px 18px; border-radius: 5px; margin-bottom: 25px; position: relative; .api_mail_logo{ width: 50px; height: 50px; margin-bottom: 6px; border-radius: 50%; } .api_more01{ position: absolute; top: 3px; right: 3px; width: 22px; height: 30px; } p{ margin-bottom: 15px; font-size: 12px; span{ font-size: 12px; color: #97a3b4; } } .api_mail_details{ font-size: 12px; color: @bjheader; } } } // 个人中心 .api_personal_header{ background: @bjheader; width: 100%; text-align: center; padding: 20px 0; border-top: 1px solid #37b0e9; .api_header_img{ width: 100px; height: 100px; border-radius: 50%; margin: auto; background: url("") no-repeat; background-size: cover; } p{ margin-bottom: 13px; color: #fff; font-size: 18px; } .api_personal_name{ font-weight: bold; font-size: 20px; } .api_dep{ font-size: 14px; } .api_personal_more{ height: 31px; line-height: 31px; background: #ecf0f1; color: #2c3e50; font-size: 12px; border-radius: 25px; } } .api_phoneBind{ width: 100%; height: 38px; line-height: 38px; box-sizing: border-box; position: relative; color: #7f8c8d; padding-left: 37px; font-size: 12px; img{ width: 17px; height: 17px; position: absolute; top: 10px; left:15px; } } .api_function{ .ico{ height: 35px; display: inline-block; } .api_icon1{ background: url("../image/news.png") no-repeat; background-size:cover; width: 39px; } .api_icon2{ background: url("../image/collection.png") no-repeat; background-size:cover; width: 35px; height: 35px; } .api_icon3{ background: url("../image/explain.png") no-repeat; background-size:cover; width: 30px; } } .api_function_items{ .api_function_item{ height: 40px; line-height: 40px; padding-left: 41px; color: #000; font-size: 15px; position: relative; border-bottom: 1px solid @border; } img{ position: absolute; top: 21px; width: 18px; height: 18px; } .api_pass_img{ left: 15px; } .api_more_img{ right: 20px; } } // 修改密码 .api_forget_phone{ padding: 15px 20px; .api_phone{ width: 100%; height: 49px; margin-bottom: 14px; box-sizing: border-box; display: flex; display: -webkit-flex; -webkit-justify-content: space-between; justify-content: space-between; flex-wrap: nowrap;; } input::-webkit-input-placeholder{ font-size: 14px;position: relative; } input{ background-color: #fff; -webkit-tap-highlight-color: rgba(255, 0, 0, 0); outline:none; box-shadow:none; border-radius: 0; padding-left: 22px; border: none; width: 100%; height: 100%; box-sizing: border-box; font-size: 14px; } .api_vali{ width: 180px; } .api_btn_vali{ display: inline-block; width: 107px; line-height: 49px; text-align: center; background: @bjheader; border: none; font-size: 14px; color: #fff; } .api_bnt{ width: 100%; height: 49px; line-height: 49px; background: @bjheader; color: #fff; text-align: center; font-size: 14px; } } // 个人资料 // nav .api_nav{ width: 100%; height: 49px; // position: absolute; // top: 50px; // left: 0; background: #fff; box-sizing: border-box; display: block; } .header-nav { box-sizing: border-box; } .header-nav-items { list-style: none; padding: 0; margin: 0; height: 100%; width: 100%; transition: all 1s; // border: 1px solid @border; box-sizing: border-box; // display: flex; // justify-content: center; // flex-wrap: nowrap; // display: -webkit-flex; // -webkit-justify-content: center; // -webkit-flex-wrap: nowrap; overflow: hidden; position: relative; } .header-nav-items :after{ content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: @border; } .header-nav-items li { position: relative; font-size: 17px; line-height: 49px; padding: 0 16px; white-space: nowrap; text-align: center; } .header-nav-items .active::after { position: absolute; content: ""; display: block; bottom: 0; left: 0; width: 100%; height: 2.5px; background: @bjheader; } // 基本信息 .header_img{ width: 50px; height: 50px; background: url("") no-repeat; background-size:cover; border-radius: 50%; } .api_lists{ background-image: none; span{ color: #bdc3c7; } .api_bind_img{ width: 17px; height: 17px; background: url("../image/bind.png") no-repeat; background-size:cover; position: absolute; top: 10px; right:15px; } } .api_bottom{ padding: 15px 0; text-align: center; background: #f2f2f2; color: @textColor; } .api_layout{ .aui-list { .aui-list-item{ height: 42px; min-height: 42px; } .aui-list-item-inner{ height: 42px; line-height: 42px; min-height: 42px; font-size: 14px; } .aui-list-item-title{ font-size: 14px; } } } // 组织&区队 .api_leader_wrap{ padding: 15px; border-bottom: 1px solid @border; .api_title_or{ color: @textColor; font-size: 16px; } .api_leader_content{ width: 100%; border-radius: 10px; padding: 33px 30px 23px 30px; box-sizing: border-box; border: 1px solid @border; margin-top: 20px; color: #002257; h1{ margin-bottom: 30px; font-size: 22px; } p{ font-size: 14px; margin-bottom: 18px; } .api_leader_head{ width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin: auto; margin-bottom: 5px; } } } .api_leader_wrap1{ padding: 20px 18px 10px 18px; h1{ color: #002257; font-size: 22px; margin-bottom: 20px; } .api_leader_item1{ li{ margin-bottom: 20px; font-size: 15px; span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: @textColor; } p{ color: #002257; } } } } //消息列表 .api_news_item{ padding: 10px; li{ padding: 15px 0 15px 10px; display: flex; justify-content: flex-start; flex-wrap: nowrap; display: -webkit-flex; -webkit-justify-content: flex-start; -webkit-flex-wrap: nowrap; align-items: center; -webkit-align-items: center; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; box-shadow: 0 2px 4px 0 #a6a6a6; border-radius: 5px; margin-bottom: 10px; .api_date{ position: absolute; bottom: 15px; right: 20px; font-size: 11px; color: #bdc3c7; } .api_news_num{ position: absolute; color: #fff; background-color: #ff0037; width: 20px; height: 20px; line-height: 2.2; text-align: center; border-radius: 50%; font-size: 10px; top: 15px; right: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .api_ceil{ width: 10px; height: 100%; background-color: #009fe8; position: absolute; top: 0; right: 0; border-top-right-radius: 5px; border-bottom-right-radius: 5px; } } li:last-child{ margin-bottom: 0; } .api_titles{ width: 60%; padding-left: 10px; .api_news_title{ font-size: 15px; margin-bottom: 8px; font-weight: bold; } p{ font-size: 14px; color: #bdc3c7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .api_ico{ display: inline-block; width: 15px; height: 15px; background: url("../image/icons.png") no-repeat; background-size: cover; position: relative; top: 2px; } } .news_img{ width: 45px; height: 45px; background: url("../image/news_img.png") no-repeat; background-size: cover; } } @media screen and (max-width: 320px){ .api_mail_items .api_mail_item{ width: 130px; } .api_forget_phone .api_vali{ width: 160px; } .api_forget_phone .api_btn_vali{ width: 100px; } .api_news_item{ .api_titles{ width: 50%; } } } @media screen and (min-width: 414px){ .api_mail_items .api_mail_item{ width: 170px; } } @media screen and (min-width: 411px){ .api_mail_items .api_mail_item{ width: 170px; } } @media (min-width: 380px) and (max-width:400px){ .api_mail_items .api_mail_item{ width: 160px; } } // aui搜索框 /*搜索条*/ .aui-searchbar { display: -webkit-box; -webkit-box-pack: center; -webkit-box-align: center; height: 2.2rem; overflow: hidden; width: 100%; background-color: #ebeced; color: #9e9e9e; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .aui-searchbar.focus { -webkit-box-pack: start; } .aui-searchbar-input { margin: 0 0.5rem; background-color: rgba(255,255,255,.3); border-radius: 50px; height: 31px; line-height: 31px; font-size: 0.7rem; position: relative; padding-left: 10px; display: -webkit-box; -webkit-box-flex: 1; } .aui-searchbar form { width: 95%; } .aui-searchbar-input input { color: #666666; width: 87%; padding: 0; margin: 0; height: 31px; line-height: 32px; border: 0; -webkit-appearance: none; font-size: 0.7rem; margin-left: 33px; color: #fff; } .aui-searchbar input::-webkit-input-placeholder { color: #ccc; } .aui-searchbar .aui-iconfont { line-height: 1.4rem; margin-right: 0.25rem; color: #9e9e9e !important; } .aui-searchbar .aui-searchbar-btn { font-size: 0.7rem; color: #666666; margin-right: -2.2rem; width: 2.2rem; height: 1.4rem; padding-right: 0; line-height: 1.4rem; text-align: center; -webkit-transition: all .3s; transition: all .3s; } .aui-searchbar-clear-btn { position: absolute; right: 5px; top: 3px; width: 1.1rem; height: 1.1rem; background: #eeeeee; border-radius: 50%; line-height: 0.6rem; text-align: center; display: none; } .aui-searchbar-clear-btn .aui-iconfont { font-size: 0.6rem; margin: 0 auto; position: relative; top: -2px; } .aui-searchbar .aui-searchbar-btn .aui-iconfont { color: #666666; } .aui-icon-search:before { content: "\e6e6"; } .aui-iconfont { position: relative; font-family:"aui_iconfont" !important; font-size: 0.7rem; font-style:normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } //值班 .duty{ padding: 6px 22px 0 22px; .duty_title{ font-size: 18px; color: #fff; padding-left: 34px; position: relative; margin-bottom: 6px; } .duty_icon{ background: url("../image/gonggao.png") no-repeat; display: block; width: 22px; height: 22px; background-size: cover; position: absolute; left: 0; top: 1px; } .duty_content{ font-size: 14px; color: #fff; } } .item{ margin-bottom:20px; } // 公共 .flex-space{ display: -webkit-flex; display: flex; justify-content: space-between; -webkit-justify-content: space-between; flex-wrap: nowrap; -webkit-flex-wrap: nowrap; align-items: center; } .flex-start{ display: -webkit-flex; display: flex; justify-content: flex-start; -webkit-justify-content: flex-start; flex-wrap: nowrap; -webkit-flex-wrap: nowrap; align-items: center; } .after-border:after{ content: ''; display: block; position: absolute; left: 0; bottom:0; background: #ebeef3; right:0; height: 1px; } .relative{ position: relative; } // 无内容 .noText{ width: 91px; height: 134px; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; } .noText img{ width: 100%; } // tips提示 #tips{ position: absolute; top: 0; left: 0; background:#fff; width: 100%; height: 100%; } #tips p{ width: 200px; height: 150px; line-height: 30px; text-align: center; position: absolute; top: 0; left: 0; bottom: 0; right:0; margin: auto; color: #ccc; } #tips i{ width: 100px; height: 100px; display: block; background:url("../image/error.png") no-repeat; background-size:contain; margin: auto; }