news_success.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <template>
  2. <view class="success">
  3. <image src="../../static/images/success.png" mode=""></image>
  4. <view class="tip">
  5. 发布成功!
  6. </view>
  7. <view class="text">
  8. 恭喜您创建新闻并发布完成,后期您将收到发布
  9. 内容是否通过审核。
  10. </view>
  11. <view class="back" @click="back">
  12. 返回首页
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. }
  21. },
  22. onLoad() {
  23. },
  24. methods: {
  25. back() {
  26. uni.reLaunch({
  27. url: '../index/index'
  28. })
  29. }
  30. }
  31. }
  32. </script>
  33. <style lang="scss" scoped>
  34. .success {
  35. text-align: center;
  36. image {
  37. width: 90px;
  38. height: 90px;
  39. margin: 0 auto;
  40. margin-top: 30%;
  41. }
  42. .tip {
  43. font-size: 12px;
  44. font-family: PingFang SC;
  45. font-weight: 400;
  46. line-height: 20px;
  47. color: #282828;
  48. margin-top: 5px;
  49. opacity: 1;
  50. }
  51. .text {
  52. font-size: 14px;
  53. font-family: PingFang SC;
  54. font-weight: 400;
  55. line-height: 20px;
  56. margin: 0 40px;
  57. margin-top: 22px;
  58. color: #6C6C6C;
  59. opacity: 1;
  60. text-align: left;
  61. }
  62. .back {
  63. width: 108px;
  64. height: 35px;
  65. line-height: 35px;
  66. margin: 0 auto;
  67. margin-top: 50px;
  68. border: 1px solid #707070;
  69. opacity: 1;
  70. border-radius: 21px;
  71. }
  72. }
  73. </style>