Revert "chore:点击中英文按钮不跳到‘我的’了"

This reverts commit 19a53ef414.
This commit is contained in:
2026-02-07 17:51:10 +08:00
parent ec9e76fda7
commit ba2c7d6d64
10 changed files with 19 additions and 44 deletions

View File

@@ -305,15 +305,15 @@ export default {
}
},
async getDiyInfo() {
let res = await this.$api.sendRequest({
url: '/api/diyview/info',
data: {
id: this.id,
name: this.name,
_t: Date.now()
},
async: false
async getDiyInfo() {
let res = await this.$api.sendRequest({
url: '/api/diyview/info',
data: {
id: this.id,
name: this.name,
en_type:uni.getStorageSync("lang"),//获取语言底部
},
async: false
});
if (res.code != 0 || !res.data) {
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();

View File

@@ -292,10 +292,7 @@ export default {
async getDataing() {
var res = await this.$api.sendRequest({
url: '/bargain/api/goods/bargainingList',
data: {
en_type: uni.getStorageSync("lang"),
_t: Date.now()
},
data: {},
async: false
});
@@ -310,9 +307,7 @@ export default {
getData() {
var data = {
num: this.value.count,
is_exclude_bargaining: 1,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
is_exclude_bargaining: 1
};
if (this.value.sources == 'diy') {
data.num = 0;

View File

@@ -327,9 +327,7 @@ export default {
this.$api.sendRequest({
url: '/api/goodscategory/tree',
data: {
level: 3,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
level: 3
},
success: res => {
if (res.code == 0) {

View File

@@ -414,9 +414,7 @@ export default {
},
getGoodsList() {
var data = {
num: this.goodsValue.count,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: this.goodsValue.count
};
if (this.goodsValue.sources == 'category') {
data.category_id = this.goodsValue.categoryId;

View File

@@ -182,9 +182,7 @@ export default {
},
getGoodsList() {
var data = {
num: this.goodsValue.count,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: this.goodsValue.count
};
if (this.goodsValue.sources == 'category') {
data.category_id = this.goodsValue.categoryId;

View File

@@ -228,9 +228,7 @@ export default {
},
getData() {
var data = {
num: this.value.count,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: this.value.count
};
if (this.value.sources == 'diy') {
data.num = 0;

View File

@@ -273,9 +273,7 @@ export default {
},
getData() {
var data = {
num: this.value.count,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: this.value.count
};
if (this.value.sources == 'diy') {
data.num = 0;

View File

@@ -341,9 +341,7 @@ export default {
},
getData() {
var data = {
num: this.value.count,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: this.value.count
};
if (this.value.sources == 'diy') {
data.num = 6;

View File

@@ -216,9 +216,7 @@ export default {
},
getData() {
var data = {
num: this.value.count,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: this.value.count
};
if (this.value.sources == 'diy') {
data.num = 0;

View File

@@ -373,10 +373,6 @@ export default {
getHeadData() {
this.$api.sendRequest({
url: '/seckill/api/seckill/lists',
data: {
en_type: uni.getStorageSync("lang"),
_t: Date.now()
},
success: res => {
this.headData = res;
this.setHeadTime();
@@ -477,9 +473,7 @@ export default {
url: '/seckill/api/seckillgoods/lists',
data: {
seckill_time_id: seckillId,
num: num,
en_type: uni.getStorageSync("lang"),
_t: Date.now()
num: num
},
success: res => {
var data = res.data;