Browse Source

首页、注册页、提币功能更新

master
luyisha 3 years ago
parent
commit
865fc03f3e
  1. 12
      api/member.js
  2. 2
      api/serve/index.js
  3. 10
      app.js
  4. BIN
      assets/img/home/1.png
  5. BIN
      assets/img/home/2.png
  6. BIN
      assets/img/home/3.png
  7. BIN
      assets/img/home/4.png
  8. BIN
      assets/img/home/5.png
  9. BIN
      assets/img/home/6.png
  10. BIN
      assets/img/home/7.png
  11. BIN
      assets/img/home/8.png
  12. BIN
      assets/img/home/9.png
  13. BIN
      assets/img/home/antFill-apple@2x.png
  14. BIN
      assets/img/home/antFill-apple@3x.png
  15. BIN
      assets/img/home/fas fa-user-plus@3x.png
  16. BIN
      assets/img/home/illustration_1.png
  17. BIN
      assets/img/home/md-android@2x.png
  18. BIN
      assets/img/home/md-android@3x.png
  19. BIN
      assets/img/home/radial_bg.png
  20. BIN
      assets/img/home/riFill-exchange-fill@3x.png
  21. BIN
      assets/img/home/riFill-google-play-fill@2x.png
  22. BIN
      assets/img/home/riFill-google-play-fill@3x.png
  23. BIN
      assets/img/home/stt.png
  24. BIN
      assets/img/home/图片 6@3x.png
  25. BIN
      assets/img/home/图片 7@3x.png
  26. BIN
      assets/img/home/图片 9@3x.png
  27. 3
      i18n/lang/de.json
  28. 3
      i18n/lang/en.json
  29. 3
      i18n/lang/fra.json
  30. 3
      i18n/lang/it.json
  31. 3
      i18n/lang/jp.json
  32. 3
      i18n/lang/kor.json
  33. 3
      i18n/lang/pt.json
  34. 3
      i18n/lang/spa.json
  35. 3
      i18n/lang/tr.json
  36. 78
      i18n/lang/zh-TW.json
  37. 18
      layout/vCode.vue
  38. 88
      pages/assets/draw.vue
  39. 311
      pages/base/home.vue
  40. 5
      pages/base/index.vue
  41. 38
      pages/reg/index.vue
  42. 6
      static/tradingview.html
  43. 3
      store/index.js

12
api/member.js

@ -124,6 +124,18 @@ class Member {
static serviceDetail(data) { static serviceDetail(data) {
return server.get(`/article/serviceDetail`, data); return server.get(`/article/serviceDetail`, data);
} }
/**
* 获取图形验证码
* @param data {email,token}
*/
static Graph_che() {
return server.get(`/register/Graph_che`);
}
// 提币获取邮箱验证码
static getWdcode(data){
return server.get(`/user/wdcode`, data);
}
} }
export default Member; export default Member;

2
api/serve/index.js

