Browse Source

客服新增在加载时显示加载图标,修改值没有传到链接中

master
liaoxinyu 2 years ago
parent
commit
7e1ab63758
  1. 3
      i18n/lang/de.json
  2. 3
      i18n/lang/en.json
  3. 3
      i18n/lang/fra.json
  4. 3
      i18n/lang/it.json
  5. 3
      i18n/lang/jp.json
  6. 3
      i18n/lang/kor.json
  7. 3
      i18n/lang/pt.json
  8. 3
      i18n/lang/spa.json
  9. 3
      i18n/lang/tr.json
  10. 3
      i18n/lang/zh-TW.json
  11. 95
      pages/oncs/onservice.vue

3
i18n/lang/de.json

@ -68,7 +68,8 @@
"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" "GraphicValidation": "Grafische Überprüfung",
"loading": "Laden"
}, },
"base": { "base": {
"a0": "Titel", "a0": "Titel",

3
i18n/lang/en.json

@ -114,7 +114,8 @@
"c9": "Not real-name authenticated", "c9": "Not real-name authenticated",
"c10": "Passed real-name authentication", "c10": "Passed real-name authentication",
"c11": "Real-name authentication failed", "c11": "Real-name authentication failed",
"withdrawal2": "Withdrawal has reached the risk control limit of the platform and requires real-name authentication" "withdrawal2": "Withdrawal has reached the risk control limit of the platform and requires real-name authentication",
"loading": "loading"
}, },
"base": { "base": {
"a0": "Title", "a0": "Title",

3
i18n/lang/fra.json

@ -68,7 +68,8 @@
"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" "GraphicValidation": "Vérification graphique",
"loading": "chargement"
}, },
"base": { "base": {
"a0": "Titre", "a0": "Titre",

3
i18n/lang/it.json

@ -68,7 +68,8 @@
"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" "GraphicValidation": "Verifica grafica",
"loading": "caricamento"
}, },
"base": { "base": {
"a0": "titolo", "a0": "titolo",

3
i18n/lang/jp.json

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

3
i18n/lang/kor.json

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

3
i18n/lang/pt.json

@ -68,7 +68,8 @@
"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" "GraphicValidation": "Verificação gráfica",
"loading": "carregando"
}, },
"base": { "base": {
"a0": "Título", "a0": "Título",

3
i18n/lang/spa.json

@ -68,7 +68,8 @@
"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" "GraphicValidation": "Verificación gráfica",
"loading": "cargando"
}, },
"base": { "base": {
"a0": "Título", "a0": "Título",

3
i18n/lang/tr.json

@ -68,7 +68,8 @@
"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" "GraphicValidation": "Grafiksel doğrulama",
"loading": "yükleniyor"
}, },
"base": { "base": {
"a0": "Başlık", "a0": "Başlık",

3
i18n/lang/zh-TW.json

@ -114,7 +114,8 @@
"c9": "未實名認證", "c9": "未實名認證",
"c10": "已通過實名認證", "c10": "已通過實名認證",
"c11": "實名認證失敗", "c11": "實名認證失敗",
"withdrawal2": "提幣達到了平台的風控限制,需要實名認證" "withdrawal2": "提幣達到了平台的風控限制,需要實名認證",
"loading": "加载中"
}, },
"base": { "base": {
"a0": "標題", "a0": "標題",

95
pages/oncs/onservice.vue

@ -1,10 +1,13 @@
<template> <template>
<v-page> <v-page>
<v-header :title="$t('common.service')"></v-header> <v-header :title="$t('common.service')"></v-header>
<view class="onsczone" v-if="isLoad"> <view class="onsczone">
<web-view :src="csurl" style="margin-top: 3rem;"></web-view> <web-view v-if="isLoad" :src="csurl" style="margin-top: 3rem;"></web-view>
<view style="display: flex;justify-content: center;align-items: center;" v-else>
<div class="loader"></div>
<div style="font-size: 20px;margin-left: 10px;">{{$t('common.loading')}}<span>...</span></div>
</view>
</view> </view>
</v-page> </v-page>
</template> </template>
@ -13,8 +16,8 @@
export default { export default {
data() { data() {
return { return {
csurl:"", csurl: "",
isLoad:false isLoad: false
} }
}, },
onLoad() { onLoad() {
@ -22,30 +25,88 @@
}, },
methods: { methods: {
// build // build
mkcslinks(){ mkcslinks() {
let user = uni.getStorageSync('user') let user = uni.getStorageSync('user')
if(user){ if (user) {
let ustr = JSON.parse(user) let ustr = JSON.parse(user)
console.log(ustr) console.log(ustr)
Member.getUnameByUid({user_id:ustr.referrer}).then(rfres=>{ Member.getUnameByUid({user_id: ustr.referrer}).then(rfres => {
let rfu = rfres.data let rfu = rfres.data;
// query referr uname // query referr uname
let chaturl="https://cs.btcaholic.com/chat/?toid="+rfu.username+"&room_id="+ustr.account+"&usid="+ustr.user_id; let chaturl = "https://cs.btcaholic.com/chat/?toid=" + rfu.username + "&room_id=" + ustr.account + "&usid=" + ustr.user_id;
//this.csurl += rfres.username+"&room_id="+ustr.account+"&usid="+ustr.user_id; //this.csurl += rfres.username+"&room_id="+ustr.account+"&usid="+ustr.user_id;
// console.log("dd",chaturl); // console.log("dd",chaturl);
this.csurl = chaturl this.csurl = chaturl;
this.isLoad = true; this.isLoad = true;
}) })
console.log("user",this.csurl) console.log("user", this.csurl)
} }
} }
} }
} }
</script> </script>
<style>
<style lang="less" scoped>
.onsczone{
margin-top: 12rem;
}
</style> </style>
<style scoped>
.onsczone {
margin-top: 12rem;
}
.loader {
width: 50px;
aspect-ratio: 1;
display: grid;
border: 4px solid #0000;
border-radius: 50%;
border-right-color: #25b09b;
animation: l15 1s infinite linear;
}
.loader::before,
.loader::after {
content: "";
grid-area: 1/1;
margin: 2px;
border: inherit;
border-radius: 50%;
animation: l15 2s infinite;
}
.loader::after {
margin: 8px;
animation-duration: 3s;
}
@keyframes l15 {
100% {
transform: rotate(1turn)
}
}
span {
display: inline-block;
height: 1em;
line-height: 1;
text-align: left;
vertical-align: -.25em;
overflow: hidden;
}
span::before {
display: block;
content: '...\A..\A.';
white-space: pre-wrap;
animation: dot 3s infinite step-start both;
}
@keyframes dot {
33% {
transform: translateY(-2em);
}
66% {
transform: translateY(-1em);
}
}
</style>
Loading…
Cancel
Save