* { padding: 0; margin: 0; } body { font-size: 14px; color: #333; background-color: #fff; } a { color: #333; } [v-cloak] { display: none; } [appAttr='no'] { display: none !important; } /* 设定动画的过渡时间 */ .animate__animated.animate__fadeInRightBig { --animate-duration: 400ms; --animate-delay: 1s; } .animate__animated.animate__fadeOutRightBig { --animate-duration: 1400ms; --animate-delay: 1s; } @-webkit-keyframes fadeInRight { from { opacity: 0; -webkit-transform: translate3d(100px, 0, 0); transform: translate3d(100px, 0, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @keyframes fadeInRight { from { opacity: 0; -webkit-transform: translate3d(100px, 0, 0); transform: translate3d(100px, 0, 0); } to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } .animate__animated.animate__fadeInRight { --animate-duration: 300ms; --animate-delay: 1s; } .animate__animated.animate__fadeIn { --animate-duration: 200ms; --animate-delay: 1s; } /* body 背景色 */ .body-bg-white { background-color: #fff !important; } .body-bg-gray { background-color: #f5f6f9 !important; } .content-wrap { overflow: auto; -webkit-overflow-scrolling: touch; height: 100%; } #space-content { height: 100%; } /* 导航栏 */ .van-nav-bar { line-height: 46px; } .van-nav-bar .van-icon, .van-nav-bar__text { color: #323233; } .van-nav-bar .van-icon.van-nav-bar__arrow { font-size: 20px; } /* 标签页 */ .space-van-tabs.van-tabs--line .van-tabs__wrap { height: 56px; } .space-van-tabs .van-tab .van-tag { vertical-align: top; } .space-van-tabs .van-tab .van-info { height: 16px; line-height: 16px; } .space-van-tabs .van-tabs__content { height: calc(100vh - 56px); } .space-van-tabs .van-tab__pane, .space-van-tabs .van-tab__pane iframe { width: 100%; height: 100%; border: none; } /* tab卡片 */ .vant-tabCard { margin: 15px; } .vant-tabCard-wrap { background-color: #fff; padding: 8px 0px 16px 0; border: 1px solid #eee; border-radius: 8px; } .vant-tabCard-title { box-sizing: border-box; margin: 0; font-size: 16px; line-height: 30px; position: relative; padding: 0 18px; font-weight: 400; /* display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; */ } .vant-tabCard-title span, .vant-tabCard-title .van-icon { vertical-align: middle; word-break: break-all; } .vant-tabCard-title>img { width: 20px; height: 20px; vertical-align: middle; float: left; margin: 6px 5px 0 0; } .vant-tabCard-title>.van-image { width: 20px; height: 20px; vertical-align: middle; margin-right: 5px; } .vant-tabCard-title>.van-image i { font-size: 22px; } .vant-tabCard-title-right { position: absolute; top: 4px; right: 18px; background-color: #fff; z-index: 100; } .space-switch { width: 50px; height: 20px; line-height: 20px; position: relative; font-size: 12px; font-weight: normal; color: #646566; display: flex; border-radius: 4px; overflow: hidden; border: 1px solid #1989fa; } .space-switch>span { width: 50%; height: 100%; text-align: center; } .space-switch>p { position: absolute; top: 0; left: 0; width: 50%; height: 100%; background-color: #1989fa; color: #fff; text-align: center; font-size: 14px; transition: all .3s; } .space-switch.space-switch-right p { transform: translateX(100%); } .vant-tabCard-iframe { min-height: 20px; position: relative; height: 120px; max-height: 260px; transition: height .5s; padding-top: 12px; } .vant-tabCard-iframe iframe { width: 100%; height: 100%; } .vant-tabCard-iframe-shade { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: transparent; z-index: 1000; padding-top: 12px; } .vant-tabCard-content { margin-top: 10px; padding: 0 18px; } .vant-tabCard-content li { line-height: 30px; color: #333; } .vant-tabCard-content li span { color: #999; } .vant-tabCard-bottom { border-top: 1px solid #eee; padding: 14px 8px 0; margin: 10px 10px 0; overflow: hidden; } .space-form-infor .vant-tabCard-bottom { margin-top: 0; } .vant-tabCard-bottom>div { display: inline-block; vertical-align: middle; } .vant-tabCard-bottom-left { color: #aaa; float: left; } .vant-tabCard-bottom-left span { margin-right: 5px; } .vant-tabCard-bottom-right { float: right; color: #ddd; font-size: 16px; } .vant-tabCard-bottom-right a { color: #1989fa; padding: 0 5px; vertical-align: middle; } .vant-tabCard-bottom-ckeck a { color: #333; padding-right: 3px; font-size: 14px; padding: 0; } .vant-tabCard-bottom-right .van-icon { color: #aaa; font-size: 16px; vertical-align: middle; } .packup-count { color: #ee0a24; font-size: 18px; } .two-fold, .three-fold { width: 94%; height: 8px; background-color: rgba(255, 255, 255, .8); margin: 0 auto; border-radius: 0 0 16px 16px; box-shadow: 0 3px 3px rgba(8, 8, 8, .1); } .three-fold { width: 89%; background-color: rgba(255, 255, 255, .6); } /* 卡片 */ .vant-card { margin: 12px 12px; border-radius: 8px; background-color: #fff; overflow: hidden; } .vant-card-title { box-sizing: border-box; margin: 0; padding: 0 16px; font-size: 14px; color: #7f7f7f; font-weight: normal; height: 50px; line-height: 50px; } .van-grid-icon { width: 52px; height: 52px; line-height: 52px; text-align: center; border-radius: 5px; background-color: #f0f4fd; } .van-grid-green { background-color: #28ae4b; } .van-grid-icon i { font-size: 28px; color: #648ef7; vertical-align: middle; /* text-shadow: 3px 3px 6px #8fadf9; */ } .van-grid-text { margin-top: 16px; } /* 搜索 */ .main-search { padding: 10px; background-color: #efefef; overflow: hidden; } .main-search .van-search { width: calc(100% - 46px); float: left; border-radius: 3px; padding: 0; } .main-search .van-search__content { background-color: #fff; height: 100%; padding-left: 0; } .main-search .van-search .van-icon { font-size: 20px; color: #cbccd0; } .main-AdSearch-icon { width: 36px; height: 36px; line-height: 36px; background-color: #fff; float: right; text-align: center; border-radius: 3px; } .main-AdSearch-icon i { float: left; width: 36px; height: 36px; font-size: 20px; color: #999; font-weight: bold; } /* 高级搜索 */ .main-adSearch { width: 80%; height: 100%; } .main-adSearch-warp { height: calc(100% - 80px); overflow-y: auto; } .main-AdSearch-btn { box-sizing: border-box; width: 100%; text-align: right; padding: 15px 5px 0 0; } .main-AdSearch-btn .van-button { width: 43%; margin-right: 5px; } .main-AdSearch-tabs { padding: 0 12px; } .main-AdSearch-title { margin: 20px 0 12px 0; } .main-tabs-ul { text-align: center; border-bottom: 1px solid #ebedf0; display: flex; justify-content: space-between; flex-wrap: wrap; } .main-tabs-ul li { background-color: #f8f8f8; display: inline-block; width: 31%; height: 36px; line-height: 36px; border-radius: 4px; margin-bottom: 20px; } .main-tabs-ul li.tabs-active { background-color: #1989fa; color: #fff; } .main-tabs-ul li.tabs-active a { color: #fff; } .main-btn { background-color: #efefef; padding: 13px 0; border: 1px solid #e3e3e3; border-left: none; border-right: none; text-align: center; } .main-btn .van-col:first-child { border-right: 1px solid #e3e3e3; } .main-btn .van-icon { font-size: 18px; vertical-align: middle; margin-top: -3px; } .space-form-infor { box-sizing: border-box; width: 100%; height: calc(100% - 66px); overflow-y: auto; } /* 底部按钮 */ .bottom-div { position: fixed; bottom: 0px; left: 0px; z-index: 999; overflow: hidden; width: 100%; height: 66px; line-height: 56px; text-align: center; box-shadow: 1px 1px 3px rgb(0 0 0 / 30%); user-select: none; -ms-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; } .bottom-div .van-button { margin: 0px 3px; border-radius: 6px; } /* 联系人列表 */ .main-contacts-list li { overflow: hidden; padding-top: 10px; -moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none; /*早期浏览器*/ user-select: none; } .main-contacts-list li:active { background-color: #F2F8FE !important } .contacts-list-left { width: 70px; float: left; text-align: right; margin-right: 18px; } .contacts-list-left img, .contacts-list-left .van-image { width: 54px; height: 54px; border-radius: 6px; } .contacts-list-left .van-icon, .contacts-list-left .spaceicon { width: 54px; height: 54px; border-radius: 6px; background-color: #f0f4fd; color: #648ef7; font-size: 28px; line-height: 54px; text-align: center; } .contacts-list-desc .contacts-list-time { float: right; font-size: 12px; color: #c7c7c7; margin-right: 0; margin-top: 2px; margin-right: 0; } .contacts-list-right { margin-left: 88px; } .contacts-list-title { font-size: 16px; margin: 2px 0 6px; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; margin-right: 18px; line-height: 24px; } .contacts-list-desc { font-size: 13px; color: #a6a6a6; margin-right: 18px; padding-bottom: 14px; border-bottom: 1px solid #f2f2f2; overflow: hidden; } .contacts-list-desc p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: calc(100% - 90px); display: inline-block; } .contacts-list-desc span { margin-right: 4px; } .vant-form-title { color: #888; font-size: 12px; font-weight: normal; padding: 0 12px; margin: 12px 0 8px; } /* 个人首页 */ .personal-car { border-bottom: 1px solid #e4e4e4; padding: 20px 16px; } .personal-car-mesg { overflow: hidden; } .personal-car-mesg span { color: #777e86; font-weight: 900; font-size: 16px; } .personal-car-mesg img { width: 96px; height: 96px; border-radius: 6px; float: right; } .personal-car-name { font-weight: bold; font-size: 18px; } .main-cell { margin-bottom: 8px; } /* 重置vant */ /* 底部导航 */ .van-tabbar { background-color: #fafafa; } .van-tabbar-item__text { font-size: 12px; } /* 无数据 */ .no-data { width: 200px; margin: 36px auto; background: url(/apps/space/images/mobile/common/nodata.png) no-repeat center; background-size: contain; } .no-data-search { width: 200px; margin: 36px auto; background: url(/apps/space/images/mobile/common/nodata.png) no-repeat center; background-size: contain; } .no-msg { width: 100%; margin: 36px auto; background: url(/apps/space/images/mobile/common/nomsg.png) no-repeat center; background-size: contain; } .no-data p, .no-data-search p, .no-msg p { text-align: center; color: #909399; padding-top: 220px; -moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none; /*早期浏览器*/ user-select: none; } .no-data-text { color: #969799; } /* 下拉刷新,撑满屏幕高度 */ .my-van-refresh { height: calc(100vh - 56px); overflow-y: auto; } .mescroll-totop { border-radius: 3px; } /*下拉刷新*/ .mescroll-downwarp .downwarp-circle { width: 120px; height: 80px; margin: 0 auto; background: url('/apps/space/images/mobile/loading/load_down.png') no-repeat; background-size: 100% 100%; } .mescroll-downwarp .downwarp-ball { display: none; } /*结束下拉之前,播放的动画*/ .mescorll-scale-out { -webkit-animation: tada .6s linear forwards; animation: tada .6s linear forwards; } @-webkit-keyframes mescorllScaleOut { 0% { -webkit-transform: scale(1); opacity: 1; } 100% { -webkit-transform: scale(100); opacity: 0.3; } } @keyframes mescorllScaleOut { 0% { -webkit-transform: scale(1); opacity: 1; } 100% { -webkit-transform: scale(100); opacity: 0.3; } } /*上拉加载区域*/ .mescroll-upwarp .upwarp-nodata { width: auto; height: 30px; margin: auto; -moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none; /*早期浏览器*/ user-select: none; } .mescroll-upwarp .upwarp-loading { position: relative; display: inline-block; line-height: 5px; } .mescroll-upwarp .upwarp-loading p, .mescroll-upwarp .upwarp-loading i { display: inline-block; width: 5px; height: 5px; margin: 2px; border-radius: 50%; } .mescroll-upwarp .upwarp-loading p { background-color: #cacaca } /*小圆点移动的动画*/ .mescroll-upwarp .upwarp-loading i { position: absolute; left: 0; top: 0; background-color: white; -webkit-animation: animDotMove .6s steps(1, end) infinite; animation: animDotMove .6s steps(1, end) infinite; } @-webkit-keyframes animDotMove { 0% { left: 0 } 25% { left: 9px } 50% { left: 18px } 75% { left: 27px } 100% { left: 0 } } @keyframes animDotMove { 0% { left: 0 } 25% { left: 9px } 50% { left: 18px } 75% { left: 27px } 100% { left: 0 } } .color-blue { color: #1989fa !important; } .bg-color-pink { background-color: pink !important; } /* 新个人首页 */ .content-wrap-myInfo { padding: 0 18px; } .myInfo-header-top { padding: 20px 0; } .myInfo-header-top .van-icon, .myInfo-header-top i { font-size: 20px; font-weight: bold; } .myInfo-header-top-right { float: right; } /* 头像资料 */ .myInfo-mesg { margin: 36px 0 30px; } .myInfo-mesg dl { overflow: hidden; } .myInfo-mesg dt { width: 100px; height: 100px; float: left; border-radius: 6px; overflow: hidden; position: relative; box-shadow: inset 0 1.5px 3px 0 rgba(0, 0, 0, .15), 0 1.5px 3px 0 rgba(0, 0, 0, .15); border: 3px solid rgba(255, 255, 255, .8); } .myInfo-mesg dt img { width: 100%; height: 100%; } .myInfo-mesg dt .myInfo-mesg-icon { position: absolute; right: -24px; bottom: -26px; color: #fff; background-color: #346cff; border-radius: 50%; width: 50px; height: 50px; } .myInfo-mesg-icon i, .myInfo-mesg-icon .van-icon { position: relative; left: 8px; top: 6px; } .myInfo-mesg dd { margin-left: 120px; color: #888; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; } .myInfo-mesg .myInfo-mesg-user { font-weight: bold; font-size: 20px; color: #333; padding: 24px 0 8px; } /* 卡片 */ .myInfo-list { display: flex; flex-wrap: wrap; justify-content: space-between; } .myInfo-list-card { box-sizing: border-box; background-color: #fff; width: 48%; border-radius: 12px; margin-bottom: 15px; /* box-shadow: 0 2px 5px #ddd; */ padding: 20px; } .myInfo-list-card img { width: 34px; } .myInfo-list-card h2 { font-size: 18px; margin: 10px 0; } .myInfo-list-card p { color: #666; } .van-tabbar-item__icon .van-icon { font-weight: bold; } /* 人员选择器 */ /* 面包屑 */ .crumbs { padding: 10px 12px; background-color: #fff; } .crumbs a { color: #1989fa; vertical-align: middle; } .crumbs .crumbs-active { color: #888; } .crumbs i { color: #aaa; vertical-align: middle; } .select-item { background-color: #fff; padding: 0 12px; margin: 8px 0; } .select-item li { padding: 15px 0; position: relative; } .select-item li::after { position: absolute; bottom: 0; left: 35px; right: -12px; height: 1px; content: ''; -webkit-transform: scaleY(.5); transform: scaleY(.5); background-color: #ddd; } .select-item li:last-child::after { height: 0; } .select-item-right { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #1989fa; } .select-item-right-disabled { opacity: .5; } .select-item-right i, .select-item-right span { vertical-align: middle; } .select-item-line { font-size: 26px; border-left: 1px solid #ebedf0; padding-right: 12px; } .select-item-img { margin-bottom: 70px; } .select-item-img li { padding: 7px 0; } .select-item-img .van-image { vertical-align: middle; margin-right: 12px; } .select-item-img .van-image__error { background-color: #1989fa; color: #fff; font-size: 12px; text-align: center; } .select-item .van-checkbox__label { margin-left: 15px; } .select-item-label { font-size: 12px; color: #1989fa; border-radius: 50px; border: 1px solid #1989fa; padding: 0 4px; } /* 人员选择底部 */ .select-footer { box-sizing: border-box; width: 100%; position: fixed; left: 0; bottom: 0; background-color: #fff; padding: 10px 12px 30px; color: #1989fa; } .select-footer .van-button { position: absolute; right: 12px; top: 8px; } .selected-item-right { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: #888; } /* 信息 */ .info-nav-bar { position: fixed; top: 0; left: 0; width: 100%; } .info-wrap {} .info-top { margin: 30px 12px; position: relative; } .info-top dl { overflow: hidden; } .info-top dt { width: 90px; height: 90px; overflow: hidden; float: left; margin-right: 20px; border-radius: 6px; box-shadow: inset 0 1.5px 3px 0 rgba(0, 0, 0, .15), 0 1.5px 3px 0 rgba(0, 0, 0, .15); border: 3px solid rgba(255, 255, 255, .8); } .info-top dt img { width: 100%; height: 100%; } .info-top dd { line-height: 26px; } .info-top-user-name { font-size: 20px; font-weight: bold; padding-top: 3px; } .info-top-icon { position: absolute; top: 50%; right: 0; transform: translateY(-50%); font-size: 30px; color: #1989fa; } .info-list-title { line-height: 44px; padding: 0 15px; background-color: #f5f6f9; color: #888; } .info-list .van-cell { align-items: center; } .info-list .van-cell__right-icon, .info-wrap .van-cell__right-icon { position: absolute; right: 14px; } .info-list .van-cell__value, .info-wrap .van-cell__value { flex-grow: 2; text-align: left; padding-right: 8px; } .info-list .van-cell__title span, .info-wrap .van-cell__title span { font-size: 14px; } .van-cell__title span { vertical-align: middle; } .xingxing { color: #e93323; font-size: 10px; vertical-align: middle; margin-left: 6px; } .tag-group span { margin-right: 3px; } .tag-group span:first-child { margin-left: 0px; } /*结果页*/ .result { font-size: 16px; text-align: center; padding-top: 50px; } .result .icon-success, .result .icon-success-hollow { color: #1989fa; } .result .icon-error, .result .icon-error-hollow { color: #f56c6c; } .result .icon-warning, .result .icon-warning-hollow { color: #FFB244; } .result .icon-question, .result .icon-question-hollow { color: #FF9B00; } .result .icon-info, .result .icon-info-hollow { color: #0D8FFF; } .result i { font-size: 66px; } .result-msg { margin-top: 40px; } /* 对象选择器组件 */ .space-select-image { width: 100%; } .space-select-image ul, .space-select-tag { display: flex; /* justify-content: space-around; */ } .space-select-image li { text-align: center; width: 20%; } .space-select-image-choice .space-select-image-wrap { margin: 0; } .space-select-image-wrap, .hasOther .space-select-image-wrap { width: 32px; height: 32px; background-color: #fff; color: #fff; text-align: center; font-size: 24px; position: relative; margin: 0 auto; } .space-select-image-choice .space-select-image-wrap, .space-select-tag-choice { color: #cacacd; background-color: #fff; border: 1px dashed #cacacd; border-radius: 6px; } .space-select-image-choice .space-select-image-wrap:active, .space-select-tag-choice:active { opacity: .6; } .space-select-tag-choice { padding: .2em .5em; } .space-select-tag-choice .van-icon, .space-select-tag-choice i { vertical-align: middle; margin-top: -3px; color: #cacacd; } .space-select-image-wrap .van-icon, .space-select-image-wrap i { vertical-align: middle; } .space-select-image-choice .van-icon, .space-select-image-choice i { margin-top: -4px; color: #cacacd; } .space-select-image li .van-image { width: 32px; height: 32px; overflow: hidden; } .space-select-image li .van-image img { border-radius: 3px; } .space-select-image li .van-image__error { background-color: #1989fa; color: #fff; text-align: center; } .space-select-image li p { color: #777; margin-top: 5px; font-size: 12px; } .space-select-image-close { position: absolute; top: -7px; right: -8px; color: #999; z-index: 100; font-size: 16px; } .space-select-tag span { margin: 0 5px; } .space-select-tag span:first-child { margin-left: 0; } .space-select .van-cell { line-height: 32px; } .space-select .van-cell__title { -webkit-box-flex: 0; -webkit-flex: none; flex: none; box-sizing: border-box; width: 6.2em; margin-right: 12px; color: #646566; text-align: left; word-wrap: break-word; } .space-select .van-cell__value { overflow: visible; text-align: left; line-height: initial; } .space-select-all { background-color: #f2f2f2; border-radius: 3px; } .space-select-all i { color: #999; } /* 自定义组件/底部导航 */ .space-tabbar { box-sizing: border-box; height: 50px; border-top: 1px solid #ebedf0; } .space-tabbar-list { display: flex; height: 100%; font-size: 13px; } .space-tabbar-list li { flex: auto; text-align: center; } .space-tabbar-list li img { width: 22px; height: 22px; } .space-tabbar-img-wrap { position: relative; display: inline-block; padding-top: 5px; } .space-tabbar-dot { width: 6px; height: 6px; border-radius: 50%; background-color: #ee0a24; position: absolute; right: -2px; top: 4px; } .space-tabbar-list li p { margin-top: -2px; } /* ckEdtor */ .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused), .ck.ck-toolbar, .ck-focused { border-color: transparent !important; } .ck-focused, .ck-editor__main { outline: none !important; } /* 弹出层加载动画 */ .layui-layer-load { background: url(/apps/space/images/mobile/loading/load_3.gif) #fff center center no-repeat !important; background-size: contain !important; } .main-search { display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */ display: -moz-box; /* 老版本语法: Firefox (buggy) */ display: -ms-flexbox; /* 混合版本语法: IE 10 */ display: -webkit-flex; /* 新版本语法: Chrome 21+ */ display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */ } .main-search .van-search { width: auto; -webkit-flex: 1; /* Chrome */ -ms-flex: 1; /* IE 10 */ flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */ -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */ -moz-box-flex: 1; /* OLD - Firefox 19- */ } .main-search .van-search .van-cell { padding-left: 24px; padding-right: 12px; } .van-search .van-cell.van-field--disabled { background-color: rgba(239, 239, 239, .5); } .main-list-icon-group { text-align: right; overflow: hidden; } .main-list-icon-group .main-AdSearch-icon { margin-left: 10px; } .info-wrap { height: calc(100% - 60px); overflow-y: auto; } .btn-group { height: 60px; overflow: hidden; } .btn-group .space-tabbar-img-wrap { padding-top: 12px; } .btn-group a { display: block; border-radius: 50%; width: 60px; height: 100%; position: relative; top: 0px; margin: 0 auto; z-index: 2; color: #666; background-color: transparent; transition: all .3s; border: 1px solid transparent; } .btn-group a:hover { border-color: #e7e7e7; background-color: #f2f2f2; } .btn-group .space-tabbar-img-wrap i { font-size: 22px; } .btn-group .space-tabbar-list li p { margin-top: 0; font-size: 12px; } .component-wrap { position: relative; } .component-wrap:after { position: absolute; box-sizing: border-box; content: ' '; pointer-events: none; right: 16px; bottom: 0; left: 16px; border-bottom: 1px solid #ebedf0; -webkit-transform: scaleY(.5); transform: scaleY(.5); } .van-form .van-field { line-height: 30px; align-items: center; } .van-form .van-cell, .info-wrap .van-cell { font-size: 16px; } .info-wrap .van-cell__title span { font-size: 16px; } .van-field__control--custom { min-height: 32px; } .van-cell { color: #969799; } .van-cell__value { color: #323233; font-size: 16px; } .van-field__right-icon { color: #cdcdcd; } .info-wrap .ck.ck-editor__editable_inline>:first-child { margin-top: 0; } .info-wrap .ck.ck-editor__editable_inline>:last-child { margin-bottom: 0; } .info-wrap .ck.ck-editor__editable_inline { padding: 0; } /* 图片上传 */ .space-upload-img .van-field__control { display: block; } .space-upload-img .van-field__control>span, .space-upload-img .van-field__control>.van-button { vertical-align: middle; } .cropper-img-wrap { display: flex; flex-wrap: wrap; } .cropper-img-content { position: relative; margin: 8px 12px 0px 0px; } .cropper-img-content .van-image { border: 1px solid #ebebeb; } .cropper-preview-delete { position: absolute; top: 0; right: 0; width: 14px; height: 14px; background-color: rgba(0, 0, 0, 0.7); border-radius: 0 0 0 12px; } .cropper-preview-delete i { position: absolute; top: -2px; right: -2px; color: #fff; font-size: 16px; -webkit-transform: scale(0.5); transform: scale(0.5); } .uploadButton-img { width: 80px; height: 80px; line-height: 80px; text-align: center; background-color: #f7f8fa; margin-top: 8px; margin-bottom: 8px; } .uploadButton-img i { color: #dcdee0; font-size: 24px; vertical-align: middle; } /* 图片预览 */ .van-image-preview__image { width: auto; } .space-preview-img { display: flex; flex-wrap: wrap; } /* 选项卡 */ .van-tabs { width: 100%; height: 100%; } .van-tabs__content { height: calc(100% - 44px); } .van-tab__pane, .van-tab__pane iframe { height: 100%; width: 100%; } .van-tab__pane iframe { border: none; } .hide { display: none; } .mobileSelect .content .panel .wheel .selectContainer li { font-weight: bold; } /* space选项卡 */ .space-mobile-tabs { width: 100%; height: 100%; background-color: #f3f4f7; } .space-mobile-tabs-list { width: 100%; position: relative; display: flex; background-color: #fff; } .space-mobile-tabs-list .van-tabs { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; -webkit-user-select: none; user-select: none; flex: 1; } .space-mobile-tabs-list .van-tabs__content { display: none !important; } .space-mobile-tabs-iframe { box-sizing: border-box; height: calc(100% - 44px); } .space-mobile-tabs-iframe iframe { width: 100%; height: 100%; background-color: #fff; } .space-mobile-tabs-list p { width: 50px; text-align: center; line-height: 44px; } .space-mobile-tabs-icon { font-size: 24px; color: #646566; vertical-align: middle; } .space-mobile-tabs-popList { padding: 20px; padding-right: 0; } .space-mobile-tabs-popList li { color: #333; border: 1px solid #ddd; border-radius: 20px; padding: 4px 14px; display: inline-block; margin: 0 20px 20px 0; min-width: 60px; text-align: center; max-width: 60px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .space-mobile-tabs-popList .active { color: #1989fa; border-color: #1989fa; } /* CMS列表 */ .CMS-file { box-sizing: border-box; height: 100%; padding-top: 12px; padding-bottom: 12px; } .CMS-file>div { padding: 0 12px; } .CMS-btn-top { margin-bottom: 20px; overflow: hidden; } .CMS-btn-top span { color: #1989fa; font-size: 16px; font-weight: bold; } .CMS-btn-right { float: right; } .CMS-file-list { box-sizing: border-box; height: calc(100% - 44px - 42px); overflow-y: auto; } .CMS-file-list .van-checkbox-group { justify-content: space-between; } .CMS-file-list .van-checkbox { width: calc(33.3% - 6px); position: relative; text-align: center; padding: 12px 0; margin-right: 0; margin-bottom: 12px; align-items: baseline; } /* 加上after伪类,解决最后一排数量不够两端分布的情况 */ .CMS-file-list .van-checkbox-group::after { content: ''; width: calc(33.3% - 6px); } .CMS-file-list .van-checkbox[aria-checked="true"] { background-color: #f3f4f7; } .CMS-file-list .van-checkbox__icon { position: absolute; right: 10px; top: 5px; } /* .CMS-file-list .van-checkbox[aria-checked="false"] .van-checkbox__icon { display: none; } .CMS-file-list .van-checkbox[aria-checked="true"] .van-checkbox__icon { display: block; } */ .CMS-file-list .van-checkbox__label { margin: 0 auto; width: 100%; height: 100%; } .CMS-file-img { background-color: #fff; padding: 12px; margin: 0 auto 5px; width: 60px; height: 60px; } .CMS-file-img .van-image, .CMS-file-img .van-image__error { width: 100%; height: 100%; } .CMS-file-list .van-checkbox p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 22px; word-break: break-all; } .file-size { color: #cdcdcd; font-size: 12px; font-weight: 400; } .CMS-file-wrap { width: 100%; height: 100%; } .CMS-file-count { text-align: center; padding: 12px 0; } .CMS-btn-bottom { display: flex; } .CMS-btn-bottom .van-button { flex: 1; border-radius: 0; } /* CMS预览按钮 */ .space-cms-view { padding-bottom: 6px; } .space-cms-view-wrap { position: relative; display: inline-block; cursor: pointer; } .space-cms-view-wrap>div { background-color: #fff; } .space-cms-view-wrap:hover>div { background-color: #eee; border-color: #cdcdcd; } .space-cms-view-main { border: 1px solid #eee; border-radius: 6px; padding: 6px; font-size: 12px; position: relative; z-index: 3; } .space-cms-view-wrap .van-image { width: 25px; vertical-align: middle; margin-right: 3px; } .space-cms-view-wrap .van-image img { vertical-align: middle; } .space-cms-view-wrap .van-image i { font-size: 20px; vertical-align: middle; } .space-cms-view-wrap span { vertical-align: middle; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; } .more-file { width: calc(100% - 5px); height: calc(100% - 5px); position: absolute; bottom: -3px; left: 6px; border: 1px solid #eee; border-radius: 6px; z-index: 2; } .more-file-bottom { width: calc(100% - 8px); height: calc(100% - 8px); bottom: -6px; left: 12px; z-index: 1; } /* 上传进度条 */ .pop-progress { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); height: 55px; width: 80%; margin-top: -50px; padding: 10px 15px; box-shadow: 2px 5px 20px #ccc; border-radius: 4px; background-color: #fff; } .pop-progress .pop-progress-left { margin-top: 9px; float: left; color: #409EFF; } .pop-progress .pop-progress-left i { font-size: 32px; } .pop-progress .pop-progress-right { margin-left: 45px; } .pop-progress .pop-progress-right p { color: #606266; font-size: 12px; margin-bottom: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; width: 95%; } /* 对象选择器 */ .space-object-select-content { height: calc(100% - 56px); } .obj-select-list { height: calc(100% - 50px); overflow-y: auto; } .obj-select-list .van-checkbox { position: relative; } .obj-select-list .van-checkbox__icon { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); } .obj-select-list .van-checkbox__label { width: 100%; padding-top: 12px; } /* 底部 */ .obj-select-footer { background-color: #fff; box-shadow: 1px 1px 6px rgb(0 0 0 / 30%); width: 100%; height: 50px; line-height: 50px; padding-left: 20px; position: fixed; left: 0; bottom: 0; z-index: 1002; } .obj-select-footer .van-button { float: right; width: 40%; height: 100%; } .obj-select-count { font-size: 18px; } .obj-selecte-pop { padding-top: 20px; padding-bottom: 65px; } .obj-selecte-pop li { position: relative; padding-top: 12px; } .obj-remove-icon { color: #a1a1a1; font-size: 24px; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); } .space-object-select-content .van-overlay { z-index: 1000 !important; } .space-object-select-content .van-popup { z-index: 1001 !important; } .importantMescroll { height: 100% !important; }