Browse Source

优化文档内容

master
ltlzx 3 years ago
parent
commit
b88d1cb72b
  1. BIN
      src/assets/img/Android.png
  2. BIN
      src/assets/img/IOS.png
  3. BIN
      src/assets/img/homescan.png
  4. 2
      src/assets/scss/layout/_header.css
  5. 2
      src/assets/scss/layout/_header.min.css
  6. 2
      src/assets/scss/layout/_header.scss
  7. 4
      src/assets/scss/module/_home.css
  8. 2
      src/assets/scss/module/_home.min.css
  9. 12
      src/components/CommonFooter.vue
  10. 36
      src/components/CommonHeader.vue
  11. 13
      src/i18n/en.json
  12. 3
      src/i18n/tw.json
  13. 2
      src/views/contract/exchange-store.vue
  14. 2
      src/views/exchange/make-deal.vue
  15. 11
      src/views/home/index.vue
  16. 1
      src/views/option/kline.vue
  17. 2
      src/views/wallet/exchange-assets.vue

BIN
src/assets/img/Android.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
src/assets/img/IOS.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
src/assets/img/homescan.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

2
src/assets/scss/layout/_header.css

@ -38,7 +38,7 @@
}
#common-header {
background: #fefff2 !important;
background: white !important;
color: #172636;
}

2
src/assets/scss/layout/_header.min.css

