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.
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 - b u t t o n >
< u -button type = "primary" @click ="agree" :custom-style ="customStyle" > 同意并继续 < / u - b u t t o n >
< / 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 : 300 rpx ;
. logo {
width : 164 rpx ;
}
. reminder - content {
display : flex ;
flex - direction : column ;
align - items : center ;
margin : 0 54 rpx ;
}
. policy - tips {
color : # 9 A9A9A ;
}
. operation - btn {
position : fixed ;
left : 0 ;
right : 0 ;
bottom : 100 rpx ;
}
}
< / style >