my_question.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <view style="padding: 30rpx;">
  3. <view v-for="(item, index) in list" :key="index" style="margin-bottom: 30rpx;">
  4. <navigator url="/pages2/bank/detail">
  5. <view class="class_item">
  6. <image src="/static/login_bg.jpg" style="height: 316rpx;width: 100%;border-radius: 24rpx;"></image>
  7. <view style="color: #333333;font-weight: bold;font-size: 32rpx;">
  8. 2020年二建建筑工程管理与实务(实务专题
  9. 班)
  10. </view>
  11. <view class=".content_box">
  12. <image src="/static/icon/wk_icon2.png" class="wk_icon"></image>
  13. 学习有效期:<text class="content"> 2020.11.20 - 2021.12.19 </text>
  14. </view>
  15. </view>
  16. </navigator>
  17. <view class="bottomBox">
  18. <view class="box_progress">
  19. <view style="width: 60%;">
  20. <u-line-progress active-color="#007AFF" :percent="70"></u-line-progress>
  21. </view>
  22. <view>
  23. <navigator url="/pages2/bank/question_detail">
  24. <view class="btn">进入刷题</view>
  25. </navigator>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. data() {
  35. return {
  36. list:[
  37. 1,2,3
  38. ]
  39. }
  40. },
  41. onLoad(option) {
  42. // this.getDict()
  43. },
  44. onShow(){
  45. },
  46. methods: {
  47. studyIn(){
  48. this.$navTo.togo('/pages2/verify/input');
  49. },
  50. appointment(){
  51. this.$navTo.togo('/pages2/appointment/index');
  52. }
  53. },
  54. }
  55. </script>
  56. <style >
  57. page {
  58. background: #EAEEF1;
  59. }
  60. </style>
  61. <style lang="scss" scope>
  62. .box_progress{
  63. display: flex;
  64. justify-content:space-between;
  65. align-items: center;
  66. margin-top: 20rpx;
  67. .btn {
  68. width: 165rpx;
  69. height: 48rpx;
  70. background: #007AFF;
  71. border-radius: 16rpx;
  72. line-height: 48rpx;
  73. text-align: center;
  74. color:#fff;
  75. font-size: 30rpx;
  76. }
  77. }
  78. .bottomBox{
  79. background: #FFFFFF;
  80. width: 94%;
  81. border-bottom-left-radius: 24rpx;
  82. border-bottom-right-radius: 24rpx;
  83. margin: 0 auto;
  84. padding: 20rpx;
  85. }
  86. .content_box{
  87. display: flex;
  88. align-items: center;
  89. color: #999999;
  90. margin-top: 8rpx;
  91. }
  92. .content{
  93. color: #000000;
  94. margin: 0 8rpx;
  95. }
  96. .wk_icon{
  97. width: 24rpx;
  98. height: 24rpx;
  99. margin-right: 8rpx;
  100. }
  101. .class_item{
  102. width: 100%;
  103. height: 514rpx;
  104. background: #FFFFFF;
  105. box-shadow: 0rpx 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
  106. border-radius: 24rpx;
  107. padding: 20rpx;
  108. z-index: 999;
  109. position: relative;
  110. }
  111. </style>