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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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