Files
wx_oms/pages/login/privacy.vue
caolc fa1b5f31bd oms
2022-08-08 09:22:43 +08:00

157 lines
3.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<view class="privacy_body">
<image style=" position:absolute;top: 0;width: 100%; z-index: -1;" mode="widthFix"
src="../../static/privacy.png"></image>
<view class="logo_body">
<image style="width: 255rpx;height:96rpx;" src="../../static/logo.png"></image>
</view>
<view :style="{opacity:isShow.opacity}" v-show="isShow.step==0" class="tipcontainer">
<view class="tip">
<view class="tip_title" style="">用户协议与隐私政策</view>
<view class="tip_text">
欢迎使用星云台智慧能源结算平台请您
认真阅读并了解最终用户许可协议和隐私
政策已了解我们的服务内容和我们在手
机和使用你个人信息的处理和使用规则
我们将严格按照
<text style="color: #2A67FE;">用户许可协议</text>
<text style="color: #2A67FE;">隐私政策协议</text>
为您提供安全的服务为您
的个人信息安全提供保障
</view>
</view>
<view class="tip_footer">
<button @tap="agree" class="tip_footer_butten">同意</button>
<view class="tip_footer_buttentext">不同意并退出</view>
</view>
</view>
<view :style="{opacity:isShow.opacity}" v-show="isShow.step==1" class="tipcontainer">
<view class="tip">
<view class="tip_title" style="">授权提示</view>
<view style="text-align: initial;color: #000000;font-size: 26rpx; margin-top: 56rpx;">星云台需要获取您以下权限:</view>
<view style="text-align: initial; margin-top:30rpx ;">
<view style="color: #333333;font-weight: 600;">
存储权限
</view>
<view style="color: #666666;">
以支持获取您在扫 码加油时扫描您本地
图片
</view>
</view>
<view style="text-align: initial; margin-top:30rpx ;">
<view style="font-weight: 600;color: #333333;">
位置信息
</view>
<view style="color: #666666;">
以为您提供您附近的加油站信息
</view>
</view>
</view>
<view class="tip_footer">
<button @tap="jump" class="tip_footer_butten">明白了</button>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
imgurl: this.networkResource.baseUrl,
isShow: {
step: 0,
opacity:1
}
}
},
methods: {
jump(){
uni.redirectTo({
url:"./login"
})
},
agree() {
this.isShow.opacity = 0
setTimeout(()=>{
if(this.isShow.step==1){
this.isShow.step = 0
return
}
setTimeout(()=>{
this.isShow.opacity = 1
},500)
this.isShow.step += 1
},1000)
}
}
}
</script>
<style>
.tip_text {
margin: 0 auto;
line-height: 48rpx;
text-align: justify;
width: 494rpx;
margin-top: 56rpx;
}
.tip_title {
margin-top: 59rpx;
font-size: 36rpx;
font-weight: 600;
}
.tip_footer_buttentext {
color: #666666;
margin-top: 44rpx;
}
.tip_footer_butten {
background-color: #2A67FE;
width: 490rpx;
border-radius: 12rpx;
color: white;
}
.tip_footer {
margin-top: 92rpx;
font-size: 30rpx;
}
.tip {
width: 570rpx;
height: 550rpx;
background: #FFFFFF;
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.34);
margin: 0 auto;
font-size: 26rpx;
color: #333333;
padding: 59rpx 38rpx 87rpx 38rpx;
box-sizing: content-box;
}
.tipcontainer {
margin-top: 27rpx;
text-align: center;
transition: all 1s;
}
.logo_body {
width: 100vw;
z-index: 1;
padding-top: 245rpx;
}
.privacy_body {
width: 100vw;
height: 100vh;
position: relative;
margin: 0 !important;
padding: 0 !important;
}
</style>