Răsfoiți Sursa

Merge branch 'master' of https://git.nanodreamtech.com/wkw/wallet_app

wkw 1 lună în urmă
părinte
comite
6b431667df

+ 1 - 0
src/i18n/zhHk/router.js

@@ -15,5 +15,6 @@ export default {
   addressBook:"地址簿",
   addAddress:"添加地址",
 
+   UserAgreement: "用戶協議",
   BackupMnemonic: "備份助記詞"
 }

+ 10 - 0
src/router/whitelist.js

@@ -1,6 +1,16 @@
 
 // 白名单
 export const whitelistRoutes = [
+   {
+    path: "/agreement",
+    name: "agreement",
+    component: () => import("@/views/agreement/index.vue"),
+    meta: {
+      title: "router.UserAgreement",   //  用户协议
+      navbar: true,
+      leftArrow: true
+    }
+  },
   {
     path: "/login",
     name: "login",

+ 363 - 0
src/views/agreement/index.vue

@@ -0,0 +1,363 @@
+<template>
+  <div class="container">
+    <div class="title">用戶協議</div>
+    <div class="content">
+      歡迎使用本 Web3
+      錢包應用(以下簡稱「本應用」)。本用戶協議(以下簡稱「本協議」)旨在規範您與本應用營運方(以下簡稱「營運方」,即
+      Digital Entertainment Asset Pte. Ltd.
+       )之間的權利義務關係。請您在使用本應用前仔細閱讀並充分理解本協議的全部內容,一旦您開始使用本應用,即視為您已接受本協議的所有條款。
+    </div>
+    <div>一、定義</div>
+
+    <div class="combination">
+      <span class="combination-text-title">1.web3 錢包:</span>
+      <span class="combination-text"
+        >指基於區塊鏈技術開發的,用於存儲管理、交易加密貨幣及相關數位資產的工具。
+      </span>
+    </div>
+    <div class="combination">
+      <span class="combination-text-title">2.加密貨幣:</span>
+      <span class="combination-text"
+        >指基於區塊鏈技術產生的數位化貨幣,如比特幣、以太坊等。
+      </span>
+    </div>
+    <div class="combination">
+      <span class="combination-text-title">3.私鑰:</span>
+      <span class="combination-text"
+        >是您訪問和管理 Web3
+        錢包中數位資產的關鍵資訊,具有唯一性和保密性。</span
+      >
+    </div>
+    <div class="combination">
+      <span class="combination-text-title">3.用戶:</span>
+      <span class="combination-text"
+        >指下載、安裝、註冊並使用本應用的自然人、法人或其他組織。</span
+      >
+    </div>
+
+    <div style="margin-top: 21px">二、用戶帳號</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.用戶在使用本應用前,可能需要進行註冊並建立帳號。註冊時,用戶應提供真實、準確、完整的資訊,並及時更新相關資訊。
+      </p>
+      <p class="combination-text">
+        2.用戶應對其帳號及密碼的安全性負責,不得將帳號及密碼洩露給他人。如因用戶自身原因導致帳號被盜用或遭受損失,營運方不承擔責任。
+      </p>
+      <p class="combination-text">
+        3.用戶如發現帳號異常情況,應及時通知營運方,並配合營運方進行調查和處理。
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">三、服務內容</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.本應用為用戶提供數位資產的存儲、轉帳、交易等相關服務。具體服務內容以本應用實際提供的功能為準。
+      </p>
+      <p class="combination-text">
+        2.營運方有權根據技術發展、市場需求等因素,對本應用的服務內容進行調整、更新或終止,如有重大變更,營運方將通過適當方式通知用戶。
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">四、用戶權利與義務</div>
+    <div class="combination combination-p">
+      <p>1.用戶權利</p>
+      <p class="combination-text">
+        (1) 有權按照本協議的約定使用本應用提供的各項 服務。
+      </p>
+      <p class="combination-text">(2) 有權對本應用的服務提出意見和建議。</p>
+      <p class="combination-text">
+        (3)
+        在符合本協議及相關法律法規規定的前提下,有權轉讓其在本應用中的合法數位資產。
+      </p>
+
+      <p>2.用戶義務</p>
+      <p class="combination-text">
+        (1)應遵守國家法律法規及本協議的約定,不得利用本應用從事任何違法違規活動。
+      </p>
+      <p class="combination-text">
+        (2)應妥善保管其私鑰,因私鑰洩露、丟失等原因導致的數位資產損失,由用戶自行承擔。
+      </p>
+      <p class="combination-text">
+        (3) 不得利用本應用進行洗錢、恐怖融資、賭博等違法犯罪活動。
+      </p>
+      <p class="combination-text">
+        (4) 不得干擾本應用的正常運行,不得對本應用進行任何形式的攻擊、破壞。
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">五、智慧財產權</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.本應用的所有智慧財產權,包括但不限於軟體、文字、圖片、音訊、影片等,均歸營運方所有。
+      </p>
+      <p class="combination-text">
+        2.用戶在使用本應用過程中產生的內容,如不涉及侵權,其智慧財產權歸用戶所有,但用戶授予營運方免費、非獨家、可轉讓的使用權。
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">六、免責條款</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.因不可抗力、電腦病毒、網路故障等原因導致本應用無法正常運行或用戶遭受損失的,營運方不承擔責任。
+      </p>
+      <p class="combination-text">
+        2.由於用戶自身操作失誤、設備故障等原因導致的數位資產損失,營運方不承擔責任。
+        本應用僅提供技術服務,不對加密貨幣的價格波動、投資價值等作出任何保證或承諾,用戶因投資加密貨幣產生的損失,由用戶自行承擔。
+      </p>
+      <p class="combination-text">
+        3.本應用僅提供技術服務,不對加密貨幣的價格波動、投資價值等作出任何保證或承諾,用戶因投資加密貨幣產生的損失,由用戶自行承擔。
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">七、協議的變更與終止</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.營運方有權根據實際情況對本協議進行修改,修改後的協議將在本應用上公佈,公佈之日起生效。用戶如繼續使用本應用,視為接受修改後的協議。
+      </p>
+      <p class="combination-text">
+        2.如用戶違反本協議的約定,營運方有權暫停或終止對用戶提供服務,並保留追究用戶法律責任的權利。
+      </p>
+      <p class="combination-text">
+        3.用戶可隨時停止使用本應用,一旦停止使用,本協議即終止,但用戶在使用本應用期間產生的權利義務仍受本協議約束。
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">八、法律適用與爭議解決</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.本協議的訂立、效力、解釋、履行及爭議解決均適用新加坡法律 。
+      </p>
+      <p class="combination-text">
+        2.因本協議引起的或與本協議有關的任何爭議,雙方應首先通過友好協商解決;協商不成的,任何一方均有權向營運方所在地(新加坡)有管轄權的法院提起訴訟。
+      </p>
+    </div>
+
+    <!-- 英文版本 -->
+
+    <div class="content" style="margin-top: 60px">
+      Welcome to use this Web3 Wallet App (hereinafter referred to as "this
+      App"). This User Agreement (hereinafter referred to as "this Agreement")
+      is intended to regulate the rights and obligations between you and the
+      operator of this App (hereinafter referred to as "the Operator", namely
+      Digital Entertainment Asset Pte. Ltd., official  ). Please carefully read
+      and fully understand all the contents of this Agreement before using this
+      App. Once you start using this App, it is deemed that you have accepted
+      all the terms of this Agreement.
+    </div>
+    <div>1. Definitions</div>
+
+    <div class="combination">
+      <span class="combination-text-title">1.Web3 Wallet:</span>
+      <span class="combination-text"
+        >refers to a tool developed based on blockchain technology for storing,
+        managing, and trading cryptocurrencies and related digital assets.
+      </span>
+    </div>
+    <div class="combination">
+      <span class="combination-text-title">2.Cryptocurrency:</span>
+      <span class="combination-text"
+        >refers to digital currencies generated based on blockchain technology,
+        such as Bitcoin, Ethereum, etc.
+      </span>
+    </div>
+    <div class="combination">
+      <span class="combination-text-title">3. Private Key:</span>
+      <span class="combination-text"
+        >is the key information for you to access and manage digital assets in
+        the Web3 Wallet, which is unique and confidential.
+      </span>
+    </div>
+    <div class="combination">
+      <span class="combination-text-title">3.User:</span>
+      <span class="combination-text"
+        >refers to a natural person, legal person, or other organization that
+        downloads, installs, registers, and uses this App.</span
+      >
+    </div>
+
+    <div style="margin-top: 21px">2. User Account</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.Users may need to register and create an account before using this
+        App. When registering, users shall provide true, accurate, and complete
+        information and update relevant information in a timely manner.
+      </p>
+      <p class="combination-text">
+        2.Users shall be responsible for the security of their accounts and
+        passwords, and shall not disclose their accounts and passwords to
+        others. The Operator shall not be liable for any loss caused by the
+        theft of the account due to the user's own reasons.
+      </p>
+      <p class="combination-text">
+        3.If users find any abnormal situation of their accounts, they shall
+        promptly notify the Operator and cooperate with the Operator in
+        investigation and handling.
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">3. Service Content</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.This App provides users with services related to storage, transfer,
+        and transaction of digital assets. The specific service content is
+        subject to the functions actually provided by this App.
+      </p>
+      <p class="combination-text">
+        2.The Operator has the right to adjust, update, or terminate the service
+        content of this App according to factors such as technological
+        development and market demand. In case of major changes, the Operator
+        will notify users through appropriate means.
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">4. User Rights and Obligations</div>
+    <div class="combination combination-p">
+      <p>1.User Rights</p>
+      <p class="combination-text">
+        (1) Have the right to use various services provided by this App in
+        accordance with the provisions of this Agreement.
+      </p>
+      <p class="combination-text">
+        (2) Have the right to put forward opinions and suggestions on the
+        services of this App.
+      </p>
+      <p class="combination-text">
+        (3) Have the right to transfer their legal digital assets in this App
+        under the premise of complying with this Agreement and relevant laws and
+        regulations.
+      </p>
+
+      <p>2.User Obligations</p>
+      <p class="combination-text">
+        (1) Shall abide by national laws and regulations and the provisions of
+        this Agreement, and shall not use this App to engage in any illegal or
+        irregular activities.
+      </p>
+      <p class="combination-text">
+        (2) Shall properly keep their private keys. The user shall bear the loss
+        of digital assets caused by the leakage or loss of the private key.
+      </p>
+      <p class="combination-text">
+        (3) Shall not use this App for money laundering, terrorist financing,
+        gambling, and other illegal and criminal activities.
+      </p>
+      <p class="combination-text">
+        (4) Shall not interfere with the normal operation of this App, or attack
+        or destroy this App in any form.
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">5. Intellectual Property Rights</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.All intellectual property rights of this App, including but not
+        limited to software, text, pictures, audio, video, etc., belong to the
+        Operator.
+      </p>
+      <p class="combination-text">
+        2.The content generated by users in the process of using this App, if
+        not involving infringement, its intellectual property rights belong to
+        the users, but the users grant the Operator a free, non-exclusive, and
+        transferable right to use.
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">6. Disclaimer</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1. The Operator shall not be liable for any loss caused to users due to
+        the failure of this App to operate normally due to force majeure,
+        computer viruses, network failures, etc.
+      </p>
+      <p class="combination-text">
+        2. The Operator shall not be liable for the loss of digital assets
+        caused by the user's own operational errors, equipment failures, etc.
+      </p>
+      <p class="combination-text">
+        3. This App only provides technical services and does not make any
+        guarantees or commitments on the price fluctuations and investment value
+        of cryptocurrencies. Users shall bear the losses caused by investing in
+        cryptocurrencies.
+      </p>
+    </div>
+
+    <div style="margin-top: 21px">
+      7. Modification and Termination of the Agreement
+    </div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1. The Operator has the right to modify this Agreement according to the
+        actual situation. The modified Agreement will be published on this App
+        and will take effect from the date of publication. If users continue to
+        use this App, it is deemed that they accept the modified Agreement.
+      </p>
+      <p class="combination-text">
+        2. If users violate the provisions of this Agreement, the Operator has
+        the right to suspend or terminate the provision of services to users and
+        reserve the right to pursue legal liability against users.
+      </p>
+      <p class="combination-text">
+        3. Users can stop using this App at any time. Once they stop using it,
+        this Agreement will be terminated, but the rights and obligations of
+        users during the use of this App shall still be bound by this Agreement.
+      </p>
+    </div>
+    <div style="margin-top: 21px">8. Applicable Law and Dispute Resolution</div>
+    <div class="combination combination-p">
+      <p class="combination-text">
+        1.The conclusion, validity, interpretation, performance, and dispute
+        resolution of this Agreement shall be governed by the laws of Singapore.
+      </p>
+      <p class="combination-text">
+        2.Any dispute arising from or in connection with this Agreement shall
+        first be resolved through friendly negotiation between the two parties;
+        if the negotiation fails, either party shall have the right to file a
+        lawsuit with the court of competent jurisdiction in the place where the
+        Operator is located (Singapore).
+      </p>
+    </div>
+  </div>
+</template>
+
+<script setup></script>
+
+<style scoped lang="less">
+.container {
+  height: 90vh;
+  padding: 17px 0px 17px 17px;
+  letter-spacing: 1px;
+  font-size: 17px;
+  overflow-y: auto;
+}
+.title {
+  width: 100%;
+  display: flex;
+  justify-content: center;
+}
+
+.content {
+  text-indent: 30px;
+  color: @font-color2;
+  font-size: 15px;
+  margin: 14px 0 21px 0;
+}
+.combination {
+  font-size: 15px;
+  letter-spacing: 1px;
+  padding: 0 20px;
+  text-indent: -15px;
+  margin-top: 10px;
+
+  // padding-left: 15px;
+  .combination-text-title {
+    // padding-left: 17px;
+  }
+  .combination-text {
+    color: @font-color2;
+  }
+}
+.combination-p {
+  letter-spacing: 2px;
+  text-indent: -14px;
+}
+</style>

+ 7 - 2
src/views/login/index.vue

@@ -16,9 +16,9 @@
       <van-radio-group v-model="checked"><van-radio name="1" icon-size="16"  style="margin-right: 6px;"  /></van-radio-group>
       
       <span> {{ $t("login.LoginTxt") }} Angel Toke</span>
-      <a class="a-link">{{ $t("login.PrivacyPolicy") }}</a>
+      <a class="a-link" @click="toAgreement">{{ $t("login.PrivacyPolicy") }}</a>
       <span>和</span>
-      <a class="a-link">{{ $t("login.UserAgreement") }}</a>
+      <a class="a-link" @click="toAgreement">{{ $t("login.UserAgreement") }}</a>
     </div>
   </div>
 
@@ -52,6 +52,11 @@ const evAgree = ()=>{
     path: '/selectNetwork'
   })
 }
+const toAgreement = () =>{
+  router.push({
+    path: '/agreement'
+  })
+}
 
 </script>
 

+ 1 - 3
vite.config.js

@@ -9,9 +9,7 @@ import { createSvgIconsPlugin } from "vite-plugin-svg-icons";
 import { codeInspectorPlugin } from 'code-inspector-plugin';
 import AutoImport from 'unplugin-auto-import/vite'
 
-import { resolve } from "path";
-
-console.log("==",  resolve(process.cwd(), "src/assets/svg"))
+import { resolve } from "path"; 
 
 // https://vite.dev/config/
 export default defineConfig({