This commit is contained in:
小陌 2024-01-23 19:04:21 +08:00
parent dac7df5af5
commit efc4bff1e0
70 changed files with 351 additions and 1066 deletions

6
app.js
View File

@ -121,7 +121,7 @@
var i = n.scannums ? n.scannums : 1,
a = n.filename ? n.filename : "images",
o = t.util.url("entry/wxapp/Api", {
m: "monai_market",
uid: t.getuid(),
r: "upimg",
});
@ -173,7 +173,7 @@
upimg: function (e) {
var t = this,
n = t.util.url("entry/wxapp/Api", {
m: "monai_market",
uid: t.getuid(),
r: "upimg",
}),
@ -280,7 +280,7 @@
);
this.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", uid: t, imgurl: n, r: "upimg.delImg" },
data: { uid: t, imgurl: n, r: "upimg.delImg" },
cachetime: "0",
success: function (t) {
e.success && "function" == typeof e.success && e.success();

View File

@ -34,7 +34,7 @@ var a, e, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "carclzt_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -49,7 +49,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -75,7 +75,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -34,7 +34,7 @@ var a, e, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "chuxian_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -49,7 +49,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -75,7 +75,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -34,7 +34,7 @@ var a, e, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "chuxiana_money",
orderid: a.data.orderid,
vin: a.data.cardatawx.vin,
@ -49,7 +49,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -75,7 +75,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -34,7 +34,7 @@ var a, e, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "cardzbd_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -49,7 +49,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -75,7 +75,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -90,7 +90,7 @@ var a, e;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "escgz_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -101,7 +101,7 @@ var a, e;
? e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,
@ -127,7 +127,7 @@ var a, e;
e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,

View File

@ -74,7 +74,7 @@ var a, e;
e.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "escgz_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -84,7 +84,7 @@ var a, e;
? e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,
@ -110,7 +110,7 @@ var a, e;
e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,

View File

@ -34,7 +34,7 @@
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "jiaoqianxian_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -49,7 +49,7 @@
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -75,7 +75,7 @@
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -214,7 +214,7 @@ var e, t, a;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "nianjian_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -225,7 +225,7 @@ var e, t, a;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -251,7 +251,7 @@ var e, t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -34,7 +34,7 @@
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "syxcx_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -49,7 +49,7 @@
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -75,7 +75,7 @@
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -80,7 +80,7 @@
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "vin_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -91,7 +91,7 @@
? e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,
@ -117,7 +117,7 @@
e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,

View File

@ -31,7 +31,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "weibao_money",
orderid: a.data.orderid,
uid: wx.getStorageSync("uid"),
@ -41,7 +41,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -67,7 +67,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -39,7 +39,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "weibaoa_money",
fee: a.data.fee,
car: a.data.orderInfo.brand,
@ -56,7 +56,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -82,7 +82,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -52,7 +52,7 @@ var a, t;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
do: "cbs",
vin: t.data.cardatawx.vin,
@ -87,7 +87,7 @@ var a, t;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
do: "cbs",
vin: t.data.cardatawx.vin,
@ -164,7 +164,7 @@ var a, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "weibaoa_money",
fee: e.data.fee,
midd: e.data.middleAgentUserId,
@ -182,7 +182,7 @@ var a, t;
? a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,
@ -208,7 +208,7 @@ var a, t;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: t.data.data.orderid,

View File

@ -25,7 +25,7 @@ var e;
var t = this;
e.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", do: "indexdh" },
data: { do: "indexdh" },
success: function (e) {
console.log("导航", e), t.setData({ dhlist: e.data.data });
},

View File

@ -31,7 +31,7 @@ var e, a, t;
t.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "wz_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -41,7 +41,7 @@ var e, a, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -67,7 +67,7 @@ var e, a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -226,7 +226,7 @@ var e, t, a;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "cpcx_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -237,7 +237,7 @@ var e, t, a;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -263,7 +263,7 @@ var e, t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -39,7 +39,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "weibaoa_money",
fee: a.data.fee,
car: a.data.orderInfo.brand,
@ -51,7 +51,7 @@ var a, e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -77,7 +77,7 @@ var a, e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -192,7 +192,7 @@ var e, t, a;
t.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "cphy_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -202,7 +202,7 @@ var e, t, a;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -228,7 +228,7 @@ var e, t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -31,7 +31,7 @@ var a, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "dcbg_money",
orderid: a.data.orderid,
vin: a.data.cardatawx.vin,
@ -46,7 +46,7 @@ var a, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -72,7 +72,7 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -171,7 +171,7 @@ var e, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "gscx_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -182,7 +182,7 @@ var e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -208,7 +208,7 @@ var e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -171,7 +171,7 @@ var e, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "gslxcx_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -182,7 +182,7 @@ var e, t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -208,7 +208,7 @@ var e, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -194,7 +194,7 @@
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "sfzhy_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -205,7 +205,7 @@
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -231,7 +231,7 @@
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -45,7 +45,7 @@
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: a.data.moneytype,
dhid: a.data.dh.id,
orderid: a.data.orderid,
@ -61,7 +61,7 @@
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -87,7 +87,7 @@
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -1,7 +1,7 @@
var a, t;
(a = getApp()),
(t = getApp()).util.url("entry/wxapp/Api", {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "Upimg",
}),
@ -73,7 +73,7 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
imgurl: n[i].img,
r: "Upimg.delImg",
@ -87,7 +87,7 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
imgurl: n[i].img,
r: "Upimg.delImg",
@ -141,7 +141,7 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
imgurl: n[e].img,
r: "Upimg.delImg",
@ -179,7 +179,7 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
imgurl: n,
r: "Upimg.delImg",
@ -258,7 +258,7 @@ var a, t;
method: "post",
dataType: "json",
data: {
m: "monai_market",
orderid: t.data.orderid,
cxid: t.data.id,
uid: wx.getStorageSync("uid"),
@ -270,7 +270,7 @@ var a, t;
? a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -296,7 +296,7 @@ var a, t;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -219,7 +219,7 @@
method: "post",
dataType: "json",
data: {
m: "monai_market",
type: "zhengxin_money",
orderid: e.data.orderid,
uid: wx.getStorageSync("uid"),
@ -230,7 +230,7 @@
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,
@ -256,7 +256,7 @@
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: a.data.data.orderid,

View File

@ -8,7 +8,7 @@ var t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
leftid: "",
r: "sale.salelist.getcollection",
@ -27,7 +27,7 @@ var t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.follow",
uid: t.getuid(),
type: 2,
@ -55,7 +55,7 @@ var t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
leftid: a,
r: "sale.salelist.getcollection",

View File

@ -7,7 +7,7 @@ var t, a;
var e = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", leftid: "", r: "sale.index.getnotice" },
data: { leftid: "", r: "sale.index.getnotice" },
cachetime: "0",
success: function (t) {
e.setData({ notices: t.data.data });
@ -25,7 +25,7 @@ var t, a;
((e.data.dropdown = 2),
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", leftid: a, r: "sale.salelist.getnotice" },
data: { leftid: a, r: "sale.salelist.getnotice" },
success: function (t) {
var o = t.data.data.length;
if ((a++, o > 0))

View File

@ -7,7 +7,7 @@ var t, a;
var e = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", leftid: "", r: "sale.index.getnotice" },
data: { leftid: "", r: "sale.index.getnotice" },
cachetime: "0",
success: function (t) {
e.setData({ notices: t.data.data });
@ -25,7 +25,7 @@ var t, a;
((e.data.dropdown = 2),
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", leftid: a, r: "sale.salelist.getnotice" },
data: { leftid: a, r: "sale.salelist.getnotice" },
success: function (t) {
var o = t.data.data.length;
if ((a++, o > 0))

View File

@ -10,7 +10,7 @@ var a;
var e = this;
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "store.getVip" },
data: { r: "store.getVip" },
success: function (a) {
e.setData({ detail: a.data.data });
},
@ -23,7 +23,7 @@ var a;
wx.getStorageSync("uid")
? a.util.request({
url: "entry/wxapp/Payvip",
data: { m: "monai_market", uid: wx.getStorageSync("uid") },
data: { uid: wx.getStorageSync("uid") },
success: function (a) {
1 != a.data.data
? a.data &&

View File

@ -10,7 +10,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.fans",
uid: wx.getStorageSync("uid"),
type: t.type,
@ -25,7 +25,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.follow",
uid: wx.getStorageSync("uid"),
type: 1,
@ -45,7 +45,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.fans",
uid: wx.getStorageSync("uid"),
page: t.data.page + 1,

View File

@ -63,7 +63,7 @@ var t;
(console.log(c[l]), console.log(c[l].imgshort), d.push(c[l]));
var g = {
r: "sale.index.ingujia",
m: "monai_market",
fomid: e.detail.formId,
uid: i,
address: s,
@ -107,7 +107,7 @@ var t;
url: "entry/wxapp/Api",
data: {
r: "sale.index.userphone",
m: "monai_market",
iv: e.detail.iv,
encryptedData: e.detail.encryptedData,
},

View File

@ -55,7 +55,7 @@ var t;
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.info_set" },
data: { r: "home.index.info_set" },
cachetime: "0",
success: function (t) {
console.log(t),
@ -69,7 +69,7 @@ var t;
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.car_info", id: this.data.id },
data: { r: "home.index.car_info", id: this.data.id },
cachetime: "0",
success: function (t) {
var e = !1;
@ -173,7 +173,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.follow",
uid: t.getuid(),
type: 2,

View File

@ -17,7 +17,7 @@ var t;
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.info_set" },
data: { r: "home.index.info_set" },
cachetime: "0",
success: function (t) {
2 == t.data.data.plate_type && a.setData({ plate_type: 2 });
@ -29,7 +29,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.index.search_index",
name: this.data.name,
leftid: this.data.leftid++,

View File

@ -42,7 +42,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.index.stay",
car_id: this.data.car_id,
leftid: this.data.leftid++,
@ -81,7 +81,7 @@ var t;
? t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.index.word",
content: e.content,
car_uid: this.data.car_uid,

View File

@ -18,7 +18,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.index.wordList",
car_uid: wx.getStorageSync("uid"),
leftid: this.data.leftid++,

View File

@ -44,7 +44,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
carid: i,
uid: wx.getStorageSync("uid"),
r: "sale.index.getcarimg111",
@ -105,7 +105,7 @@ var a;
},
backimg: function (t) {
return a.util.url("entry/wxapp/Api", {
m: "monai_market",
img: t,
r: "sale.index.getthecarimg",
});

View File

@ -17,7 +17,7 @@ var a;
this.setData({ keywordArr: wx.getStorageSync("keywordArr") }),
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.search_detail" },
data: { r: "home.index.search_detail" },
cachetime: "0",
success: function (a) {
console.log(a), e.setData({ shop: a.data.data });

View File

@ -70,10 +70,10 @@ var t;
a &&
a.scene &&
(e.setData({ parent_uid: a.scene }),
t.util.getUserInfo(function (t) {
wx.setStorageSync("uid", t.memberInfo.uid),
t.memberInfo ? e.firstin(t.memberInfo) : e.setData({ isShow: !0 });
})),
t.util.getUserInfo(function (t) {
wx.setStorageSync("uid", t.memberInfo.uid),
t.memberInfo ? e.firstin(t.memberInfo) : e.setData({ isShow: !0 });
})),
this._list(1),
this._notice(),
this._info_set(0);
@ -103,27 +103,27 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.binding",
uid: a.uid,
head_image: a.avatar,
nickname: a.nickname,
parent_uid: this.data.parent_uid,
},
success: function (t) {},
success: function (t) { },
});
},
_info_set: function () {
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.info_set" },
data: { r: "home.index.info_set" },
cachetime: "0",
success: function (t) {
console.log(t),
2 == t.data.data.head_flow &&
"" != t.data.data.head_flow_id &&
a.setData({ unitid: t.data.data.head_flow_id });
"" != t.data.data.head_flow_id &&
a.setData({ unitid: t.data.data.head_flow_id });
},
});
},
@ -131,17 +131,12 @@ var t;
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.home1" },
data: { r: "home.index.home" },
cachetime: "0",
success: function (t) {
console.log(t),
t.data.data.info_name.name &&
wx.setNavigationBarTitle({
title: t.data.data.info_name.name + "",
}),
t.data.data.info_name.name && wx.setNavigationBarTitle({ title: t.data.data.info_name.name + "" }),
1 == t.data.data.info_name.recom && a.is_home(),
2 == t.data.data.info_name.plate_type &&
a.setData({ plate_type: 2 }),
2 == t.data.data.info_name.plate_type && a.setData({ plate_type: 2 }),
a.setData({
banner: t.data.data.banner,
market: t.data.data.market,
@ -160,15 +155,9 @@ var t;
var e = t.getAttr(a, "id"),
i = t.getAttr(a, "type");
console.log(i),
4 == i
? wx.navigateTo({ url: "/pages/mine/sale/index" })
: 5 == i
? wx.navigateTo({ url: "/pages/enter/enter" })
: 6 == i ||
(0 != e &&
wx.navigateTo({
url: "/pages/home/carMessage/carMessage?id=" + e,
}));
4 == i ? wx.navigateTo({ url: "/pages/mine/sale/index" }) : 5 == i ? wx.navigateTo({ url: "/pages/enter/enter" }) : 6 == i || (0 != e && wx.navigateTo({
url: "/pages/home/carMessage/carMessage?id=" + e,
}));
},
market_class: function (a) {
var e = t.getAttr(a, "active_index"),
@ -288,9 +277,9 @@ var t;
mark: d,
check_name: s,
}),
this.data.search_arr.filter(function (t) {
return t.mark != d;
}));
this.data.search_arr.filter(function (t) {
return t.mark != d;
}));
o.push(n),
this.setData({
is_ok: !1,
@ -312,7 +301,6 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.index.carList",
fenlei_id: this.data.fenlei_id,
pinpai_id: this.data.pinpai_id,
@ -331,16 +319,16 @@ var t;
var a;
t.data.data.length > 0
? ((a = e.data.carList).push.apply(
a,
(function (t) {
if (Array.isArray(t)) {
for (var a = 0, e = Array(t.length); a < t.length; a++)
e[a] = t[a];
return e;
}
return Array.from(t);
})(t.data.data)
),
a,
(function (t) {
if (Array.isArray(t)) {
for (var a = 0, e = Array(t.length); a < t.length; a++)
e[a] = t[a];
return e;
}
return Array.from(t);
})(t.data.data)
),
e.setData({ scanReachBottom: !1 }),
e.setData({ is_ok: !1, carList: e.data.carList }))
: (e.setData({ scanReachBottom: !0 }), (e.data.show_new = !1));
@ -353,12 +341,12 @@ var t;
1 == i[e].active_index
? this.setData({ fenlei_id: 0, check_name: "" })
: 2 == i[e].active_index
? this.setData({ pinpai_id: 0, car_brand: "" })
: 3 == i[e].active_index
? (this.setData({ nianxian_id: 0, car_year: "" }),
(this.data.nianxian_id = 0))
: 4 == i[e].active_index &&
(this.setData({ km_id: 0, car_km: "" }), (this.data.km_id = 0)),
? this.setData({ pinpai_id: 0, car_brand: "" })
: 3 == i[e].active_index
? (this.setData({ nianxian_id: 0, car_year: "" }),
(this.data.nianxian_id = 0))
: 4 == i[e].active_index &&
(this.setData({ km_id: 0, car_km: "" }), (this.data.km_id = 0)),
i.splice(e, 1),
this.setData({ search_arr: i, active_index: 0, leftid: 1 }),
this._list(2);
@ -367,11 +355,11 @@ var t;
var e = t.getAttr(a, "active_index");
this.data.active_index != e
? this.setData({
sort_show: !0,
show_new: !1,
active_index: e,
brand_show: !1,
})
sort_show: !0,
show_new: !1,
active_index: e,
brand_show: !1,
})
: this.setData({ sort_show: !1, active_index: 0, show_new: !1 });
},
sort_car: function (a) {
@ -384,7 +372,7 @@ var t;
var a = this;
if (
(a.setData({ active_index: 0 }),
0 !== a.data.latitude && 0 !== a.data.longitude)
0 !== a.data.latitude && 0 !== a.data.longitude)
)
return a.setData({ sort_id: t }), a._list(2), !1;
wx.gLn({
@ -402,20 +390,20 @@ var t;
success: function (e) {
e.authSetting["scope.userLocation"]
? wx.gLn({
type: "gcj02",
success: function (e) {
a.setData({
latitude: e.latitude,
longitude: e.longitude,
sort_id: t,
}),
a._list(2);
},
})
type: "gcj02",
success: function (e) {
a.setData({
latitude: e.latitude,
longitude: e.longitude,
sort_id: t,
}),
a._list(2);
},
})
: wx.showModal({
content: "您未授权获取当前位置无法使用距离排序!",
showCancel: !1,
});
content: "您未授权获取当前位置无法使用距离排序!",
showCancel: !1,
});
},
});
},
@ -515,15 +503,15 @@ var t;
return {
title: this.data.info_name + "",
path: "/pages/index/index",
success: function (t) {},
fail: function (t) {},
success: function (t) { },
fail: function (t) { },
};
},
is_home: function () {
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.is_home" },
data: { r: "home.index.is_home" },
cachetime: "0",
success: function (t) {
t.data.data.length > 0 && a.setData({ home_arr: t.data.data });
@ -534,7 +522,7 @@ var t;
var t = this;
if (
(this.setData({ region: ["", "", ""] }),
"" != t.data.brandid &&
"" != t.data.brandid &&
"" != t.data.brandname &&
1 == t.data.brand_status)
) {

View File

@ -1,6 +1,5 @@
var a, t;
(a = require("../../utils/data.js")),
(t = getApp()),
(t = getApp()),
Page({
data: {
ioszf: 1,
@ -55,8 +54,8 @@ var a, t;
longitude: 0,
region: ["", "", ""],
showPrivacy: t.globalData.showPrivacy,
banner: a.banner,
dhlist: a.index,
banner: [],
dhlist: [],
},
dcbg: function (a) {
wx.navigateTo({ url: "/packageA/pages/dcbg/incxjl" });
@ -74,32 +73,24 @@ var a, t;
wx.navigateTo({ url: "/packageA/pages/carsyx/incxjl" });
},
onLoad: function (a) {
console.log("自动uid", wx.getStorageSync("uid")),
wx.getStorageSync("uid") ||
getApp()
.wxlogin()
.then((a) => {
console.log("回调数据:", a), this.setData({ showPrivacy: a });
}),
this.look();
wx.getStorageSync("uid") || getApp().wxlogin().then((a) => {
console.log("回调数据:", a), this.setData({ showPrivacy: a });
});
this.look();
var e = this;
a &&
a.scene &&
(e.setData({ parent_uid: a.scene }),
a && a.scene && (e.setData({ parent_uid: a.scene }),
t.util.getUserInfo(function (a) {
wx.setStorageSync("uid", a.memberInfo.uid),
a.memberInfo ? e.firstin(a.memberInfo) : e.setData({ isShow: !0 });
})),
this._list(1),
// this._list(1),
wx.getPrivacySetting({
success: (a) => {
console.log(a),
a.needAuthorization
? this.setData({ showPrivacy: !0 })
: this.setData({ showPrivacy: !1 });
a.needAuthorization ? this.setData({ showPrivacy: !0 }) : this.setData({ showPrivacy: !1 });
},
fail: () => {},
complete: () => {},
fail: () => { },
complete: () => { },
});
},
handleAgreePrivacyAuthorization() {
@ -114,9 +105,9 @@ var a, t;
},
handleOpenPrivacyContract() {
wx.openPrivacyContract({
success: () => {},
fail: () => {},
complete: () => {},
success: () => { },
fail: () => { },
complete: () => { },
});
},
info_notice: function () {
@ -147,31 +138,30 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.binding",
uid: a.uid,
head_image: a.avatar,
nickname: a.nickname,
parent_uid: this.data.parent_uid,
},
success: function (a) {},
success: function (a) { },
});
},
_notice: function () {
var a = this;
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.home1" },
data: { r: "home.index.home" },
cachetime: "0",
success: function (t) {
console.log(t),
t.data.data.info_name.name &&
wx.setNavigationBarTitle({
title: t.data.data.info_name.name + "",
}),
wx.setNavigationBarTitle({
title: t.data.data.info_name.name + "",
}),
1 == t.data.data.info_name.recom &&
2 == t.data.data.info_name.plate_type &&
a.setData({ plate_type: 2 }),
2 == t.data.data.info_name.plate_type &&
a.setData({ plate_type: 2 }),
a.setData({
ioszf: t.data.data.info_name.ioszf,
banner: t.data.data.banner,
@ -180,6 +170,7 @@ var a, t;
textJson: t.data.data.notice,
info_name: t.data.data.info_name.name,
recom: t.data.data.info_name.recom,
maiche: t.data.data.info_name.maiche,
info: t.data.data.info_name,
dhlist: t.data.data.dhdata,
});
@ -190,18 +181,11 @@ var a, t;
this.setData({ is_ok: !1 });
},
banner: function (a) {
var e = t.getAttr(a, "id"),
i = t.getAttr(a, "type");
console.log(i),
4 == i
? wx.navigateTo({ url: "/pages/mine/sale/index" })
: 5 == i
? wx.navigateTo({ url: "/pages/enter/enter" })
: 6 == i ||
(0 != e &&
wx.navigateTo({
url: "/pages/home/carMessage/carMessage?id=" + e,
}));
var i = t.getAttr(a, "url");
console.log(i)
wx.navigateTo({ url: i });
},
market_class: function (a) {
var e = t.getAttr(a, "active_index"),
@ -223,29 +207,27 @@ var a, t;
var t = a.currentTarget.dataset.url,
e = a.currentTarget.dataset.appid,
i = a.currentTarget.dataset.tzpage,
n = a.currentTarget.dataset.nbpage,
n = a.currentTarget.dataset.page,
r = a.currentTarget.dataset.id;
"ios" != this.data.phone || 0 != this.data.ioszf
? n
? wx.navigateTo({ url: n + "?id=" + r })
: e
? wx.navigateToMiniProgram({
? wx.navigateToMiniProgram({
appId: e,
path: i,
extarData: { open: "happy" },
extarData: { open: "xphp" },
envVersion: "release",
success(a) {},
success(a) { },
})
: t && wx.navigateTo({ url: "/pages/website/website?url=" + t })
: t && wx.navigateTo({ url: "/pages/website/website?url=" + t })
: wx.showModal({
title: "温馨提示",
content: "由于相关规范iOS功能暂不可用",
success: function (a) {
a.confirm
? console.log("点击确认回调")
: console.log("点击取消回调");
},
});
title: "温馨提示",
content: "由于相关规范iOS功能暂不可用",
success: function (a) {
a.confirm ? console.log("点击确认回调") : console.log("点击取消回调");
},
});
},
carList: function (a) {
var e = t.getAttr(a, "name"),
@ -321,9 +303,9 @@ var a, t;
mark: o,
check_name: s,
}),
this.data.search_arr.filter(function (a) {
return a.mark != o;
}));
this.data.search_arr.filter(function (a) {
return a.mark != o;
}));
c.push(n),
this.setData({
is_ok: !1,
@ -334,7 +316,7 @@ var a, t;
show_new: !0,
});
}
this._list(1);
// this._list(1);
},
_list: function (a) {
var e = this;
@ -345,7 +327,6 @@ var a, t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.index.carList",
fenlei_id: this.data.fenlei_id,
pinpai_id: this.data.pinpai_id,
@ -364,16 +345,16 @@ var a, t;
var t;
a.data.data.length > 0
? ((t = e.data.carList).push.apply(
t,
(function (a) {
if (Array.isArray(a)) {
for (var t = 0, e = Array(a.length); t < a.length; t++)
e[t] = a[t];
return e;
}
return Array.from(a);
})(a.data.data)
),
t,
(function (a) {
if (Array.isArray(a)) {
for (var t = 0, e = Array(a.length); t < a.length; t++)
e[t] = a[t];
return e;
}
return Array.from(a);
})(a.data.data)
),
e.setData({ scanReachBottom: !1 }),
e.setData({ is_ok: !1, carList: e.data.carList }))
: (e.setData({ scanReachBottom: !0 }), (e.data.show_new = !1));
@ -415,18 +396,18 @@ var a, t;
return {
title: this.data.info_name + "",
path: "/pages/index/index",
success: function (a) {},
fail: function (a) {},
success: function (a) { },
fail: function (a) { },
};
},
onShow: function () {
this.look();
// this.look();
},
look: function () {
var a = this;
if (
(this._notice(),
"" != a.data.brandid &&
"" != a.data.brandid &&
"" != a.data.brandname &&
1 == a.data.brand_status)
) {
@ -454,8 +435,8 @@ var a, t;
brand_show: !1,
brandid: 0,
brandname: "",
}),
this._list(1);
});
// this._list(1);
}
},
bindKeyInput: function (a) {
@ -465,8 +446,8 @@ var a, t;
checkCurrent: function (a) {
if (
(console.log(a),
console.log(a.currentTarget.dataset.current),
this.data.currentData === a.currentTarget.dataset.current)
console.log(a.currentTarget.dataset.current),
this.data.currentData === a.currentTarget.dataset.current)
)
return !1;
this.setData({
@ -479,11 +460,11 @@ var a, t;
var e = t.getAttr(a, "active_index");
this.data.active_index != e
? this.setData({
sort_show: !0,
show_new: !1,
active_index: e,
brand_show: !1,
})
sort_show: !0,
show_new: !1,
active_index: e,
brand_show: !1,
})
: this.setData({ sort_show: !1, active_index: 0, show_new: !1 });
},
sort_car: function (a) {

View File

@ -6,8 +6,8 @@
<button bindagreeprivacyauthorization="handleAgreePrivacyAuthorization" class="privacy-dialog__button" id="agree-btn" openType="agreePrivacyAuthorization">同意</button>
</view>
<swiper autoplay="{{autoplay}}" class="scroll_size" duration="{{duration}}" indicatorActiveColor="#fff" indicatorDots="{{indicatorDots}}" interval="{{interval}}" lazyLoad="{{true}}">
<swiper-item bindtap="banner" data-id="{{item.product_id}}" data-type="{{item.type}}" wx:for="{{banner}}" wx:key="1">
<image class="scroll_size" mode="scaleToFill" src="{{item.img_patch}}" style="width:100%"></image>
<swiper-item bindtap="banner" data-url="{{item.url}}" wx:for="{{banner}}" wx:key="1">
<image class="scroll_size" mode="scaleToFill" src="{{item.image}}" style="width:100%"></image>
</swiper-item>
</swiper>
<view class="xiaoxi">
@ -19,7 +19,7 @@
<!-- <view bindtap="info_notice" class="xiaoxi_right_btn">详情</view> -->
</view>
<view class="service_box">
<view bindtap="navtonew" class="service_items" data-appid="{{item.appid}}" data-id="{{item.id}}" data-nbpage="{{item.nbpage}}" data-tzpage="{{item.tzpage}}" data-url="{{item.url}}" wx:if="{{item.cid==1}}" wx:for="{{dhlist}}" wx:key="index">
<view bindtap="navtonew" class="service_items" data-appid="{{item.appid}}" data-id="{{item.id}}" data-page="{{item.page}}" data-tzpage="{{item.tzpage}}" data-url="{{item.url}}" wx:if="{{item.cid==1}}" wx:for="{{dhlist}}" wx:key="index">
<view class="module_item" style="background-image: url({{item.bg}});" wx:if="{{item.bg}}">
<view class="module_name">{{item.name}}</view>
<view class="module_decs">{{item.content}}</view>
@ -39,7 +39,7 @@
<view class="main_content">
<view class="title_flag">车主工具箱</view>
<view class="service_box">
<view bindtap="navtonew" class="service_item" data-appid="{{item.appid}}" data-id="{{item.id}}" data-nbpage="{{item.nbpage}}" data-tzpage="{{item.tzpage}}" data-url="{{item.url}}" wx:if="{{item.cid==2}}" wx:for="{{dhlist}}" wx:key="index">
<view bindtap="navtonew" class="service_item" data-appid="{{item.appid}}" data-id="{{item.id}}" data-page="{{item.page}}" data-tzpage="{{item.tzpage}}" data-url="{{item.url}}" wx:if="{{item.cid==2}}" wx:for="{{dhlist}}" wx:key="index">
<view class="service_item_left">
<view class="service_name">{{item.name}}</view>
<view class="service_desc">{{item.content}}</view>
@ -47,7 +47,7 @@
</view>
<view class="service_item_right">
<view class="service_img_box">
<image class="service_img" src="{{item.logo?item.logo:'https://api.ym23.com/addons/monai_market/static/icon/ting_ke_wen.png'}}"></image>
<image class="service_img" src="{{item.logo?item.logo:''}}"></image>
</view>
</view>
</view>

View File

@ -21,7 +21,7 @@ var e;
e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: e.getuid(),
r: "sale.index.saleindex",
},
@ -47,7 +47,7 @@ var e;
url: "entry/wxapp/Api",
data: {
r: "sale.index.userphone",
m: "monai_market",
iv: t.detail.iv,
encryptedData: t.detail.encryptedData,
},
@ -71,7 +71,7 @@ var e;
);
var o = {
r: "sale.index.inloan",
m: "monai_market",
fomid: t.detail.formId,
uid: n,
phone: i,

View File

@ -180,7 +180,7 @@ var a, t;
var t = this;
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", do: "sjtouxian" },
data: { do: "sjtouxian" },
success: function (a) {
console.log(a),
200 == a.data.data.code &&
@ -194,7 +194,7 @@ var a, t;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.detail",
uid: t.uid,
type: e,

View File

@ -8,7 +8,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.fans",
uid: wx.getStorageSync("uid"),
},
@ -23,7 +23,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.fans",
uid: wx.getStorageSync("uid"),
page: t.data.page + 1,

View File

@ -68,7 +68,7 @@ var e;
e.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.detail",
uid: n.uid,
type: t,

View File

@ -7,7 +7,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.info",
uid: wx.getStorageSync("uid"),
},
@ -29,7 +29,7 @@ var a;
url: "entry/wxapp/Api",
data: {
r: "sale.index.userphone",
m: "monai_market",
iv: e.detail.iv,
encryptedData: e.detail.encryptedData,
},
@ -83,7 +83,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.updateinfo",
uid: wx.getStorageSync("uid"),
nickname: e.detail.value.nickname,

