feat: 新增商品详情搭配优惠组件和客服弹窗

refactor: 优化页面样式和交互逻辑

fix: 修复洗车券列表和详情页的数据展示问题

style: 调整用户页面按钮样式和布局

chore: 移除无用页面和代码,更新项目配置

docs: 更新单次启动页面的使用说明和注意事项

perf: 优化网络请求和数据处理逻辑

build: 更新依赖和配置文件

test: 更新测试用例以适应新功能

ci: 调整CI配置以适应新项目结构
This commit is contained in:
2026-01-03 11:26:51 +08:00
parent b80b33c81f
commit 95eed74b96
68 changed files with 1197 additions and 2036 deletions

View File

@@ -11,14 +11,11 @@ function t() {
}
function n(a) {
var baseUrl = "https://t-jm.v0750.com/v3";
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
// a 是否 https, 如果不是自动补全
if (!/^https/.test(a)) {
a = baseUrl + a;
a = 'https://t-jm.v0750.com' + a;
}
// method 默认为 GET
@@ -30,7 +27,6 @@ function n(a) {
return wx.showLoading(), new Promise(function (n, c) {
console.log("requestdevicecode", o.globalData.devicecode);
var i = Object.assign({}, {
devicecode: o.globalData.devicecode
}, o.globalData.options, t);
@@ -40,7 +36,7 @@ function n(a) {
header: {
"content-type": "application/json",
Accept: "application/json, text/plain",
Cookie: "XPHP_SESSION_ID=" + wx.getStorageSync("session"),
Cookie: "_miucms_session=" + wx.getStorageSync("_miucms_session"),
token: wx.getStorageSync("session") || ""
},
method: method,
@@ -95,7 +91,7 @@ function n(a) {
}
function c(e, a) {
console.log("appstart", e), o = a, n("/miniprogram/index", {
console.log("appstart", e), o = a, n("https://t-jm.v0750.com/miniprogram", {
code: e
}, !0).then(function (e) {
var o = e.data;
@@ -106,6 +102,7 @@ function c(e, a) {
}
module.exports = {
initial_url: "https://t-jm.v0750.com/miniprogram",
login: t,
request: n,
pageStart: function (e) {
@@ -122,13 +119,11 @@ module.exports = {
c(res.code, e);
});
},
baseUrl: "https://t-jm.v0750.com/",
getDevicecode: function (e, a) {
o = e, n("/miniprogram/identify/reload", a, !0).then(function (e) {
o = e, n("https://t-jm.v0750.com/miniprogram/identify/reload", a, !0).then(function (e) {
var a = e.data;
if (e.code == 200) {
o.globalData.deviceData = a || {};
o.globalData.devicecode = a.devicecode || '';
}
console.log("onshow获取到的数据", a), o.globalData.devicecode = a.devicecode || o.globalData.devicecode;
});
}
};