Browse Source

feat:支付添加隐私协议

liyangbin 7 months ago
parent
commit
9f63a56863
2 changed files with 15 additions and 0 deletions
  1. 8 0
      src/views/Product/Custom.vue
  2. 7 0
      src/views/Product/ID.vue

+ 8 - 0
src/views/Product/Custom.vue

@@ -460,6 +460,9 @@ const closeWXpayShow = () => {
   clearTimeout(timer.value)
 }
 
+const privacyUrl = import.meta.env.VITE_PRO_WEB + '/privacy-policy'
+const termUrl = import.meta.env.VITE_PRO_WEB + '/terms_of_service'
+
 updataUserInfo()
 onMounted(() => {
   nextTick(() => {
@@ -711,6 +714,11 @@ onUnmounted(() => {
                 <circle id="loading-inner" cx="75" cy="75" r="50" />
               </svg>
             </div>
+            <div class="text-center mt-12px text-[#808185] text-14px leading-20px">
+              <a :href="privacyUrl" class="hover:text-[#1460F3] underline" target="_blank">Privacy Policy</a>
+              and
+              <a :href="termUrl" class="hover:text-[#1460F3] underline" target="_blank">Terms of Service</a>
+            </div>
           </div>
         </div>
         <div class="card w-500px rounded-8px bg-[#fff] mt-12px">

+ 7 - 0
src/views/Product/ID.vue

@@ -350,6 +350,8 @@ const closeWXpayShow = () => {
   clearTimeout(timer.value)
 }
 
+const privacyUrl = import.meta.env.VITE_PRO_WEB + '/privacy-policy'
+const termUrl = import.meta.env.VITE_PRO_WEB + '/terms_of_service'
 updataUserInfo()
 onMounted(() => {
   nextTick(() => {
@@ -494,6 +496,11 @@ onUnmounted(() => {
               <circle id="loading-inner" cx="75" cy="75" r="50" />
             </svg>
           </div>
+          <div class="text-center mt-12px text-[#808185] text-14px leading-20px">
+              <a :href="privacyUrl" class="hover:text-[#1460F3] underline" target="_blank">Privacy Policy</a>
+              and
+              <a :href="termUrl" class="hover:text-[#1460F3] underline" target="_blank">Terms of Service</a>
+            </div>
         </div>
       </div>
     </div>