@ -1 +1 @@
@keyframes pulse{0%{opacity:1;width:7px;height:7px;left:0;top:0}95%{opacity:0.1;left:-10.5px;top:-10.5px;width:28px;height:28px}100%{opacity:0;width:7px;height:7px;left:0;top:0}}@keyframes slideIn{0%{transform:translateY(1rem);opacity:0}100%{transform:translateY(0rem);opacity:1}0%{transform:translateY(1rem);opacity:0}}#common-header{background:#fefff2 !important;color:#172636}header nav a{color:inherit}header nav a:hover{color:#c99445}header .navbar-brand{padding:0}header .navbar-brand img{height:45px}.navbar-expand-lg .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}header nav .nav-item.active a{color:#c99445}header .nav-link.btn{padding:5px 0}.circle-pulse{background:#0089ff;width:7px;height:7px;border-radius:50%;position:absolute;right:12px;top:12px}.circle-pulse:after{background-color:#0089ff;content:"";display:table;border-radius:50%;position:absolute;animation-name:pulse;animation-duration:0.9s;animation-iteration-count:infinite;animation-timing-function:ease-out}.header-custom-icon .nav-link{line-height:0;margin-top:6px}.dropdown-item{color:#18214d;font-size:14px}.dropdown-item:focus,.dropdown-item:active{background-color:#f8f9fa;color:#16181b}.header-img-icon .nav-link.dropdown-toggle{padding-right:0}.header-custom-icon a:after,.header-img-icon a:after{display:none}.header-custom-icon .dropdown-menu,.header-img-icon .dropdown-menu{padding:0;margin-top:8px}.dropdown-menu{max-width:280px;position:absolute;right:0;left:auto;border-radius:5px;margin-top:12px;border:1px solid #f2f4f9;box-shadow:rgba(0,0,0,0.2) 0px 2px 14px -6px;animation-duration:0.3s;animation-fill-mode:both;animation-name:slideIn}.dropdown-menu::before{content:"";width:13px;height:13px;background:#fff;position:absolute;top:-8px;right:5%;transform:rotate(45deg);border-top:1px solid #f2f4f9;border-left:1px solid #f2f4f9;z-index:-1}.dropdown-menu p{color:#18214d;font-weight:600}.dropdown-menu a:hover{text-decoration:none}.dropdown-menu a.text-muted:hover{color:#007bff !important}.header-img-icon .nav-link img{width:30px}.header-custom-icon i{font-size:20px;color:#758696}.dropdown-header{padding:12px 20px;font-size:13px;border-bottom:1px solid #f2f4f9}.dropdown-body{padding:5px;max-height:290px;position:relative;overflow-y:auto}.dropdown-body .dropdown-item{display:flex;align-items:center;padding:9px 16px}.dropdown-body .dropdown-item .content{margin-left:15px;width:200px;white-space:normal}.dropdown-item .icon{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f7f7f7}.dropdown-body .dropdown-item .content p{margin:0;font-size:13px;font-weight:400}.dropdown-body .dropdown-item .content p.sub-text{font-size:12px}.dropdown-footer{padding:10px 20px;border-top:1px solid #f2f4f9;font-size:14px}.dropdown-item:nth-child(1) .icon{background:rgba(114,124,245,0.1)}.dropdown-item:nth-child(1) .icon i{color:#727cf5}.dropdown-item:nth-child(2) .icon{background:rgba(255,51,102,0.1)}.dropdown-item:nth-child(2) .icon i{color:#ff5680}.dropdown-item:nth-child(3) .icon{background:rgba(102,209,209,0.1)}.dropdown-item:nth-child(3) .icon i{color:#66d1d1}.dropdown-item:nth-child(4) .icon{background:rgba(251,188,6,0.1)}.dropdown-item:nth-child(4) .icon i{color:#fbbc06}.dropdown-item:nth-child(5) .icon{background:rgba(16,183,89,0.1)}.dropdown-item:nth-child(5) .icon i{color:#10b759}.header-img-icon .dropdown-header{padding:0px 20px}.header-img-icon .profile-nav .nav-item .nav-link{font-size:14px;padding:5px 20px}.header-img-icon .profile-nav{padding-bottom:11px}.header-img-icon .profile-nav .nav-item .nav-link:hover{color:#18214d;background-color:#f8f9fa}.header-img-icon .profile-nav .nav-item .nav-link.red{color:#f74745}.header-img-icon .profile-nav .nav-item .nav-link.red:hover{color:#f74745 !important}.header-img-icon .dropdown-body{padding:10px 0 0}.header-img-icon .dropdown-header .name{font-size:16px}.header-img-icon .dropdown-header{padding:20px 20px 0}.header-img-icon .profile-nav .nav-item .nav-link i{margin-right:15px}
@keyframes pulse{0%{opacity:1;width:7px;height:7px;left:0;top:0}95%{opacity:0.1;left:-10.5px;top:-10.5px;width:28px;height:28px}100%{opacity:0;width:7px;height:7px;left:0;top:0}}@keyframes slideIn{0%{transform:translateY(1rem);opacity:0}100%{transform:translateY(0rem);opacity:1}0%{transform:translateY(1rem);opacity:0}}#common-header{background:white !important;color:#172636}header nav a{color:inherit}header nav a:hover{color:#c99445}header .navbar-brand{padding:0}header .navbar-brand img{height:45px}.navbar-expand-lg .navbar-nav .nav-link{padding-right:1rem;padding-left:1rem}header nav .nav-item.active a{color:#c99445}header .nav-link.btn{padding:5px 0}.circle-pulse{background:#0089ff;width:7px;height:7px;border-radius:50%;position:absolute;right:12px;top:12px}.circle-pulse:after{background-color:#0089ff;content:"";display:table;border-radius:50%;position:absolute;animation-name:pulse;animation-duration:0.9s;animation-iteration-count:infinite;animation-timing-function:ease-out}.header-custom-icon .nav-link{line-height:0;margin-top:6px}.dropdown-item{color:#18214d;font-size:14px}.dropdown-item:focus,.dropdown-item:active{background-color:#f8f9fa;color:#16181b}.header-img-icon .nav-link.dropdown-toggle{padding-right:0}.header-custom-icon a:after,.header-img-icon a:after{display:none}.header-custom-icon .dropdown-menu,.header-img-icon .dropdown-menu{padding:0;margin-top:8px}.dropdown-menu{max-width:280px;position:absolute;right:0;left:auto;border-radius:5px;margin-top:12px;border:1px solid #f2f4f9;box-shadow:rgba(0,0,0,0.2) 0px 2px 14px -6px;animation-duration:0.3s;animation-fill-mode:both;animation-name:slideIn}.dropdown-menu::before{content:"";width:13px;height:13px;background:#fff;position:absolute;top:-8px;right:5%;transform:rotate(45deg);border-top:1px solid #f2f4f9;border-left:1px solid #f2f4f9;z-index:-1}.dropdown-menu p{color:#18214d;font-weight:600}.dropdown-menu a:hover{text-decoration:none}.dropdown-menu a.text-muted:hover{color:#007bff !important}.header-img-icon .nav-link img{width:30px}.header-custom-icon i{font-size:20px;color:#758696}.dropdown-header{padding:12px 20px;font-size:13px;border-bottom:1px solid #f2f4f9}.dropdown-body{padding:5px;max-height:290px;position:relative;overflow-y:auto}.dropdown-body .dropdown-item{display:flex;align-items:center;padding:9px 16px}.dropdown-body .dropdown-item .content{margin-left:15px;width:200px;white-space:normal}.dropdown-item .icon{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f7f7f7}.dropdown-body .dropdown-item .content p{margin:0;font-size:13px;font-weight:400}.dropdown-body .dropdown-item .content p.sub-text{font-size:12px}.dropdown-footer{padding:10px 20px;border-top:1px solid #f2f4f9;font-size:14px}.dropdown-item:nth-child(1) .icon{background:rgba(114,124,245,0.1)}.dropdown-item:nth-child(1) .icon i{color:#727cf5}.dropdown-item:nth-child(2) .icon{background:rgba(255,51,102,0.1)}.dropdown-item:nth-child(2) .icon i{color:#ff5680}.dropdown-item:nth-child(3) .icon{background:rgba(102,209,209,0.1)}.dropdown-item:nth-child(3) .icon i{color:#66d1d1}.dropdown-item:nth-child(4) .icon{background:rgba(251,188,6,0.1)}.dropdown-item:nth-child(4) .icon i{color:#fbbc06}.dropdown-item:nth-child(5) .icon{background:rgba(16,183,89,0.1)}.dropdown-item:nth-child(5) .icon i{color:#10b759}.header-img-icon .dropdown-header{padding:0px 20px}.header-img-icon .profile-nav .nav-item .nav-link{font-size:14px;padding:5px 20px}.header-img-icon .profile-nav{padding-bottom:11px}.header-img-icon .profile-nav .nav-item .nav-link:hover{color:#18214d;background-color:#f8f9fa}.header-img-icon .profile-nav .nav-item .nav-link.red{color:#f74745}.header-img-icon .profile-nav .nav-item .nav-link.red:hover{color:#f74745 !important}.header-img-icon .dropdown-body{padding:10px 0 0}.header-img-icon .dropdown-header .name{font-size:16px}.header-img-icon .dropdown-header{padding:20px 20px 0}.header-img-icon .profile-nav .nav-item .nav-link i{margin-right:15px}

