submit.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <view class="container">
  3. <image class="img" src="../../static/img/img34.png" mode="scaleToFill"></image>
  4. <view class="text">提交成功</view>
  5. <view class="btm">
  6. <view class="btn" @click="nav('pages/index/index')">返回首页</view>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. data () {
  13. return {}
  14. },
  15. methods: {
  16. nav (url) {
  17. uni.navigateTo({
  18. url
  19. })
  20. }
  21. }
  22. }
  23. </script>
  24. <style lang="scss">
  25. .container {
  26. background-color: #fff;
  27. width: 750rpx;
  28. height: 1334rpx;
  29. .img {
  30. width: 300rpx;
  31. height: 250rpx;
  32. margin-top: 200rpx;
  33. margin-left: 210rpx;
  34. }
  35. .text {
  36. font-size: 40rpx;
  37. font-family: PingFang SC;
  38. font-weight: 500;
  39. color: #333333;
  40. line-height: 40rpx;
  41. padding-left: 300rpx;
  42. }
  43. .btm {
  44. width: 350rpx;
  45. height: 80rpx;
  46. background: #6EAB4E;
  47. border-radius: 40rpx;
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. margin-left: 200rpx;
  52. margin-top: 90rpx;
  53. .btn {
  54. font-size: 32rpx;
  55. font-family: PingFang SC;
  56. font-weight: 500;
  57. color: #FFFFFF;
  58. }
  59. }
  60. }
  61. </style>