complaintResult.vue 693 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view class="content">
  3. <view style="background-color: #bfb1fc; height: 60px;"></view>
  4. <image class="w" style="height: 480px;" src="/static/image/source/tousu_jieguo.jpg"></image>
  5. <view class="btn" @click="outApp">退出应用</view>
  6. </view>
  7. </template>
  8. <script setup>
  9. import { ref, onMounted } from "vue";
  10. import { onShow } from "@dcloudio/uni-app";
  11. const outApp = ()=>{
  12. uni.showToast({
  13. title:'退出成功'
  14. })
  15. // UTSAndroid.exit()
  16. }
  17. </script>
  18. <style lang="scss" scoped>
  19. .btn{
  20. width: 40vw;
  21. height: 80rpx;
  22. text-align: center;
  23. line-height: 80rpx;
  24. color: #fff;
  25. border-radius: 12rpx;
  26. background-color: #f03433;
  27. transform: translate(30vw,50%);
  28. }
  29. </style>