qingnianyexiao2.0/unpackage/dist/build/web/static/js/packageA-my-Collect.8015b187.js
2025-04-01 09:03:51 +08:00

1 line
5.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["packageA-my-Collect"],{2534:function(t,a,e){var n=e("60d9");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("967d").default;i("10c0399e",n,!0,{sourceMap:!1,shadowMode:!1})},"60d9":function(t,a,e){var n=e("c86c");a=n(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 筛选组件 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.w-100[data-v-4cbf93a6]{width:100%}.w-400[data-v-4cbf93a6]{width:%?400?%}.flex[data-v-4cbf93a6]{display:flex}.justify-center[data-v-4cbf93a6]{justify-content:center}.space-between[data-v-4cbf93a6]{justify-content:space-between}.align-items[data-v-4cbf93a6]{align-items:center}.flex-column[data-v-4cbf93a6]{flex-flow:column}.justify-start[data-v-4cbf93a6]{justify-content:start}.mar-top-30[data-v-4cbf93a6]{margin-top:%?30?%}.hui[data-v-4cbf93a6]{font-family:PingFang SC;font-weight:500;font-size:%?24?%;color:#7a7a7a}.white-space[data-v-4cbf93a6]{overflow:hidden;\r\n /* 确保超出容器的文本被隐藏 */white-space:nowrap;\r\n /* 确保文本在一行内显示 */text-overflow:ellipsis}.box[data-v-4cbf93a6]{width:%?750?%;height:100vh;background-color:#f1f2f8}.box .center[data-v-4cbf93a6]{width:%?690?%;margin-top:%?30?%}.box .center .centerBox[data-v-4cbf93a6]{width:100%}.box .center .right[data-v-4cbf93a6]{margin-left:%?32?%}.box .center .right .title[data-v-4cbf93a6]{font-family:PingFang SC;font-weight:800;font-size:%?32?%;color:#343434;margin-bottom:%?32?%}.box .center .right .minge[data-v-4cbf93a6]{margin:%?8?% 0 0 0}.box .center .line-row[data-v-4cbf93a6]{margin-top:%?52?%;width:%?400?%;height:%?1?%;background:#d9d9d9}',""]),t.exports=a},7858:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){}));var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"box flex flex-column align-items"},t._l(t.list,(function(a,n){return e("v-uni-view",{key:n,staticClass:"center flex flex-column align-items",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDetail(a.id)}}},[e("v-uni-view",{staticClass:"centerBox flex align-items"},[e("v-uni-image",{staticStyle:{width:"280rpx",height:"200rpx"},attrs:{src:a.headimage,mode:""}}),e("v-uni-view",{staticClass:"right flex flex-column",staticStyle:{"align-items":"self-start"}},[e("span",{staticClass:"title white-space w-400"},[t._v(t._s(a.title))]),e("span",{staticClass:"time hui w-400 white-space"},[t._v("收藏时间:2024.11.112024.11.112024.11.11")]),e("span",{staticClass:"minge hui w-400 white-space"},[t._v("课程名额:"+t._s(Number(a.sign_num+a.virtual_num))+"/"+t._s(a.limit_num))]),0==a.feel?e("span",{staticClass:"price hui w-400 white-space"},[t._v("课程价格:¥"+t._s(a.price))]):t._e(),1==a.feel?e("span",{staticClass:"price hui w-400 white-space"},[t._v("课程价格:¥"+t._s(a.price))]):t._e()])],1),e("span",{staticClass:"line-row"})],1)})),1)},i=[]},"8ccb":function(t,a,e){"use strict";var n=e("2534"),i=e.n(n);i.a},a6a2:function(t,a,e){"use strict";e.r(a);var n=e("e021"),i=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(s);a["default"]=i.a},e021:function(t,a,e){"use strict";e("6a54"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={data:function(){return{list:[],page:1,limit:10,order:"normal"}},onShow:function(){this.page=1,this.list=[],this.getList()},methods:{getList:function(){var t=this;uni.$u.http.get("/api/school/classes/classes_list",{params:{page:this.page,limit:this.limit,order:this.order,collect:1}}).then((function(a){1==a.code&&(t.list=a.data.list.data)})).catch((function(t){uni.showToast({title:res.msg,icon:"none",duration:2e3})}))},toDetail:function(t){uni.navigateTo({url:"/pages/center/detail?id="+t})}}};a.default=n},f09c:function(t,a,e){"use strict";e.r(a);var n=e("7858"),i=e("a6a2");for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(s);e("8ccb");var c=e("828b"),r=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"4cbf93a6",null,!1,n["a"],void 0);a["default"]=r.exports}}]);