tianyi 3 days ago
parent
commit
819a6aefa5
  1. 4
      static/language/index.js
  2. BIN
      static/music/.DS_Store
  3. BIN
      static/music/paidan-m.mp3
  4. BIN
      static/music/tuikuanCacle-m.mp3
  5. BIN
      static/music/xindan-m.mp3
  6. BIN
      static/music/xindingdan.mp3
  7. BIN
      static/music/zhuandanFail-m.mp3
  8. BIN
      static/music/zhuandanSucs-m.mp3

4
static/language/index.js

@ -8,7 +8,7 @@ var system_info = uni.getStorageSync('system_info')
// 获取设备信息 // 获取设备信息
uni.getSystemInfo({ uni.getSystemInfo({
success: function(res) { success: function(res) {
console.log('设备信息' + JSON.stringify(res))
system_info = res system_info = res
uni.setStorageSync('system_info', res); uni.setStorageSync('system_info', res);
@ -20,7 +20,7 @@ var lag = system_info.language ? system_info.language : 'th-TH'
lag = system_info.appLanguage ? system_info.appLanguage : 'th-TH' lag = system_info.appLanguage ? system_info.appLanguage : 'th-TH'
// #endif // #endif
const cur_lang = lag.indexOf('zh') != -1 ? 'zh_CN' : 'th-TH' const cur_lang = lag.indexOf('zh') != -1 ? 'zh_CN' : 'th-TH'
console.log(lag)
const i18n = new VueI18n({ const i18n = new VueI18n({
locale: cur_lang || 'th-TH', // 默认选择的语言 locale: cur_lang || 'th-TH', // 默认选择的语言
messages: { messages: {

BIN
static/music/.DS_Store

Binary file not shown.

BIN
static/music/paidan-m.mp3

Binary file not shown.

BIN
static/music/tuikuanCacle-m.mp3

Binary file not shown.

BIN
static/music/xindan-m.mp3

Binary file not shown.

BIN
static/music/xindingdan.mp3

Binary file not shown.

BIN
static/music/zhuandanFail-m.mp3

Binary file not shown.

BIN
static/music/zhuandanSucs-m.mp3

Binary file not shown.
Loading…
Cancel
Save