|
@@ -7,6 +7,22 @@
|
|
|
<view class="set" @click="set" v-if="setTF">
|
|
<view class="set" @click="set" v-if="setTF">
|
|
|
<u-icon name="setting-fill" size="50" color="#fff"></u-icon>
|
|
<u-icon name="setting-fill" size="50" color="#fff"></u-icon>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <u-popup v-model="tipshow" mode="center" border-radius="14" width="90%">
|
|
|
|
|
+ <view class="tipContent">
|
|
|
|
|
+ <view class="tipText">
|
|
|
|
|
+ <view class="header">
|
|
|
|
|
+ <a href="http://8.136.98.49:8002/safe_negotiate/">隐私政策</a>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="tipinfo">
|
|
|
|
|
+ 本应用尊重并保护所有用户的个人隐私权。为了给您提供更准确、更有个性化的服务,本应用会按照隐私政策的规定使用和披露您的个人信息。可阅读 <a href="http://8.136.98.49:8002/service_negotiate/">服务协议</a>和<a href="http://8.136.98.49:8002/safe_negotiate/">隐私政策</a>。
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="btnBox">
|
|
|
|
|
+ <u-button type="primary" size="medium" @click="agreeTip">同意</u-button>
|
|
|
|
|
+ <u-button type="primary" size="medium" @click="quitApp">不同意并退出APP</u-button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </u-popup>
|
|
|
<view class="formbox">
|
|
<view class="formbox">
|
|
|
<form @submit="formSubmit">
|
|
<form @submit="formSubmit">
|
|
|
<view class="uni-form-item uni-column">
|
|
<view class="uni-form-item uni-column">
|
|
@@ -81,6 +97,7 @@
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ tipshow: true,
|
|
|
isAgree: false,
|
|
isAgree: false,
|
|
|
checked: false,
|
|
checked: false,
|
|
|
formdata: {
|
|
formdata: {
|
|
@@ -103,6 +120,16 @@
|
|
|
onLoad() {},
|
|
onLoad() {},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
uni.getStorage({
|
|
uni.getStorage({
|
|
|
|
|
+ key: 'showTip',
|
|
|
|
|
+ success: (res) => {
|
|
|
|
|
+ if (res.data) {
|
|
|
|
|
+ this.tipshow = !res.data;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.tipshow = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ uni.getStorage({
|
|
|
key: 'user_pass',
|
|
key: 'user_pass',
|
|
|
success: (res) => {
|
|
success: (res) => {
|
|
|
if (res.data) {
|
|
if (res.data) {
|
|
@@ -136,6 +163,16 @@
|
|
|
this.getEquipList()
|
|
this.getEquipList()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ agreeTip() {
|
|
|
|
|
+ this.tipshow = false;
|
|
|
|
|
+ uni.setStorage({
|
|
|
|
|
+ key: "showTip",
|
|
|
|
|
+ data: true,
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ quitApp() {
|
|
|
|
|
+ plus.runtime.quit();
|
|
|
|
|
+ },
|
|
|
checkboxChange(e) {
|
|
checkboxChange(e) {
|
|
|
this.isAgree = e.value;
|
|
this.isAgree = e.value;
|
|
|
},
|
|
},
|
|
@@ -367,7 +404,29 @@
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
padding-top: 700rpx;
|
|
padding-top: 700rpx;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ .tipContent{
|
|
|
|
|
+ padding: 40rpx 20rpx;
|
|
|
|
|
+ .header{
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 30px;
|
|
|
|
|
+ color: #3e3e3e;
|
|
|
|
|
+ a{
|
|
|
|
|
+ color: #3e3e3e;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .tipinfo{
|
|
|
|
|
+ line-height: 52rpx;
|
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .btnBox{
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ .u-btn{
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.apptitle {
|
|
.apptitle {
|
|
|
font-size: 52rpx;
|
|
font-size: 52rpx;
|
|
|
color: #fff;
|
|
color: #fff;
|