猫妈狗爸伴宠师小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
1.9 KiB

  1. <template>
  2. <!-- <view>培训考核</view> -->
  3. <view>
  4. <view class="box">
  5. <view class="">
  6. <view class="color-fff size-28">
  7. 答题进度 2/5
  8. </view>
  9. <view class="step mt20 mb32">
  10. <view class="in">
  11. </view>
  12. </view>
  13. <view class="content bg-fff">
  14. <view class="label size-22 level" :style="{borderRadius:'10rpx'}">
  15. 主观题
  16. </view>
  17. <view class="">
  18. <view class="size-28 mt32 mb20">
  19. 1喂养服务流程:如果您收到一笔喂养猫咪的订单备注猫咪性格怕生请问您会如何进行服务?请详细描述您的全部服务流程(若服务宠物不包含猫咪可回答
  20. </view>
  21. <view class="size-28 color-777 p20 daan">
  22. <textarea value="" placeholder="请输入您的答案,不得低于700个字" />
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="footer-btn buttom ">
  29. <view class="btn" @click="toNext">
  30. 提交
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script setup>
  36. const toNext = () => {
  37. uni.navigateTo({
  38. url: "/otherPages/authentication/examination/trainCompleted/index"
  39. })
  40. }
  41. </script>
  42. <style scoped lang="scss">
  43. .active {
  44. color: #FFBF60;
  45. background-color: rgb(255, 241, 240);
  46. }
  47. .daan {
  48. background-color: #F3F3F3;
  49. border-radius: 50rpx;
  50. }
  51. .p20 {
  52. padding: 20px;
  53. }
  54. .box {
  55. height: 180rpx;
  56. background-image: linear-gradient(to bottom, #ffbf60, #f2f2f2);
  57. padding: 16rpx;
  58. position: absolute;
  59. .step {
  60. width: 720rpx;
  61. height: 15rpx;
  62. border-radius: 32rpx;
  63. background-color: #D9D9D9;
  64. .in {
  65. width: 50%;
  66. height: 15rpx;
  67. background-color: #ffbf60;
  68. border-radius: 32rpx;
  69. }
  70. }
  71. }
  72. .content {
  73. border-radius: 20rpx;
  74. padding: 15rpx 20rpx;
  75. position: relative;
  76. bottom: 0;
  77. left: 0;
  78. .label {
  79. width: 80rpx;
  80. justify-content: center;
  81. padding: 5rpx 15rpx;
  82. color: #fff;
  83. background-color: #FFBF60;
  84. }
  85. }
  86. .level{
  87. display: flex;
  88. }
  89. </style>