wangLuoXinXi.vue 773 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view class="content">
  3. <view class="box">
  4. <view class="">当前连接:YThuwai</view>
  5. </view>
  6. </view>
  7. </template>
  8. <script setup>
  9. import { ref, onMounted } from "vue";
  10. import { onShow } from "@dcloudio/uni-app";
  11. const list = ref([
  12. ])
  13. onMounted(()=>{
  14. // uni.getConnectedWifi({
  15. // success:(res)=>{
  16. // console.log('res',res)
  17. // }
  18. // })
  19. // uni.getWifiList({
  20. // success:(res)=>{
  21. // console.log('res',res)
  22. // },
  23. // fail: (err) => {
  24. // console.log('err',err)
  25. // }
  26. // })
  27. })
  28. </script>
  29. <style lang="scss" scoped>
  30. .content{
  31. height: 100vh;
  32. padding: 28rpx;
  33. background: linear-gradient(to bottom, #a9d4ff, #cce6ff);
  34. }
  35. .box{
  36. background-color: #fff;
  37. border-radius: 30rpx;
  38. height: 95vh;
  39. padding: 30rpx 28rpx;
  40. }
  41. </style>