You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<view class="policy-v">
<view class="reminder-content">
<image :src="loginlogo" class="logo" mode="widthFix"></image>
<view class="u-font-36 u-m-t-20 u-m-b-30">上海长江云息数字科技有限公司开发平台</view>
<view class="policy-tips u-m-t-20">
<view>欢迎使用上海长江云息数字科技有限公司开发平台,依据政策要求,为了您能使用所有功能在使用中需要连接网络定位调用麦克风等服务请仔细阅读
<text class="u-type-primary" @click="userAgreement"></text><text class="u-type-primary"
@click="privacyPolicy"></text>
</view>
</view>
<view class="operation-btn u-flex u-row-between">
<u-button @click="exitApp" :custom-style="customStyle">不同意</u-button>
<u-button type="primary" @click="agree" :custom-style="customStyle">同意并继续</u-button>
</view>
</view>
</view>
</template>
<script>
import resources from '@/libs/resources.js'
export default {
data() {
return {
loginlogo: resources.login.logo,
agreement: resources.userAgreement,
policy: resources.privacyPolicy,
customStyle: {
width: '40%'
}
}
},
methods: {
exitApp() {
plus.os.name == "Android" ? plus.runtime.quit() : plus.ios.import("UIApplication").sharedApplication()
.performSelector("exit");
},
userAgreement() {
plus.runtime.openURL(this.agreement);
},
privacyPolicy() {
plus.runtime.openURL(this.policy);
},
agree() {
uni.redirectTo({
url: '/pages/launch/guide'
})
},
}
}
</script>
<style lang="scss">
.policy-v {
padding-top: 300rpx;
.logo {
width: 164rpx;
}
.reminder-content {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 54rpx;
}
.policy-tips {
color: #9A9A9A;
}
.operation-btn {
position: fixed;
left: 0;
right: 0;
bottom: 100rpx;
}
}
</style>