teacherList.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. /* pages/teacherList/teacherList.wxss */
  2. /* 搜索老师 */
  3. /* 找老师的按钮 */
  4. .toOpenSearch{
  5. width: 140rpx;
  6. height: 50rpx;
  7. line-height: 50rpx;
  8. margin-left: 20rpx;
  9. border: 1rpx solid gray;
  10. border-radius: 70rpx;
  11. padding: 4rpx 20rpx;
  12. }
  13. .mask{
  14. height: 300rpx;
  15. }
  16. /* 筛选区的样式 */
  17. .searchContainer {
  18. display: flex;
  19. padding-bottom: 10rpx;
  20. width: 100%;
  21. line-height: 50rpx;
  22. background-color: #fff;
  23. font-size: 28rpx;
  24. flex-wrap: wrap;
  25. position: sticky;
  26. top: 0;
  27. }
  28. /* 筛选区列表的样式 */
  29. .searchList{
  30. width: 28%;
  31. height: 50rpx;
  32. text-align: center;
  33. margin-top: 10rpx;
  34. margin-left: 20rpx;
  35. border: 1rpx solid gray;
  36. border-radius: 30rpx;
  37. overflow: hidden;
  38. }
  39. /* 下拉箭头图标 */
  40. .iconImg {
  41. width: 26rpx;
  42. height: 26rpx;
  43. }
  44. /* 搜索按钮 */
  45. /* 搜索按钮外层容器 */
  46. .searchBtn-container{
  47. height: 50rpx;
  48. background-color: #fff;
  49. display: flex;
  50. position: sticky;
  51. top: 136rpx;
  52. }
  53. /* 搜索按钮和清除选择按钮的公共样式 */
  54. .searchBtn,
  55. .clearBtn{
  56. border:1rpx solid gray;
  57. border-radius: 30rpx;
  58. height: 38rpx;
  59. line-height: 40rpx;
  60. padding: 4rpx 20rpx;
  61. font-size: 28rpx;
  62. }
  63. /* 搜索按钮 */
  64. .searchBtn{
  65. margin-left: 20rpx;
  66. }
  67. /* 清除选择按钮 */
  68. .clearBtn{
  69. display: flex;
  70. position: absolute;
  71. margin-left: auto;
  72. right: 20rpx;
  73. }
  74. /* 搜索区下方的隔离区 */
  75. .interval{
  76. height: 10rpx;
  77. margin-top: 20rpx;
  78. background-color: gray;
  79. }
  80. /* 老师列表 */
  81. .teachInfo {
  82. width: 96%;
  83. display: flex;
  84. margin-top: 20rpx;
  85. margin-left: 10rpx;
  86. padding: 10rpx 0;
  87. /* border: 1rpx solid red; */
  88. border-bottom: 1rpx solid gray;
  89. }
  90. /* 老师头像 */
  91. .teachImg {
  92. width: 20%;
  93. margin: 0 10rpx;
  94. border-radius: 20rpx;
  95. }
  96. /* 老师介绍外容器 */
  97. .introduce {
  98. width: 70%;
  99. /* height: 400rpx; */
  100. /* border: 1rpx solid red; */
  101. padding: 10rpx;
  102. }
  103. /* 老师名字 */
  104. .teachName {
  105. font-weight: bold;
  106. }
  107. /* 老师资质 */
  108. .attribute {
  109. margin-left: 20rpx;
  110. color: rgb(12, 182, 12);
  111. font-size: 26rpx;
  112. }
  113. /* 日期 */
  114. .day {
  115. float: right;
  116. color: pink;
  117. font-size: 28rpx;
  118. }
  119. /* 成交记录 */
  120. .transactionContainer {
  121. margin-top: 10rpx;
  122. display: flex;
  123. }
  124. /* 教龄和成交记录的标签 */
  125. .teachAgeIcon,
  126. .transaction {
  127. /* margin: 10rpx; */
  128. padding: 2rpx;
  129. border: 1rpx solid;
  130. border-radius: 10rpx;
  131. font-size: 26rpx;
  132. color: white;
  133. }
  134. /* 教龄标签的背景色 */
  135. .teachAgeIcon {
  136. background-color: rgba(255, 0, 0, .6);
  137. }
  138. /* 成交记录标签的背景色 */
  139. .transaction {
  140. background-color: rgba(0, 128, 0, .6);
  141. }
  142. /* 教龄和成交记录标签后的文字 */
  143. .teachYears,
  144. .transactionTotal {
  145. font-size: 24rpx;
  146. margin-left: 10rpx;
  147. }
  148. /* 最新接单 */
  149. .transactionList {
  150. margin-top: 10rpx;
  151. color: green;
  152. font-size: 24rpx;
  153. }
  154. /* 可授课科目 */
  155. .courseList {
  156. margin-top: 10rpx;
  157. font-size: 30rpx;
  158. }
  159. /* 自我介绍 */
  160. .introduceDetail {
  161. margin-top: 10rpx;
  162. font-size: 28rpx;
  163. }
  164. /* 自我介绍的内容 */
  165. .introduceDetail text {
  166. overflow: hidden;
  167. text-overflow: ellipsis;
  168. display: -webkit-box;
  169. /*设置对齐模式*/
  170. -webkit-box-orient: vertical;
  171. /*设置多行的行数,本例为两行*/
  172. -webkit-line-clamp: 4;
  173. }
  174. /* 老师身份、学历、性别、大学、老师照片选项区的公共样式 */
  175. .teachId,
  176. .eduList,
  177. .teachSex,
  178. .schoolList,
  179. .teachImgList
  180. {
  181. background-color: #F3F3F3;
  182. border: 1rpx solid #E6E6E6;
  183. position: fixed;
  184. padding: 10rpx;
  185. z-index: 3;
  186. }
  187. /* 课程科目 */
  188. .course{
  189. position: fixed;
  190. width: 100%;
  191. height: 100%;
  192. top: 64rpx;
  193. background-color: #F3F3F3;
  194. border: 1rpx solid #E6E6E6;
  195. }
  196. .courseLists{
  197. width: 160rpx;
  198. height: 40rpx;
  199. /* background-color: yellow; */
  200. border-right: 1rpx solid red;
  201. border-bottom: 1rpx solid red;
  202. padding: 20rpx 20rpx 20rpx 40rpx;
  203. }
  204. /* 选中课程科目的样式 */
  205. .courseActive{
  206. width: 160rpx;
  207. height: 40rpx;
  208. color: #ff9000;
  209. font-weight: bold;
  210. border-bottom: 1rpx solid gray;
  211. padding: 20rpx 20rpx 20rpx 40rpx;
  212. }
  213. /* 课程详情 */
  214. .courseDetail{
  215. position: fixed;
  216. width: calc(100vw - 224rpx);
  217. /* height: 100%; */
  218. top: 64rpx;
  219. left: 224rpx;
  220. background-color: #F3F3F3;
  221. display: flex;
  222. flex-direction: row;
  223. flex-wrap: wrap;
  224. }
  225. .courseDetailLists{
  226. padding: 20rpx;
  227. border: 1rpx solid #E6E6E6;
  228. border-radius: 16rpx;
  229. height: 30rpx;
  230. line-height: 30rpx;
  231. margin: 10rpx;
  232. }
  233. /* 选中课程详情的样式 */
  234. .courseDetailActive{
  235. height: 40rpx;
  236. color: #ff9000;
  237. font-weight: bold;
  238. padding: 20rpx;
  239. border: 1rpx solid #E6E6E6;
  240. border-radius: 16rpx;
  241. height: 30rpx;
  242. line-height: 30rpx;
  243. margin: 10rpx;
  244. }
  245. /* 老师身份选项区 */
  246. .teachId{
  247. top: 64rpx;
  248. left: 34%;
  249. }
  250. /* 老师身份、学历、性别、大学、老师照片筛选内容区的公共样式 */
  251. .detail{
  252. margin: 30rpx 0;
  253. }
  254. /* 老师学历选项区 */
  255. .eduList{
  256. width: 30%;
  257. top: 64rpx;
  258. right: 20rpx;
  259. }
  260. /* 老师性别选项区 */
  261. .teachSex{
  262. width: 22%;
  263. top: 126rpx;
  264. left: 20rpx;
  265. }
  266. /* 大学选项区 */
  267. .schoolList{
  268. width: 50%;
  269. top: 126rpx;
  270. left: 34%;
  271. }
  272. /* 老师照片选项区 */
  273. .teachImgList{
  274. width: 180rpx;
  275. top: 126rpx;
  276. left: 66%;
  277. }