/******************** 这里放组件样式 ********************/ /***** view *****/ view{box-sizing: border-box;} /***** 对齐方式 *****/ .ezy-tl{text-align: left;} .ezy-tc{text-align: center;} .ezy-tr{text-align: right;} /***** 超出省略 *****/ // 文本超出省略号显示 (一行) @mixin single-line-ellipsis() {text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;white-space: nowrap;word-break: break-all;} // 文本超出省略号显示 (多行) @mixin multi-line-ellipsis($rows: 3){-webkit-line-clamp:$rows;text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;word-wrap: break-word;display: -webkit-box;white-space: normal !important;-webkit-box-orient: vertical;} /***** 页面背景图 *****/ // no-repeat cover @mixin ezy-no-repeat-cover($position: center) { background-position: $position;background-size: cover;background-repeat: no-repeat; } // no-repeat contain @mixin ezy-no-repeat-contain($position: center) { background-position: $position;background-size: contain;background-repeat: no-repeat; } /***** 标题栏 *****/ // 三个元素 .ezy-navBar-box{ display: flex;align-items: center;justify-content: space-between;background-color: #fff; padding: 0 20rpx 20rpx;box-sizing: border-box;position: relative; .nav-bar-icon{ width: 24rpx;height: 38rpx; background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover(); } .nav-bar-title{font-size: 36rpx;color: #333;} // 考试数字 .nav-bar-other{ font-size: 30rpx;color: #fff;margin-right: 2%; .key-note{color: #ffff01;} } // 文字按钮 .text-btn{font-size: 26rpx;color: #666;padding-top: 4rpx;box-sizing: border-box;} } // 两个元素 .icon-title-navBar-box{ display: flex;align-items: center;justify-content: center;background-color: #fff; padding: 0 20rpx 20rpx;box-sizing: border-box;position: relative; .nav-bar-title{ font-size: 36rpx;height: 63rpx;line-height: 63rpx;color: #333;max-width: 70%; } .nav-bar-icon{ width: 24rpx;height: 38rpx;position: absolute;left: 24rpx;top: 12rpx; background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover(); } } // 仅一个返回按钮 .ezy-nav-bar-icon{width: 24rpx;height: 38rpx;position: absolute;left: 24rpx;top: var(--status-bar-height); background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover(); } /***** 查询框 *****/ .phone-search-box{ width: 100%;height: 110rpx;background-color:#f4f6fa; padding: 20rpx 42rpx;box-sizing: border-box; position: relative; .search-input { height: 70rpx;line-height: 70rpx;font-size: 28rpx;background-color:#fff; border-radius: 35rpx;padding: 0 70rpx 0 20rpx; } .uni-input-placeholder{color:#a4a4a4;} .search-icon { width: 100rpx;height: 60rpx;line-height: 60rpx;text-align: center; position: absolute;right: 52rpx;top: 25rpx; background-color: #3fd2a1; border-radius: 40rpx; } } /***** 考试须知 *****/ .phone-ksxz-dialog{ .uni-dialog-title{ padding: 24rpx 0!important;font-size: 30rpx;border-bottom: 1px solid #f5f5f5; .uni-popup__info{color: #333!important;} } .uni-dialog-content{ justify-content: flex-start!important; } .uni-dialog-button-text{color: #999!important;} .uni-dialog-button-text.uni-button-color{color: #3fd2a1!important;} .ksxz-content-box{ font-size: 28rpx;color: #333; >view{margin-bottom: 12rpx;line-height: 1.6;} .ksms-row{margin-bottom: 12rpx;} .ksms-intro{color: #666;} } }