teacherList.wxss 5.6 KB

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