course.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. /* share/pages/course/course.wxss */
  2. .topbox {
  3. display: block;
  4. width: 100%;
  5. background-color: #ffffff;
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. z-index: 9999999;
  10. }
  11. .leftindexbox {
  12. position: absolute;
  13. left: 8px;
  14. width: 70px;
  15. padding: 4px 0;
  16. height: 28px;
  17. border-radius: 18px;
  18. box-sizing: border-box;
  19. }
  20. .leftindexbox .leftgoto {
  21. display: block;
  22. width: 8px;
  23. height: 14px;
  24. float: left;
  25. margin-left: 11px;
  26. transform: rotateY(180deg);
  27. position: relative;
  28. top: 2px;
  29. z-index: 9;
  30. }
  31. .gotoindex {
  32. display: block;
  33. width: 16px;
  34. height: 16px;
  35. float: right;
  36. position: relative;
  37. right: 10px;
  38. top: 1px;
  39. }
  40. .leftindexbox text {
  41. position: absolute;
  42. height: 14px;
  43. width: 1px;
  44. left: 30px;
  45. top: 6px;
  46. background-color: #d1cfcf;
  47. }
  48. .leftitbox{
  49. display: block;
  50. width: 30px;
  51. height: 28px;
  52. position: absolute;
  53. top: 0;
  54. left: 0;
  55. z-index: 10;
  56. }
  57. .gotoidxbox{
  58. display: block;
  59. position: absolute;
  60. top: 0;
  61. right: 0;
  62. width: 35px;
  63. height: 28px;
  64. z-index: 9;
  65. }
  66. .titbox {
  67. position: fixed;
  68. width: 100%;
  69. box-sizing: border-box;
  70. z-index: 100;
  71. overflow: hidden;
  72. }
  73. .titleStyle {
  74. font-weight: bold;
  75. width: 76%;
  76. }
  77. /* ------------------ */
  78. .course {
  79. width: 100%;
  80. height: auto;
  81. position: relative;
  82. background-color: #fff;
  83. padding-bottom: 88rpx;
  84. }
  85. .coverImage {
  86. width: 100%;
  87. height: auto;
  88. max-height: 1000rpx;
  89. }
  90. .coverImage > image {
  91. width: 100%;
  92. }
  93. .courseTab {
  94. width: 100%;
  95. height: 90rpx;
  96. display: flex;
  97. align-items: center;
  98. }
  99. .courseTab > view {
  100. flex: 1;
  101. height: 88rpx;
  102. display: flex;
  103. justify-content: center;
  104. align-items: center;
  105. font-size: 32rpx;
  106. color: #999999;
  107. }
  108. .tabActive {
  109. color: #249EFB !important;
  110. position: relative;
  111. }
  112. .tabActive::after {
  113. content: " ";
  114. width: 50rpx;
  115. height: 4rpx;
  116. background-color: #249EFB;
  117. position: absolute;
  118. bottom: 0rpx;
  119. left: 50%;
  120. transform: translateX(-50%);
  121. }
  122. .instruction {
  123. width: 100%;
  124. height: auto;
  125. }
  126. .iTitle {
  127. padding: 30rpx 20rpx 20rpx;
  128. font-size: 36rpx;
  129. font-weight: 600;
  130. color: #000000;
  131. }
  132. .iMessage {
  133. width: 100%;
  134. height: auto;
  135. box-sizing: border-box;
  136. padding: 0rpx 20rpx 20rpx;
  137. display: flex;
  138. }
  139. .iMsgleft {
  140. flex: 1;
  141. display: flex;
  142. align-items: center;
  143. color: #999999;
  144. font-size: 24rpx;
  145. }
  146. .iMsgRight {
  147. color: #999999;
  148. font-size: 24rpx;
  149. }
  150. .ml10 {
  151. margin-left: 10rpx;
  152. }
  153. .idescBox {
  154. width: 100%;
  155. font-size: 32rpx;
  156. color: #000000;
  157. box-sizing: border-box;
  158. padding: 0rpx 20rpx 10rpx;
  159. }
  160. .iDescInfo {
  161. width: 100%;
  162. height: auto;
  163. overflow: hidden;
  164. box-sizing: border-box;
  165. padding: 10rpx 20rpx 20rpx;
  166. font-size: 28rpx;
  167. color: #000000;
  168. }
  169. .courselist {
  170. width: 100%;
  171. height: auto;
  172. overflow: hidden;
  173. box-sizing: border-box;
  174. padding: 20rpx;
  175. }
  176. .courseItem {
  177. width: 100%;
  178. height: 88rpx;
  179. background-color: #f1f1f1;
  180. border-radius: 8rpx;
  181. display: flex;
  182. margin-bottom: 20rpx;
  183. }
  184. .itemleft {
  185. width: 140rpx;
  186. height: 100%;
  187. position: relative;
  188. display: flex;
  189. align-items: center;
  190. justify-content: center;
  191. }
  192. .itemleft::after {
  193. content: " ";
  194. width: 10rpx;
  195. height: 88rpx;
  196. background-color: #cbcbcb;
  197. position: absolute;
  198. top: 0rpx;
  199. left: 50%;
  200. transform: translateX(-50%);
  201. }
  202. .itemleft > image {
  203. width: 48rpx;
  204. height: 48rpx;
  205. position: relative;
  206. z-index: 9;
  207. border-radius: 50%;
  208. overflow: hidden;
  209. border: 4rpx solid #f1f1f1;
  210. }
  211. .itemRight {
  212. width: calc(100% - 140rpx);
  213. height: 100%;
  214. display: flex;
  215. align-items: center;
  216. color: #747678;
  217. }
  218. .signupBtn {
  219. width: 100%;
  220. height: 88rpx;
  221. position: fixed;
  222. bottom: 0rpx;
  223. left: 0rpx;
  224. z-index: 9;
  225. background-color: #249EFB;
  226. color: #fff;
  227. text-align: center;
  228. line-height: 88rpx;
  229. font-size: 32rpx;
  230. }
  231. /* ---------------------------- */
  232. .viewMask {
  233. width: 100vw;
  234. height: 100vh;
  235. position: fixed;
  236. top: 0rpx;
  237. left: 0rpx;
  238. background-color: rgba(0, 0, 0, 0.4);
  239. z-index: 99999;
  240. display: flex;
  241. align-items: center;
  242. justify-content: center;
  243. }
  244. .viewBlock {
  245. width: 80%;
  246. height: 500rpx;
  247. background-color: #fff;
  248. border-radius: 20rpx;
  249. position: relative;
  250. box-sizing: border-box;
  251. overflow: hidden;
  252. padding: 80rpx 0rpx;
  253. }
  254. .viewTitle {
  255. width: 100%;
  256. height: 80rpx;
  257. text-align: center;
  258. line-height: 80rpx;
  259. font-size: 30rpx;
  260. color: #333333;
  261. font-weight: 600;
  262. border-bottom: 1rpx solid #f2f2f2;
  263. position: absolute;
  264. top: 0rpx;
  265. left: 0rpx;
  266. }
  267. .viewButton {
  268. width: 100%;
  269. height: 80rpx;
  270. text-align: center;
  271. line-height: 80rpx;
  272. position: absolute;
  273. bottom: 0rpx;
  274. left: 0rpx;
  275. font-size: 30rpx;
  276. background-color: #249EFB;
  277. border-radius: 0rpx;
  278. color: #fff;
  279. }
  280. .viewContent {
  281. width: 100%;
  282. height: 100%;
  283. box-sizing: border-box;
  284. padding: 20rpx;
  285. }
  286. .viewInput {
  287. width: 100%;
  288. height: 80rpx;
  289. display: flex;
  290. align-items: center;
  291. border: 2rpx solid #f2f2f2;
  292. border-radius: 10rpx;
  293. box-sizing: border-box;
  294. padding: 0rpx 20rpx;
  295. margin-bottom: 20rpx;
  296. }
  297. .viewInput > view {
  298. font-size: 28rpx;
  299. margin-right: 20rpx;
  300. color: #999999;
  301. }
  302. .viewInput > view > text {
  303. color: red;
  304. }
  305. .viewInput > input {
  306. flex: 1;
  307. font-size: 28rpx;
  308. }