ok.vue 682 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <view class="content">
  3. <image class="ok" src="../../static/commit_ok.png"></image>
  4. <view class="message">提交成功</view>
  5. <button class="button" type="primary" @click="goBack()">点击返回</button>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. }
  13. },
  14. methods: {
  15. goBack(){
  16. uni.navigateTo({
  17. url: 'index'
  18. });
  19. }
  20. }
  21. }
  22. </script>
  23. <style>
  24. .content{
  25. margin-top: 100rpx;
  26. margin-left: 10%;
  27. }
  28. .message{
  29. font-size: large;
  30. font-weight: bold;
  31. margin-top: 50rpx;
  32. margin-left: 34%;
  33. }
  34. .button{
  35. font-size: large;
  36. font-weight: bold;
  37. margin-top: 50rpx;
  38. margin-left: 20%;
  39. width: 50%;
  40. }
  41. </style>