|
@@ -90,12 +90,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
const toTab = async (data) => {
|
|
|
console.log(data);
|
|
|
};
|
|
|
- const getDict = (data, model) => {
|
|
|
- let res;
|
|
|
- if (model == "education")
|
|
|
- res = educationList.value.find((f) => f.value == data);
|
|
|
- return res.label || "暂无";
|
|
|
- };
|
|
|
const showChange = () => {
|
|
|
show.value = false;
|
|
|
};
|
|
@@ -158,10 +152,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
} : {
|
|
|
c: config.value.icon[0].url
|
|
|
}, {
|
|
|
- d: common_vendor.t(item.nick_name || "暂无昵称"),
|
|
|
+ d: common_vendor.t(item.course || "暂无"),
|
|
|
e: common_vendor.t(item.time || "休息中"),
|
|
|
- f: common_vendor.t(item.college || "暂无"),
|
|
|
- g: common_vendor.t(getDict(item.education, "education")),
|
|
|
+ f: common_vendor.t(item.nick_name || "暂无"),
|
|
|
+ g: common_vendor.t(item.content || "暂无"),
|
|
|
h: common_vendor.t(item.money || "免费"),
|
|
|
i: common_vendor.o(($event) => toBuy(item), index),
|
|
|
j: index,
|