111
This commit is contained in:
@@ -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)
|
||||
) {
|
||||
|
@@ -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) {
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user