View File

@ -41,7 +41,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
carid: e.id,
uid: wx.getStorageSync("uid"),
r: "sale.index.getcarimg",
@ -91,7 +91,7 @@ var a;
},
backimg: function (t) {
return a.util.url("entry/wxapp/Api", {
m: "monai_market",
img: t,
r: "sale.index.getthecarimg",
});

View File

@ -17,7 +17,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.detail",
uid: a.uid,
head_image: a.avatar,
@ -33,7 +33,7 @@ var t;
}),
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "store.getSaleinfo", uid: a.uid },
data: { r: "store.getSaleinfo", uid: a.uid },
success: function (t) {
e.setData({ total: t.data.data });
},

View File

@ -7,7 +7,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getBalance",
uid: wx.getStorageSync("uid"),
},
@ -24,7 +24,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.addWithdraw",
uid: wx.getStorageSync("uid"),
balance: t.detail.value.withdraw,

View File

@ -8,7 +8,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getWithdraw",
uid: wx.getStorageSync("uid"),
},
@ -23,7 +23,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getWithdraw",
uid: wx.getStorageSync("uid"),
page: t.data.page + 1,

View File

@ -8,7 +8,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getAccount",
uid: wx.getStorageSync("uid"),
},
@ -21,7 +21,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getAccountTotal",
uid: wx.getStorageSync("uid"),
},
@ -36,7 +36,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "store.getAccount",
uid: wx.getStorageSync("uid"),
page: t.data.page + 1,

