Commit 6ea20cb5 by sunerhu

1.安卓使用原生隐私政策提示框

parent adb90dc7
......@@ -16,7 +16,7 @@
<script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<!-- 移动端调试 -->
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
<!-- <script>eruda.init();</script> -->
</head>
<body>
<div id="app">
......
......@@ -54,7 +54,8 @@
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"minSdkVersion" : 21,
"schemes" : "cffpapp,hbuilder"
"schemes" : "cffpapp,hbuilder",
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
},
/* ios打包配置 */
"ios" : {
......@@ -99,7 +100,8 @@
"xhdpi" : "",
"xxhdpi" : ""
},
"iosStyle" : "common"
"iosStyle" : "common",
"useOriginalMsgbox" : true
},
"icons" : {
"android" : {
......
......@@ -12,8 +12,7 @@
<view class="ulBox">
<view class="liBox">
<text>姓名:</text>
<text><input v-model="dataForm.name" class="uni-input" maxlength="15" placeholder="姓名"
@blur="blueInput(dataForm.name)" /></text>
<text><input v-model="dataForm.name" class="uni-input" maxlength="15" placeholder="姓名" /></text>
</view>
<view class="liBox">
<text>手机号:</text>
......@@ -159,7 +158,7 @@
shareId: '',
realName: '',
partnerLevel: '',
invitationCode:''
invitationCode: ''
};
},
onLoad(option) {
......@@ -170,17 +169,18 @@
this.invitationCode = dataForm.invitationCode
},
methods: {
blueInput(name) {
console.log(name, 1251515)
if (!common.nameValid(name)) {
uni.showToast({
title: '请输入真实的姓名!',
duration: 2000,
icon: 'none'
})
return;
}
},
// 暂时废弃
// blueInput(name) {
// console.log(name, 1251515)
// if (!common.nameValid(name)) {
// uni.showToast({
// title: '请输入真实的姓名!',
// duration: 2000,
// icon: 'none'
// })
// return;
// }
// },
queryorgchange(e) {
this.orgindex = e.detail.value
},
......
......@@ -9,7 +9,7 @@
<p style="margin-top: 20rpx;">V1.0.21</p>
</view>
</view>
<view class="hand" >
<view class="hand" @click="latestversion()">
<text>版本更新</text>
<view class="iconBox">
<i class="iconfont icon-youjiantou"></i>
......@@ -22,7 +22,7 @@
</view>
<view class="" style="display: align-self: end;">
<text style="color: #2D56A7;">《服务协议》| 《隐私政策》</text>
<span><text style="color: #2D56A7;" @click="getFile(1)">《服务协议》 | </text><text style="color: #2D56A7;" @click="getFile(1)">《隐私政策》</text></span>
<p class="footer-text" style="margin: 10px 0;">客服电话:400:921-9029</p>
<p class="footer-text">由银盾保险经纪有限公司提供</p>
</view>
......@@ -39,6 +39,20 @@
},
created() {
},
methods:{
getFile(type){
uni.navigateTo({
url:`/components/clause/clause?type=${type}`
})
},
latestversion(){
uni.showToast({
title: '已是最新版本,无需更新!',
duration: 2000,
icon: 'none'
})
}
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment