| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <view class="content" >
- <view :style="{ paddingTop: statusBarHeight + 'px' }"></view>
- <view class="box">
- <view class="flex jc_between text-28 text-500 h-62">
- <view>国家</view>
- <view>中国</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>省份</view>
- <view>福建省</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>城市</view>
- <view>厦门市</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>地区</view>
- <view>湖里区</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>运营商</view>
- <view>未知</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>经纬度</view>
- <view>118.122291--24.517468</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>国家识别码</view>
- <view>CN</view>
- </view>
- <view class="flex jc_between text-28 text-500 h-62">
- <view>IP地址</view>
- <view>--</view>
- </view>
- </view>
- </view>
- </template>
- <script setup>
- import { ref, onMounted } from "vue";
- import { onShow } from "@dcloudio/uni-app";
- var statusBarHeight = uni.getStorageSync('statusBarHeight')
- const list = ref([
-
- ])
- onMounted(()=>{
- uni.getNetworkType({
- success: function (res) {
- console.log(res);
- }
- });
- // uni.getConnectedWifi({
- // success: function (res) {
- // console.log(res);
- // }
- // });
- })
- </script>
- <style lang="scss" scoped>
- .content{
- height: 100vh;
- padding: 28rpx;
- background: linear-gradient(to bottom, #a9d4ff, #cce6ff);
- }
- .box{
- background-color: #fff;
- border-radius: 30rpx;
- min-height: 500rpx;
- padding: 30rpx 28rpx 0;
- }
- </style>
|