my_question.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. <u-button type="primary" size="mini">进入刷题</u-button>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. data() {
  33. return {
  34. list:[
  35. 1,2,3
  36. ]
  37. }
  38. },
  39. onLoad(option) {
  40. // this.getDict()
  41. },
  42. onShow(){
  43. },
  44. methods: {
  45. studyIn(){
  46. this.$navTo.togo('/pages2/verify/input');
  47. },
  48. appointment(){
  49. this.$navTo.togo('/pages2/appointment/index');
  50. }
  51. },
  52. }
  53. </script>
  54. <style >
  55. page {
  56. background: #EAEEF1;
  57. }
  58. </style>
  59. <style scope>
  60. .box_progress{
  61. display: flex;
  62. justify-content:space-between;
  63. align-items: center;
  64. margin-top: 20rpx;
  65. }
  66. .bottomBox{
  67. background: #FFFFFF;
  68. width: 94%;
  69. border-bottom-left-radius: 24rpx;
  70. border-bottom-right-radius: 24rpx;
  71. margin: 0 auto;
  72. padding: 20rpx;
  73. }
  74. .content_box{
  75. display: flex;
  76. align-items: center;
  77. color: #999999;
  78. margin-top: 8rpx;
  79. }
  80. .content{
  81. color: #000000;
  82. margin: 0 8rpx;
  83. }
  84. .wk_icon{
  85. width: 24rpx;
  86. height: 24rpx;
  87. margin-right: 8rpx;
  88. }
  89. .class_item{
  90. width: 100%;
  91. height: 514rpx;
  92. background: #FFFFFF;
  93. box-shadow: 0rpx 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
  94. border-radius: 24rpx;
  95. padding: 20rpx;
  96. z-index: 999;
  97. position: relative;
  98. }
  99. </style>