submit.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <view class="sub">
  3. <image :src="subimg" class="sub_img"></image>
  4. <view class="sub_tit">提交成功</view>
  5. <view class="sub_txt">您的人口信息情况已提交成功</view>
  6. <view class="sub_back" @click="getHome">返回首页</view>
  7. </view>
  8. </template>
  9. <script>
  10. export default{
  11. data(){
  12. return{
  13. subimg:require("@/static/image/submit.png"),
  14. }
  15. },
  16. methods:{
  17. getHome(){
  18. uni.reLaunch({
  19. url:"/pages/index/index"
  20. })
  21. }
  22. }
  23. }
  24. </script>
  25. <style scoped lang="scss">
  26. .sub{padding: 110rpx 100rpx;box-sizing: border-box;width: 100%;}
  27. .sub_img{width: 500rpx;height: 270rpx;display: block;margin:0 auto 40rpx;}
  28. .sub_tit{font-size: 34rpx;font-weight: bold;color: #343434;margin-bottom: 20rpx;text-align: center;}
  29. .sub_txt{font-size: 28rpx;color: #AAAAAA;text-align: center;}
  30. .sub_back{width: 362rpx;height:98rpx;border: 2rpx solid #009FE8;border-radius: 48rpx;display: flex;align-items: center;justify-content: center;font-size: 34rpx;color: #009FE8;margin:124rpx auto 0;}
  31. </style>