teacherList.wxss 5.6 KB

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