123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- /* pages/findTeacher/findTeacher.wxss */
- /* 设置页面背景 */
- .teachWrapper{
- background-color: #E2F0D9;
- height: 100%;
- padding: 20rpx;
- }
- /* 设置单个教员背景 */
- .teachDetail{
- display: flex;
- position: relative;
- /* border: 1rpx solid gray; */
- padding: 10rpx 0;
- border-radius: 20rpx;
- background-color: #FFF2CC;
- margin-bottom: 20rpx;
- font-weight: bold;
- font-size: 28rpx;
- }
- .teachIntroTop{
- display: flex;
- }
- /* 教员头像 */
- .teachImg{
- width: 22%;
- margin: 10rpx;
- border-radius: 20rpx;
- }
- .teachIntro{
- margin-left: 10rpx;
- }
- /* 科目 */
- .course{
- display: flex;
- }
- .teachCourse{
- margin-left: 10rpx;
- width: 160rpx;
- display: block;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* 右侧部分定位 */
- .teachIntroRight{
- position: absolute;
- /* right: 30rpx; */
- left: 65%;
- }
- /* 教员学历和教龄 */
- .teachEduAndAge{
- display: flex;
- }
- /* 教龄图标 */
- .teachAgeIcon {
- margin-left: 20rpx;
- padding: 2rpx;
- border: 1rpx solid;
- border-radius: 10rpx;
- font-size: 26rpx;
- color: white;
- background-color: #FF6666;
- }
- /* 教龄 */
- .teachAge{
- margin-left: 10rpx;
- font-weight: bold;
- color: red;
- }
- /* 距离 */
- .teachDistance{
- margin-top: 20rpx;
- color: red;
- }
- /* 距离数字 */
- .distance{
- margin: 0 10rpx;
- font-size: 40rpx;
- font-weight: bold;
- }
- /* 成功经验 */
- .experience{
- display: flex;
- }
- .teachExperience{
- width: 300rpx;
- margin-left: 10rpx;
- display: block;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
|