|
@@ -3,49 +3,10 @@ const common_vendor = require("../../common/vendor.js");
|
|
|
const _sfc_main = {
|
|
|
data() {
|
|
|
return {
|
|
|
+ //禁止滚动穿透
|
|
|
+ show: false,
|
|
|
//产品列表
|
|
|
- productList: [
|
|
|
- {
|
|
|
- "id": 8,
|
|
|
- "uid": 3513,
|
|
|
- "schedule_id": 6,
|
|
|
- "order_id": 31,
|
|
|
- "orders_product_id": 33,
|
|
|
- "product_id": 11,
|
|
|
- "status": 0,
|
|
|
- "teacher_id": 6,
|
|
|
- "course_id": 2,
|
|
|
- "start_time": 1730888928,
|
|
|
- "end_time": 1730888928,
|
|
|
- "insert_time": 1731317292,
|
|
|
- "update_time": 1731317292,
|
|
|
- "teacher_name": "张老师",
|
|
|
- "teacher_desc": "擅长舞蹈",
|
|
|
- "teacher_pic": "../../static/logo2.jpg",
|
|
|
- "course_name": "拳击高级课",
|
|
|
- "course_address": "龙华"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": 6,
|
|
|
- "uid": 3513,
|
|
|
- "schedule_id": 6,
|
|
|
- "order_id": 31,
|
|
|
- "orders_product_id": 33,
|
|
|
- "product_id": 11,
|
|
|
- "status": 0,
|
|
|
- "teacher_id": 6,
|
|
|
- "course_id": 2,
|
|
|
- "start_time": 1730888928,
|
|
|
- "end_time": 1730888928,
|
|
|
- "insert_time": 1731313905,
|
|
|
- "update_time": 1731313905,
|
|
|
- "teacher_name": "张老师",
|
|
|
- "teacher_desc": "擅长舞蹈",
|
|
|
- "teacher_pic": "../../static/logo2.jpg",
|
|
|
- "course_name": "拳击高级课",
|
|
|
- "course_address": "龙华"
|
|
|
- }
|
|
|
- ],
|
|
|
+ productList: [],
|
|
|
// 请求参数
|
|
|
requestParam: {
|
|
|
name: "",
|
|
@@ -78,6 +39,9 @@ const _sfc_main = {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ popupChange(e) {
|
|
|
+ this.show = e.show;
|
|
|
+ },
|
|
|
//弹出层
|
|
|
cancelPopup(index) {
|
|
|
this.curIndex = index;
|
|
@@ -148,7 +112,8 @@ if (!Math) {
|
|
|
}
|
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
return {
|
|
|
- a: common_vendor.f($data.productList, (item, index, i0) => {
|
|
|
+ a: "overflow:" + ($data.show ? "hidden" : "visible"),
|
|
|
+ b: common_vendor.f($data.productList, (item, index, i0) => {
|
|
|
return common_vendor.e({
|
|
|
a: item.teacher_pic,
|
|
|
b: common_vendor.t(item.teacher_name),
|
|
@@ -166,9 +131,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
j: index
|
|
|
});
|
|
|
}),
|
|
|
- b: common_vendor.o(($event) => $options.closeCancel()),
|
|
|
- c: common_vendor.o(($event) => $options.cancelCourse()),
|
|
|
- d: common_vendor.sr("cancelPopup", "110bae46-0")
|
|
|
+ c: common_vendor.o(($event) => $options.closeCancel()),
|
|
|
+ d: common_vendor.o(($event) => $options.cancelCourse()),
|
|
|
+ e: common_vendor.sr("cancelPopup", "110bae46-0"),
|
|
|
+ f: common_vendor.o($options.popupChange)
|
|
|
};
|
|
|
}
|
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|