|
|
@@ -85,11 +85,17 @@
|
|
|
<div class="text">{{ $t('re-men-sou-suo') }}</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="history-list">
|
|
|
+ <div class="history-list" v-if="isChinese">
|
|
|
<div class="tags" @click="goNext(item)" v-for="(item, index) in hots" :key="index">
|
|
|
{{ item }}
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <div class="history-list" v-else>
|
|
|
+ <div class="tags" @click="goNext(item)" v-for="(item, index) in hotsEn" :key="index">
|
|
|
+ {{ item }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<van-dialog id="van-dialog" />
|
|
|
@@ -112,6 +118,7 @@ export default {
|
|
|
historys: [],
|
|
|
focus: false,
|
|
|
hots: [],
|
|
|
+ hotsEn: [],
|
|
|
matchList: [],
|
|
|
ios: false
|
|
|
};
|
|
|
@@ -147,6 +154,10 @@ export default {
|
|
|
this.hots = res.value.split(',');
|
|
|
});
|
|
|
|
|
|
+ this.$http.get('/sysConfig/get/SEARCH_HOT_EN').then(res => {
|
|
|
+ this.hotsEn = res.value.split(',');
|
|
|
+ });
|
|
|
+
|
|
|
wx.getSystemInfo({
|
|
|
success: res => {
|
|
|
if (res.brand === 'iPhone') {
|
|
|
@@ -245,7 +256,9 @@ export default {
|
|
|
Dialog.confirm({
|
|
|
title: this.$t('ti-shi'),
|
|
|
message: this.$t('que-ding-yao-qing-chu-quan-bu-sou-suo-ji-lu-ma'),
|
|
|
- confirmButtonColor: this.$colors.warn
|
|
|
+ confirmButtonColor: this.$colors.warn,
|
|
|
+ confirmButtonText: this.$t('que-ren'),
|
|
|
+ cancelButtonText: this.$t('qu-xiao')
|
|
|
})
|
|
|
.then(() => {
|
|
|
var _this = this;
|