Files
2025-12-29 14:59:44 +08:00

35 lines
960 B
Vue

<template>
<view class="page padding">
<view class="padding bg-white radius">
<view class="flex justify-between padding-bottom solid-bottom">
<view>截屏后提示</view>
<up-switch v-model="value" activeColor="#07C160" @change="change" ></up-switch>
</view>
<view class="flex justify-between padding-bottom padding-top solid-bottom">
<view>开启屏幕旋转</view>
<up-switch v-model="value" activeColor="#07C160" @change="change"></up-switch>
</view>
<view class="flex justify-between padding-bottom padding-top solid-bottom">
<view>获取地理位置</view>
<up-switch v-model="value" activeColor="#07C160" @change="change"></up-switch>
</view>
</view>
</view>
</template>
<script setup>
import { ref } from 'vue'
const value = ref(false)
const change = (e) => {
console.log('change', e);
}
</script>
<style lang="scss" scoped>
.page {
min-height: 100vh;
background: #EBF2FC;
}
</style>