my_learn.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <template>
  2. <view class="safeArea">
  3. <view style="width: 100%;text-align: center;position: fixed;height: 96rpx;z-index: 999;">
  4. <u-tabs :list="list" sticky :current="current" @change="change" active-color="#333" inactive-color="#999"></u-tabs>
  5. </view>
  6. <view class="learnWrap">
  7. <template v-if="current===0">
  8. <!-- <view class="noData">您暂无相关学时审核记录哦~</view> -->
  9. <view class="learnItem">
  10. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  11. <view class="status">
  12. <view class="label">审核状态:</view>
  13. <view class="val red">不可审核</view>
  14. </view>
  15. <view class="tip">
  16. <view class="label">审核提示:</view>
  17. <view class="val green">您的学时还未修完,请尽快完成课程学习</view>
  18. </view>
  19. <u-line color="#EEEEEE" />
  20. <view class="btnBox">
  21. <view class="btn">课程学习</view>
  22. </view>
  23. </view>
  24. <view class="learnItem">
  25. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  26. <view class="status">
  27. <view class="label">审核状态:</view>
  28. <view class="val blue">不可审核</view>
  29. </view>
  30. <view class="tip">
  31. <view class="label">审核提示:</view>
  32. <view class="val green">您的学时还未修完,请尽快完成课程学习</view>
  33. </view>
  34. </view>
  35. <view class="learnItem">
  36. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  37. <view class="status">
  38. <view class="label">审核状态:</view>
  39. <view class="val green">机构审核完成</view>
  40. </view>
  41. </view>
  42. <view class="learnItem">
  43. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  44. <view class="status">
  45. <view class="label">审核状态:</view>
  46. <view class="val green">机构审核完成</view>
  47. </view>
  48. <u-line color="#EEEEEE" />
  49. <view class="subTitle">这是一个考试标题</view>
  50. <view class="btnBox">
  51. <view class="btn">预约考试</view>
  52. </view>
  53. </view>
  54. <view class="learnItem">
  55. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  56. <view class="status">
  57. <view class="label">审核状态:</view>
  58. <view class="val green">机构审核完成</view>
  59. </view>
  60. <u-line color="#EEEEEE" />
  61. <view class="subTitle">这是一个考试标题</view>
  62. <view class="btnBox">
  63. <view class="btn">进入刷题</view>
  64. </view>
  65. </view>
  66. <view class="learnItem">
  67. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  68. <view class="status">
  69. <view class="label">审核状态:</view>
  70. <view class="val green">机构审核完成</view>
  71. </view>
  72. <view class="tip">
  73. <view class="label">审核提示:</view>
  74. <view class="val">机构已审核通过,需等待注册中心复审后即可获得继续教育学时。审核时间约15个工作日,届时请前往官网申请证书延期。
  75. <view class="link">复制官网链接</view>
  76. </view>
  77. </view>
  78. <u-line color="#EEEEEE" />
  79. <view class="btnBox">
  80. <view class="btn">课程学习</view>
  81. </view>
  82. </view>
  83. <view class="learnItem">
  84. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  85. <view class="status">
  86. <view class="label">审核状态:</view>
  87. <view class="val red">机构审核不通过
  88. <view class="remark">有<text class="red">3节</text>需重修</view>
  89. </view>
  90. </view>
  91. <view class="tip">
  92. <view class="label">审核提示:</view>
  93. <view class="val">请查看需重学记录,并及时重学对应课程,以免延误学时审核进度。
  94. </view>
  95. </view>
  96. <u-line color="#EEEEEE" />
  97. <view class="btnBox">
  98. <view class="btn">课程学习</view>
  99. </view>
  100. </view>
  101. </template>
  102. <template v-if="current===1">
  103. <!-- <view class="noData">您暂无相关学习凭证记录哦~</view> -->
  104. <view class="learnItem">
  105. <view class="title">2020年二建建筑工程管理与实补这是商品名称</view>
  106. <view class="number"><text class="label">编号:</text>GZXY123456789</view>
  107. <view class="btnBox">
  108. <view class="btn">电子照片</view>
  109. <view class="btn">下载凭证</view>
  110. </view>
  111. </view>
  112. </template>
  113. </view>
  114. </view>
  115. </template>
  116. <script>
  117. import { mapGetters } from 'vuex';
  118. export default {
  119. components: {
  120. },
  121. data() {
  122. return {
  123. current: 0,
  124. list: [
  125. {
  126. name: '学时审核'
  127. },
  128. {
  129. name: '学习凭证'
  130. }
  131. ]
  132. };
  133. },
  134. onShow() {
  135. },
  136. methods: {
  137. change(index){
  138. this.current = index;
  139. }
  140. },
  141. onReachBottom() {},
  142. computed: { ...mapGetters(['userInfo']) }
  143. };
  144. </script>
  145. <style >
  146. page {
  147. background: #EAEEF1;
  148. }
  149. </style>
  150. <style scoped lang="scss">
  151. .learnWrap{
  152. padding:98rpx 8rpx 8rpx;
  153. }
  154. .noData{
  155. font-size: 32rpx;
  156. font-family: PingFang SC;
  157. font-weight: 500;
  158. color: #999999;
  159. margin: 160rpx auto;
  160. text-align:center;
  161. }
  162. .learnItem{
  163. background: #FFFFFF;
  164. border-radius: 16rpx;
  165. padding: 32rpx 32rpx 0;
  166. font-family: PingFang SC;
  167. margin-bottom: 16rpx;
  168. overflow:hidden;
  169. .red{
  170. color:#FF3B30!important;
  171. }
  172. .blue{
  173. color:#007AFF!important;
  174. }
  175. .green{
  176. color:#34C759!important;
  177. }
  178. .title{
  179. font-size: 30rpx;
  180. font-weight: bold;
  181. color: #333333;
  182. margin-bottom: 68rpx;
  183. }
  184. .status{
  185. font-size: 24rpx;
  186. font-weight: 500;
  187. color: #666666;
  188. margin-bottom: 26rpx;
  189. display:flex;
  190. }
  191. .number{
  192. font-size: 24rpx;
  193. font-weight: 500;
  194. color: #666666;
  195. margin-bottom: 26rpx;
  196. font-size: 30rpx;
  197. font-weight: bold;
  198. font-family: PingFang SC;
  199. color:#333;
  200. .label{
  201. font-size: 24rpx;
  202. font-weight: 500;
  203. color: #666666;
  204. }
  205. }
  206. .val{
  207. font-size: 30rpx;
  208. font-weight: bold;
  209. color:#333;
  210. .remark{
  211. font-size: 24rpx;
  212. font-family: PingFang SC;
  213. font-weight: 500;
  214. color: #666666;
  215. }
  216. .link{
  217. font-size: 30rpx;
  218. font-family: PingFang SC;
  219. font-weight: 500;
  220. text-decoration: underline;
  221. color: #007AFF;
  222. margin-top: 36rpx;
  223. text-decoration: underline;
  224. }
  225. }
  226. .tip{
  227. font-size: 24rpx;
  228. font-weight: 500;
  229. color: #666666;
  230. margin: 30rpx 0 27rpx;
  231. display:flex;
  232. }
  233. .label{
  234. width: 120rpx;
  235. flex-shrink: 0;
  236. margin-top: 5rpx;
  237. }
  238. .subTitle{
  239. font-size: 30rpx;
  240. font-weight: bold;
  241. color: #333333;
  242. margin: 15rpx 0 40rpx;
  243. }
  244. .btnBox{
  245. height: 88rpx;
  246. display: flex;
  247. align-items: center;
  248. justify-content: flex-end;
  249. .btn{
  250. width: 224rpx;
  251. height: 56rpx;
  252. line-height: 56rpx;
  253. text-align: center;
  254. background: #007AFF;
  255. border-radius: 16rpx;
  256. font-size: 30rpx;
  257. font-family: PingFang SC;
  258. font-weight: 500;
  259. color: #FFFFFF;
  260. margin-left: 16rpx;
  261. }
  262. }
  263. }
  264. </style>