|
@@ -2,11 +2,13 @@
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_vendor = require("../../common/vendor.js");
|
|
if (!Array) {
|
|
if (!Array) {
|
|
const _easycom_u_subsection2 = common_vendor.resolveComponent("u-subsection");
|
|
const _easycom_u_subsection2 = common_vendor.resolveComponent("u-subsection");
|
|
- _easycom_u_subsection2();
|
|
|
|
|
|
+ const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
|
|
|
+ (_easycom_u_subsection2 + _easycom_u_icon2)();
|
|
}
|
|
}
|
|
const _easycom_u_subsection = () => "../../node-modules/uview-plus/components/u-subsection/u-subsection.js";
|
|
const _easycom_u_subsection = () => "../../node-modules/uview-plus/components/u-subsection/u-subsection.js";
|
|
|
|
+const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
|
if (!Math) {
|
|
if (!Math) {
|
|
- _easycom_u_subsection();
|
|
|
|
|
|
+ (_easycom_u_subsection + _easycom_u_icon)();
|
|
}
|
|
}
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
__name: "index",
|
|
__name: "index",
|
|
@@ -22,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/1.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/1.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "夏朗",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -31,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/2.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/2.jpg" }],
|
|
- name: "捷豹XEL 2020款 2.0T 200PS S进取优雅版",
|
|
|
|
|
|
+ brand: "捷豹",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -40,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/3.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/3.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "大众",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -49,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/4.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/4.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "大众",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -58,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/5.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/5.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "大众",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -67,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/6.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/6.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "大众",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -76,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/7.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/7.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "奔驰",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -85,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/8.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/8.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "丰田",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -94,7 +96,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/9.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/9.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "大众",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -103,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
{
|
|
{
|
|
id: "1",
|
|
id: "1",
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/10.jpg" }],
|
|
file: [{ url: "https://cdn.uviewui.com/uview/album/10.jpg" }],
|
|
- name: "夏朗 2013款 1.8TSI 标配型 欧IV",
|
|
|
|
|
|
+ brand: "本田",
|
|
year: "2014年 ",
|
|
year: "2014年 ",
|
|
city: "丹东",
|
|
city: "丹东",
|
|
kilometer: "8万公里",
|
|
kilometer: "8万公里",
|
|
@@ -133,20 +135,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
url: `/pagesHome/car/index?id=${item.id || item._id}`
|
|
url: `/pagesHome/car/index?id=${item.id || item._id}`
|
|
});
|
|
});
|
|
};
|
|
};
|
|
- const toChat = (item) => {
|
|
|
|
- common_vendor.index.makePhoneCall({
|
|
|
|
- phoneNumber: item.shop || "110",
|
|
|
|
- success: function() {
|
|
|
|
- console.log("拨打电话成功");
|
|
|
|
- },
|
|
|
|
- fail: function() {
|
|
|
|
- common_vendor.index.showToast({
|
|
|
|
- title: "拨打电话失败",
|
|
|
|
- icon: "error"
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- };
|
|
|
|
const toPage = () => {
|
|
const toPage = () => {
|
|
if (total.value > list.value.length) {
|
|
if (total.value > list.value.length) {
|
|
common_vendor.index.showLoading({
|
|
common_vendor.index.showLoading({
|
|
@@ -170,32 +158,27 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
current: curNow.value
|
|
current: curNow.value
|
|
}),
|
|
}),
|
|
c: common_vendor.f(list.value, (item, index, i0) => {
|
|
c: common_vendor.f(list.value, (item, index, i0) => {
|
|
- return common_vendor.e({
|
|
|
|
- a: item.file && item.file.length > 0 ? item.file[0].url : "",
|
|
|
|
- b: common_vendor.t(item.name || "暂无"),
|
|
|
|
- c: item.year
|
|
|
|
- }, item.year ? {
|
|
|
|
- d: common_vendor.t(item.year || "暂无")
|
|
|
|
- } : {}, {
|
|
|
|
- e: item.kilometer
|
|
|
|
- }, item.kilometer ? {
|
|
|
|
- f: common_vendor.t(item.kilometer || "暂无")
|
|
|
|
- } : {}, {
|
|
|
|
- g: item.city
|
|
|
|
- }, item.city ? {
|
|
|
|
- h: common_vendor.t(item.city || "暂无")
|
|
|
|
- } : {}, {
|
|
|
|
- i: common_vendor.t(item.money || "0"),
|
|
|
|
- j: common_vendor.o(($event) => toChat(item), index),
|
|
|
|
- k: index,
|
|
|
|
- l: common_vendor.o(($event) => toView(item), index)
|
|
|
|
- });
|
|
|
|
|
|
+ return {
|
|
|
|
+ a: common_vendor.t(index + 1),
|
|
|
|
+ b: common_vendor.n(`rank${index + 1}`),
|
|
|
|
+ c: item.file && item.file.length > 0 ? item.file[0].url : "",
|
|
|
|
+ d: common_vendor.t(item.brand || "暂无"),
|
|
|
|
+ e: common_vendor.t(item.money || "0"),
|
|
|
|
+ f: "581af8d0-1-" + i0,
|
|
|
|
+ g: index,
|
|
|
|
+ h: common_vendor.o(($event) => toView(item), index)
|
|
|
|
+ };
|
|
|
|
+ }),
|
|
|
|
+ d: common_vendor.p({
|
|
|
|
+ color: "#000",
|
|
|
|
+ name: "heart",
|
|
|
|
+ size: "20"
|
|
}),
|
|
}),
|
|
- d: is_bottom.value
|
|
|
|
|
|
+ e: is_bottom.value
|
|
}, is_bottom.value ? {
|
|
}, is_bottom.value ? {
|
|
- e: common_vendor.t(config.value.bottom_title || "没有更多了!")
|
|
|
|
|
|
+ f: common_vendor.t(config.value.bottom_title || "没有更多了!")
|
|
} : {}, {
|
|
} : {}, {
|
|
- f: common_vendor.o(toPage)
|
|
|
|
|
|
+ g: common_vendor.o(toPage)
|
|
});
|
|
});
|
|
};
|
|
};
|
|
}
|
|
}
|