lin
2026-04-21 b7303576bbf1ae606999130e6aab38b51015d167
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<script>
export default {
  name: "authorization",
  data() {
    return {
      checkboxValue: false
    }
  },
  created() {
 
  },
  methods: {
    checkboxChange(e) {
      this.checkboxValue = e.detail.value.length > 0
    },
    agree(type){
 
      const obj = {
        '注册协议': 'REGISTRATION_AGREEMENT_APP_HWD',
        '隐私政策': 'PRIVACY_POLICY_APP_HWD',
        '个人信息查询及使用授权': 'PERSONAL_INFORMATION_PROCESSING_LETTER_YOUGOUXUAN'
      }
 
      uni.navigateTo({
        url: `/pages/web/xieyi?code=${obj[type]}&title=${type}`
      })
    },
    submit(){
      if(!this.checkboxValue){
        uni.showToast({
          title: '请先阅读并同意相关协议',
          icon: 'none'
        })
        return
      }
 
      window.sessionStorage.setItem('LoginAuthorization', 'agree');
      uni.setStorageSync('LoginAuthorization', 'agree')
      const phone = uni.getStorageSync('phone')
      uni.request({
        url:this.$webHost+`/api/v2/sign/ygxSigned/${phone}`,
        method: 'POST',
      })
 
      uni.navigateTo({
        url: '/pages/web/index'
      })
 
    }
  }
}
</script>
 
<template>
 
  <view style="display: flex;height: 100%;">
    <view style="background: white;flex: 1;display: flex;justify-content: end;flex-direction: column;padding-bottom: 50rpx;">
 
 
      <view style="text-align: center;margin: 0 54rpx;">
        <view style="margin-bottom: 40rpx; display: flex;justify-content: center">
          <view>  <image src="/static/img/web/SQ1.png" style="width: 120rpx;height: 120rpx"></image></view>
 
          <view style="display: flex;justify-content: center;flex-direction: column">  <image src="/static/img/web/SQ2.png" style="width: 85rpx;height: 32rpx;margin: 0 50rpx;"></image></view>
          <view>  <image src="/static/img/web/SQ3.png" style="width: 120rpx;height: 120rpx"></image></view>
 
 
 
 
 
        </view>
        <view style="font-size: 32rpx; color: #333333;font-weight: 600;margin-bottom: 16rpx;">正在进入第三方合作服务平台</view>
        <view style="color: #666666;font-size: 28rpx;text-align: left">
          以下服务与本应用无关,您点击确认会跳转到第三方平台的服务页面。为保障您的合法权益,请您仔细阅读第三方用户注册服务协议、隐私政策等内容。如有疑问请联系第三方平台热线:<text style="color: #333333;font-weight: 500">400-996 -0191</text>
        </view>
      </view>
 
      <view style="margin-top: 350rpx;">
 
        <view style="margin: 0 54rpx;color: #666666">
          <checkbox-group @change="checkboxChange">
            <checkbox value="1" :checked="checkboxValue" activeBorderColor="#EE2626" iconColor="#EE2626">已同意阅读并知晓</checkbox>
            <text style="color: #4766FE;" @click="agree('注册协议')">《用户协议》</text>和
            <text style="color: #4766FE;" @click="agree('隐私政策')">《隐私政策》</text>和
            <text style="color: #4766FE;" @click="agree('个人信息查询及使用授权')">《个人信息查询及使用授权》</text>
          </checkbox-group>
        </view>
 
        <view style="margin: 20rpx 54rpx;">
          <button @click="submit" style="font-weight: 600;color: #FFFFFF;font-size: 34rpx;text-align: center;background: #EE2626;border-radius: 50rpx ;padding: 26rpx;" >我知道了</button>
        </view>
      </view>
 
 
    </view>
  </view>
</template>
<style scoped>
page{
  height: calc( 100vh - calc(44px + env(safe-area-inset-top)) );
  background: white;
}
 
</style>