|
@@ -85,8 +85,10 @@ let vm = new Vue({
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
|
|
+ let hostParts = window.location.host.split('.');
|
|
|
|
|
+ let tld = hostParts.slice(2).join('.') || 'com';
|
|
|
this.ho = window.location.host.split('.')[1];
|
|
this.ho = window.location.host.split('.')[1];
|
|
|
- this.imgUrl = 'https://secure.' + this.ho + '.com'
|
|
|
|
|
|
|
+ this.imgUrl = 'https://secure.' + this.ho + '.' + tld
|
|
|
|
|
|
|
|
var jsSrc =(navigator.language || navigator.browserLanguage).toLowerCase();
|
|
var jsSrc =(navigator.language || navigator.browserLanguage).toLowerCase();
|
|
|
if(jsSrc.indexOf('zh') >= 0){
|
|
if(jsSrc.indexOf('zh') >= 0){
|