index.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <view class="specialQuestion">
  3. <view class="title">专项答题</view>
  4. <view class="subTitle">术业有专攻,道义有精论</view>
  5. <!-- 专项卡 -->
  6. <view class="cardBox" v-for="item in 6" :key="item">
  7. <view class="card_title">
  8. 专家:就地过年要讲科打发时间开工红包达康书记发哈VB可代发激发好吧v学,低风险区没必要倡导低风险区没必要倡导
  9. </view>
  10. <view class="time">
  11. 2023/05/30
  12. </view>
  13. <view class="config">
  14. <view class="points">
  15. +1积分
  16. </view>
  17. <!-- <view class="viewAnalysis">
  18. 查看解析
  19. </view> -->
  20. <view class="continueBtn">
  21. 继续答题
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. };
  32. }
  33. }
  34. </script>
  35. <style lang="scss">
  36. page {
  37. background-color: #f9f9f9;
  38. height: 100%;
  39. }
  40. .specialQuestion {
  41. padding: 40rpx;
  42. .title {
  43. font-size: 60rpx;
  44. font-weight: 900;
  45. }
  46. .subTitle {
  47. margin-top: 20rpx;
  48. margin-bottom: 60rpx;
  49. color: #666;
  50. }
  51. .cardBox {
  52. height: 260rpx;
  53. background-color: #fff;
  54. padding: 30rpx;
  55. margin: 24rpx 0;
  56. box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.2);
  57. border-radius: 20rpx;
  58. display: flex;
  59. flex-direction: column;
  60. justify-content: space-between;
  61. .card_title {
  62. font-weight: 600;
  63. font-size: 30rpx;
  64. display: -webkit-box;
  65. -webkit-line-clamp: 2;
  66. -webkit-box-orient: vertical;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. }
  70. .time {
  71. color: #999;
  72. }
  73. .config {
  74. display: flex;
  75. justify-content: space-between;
  76. align-items: center;
  77. font-size: 24rpx;
  78. .points{
  79. color: #f8592e;
  80. background-color: pink;
  81. padding: 10rpx 20rpx;
  82. border-radius: 10rpx;
  83. }
  84. .continueBtn{
  85. color: #fff;
  86. background-color: pink;
  87. padding: 10rpx 20rpx;
  88. border-radius: 10rpx;
  89. background: linear-gradient(to top, #f94c1b, #fc7b34)
  90. }
  91. }
  92. }
  93. }
  94. ;
  95. </style>