Browse Source

修改

master
liaoxinyu 2 years ago
parent
commit
3a288a0004
  1. BIN
      src/assets/img/home/Google.png
  2. 2
      src/components/CommonHeader.vue
  3. 56
      src/i18n/en.json
  4. 2
      src/i18n/tw.json
  5. 10
      src/views/contract/exchange-store.vue
  6. 14
      src/views/contract/index.vue
  7. 8
      src/views/exchange/index.vue
  8. 3
      src/views/exchange/order-list.vue
  9. 8
      src/views/exchange/symbols.vue
  10. 28
      src/views/home/index.vue

BIN
src/assets/img/home/Google.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

2
src/components/CommonHeader.vue

@ -668,7 +668,7 @@ header {
max-width: 20% !important; max-width: 20% !important;
} }
header .nav-link{ header .nav-link{
font-size: 18px !important; font-size: 15px !important;
color: #000; color: #000;
} }
header nav a:hover { header nav a:hover {

56
src/i18n/en.json

@ -224,7 +224,7 @@
"new-password": "Enter a new password", "new-password": "Enter a new password",
"confirm-password": "Confirm your password", "confirm-password": "Confirm your password",
"forgetPassword": "Forget password", "forgetPassword": "Forget password",
"rememberMe": "remember me", "rememberMe": "Remember me",
"noAccountYet": "No account", "noAccountYet": "No account",
"goRegister": "Register Account", "goRegister": "Register Account",
"goRegister1": "Register now", "goRegister1": "Register now",
@ -336,7 +336,7 @@
"confirmpassword": "The two passwords are inconsistent", "confirmpassword": "The two passwords are inconsistent",
"Remembered": "Remembered your password?", "Remembered": "Remembered your password?",
"a1": "Login {name}", "a1": "Login {name}",
"a2": "email number", "a2": "Email number",
"a3": "Please enter your login email address", "a3": "Please enter your login email address",
"a4": "Login password", "a4": "Login password",
"a5": "Please enter your login password", "a5": "Please enter your login password",
@ -1169,13 +1169,13 @@
"a79": "How to Trade Digital Currencies", "a79": "How to Trade Digital Currencies",
"a80": "Marketplace", "a80": "Marketplace",
"a81": "24 hours market trend", "a81": "24 hours market trend",
"a82": "Add cryptocurrency funds to your wallet and start trading now" "a82": "Add cryptocurrency funds to your wallet and Start Trading Now"
}, },
"homeNewText": { "homeNewText": {
"aa1": "Cryptocurrency Gate", "aa1": "Cryptocurrency Gate",
"aa2": "Safe, fast and easy trade on over 100 cryptocurrencies", "aa2": "Safe, fast and easy trade on over 100 cryptocurrencies",
"aa3": "Register via email", "aa3": "Register Via Email",
"aa4": "Start trading now", "aa4": "Start Trading Now",
"aa5": "Market trend", "aa5": "Market trend",
"aa6": "Digital Asset Quote Express", "aa6": "Digital Asset Quote Express",
"aa7": "Currency", "aa7": "Currency",
@ -1208,37 +1208,37 @@
"hh0": "The future of money is here", "hh0": "The future of money is here",
"hh1": "We are the most trusted place for investors to buy, sell and manage cryptocurrency", "hh1": "We are the most trusted place for investors to buy, sell and manage cryptocurrency",
"hh2": "Register via email", "hh2": "Register via email",
"hh3": "Quotes", "hh3": "Markets",
"hh4": "See more markets", "hh4": "View more markets",
"hh5": "{name} is a one-stop platform for everyone", "hh5": "{name} is An One-step Exchange for Everyone",
"hh6": "Global Ranking", "hh6": "Global Ranking",
"hh7": "users trust us", "hh7": "Users Trust Us",
"hh8": "Ultra-Low Fees", "hh8": "Ultra-Low Fees",
"hh9": "Countries", "hh9": "Countries",
"hh10": "How to start", "hh10": "How to Get Started",
"hh11": "Create account", "hh11": "Create Account",
"hh12": "Log in {name} to register new profile", "hh12": "Sign in to {name} to Register a New Profile",
"hh13": "Register", "hh13": "Register",
"hh14": "Verify your identity", "hh14": "Verify Your Identity",
"hh15": "The verification process takes less than 5 minutes to complete.", "hh15": "Spend Less Than 5 Minutes Completing the Verification Process.",
"hh16": "Create your account first", "hh16": "Create Your Account First",
"hh17": "Buy and deposit cryptocurrencies", "hh17": "Buy and Deposit Crypto",
"hh18": "Add funds to your {name} account to deposit and withdraw cryptocurrency services.", "hh18": "Add Funds to Your {name} Account to Access Crypto Services.",
"hh19": "Verify your identity first", "hh19": "Verify Your Identity First",
"hh20": "Start your journey", "hh20": "Start Your Journey",
"hh21": "Explore cryptocurrency opportunities within the {name} ecosystem", "hh21": "Explore Crypto Opportunities within the {name} Ecosystem",
"hh22": "Buy and deposit cryptocurrency first", "hh22": "Buy and Deposit Crypto First",
"hh23": "Build your cryptocurrency portfolio", "hh23": "Build Your Crypto Portfolio",
"hh24": "Buy cryptocurrency", "hh24": "Buy Crypto",
"hh25": "Why choose {name}", "hh25": "Why {name}",
"hh26": "Simple", "hh26": "Simplicity",
"hh27": "{name} makes it easy to buy cryptocurrencies using our mobile app.", "hh27": "{name} Makes it Easy to Buy Crypto Using Our Mobile Application.",
"hh28": "education", "hh28": "Education",
"hh29": "Grow your earnings with {name}", "hh29": "Grow your earnings with {name}",
"hh30": "Don't know where to start? Head to our Learning Center to learn all about cryptocurrency.", "hh30": "Don't know where to start? Head to our Learning Center to learn all about cryptocurrency.",
"hh31": "Service", "hh31": "Service",
"hh32": "Find your answers instantly in our Help Center, or contact us via email 24/7/365.", "hh32": "Find your answers instantly in our Help Center, or contact us via email 24/7/365.",
"hh33": "Start using {name}", "hh33": "Get started with {name}",
"hh34": "Trade anytime, anywhere", "hh34": "Trade anytime, anywhere",
"hh35": "Stay informed with our app and desktop client", "hh35": "Stay informed with our app and desktop client",

2
src/i18n/tw.json

@ -1141,7 +1141,7 @@
"hh4": "看更多市場", "hh4": "看更多市場",
"hh5": "{name} 是個適合所有人的一站式平台", "hh5": "{name} 是個適合所有人的一站式平台",
"hh6": "Global Ranking", "hh6": "Global Ranking",
"hh7": "users trust us", "hh7": "Users Trust Us",
"hh8": "Ultra-Low Fees", "hh8": "Ultra-Low Fees",
"hh9": "Countries", "hh9": "Countries",
"hh10": "如何開始", "hh10": "如何開始",

10
src/views/contract/exchange-store.vue

@ -115,7 +115,7 @@
</div> </div>
</div> </div>
<!-- 止盈止损 --> <!-- 止盈止损 -->
<div class="d-flex mb-4 border-top py-2"> <div class="d-flex mb-4 border-top py-2" v-if="0">
<input type="checkbox" name="" id="" v-model="checkboxBuy"> <input type="checkbox" name="" id="" v-model="checkboxBuy">
<div>{{ $t("contact.Profit&Loss") }}</div> <div>{{ $t("contact.Profit&Loss") }}</div>
</div> </div>
@ -229,7 +229,7 @@
</div> </div>
</div> </div>
<!-- 止盈止损 --> <!-- 止盈止损 -->
<div class="d-flex mb-4 border-top py-2"> <div class="d-flex mb-4 border-top py-2" v-if="0">
<input type="checkbox" name="" id="" v-model="checkboxSell"> <input type="checkbox" name="" id="" v-model="checkboxSell">
<div>{{ $t("contact.Profit&Loss") }}</div> <div>{{ $t("contact.Profit&Loss") }}</div>
</div> </div>
@ -265,7 +265,8 @@
type="button" type="button"
class="sub w-24/24 btn-success btn btn-sm mb-3" class="sub w-24/24 btn-success btn btn-sm mb-3"
> >
{{ $t("contract.d0") }}{{ symbol }} {{ $t("contract.d0") }}
<!-- {{ $t("contract.d0") }}{{ symbol }} -->
<!-- {{ $t("contract.d0") }} --> <!-- {{ $t("contract.d0") }} -->
<!-- <span class="fn-12"> {{ $t("contract.e6") }} </span> --> <!-- <span class="fn-12"> {{ $t("contract.e6") }} </span> -->
</button> </button>
@ -276,7 +277,8 @@
type="button" type="button"
class="sub w-24/24 btn-danger btn btn-sm mb-3" class="sub w-24/24 btn-danger btn btn-sm mb-3"
> >
{{ $t("contract.d2") }}{{ symbol }} {{ $t("contract.d2") }}
<!-- {{ $t("contract.d2") }}{{ symbol }} -->
<!-- {{ $t("contract.d2") }} --> <!-- {{ $t("contract.d2") }} -->
<!-- <span class="fn-12"> {{ $t("contract.e8") }} </span> --> <!-- <span class="fn-12"> {{ $t("contract.e8") }} </span> -->
</button> </button>

14
src/views/contract/index.vue

@ -15,7 +15,7 @@
<div class="item fn-16" style="font-weight: bold;">{{ activeContract.pair_name }}</div> <div class="item fn-16" style="font-weight: bold;">{{ activeContract.pair_name }}</div>
</div> </div>
<div class="d-flex fn-14 px-4 p-l-A align-items-center py-2"> <div class="d-flex fn-14 px-4 p-l-A align-items-center py-2">
<div class="item px-2 min-width-A"> <div class="item px-2 min-width-A" style="font-weight: bold;">
<div class="title" :class="{ decreace2: activeContract.increase < 0, increase: activeContract.increase >= 0}" style="margin-bottom: 10px;"> <div class="title" :class="{ decreace2: activeContract.increase < 0, increase: activeContract.increase >= 0}" style="margin-bottom: 10px;">
{{ activeContract.price }} {{ activeContract.price }}
</div> </div>
@ -30,7 +30,7 @@
<div class="title text-secondary" style="margin-bottom: 10px;"> <div class="title text-secondary" style="margin-bottom: 10px;">
24h {{ $t("contract.h7") }} 24h {{ $t("contract.h7") }}
</div> </div>
<div class="fn-12" style="color: #a8263b;"> <div class="fn-12" style="color: #a8263b;font-weight: bold;">
{{ activeContract.high }} {{ activeContract.high }}
</div> </div>
</div> </div>
@ -38,7 +38,7 @@
<div class="title text-secondary" style="margin-bottom: 10px;"> <div class="title text-secondary" style="margin-bottom: 10px;">
24h {{ $t("contract.h8") }} 24h {{ $t("contract.h8") }}
</div> </div>
<div class="fn-12" style="color: #a8263b;"> <div class="fn-12" style="color: #a8263b;font-weight: bold;">
{{ activeContract.low }} {{ activeContract.low }}
</div> </div>
</div> </div>
@ -47,7 +47,7 @@
24h {{ $t("contract.h9") }} 24h {{ $t("contract.h9") }}
(USDT) (USDT)
</div> </div>
<div class="fn-12" style="color: #a8263b;"> <div class="fn-12" style="color: #a8263b;font-weight: bold;">
{{ activeContract.vol }} {{ activeContract.vol }}
</div> </div>
</div> </div>
@ -75,14 +75,14 @@
<tbody> <tbody>
<tr v-for="item in Liste" :key="item.symbol" <tr v-for="item in Liste" :key="item.symbol"
:class="{ active: item.symbol == activeSymbol }" @click="ispopover1(item.symbol)"> :class="{ active: item.symbol == activeSymbol }" @click="ispopover1(item.symbol)">
<td class="w-9/24 tr-text"> <td class="w-9/24 tr-text" style="font-weight: bold;color: #000;padding: 15px 18px;">
<img :src="item.icon" width="20" height="20" /> <img :src="item.icon" width="20" height="20" />
{{ item.symbol }}/{{ parent.coin_name }} {{ item.symbol }}/{{ parent.coin_name }}
</td> </td>
<td class="w-7/24 text-right" :class="item.increase < 0 ? 'decreace' : 'increase'"> <td class="w-7/24 text-right" :class="item.increase < 0 ? 'decreace' : 'increase'" style="font-weight: bold;padding: 15px 18px;">
{{ item.close }} {{ item.close }}
</td> </td>
<td class="w-8/24 text-right" :class="item.increase < 0 ? 'decreace' : 'increase'"> <td class="w-8/24 text-right" :class="item.increase < 0 ? 'decreace' : 'increase'" style="font-weight: bold;padding: 15px 18px;">
{{ item.increaseStr }} {{ item.increaseStr }}
</td> </td>
</tr> </tr>

8
src/views/exchange/index.vue

@ -10,11 +10,11 @@
<div class="" style="height: 67px;"> <div class="" style="height: 67px;">
<div class="coin-change d-flex align-items-center py-2 pl-4 heading justify-content-between" style="background-color: #fff;"> <div class="coin-change d-flex align-items-center py-2 pl-4 heading justify-content-between" style="background-color: #fff;">
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
<div class="coin d-flex align-items-center" style="font-size: 16px;"> <div class="coin d-flex align-items-center" style="font-size: 16px;font-weight: bold;color: #000;">
<img :src="activeContract.coin_icon" style="width: 25px;margin-right: 5px;" /> <img :src="activeContract.coin_icon" style="width: 25px;margin-right: 5px;" />
{{ activeContract.pair_name }} {{ activeContract.pair_name }}
</div> </div>
<div class="price px-3 border-right" :class="{ decreace: activeContract.increase < 0, increace: activeContract.increase >= 0}"> <div class="price px-3 border-right" style="font-weight: bold;" :class="{ decreace: activeContract.increase < 0, increace: activeContract.increase >= 0}">
<div class="current" style="margin-bottom: 10px;">{{ activeContract.price }}$</div> <div class="current" style="margin-bottom: 10px;">{{ activeContract.price }}$</div>
<div class="zf">{{ activeContract.increaseStr }}</div> <div class="zf">{{ activeContract.increaseStr }}</div>
</div> </div>
@ -30,7 +30,7 @@
</div> </div>
<div class="item px-2 pl-2 pr-2" style="width: 150px;"> <div class="item px-2 pl-2 pr-2" style="width: 150px;">
<div class="title text-secondary" style="font-size: 16px;margin-bottom: 10px;">24h {{ $t("contract.h9") }}</div> <div class="title text-secondary" style="font-size: 16px;margin-bottom: 10px;">24h {{ $t("contract.h9") }}</div>
<div style="color: #000;font-weight: bold;font-size: 12px;">{{ activeContract.vol }}</div> <div style="color: #000;font-weight: bold;font-size: 12px;">{{ omitTo(activeContract.vol,4) }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -74,6 +74,7 @@
import Home from "@/api/home"; import Home from "@/api/home";
import bus from "@/components/bus.js"; import bus from "@/components/bus.js";
import Contract from "../../api/contract"; import Contract from "../../api/contract";
import math from "@/utils/class/math.js";
export default { export default {
components: { components: {
@ -274,6 +275,7 @@
}, },
methods: { methods: {
omitTo: math.omitTo,
initMarket() { initMarket() {
// marketList // marketList
this.ws.send({ this.ws.send({

3
src/views/exchange/order-list.vue

@ -203,7 +203,7 @@
<script> <script>
import Order from "@/api/order"; import Order from "@/api/order";
import math from "@/utils/class/math.js";
export default { export default {
props: [ props: [
"ordersOpen", "ordersOpen",
@ -222,6 +222,7 @@
}; };
}, },
methods: { methods: {
omitTo: math.omitTo,
toggle(name) { toggle(name) {
this.currentTab = name; this.currentTab = name;
// //

8
src/views/exchange/symbols.vue

@ -46,18 +46,18 @@
</thead> </thead>
<tbody> <tbody>
<tr style="display:block" :class="{highlight : item.pair_id == marketId}" @click="$emit('update:symbol', item.symbol)" v-for="(item, key) in coin.marketInfoList" :key="key" v-show="isShow(item)"> <tr style="display:block;" :class="{highlight : item.pair_id == marketId}" @click="$emit('update:symbol', item.symbol)" v-for="(item, key) in coin.marketInfoList" :key="key" v-show="isShow(item)">
<td class="w-33" style="white-space:nowrap"> <td class="w-33" style="white-space:nowrap;font-weight: bold;padding: 15px 18px;color: #000;">
<!-- <i class="icon ion-md-star h6" :class="{ active: isCoolect(item) }" @click.self="handleFav(item)"></i> --> <!-- <i class="icon ion-md-star h6" :class="{ active: isCoolect(item) }" @click.self="handleFav(item)"></i> -->
<img :src="item.coin_icon" width="20" v-if="item.coin_name !== 'TRX'" /> <img :src="item.coin_icon" width="20" v-if="item.coin_name !== 'TRX'" />
<img src="https://seee.ewmcoin.com/storage/images/trx.png" width="20" v-else /> <img src="https://seee.ewmcoin.com/storage/images/trx.png" width="20" v-else />
{{ coin.coin_name == 'fav' ? item.pair_name : item.coin_name + '/' + coin.coin_name}} {{ coin.coin_name == 'fav' ? item.pair_name : item.coin_name + '/' + coin.coin_name}}
</td> </td>
<td class="w-33 text-right" :class="increaseStrColor(item)"> <td class="w-33 text-right" :class="increaseStrColor(item)" style="padding: 15px 18px;font-weight: bold;">
{{ coin.coin_name == 'fav' ? item.close : item.price}} {{ coin.coin_name == 'fav' ? item.close : item.price}}
</td> </td>
<!-- <td class="w-33 text-right" :class="item.increaseStr.startsWith('-') ? 'red' : 'green'"> --> <!-- <td class="w-33 text-right" :class="item.increaseStr.startsWith('-') ? 'red' : 'green'"> -->
<td class="w-33 text-right" :class="increaseStrColor(item)"> <td class="w-33 text-right" :class="increaseStrColor(item)" style="padding: 15px 18px;font-weight: bold;">
{{ item.increaseStr }} {{ item.increaseStr }}
</td> </td>
</tr> </tr>

28
src/views/home/index.vue

@ -208,7 +208,8 @@
<swiper-slide v-for="(item, index) in marketList[0].marketInfoList.slice(3,12)" :key="index"> <swiper-slide v-for="(item, index) in marketList[0].marketInfoList.slice(3,12)" :key="index">
<div class="InfoList"> <div class="InfoList">
<div style="font-weight: bold;width: 100px;"> <div style="font-weight: bold;width: 100px;">
<img :src="item.coin_icon" width="37" height="37"> <img :src="item.coin_icon" width="37" height="37" v-if="item.coin_name !== 'TRX'">
<img src="https://seee.ewmcoin.com/storage/images/trx.png" width="37" height="37" v-else>
{{ item.coin_name }} {{ item.coin_name }}
</div> </div>
</div> </div>
@ -287,20 +288,20 @@
<div class="home-box-content-remind">{{ $t("homeNewText.hh35") }}</div> <div class="home-box-content-remind">{{ $t("homeNewText.hh35") }}</div>
<div class="home-box-content-box"> <div class="home-box-content-box">
<div style="position: relative;"> <div style="position: relative;">
<div class="download-btn ant-dropdown-trigger" @mouseenter="showDropdown" @mouseleave="hideDropdown"> <div class="download-btn ant-dropdown-trigger1" @mouseenter="showDropdown1" @mouseleave="hideDropdown1">
<img src="@/assets/img/home/IOS1.png" width="30" /> <img src="@/assets/img/home/Google.png" width="30" style="margin-right: 10px;" />
<span>App Store</span> <span>Google Play</span>
</div> </div>
<div class="ant-dropdown" v-show="showDrop"> <div class="ant-dropdown" v-show="showDrop1">
<img src="@/assets/img/home/Ewmlogin.png" alt="" /> <img src="@/assets/img/home/Ewmlogin.png" alt="" />
</div> </div>
</div> </div>
<div style="position: relative;"> <div style="position: relative;">
<div class="download-btn ant-dropdown-trigger1" @mouseenter="showDropdown1" @mouseleave="hideDropdown1"> <div class="download-btn ant-dropdown-trigger" @mouseenter="showDropdown" @mouseleave="hideDropdown">
<img src="@/assets/img/home/Android1.png" width="30" /> <img src="@/assets/img/home/IOS1.png" width="30" style="margin-right: 5px;" />
<span>Android</span> <span>App Store</span>
</div> </div>
<div class="ant-dropdown" v-show="showDrop1"> <div class="ant-dropdown" v-show="showDrop">
<img src="@/assets/img/home/Ewmlogin.png" alt="" /> <img src="@/assets/img/home/Ewmlogin.png" alt="" />
</div> </div>
</div> </div>
@ -445,8 +446,7 @@
<div style="font-size: 20px;margin-bottom: 2rem;">{{ $t("homeNewText.ee2") }}</div> <div style="font-size: 20px;margin-bottom: 2rem;">{{ $t("homeNewText.ee2") }}</div>
<div style="font-size: 20px;margin-bottom: 1.5rem;">{{ $t("homeNewText.ee3") }}</div> <div style="font-size: 20px;margin-bottom: 1.5rem;">{{ $t("homeNewText.ee3") }}</div>
<div class="d-flex"> <div class="d-flex">
<div class="icon-box" style="margin-right: 45px;"><img src="../../assets/img/features/apple_1.png" <div class="icon-box" style="margin-right: 45px;"><img src="../../assets/img/features/apple_1.png"alt="">
alt="">
<div>APP Store</div> <div>APP Store</div>
</div> </div>
<div class="icon-box" style=""><img src="../../assets/img/features/android_1.png" alt=""> <div class="icon-box" style=""><img src="../../assets/img/features/android_1.png" alt="">
@ -2721,13 +2721,15 @@
} }
.Purchase_padding{ .Purchase_padding{
padding: 100px 0px 200px 0px; padding: 100px 0px 200px 0px;
display: flex;
justify-content: center;
a{ a{
display: block; display: block;
} }
.Purchase{ .Purchase{
max-width: 200px; // max-width: 350px;
padding: 0px 20px; padding: 0px 20px;
height: 64px; height: 64px;
background-color: #E0876E; background-color: #E0876E;

Loading…
Cancel
Save