@ -89,7 +89,7 @@ x.fn = x.prototype = {
&& newMsg!='_user_primaryAuth' && newMsg!='_user_subscribeTokenList' && newMsg!='_article_detail' && newMsg!='_articleList' && newMsg!='_user_primaryAuth' && newMsg!='_user_subscribeTokenList' && newMsg!='_article_detail' && newMsg!='_articleList'
&& newMsg!='_user_subscribeRecords' && newMsg!='_user_subscribeNow' && newMsg!='_exchange_getMarketInfo' && newMsg!='_user_subscribeRecords' && newMsg!='_user_subscribeNow' && newMsg!='_exchange_getMarketInfo'
&& newMsg!='_indexList'&& newMsg!='_user_subscribe'&& newMsg!='_contract_getSymbolDetail' && newMsg!='_user_withdrawalRecord'){ && newMsg!='_indexList'&& newMsg!='_user_subscribe'&& newMsg!='_contract_getSymbolDetail' && newMsg!='_user_withdrawalRecord'){
resolve(Cache.get(newMsg).data); // resolve(Cache.get(newMsg).data);//缓存数据
} }
uni.request({ uni.request({

10
app.js

@ -3,14 +3,14 @@ let config = {};
if (process.env.NODE_ENV == 'production'||true) { //生产环境 if (process.env.NODE_ENV == 'production'||true) { //生产环境
config = { config = {
// ajax地址 // ajax地址
baseUrl: 'https://xmg.xusexchange.com/', baseUrl: 'https://mgg.cxisux.com/',
// 图片地址 (暂时无用) // 图片地址 (暂时无用)
imgUrl: 'https://xmg.xusexchange.com/storage', imgUrl: 'https://mgg.cxisux.com/storage',
// socket地址 // socket地址
socketUrl: 'wss://xmg.xusexchange.com/ws1', socketUrl: 'wss://mgg.cxisux.com/ws1',
socketUrl1: 'wss://xmg.xusexchange.com/ws2', socketUrl1: 'wss://mgg.cxisux.com/ws2',
// pc端地址 // pc端地址
pcUrl:'https://xmg.xusexchange.com/', pcUrl:'https://mgg.cxisux.com/',
// app名称 // app名称
appName: 'AACoins', appName: 'AACoins',
// 版本 // 版本

BIN
assets/img/home/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
assets/img/home/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
assets/img/home/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
assets/img/home/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
assets/img/home/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
assets/img/home/6.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 B

After

Width:  |  Height:  |  Size: 77 KiB

BIN
assets/img/home/7.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/home/8.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 1005 B

BIN
assets/img/home/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

BIN
assets/img/home/antFill-apple@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

BIN
assets/img/home/antFill-apple@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
assets/img/home/fas fa-user-plus@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
assets/img/home/illustration_1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 49 KiB

BIN
assets/img/home/md-android@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

BIN
assets/img/home/md-android@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

BIN
assets/img/home/radial_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

BIN
assets/img/home/riFill-exchange-fill@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/img/home/riFill-google-play-fill@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

BIN
assets/img/home/riFill-google-play-fill@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 891 B

BIN
assets/img/home/stt.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 KiB

After

Width:  |  Height:  |  Size: 88 KiB

BIN
assets/img/home/图片 6@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
assets/img/home/图片 7@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

BIN
assets/img/home/图片 9@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

3
i18n/lang/de.json

@ -67,7 +67,8 @@
"c4": "Geschätzte Spanne", "c4": "Geschätzte Spanne",
"c7": "Der aktuelle wert", "c7": "Der aktuelle wert",
"c6": "Oranı artır", "c6": "Oranı artır",
"c5": "Ihre Überweisungsaufgabe wurde erfolgreich eingereicht, warten Sie bitte geduldig, und das Übertragungsergebnis wird per SMS oder E-Mail benachrichtigt. Bitte überprüfen Sie es sorgfältig. Bei Fragen wenden Sie sich bitte rechtzeitig an den Kundenservice." "c5": "Ihre Überweisungsaufgabe wurde erfolgreich eingereicht, warten Sie bitte geduldig, und das Übertragungsergebnis wird per SMS oder E-Mail benachrichtigt. Bitte überprüfen Sie es sorgfältig. Bei Fragen wenden Sie sich bitte rechtzeitig an den Kundenservice.",
"GraphicValidation": "Grafische Überprüfung"
}, },
"base": { "base": {
"a0": "Titel", "a0": "Titel",

3
i18n/lang/en.json

@ -108,7 +108,8 @@
"c4": "Size", "c4": "Size",
"c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.", "c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.",
"c6": "Increase ratio", "c6": "Increase ratio",
"c7": "Current valuation" "c7": "Current valuation",
"GraphicValidation": "Graphical verification"
}, },
"base": { "base": {
"a0": "Title", "a0": "Title",

3
i18n/lang/fra.json

@ -67,7 +67,8 @@
"c4": "Marge estimée", "c4": "Marge estimée",
"c7": "La valorisation actuelle", "c7": "La valorisation actuelle",
"c6": "Augmenter le rapport", "c6": "Augmenter le rapport",
"c5": "votre commande de transfert a été soumise avec succès. Veuillez patienter. Les résultats du transfert seront notifiés par SMS ou e - mail. Veuillez vérifier et contacter le service à la clientèle en cas de doute." "c5": "votre commande de transfert a été soumise avec succès. Veuillez patienter. Les résultats du transfert seront notifiés par SMS ou e - mail. Veuillez vérifier et contacter le service à la clientèle en cas de doute.",
"GraphicValidation": "Vérification graphique"
}, },
"base": { "base": {
"a0": "Titre", "a0": "Titre",

3
i18n/lang/it.json

@ -67,7 +67,8 @@
"c4": "Margine stimato", "c4": "Margine stimato",
"c7": "Valutazione attuale", "c7": "Valutazione attuale",
"c6": "Aumenta il rapporto", "c6": "Aumenta il rapporto",
"c5": "l'ordine di trasferimento è stato presentato con successo, si prega di attendere pazientemente, e il risultato di trasferimento sarà notificato via SMS o e-mail. Si prega di controllare attentamente. Se avete domande, si prega di contattare il servizio clienti in tempo." "c5": "l'ordine di trasferimento è stato presentato con successo, si prega di attendere pazientemente, e il risultato di trasferimento sarà notificato via SMS o e-mail. Si prega di controllare attentamente. Se avete domande, si prega di contattare il servizio clienti in tempo.",
"GraphicValidation": "Verifica grafica"
}, },
"base": { "base": {
"a0": "titolo", "a0": "titolo",

3
i18n/lang/jp.json

@ -67,7 +67,8 @@
"c4": "仮勘定保証金", "c4": "仮勘定保証金",
"c6": "増加率", "c6": "増加率",
"c7": "現在の評価値", "c7": "現在の評価値",
"c5": "あなたの振替注文書はすでに提出されました。待ってください。振り替え結果はメールやメールで通知されます。ご確認ください。問題があれば、すぐにカスタマーサービスに連絡してください。" "c5": "あなたの振替注文書はすでに提出されました。待ってください。振り替え結果はメールやメールで通知されます。ご確認ください。問題があれば、すぐにカスタマーサービスに連絡してください。",
"GraphicValidation": "グラフィカルな検証"
}, },
"base": { "base": {
"a0": "タイトル", "a0": "タイトル",

3
i18n/lang/kor.json

@ -67,7 +67,8 @@
"c4":"보증금 예상", "c4":"보증금 예상",
"c6":"증가 비율", "c6":"증가 비율",
"c7":"현재가치평가", "c7":"현재가치평가",
"c5": "당신 의 이월 주문 서 는 이미 제출 되 었 습 니 다. 인내심 을 가지 고 기 다 려 주 십시오. 이월 결 과 는 문자 나 우편 으로 통지 할 것 입 니 다. 수령 에 주의 하 십시오. 궁금 한 점 이 있 으 면 즉시 고객 센터 에 연락 하 십시오." "c5": "당신 의 이월 주문 서 는 이미 제출 되 었 습 니 다. 인내심 을 가지 고 기 다 려 주 십시오. 이월 결 과 는 문자 나 우편 으로 통지 할 것 입 니 다. 수령 에 주의 하 십시오. 궁금 한 점 이 있 으 면 즉시 고객 센터 에 연락 하 십시오.",
"GraphicValidation": "그래픽 검증"
}, },
"base": { "base": {
"a0":"표제.", "a0":"표제.",

3
i18n/lang/pt.json

@ -67,7 +67,8 @@
"c4":"Margem estimada", "c4":"Margem estimada",
"c6":"Aumentar proporção", "c6":"Aumentar proporção",
"c7":"A avaliação atual", "c7":"A avaliação atual",
"c5": "Sua ordem de transfer ência FOI enviada com sucesso, por favor aguarde pacientemente, e o Resultado Da transferência será notificado por SMS ou e-mail. Por favor, verifique-o com cuidado. Se você tiver quaisquer perguntas, por favor contacte o serviço de cliente a tempo." "c5": "Sua ordem de transfer ência FOI enviada com sucesso, por favor aguarde pacientemente, e o Resultado Da transferência será notificado por SMS ou e-mail. Por favor, verifique-o com cuidado. Se você tiver quaisquer perguntas, por favor contacte o serviço de cliente a tempo.",
"GraphicValidation": "Verificação gráfica"
}, },
"base": { "base": {
"a0":"Título", "a0":"Título",

3
i18n/lang/spa.json

@ -67,7 +67,8 @@
"c4":"margen estimado", "c4":"margen estimado",
"c6":"Relación de aumento", "c6":"Relación de aumento",
"c7":"La valoración actual", "c7":"La valoración actual",
"c5": "su orden de transferencia ha sido enviada con éxito, por favor espere pacientemente, los resultados de la transferencia serán notificados por SMS o correo electrónico. Por favor, preste atención a la recepción, si tiene alguna pregunta por favor póngase en contacto con el servicio al cliente a tiempo." "c5": "su orden de transferencia ha sido enviada con éxito, por favor espere pacientemente, los resultados de la transferencia serán notificados por SMS o correo electrónico. Por favor, preste atención a la recepción, si tiene alguna pregunta por favor póngase en contacto con el servicio al cliente a tiempo.",
"GraphicValidation": "Verificación gráfica"
}, },
"base": { "base": {
"a0":"Título", "a0":"Título",

3
i18n/lang/tr.json

@ -67,7 +67,8 @@
"c4": "tahmin edilen margin", "c4": "tahmin edilen margin",
"c6": "Oranı artır", "c6": "Oranı artır",
"c7": "Mevcut değerleme", "c7": "Mevcut değerleme",
"c5": "Taşıma emriniz başarıyla teslim edildi, lütfen sabırlı bekleyin ve aktarım sonuçları SMS veya e-posta tarafından bildirilecek. Lütfen dikkatli kontrol edin. Bir sorununuz varsa, lütfen müşteri hizmetine zamanında temas edin." "c5": "Taşıma emriniz başarıyla teslim edildi, lütfen sabırlı bekleyin ve aktarım sonuçları SMS veya e-posta tarafından bildirilecek. Lütfen dikkatli kontrol edin. Bir sorununuz varsa, lütfen müşteri hizmetine zamanında temas edin.",
"GraphicValidation": "Grafiksel doğrulama"
}, },
"base": { "base": {
"a0": "Başlık", "a0": "Başlık",

78
i18n/lang/zh-TW.json

@ -108,7 +108,8 @@
"c4": "數量", "c4": "數量",
"c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服", "c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服",
"c6": "漲幅比例", "c6": "漲幅比例",
"c7": "當前估值" "c7": "當前估值",
"GraphicValidation": "圖形驗證"
}, },
"base": { "base": {
"a0": "標題", "a0": "標題",
@ -888,33 +889,52 @@
"a43":"開啟加密之旅" "a43":"開啟加密之旅"
}, },
"homeNewText": { "homeNewText": {
"aa1": "加密貨幣之門", "aa1": "開啓你的加密貨幣投資",
"aa2": "安全,快捷,輕鬆交易超過100種加密貨幣", "aa2": "安全、穩定、高效",
"aa3": "透過電子郵件註冊", "aa3": "立即註冊",
"aa4": "立即開始交易", "aa4": "立即開始交易",
"aa5": "市場趨勢", "aa5": "流行的加密貨幣",
"aa6": "數位資產行情速遞", "aa6": "數位資產行情速遞",
"aa7": "幣種", "aa7": "幣種",
"bb1": "最新價(USD)", "bb1": "最新價(USD)",
"bb2": "24h漲幅", "bb2": "24h漲幅",
"bb3": "24h成交量", "bb3": "24h成交量",
"bb4": "適合所有人的加密貨幣交易所", "bb4": "值得用戶信賴的加密貨幣交易所",
"bb5": "在這裡開始交易並體驗更好的加密貨幣之旅", "bb5": "在XXXXXX購買,交易100多種加密貨幣",
"bb6": "個人", "bb6": "强大自主研發能力",
"bb7": "適合所有人的加密貨幣交易所。 最值得信賴的領先交易平台,幣種豐富", "bb7": "從0到1自主研發第三代交易系統",
"cc1": "商務", "bb8": "打造卓越性能下的極緻交易體驗",
"cc2": "專為企業和機構打造。 為機構投資者和企業提供加密解決方案", "bb9": "全球化佈局",
"cc3": "開發者", "bb10": "全球精英匯聚",
"cc4": "專為開發者打造,供開發人員建構web3未來的工具和API", "bb11": "團隊分佈全球",
"cc5": "交易,隨時隨地", "bb12": "超級現貨",
"cc6": "掃描二維碼", "bb13": "獨家推出現貨成本價格功能",
"cc7": "下載 Android/IOS App", "bb14": "打造合約級現貨交易體驗",
"dd1": "安全穩定零事故", "bb15": "頂級安全保障",
"dd2": "多重安全策略保障、100%備用金保證,成立至今未發生安全事故、", "bb16": "風險控制",
"dd3": "簡單便捷交易加密資產", "bb17": "雙重手段保障您的資產安全",
"dd4": "在xxxxxx,產品簡單易懂、交易流程便捷,一站式區塊鏈資產服務平台", "bb18": "完善的風控體系",
"dd5": "衍生性商品", "bb19": "雙價格強平保護機制",
"dd6": "您可以高達150倍的槓桿率交易100+加密貨幣的合約,賺取高額收益", "bb20": "降低用戶爆倉風險",
"dd7": "幫助中心" "bb21": "7*24小時服務",
"bb22": "1分鐘響應機制",
"bb23": "全天候服務全球用戶",
"cc5": "隨處交易",
"cc8": "通過我們的應用程序和桌面客戶端隨時瞭解情況",
"cc6": "掃描二維碼",
"cc7": "下載 Android/IOS App",
"dd1": "獨特的交易經驗",
"dd2": "投資加密貨幣的突破性工具",
"dd3": "三大止盈止損功能",
"dd4": "xxxxxx提供全部倉位止盈止損、部分倉位止盈止損、觸發價止盈止損三種模式,幫助用戶控制交易風險",
"dd5": "最多50個不同的止盈止損點位",
"dd6": "用戶可以在倉位、挂單中隨時設置止盈止損點位,靈活控制風險;同時支持針對同一倉位不同張數和價格設置多達50個止盈止損單,包括限價單或市價單,滿足用戶不同投資策略",
"dd7": "幫助中心",
"ee1": "Global Ranking",
"ee2": "users trust us",
"ee3": "Ultra-Low Fees",
"ee4": "Countries",
"ee5": "立刻開啓你的加密貨幣投資"
} }
} }

18
layout/vCode.vue

@ -12,6 +12,7 @@
<script> <script>
import vButton from './vButton.vue' import vButton from './vButton.vue'
import serve from "@/api/serve"; import serve from "@/api/serve";
import Member from "@/api/member";
export default { export default {
name: "vCode", name: "vCode",
props: { props: {
@ -74,12 +75,19 @@ export default {
} }
if (this.load) return; if (this.load) return;
this.inSend = true; this.inSend = true;
serve.post(this.url, this.data) Member.sendEmailCode(this.data)
.then(() => { .then(() => {
this.inSend = false; if(res.code=='4001'){
this.load = true; this.inSend = false
this.countDown(); this.$toast(res.message);
this.$toast(this.$t('common.sendSuccess')); //
this.$emit('reGetGraphChe')
}else{
this.inSend = false;
this.load = true;
this.countDown();
this.$toast(this.$t('common.sendSuccess'));
}
}) })
.catch(() => { .catch(() => {
this.inSend = false; this.inSend = false;

88
pages/assets/draw.vue

@ -116,16 +116,29 @@
</v-input> </v-input>
</view> </view>
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15"> <view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
<span>{{ $t("reg.a8") }}</span> <span>{{ $t("reg.a8") }}</span>
<!-- <span class="color-light">{{ withdrawFee.withdrawal_fee }} {{coin}}</span> --> <!-- <span class="color-light">{{ withdrawFee.withdrawal_fee }} {{coin}}</span> -->
</view> </view>
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm"> <view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
<v-input type="password" v-model="form.password" class="p-x-ms color-light w-max fn-13 rounded-xs" :placeholder="$t('reg.a9')"> <v-input type="password" v-model="form.password" class="p-x-ms color-light w-max fn-13 rounded-xs" :placeholder="$t('reg.a9')">
</v-input> </v-input>
</view> </view>
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
<span>{{ $t("safe.a5") }}</span>
</view>
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-sm p-x-ms">
<v-input type="text" v-model="form.emailcode" class=" w-8/12 color-light fn-13"
:placeholder="$t('safe.a6')"></v-input>
<view class="d-flex align-end">
<view class="all color-theme-1 m-l-md flex-shrink" @click="getEmailCode">
<text v-if="!getEmailCodeLock">{{ $t("common.getCode") }}</text>
<text v-else>{{ daojishi }}</text>
</view>
</view>
</view>
</view> </view>
<view class="form bg-panel-3 p-x-lg p-y-md"> <view class="form bg-panel-3 p-x-lg p-y-md">
<ul class="fn-md rounded-md m-y-xs line-height-2"> <ul class="fn-md rounded-md m-y-xs line-height-2">
@ -221,6 +234,7 @@
<script> <script>
import coinList from "./coin-list"; import coinList from "./coin-list";
import Wallet from "@/api/wallet"; import Wallet from "@/api/wallet";
import Member from "@/api/member";
import formData from "@/utils/class/date"; import formData from "@/utils/class/date";
export default { export default {
@ -239,15 +253,18 @@ export default {
address: "", address: "",
addressType: "", addressType: "",
code_type: 1, code_type: 1,
code: '', code: '',
password: '' emailcode: '',
}, },
withdrawFee: {}, withdrawFee: {},
list: [], list: [],
page: 1, page: 1,
loadMore: true, loadMore: true,
secondaryShow: false, secondaryShow: false,
type: 'draw' type: 'draw',
getEmailCodeLock: false,
JStime: 0,
tiemr: null,
}; };
}, },
computed: { computed: {
@ -257,6 +274,9 @@ export default {
(item) => item.coin_name == this.coin (item) => item.coin_name == this.coin
); );
}, },
daojishi(){
return '('+this.JStime + 's' + ')';
}
}, },
watch: { watch: {
coin(n) { coin(n) {
@ -306,6 +326,40 @@ export default {
this.withdrawFee = res.data; this.withdrawFee = res.data;
}); });
}, },
//
getEmailCode(){
if (!this.form.address) {
this.$toast(this.$t('assets.b9'))
return
}
if (!this.form.amount) {
this.$toast(this.$t('assets.c2'))
return
}
if (!this.form.password) {
this.$toast(this.$t('reg.a9'))
return
}
if(this.getEmailCodeLock){return};
this.JStime = 300;
this.tiemr = setInterval(()=>{
if(this.JStime===0){
this.getEmailCodeLock = false;
clearInterval(this.tiemr);
return;
}
this.JStime--;
}, 1000)
this.getEmailCodeLock = true;
Member.getWdcode({bt:this.coin,baddr:this.form.address,bnum:this.form.amount}).then(res=>{
// console.log(res);
if(res.code=='4001'){
this.$toast(res.message);
}else{
this.$toast(this.$t('common.sendSuccess'));
}
})
},
// //
toDraw() { toDraw() {
if (!this.form.address) { if (!this.form.address) {
@ -316,10 +370,14 @@ export default {
this.$toast(this.$t('assets.c2')) this.$toast(this.$t('assets.c2'))
return return
} }
if(!this.form.password){ if(!this.form.password){
this.$toast(this.$t('reg.a9')) this.$toast(this.$t('reg.a9'))
return return
} }
if (!this.form.emailcode) {
this.$toast(this.$t('safe.a6'))
return
}
let data = this.withdrawFee let data = this.withdrawFee
if (data.withdraw_switch == 1) { if (data.withdraw_switch == 1) {
this.secondaryShow = true this.secondaryShow = true

311
pages/base/home.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="d-flex flex-col" style="background-color: #221F28;"> <view class="d-flex flex-col" style="background-color: #000117;">
<!-- 头部 --> <!-- 头部 -->
<v-header class="nav-tab" :left-arrow="false" style="background-color: #101010;" :left-click="personalCenter"> <v-header class="nav-tab" :left-arrow="false" style="background-color: #141414;" :left-click="personalCenter">
<template #left> <template #left>
<van-icon name="user-circle-o" class="fn-25 color-theme-1"/> <van-icon name="user-circle-o" class="fn-25 color-theme-1"/>
</template> </template>
@ -138,27 +138,20 @@
<!-- 加密货币之门 --> <!-- 加密货币之门 -->
<view class="illustration_area"> <view class="illustration_area">
<view class="title_before"></view> <img src="../../assets/img/home/illustration_1.png" alt="" style="width: 600rpx;height: 600rpx;">
<view class="left">
<view class="title">{{ $t("homeNewText.aa1") }}</view> <view class="title">{{ $t("homeNewText.aa1") }}</view>
<view style="width: 700rpx;">{{ $t("homeNewText.aa2") }}</view> <view class="title">{{ $t("homeNewText.aa2") }}</view>
<view v-if="!isLogin" class="btn" @click="goReg"> <view v-if="!isLogin" class="jump_btn" @click="goReg">
<img src="../../assets/img/home/fas fa-user-plus@3x.png" alt="">
{{ $t("homeNewText.aa3") }} {{ $t("homeNewText.aa3") }}
</view> </view>
<view v-else class="btn" @click="goExchange"> <view v-else class="jump_btn" @click="goExchange">
<img src="../../assets/img/home/riFill-exchange-fill@3x.png" alt="">
{{ $t("homeNewText.aa4") }} {{ $t("homeNewText.aa4") }}
</view> </view>
</view>
<view class="right">
<img src="../../assets/img/home/illustration_1.png" alt="" style="width: 540rpx;height: 550rpx;">
</view>
</view> </view>
<!-- 市场趋势 --> <!-- 市场趋势 -->
<view class=""> <view class="">
<view class="fn-20 fn-bold color-light m-x-md p-y-md">{{ $t("homeNewText.aa5") }}</view> <view class="fn-28 fn-bold color-light m-x-md p-y-md">{{ $t("homeNewText.aa5") }}</view>
<view class="fn-12 m-x-md">{{ $t("homeNewText.aa6") }}</view> <view class="fn-12 m-x-md" style="color: #999;">{{ $t("homeNewText.aa6") }}</view>
</view> </view>
<view class="head_info m-y-md "> <view class="head_info m-y-md ">
<van-tabs <van-tabs
@ -227,6 +220,11 @@
> >
<view class="w-12/12 m-t-xs"> <view class="w-12/12 m-t-xs">
<view class="fn-center w-max"> <view class="fn-center w-max">
<view class="m-b-md m-x-md rounded-xs box-shadow link-active d-flex justify-between align-center p-y-xs box-size p-x-xs">
<view class="fn-left w-5/12">{{ $t("homeNewText.aa7") }}</view>
<view class="fn-right w-4/12">{{ $t("homeNewText.bb1") }}</view>
<view class="fn-right w-3/12 positions">{{ $t("homeNewText.bb2") }}</view>
</view>
<v-link <v-link
:to="{ :to="{
path: '/pages/exchange/index', path: '/pages/exchange/index',
@ -238,17 +236,17 @@
: parentItem.marketInfoList.slice(0,5)" : parentItem.marketInfoList.slice(0,5)"
:key="item.pair_name" :key="item.pair_name"
> >
<view class="w-1/12"> <view class="fn-left w-5/12">
<image :src="item.coin_icon" mode="" style="width: 60rpx;height: 60rpx;"></image>
</view>
<view class="fn-left w-7/12">
<view class="d-flex align-center"> <view class="d-flex align-center">
<text class="fn-bold fn-14 color-light">{{ item.pair_name }}</text> <image :src="item.coin_icon" mode="" style="width: 60rpx;height: 60rpx;margin-right: 12rpx;"></image>
<text class="fn-bold fn-14 color-light">{{ item.coin_name }}</text>
<!-- <text class="fn-bold fn-14 color-light">{{ item.pair_name }}</text> -->
</view> </view>
<view class="d-flex align-center fn-12 m-t-xs"> <view class="d-flex align-center fn-12 m-t-xs" v-if="0">
24H{{ $t("first.b3") }} {{ omitTo(item.vol, 0) }} 24H{{ $t("first.b3") }} {{ omitTo(item.vol, 0) }}
</view> </view>
</view> </view>
<view class="fn-right w-4/12 color-light">{{ item.close }}</view>
<view class="fn-right w-3/12"> <view class="fn-right w-3/12">
<span <span
class="fn-bold rounded-xs fn-16" class="fn-bold rounded-xs fn-16"
@ -257,10 +255,7 @@
" "
>{{ item.increaseStr }}</span >{{ item.increaseStr }}</span
> >
<view class="fn-12"
>{{ item.close
}}
</view>
<!-- <view class="charts-box m-t-xs"> <!-- <view class="charts-box m-t-xs">
<qiun-data-charts <qiun-data-charts
type="tarea" type="tarea"
@ -280,58 +275,86 @@
<!-- 适合所有人的加密货币交易所 --> <!-- 适合所有人的加密货币交易所 -->
<view style="margin-top: 100rpx;"> <view style="margin-top: 100rpx;">
<view class="fn-20 fn-bold color-white m-y-md" style="text-align: center;">{{ $t("homeNewText.bb4") }}</view> <view style="width: 700rpx;margin: 0px auto;">
<view class="fn-12" style="text-align: center;">{{ $t("homeNewText.bb5") }}</view> <view class="fn-28 fn-bold m-y-md" style="width: 75%;color: #e7e7e7;">{{ $t("homeNewText.bb4") }}</view>
<view class="fn-12" style="color: #999;">{{ $t("homeNewText.bb5") }}</view>
</view>
<view class="card_area m-y-md"> <view class="card_area m-y-md">
<view class="card_item" style="background-color: #332E2F;"> <view class="card_item">
<view class="fn-18 fn-bold" style="color: #908F94;margin-bottom:10px;"><img src="../../assets/img/home/6.png" />{{ $t("homeNewText.bb6") }}</view> <img src="../../assets/img/home/4.png" alt="">
<view style="font-size: 14px;color: #595558;">{{ $t("homeNewText.bb7") }}</view> <view class="fn-16 fn-bold" style="color: #e7e7e7;margin-bottom:10px;">{{ $t("homeNewText.bb6") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb7") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb8") }}</view>
</view>
<view class="card_item">
<img src="../../assets/img/home/5.png" alt="">
<view class="fn-16 fn-bold" style="color: #e7e7e7;margin-bottom:10px;">{{ $t("homeNewText.bb9") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb10") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb11") }}</view>
</view>
<view class="card_item">
<img src="../../assets/img/home/2.png" alt="">
<view class="fn-16 fn-bold" style="color: #e7e7e7;margin-bottom:10px;">{{ $t("homeNewText.bb12") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb13") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb14") }}</view>
</view> </view>
<view class="card_item" style="background-color: #262836;"> <view class="card_item">
<view class="fn-18 fn-bold" style="color: #908F94;margin-bottom:10px;"><img src="../../assets/img/home/7.png" />{{ $t("homeNewText.cc1") }}</view> <img src="../../assets/img/home/6.png" alt="">
<view style="font-size: 14px;color: #595558;">{{ $t("homeNewText.cc2") }}</view> <view class="fn-16 fn-bold" style="color: #e7e7e7;margin-bottom:10px;">{{ $t("homeNewText.bb15") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb16") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb17") }}</view>
</view> </view>
<view class="card_item" style="background-color: #2A2733;"> <view class="card_item">
<view class="fn-18 fn-bold" style="color: #908F94;margin-bottom:10px;"><img src="../../assets/img/home/8.png" />{{ $t("homeNewText.cc3") }}</view> <img src="../../assets/img/home/1.png" alt="">
<view style="font-size: 14px;color: #595558;">{{ $t("homeNewText.cc4") }}</view> <view class="fn-16 fn-bold" style="color: #e7e7e7;margin-bottom:10px;">{{ $t("homeNewText.bb18") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb19") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb20") }}</view>
</view>
<view class="card_item">
<img src="../../assets/img/home/3.png" alt="">
<view class="fn-16 fn-bold" style="color: #e7e7e7;margin-bottom:10px;">{{ $t("homeNewText.bb21") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb22") }}</view>
<view style="font-size: 12px;color: #707275;">{{ $t("homeNewText.bb23") }}</view>
</view> </view>
</view> </view>
</view> </view>
<!-- 交易随时随地 -->
<view class="download_area">
<view class="fn-20 fn-bold color-white" style="text-align: center;">{{ $t("homeNewText.cc5") }}</view>
<view class="zhanshi"></view>
<view class="btn"><image src="../../assets/img/home/antFill-apple@3x.png" mode=""></image>App Store</view>
<view class="btn"><image src="../../assets/img/home/md-android@3x.png" mode=""></image>Android</view>
<view class="btn"><image src="../../assets/img/home/riFill-google-play-fill@3x.png" mode="">Google Play</image></view>
</view>
<view class="introduce_area"> <view class="introduce_area">
<view class="fn-28 fn-bold color-white m-y-md">{{ $t("homeNewText.dd1") }}</view>
<view class="fn-12" style="color: #999;">{{ $t("homeNewText.dd2") }}</view>
<view class="zhanshi"></view> <view class="zhanshi"></view>
<view class="item"> <view class="item">
<image src="../../assets/img/home/图片 9@3x.png" mode=""></image> <view class="img">
<view class="" style="flex: 1;"> <image src="../../assets/img/home/8.png" mode=""></image>
<view class="fn-18 fn-bold color-white m-b-sm">{{ $t("homeNewText.dd1") }}</view>
<view class="">{{ $t("homeNewText.dd2") }}</view>
</view> </view>
</view>
<view class="item">
<image src="../../assets/img/home/图片 7@3x.png" mode=""></image>
<view class="" style="flex: 1;"> <view class="" style="flex: 1;">
<view class="fn-18 fn-bold color-white m-b-sm">{{ $t("homeNewText.dd3") }}</view> <view class="fn-16 fn-bold m-b-sm" style="color: #e7e7e7;">{{ $t("homeNewText.dd3") }}</view>
<view class="">{{ $t("homeNewText.dd4") }}</view> <view class="">{{ $t("homeNewText.dd4") }}</view>
</view> </view>
</view> </view>
<view class="item"> <view class="item">
<image src="../../assets/img/home/图片 6@3x.png" mode=""></image> <view class="img">
<image src="../../assets/img/home/9.png" mode=""></image>
</view>
<view class="" style="flex: 1;"> <view class="" style="flex: 1;">
<view class="fn-18 fn-bold color-white m-b-sm">{{ $t("homeNewText.dd5") }}</view> <view class="fn-16 fn-bold m-b-sm" style="color: #e7e7e7;">{{ $t("homeNewText.dd5") }}</view>
<view class="">{{ $t("homeNewText.dd6") }}</view> <view class="">{{ $t("homeNewText.dd6") }}</view>
</view> </view>
</view> </view>
</view> </view>
<!-- 交易随时随地 -->
<view class="download_area">
<view style="width: 700rpx;margin: 0px auto;">
<view class="fn-28 fn-bold m-y-md" style="color: #e7e7e7;">{{ $t("homeNewText.cc5") }}</view>
<view class="fn-12" style="color: #999;">{{ $t("homeNewText.cc8") }}</view>
</view>
<view class="zhanshi"></view>
<view class="btn"><image src="../../assets/img/home/antFill-apple@2x.png" mode=""></image>App Store</view>
<view class="btn"><image src="../../assets/img/home/md-android@2x.png" mode=""></image>Android</view>
<view class="btn"><image src="../../assets/img/home/riFill-google-play-fill@2x.png" mode="">Google Play</image></view>
</view>
<!-- 帮助中心 --> <!-- 帮助中心 -->
<view style="width: 700rpx;margin: 120rpx auto 40rpx;"> <view style="width: 700rpx;margin: 120rpx auto 40rpx;" v-if="0">
<view class="fn-20 fn-bold color-white m-b-lg" style="text-align: center;">{{ $t("homeNewText.dd7") }}</view> <view class="fn-20 fn-bold color-white m-b-lg" style="text-align: center;">{{ $t("homeNewText.dd7") }}</view>
<view class="help_area"> <view class="help_area">
<view v-for="(item, index) in helpList" :key="index" class="help_item" @click="toNotice(item)"> <view v-for="(item, index) in helpList" :key="index" class="help_item" @click="toNotice(item)">
@ -340,6 +363,37 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 五百万 -->
<view class="five_million">
<view class="f_item">
<view class="txt1">Top 10</view>
<view class="txt2">{{ $t("homeNewText.ee1") }}</view>
</view>
<view class="f_item">
<view class="txt1">5 million+</view>
<view class="txt2">{{ $t("homeNewText.ee2") }}</view>
</view>
<view class="f_item">
<view class="txt1">{{'< 0.10%'}}</view>
<view class="txt2">{{ $t("homeNewText.ee3") }}</view>
</view>
<view class="f_item">
<view class="txt1">200+</view>
<view class="txt2">{{ $t("homeNewText.ee4") }}</view>
</view>
</view>
<view style="display: flex;flex-direction: column;align-items: center;padding-bottom: 100rpx;">
<view style="font-size: 24px;font-weight: bold;color: #fff;margin-bottom: 20rpx;">
{{ $t("homeNewText.ee5") }}
</view>
<view v-if="!isLogin" class="jump_btn" @click="goReg">
{{ $t("homeNewText.aa3") }}
</view>
<view v-else class="jump_btn" @click="goExchange">
{{ $t("homeNewText.aa4") }}
</view>
</view>
</scroll-view> </scroll-view>
</view> </view>
<!-- 个人主页弹出层 --> <!-- 个人主页弹出层 -->
@ -1282,92 +1336,76 @@ export default {
font-size: 9px; font-size: 9px;
} }
.illustration_area{ .illustration_area{
position: relative; background-color: #0d0d0d;
padding-top: 30rpx; padding-bottom: 60rpx;
padding-bottom: 160rpx; display: flex;
.right{ flex-direction: column;
width: 540rpx;height: 550rpx; align-items: center;
margin: 0px auto;
} .title{
.title_before{ font-size: 18px;font-weight: bold;
position: absolute; margin-bottom: 20rpx;
top: 180rpx; color: #fff;
left: 128rpx;
z-index: 0;
width: 74px;
height: 74px;
background-color: #633417;
} }
.left{
color: #fff;
position: absolute;
top: 50rpx;
width: 100%;
text-align: center;
.title{
font-size: 30px;font-weight: bold;
margin-top: 160rpx;
margin-bottom: 44rpx;
}
.btn{
min-width: 500rpx; }
height: 88rpx; .jump_btn{
margin: 154rpx auto 0px; min-width: 300rpx;
background-color: #EABB71; height: 80rpx;
border-radius: 5px; line-height: 80rpx;
display: inline-flex; text-align: center;
justify-content: center; margin: 0px auto 0px;
align-items: center; background-color: #D0712F;
font-size: 14px; border-radius: 10px;
color: #000; font-size: 14px;
color: #fff;
img{
width: 48rpx;
height: 48rpx;
margin-right: 10px;
}
}
}
} }
.card_area{ .card_area{
.card_item{ .card_item{
width: 700rpx; width: 640rpx;
min-height: 280rpx; min-height: 642rpx;
border-radius: 10px; border-radius: 10px;
box-sizing: border-box; box-sizing: border-box;
padding: 70rpx; padding: 40rpx 70rpx;
margin: 0px auto 40rpx; margin: 0px auto 40rpx;
background-color: #1B1B1B;
} }
img{ img{
width: 40rpx; width: 360rpx;
height: 40rpx; height: 360rpx;
margin-right: 20rpx; margin: 0px 70rpx 50rpx;
vertical-align: middle;
} }
} }
.download_area{ .download_area{
width: 700rpx;margin: 160rpx auto 120rpx; width: 750rpx;height: 1400rpx;
margin: -60px auto 120rpx;
padding: 200rpx 0px 0px;
box-sizing: border-box;
background-image: url("../../assets/img/home/radial_bg.png");
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 30%;
.zhanshi{ .zhanshi{
width: 700rpx; width: 700rpx;
height: 470rpx; height: 470rpx;
background-image: url("../../assets/img/home/styy.png"); background-image: url("../../assets/img/home/styy.png");
background-size: cover; background-size: cover;
margin: 40rpx 0px; margin: 40rpx auto;
} }
.btn{ .btn{
width: 700rpx; width: 700rpx;
height: 88rpx; height: 88rpx;
color: #101010; color: #fff;
background-color: #EABB71; background-color: #D0712F;
border-radius: 50px; border-radius: 5px;
font-size: 16px; font-size: 16px;
display: inline-flex; display: inline-flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-bottom: 40rpx; margin: 0px 25rpx 40rpx;
image{ image{
width: 56rpx; width: 56rpx;
@ -1376,28 +1414,55 @@ export default {
} }
} }
} }
.five_million{
display: flex;flex-wrap: wrap;
background-color: #0D0D0D;
padding: 60rpx 24rpx;
.f_item{
width: 47%;
margin: 20rpx 0px;
.txt1{
font-size: 28px;
font-weight: bold;
color: #fff;
}
.txt2{
font-size: 14px;
color: #999;
}
}
}
.introduce_area{ .introduce_area{
width: 700rpx;margin: 0px auto; width: 700rpx;margin: 0px auto;
.zhanshi{ .zhanshi{
width: 700rpx; width: 384rpx;
height: 700rpx; height: 498rpx;
background-image: url("../../assets/img/home/stt.png"); background-image: url("../../assets/img/home/stt.png");
background-size: 100% 100%; background-size: 100% 100%;
margin: 0px auto;
} }
.item{ .item{
width: 700rpx; width: 700rpx;
min-height: 220rpx; min-height: 220rpx;
font-size: 14px; font-size: 12px;
display: inline-flex; display: inline-flex;
justify-content: space-between; justify-content: space-between;
align-items: center; // align-items: center;
margin-bottom: 40rpx; margin-top: 40rpx;
color: #707275;
image{ .img{
width: 120rpx; width: 80rpx;
height: 120rpx; height: 80rpx;
background-image: url("../../assets/img/home/7.png");
background-size: contain;
margin-right: 20rpx; margin-right: 20rpx;
} }
image{
width: 40rpx;
height: 40rpx;
margin: 20rpx;
}
} }
} }
.help_area{ .help_area{

5
pages/base/index.vue

@ -156,11 +156,12 @@ export default {
box-shadow: $tab-nav-shadow; box-shadow: $tab-nav-shadow;
position: relative; position: relative;
z-index: 5; z-index: 5;
background-color: #17161D; background-color: #000;
} }
.router-link-active { .router-link-active {
color: $theme-1; // color: $theme-1;
color: #D0712F;
} }
.mode { .mode {

38
pages/reg/index.vue

@ -70,6 +70,16 @@
</view> </view>
</template> </template>
</view> </view>
<!--图形验证码-->
<view class="form-item border-b m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view>
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')">
<template #right>
<!-- 邮箱 -->
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg">
</template>
</v-input>
</view>
<view class="form-item border-b m-b-md p-b-xs"> <view class="form-item border-b m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.a6')}}</view> <view class="label m-b-xs">{{$t('reg.a6')}}</view>
<v-input class="color-light" v-model="form.code" :placeholder="$t('reg.a7')"> <v-input class="color-light" v-model="form.code" :placeholder="$t('reg.a7')">
@ -89,9 +99,12 @@
url="/register/sendEmailCode" url="/register/sendEmailCode"
:data="{ :data="{
email:form.account, email:form.account,
gc_code: form.gr_code,
gc_key: gc_key,
type:1 type:1
}" }"
v-show="form.type==2" v-show="form.type==2"
@reGetGraphChe="reGetGraphChe"
></v-code> ></v-code>
</template> </template>
</v-input> </v-input>
@ -159,11 +172,15 @@ export default {
password: "", password: "",
password_confirmation: "", password_confirmation: "",
invite_code: "", invite_code: "",
gr_code: "",
}, },
Graph_che:'',
gc_key:'', // tuxiangyanzheng key
check: false, check: false,
agreement: {}, agreement: {},
country_code:'', country_code:'',
showInvite_code: true, showInvite_code: true,
hideImg: false
}; };
}, },
@ -231,6 +248,25 @@ export default {
this.$toast(this.$t('reg.c5')); this.$toast(this.$t('reg.c5'));
}); });
}, },
//
reGetGraphChe(){
this.hideImg = true;
this.gett_gc_code();
},
gett_gc_code(){
Member.Graph_che().then((res)=>{
if(res.code==200){
this.hideImg = false;
}
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.gc_key= res.data.key;
});
//this.Graph_che = gc
},
// //
login(){ login(){
let data={type: 2,account:this.form.account,password: this.form.password} let data={type: 2,account:this.form.account,password: this.form.password}
@ -256,7 +292,7 @@ export default {
}, },
}, },
mounted() { mounted() {
this.gett_gc_code();
}, },
onLoad(query){ onLoad(query){
this.query = query this.query = query

6
static/tradingview.html

@ -22,9 +22,9 @@
<body> <body>
<div class="tradingview" id="tradingview_10798345"></div> <div class="tradingview" id="tradingview_10798345"></div>
</body> </body>
<script src="https://www.xusexchange.com/newlink/mobile/jquery3_5_1.min.js"></script> <script src="https://www.cxisux.com/newlink/mobile/jquery3_5_1.min.js"></script>
<script src="https://www.xusexchange.com/newlink/mobile/pako1_0_9.min.js"></script> <script src="https://www.cxisux.com/newlink/mobile/pako1_0_9.min.js"></script>
<script src="https://www.xusexchange.com/newlink/mobile/qs6_9_4.min.js"></script> <script src="https://www.cxisux.com/newlink/mobile/qs6_9_4.min.js"></script>
<script src="./chart_main/charting_library.min.js"></script> <script src="./chart_main/charting_library.min.js"></script>
<script src="./chart_main/ws.js"></script> <script src="./chart_main/ws.js"></script>
<script src="./chart_main/sevencoin.js?v=2"></script> <script src="./chart_main/sevencoin.js?v=2"></script>

3
store/index.js

@ -39,7 +39,8 @@ function defaultTheme() {
// } else { // } else {
// state = `light`; // state = `light`;
// } // }
uni.setStorageSync('theme', 'light'); // uni.setStorageSync('theme', 'light');
uni.setStorageSync('theme', 'dark');
// uni.setStorageSync('language','zh-CN'); // uni.setStorageSync('language','zh-CN');
let state = `dark` let state = `dark`
return state; return state;

Loading…
Cancel
Save