View File

@ -26,7 +26,7 @@ var t;
}),
t.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "part.index.get_car_type" },
data: { r: "part.index.get_car_type" },
success: function (t) {
e.setData({ carTypeList: t.data.data });
},
@ -57,7 +57,7 @@ var t;
url: "entry/wxapp/Api",
data: {
r: "part.index.get_tel",
m: "monai_market",
iv: a.detail.iv,
encryptedData: a.detail.encryptedData,
},
@ -114,7 +114,7 @@ var t;
);
var c = {
r: "part.index.order_add",
m: "monai_market",
uid: t.getuid(),
part_img: r,
part_name: i,
@ -160,7 +160,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
imgurl: this.data.partImg,
r: "Upimg.delImg",

View File

@ -27,7 +27,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "part.order.order_list",
uid: t.getuid(),
page: a.data.page,
@ -81,7 +81,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "part.order.confirm_order",
uid: t.getuid(),
id: i,

View File

@ -9,7 +9,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "part.order.pay_set",
uid: a.getuid(),
id: d,
@ -44,7 +44,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "part.order.address_save",
uid: a.getuid(),
name: s,
@ -89,7 +89,7 @@ var a;
a.util.request({
url: "entry/wxapp/payPartOrder",
data: {
m: "monai_market",
id: this.data.order_id,
uid: a.getuid(),
formid: d,
@ -113,7 +113,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "part.order.pay_callback",
uid: a.getuid(),
oid: e.data.order_id,

View File

@ -41,7 +41,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
carid: e.id,
uid: wx.getStorageSync("uid"),
r: "sale.index.getcarimgindex",
@ -91,7 +91,7 @@ var a;
},
backimg: function (t) {
return a.util.url("entry/wxapp/Api", {
m: "monai_market",
img: t,
r: "sale.index.getthecarimg",
});

View File

@ -92,7 +92,7 @@ var t, a;
var t = this;
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.home1" },
data: { r: "home.index.home" },
cachetime: "0",
success: function (a) {
console.log(a),
@ -421,7 +421,7 @@ var t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.detail",
uid: a.uid,
type: e,

View File

@ -47,7 +47,7 @@ var t, a;
var t = this;
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "home.index.home1" },
data: { r: "home.index.home" },
cachetime: "0",
success: function (a) {
console.log(a),
@ -325,7 +325,7 @@ var t, a;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.detail",
uid: a.uid,
type: e,

View File

@ -1,6 +1,6 @@
var a;
(a = getApp()).util.url("entry/wxapp/Api", {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "Upimg",
}),
@ -114,7 +114,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
r: "sale.index.saleindex",
},
@ -134,7 +134,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.info",
uid: wx.getStorageSync("uid"),
},
@ -195,7 +195,7 @@ var a;
url: "entry/wxapp/Api",
data: {
r: "sale.index.userphone",
m: "monai_market",
iv: e.detail.iv,
encryptedData: e.detail.encryptedData,
},
@ -275,7 +275,7 @@ var a;
(console.log(m[h]), console.log(m[h].imgshort), g.push(m[h]));
var p = {
r: "sale.index.insale",
m: "monai_market",
fomid: e.detail.formId,
uid: i,
classid: s,
@ -364,7 +364,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
imgurl: s[i].img,
r: "Upimg.delImg",
@ -378,7 +378,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
imgurl: s[i].img,
r: "Upimg.delImg",
@ -415,7 +415,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
imgurl: i[t].img,
r: "Upimg.delImg",
@ -456,7 +456,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
imgurl: s,
r: "Upimg.delImg",

View File

@ -96,7 +96,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
r: "sale.index.saleindex",
},
@ -117,7 +117,7 @@ var t;
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.info",
uid: wx.getStorageSync("uid"),
},
@ -165,7 +165,7 @@ var t;
url: "entry/wxapp/Api",
data: {
r: "sale.index.userphone",
m: "monai_market",
iv: e.detail.iv,
encryptedData: e.detail.encryptedData,
},
@ -292,7 +292,7 @@ var t;
);
var h = {
r: "sale.index.insale",
m: "monai_market",
fomid: e.detail.formId,
uid: i,
classid: s,

View File

@ -99,7 +99,7 @@
t.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: t.getuid(),
car: e,
r: "sale.salelist.getcardetail",
@ -191,7 +191,7 @@
url: "entry/wxapp/Api",
data: {
r: "sale.index.userphone",
m: "monai_market",
iv: a.detail.iv,
encryptedData: a.detail.encryptedData,
},
@ -325,7 +325,7 @@
);
var b = {
r: "sale.salelist.upsale",
m: "monai_market",
id: e.data.cardetail.id,
fomid: a.detail.formId,
uid: i,

View File

@ -7,7 +7,7 @@ var a;
console.log(123),
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "sale.index.salenew" },
data: { r: "sale.index.salenew" },
cachetime: "0",
success: function (a) {
console.log(a),

View File

@ -19,7 +19,7 @@ var a;
t.getcarslist(t, 0),
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "sale.salelist.getfee" },
data: { r: "sale.salelist.getfee" },
success: function (a) {
(t.data.onshelffee = a.data.data.onshelffee),
(t.data.settopfee = a.data.data.settopfee),
@ -40,7 +40,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
leftid: "",
types: e,
@ -79,13 +79,13 @@ var a;
dosettoppay: function (t) {
a.util.request({
url: "entry/wxapp/paysettop",
data: { m: "monai_market", uid: a.getuid(), car: t },
data: { uid: a.getuid(), car: t },
success: function (e) {
e.data && e.data.data && 1e3 == e.data.message
? a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: t,
r: "sale.salelist.maketop",
@ -112,7 +112,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: t,
orderid: e.data.data.orderid,
@ -140,7 +140,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
leftid: t.data.page + 1,
types: t.data.activeIndex,
@ -184,7 +184,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: n,
r: "sale.salelist.onshelf",
@ -209,7 +209,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: n,
r: "sale.salelist.downshelf",
@ -225,13 +225,13 @@ var a;
dopay: function (t, e) {
a.util.request({
url: "entry/wxapp/paysale",
data: { m: "monai_market", uid: a.getuid(), car: e },
data: { uid: a.getuid(), car: e },
success: function (s) {
s.data && s.data.data && 1e3 == s.data.message
? a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: e,
r: "sale.salelist.onshelf",
@ -254,7 +254,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: e,
r: "sale.salelist.onshelf",
@ -284,7 +284,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
car: n,
r: "sale.salelist.delsale",

View File

@ -7,7 +7,7 @@ var a;
e = this;
a.util.request({
url: "entry/wxapp/Api",
data: { m: "monai_market", r: "sale.index.carsbrand" },
data: { r: "sale.index.carsbrand" },
cachetime: "0",
success: function (a) {
console.log(a),

View File

@ -37,7 +37,7 @@ var a, t, e;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: a.getuid(),
thatuid: e,
r: "sale.index.getstoredetail",
@ -109,7 +109,7 @@ var a, t, e;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.follow",
uid: a.getuid(),
type: 1,
@ -131,7 +131,7 @@ var a, t, e;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
leftid: t,
is_vip: 1,
r: "sale.index.getstoredetail",
@ -156,7 +156,7 @@ var a, t, e;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
leftid: e,
is_vip: 2,
r: "sale.index.getstoredetail",
@ -183,7 +183,7 @@ var a, t, e;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
leftid: t,
r: "sale.index.getstoredetail",
thatuid: e.data.store_uid,

View File

@ -24,7 +24,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
carid: t.data.carid,
r: "home.weizhang.addcar",
@ -45,7 +45,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "me.info",
uid: wx.getStorageSync("uid"),
},
@ -87,7 +87,7 @@ var a;
);
var u = {
r: "home.weizhang.addcar_in",
m: "monai_market",
fomid: t.detail.formId,
uid: n,
mendian: i,

View File

@ -8,7 +8,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
carid: e.data.carid,
r: "home.weizhang.select_car",
uid: wx.getStorageSync("uid"),

View File

@ -7,7 +7,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.weizhang.index",
uid: wx.getStorageSync("uid"),
},
@ -34,7 +34,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
r: "home.weizhang.weizhang_num",
uid: wx.getStorageSync("uid"),
},
@ -56,7 +56,7 @@ var a;
a.util.request({
url: "entry/wxapp/paynum",
data: {
m: "monai_market",
type: "weizhang_money",
uid: wx.getStorageSync("uid"),
},
@ -65,7 +65,7 @@ var a;
? a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,
@ -88,7 +88,7 @@ var a;
a.util.request({
url: "entry/wxapp/Api",
data: {
m: "monai_market",
uid: wx.getStorageSync("uid"),
r: "home.weizhang.paynum",
orderid: e.data.data.orderid,

View File

@ -1,645 +1 @@
module.exports = {
index: [
{
api: "1",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "查询事故车,出险记录,保险记录",
cxcontent: "",
cximg: "",
id: "2",
logo: "https://pic.ym23.com/images/77/2023/11/IhcHcnH5CjNjhchrvhcHdHchDUCcZH.png",
moneytype: "",
name: "出险记录查询",
nbpage: "/packageA/pages/carcx/index",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "20",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "查询车辆最新的状态信息",
cxcontent: "",
cximg: "",
id: "4",
logo: "https://pic.ym23.com/images/77/2023/11/qjR0jzObhR900RJPEBvr490zZR1T99.png",
moneytype: "",
name: "车辆状态查询",
nbpage: "/packageA/pages/carclzt/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "18",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "查询交强险投保日期和状态",
cxcontent: "",
cximg: "",
id: "5",
logo: "https://pic.ym23.com/images/77/2023/11/v70iOARiIZ78lIl7UzST0Pu3sP8uiI.png",
moneytype: "",
name: "交强险查询",
nbpage: "/packageA/pages/carjqx/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "17",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "开启查询结果通知,查询成功通知",
cxcontent: "",
cximg: "",
id: "12",
logo: "https://pic.ym23.com/images/77/2023/11/Xc497KwPce4OzC4pIewp24444c2een.png",
moneytype: "",
name: "开启短信通知",
nbpage: "/pages/mine/info/index",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "10",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "商业险信息查询,公司,单号",
cxcontent: "",
cximg: "",
id: "1021",
logo: "https://pic.ym23.com/images/77/2023/11/f41Iy1ba3A3JbV4j8vB8VeWJbs888G.png",
moneytype: "",
name: "商业险查询",
nbpage: "/packageA/pages/carsyx/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "1",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "0",
content: "查询电子保单信息的功能",
cxcontent: "",
cximg: "",
id: "3",
logo: "",
moneytype: "",
name: "电子保单查询",
nbpage: "/packageA/pages/cardzbd/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "根据车牌号查询年检日期和状态",
cxcontent: "",
cximg: "",
id: "6",
logo: "https://pic.ym23.com/images/77/2023/11/hMV1l3T13HdTEE3334Yt3HEtxVeH3i.png",
moneytype: "",
name: "车辆年检查询",
nbpage: "/packageA/pages/carnj/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "查询你的汽车回收价,避免被坑",
cxcontent: "",
cximg: "",
id: "7",
logo: "https://pic.ym23.com/images/77/2023/11/OWZxBbKfcW8b3kBQOBSMGBBbVW8gCw.png",
moneytype: "",
name: "二手汽车估值",
nbpage: "/packageA/pages/caresgz/index",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "核验车主和车牌是否一致",
cxcontent: "",
cximg: "",
id: "8",
logo: "https://pic.ym23.com/images/77/2023/11/pBcvp3wtwCtTeBW342giv7D8PVu2C4.png",
moneytype: "",
name: "车牌车辆核验",
nbpage: "/packageA/pages/cphy/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "车辆查车辆发动机号和年检日期数据",
cxcontent: "",
cximg: "",
id: "9",
logo: "https://pic.ym23.com/images/77/2023/11/pBcvp3wtwCtTeBW342giv7D8PVu2C4.png",
moneytype: "",
name: "车牌查车辆",
nbpage: "/packageA/pages/cpcx/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "核验身份证名字和号码是否一致",
cxcontent: "",
cximg: "",
id: "10",
logo: "https://pic.ym23.com/images/77/2023/11/aI226NyH6Lo22wUDEG2yMr2y3ZU236.png",
moneytype: "",
name: "身份证核验",
nbpage: "/packageA/pages/sfzhy/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "0",
content: "根据车架号查询汽车详情信息",
cxcontent: "",
cximg: "",
id: "11",
logo: "https://pic.ym23.com/images/77/2023/11/pBcvp3wtwCtTeBW342giv7D8PVu2C4.png",
moneytype: "",
name: "车架号查询",
nbpage: "/packageA/pages/carvin/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "0",
content: "快速查询个人报告,检测自己的身份和手机是否安全",
cxcontent: "",
cximg: "",
id: "13",
logo: "https://pic.ym23.com/images/77/2023/11/ZY9UdzEhi992hIRU47AAHRErr7KW7S.png",
moneytype: "",
name: "个人报告查询",
nbpage: "/packageA/pages/zxbg/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "输入vin查询汽车详细",
cxcontent: "",
cximg: "",
id: "14",
logo: "https://pic.ym23.com/images/77/2023/11/pBcvp3wtwCtTeBW342giv7D8PVu2C4.png",
moneytype: "",
name: "汽车信息查询",
nbpage: "/packageA/pages/carvin/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "查询公司详细情况",
cxcontent: "",
cximg: "",
id: "15",
logo: "https://pic.ym23.com/images/77/2023/11/MOYpy5h7z5ZxomKOuMZM4owoh7Fi4i.png",
moneytype: "",
name: "公司查询报告",
nbpage: "/packageA/pages/gscx/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "拍图识别车架号",
cxcontent: "",
cximg: "",
id: "16",
logo: "https://pic.ym23.com/images/77/2023/11/pBcvp3wtwCtTeBW342giv7D8PVu2C4.png",
moneytype: "",
name: "车架号识别",
nbpage: "/packageA/pages/vinsb/vinsb",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "拍照上传识别驾驶证",
cxcontent: "",
cximg: "",
id: "17",
logo: "https://pic.ym23.com/images/77/2023/11/vSr26t6Jjzl658r6r8y7ZrrRjY6jYf.png",
moneytype: "",
name: "驾驶证识别",
nbpage: "/packageA/pages/jszsb/jszsb",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "快速一键行驶证识别",
cxcontent: "",
cximg: "",
id: "18",
logo: "https://pic.ym23.com/images/77/2023/11/vSr26t6Jjzl658r6r8y7ZrrRjY6jYf.png",
moneytype: "",
name: "行驶证识别",
nbpage: "/packageA/pages/xszsb/xszsb",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "快速一键车牌识别",
cxcontent: "",
cximg: "",
id: "19",
logo: "https://pic.ym23.com/images/77/2023/11/vSr26t6Jjzl658r6r8y7ZrrRjY6jYf.png",
moneytype: "",
name: "车牌识别",
nbpage: "/packageA/pages/cphsb/cphsb",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "如何查看报告教程",
cxcontent: "",
cximg: "",
id: "21",
logo: "https://pic.ym23.com/images/77/2023/11/ZY9UdzEhi992hIRU47AAHRErr7KW7S.png",
moneytype: "",
name: "报告查看教程",
nbpage: "",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "https://api.ym23.com/addons/monai_market/lib/video/$?id=1",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "实时查询在线油价",
cxcontent: "",
cximg: "",
id: "784",
logo: "https://pic.ym23.com/images/77/2023/11/aia1f7eqDSssC2iVd5Zb2tLdTii5s2.png",
moneytype: "",
name: "油价查询",
nbpage: "",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "https://api.ym23.com/addons/monai_market/lib/yjcx/$?id=1",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "0",
content: "查询电车电池健康报告",
cxcontent: "",
cximg: "",
id: "1010",
logo: "",
moneytype: "",
name: "电车电池报告",
nbpage: "/packageA/pages/dcbg/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "1",
content: "查询汽车归属公司联系方式",
cxcontent: "",
cximg: "",
id: "1039",
logo: "https://pic.ym23.com/images/77/2023/11/KBomw799T4Z17e4b7maZeWpPPI7kZ7.png",
moneytype: "",
name: "公司联系方式",
nbpage: "/packageA/pages/gslxcx/incxjl",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "0",
content: "查询调表里程是否有问题",
cxcontent: "调表里程查询查询调表里程是否有问题",
cximg:
"https://pic.ym23.com/images/77/2023/09/nQrjlAqkXTWlUvWvc7wzl5fqLVBIWt.png",
id: "1152",
logo: "",
moneytype: "tblc_money",
name: "调表里程查询",
nbpage: "/packageA/pages/wannen/incxjl",
ocph: "1",
ofdj: "1",
ovin: "1",
oxsz: "1",
sort: "0",
tb: "1",
type: "27",
tzpage: "",
uniacid: "77",
url: "",
},
{
api: "",
appid: "",
bg: "https://api.ym23.com/addons/monai_market/static/icon/module_back.png",
brand_icon: "",
cid: "2",
content: "获取最新通知",
cxcontent: "",
cximg: "",
id: "1230",
logo: "https://pic.ym23.com/images/77/2023/11/HAGEFFg20bZ6pX0Ze2JAeQ702eLkP2.png",
moneytype: "",
name: "关注公众号",
nbpage: "/pages/gzh/gzh",
ocph: "0",
ofdj: "0",
ovin: "0",
oxsz: "0",
sort: "0",
tb: "1",
type: "0",
tzpage: "",
uniacid: "77",
url: "",
},
],
banner: [
{
id: "111",
sort: "",
type: "1",
uniacid: "77",
car_id: null,
product_id: "0",
img_patch:
"https://pic.ym23.com/images/77/2023/11/DGOlm5CZ6FmWcbfFTmcmLGRhUzO61K.png",
create_time: "1630933811",
car_title: "",
intro: null,
},
],
};
module.exports = {};

View File

@ -49,7 +49,7 @@
i[f].name &&
i[f].value &&
((c += i[f].name + "=" + i[f].value), f < i.length - 1 && (c += "&"));
return r(c + (n = n || getApp().siteInfo.token));
return r(c + (n = n || wx.getStorageSync("userInfo").sessionid));
}
var _typeof =
"function" == typeof Symbol && "symbol" == typeof Symbol.iterator
@ -79,14 +79,9 @@
},
url: function (e, t) {
var n = getApp(),
a =
n.siteInfo.siteroot + "?from=wxapp&";
a = n.siteInfo.siteroot + "?";
if (
(e &&
((e = e.split("/"))[0] && (a += "c=" + e[0] + "&"),
e[1] && (a += "a=" + e[1] + "&"),
e[2] && (a += "do=" + e[2] + "&")),
t && "object" === (void 0 === t ? "undefined" : _typeof(t)))
(e && ((e = e.split("/"))[0] && (a += "c=" + e[0] + "&"), e[1] && (a += "a=" + e[1] + "&"), e[2] && (a += "do=" + e[2] + "&")), t && "object" === (void 0 === t ? "undefined" : _typeof(t)))
)
for (var r in t)
r && t.hasOwnProperty(r) && t[r] && (a += r + "=" + t[r] + "&");
@ -102,31 +97,11 @@
a = getApp();
((e = e || {}).cachetime = e.cachetime ? e.cachetime : 0),
(e.showLoading = void 0 === e.showLoading || e.showLoading);
var r = wx.getStorageSync("userInfo").sessionid,
i = e.url;
if (
(-1 == i.indexOf("http://") &&
-1 == i.indexOf("https://") &&
(i = util.url(i)),
getUrlParam(i, "state") ||
(e.data && e.data.state) ||
!r ||
(i = i + "&state=we7sid-" + r),
!e.data || !e.data.m)
) {
var o = getCurrentPages();
o.length &&
(o = o[getCurrentPages().length - 1]) &&
o.__route__ &&
(i += "&m=monai_market");
}
var i = e.url;
if ((-1 == i.indexOf("http://") && -1 == i.indexOf("https://") && (i = util.url(i)), !e.data || !e.data.m)) { }
var s = getSign(i, e.data);
if ((s && (i = i + "&sign=" + s), !i)) return !1;
if (
(wx.showNavigationBarLoading(),
e.showLoading && util.showLoading(),
e.cachetime)
) {
if ((wx.showNavigationBarLoading(), e.showLoading && util.showLoading(), e.cachetime)) {
var u = n(i),
c = wx.getStorageSync(u),
f = Date.parse(new Date());
@ -144,23 +119,14 @@
}
}
wx.request(
(_defineProperty(
(t = {
url: i,
data: e.data ? e.data : {},
header: e.header ? e.header : {},
method: e.method ? e.method : "GET",
}),
"header",
{ "content-type": "application/json" }
(_defineProperty((t = { url: i, data: e.data ? e.data : {}, header: e.header ? e.header : {}, method: e.method ? e.method : "GET", }),
"header", { "content-type": "application/json", "token": wx.getStorageSync("userInfo").sessionid }
),
_defineProperty(t, "success", function (t) {
if (
(wx.hideNavigationBarLoading(), wx.hideLoading(), t.data.code)
) {
if ("401" == t.data.code)
return (
wx.setStorageSync("userInfo", ""),
if ((wx.hideNavigationBarLoading(), wx.hideLoading(), t.data.code !== 200)) {
if (401 == t.data.code)
return (wx.setStorageSync("userInfo", ""),
void util.getUserInfo(function () {
util.request(e);
})
@ -172,10 +138,7 @@
else var n = "";
a.util.message(t.data.message, n, "error");
}
} else if (
(e.success && "function" == typeof e.success && e.success(t),
e.cachetime)
) {
} else if ((e.success && "function" == typeof e.success && e.success(t), e.cachetime)) {
var r = { data: t.data, expire: f + 1e3 * e.cachetime };
wx.setStorageSync(u, r);
}
@ -198,7 +161,7 @@
t)
);
},
getWe7User: function (e, t) {
getXphpUser: function (e, t) {
var n = wx.getStorageSync("userInfo") || {};
util.request({
url: "auth/session/openid",
@ -206,7 +169,7 @@
cachetime: 0,
showLoading: !1,
success: function (t) {
t.data.code == 200 || ((n.sessionid = t.data.data.sessionid), (n.memberInfo = t.data.data.userinfo), wx.setStorageSync("userInfo", n)),
t.data.code == 200 && ((n.sessionid = t.data.data.sessionid), (n.memberInfo = t.data.data.userinfo), wx.setStorageSync("userInfo", n)),
"function" == typeof e && e(n);
},
});
@ -224,7 +187,6 @@
encryptedData: e.encryptedData,
},
method: "POST",
header: { "content-type": "application/x-www-form-urlencoded" },
cachetime: 0,
success: function (e) {
e.data.code == 200 ||
@ -253,7 +215,7 @@
console.log("start login"),
wx.login({
success: function (n) {
util.getWe7User(function (n) {
util.getXphpUser(function (n) {
t
? util.upadteUser(t, function (t) {
"function" == typeof e && e(t);
@ -275,23 +237,21 @@
});
},
a = wx.getStorageSync("userInfo") || {};
a.sessionid
? util.checkSession({
success: function () {
t
? util.upadteUser(t, function (t) {
"function" == typeof e && e(t);
})
: "function" == typeof e && e(a);
},
fail: function () {
(a.sessionid = ""),
console.log("relogin"),
wx.removeStorageSync("userInfo"),
n();
},
})
: n();
a.sessionid ? util.checkSession({
success: function () {
t
? util.upadteUser(t, function (t) {
"function" == typeof e && e(t);
})
: "function" == typeof e && e(a);
},
fail: function () {
(a.sessionid = ""),
console.log("relogin"),
wx.removeStorageSync("userInfo"),
n();
},
}) : n();
},
navigateBack: function (e) {
var t = e.delta ? e.delta : 1;

View File

@ -27,7 +27,7 @@ var e;
n ||
(t = t.replace(
/index.php\?/,
"index.php?from=wxapp&state=we7sid-" + e.sessionid + "&"
"index.php?token=" + e.sessionid + "&"
));
var a = getCurrentPages();
a && (a = a[getCurrentPages().length - 1]), a.setData({ url: t });