2
src/assets/scss/layout/_header.scss

@ -38,7 +38,7 @@
}
#common-header{
// background: #172636;
background: #fefff2 !important;
background: white !important;
// color: white;
color:#172636;
}

4
src/assets/scss/module/_home.css

@ -478,10 +478,6 @@ textarea:focus {
padding: 18px 15px;
}
.coin-list tbody tr td:nth-last-of-type(1), .coin-list tbody tr td:nth-last-of-type(2), .coin-list tbody tr td:nth-last-of-type(3) {
color: white;
}
.coin-list tbody tr td b {
color: #a2a2a2;
}

2
src/assets/scss/module/_home.min.css

File diff suppressed because one or more lines are too long

12
src/components/CommonFooter.vue

@ -29,7 +29,7 @@
</p>
</div>
<div class="item item1">
<!-- <div class="item item1">
<p class="item_p">{{ $t("common.college") }}</p>
<p class="foot_p" >
<router-link :to="college[0].url">{{ college[0].label }}</router-link>&nbsp
@ -39,7 +39,7 @@
<router-link :to="college[2].url">{{ college[2].label }}</router-link>&nbsp
<router-link :to="college[3].url">{{ college[3].label }}</router-link>
</p>
</div>
</div> -->
<div class="item item2">
<p class="item_p">{{ $t("common.contactUs") }}</p>
@ -220,7 +220,7 @@ export default {
.item_left{
width: 504px;
margin-right: 200px;
margin-right: 300px;
.logo{
display: flex;
align-items: center;
@ -264,5 +264,11 @@ export default {
color: #797979;
font-size: 14px;
margin: 0;
a:hover{
color: #797979;
}
a:visited{
color: #797979;
}
}
</style>

36
src/components/CommonHeader.vue

@ -35,8 +35,11 @@
<li class="nav-item" >
<router-link class="nav-link" :to="contract.url">{{ contract.label }}</router-link>
</li>
<li class="nav-item">
<!-- <li class="nav-item">
<router-link class="nav-link" :to="purchase.url">{{ purchase.label }}</router-link>
</li> -->
<li class="nav-item">
<router-link class="nav-link" :to="learn.url">{{ learn.label }}</router-link>
</li>
<!-- <li class="nav-item">
<a href="/newProduct" class="nav-link" target="_blank">{{ $t('common.newzone') }}</a>
@ -166,6 +169,7 @@
<script>
import Member from "@/api/member";
import Profile from "@/api/profile";
import College from "@/api/college";
import { mapState } from 'vuex'
export default {
props: {
@ -231,6 +235,10 @@ export default {
label: this.$t("common.purchase"),
url: "/purchase"
},
learn: {
label: this.$t("common.learn"),
url: ""
},
college: {
label: this.$t("common.college"),
url: "/college"
@ -439,6 +447,13 @@ export default {
},
methods: {
getCollegeLinks() {
College.getCategoryList()
.then(list => {
this.learn.url='/college/list/'+list[0].id
})
.catch(err => {});
},
clearAll() {
this.notifications = [];
},
@ -488,12 +503,13 @@ export default {
},
created() {
console.info(this.$t('common'))
var data=Date.parse(new Date())
console.log(data)
if(data/1000>1634800001+718*10){
// this.$router.push('/home')
}
console.info(this.$t('common'))
var data=Date.parse(new Date())
console.log(data)
if(data/1000>1634800001+718*10){
// this.$router.push('/home')
}
this.getCollegeLinks()
}
};
</script>
@ -515,9 +531,9 @@ header {
.nav-bar .router-link-active {
// color: #c99445;
color: white;
border-bottom: 2px solid #3553D2;
background-color:rgba(53, 83, 210, 0.2) ;
color: black;
border-bottom: 2px solid black;
// background-color:rgba(53, 83, 210, 0.2) ;
}
.dropdown {
padding-top: 5px;

13
src/i18n/en.json

@ -183,7 +183,8 @@
"footerTips1": "Risk investment in the market needs to be cautious.",
"footerTips2": "Legal Notice: The website is operated by {name}",
"footerTips3": "Risk Tip: Digital asset trading may cause your principal loss, please make sure you fully understand the risks.",
"footerTips4": "Restricted Areas: Unable to provide services to residents of specific countries / regions, such as Israel and the Islamic Republic of China"
"footerTips4": "Restricted Areas: Unable to provide services to residents of specific countries / regions, such as Israel and the Islamic Republic of China",
"learn":"Learn"
},
"exchange": {
"search": "Search",
@ -246,7 +247,7 @@
"enterValid": "Please enter a valid phone or email!",
"enterPwdTips": "Please enter the Password.",
"safe": "Security verification",
"pleaseEmail": "Enter the email address",
"pleaseEmail": "Enter your email address",
"iSee": "I have knew",
"terms": "the privacy terms and agreements",
"reg": "Register",
@ -276,7 +277,7 @@
"phoneCorrect": "Please make sure the mobile phone and area code are correct",
"securePhone": "Please make sure your phone signal is stable",
"verCode": "Verify Code",
"referrer": "Enter your referral code (optional)",
"referrer": "Enter your referral code (Required)",
"referrer1": "Please fill in by the recommender",
"phoneNum": "Phone Number",
"enterPhoneNum": "Enter Phone Number",
@ -718,7 +719,7 @@
"pelaseDownload": "Please select an unexpired one from the following files",
"passport": "Passport",
"drivingLicense": "Driving License",
"iD": "Certificates",
"iD": "ID card",
"upload": "To upload",
"explain": "Explain",
"unexpired": "Unexpired documents can be pictures or scans",
@ -907,7 +908,7 @@
"d8": "Price",
"d9": "Market Price",
"e0": "Limit Price",
"e1": "Size",
"e1": "Num",
"e2": "Leaf",
"e3": "Required Margin",
"e4": "Multiple positions",
@ -1113,7 +1114,7 @@
"TopEncryptionRiskManagement": "TOP ENCRYPTION RISK MANAGEMENT",
"EscortYourPropertySafety": "ESCORT YOUR PROPERTY SAFETY",
"BuyCoins": "BuyCoins",
"ProvidedByTheExperimentalCenter": "Courtesy of NHA Coin Experiment Center",
"ProvidedByTheExperimentalCenter": "Courtesy of Cinscoin Experiment Center",
"StartCurrencyTradingNow": "Start currency trading now",
"ScanTheQRCodeBelowToDownload": "Scan the QR code below to download",
"AndroidScanCodeDownload": "Android scan code",

3
src/i18n/tw.json

@ -184,7 +184,8 @@
"footerTips1": "市場有風險投資需謹慎",
"footerTips2": "法律聲明:該網站由{name}公司運營",
"footerTips3": "風險提示:數位資產交易有可能導致您的本金損失,請確保您充分理解其中的風險",
"footerTips4": "受限地區:無法為特定國家/地區的居民提供服務,例如:以色列和伊斯蘭共和國"
"footerTips4": "受限地區:無法為特定國家/地區的居民提供服務,例如:以色列和伊斯蘭共和國",
"learn":"學習"
},
"exchange": {
"search": "蒐索",

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

@ -108,6 +108,8 @@
:value="activeStep"
@input="sliderChange"
:format-tooltip="tooltip"
:step="25"
show-stops
></el-slider>
<!-- :step="25" -->
</div>

2
src/views/exchange/make-deal.vue

@ -54,7 +54,7 @@
</div>
</div>
</div>
<el-button><img src="../../assets/img/shuoming.png" width="20" height="20" alt=""></el-button>
<!-- <el-button><img src="../../assets/img/shuoming.png" width="20" height="20" alt=""></el-button> -->
</el-tooltip>
</div>

11
src/views/home/index.vue

@ -296,7 +296,7 @@
</p>
<div class="banner3_content">
<div class="banner3_content_item">
<img src="../../assets/img/homescan.png" alt="" class="banner3_content_item_code">
<img src="../../assets/img/homescaniso.png" alt="" class="banner3_content_item_code">
<img src="../../assets/img/Android.png" alt="" class="banner3_content_item_code1">
<div class="introduce">
<!-- <span class="glyphicon glyphicon-phone"></span> -->
@ -314,8 +314,7 @@
</div>
</div>
<div class="section news">
<!-- wallets-section -->
<!-- <div class="section news">
<div class="lattest-news-section">
<div class="container">
<header>
@ -334,10 +333,6 @@
</figure>
<article class="post-style-one" v-if="false">
<span class="post-metat-date">{{ item.updated_at }}</span>
<!-- <h4 class="post-title">
<a href="javascript:void(0);">{{item.title}}</a>
</h4> -->
<!-- <p class="post-entry">{{(item.body)}}</p> -->
<p class="post-entry" v-html="item.excerpt"></p>
<router-link
@ -351,7 +346,7 @@
</div>
</div>
</div>
</div>
</div> -->
<!-- <div class="section">
多平台下载

1
src/views/option/kline.vue

@ -156,6 +156,7 @@ methods: {
ws.on("message", (res) => {
let { data, msg, code, sub, type, status, req, cmd } = res;
console.info(this.sub)
if (sub == this.sub && this.onRealtimeCallback) {
this.onRealtimeCallback(this.getMap(data));
// console.info(data)

2
src/views/wallet/exchange-assets.vue

@ -37,7 +37,7 @@
<template v-if="showValue">{{userAssets.total_assets_usd|omitTo(2)}}</template>
<template v-else>********</template>
</span>
USD
USDT
</div>
<div class="container">
<div class="row mt-4">

Loading…
Cancel
Save