questionnaireResult.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <view class="page adffcacjc" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='问卷结果' backUrl="/pages/questionnaire"></cus-header>
  4. <div class="top adffcacjc">
  5. <image src="@/static/result.png"></image>
  6. <div class="text">您的问卷已经提交,感谢您的参与<br>报告将在问卷完成后<br>由教练统一发送,请耐心等待!</div>
  7. </div>
  8. <div class="btns adfacjb">
  9. <div class="pre" @tap="toBack">返回</div>
  10. <div class="pre ck" @tap="reviewRepoer">查看报告</div>
  11. </div>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. data(){
  17. return {
  18. }
  19. },
  20. methods:{
  21. toBack(){
  22. uni.redirectTo({
  23. url:'/pages/questionnaire'
  24. })
  25. },
  26. reviewRepoer(){
  27. uni.navigateTo({
  28. url:'/pages/report'
  29. })
  30. },
  31. }
  32. }
  33. </script>
  34. <style scoped lang="less">
  35. .page{
  36. background: #FFFFFF;
  37. box-sizing: border-box;
  38. .top{
  39. image{
  40. width: 214rpx;
  41. height: 214rpx;
  42. }
  43. .text{
  44. font-family: PingFangSC, PingFang SC;
  45. font-weight: 400;
  46. font-size: 32rpx;
  47. color: #393939;
  48. line-height: 51rpx;
  49. text-align: center;
  50. margin-top: 30rpx;
  51. }
  52. }
  53. .btns{
  54. width: calc(100% - 80rpx);
  55. margin: 306rpx 40rpx 0;
  56. .pre{
  57. width: calc(50% - 15rpx);
  58. height: 88rpx;
  59. border: 1rpx solid #761E6A;
  60. border-radius: 20rpx;
  61. font-family: PingFangSC, PingFang SC;
  62. font-weight: 400;
  63. font-size: 32rpx;
  64. color: #761E6A;
  65. line-height: 88rpx;
  66. text-align: center;
  67. letter-spacing: 2rpx;
  68. &.ck{
  69. background: #833478;
  70. color: #FFFFFF;
  71. }
  72. }
  73. }
  74. }
  75. </style>