Explorar o código

docx;fix(pricing,privacy,terms,buyVip;)更新隐私协议,服务协议,常见问题文档,购买会员时支付宝创建

liyangbin %!s(int64=2) %!d(string=hai) anos
pai
achega
1e5794b645
Modificáronse 5 ficheiros con 2041 adicións e 1942 borrados
  1. 7 7
      components/BuyVip.vue
  2. 1937 1875
      pages/pricing.vue
  3. 70 16
      pages/privacy.vue
  4. 1 43
      pages/question.vue
  5. 26 1
      pages/terms.vue

+ 7 - 7
components/BuyVip.vue

@@ -135,14 +135,14 @@ export default {
         targetType: 'SetPricing',
         targetId: this.choosedVip.id
       }
-      this.$axios.post('subscription/create',params).then((res) => {
-        if(res.code === 200) {
-          if(this.paymethod === 'wechat') {
-            this.qrcode = res.result.order.qrcodeUrl
-            this.getWechatPayStatus(res.result.order.id)
+      if(this.paymethod === 'wechat'){
+        this.$axios.post('subscription/create',params).then((res) => {
+          if(res.code === 200) {
+              this.qrcode = res.result.order.qrcodeUrl
+              this.getWechatPayStatus(res.result.order.id)
           }
-        }
-      })
+        })
+      }
     }, 
     getWechatPayStatus(id) {
       this.interval = setInterval(() => {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1937 - 1875
pages/pricing.vue


+ 70 - 16
pages/privacy.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="min-w-1200px">
     <Fragment>
-      <div v-if="type === 'chinese'" class="privacy terms chinese">
+      <div v-if=" language " class="privacy terms chinese">
         <!-- <div class="privacy terms chinese"> -->
         <h1 class="title">PDF Reader 隐私政策</h1>
         <div class="date">
@@ -33,7 +33,7 @@
 
           <h2>一、我们如何收集和使用您的个人信息</h2>
           <p>我们出于本隐私策略所述的以下目的,遵从适用的法律要求及相关的行业标准,收集和使用您的个人信息。<b>以下所有信息,我们将根据法律规定以及在达成特定信息对应的目的所需期限内保存:</b></p>
-          <ol>
+          <ol class="sub">
             <li class="sub-title">
               <h3>基于核心业务功能收集和使用您个人信息的情形</h3>
               <p>我们提供的业务功能需要依赖部分信息才得以运行。您选择<b>使用</b>我们的对应<b>业务功能</b>,则需要向我们提供或允许我们收集的<b>必要信息</b>包括:</p>
@@ -198,7 +198,7 @@
             对于您合理的请求,我们<b>原则上不收取费用,但对多次重复、超出合理限度的请求,我们将视情收取一定成本费用</b>。对于那些<b>无端重复、需要过多技术手段</b>(例如,需要开发新系统或从根本上改变现行惯例)、<b>给他人合法权益带来风险或者非常不切实际的请求,我们可能会予以拒绝</b>。
           </p>
           <p>在以下情形中,我们将无法响应您的请求: </p>
-          <ul>
+          <ul class="noAsk">
             <li>与个人信息控制者履行法律法规规定的义务相关的; </li>
             <li>与国家安全、国防安全直接相关的; </li>
             <li>与公共安全、公共卫生、重大公共利益直接相关的; </li>
@@ -219,7 +219,7 @@
           <p>我们的隐私政策可能变更。</p>
           <p><b>未经您明确同意,我们不会削减您按照本隐私政策政策所应享有的权利</b>。我们会在本页面上发布对本政策所做的任何变更。 </p>
           <p>对于<b>重大变更,我们还会提供更为显著的通知</b>,本政策所指的重大变更包括但不限于:</p>
-          <ul>
+          <ul class="notOnly">
             <li>我们的服务模式发生重大变化。如处理个人信息的目的、 处理的个人信息类型、个人信息的使用方式;</li>
             <li>我们在所有权结构、组织架构等方面发生重大变化。如业务调整、破产并购等引起的所有者变更;</li>
             <li>个人信息共享、转让或公开披露的主要对象发生变化;</li>
@@ -232,7 +232,7 @@
           <p>我们设立了专门的个人信息保护团队和负责人,如果您对本政策有任何疑问、意见或建议,可加入我们的QQ客服群:188917181 联系我们。</p>
           <p>我们将尽快审核所涉问题,并在15个工作日或法律规定的期限内予以反馈。</p>
           <h2>附录:定义</h2>
-          <ol>
+          <ol class="define">
             <li><b>个人信息:</b>以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,包括但不限于自然人的姓名、出生日期、身份证件号码、个人生物识别信息、 住址、电话号码等,不包括匿名化处理后的信息。
             </li>
             <li>
@@ -515,7 +515,7 @@
         </div>
       </div>
 
-      <div v-if="type === 'english'" class="privacy terms english">
+      <div v-if=" !language " class="privacy terms english">
       <!-- <div class="privacy terms english" style="display: none;"> -->
         <h2 class="title">PDF Reader Privacy Policy</h2>
         <div class="date">
@@ -533,7 +533,7 @@
             suggestions about this policy, please join our QQ customer service group: 188917181, and consult our online
             customer service. We will handle your problem within 15 working days.</p>
           <div><b>This policy will help you understand the following:</b></div>
-          <ul>
+          <ul class="content_marker">
             <li><b>How we collect and use your personal information</b></li>
             <li><b>How we deal with cookies and other technologies</b></li>
             <li><b>How we share, transfer and publicly disclose your personal information</b></li>
@@ -561,7 +561,7 @@
             industry standards for the following purposes as described in this Privacy Policy. <b>We will hold all of
               the following information in accordance with the law or for as long as necessary to achieve the purpose
               for which the specific information is intended:</b></p>
-          <ol>
+          <ol class="sub">
             <li class="sub-title">
               <h3>Collect and use your personal information based on core business functions</h3>
               <p>Some information needs to be provided for the use of special functions. If you choose to <b>use</b> our
@@ -716,7 +716,7 @@
             will only share necessary personal information internally. If we want to change the purpose of processing
             personal information, we will ask for your authorization again.</p>
           <p><b>1.4 Share with partners:</b></p>
-          <ul>
+          <ul class="noAsk">
             <li>We may share consolidated statistics with partners, trusted affiliates or advertisers to optimize our
               products and services, and these statistics will not be linked to any user's personal information.</li>
             <li>If you participate in the sweepstakes, contest or similar promotions through our website or email
@@ -839,7 +839,7 @@
             change existing practices), <b>bring risks to the legitimate rights and interests of others, or are very
               unrealistic</b>.</p>
           <p>In the following situations, we will not be able to respond to your request:</p>
-          <ul>
+          <ul class="notOnly">
             <li>Relevant to the fulfillment of obligations stipulated by laws and regulations by personal information
               controllers;</li>
             <li>Directly related to national security and national defense security;</li>
@@ -874,7 +874,7 @@
             We will post any changes to this policy on this page.</p>
           <p><b>For major changes, we will also provide more significant notices</b>. The major changes referred to in
             this privacy policy include but are not limited to:</p>
-          <ul>
+          <ul class="defineEnglish">
             <li>Our service model has undergone major changes. Such as the purpose of processing personal information,
               the type of personal information processed, and the way in which personal information is used;</li>
             <li>Significant changes have taken place in our ownership structure and organizational structure. Owner
@@ -1264,6 +1264,31 @@ import { Fragment } from 'vue-fragment'
 export default {
   components: { Fragment },
   layout: "custom",
+  asyncData({ req }) {
+    const isClient = process.client
+    // 浏览器语言,默认汉语
+    let language = true
+    if (isClient) {
+      // 判断浏览器语言
+      const firstLan = window.navigator.language
+      if (firstLan === "zh-CN") {
+        language = true
+      } else {
+        language = false
+      }
+    } else {
+      // 判断浏览器语言
+      const firstLan = req.headers['accept-language'].split(",")[0]
+      if (firstLan === "zh-CN") {
+        language = true
+      } else {
+        language = false
+      }
+    }
+    return {
+      language,
+    }
+  },
   head(VueComponent) {
     if (VueComponent.type === 'chinese') {
       return {
@@ -1365,13 +1390,39 @@ export default {
     font-size: 18px;
     font-weight: 600;
   }
-
-  .sub-title {
-    font-size: 18px;
-    font-weight: 600;
+  .sub{
+    padding-left: 40px;
+    .sub-title {
+      font-size: 18px;
+      font-weight: 600;
+      list-style: auto;  
+    }
+  }
+}
+.noAsk{
+  padding-left: 40px;
+  li{
+    list-style: disc;  
+  }
+}
+.notOnly{
+  padding-left: 40px;
+  li{
+    list-style: disc;  
+  }
+}
+.define{
+  padding-left: 40px;
+  li{
+    list-style: auto;  
+  }
+}
+.defineEnglish{
+  padding-left: 40px;
+  li{
+    list-style: disc;  
   }
 }
-
 .terms {
   a {
     color: #337ab7;
@@ -1401,6 +1452,9 @@ export default {
 
     .content_marker{
       padding-left: 40px;
+      li{
+        list-style: disc;  
+      }
     }
     .content-title {
       font-size: 22px;

+ 1 - 43
pages/question.vue

@@ -237,7 +237,7 @@
                     <div class="item mb-30px">
                         <h3 class="text-[20px] text-[1.1] mb-18px font-bold">3.支付页面显示错误或空白?</h3>
                         <p class="text-[16px] leading-[30px]">
-                            可能浏览器的兼容性导致无法正常支付,请使用IE浏览器进行支付操作。
+                            可能浏览器的兼容性导致无法正常支付,请使用Edge浏览器进行支付操作。
                         </p>
                     </div>
                     <div class="item mb-30px">
@@ -249,48 +249,6 @@
                                 class="w-8px h-8px inline-block rounded-[100%] bg-[#333] mr-12px ml-4px"></span>单次购买一个套餐即时生效。
                         </p>
                     </div>
-                    <!-- <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">5.支付失败怎么办?</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            如有由于网络中断,或页面过期、超时、错误等问题导致支付失败,请先确认是否已经扣款,如未扣款可尝试再支付一次。或者,您可以联系您的银行或支付平台获得帮助。
-                        </p>
-                    </div>
-                    <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">6.所需支付金额超过了银行支付限额?</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            您可以到银行柜台或登录网上银行提高上限额度,即能轻松支付。
-                        </p>
-                    </div>
-                    <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">7.支付宝或网银页面显示错误或者空白</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            有些网银对浏览器兼容性有一定要求,导致无法正常支付,若因浏览器造成支付失败,建议您使用IE浏览器进行支付操作。
-                        </p>
-                    </div>
-                    <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">8.网上银行已扣款,订单仍显示“未付款”</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            可能由于银行的数据传输有滞后性,请不要担心,稍后刷新页面查看。如较长时间仍显示未付款,可前往http://qingting.baidu.com/index?pid=19\n反馈问题。
-                        </p>
-                    </div>
-                    <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">9.没有网上银行如何购买?</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            支付宝的快捷支付中,有几家银行不需要您开通网银,如果您有工商银行、农业银行、交通银行的储蓄卡,可以直接使用“快捷支付”.
-                        </p>
-                    </div>
-                    <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">10.没找到我常用的网上银行?</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            对于主流的网上银行支付,百度网盘都是支持的,但对于部分省市级银行如"江苏银行"、"大连银行"还不支持,您可以选择"支付宝"或"微信支付"选择对应银行完成支付。
-                        </p>
-                    </div>
-                    <div class="item mb-30px">
-                        <h3 class="text-[20px] text-[1.1] mb-18px font-bold">11.是否支持信用卡支付?</h3>
-                        <p class="text-[16px] leading-[30px]">
-                            17PDF支持多数银行的信用卡网上支付功能,如暂不支持您的银行信用卡,建议您通过"支付宝"或"微信支付"选择对应银行完成支付。
-                        </p>
-                    </div> -->
                 </div>
 
             </div>

+ 26 - 1
pages/terms.vue

@@ -25,6 +25,31 @@ export default {
       }
     }
   },
+  asyncData({ req }) {
+    const isClient = process.client
+    // 浏览器语言,默认汉语
+    let language = true
+    if (isClient) {
+      // 判断浏览器语言
+      const firstLan = window.navigator.language
+      if (firstLan === "zh-CN") {
+        language = true
+      } else {
+        language = false
+      }
+    } else {
+      // 判断浏览器语言
+      const firstLan = req.headers['accept-language'].split(",")[0]
+      if (firstLan === "zh-CN") {
+        language = true
+      } else {
+        language = false
+      }
+    }
+    return {
+      language,
+    }
+  },
   data() {
     return {
       type: 'chinese'
@@ -52,7 +77,7 @@ export default {
 <template>
   <div class="min-w-1200px">
     <Fragment>
-      <div v-if="type === 'chinese'" class="terms chinese">
+      <div v-if="language" class="terms chinese">
         <div class="title"><span>PDF Reader(17PDF Reader)</span><p>服务协议</p></div>
         <div class="content">
           <p>有效日期自2017年5月16日起<br/>